Skip to content
Draft
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
15 changes: 15 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,21 @@ Turbo handles task orchestration (`turbo.json`) with dependency-aware builds.
- Use the newly defined type everywhere appropriate for consistency
- This ensures type safety and catches errors at compile time rather than runtime

### Style Guide

**Uppercase acronyms in identifiers.** When an acronym appears in a camelCase or
PascalCase identifier, keep it fully uppercase:

| ✅ Do | ❌ Don't |
| ----------------- | ----------------- |
| `SandboxRPCAPI` | `SandboxRpcApi` |
| `containerURL` | `containerUrl` |
| `parseHTTPHeader` | `parseHttpHeader` |
| `getAPIKey` | `getApiKey` |

This applies to all acronyms: API, URL, HTTP, RPC, SSE, SSH, DNS, ID, etc.
Exception: library-provided names (e.g. capnweb's `RpcTarget`) keep their original casing.

### Git Commits

See the **git-commit** skill (`.opencode/skill/git-commit/SKILL.md`) for detailed commit message guidelines.
Expand Down
27 changes: 25 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/sandbox-container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"dependencies": {
"@repo/shared": "*",
"acorn": "^8.14.0",
"async-mutex": "^0.5.0"
"async-mutex": "^0.5.0",
"capnweb": "https://pkg.pr.new/cloudflare/capnweb@159"
},
"devDependencies": {
"@repo/typescript-config": "*",
Expand Down
2 changes: 2 additions & 0 deletions packages/sandbox-container/src/core/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export interface Dependencies {
// Infrastructure
logger: Logger;
security: SecurityService;
sessionManager: SessionManager;

// Handlers
backupHandler: BackupHandler;
Expand Down Expand Up @@ -166,6 +167,7 @@ export class Container {
// Infrastructure
logger,
security,
sessionManager,

// Handlers
backupHandler,
Expand Down
Loading
Loading