Skip to content

Commit ecb7a20

Browse files
NathanFlurryMasterPtato
authored andcommitted
chore: envoy client
1 parent fb6f723 commit ecb7a20

20 files changed

Lines changed: 1902 additions & 213 deletions

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ git commit -m "chore(my-pkg): foo bar"
8282
### pnpm Workspace
8383
- Use pnpm for all npm-related commands. We're using a pnpm workspace.
8484

85+
### TypeScript Concurrency
86+
- Use `antiox` for TypeScript concurrency primitives instead of ad hoc Promise queues, custom channel wrappers, or event-emitter based coordination.
87+
- Prefer the Tokio-shaped APIs from `antiox` for concurrency needs. For example, use `antiox/sync/mpsc` for `tx` and `rx` channels, `antiox/task` for spawning tasks, and the matching sync and time modules as needed.
88+
- Treat `antiox` as the default choice for any TypeScript concurrency work because it mirrors Rust and Tokio APIs used elsewhere in the codebase.
89+
8590
### SQLite Package
8691
- Use `@rivetkit/sqlite` for SQLite WebAssembly support.
8792
- Do not use the legacy upstream package directly. `@rivetkit/sqlite` is the maintained fork used in this repository and is sourced from `rivet-dev/wa-sqlite`.

biome.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"rivetkit-typescript/**/*.{tsx,ts,css}",
99
"agent-os/**/*.ts",
1010
"examples/**/*.{ts,tsx}",
11+
"engine/sdks/typescript/**/*.ts",
1112
"!/**/node_modules"
1213
],
1314
"ignoreUnknown": true

engine/sdks/typescript/envoy-client/package.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/typescript/envoy-client/src/config.ts

Lines changed: 159 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/typescript/envoy-client/src/context.ts

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/typescript/envoy-client/src/handle.ts

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/typescript/envoy-client/src/index.ts

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/sdks/typescript/envoy-client/src/latency-channel.ts

Lines changed: 39 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)