commandagi 0.6.5__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.
- {commandagi-0.6.5 → commandagi-0.6.7}/CHANGELOG.md +104 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/PKG-INFO +10 -5
- {commandagi-0.6.5 → commandagi-0.6.7}/README.md +9 -4
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/__init__.py +1 -1
- commandagi-0.6.7/commandagi/_generated.py +954 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/__init__.py +1 -1
- commandagi-0.6.7/commandagi/design/mounts.py +106 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/systems.py +9 -5
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/threed_elements.py +26 -4
- commandagi-0.6.7/commandagi/design/threed_schema.py +4 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi-sdk.schema.json +760 -1
- commandagi-0.6.7/tests/test_mounts.py +65 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_sdk.py +13 -1
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_systems.py +10 -2
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_threed.py +33 -2
- commandagi-0.6.5/commandagi/_generated.py +0 -705
- commandagi-0.6.5/commandagi/design/threed_schema.py +0 -4
- {commandagi-0.6.5 → commandagi-0.6.7}/.gitignore +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/LICENSE +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/client.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/agents.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/business.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/cad.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/cadquery.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/circuit_checks.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/documents.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/eda.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/element.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/fab.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/firmware.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/flows.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/graph.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/ir.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/media.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/monitors.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/office.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/ontology.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/part_fields.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/pcb.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/pdf.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/postal.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/records.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/schema.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/schematic.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/solids.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/source.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/standards.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/standards_data.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/study.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/tasks.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/testplans.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/threed.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/tolerances.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/tsx.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/twod.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/twod_schema.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/design/workbook_schema.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/gym_env.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/kernel.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/commandagi/lerobot.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/examples/drive_a_sim.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/pyproject.toml +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_agents.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_business.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_design.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_fab.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_flows.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_kernel.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_logistics.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_media.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_monitors.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_office.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_ontology.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_pcb.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_pdf.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_postal.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_records.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_schematic.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_source.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_standards.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_study.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_tasks.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_testplans.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_tolerances.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_tsx.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/tests/test_twod.py +0 -0
- {commandagi-0.6.5 → commandagi-0.6.7}/uv.lock +0 -0
|
@@ -4,6 +4,110 @@ 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
|
+
|
|
76
|
+
## 0.6.6 (2026-10-22)
|
|
77
|
+
|
|
78
|
+
Added
|
|
79
|
+
|
|
80
|
+
- `client.git`: the folder git operations listed under the host below (`merge(branch=…)`, since `from` is a Python keyword).
|
|
81
|
+
- `eda.layout` follows a platform layout job to its end.
|
|
82
|
+
|
|
83
|
+
Fixed
|
|
84
|
+
|
|
85
|
+
- The T-slot sections have the maker's 45° web between two slot cavities: 1.5 mm in the 5 Series (MISUMI's drawing
|
|
86
|
+
prints it) and 2.0 mm in HFS6-3030 (measured on its drawing), where 0.6.5 drew 1.7 and 2.5 mm. So
|
|
87
|
+
`cavity_floor_width` is 5.88 (5 Series) and 9.17 (HFS6-3030). 0.6.5 said each section was within 5 % of MISUMI's;
|
|
88
|
+
HFS5-2080's ix was +5.04 %. Now each section's area, ix, iy and mass are within 3.1 % (the straight walls have no
|
|
89
|
+
radii or fillets), and the repository's test holds 5 %.
|
|
90
|
+
|
|
91
|
+
In the host (`@commandagi/host` 0.6.6)
|
|
92
|
+
|
|
93
|
+
- The FEA kernel picks its solver for each level from the level's size and the memory it has: PaStiX on every core
|
|
94
|
+
when it fits, SPOOLES on one thread when it does not. The level's line says which ran and why. `COMMANDAGI_FEA_MEMORY`
|
|
95
|
+
(for example `96g`) sets the kernel container's memory. A 2.18-million-node level needs about 73 GB with SPOOLES and
|
|
96
|
+
108 GB with PaStiX.
|
|
97
|
+
- The workbench speaks Japanese, Brazilian Portuguese, French, German, Arabic (right to left) and Indonesian, beside
|
|
98
|
+
English, Spanish and Simplified Chinese.
|
|
99
|
+
- `commandagi git <op>` works on a folder of this computer or a cloud folder (`cloud://home/<uuid>/…`): status, log,
|
|
100
|
+
diff, commit, checkpoint, branch, switch, checkout (a commit as a detached HEAD), merge, remotes, fetch, pull, push,
|
|
101
|
+
and fork (cloud). A remote's credential names an account of the host's secret store and is given to git for one
|
|
102
|
+
call; it is never written into `.git/config`. A synced folder and its cloud folder share one history.
|
|
103
|
+
|
|
104
|
+
On the platform
|
|
105
|
+
|
|
106
|
+
- A cloud file or folder that was renamed or moved is still reached at its old path; the answer names the current one
|
|
107
|
+
(`x-commandagi-moved-to`). A git remote that names an old folder keeps working.
|
|
108
|
+
- `pcb_layout` on a board larger than the platform runs in place becomes a job (`pcb_layout_status`); no layout ends in
|
|
109
|
+
a Worker resource error any more.
|
|
110
|
+
|
|
7
111
|
## 0.6.5 (2026-10-22)
|
|
8
112
|
|
|
9
113
|
The items still open after 0.6.4 (the microfab team's ids in brackets). `@commandagi/host` 0.6.5 carries the checks.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: commandagi
|
|
3
|
-
Version: 0.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.
|
|
284
|
-
`uv pip install --python .venv/bin/python commandagi==0.6.
|
|
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.
|
|
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.
|
|
256
|
-
`uv pip install --python .venv/bin/python commandagi==0.6.
|
|
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.
|
|
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.
|