Skip to content

Commit 9a1146e

Browse files
committed
chore: merge dependency updates and close audit issues
Closes #16, #22, #23, #24, #25, #27
1 parent b502594 commit 9a1146e

88 files changed

Lines changed: 550 additions & 559 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/codeql.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ $serverFuture->await();
106106
| §8 Authentication | [src/Auth/](src/Auth/) |
107107
| §10 Jobs | [src/Runtime/JobManager.php](src/Runtime/JobManager.php) + [JobContext](src/Runtime/JobContext.php) |
108108
| §11 Streaming | `JobContext::openStream()` (text/event/log/thought; binary base64 only) |
109-
| §12 Human-in-the-loop | [src/Client/Handlers/](src/Client/Handlers/) + `JobContext::requestHumanInput/Choice` |
110109
| §13 Subscriptions | [src/Runtime/SubscriptionManager.php](src/Runtime/SubscriptionManager.php) |
111110
| §15 Permissions & leases | [src/Runtime/LeaseManager.php](src/Runtime/LeaseManager.php) |
112111
| §16 Artifacts | [src/Runtime/ArtifactStore.php](src/Runtime/ArtifactStore.php) |
@@ -118,16 +117,11 @@ $serverFuture->await();
118117

119118
## Samples
120119

121-
Six runnable scripts under [samples/](samples/), each backed by a
122-
single sentence of context at the top. They all use `MemoryTransport`
123-
to keep the example self-contained:
124-
125-
1. `01_minimal_session.php` — handshake.
126-
2. `02_tool_invoke_with_progress.php` — tool + progress events.
127-
3. `03_human_input_request.php` — HITL input.
128-
4. `04_permission_challenge.php` — permission/lease.
129-
5. `05_observer_subscription.php` — passive observer.
130-
6. `06_relay_human_in_the_loop.php` — multi-channel HITL relay.
120+
Canonical cross-SDK sample blueprints live under [samples/](samples/).
121+
They are named to match the TypeScript SDK examples, including
122+
`submit-and-stream`, `progress`, `subscribe`, `resume`, `delegate`,
123+
`lease-expires-at`, `lease-violation`, `custom-auth`, and
124+
`vendor-extensions`.
131125

132126
## Docs
133127

docs/guides/auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,5 @@ core `Auth` fields compatible with the canonical schemes.
7575

7676
## Runnable example
7777

78-
See `samples/capability_negotiation/` and the handshake tests under
78+
See `samples/capability-negotiation/` and the handshake tests under
7979
`tests/Integration/HandshakeTest.php`.

docs/guides/delegation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ Reuse idempotency keys when retrying the same delegated operation.
4242

4343
## Runnable example
4444

45-
See `samples/delegation/`, `samples/handoff/`, and
46-
`samples/reasoning_streams/`.
45+
See `samples/delegate/`, `samples/handoff/`, and
46+
`samples/reasoning-streams/`.

docs/guides/errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ previous exception and its `code()`.
7777

7878
## Runnable example
7979

80-
See `samples/cost_budget/` and `tests/Unit/ErrorsTest.php`.
80+
See `samples/cost-budget/` and `tests/Unit/ErrorsTest.php`.

docs/guides/job-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ Keep subscriber callbacks short and do heavy work outside the read loop.
5656

5757
## Runnable examples
5858

59-
See `samples/result_chunk/`, `samples/subscriptions/`, and
60-
`samples/reasoning_streams/`.
59+
See `samples/result-chunk/`, `samples/subscribe/`, and
60+
`samples/reasoning-streams/`.

docs/guides/jobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ exceptions to errors, and removes terminal jobs from the live list.
6161

6262
## Runnable examples
6363

64-
See `samples/agent_versions/`, `samples/list_jobs/`, and
64+
See `samples/agent-versions/`, `samples/list-jobs/`, and
6565
`tests/Integration/JobLifecycleTest.php`.

docs/guides/leases.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,5 @@ canonical error codes.
9494

9595
## Runnable examples
9696

97-
See `samples/leases/`, `samples/lease_revocation/`, and
98-
`samples/cost_budget/`, and `samples/provisioned_credentials/`.
97+
See `samples/leases/`, `samples/lease-revocation/`, and
98+
`samples/cost-budget/`, and `samples/provisioned-credentials/`.

docs/guides/observability.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ job states.
4444

4545
## Runnable example
4646

47-
See `samples/capability_negotiation/` and `samples/reasoning_streams/`.
47+
See `samples/capability-negotiation/` and `samples/reasoning-streams/`.

docs/guides/resume.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ Combine `IdempotencyKey` with event-log replay to avoid duplicate work.
4141

4242
## Runnable example
4343

44-
See `samples/resumability/` and `tests/Integration/ResumeTest.php`.
44+
See `samples/resume/` and `tests/Integration/ResumeTest.php`.

0 commit comments

Comments
 (0)