Skip to content

Commit 3f96b58

Browse files
nficanoclaude
andcommitted
docs: surface Arcp\Ids and Arcp\Clock namespaces; fix sessions/jobs links and Transport::send signature
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 7066df3 commit 3f96b58

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@ across multiple npm packages. PHP ships as one Composer package,
4242
| --- | --- |
4343
| `Arcp\Envelope`, `Arcp\Json` | Wire envelope model and serialization |
4444
| `Arcp\Messages` | Typed protocol payloads |
45+
| `Arcp\Ids` | Typed IDs (`SessionId`, `JobId`, `TraceId`, etc.) |
4546
| `Arcp\Errors` | Canonical error codes and exceptions |
4647
| `Arcp\Client` | `ARCPClient` and client-side handlers |
4748
| `Arcp\Runtime` | `ARCPRuntime`, jobs, leases, artifacts, subscriptions |
4849
| `Arcp\Transport` | WebSocket, stdio, and in-memory transports |
4950
| `Arcp\Auth` | Built-in auth schemes and `AuthRouter` |
5051
| `Arcp\Store` | Event log and idempotency persistence |
52+
| `Arcp\Clock` | Time source abstraction for deterministic tests |
5153
| `Arcp\Extensions` | Vendor extension classification |
5254
| `Arcp\Cli` | `bin/arcp` commands |
5355

docs/architecture.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ that map to the same layers as the TypeScript SDK packages.
1212
| Runtime | `Arcp\Runtime`, `Arcp\Internal\Runtime` |
1313
| Transports | `Arcp\Transport` |
1414
| Persistence | `Arcp\Store` |
15+
| Time | `Arcp\Clock` |
1516
| Extensions | `Arcp\Extensions` |
1617

1718
The public surface is intentionally small: `ARCPClient`, `ARCPRuntime`,

docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ child owns the runtime.
7878

7979
## What's next
8080

81-
- [Sessions](./architecture.md)
82-
- [Jobs](./architecture.md)
81+
- [Sessions](./guides/sessions.md)
82+
- [Jobs](./guides/jobs.md)
8383
- [Transports](./transports.md)
8484
- [Recipes](./recipes.md)
8585

docs/transports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The transport interface is `Arcp\Transport\Transport`:
55
```php
66
interface Transport
77
{
8-
public function send(Envelope $env): void;
8+
public function send(Envelope $env, ?Cancellation $cancellation = null): void;
99
public function receive(?Cancellation $cancellation = null): ?Envelope;
1010
public function close(): void;
1111
public function isClosed(): bool;

0 commit comments

Comments
 (0)