commandagi 0.6.6__tar.gz → 0.6.7__tar.gz

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 (86) hide show
  1. {commandagi-0.6.6 → commandagi-0.6.7}/CHANGELOG.md +69 -0
  2. {commandagi-0.6.6 → commandagi-0.6.7}/PKG-INFO +10 -5
  3. {commandagi-0.6.6 → commandagi-0.6.7}/README.md +9 -4
  4. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/__init__.py +1 -1
  5. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/_generated.py +39 -1
  6. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/__init__.py +1 -1
  7. commandagi-0.6.7/commandagi/design/mounts.py +106 -0
  8. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/systems.py +9 -5
  9. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/threed_elements.py +26 -4
  10. commandagi-0.6.7/commandagi/design/threed_schema.py +4 -0
  11. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi-sdk.schema.json +112 -0
  12. commandagi-0.6.7/tests/test_mounts.py +65 -0
  13. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_systems.py +10 -2
  14. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_threed.py +33 -2
  15. commandagi-0.6.6/commandagi/design/threed_schema.py +0 -4
  16. {commandagi-0.6.6 → commandagi-0.6.7}/.gitignore +0 -0
  17. {commandagi-0.6.6 → commandagi-0.6.7}/LICENSE +0 -0
  18. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/client.py +0 -0
  19. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/agents.py +0 -0
  20. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/business.py +0 -0
  21. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/cad.py +0 -0
  22. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/cadquery.py +0 -0
  23. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/circuit_checks.py +0 -0
  24. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/documents.py +0 -0
  25. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/eda.py +0 -0
  26. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/element.py +0 -0
  27. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/fab.py +0 -0
  28. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/firmware.py +0 -0
  29. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/flows.py +0 -0
  30. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/graph.py +0 -0
  31. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/ir.py +0 -0
  32. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/media.py +0 -0
  33. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/monitors.py +0 -0
  34. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/office.py +0 -0
  35. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/ontology.py +0 -0
  36. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/part_fields.py +0 -0
  37. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/pcb.py +0 -0
  38. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/pdf.py +0 -0
  39. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/postal.py +0 -0
  40. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/records.py +0 -0
  41. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/schema.py +0 -0
  42. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/schematic.py +0 -0
  43. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/solids.py +0 -0
  44. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/source.py +0 -0
  45. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/standards.py +0 -0
  46. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/standards_data.py +0 -0
  47. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/study.py +0 -0
  48. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/tasks.py +0 -0
  49. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/testplans.py +0 -0
  50. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/threed.py +0 -0
  51. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/tolerances.py +0 -0
  52. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/tsx.py +0 -0
  53. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/twod.py +0 -0
  54. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/twod_schema.py +0 -0
  55. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/design/workbook_schema.py +0 -0
  56. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/gym_env.py +0 -0
  57. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/kernel.py +0 -0
  58. {commandagi-0.6.6 → commandagi-0.6.7}/commandagi/lerobot.py +0 -0
  59. {commandagi-0.6.6 → commandagi-0.6.7}/examples/drive_a_sim.py +0 -0
  60. {commandagi-0.6.6 → commandagi-0.6.7}/pyproject.toml +0 -0
  61. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_agents.py +0 -0
  62. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_business.py +0 -0
  63. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_design.py +0 -0
  64. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_fab.py +0 -0
  65. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_flows.py +0 -0
  66. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_kernel.py +0 -0
  67. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_logistics.py +0 -0
  68. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_media.py +0 -0
  69. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_monitors.py +0 -0
  70. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_office.py +0 -0
  71. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_ontology.py +0 -0
  72. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_pcb.py +0 -0
  73. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_pdf.py +0 -0
  74. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_postal.py +0 -0
  75. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_records.py +0 -0
  76. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_schematic.py +0 -0
  77. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_sdk.py +0 -0
  78. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_source.py +0 -0
  79. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_standards.py +0 -0
  80. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_study.py +0 -0
  81. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_tasks.py +0 -0
  82. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_testplans.py +0 -0
  83. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_tolerances.py +0 -0
  84. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_tsx.py +0 -0
  85. {commandagi-0.6.6 → commandagi-0.6.7}/tests/test_twod.py +0 -0
  86. {commandagi-0.6.6 → commandagi-0.6.7}/uv.lock +0 -0
@@ -4,6 +4,75 @@ One entry for each release. A release is the tag `v<version>` in this repository
4
4
  TypeScript and Rust SDKs carry the same version number. A version promises nothing about the next one (README
5
5
  § Versions): read this file before you change the version you pin.
6
6
 
7
+ ## 0.6.7 (2026-10-23)
8
+
9
+ Added
10
+
11
+ - `commandagi.design.threed`: `curve(...)`, a curve in space (`kind` `"spline"` through `points` with optional
12
+ `start_tangent` and `end_tangent`, `"polyline"` with `bend_radius`, `"helix"`), and `sweep(...)` along it
13
+ (`path={"curve": "lead"}`) with `frame` (`"minimal"`, `"frenet"`, `"up"` with `up`, `"guide"` with `guide`) and
14
+ `twist`. A curve is also the plane normal to it at its start, under its id (`plane={"type": "datum", "plane": "lead"}`).
15
+ A sweep that would cross itself fails by name (`self_intersection`). Needs a 3D service of this version.
16
+
17
+ - `commandagi.design.mounts`: a thread's mounted tasks as `mounts.py` in its run folder, `mounts(mount(label=…, …))`,
18
+ the same document as the TypeScript SDK's `mounts.tsx`. A mount names one task (`task`), or a list (`folder`,
19
+ `project`, or a query: `assignee`, `labels`, `status`); a mount that names both, or nothing, is refused.
20
+
21
+ - `cagi.tasks.mount`, `unmount` and `mounts`: mount a task (`task=…`), a task list (`folder=…`), a project
22
+ (`project=…`) or a query (`assignee="me", status=["todo"]`) to a thread. With no thread named, they act on the
23
+ thread the code runs in, and the agent is prompted with the open tasks until they are done.
24
+ - `commandagi.design.systems`: a device definition is a side of an interface (`side(kind="definition", channel=…,
25
+ params=…)`). `load(...)` takes `peak_current` and `peak_power`; `budget(quantity="power", peak=True)` counts each
26
+ load at its peak. `peak` on any other budget is refused.
27
+
28
+ Fixed
29
+
30
+ - 3D: each face of the view cube carries the name of its view (Front showed "Back"); a thread cuts its whole groove
31
+ (it removed half a turn); a hole of a sketch (a circle inside a rectangle) is a region of its own, so a profile can
32
+ extrude the disc alone. Needs a 3D service of this version.
33
+ - PCB: after Lay out, the board view shows the copper that the layout added, with no reload.
34
+
35
+ In the host (`@commandagi/host` 0.6.7)
36
+
37
+ - Agent CLIs as instances: a host runs each CLI (Claude Code, Codex, Gemini CLI) and every fork of one found along the
38
+ search path of the thread's folder (`agents/<folder>/agent.tsx`), each with its own model and a named sign-in.
39
+ `commandagi agents signin <name> --cli claude-code|codex|gemini-cli` runs the CLI's own login into a config folder of
40
+ its own; `--save-to-account` keeps the sign-in in your account, sealed, and `--from-account` brings it to another
41
+ computer. A sign-in at its limit gives its turn only to another provider, never to another sign-in of the same
42
+ provider. `agents.sandbox` (`os` or `off`) replaces `agents.approvals`; `agents.models` is gone (each instance has
43
+ its model).
44
+ - A thread with several agent members works a mounted task list in parallel: `commandagi agents start --mount <M>
45
+ --member <A> …`, `agents join|leave` and `agents tasks`. A claim is a compare-and-set write of the task file,
46
+ recorded first in the thread's `tasks` stream. Each task gets its own git worktree and branch, which the host never
47
+ merges. `agents.concurrency` bounds the turns of each sign-in; a dead claim is released. An agent may be a member of
48
+ several threads.
49
+ - The task loop on the host: the `mounts.tsx` (or `.py`, `.rs`) in a thread's run folder starts each agent turn with
50
+ the open mounted work, and a write of a mounted task wakes the loop.
51
+ - Site hosting: `commandagi sites deploy|list|logs|rollback|domains|env|build`. A push deploys each branch (the
52
+ production branch to `<slug>.commandagi.app`, any other branch to a preview). A framework site (Vite, Astro,
53
+ SvelteKit, Next static export, CRA) is built by `commandagi sites build` on a computer of the account.
54
+ - Interfaces: a device definition's channel is a side of an interface; the check holds the channel's fields (baud) to
55
+ the interface's parameters.
56
+ - Test plans: each step's `verifies` is read back, and a requirement that it names must name the step.
57
+ `commandagi testplan check|run|history|results`.
58
+ - Firmware rollouts refuse a rollback: a release below a unit's `minSecurityVersion` goes to no unit, and the wave
59
+ halts. `commandagi rollout check|start|advance|retry|rollback|status|close`.
60
+ - Budgets: a power budget with `peak` counts each load at its `peakCurrent` or `peakPower`; data and data-rate units
61
+ (`bit` … `TB`, `bit/s` … `GB/d`); the contributors of a cost budget are the roll-up's lines. A release refuses a
62
+ pinout or footprint check that names a part from memory.
63
+
64
+ On the platform
65
+
66
+ - A thread's mounted tasks: `GET|POST|DELETE /threads/:id/mounts` and the tools `mount_tasks`, `unmount_tasks` and
67
+ `list_mounts`. Each turn carries the open mounted work, and the thread continues with the next task until the work is
68
+ done, bounded by no-progress turns, its budget and its run state. A task is named by its drive and its id: an id
69
+ found in two other drives is refused (`409 ambiguous_task`) with each address.
70
+ - Agent sign-ins kept in the account (`agents signin --save-to-account`), sealed outside the Drive; a person's key only.
71
+ - Sites deploy from a push, with a preview for each branch, env for each target, rollback and deploy logs
72
+ (`deploy_site { fromFolder, target }`, `site_deploy_log`).
73
+ - An API key never mints a key or seats an agent wider than itself, and every Drive write (a git write too) needs the
74
+ key's edit scope.
75
+
7
76
  ## 0.6.6 (2026-10-22)
8
77
 
9
78
  Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: commandagi
3
- Version: 0.6.6
3
+ Version: 0.6.7
4
4
  Summary: The CommandAGI SDK for Python — agent threads, memory and integrations, and live computers, robots and simulated worlds you watch and control.
5
5
  Project-URL: Homepage, https://commandagi.com
6
6
  Project-URL: Documentation, https://github.com/CommandAGI/commandagi-sdk-python/blob/main/README.md
@@ -69,13 +69,17 @@ TypeScript SDK's code file, which declares the same document.
69
69
  This SDK, the TypeScript SDK (`npm i commandagi`) and the `commandagi` CLI all come from **one
70
70
  schema**, `commandagi-sdk.schema.json`, so they can't drift apart:
71
71
 
72
- - **Tools**: `cagi.threads`, `cagi.embodiments`, `cagi.memory`, `cagi.integrations`,
72
+ - **Tools**: `cagi.threads`, `cagi.embodiments`, `cagi.memory`, `cagi.tasks`, `cagi.integrations`,
73
73
  `cagi.social(platform, account)`, `whoami`, `search`, `run` and `post`. Each one is a typed wrapper
74
74
  over `call(tool, args)`. Options are passed as keyword arguments, e.g. `snapshot_id=…`, and sent
75
75
  over the wire as camelCase (`snapshotId`). Where the schema names the options, they are typed
76
76
  keyword-only arguments: `cagi.postal.send("Letters/Ada.letter.tsx", provider="click2mail")` (the
77
77
  provider is `"lob"`, the default, or `"click2mail"`, US only; omitted, the account's
78
78
  `postal.providers` order picks it).
79
+ - **Task mounts**: `cagi.tasks.mount(folder="projects/bracket")` mounts a task list to the thread the
80
+ code runs in, and the agent is prompted with its open tasks until they are done. Mount one task
81
+ (`task=…`), a project (`project=…`) or a query (`assignee="me", status=["todo"]`);
82
+ `cagi.tasks.mounts()` lists them and `cagi.tasks.unmount(label)` removes one.
79
83
  - **Control vocabularies** on a live `Session`:
80
84
  - `session.desktop` for computers: `click`, `double_click`, `move`, `scroll`, `type`, `key`, `wait`
81
85
  - `session.robot` for physical robots: `joint`, `gripper`, `move`, `turn`, `home`, `stop`, …
@@ -131,6 +135,7 @@ vocabulary, one function per tag, named by the tag:
131
135
  | `commandagi.design.ontology` | a world, a device definition, a dashboard, a geo project, a node graph |
132
136
  | `commandagi.design.business` | a company, an RFC, a case |
133
137
  | `commandagi.design.tasks` | a task, a project |
138
+ | `commandagi.design.mounts` | a thread's mounted tasks (`mounts.py`, in the thread's run folder) |
134
139
  | `commandagi.design.monitors` | a monitor (`monitor.py`, in the folder of the thing it follows) |
135
140
  | `commandagi.design.agents` | an agent harness (`harness.py`; `realtime`: what its model takes and gives live), an agent (`agent.py`: a base or a fork) |
136
141
  | `commandagi.design.records` | a contract, a product instance |
@@ -280,11 +285,11 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
280
285
  ## Versions
281
286
 
282
287
  - A release is the tag `v<version>` in this repository and the same version on PyPI. Pin an exact version:
283
- `pip install commandagi==0.6.6`, or in a virtual environment uv made (it has no pip)
284
- `uv pip install --python .venv/bin/python commandagi==0.6.6`. A range (`^`, `~=`, `>=`) takes the next release
288
+ `pip install commandagi==0.6.7`, or in a virtual environment uv made (it has no pip)
289
+ `uv pip install --python .venv/bin/python commandagi==0.6.7`. A range (`^`, `~=`, `>=`) takes the next release
285
290
  without asking you.
286
291
  - After an upgrade, check what runs: `python -c "import commandagi; print(commandagi.__version__)"`, and
287
- `commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.6`). The two
292
+ `commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.7`). The two
288
293
  are upgraded apart, and a kernel of another version may read a document differently.
289
294
  - The three SDKs (Python, TypeScript, Rust) carry one version number. A vocabulary at version X in one language is
290
295
  the vocabulary at version X in the others.
@@ -41,13 +41,17 @@ TypeScript SDK's code file, which declares the same document.
41
41
  This SDK, the TypeScript SDK (`npm i commandagi`) and the `commandagi` CLI all come from **one
42
42
  schema**, `commandagi-sdk.schema.json`, so they can't drift apart:
43
43
 
44
- - **Tools**: `cagi.threads`, `cagi.embodiments`, `cagi.memory`, `cagi.integrations`,
44
+ - **Tools**: `cagi.threads`, `cagi.embodiments`, `cagi.memory`, `cagi.tasks`, `cagi.integrations`,
45
45
  `cagi.social(platform, account)`, `whoami`, `search`, `run` and `post`. Each one is a typed wrapper
46
46
  over `call(tool, args)`. Options are passed as keyword arguments, e.g. `snapshot_id=…`, and sent
47
47
  over the wire as camelCase (`snapshotId`). Where the schema names the options, they are typed
48
48
  keyword-only arguments: `cagi.postal.send("Letters/Ada.letter.tsx", provider="click2mail")` (the
49
49
  provider is `"lob"`, the default, or `"click2mail"`, US only; omitted, the account's
50
50
  `postal.providers` order picks it).
51
+ - **Task mounts**: `cagi.tasks.mount(folder="projects/bracket")` mounts a task list to the thread the
52
+ code runs in, and the agent is prompted with its open tasks until they are done. Mount one task
53
+ (`task=…`), a project (`project=…`) or a query (`assignee="me", status=["todo"]`);
54
+ `cagi.tasks.mounts()` lists them and `cagi.tasks.unmount(label)` removes one.
51
55
  - **Control vocabularies** on a live `Session`:
52
56
  - `session.desktop` for computers: `click`, `double_click`, `move`, `scroll`, `type`, `key`, `wait`
53
57
  - `session.robot` for physical robots: `joint`, `gripper`, `move`, `turn`, `home`, `stop`, …
@@ -103,6 +107,7 @@ vocabulary, one function per tag, named by the tag:
103
107
  | `commandagi.design.ontology` | a world, a device definition, a dashboard, a geo project, a node graph |
104
108
  | `commandagi.design.business` | a company, an RFC, a case |
105
109
  | `commandagi.design.tasks` | a task, a project |
110
+ | `commandagi.design.mounts` | a thread's mounted tasks (`mounts.py`, in the thread's run folder) |
106
111
  | `commandagi.design.monitors` | a monitor (`monitor.py`, in the folder of the thing it follows) |
107
112
  | `commandagi.design.agents` | an agent harness (`harness.py`; `realtime`: what its model takes and gives live), an agent (`agent.py`: a base or a fork) |
108
113
  | `commandagi.design.records` | a contract, a product instance |
@@ -252,11 +257,11 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
252
257
  ## Versions
253
258
 
254
259
  - A release is the tag `v<version>` in this repository and the same version on PyPI. Pin an exact version:
255
- `pip install commandagi==0.6.6`, or in a virtual environment uv made (it has no pip)
256
- `uv pip install --python .venv/bin/python commandagi==0.6.6`. A range (`^`, `~=`, `>=`) takes the next release
260
+ `pip install commandagi==0.6.7`, or in a virtual environment uv made (it has no pip)
261
+ `uv pip install --python .venv/bin/python commandagi==0.6.7`. A range (`^`, `~=`, `>=`) takes the next release
257
262
  without asking you.
258
263
  - After an upgrade, check what runs: `python -c "import commandagi; print(commandagi.__version__)"`, and
259
- `commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.6`). The two
264
+ `commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.7`). The two
260
265
  are upgraded apart, and a kernel of another version may read a document differently.
261
266
  - The three SDKs (Python, TypeScript, Rust) carry one version number. A vocabulary at version X in one language is
262
267
  the vocabulary at version X in the others.
@@ -60,4 +60,4 @@ __all__ = [
60
60
  "ENV_THREAD_ID",
61
61
  "DEFAULT_BASE_URL",
62
62
  ]
63
- __version__ = "0.6.6"
63
+ __version__ = "0.6.7"