durable-actors 0.7.14 → 0.7.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +1 -1
  2. package/dist/actor/{sandbox.d.ts → compute.d.ts} +10 -10
  3. package/dist/actor/{sandbox.d.ts.map → compute.d.ts.map} +1 -1
  4. package/dist/actor/{sandbox.js → compute.js} +10 -10
  5. package/dist/actor/{sandbox.js.map → compute.js.map} +1 -1
  6. package/dist/actor/schema.d.ts +2 -2
  7. package/dist/cli/dev.d.ts.map +1 -1
  8. package/dist/cli/dev.js +13 -6
  9. package/dist/cli/dev.js.map +1 -1
  10. package/dist/cli.js +0 -2
  11. package/dist/cli.js.map +1 -1
  12. package/dist/client-runtime/client.d.ts.map +1 -1
  13. package/dist/client-runtime/client.js +3 -1
  14. package/dist/client-runtime/client.js.map +1 -1
  15. package/dist/client-runtime/errors.d.ts +1 -1
  16. package/dist/client-runtime/errors.d.ts.map +1 -1
  17. package/dist/client-runtime/errors.js +1 -1
  18. package/dist/client-runtime/errors.js.map +1 -1
  19. package/dist/client-runtime/http.d.ts +1 -0
  20. package/dist/client-runtime/http.d.ts.map +1 -1
  21. package/dist/client-runtime/http.js +1 -1
  22. package/dist/client-runtime/http.js.map +1 -1
  23. package/dist/client-runtime/proxy.d.ts +1 -3
  24. package/dist/client-runtime/proxy.d.ts.map +1 -1
  25. package/dist/client-runtime/proxy.js +3 -10
  26. package/dist/client-runtime/proxy.js.map +1 -1
  27. package/dist/compiler/actor-compiler.d.ts +2 -2
  28. package/dist/compiler/actor-compiler.js +8 -8
  29. package/dist/compiler/actor-compiler.js.map +1 -1
  30. package/dist/compiler/features/compute.d.ts +9 -0
  31. package/dist/compiler/features/{sandbox.d.ts.map → compute.d.ts.map} +1 -1
  32. package/dist/compiler/features/{sandbox.js → compute.js} +15 -15
  33. package/dist/compiler/features/{sandbox.js.map → compute.js.map} +1 -1
  34. package/dist/compiler/generators/client-artifacts.d.ts.map +1 -1
  35. package/dist/compiler/generators/client-artifacts.js +0 -1
  36. package/dist/compiler/generators/client-artifacts.js.map +1 -1
  37. package/dist/compiler/types.d.ts +5 -5
  38. package/dist/compiler/types.js +1 -1
  39. package/dist/compiler/validate-public-contract.js +2 -2
  40. package/dist/generated/client-runtime.d.ts.map +1 -1
  41. package/dist/generated/client-runtime.js +1 -1
  42. package/dist/generated/client-runtime.js.map +1 -1
  43. package/dist/index.d.ts +2 -2
  44. package/dist/index.js +1 -1
  45. package/dist/templates/actor/package.json +1 -1
  46. package/dist/templates/ai-chat/package.json +1 -1
  47. package/dist/templates/chat/README.md +1 -1
  48. package/dist/templates/chat/package.json +1 -1
  49. package/dist/templates/documents/package.json +1 -1
  50. package/dist/templates/python/package.json +1 -1
  51. package/dist/templates/python/pyproject.toml +1 -1
  52. package/dist/wire/public-contract.d.ts +2 -2
  53. package/package.json +2 -2
  54. package/dist/compiler/features/sandbox.d.ts +0 -9
  55. package/dist/templates/python/.env.example +0 -1
@@ -19,7 +19,7 @@
19
19
  "@tiptap/y-tiptap": "^3.0.7",
20
20
  "express": "^5.2.1",
21
21
  "lib0": "^0.2.117",
22
- "durable-actors": "0.7.14",
22
+ "durable-actors": "0.7.16",
23
23
  "react": "^19.3.0",
24
24
  "react-dom": "^19.3.0",
25
25
  "yjs": "^13.6.32"
@@ -2,7 +2,7 @@
2
2
  "name": "durable-actors-example-python",
3
3
  "private": true,
4
4
  "dependencies": {
5
- "durable-actors": "0.7.14"
5
+ "durable-actors": "0.7.16"
6
6
  },
7
7
  "scripts": {
8
8
  "dev": "durable-actors dev",
@@ -2,7 +2,7 @@
2
2
  name = "durable-actors-example"
3
3
  version = "0.1.0"
4
4
  requires-python = ">=3.11"
5
- dependencies = ["durable-actors[codegen]==0.7.14"]
5
+ dependencies = ["durable-actors[codegen]==0.7.16"]
6
6
 
7
7
  [tool.mypy]
8
8
  strict = true
@@ -1,5 +1,5 @@
1
1
  import type { JSONSchema7 } from "json-schema";
2
- import type { SandboxOptions } from "../actor/sandbox.js";
2
+ import type { ComputeOptions } from "../actor/compute.js";
3
3
  import type { SocketContract } from "./contract.js";
4
4
  interface PublicActorContract {
5
5
  readonly version: 1;
@@ -13,7 +13,7 @@ interface TypeScriptContract {
13
13
  interface ActorApi {
14
14
  readonly actorName: string;
15
15
  readonly description?: string;
16
- readonly sandbox?: SandboxOptions;
16
+ readonly sandbox?: ComputeOptions;
17
17
  readonly socket: SocketContract;
18
18
  readonly rpc: RpcContract;
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "durable-actors",
3
- "version": "0.7.14",
3
+ "version": "0.7.16",
4
4
  "description": "Provider-neutral actors for sandbox compute",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -92,7 +92,7 @@
92
92
  "vite": "^8.3.0",
93
93
  "ws": "^8.18.3",
94
94
  "zod": "^4.3.6",
95
- "durable-actors-observer": "0.7.14"
95
+ "durable-actors-observer": "0.7.16"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@types/node": "^22.0.0",
@@ -1,9 +0,0 @@
1
- import ts from "typescript";
2
- import type { DecoratorResult, DecoratorUse, ParsedActor } from "../types.js";
3
- declare function readSandbox(use: DecoratorUse): DecoratorResult;
4
- declare function validateSandbox(actor: ParsedActor): {
5
- options: import("../../actor/sandbox.js").SandboxOptions;
6
- diagnostics: ts.Diagnostic[];
7
- };
8
- export { readSandbox, validateSandbox };
9
- //# sourceMappingURL=sandbox.d.ts.map
@@ -1 +0,0 @@
1
- DURABLE_ACTORS_ENTRYPOINT=src/actors.py