durable-actors 0.5.4 → 0.5.5

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.
@@ -18,9 +18,9 @@ async function compilePythonContract(entrypoint) {
18
18
  const project = process.cwd();
19
19
  const executable = await pythonExecutable(project);
20
20
  await checkPython(project, [entrypoint], executable);
21
- const directory = await mkdtemp(path.join(tmpdir(), "little-actors-build-"));
21
+ const directory = await mkdtemp(path.join(tmpdir(), "durable-actors-build-"));
22
22
  try {
23
- return JSON.parse(await runPython(executable, project, "little_actors.build", [project, entrypoint, directory, "local"]));
23
+ return JSON.parse(await runPython(executable, project, "durable_actors.build", [project, entrypoint, directory, "local"]));
24
24
  }
25
25
  finally {
26
26
  await rm(directory, { recursive: true, force: true });
@@ -29,7 +29,7 @@ async function compilePythonContract(entrypoint) {
29
29
  async function generatePythonClient(contract, directory) {
30
30
  const project = process.cwd();
31
31
  const executable = await pythonExecutable(project);
32
- await runPython(executable, project, "little_actors.codegen", [directory], JSON.stringify(contract));
32
+ await runPython(executable, project, "durable_actors.codegen", [directory], JSON.stringify(contract));
33
33
  await checkPython(project, [directory], executable);
34
34
  }
35
35
  function runPython(executable, project, module, args, input) {
@@ -38,7 +38,7 @@ function runPython(executable, project, module, args, input) {
38
38
  if (!error)
39
39
  return resolve(stdout);
40
40
  const hint = error.code === "ENOENT" || stderr.includes("No module named")
41
- ? "\nInstall little-actors[codegen] in the project virtual environment; DURABLE_ACTORS_PYTHON can select another interpreter."
41
+ ? "\nInstall durable-actors[codegen] in the project virtual environment; DURABLE_ACTORS_PYTHON can select another interpreter."
42
42
  : "";
43
43
  reject(new Error(`${module} failed: ${stdout}${stderr || error.message}${hint}`));
44
44
  });
@@ -1 +1 @@
1
- {"version":3,"file":"python.js","sourceRoot":"","sources":["../../src/cli/python.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,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CAAC,CAAC,CAAA;AACN,CAAC;AAED,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,CAAA"}
@@ -26,7 +26,7 @@ async function main() {
26
26
  process.stdout.write(document);
27
27
  }
28
28
  async function buildPython(directory, entrypoint, output, mode) {
29
- const { stdout, stderr } = await promisify(execFile)(process.env.DURABLE_ACTORS_PYTHON ?? "python3", ["-m", "little_actors.build", directory, entrypoint, output, ...(mode === "local" ? [mode] : [])], { maxBuffer: 8 * 1024 * 1024 });
29
+ const { stdout, stderr } = await promisify(execFile)(process.env.DURABLE_ACTORS_PYTHON ?? "python3", ["-m", "durable_actors.build", directory, entrypoint, output, ...(mode === "local" ? [mode] : [])], { maxBuffer: 8 * 1024 * 1024 });
30
30
  process.stderr.write(stderr);
31
31
  process.stdout.write(stdout);
32
32
  }
@@ -1 +1 @@
1
- {"version":3,"file":"deployment-build.js","sourceRoot":"","sources":["../../src/compiler/deployment-build.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AACvC,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAA;AAEnE,KAAK,UAAU,IAAI;IACf,MAAM,CAAC,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;IACnE,IAAI,CAAC,SAAS,IAAI,CAAC,UAAU,IAAI,CAAC,MAAM;QACpC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AM,IAAI,EAAE,CAAA"}
@@ -10,7 +10,7 @@
10
10
  "check": "tsc --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "durable-actors": "0.5.4"
13
+ "durable-actors": "0.5.5"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/node": "^22.0.0",
@@ -15,7 +15,7 @@
15
15
  "@ai-sdk/react": "^4.0.100",
16
16
  "ai": "^7.0.97",
17
17
  "express": "^5.2.1",
18
- "durable-actors": "0.5.4",
18
+ "durable-actors": "0.5.5",
19
19
  "react": "^19.3.0",
20
20
  "react-dom": "^19.3.0"
21
21
  },
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "express": "^5.2.1",
15
- "durable-actors": "0.5.4",
15
+ "durable-actors": "0.5.5",
16
16
  "react": "^19.3.0",
17
17
  "react-dom": "^19.3.0"
18
18
  },
@@ -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.5.4",
22
+ "durable-actors": "0.5.5",
23
23
  "react": "^19.3.0",
24
24
  "react-dom": "^19.3.0",
25
25
  "yjs": "^13.6.32"
@@ -2,6 +2,6 @@
2
2
 
3
3
  Install Node.js 22+, Python 3.11+, and uv. Run `pnpm install`, `uv sync`, then `pnpm exec durable-actors dev`. The shared TypeScript CLI selects `.venv` and checks actor types before starting and reloading.
4
4
 
5
- Edit `src/actors.py`. Write synchronous actor methods with ordinary `def`. Annotated fields persist by default; use `emitted()` for state broadcasts and `ephemeral()` for temporary values such as caches and service clients. From your client application, install `little-actors[codegen]` and run `pnpm exec durable-actors generate` against the running server. Generated Python clients include synchronous typed methods and models. Import `actors` from the generated package and use `actors.Counter.get("one")`; the SDK manages the HTTP connection pool. Actors with emitted fields also expose `actor.subscribe(callback)` for typed live state; close the returned subscription when finished. The CLI runs strict mypy after generation.
5
+ Edit `src/actors.py`. Write synchronous actor methods with ordinary `def`. Annotated fields persist by default; use `emitted()` for state broadcasts and `ephemeral()` for temporary values such as caches and service clients. From your client application, install `durable-actors[codegen]` and run `pnpm exec durable-actors generate` against the running server. Generated Python clients include synchronous typed methods and models. Import `actors` from the generated package and use `actors.Counter.get("one")`; the SDK manages the HTTP connection pool. Actors with emitted fields also expose `actor.subscribe(callback)` for typed live state; close the returned subscription when finished. The CLI runs strict mypy after generation.
6
6
 
7
7
  Set `DURABLE_ACTORS_PYTHON` to select another interpreter. `DURABLE_ACTORS_BINARY` selects a locally built runtime.
@@ -2,7 +2,7 @@
2
2
  "name": "durable-actors-example-python",
3
3
  "private": true,
4
4
  "dependencies": {
5
- "durable-actors": "0.5.4"
5
+ "durable-actors": "0.5.5"
6
6
  },
7
7
  "scripts": {
8
8
  "dev": "durable-actors dev",
@@ -1,8 +1,8 @@
1
1
  [project]
2
- name = "little-actors-example"
2
+ name = "durable-actors-example"
3
3
  version = "0.1.0"
4
4
  requires-python = ">=3.11"
5
- dependencies = ["little-actors[codegen]==0.5.4"]
5
+ dependencies = ["durable-actors[codegen]==0.5.5"]
6
6
 
7
7
  [tool.mypy]
8
8
  strict = true
@@ -1,4 +1,4 @@
1
- from little_actors import Actor
1
+ from durable_actors import Actor
2
2
 
3
3
 
4
4
  class Counter(Actor):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "durable-actors",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "Provider-neutral actors for sandbox compute",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -93,7 +93,7 @@
93
93
  "vite": "^8.3.0",
94
94
  "ws": "^8.18.3",
95
95
  "zod": "^4.3.6",
96
- "durable-actors-observer": "0.5.4"
96
+ "durable-actors-observer": "0.5.5"
97
97
  },
98
98
  "devDependencies": {
99
99
  "@types/node": "^22.0.0",