Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ When the user asks to track something in a note, store it in `~/.agents/notes/`
### Comments

- Write comments as normal, complete sentences. Avoid fragmented structures with parentheticals and dashes like `// Spawn engine (if configured) - regardless of start kind`. Instead, write `// Spawn the engine if configured`. Especially avoid dashes (hyphens are OK).
- Do not use em dashes (—). Use periods to separate sentences instead.
- Never use em dashes (—) in any plain-English writing (docs, comments, PR descriptions, prose). Use periods to separate sentences instead.
- Documenting deltas is not important or useful. A developer who has never worked on the project will not gain extra information if you add a comment stating that something was removed or changed because they don't know what was there before. The only time you would be adding a comment for something NOT being there is if its unintuitive for why its not there in the first place.

### Match statements
Expand Down
6 changes: 3 additions & 3 deletions website/src/content/docs/actors/lifecycle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -913,8 +913,8 @@ const myActor = actor({
// Total graceful shutdown budget for both sleep and destroy. Default: 15000ms.
sleepGracePeriod: 15_000,

// Interval for saving state (default: 10000ms)
stateSaveInterval: 10_000,
// Interval for saving state (default: 1000ms)
stateSaveInterval: 1_000,

// Timeout for action execution (default: 60000ms)
actionTimeout: 60_000,
Expand Down Expand Up @@ -943,7 +943,7 @@ const myActor = actor({
| `createConnStateTimeout` | 5000ms | Timeout for `createConnState` function |
| `onConnectTimeout` | 5000ms | Timeout for `onConnect` hook |
| `sleepGracePeriod` | 15000ms | Total graceful shutdown window for both sleep and destroy |
| `stateSaveInterval` | 10000ms | Interval for persisting state |
| `stateSaveInterval` | 1000ms | Interval for persisting state |
| `actionTimeout` | 60000ms | Timeout for action execution |
| `connectionLivenessTimeout` | 2500ms | Timeout for connection liveness check |
| `connectionLivenessInterval` | 5000ms | Interval for connection liveness check |
Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/actors/limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ See [Actor Input](/docs/actors/input) for details.
| On connect timeout | 5 seconds | — | Timeout for `onConnect` hook. Configurable via `onConnectTimeout`. |
| Sleep grace period | 15 seconds | — | Total graceful shutdown budget for both sleep and destroy. Covers `onSleep`/`onDestroy`, run handler shutdown, `waitUntil`, `keepAwake`, async raw WebSocket handlers, and connection cleanup. Configurable via `sleepGracePeriod`. |
| Sleep timeout | 30 seconds | — | Time of inactivity before actor hibernates. Configurable via `sleepTimeout`. |
| State save interval | 10 seconds | — | Interval between automatic state saves. Configurable via `stateSaveInterval`. |
| State save interval | 1 second | — | Interval between automatic state saves. Configurable via `stateSaveInterval`. |

### Serverless Shutdown

Expand Down
24 changes: 0 additions & 24 deletions website/src/content/docs/actors/sandbox.mdx

This file was deleted.

Loading
Loading