commandagi 0.5.1__tar.gz → 0.6.1__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.1/CHANGELOG.md +194 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/PKG-INFO +13 -3
- {commandagi-0.5.1 → commandagi-0.6.1}/README.md +12 -2
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/__init__.py +1 -1
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/_generated.py +49 -7
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/client.py +2 -2
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/__init__.py +1 -1
- commandagi-0.6.1/commandagi/design/agents.py +182 -0
- commandagi-0.6.1/commandagi/design/circuit_checks.py +106 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/eda.py +17 -1
- commandagi-0.6.1/commandagi/design/firmware.py +141 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/ontology.py +4 -3
- commandagi-0.6.1/commandagi/design/part_fields.py +346 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/pcb.py +214 -2
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/records.py +39 -5
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/schematic.py +36 -4
- commandagi-0.6.1/commandagi/design/standards_data.py +14 -0
- commandagi-0.6.1/commandagi/design/study.py +148 -0
- commandagi-0.6.1/commandagi/design/systems.py +233 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/tasks.py +17 -3
- commandagi-0.6.1/commandagi/design/testplans.py +92 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/threed.py +58 -7
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/threed_elements.py +264 -148
- commandagi-0.6.1/commandagi/design/threed_schema.py +4 -0
- commandagi-0.6.1/commandagi/design/tolerances.py +119 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/kernel.py +35 -6
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi-sdk.schema.json +198 -9
- commandagi-0.6.1/tests/test_agents.py +100 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_kernel.py +17 -3
- commandagi-0.6.1/tests/test_logistics.py +141 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_ontology.py +8 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_pcb.py +30 -1
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_records.py +20 -1
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_schematic.py +68 -1
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_sdk.py +4 -4
- commandagi-0.6.1/tests/test_study.py +60 -0
- commandagi-0.6.1/tests/test_systems.py +103 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_tasks.py +11 -3
- commandagi-0.6.1/tests/test_testplans.py +102 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_threed.py +38 -4
- commandagi-0.6.1/tests/test_tolerances.py +46 -0
- commandagi-0.5.1/CHANGELOG.md +0 -105
- commandagi-0.5.1/commandagi/design/standards_data.py +0 -12
- commandagi-0.5.1/commandagi/design/threed_schema.py +0 -4
- {commandagi-0.5.1 → commandagi-0.6.1}/.gitignore +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/LICENSE +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/business.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/cad.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/cadquery.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/documents.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/element.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/fab.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/graph.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/ir.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/media.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/monitors.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/office.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/pdf.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/postal.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/schema.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/solids.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/source.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/standards.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/tsx.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/twod.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/twod_schema.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/design/workbook_schema.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/gym_env.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/commandagi/lerobot.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/examples/drive_a_sim.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/pyproject.toml +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_business.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_design.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_fab.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_media.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_monitors.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_office.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_pdf.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_postal.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_source.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_standards.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_tsx.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/tests/test_twod.py +0 -0
- {commandagi-0.5.1 → commandagi-0.6.1}/uv.lock +0 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
One entry for each release. A release is the tag `v<version>` in this repository and the same version on PyPI. The
|
|
4
|
+
TypeScript and Rust SDKs carry the same version number. A version promises nothing about the next one (README
|
|
5
|
+
§ Versions): read this file before you change the version you pin.
|
|
6
|
+
|
|
7
|
+
## 0.6.1 (2026-10-15)
|
|
8
|
+
|
|
9
|
+
Added
|
|
10
|
+
|
|
11
|
+
- Agents (`commandagi.design.agents`): a harness (`harness.py`: `harness(kind=…, label=…, provider=…, runs=[…])`) and an
|
|
12
|
+
agent (`agent.py`: a base names its `harness`, a fork its `parent`), the same elements as the TypeScript SDK's
|
|
13
|
+
`agents.ts`. A realtime harness says what its model takes and gives live: `realtime={"in": […], "out": […], "audio":
|
|
14
|
+
{"in": […], "out": […]}, "fps": …, "hz": …, "minutes": …, "videoMinutes": …}`.
|
|
15
|
+
- Test plans (`commandagi.design.testplans`): a `<name>.testplan.py` holds the steps that test one serial-numbered
|
|
16
|
+
unit, never the results: `testplan(title=…, device=…)` with `condition`, `fixture` and `step`, the same elements as
|
|
17
|
+
the TypeScript SDK's `testplans.ts`.
|
|
18
|
+
- Firmware (`commandagi.design.firmware`): a release (`<name>.firmware.py`: `firmware(version=…, image=…, sha256=…,
|
|
19
|
+
sbom=…, device=…)` with `supports(revision=…)`) and a rollout (`<name>.rollout.py`: `rollout(firmware=…, world=…,
|
|
20
|
+
channel=…, canary=…, waves=[…])` with `health` and `target`), as the TypeScript SDK's `firmware.ts`. A `sha256` that
|
|
21
|
+
is not 64 lowercase hex digits is refused.
|
|
22
|
+
- A world's unit states its `serial` and its hardware `revision`.
|
|
23
|
+
- Tolerances. `parameter(tolerance=…)` and `hole(tolerance=…)` take `{"upper", "lower"}` (mm), `{"class": "H7"}` (an
|
|
24
|
+
ISO 286 class or `ISO 492 bore|outside|width`) or `{"basic": True}`; a tolerance given two ways is refused.
|
|
25
|
+
`commandagi.design.tolerances`: `tolerance_limits(nominal, tol)` and `fit_of(hole, shaft)`, the classes read from
|
|
26
|
+
the shipped tables (`TOLERANCE_TABLES`). `check(kind="fit", hole=, shaft=, intent=)` and `check(kind="stackup",
|
|
27
|
+
chain=, limit=, method=, samples=, seed=)` are checks of a 3D document (`kernel.check`).
|
|
28
|
+
- A hardware release and a change (`release()`, `change()`): the record of what a release of a design holds, a change
|
|
29
|
+
proposal's change, and the release a unit or an instance was built from. A definition names its firmware and
|
|
30
|
+
revision; `firmware()` also declares the channels a firmware gives.
|
|
31
|
+
- Logistics (`part_fields.py`): a schematic part's `suppliers`, `alternates`, `datasheet`, `lifecycle`, `compliance`
|
|
32
|
+
and `shipping`, each KiCad properties of the part, on schematic parts and `component()`; `check(options=)`; a
|
|
33
|
+
board's `fab()`; a 3D document's `item()` and `assemble()`. A body with `process="reference"` (a fit proxy) is out
|
|
34
|
+
of the BOM and the logistics checks.
|
|
35
|
+
- Systems (`commandagi.design.systems`): requirements, a system's budgets (a cost budget names the design whose
|
|
36
|
+
logistics roll-up it reads, `design=`) and an interface, as the TypeScript SDK's.
|
|
37
|
+
- A flow study (`study(kind="flow")`: `fluid`, `inlet`, `outlet`, `flow_mesh`; units m-kg-s).
|
|
38
|
+
- `kernel.dfm`: the manufacturability checks of a part; `kernel.check` takes devices. The slicer kernel (places:
|
|
39
|
+
local, then cloud).
|
|
40
|
+
- `eda.export_kicad` (`pcb_export_kicad`): the board as a KiCad project.
|
|
41
|
+
- Drawing sheets: section and detail views in the schema; a sheet with a section view and no section, or a bad
|
|
42
|
+
detail, is refused.
|
|
43
|
+
- A part's pinout and pads are checked: `pinout_verified`, `footprint_verified` and `package_dimensions` are part
|
|
44
|
+
fields. A material grade states its Poisson's ratio where its source states one.
|
|
45
|
+
|
|
46
|
+
## 0.6.0 (2026-10-15)
|
|
47
|
+
|
|
48
|
+
Read **Removed** first: a script that calls `eda.autoroute` stops with `unknown tool` on the platform today, with 0.5.1
|
|
49
|
+
too.
|
|
50
|
+
|
|
51
|
+
Added
|
|
52
|
+
|
|
53
|
+
- A schematic part states its engineering data: `part_number=`, `manufacturer=`, `mpn=`, `rating=` and `attrs={…}` on
|
|
54
|
+
any part but a ground. Each is one KiCad property of the part (`CommandAGI IPN`, `Manufacturer`, `MPN`, `Rating`,
|
|
55
|
+
and each `attrs` entry by its own name), so the BOM, the `.kicad_pcb` and a board edit carry it. `attrs` refuses a
|
|
56
|
+
name that has its own argument and the part's own `Reference`, `Value` and `Footprint`. `part_fields(inputs)` and
|
|
57
|
+
`PART_FIELDS` read them back.
|
|
58
|
+
- Declared checks. A 3D document holds the checks it must pass and what it accepts: `check(id=…, kind=…)`
|
|
59
|
+
(`interference`, `clearance`, `holes`, `fasteners`, `edges`, `symmetry`), `accept(…)` (one finding that is right on
|
|
60
|
+
purpose, with its `reason`) and `permitted(…)` (the findings that a process or a purpose permits, such as the square
|
|
61
|
+
edges of a laser-cut sheet). A circuit (`.sch.py`, `.pcb.py`) holds `check(kind="erc" | "drc")` and `accept(…)`.
|
|
62
|
+
Each is checked against the schema when the document is read.
|
|
63
|
+
- `Kernel.check(doc)`: the checks a 3D document declares, run on one build, with its `accept` and `permitted` entries
|
|
64
|
+
applied. Each finding names its check, rule, severity, body (id, name, part number) and location; a check that
|
|
65
|
+
could not run is `skipped` with its reason, never `passed`. A document that declares no check gets the interference
|
|
66
|
+
check.
|
|
67
|
+
- Fasteners: `fastener(id=…, part="iso-4762-m6", length=…, at=…, clamped=[…], receiver=…, washer=…, nut=…, grip=…,
|
|
68
|
+
fit=…)` places a screw from the fastener library with its washer and nut, and records what it clamps into what. The
|
|
69
|
+
`fasteners` check reads that record: each clamped part's clearance hole for its `fit` (ISO 273), and the thread a
|
|
70
|
+
tapped receiver engages (`min_engagement`).
|
|
71
|
+
- Studies (`commandagi.design.study`): a `<name>.study.py` holds the question of an analysis of a part, never the
|
|
72
|
+
answer: `study(kind="structural", part=…, units="mm-N-MPa-t")` with `material`, `fixture`, `loadCase`, `force`,
|
|
73
|
+
`pressure`, `mesh`, `solver`, `criterion` and `revise`, the same elements as the TypeScript SDK. A solve is a run of
|
|
74
|
+
the `fea` kernel, a new kernel name beside `3d`.
|
|
75
|
+
- A board's layout constraints, each a board fact: `netclass()`, `diffpair()`, `group()`, `keepout()`, `thermal()`,
|
|
76
|
+
`objective()` (`commandagi.design.pcb`; CommandAGI's `docs/eda-layout.md`), as the TypeScript SDK's elements. The
|
|
77
|
+
circuit editor's placer, router, layout score and layout checks read them.
|
|
78
|
+
- The layout tools: `eda.layout` (`pcb_layout`), `eda.layout_score`, `eda.check_layout`, `eda.constrain`,
|
|
79
|
+
`eda.place_group` (`pcb_place_group`), `eda.route_nets` (`pcb_route_nets`) and `eda.rip_up`.
|
|
80
|
+
|
|
81
|
+
Changed
|
|
82
|
+
|
|
83
|
+
- The 3D kernel has a third place, `page`: the workbench page's own kernel. `COMMANDAGI_THREED` accepts `page`, `local`
|
|
84
|
+
and `cloud`. Python has no transport to a page, so it passes `page` over and the default order on this computer stays
|
|
85
|
+
`local`, then `cloud`. The `fea` kernel has no page.
|
|
86
|
+
- An example of a task proposal names a simulated run of the world it asks for (`worlds/shop/runs/…`), not a run of
|
|
87
|
+
a second world.
|
|
88
|
+
|
|
89
|
+
Removed
|
|
90
|
+
|
|
91
|
+
- `eda.autoroute` (`pcb_autoroute`). The board has one router: `eda.route_nets` routes what is open of the nets from
|
|
92
|
+
the copper they have, on the copper layers given (`layers`); `rip_up=True` routes them whole.
|
|
93
|
+
- The platform tools `pcb_optimize_routing` and `pcb_optimize_placement` (no SDK method called them; `call()` with
|
|
94
|
+
their names now gets `unknown tool`). Use `eda.route_nets`, `eda.place_group` and `eda.layout`.
|
|
95
|
+
|
|
96
|
+
## 0.5.1 (2026-10-15)
|
|
97
|
+
|
|
98
|
+
Fixed
|
|
99
|
+
|
|
100
|
+
- `Kernel`'s message when no place can run it names the right install: `npm install -g @commandagi/host`, then
|
|
101
|
+
`commandagi threed install`. 0.5.0 said `npm install -g commandagi`, a package with no command.
|
|
102
|
+
- `call()` no longer stops every call after a fixed 120 s. `CommandAGI(timeout=…)` sets how long a call waits (None:
|
|
103
|
+
no limit; default 120 s), and `call(tool, args, timeout=…)` sets it for one call. A call with no answer in time
|
|
104
|
+
raises `CommandAGIError` that says so (`pcb_autoroute: no answer within 120 s`); the platform may still finish the
|
|
105
|
+
operation.
|
|
106
|
+
|
|
107
|
+
Added
|
|
108
|
+
|
|
109
|
+
- `commandagi.design.to_tsx(element)`: a Python document's root element as the TypeScript SDK's code file
|
|
110
|
+
(`export default () => (<group …>…</group>);`), for a place that reads only TSX. It declares the same document as
|
|
111
|
+
the Python (checked on the shipped examples: a 3D part, a schematic, a board, a drawing, a letter, a company, a
|
|
112
|
+
project).
|
|
113
|
+
|
|
114
|
+
## 0.5.0 (2026-10-14)
|
|
115
|
+
|
|
116
|
+
The first release with the design layer. 0.5.0 was prepared on 2026-10-13 and not published; this entry holds all of it.
|
|
117
|
+
|
|
118
|
+
Changed
|
|
119
|
+
|
|
120
|
+
- `Kernel` speaks the kernel contract (`POST <kernel>/v1/<op>`, `GET <kernel>/v1/health`) and is placed by
|
|
121
|
+
`COMMANDAGI_THREED`: `local`, `cloud`, both apart by `,` in the order to try (default `local,cloud`), or a running
|
|
122
|
+
service's URL. `platform` is not a value now: write `cloud`. A place where the kernel is not installed is passed
|
|
123
|
+
over; a refusal of the op is the answer. `Kernel.last_ran` says where each answer ran (`local` is never a cloud
|
|
124
|
+
result), and `Kernel.call(op, doc, params)` gives a whole answer. `observe` takes no `doc_id`.
|
|
125
|
+
|
|
126
|
+
Added
|
|
127
|
+
|
|
128
|
+
- A 3D document's engineering vocabulary (`commandagi.design.threed`, checked against the one schema, as in the
|
|
129
|
+
TypeScript SDK): `body(engineering={…})` (material grade, process, finish, vendor, cost, part number, mass),
|
|
130
|
+
`joint(…)` (`fixed`, `revolute`, `prismatic`, `cylindrical`, `planar`, `screw`, `spherical`, `universal`),
|
|
131
|
+
`mate(…)`, `sheet(…)` (an engineering drawing sheet), and `hole(size="M4 close fit")` (a hole by its standard name).
|
|
132
|
+
- `commandagi.design.standards`: `material`, `mass_grams`, `hole_size`, `sized_hole`, `standard_row`, `MATERIALS`,
|
|
133
|
+
`HOLE_SIZES`, `STANDARD_TABLES`, `STANDARD_SOURCES`: the same tables as the TypeScript SDK, each with where its
|
|
134
|
+
rows were read.
|
|
135
|
+
- `hole(body, at=…, size="M4 close fit", depth=…)` in the code-part primitives (`commandagi.design.cad`).
|
|
136
|
+
- `Kernel.sheet`, `Kernel.bom`, and `Kernel.observe(doc, materials=…)`: a body's `mass["grams"]`.
|
|
137
|
+
- 3D documents: a hole's `positions` and `sketch`; faces and edges chosen by a query, `{"kind", "select": {…}}`,
|
|
138
|
+
beside the pick; a part is built in the order of its elements (a feature that names no `consumes` follows every
|
|
139
|
+
body-making feature written before it).
|
|
140
|
+
- `Kernel.interference`, `Kernel.measure_all`, `linked_parts`; `parts=` on every call (an assembly's files);
|
|
141
|
+
`KernelError.failures`.
|
|
142
|
+
|
|
143
|
+
Changed
|
|
144
|
+
|
|
145
|
+
- A joint's kinds: `hinge` is `revolute`, `slider` is `prismatic`, `ball` is `spherical`. Joints and mates are
|
|
146
|
+
`joint(…)` and `mate(…)` elements: the reader refuses them inside `slot(name="dynamics")` and
|
|
147
|
+
`slot(name="assembly")`.
|
|
148
|
+
- `Kernel.measure(doc, quantity, a, b)` works with the platform too (the service takes `measures`).
|
|
149
|
+
- `Kernel.export`, `measure`, `drawing` and `tessellate` refuse a build in which a feature failed. `tessellate`
|
|
150
|
+
answers each body's triangles, not only their count.
|
|
151
|
+
- The call form (`part`, `subtract`, `hole`, `fillet` …) wires a feature to the heads of its body and to its last
|
|
152
|
+
feature: about two wires a feature, where a plate of 129 holes was 566 kB. `Body.state` is gone; `Body.heads` and
|
|
153
|
+
`Body.acts_on()` are what it has.
|
|
154
|
+
- A union's refusal names the field at fault (`edges/0/select/vertical: is not one of its fields`).
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
The first release that contains `commandagi.design`. PyPI 0.4.0 was built on 2026-09-23, before the design layer was
|
|
158
|
+
written; the version in the source stayed at 0.4.0 for the 106 commits after it, so the source and the package had
|
|
159
|
+
one number and different contents.
|
|
160
|
+
|
|
161
|
+
Added
|
|
162
|
+
|
|
163
|
+
- `commandagi.design`: documents declared in code, with the standard library only.
|
|
164
|
+
- The code-part primitives: CAD (`part`, `box`, `cylinder`, `sketch`, `extrude`, `subtract`, `hole`,
|
|
165
|
+
`linear_pattern` …), EDA (`circuit`, `board`, `component`, `net`, `connect`, `footprints`), any graph (`graph`,
|
|
166
|
+
`node`, `input_`, `code`), and `run_module`.
|
|
167
|
+
- One module for each document vocabulary: `schematic`, `pcb`, `threed`, `fab`, `office`, `twod`, `media`,
|
|
168
|
+
`ontology`, `business`, `tasks`, `monitors`, `records`, `postal`, `pdf`.
|
|
169
|
+
- `commandagi.design.cadquery`: a CadQuery-style importer.
|
|
170
|
+
- `commandagi.design.source`: the map from each element to the call that made it, for the editors' write-back.
|
|
171
|
+
- `commandagi.kernel.Kernel` (also `commandagi.Kernel`): `observe`, `export`, `measure`, `drawing` and `tessellate` of
|
|
172
|
+
a 3D document, by the CommandAGI 3D design service (OpenCascade). `COMMANDAGI_THREED` chooses the service:
|
|
173
|
+
`platform` (the default, with an API key), `local` (this computer, offline, no account: the `commandagi` npm
|
|
174
|
+
package's `commandagi threed serve`) or the URL of a running one.
|
|
175
|
+
- Client namespaces: `computer`, `billing`, `web`, `postal`, `social`, `phone`, `vpn`; agent constraints.
|
|
176
|
+
- `LICENSE` (MIT, as `pyproject.toml` states), this file, and § Versions in the README.
|
|
177
|
+
|
|
178
|
+
Changed
|
|
179
|
+
|
|
180
|
+
- The desktop control vocabulary has `mouse_down` and `mouse_up`.
|
|
181
|
+
|
|
182
|
+
Known limits
|
|
183
|
+
|
|
184
|
+
- `Kernel.measure` works with a local service only: the platform's route cannot be told which measurement.
|
|
185
|
+
- The hosted platform does not run a `.py` document's kernel calls for you; `Kernel` sends the graph that
|
|
186
|
+
`run_module` made.
|
|
187
|
+
|
|
188
|
+
## 0.4.0 (2026-09-23)
|
|
189
|
+
|
|
190
|
+
The generated client (`CommandAGI`, `Session` over the thread WebSocket) replaced `RobotBridge`.
|
|
191
|
+
|
|
192
|
+
## 0.3.0 (2026-09-05)
|
|
193
|
+
|
|
194
|
+
The first release by trusted publishing.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: commandagi
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.1
|
|
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
|
|
@@ -57,7 +57,7 @@ cagi.call("list_snapshots")
|
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
A call waits 120 s for its answer. `CommandAGI(timeout=600)` sets it for every call (None: no limit), and
|
|
60
|
-
`cagi.call("
|
|
60
|
+
`cagi.call("pcb_route_nets", {...}, timeout=900)` for one call. A call with no answer in time raises
|
|
61
61
|
`CommandAGIError`; the platform may still finish the operation.
|
|
62
62
|
|
|
63
63
|
A Python document can go where only TSX is read: `commandagi.design.to_tsx(result)` writes its root element as the
|
|
@@ -121,6 +121,9 @@ vocabulary, one function per tag, named by the tag:
|
|
|
121
121
|
| `commandagi.design.pcb` | a board in code (`board`) |
|
|
122
122
|
| `commandagi.design.threed` | a 3D part or assembly |
|
|
123
123
|
| `commandagi.design.fab` | a machining setup (`cam`), a slicing setup (`slicing`) |
|
|
124
|
+
| `commandagi.design.study` | a study of a part (`study`: material, fixtures, load cases, mesh, criteria, revise; docs/formats.md § studies) |
|
|
125
|
+
| `commandagi.design.testplans` | a test plan (`testplan`: conditions, fixtures, steps) |
|
|
126
|
+
| `commandagi.design.firmware` | a firmware release (`firmware`: supported revisions), a rollout (`rollout`: health checks, targets) |
|
|
124
127
|
| `commandagi.design.office` | a workbook, a page, a deck |
|
|
125
128
|
| `commandagi.design.twod` | a drawing, a painting, a photo, a nest |
|
|
126
129
|
| `commandagi.design.media` | a video (clips, `composition(src="Intro.vid.py")`: another video drawn live from its own code, `artboard(src="Poster.draw.py")`: a drawing's page drawn live), a song |
|
|
@@ -128,6 +131,7 @@ vocabulary, one function per tag, named by the tag:
|
|
|
128
131
|
| `commandagi.design.business` | a company, an RFC, a case |
|
|
129
132
|
| `commandagi.design.tasks` | a task, a project |
|
|
130
133
|
| `commandagi.design.monitors` | a monitor (`monitor.py`, in the folder of the thing it follows) |
|
|
134
|
+
| `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) |
|
|
131
135
|
| `commandagi.design.records` | a contract, a product instance |
|
|
132
136
|
| `commandagi.design.postal` | a letter, a postcard |
|
|
133
137
|
| `commandagi.design.pdf` | a PDF assembled from pages, comments, stamps, signatures, redactions, fields and bookmarks |
|
|
@@ -249,6 +253,12 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
|
|
|
249
253
|
under the name its `externalPart` gives.
|
|
250
254
|
- **A STEP file names its parts**: each body is a product of its part's name, an assembly the product they are
|
|
251
255
|
components of.
|
|
256
|
+
- **`dfm(doc, process="print" | "mill", limits=…, setup=…)`** says whether a machine can make the part: `limits` are a
|
|
257
|
+
device definition's `process["print"]` or `process["mill"]`, `setup={"tools": [{"diameter_mm": 3.175}]}` the mill's
|
|
258
|
+
tools. Each finding is `pass`, `fail` or `unknown` (never `pass` when a limit or a tool is missing) with its value,
|
|
259
|
+
limit and `where` (the body, the B-rep `faces`, a point); `verdict` sums them.
|
|
260
|
+
- **`check(doc, devices=…)`**: a `check(kind="printability" | "mill", options={"device": ref})` reads its limits from
|
|
261
|
+
`devices`, `{ref: {"process": …}}`, the definitions you read; without them the check is skipped and says why.
|
|
252
262
|
|
|
253
263
|
## Reinforcement learning
|
|
254
264
|
|
|
@@ -269,7 +279,7 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
|
|
|
269
279
|
## Versions
|
|
270
280
|
|
|
271
281
|
- A release is the tag `v<version>` in this repository and the same version on PyPI. Pin an exact version:
|
|
272
|
-
`commandagi==0.
|
|
282
|
+
`commandagi==0.6.1`. A range (`^`, `~=`, `>=`) takes the next release without asking you.
|
|
273
283
|
- The three SDKs (Python, TypeScript, Rust) carry one version number. A vocabulary at version X in one language is
|
|
274
284
|
the vocabulary at version X in the others.
|
|
275
285
|
- A version promises nothing about the next one. CommandAGI keeps no compatibility layers: a release may rename or
|
|
@@ -29,7 +29,7 @@ cagi.call("list_snapshots")
|
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
A call waits 120 s for its answer. `CommandAGI(timeout=600)` sets it for every call (None: no limit), and
|
|
32
|
-
`cagi.call("
|
|
32
|
+
`cagi.call("pcb_route_nets", {...}, timeout=900)` for one call. A call with no answer in time raises
|
|
33
33
|
`CommandAGIError`; the platform may still finish the operation.
|
|
34
34
|
|
|
35
35
|
A Python document can go where only TSX is read: `commandagi.design.to_tsx(result)` writes its root element as the
|
|
@@ -93,6 +93,9 @@ vocabulary, one function per tag, named by the tag:
|
|
|
93
93
|
| `commandagi.design.pcb` | a board in code (`board`) |
|
|
94
94
|
| `commandagi.design.threed` | a 3D part or assembly |
|
|
95
95
|
| `commandagi.design.fab` | a machining setup (`cam`), a slicing setup (`slicing`) |
|
|
96
|
+
| `commandagi.design.study` | a study of a part (`study`: material, fixtures, load cases, mesh, criteria, revise; docs/formats.md § studies) |
|
|
97
|
+
| `commandagi.design.testplans` | a test plan (`testplan`: conditions, fixtures, steps) |
|
|
98
|
+
| `commandagi.design.firmware` | a firmware release (`firmware`: supported revisions), a rollout (`rollout`: health checks, targets) |
|
|
96
99
|
| `commandagi.design.office` | a workbook, a page, a deck |
|
|
97
100
|
| `commandagi.design.twod` | a drawing, a painting, a photo, a nest |
|
|
98
101
|
| `commandagi.design.media` | a video (clips, `composition(src="Intro.vid.py")`: another video drawn live from its own code, `artboard(src="Poster.draw.py")`: a drawing's page drawn live), a song |
|
|
@@ -100,6 +103,7 @@ vocabulary, one function per tag, named by the tag:
|
|
|
100
103
|
| `commandagi.design.business` | a company, an RFC, a case |
|
|
101
104
|
| `commandagi.design.tasks` | a task, a project |
|
|
102
105
|
| `commandagi.design.monitors` | a monitor (`monitor.py`, in the folder of the thing it follows) |
|
|
106
|
+
| `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) |
|
|
103
107
|
| `commandagi.design.records` | a contract, a product instance |
|
|
104
108
|
| `commandagi.design.postal` | a letter, a postcard |
|
|
105
109
|
| `commandagi.design.pdf` | a PDF assembled from pages, comments, stamps, signatures, redactions, fields and bookmarks |
|
|
@@ -221,6 +225,12 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
|
|
|
221
225
|
under the name its `externalPart` gives.
|
|
222
226
|
- **A STEP file names its parts**: each body is a product of its part's name, an assembly the product they are
|
|
223
227
|
components of.
|
|
228
|
+
- **`dfm(doc, process="print" | "mill", limits=…, setup=…)`** says whether a machine can make the part: `limits` are a
|
|
229
|
+
device definition's `process["print"]` or `process["mill"]`, `setup={"tools": [{"diameter_mm": 3.175}]}` the mill's
|
|
230
|
+
tools. Each finding is `pass`, `fail` or `unknown` (never `pass` when a limit or a tool is missing) with its value,
|
|
231
|
+
limit and `where` (the body, the B-rep `faces`, a point); `verdict` sums them.
|
|
232
|
+
- **`check(doc, devices=…)`**: a `check(kind="printability" | "mill", options={"device": ref})` reads its limits from
|
|
233
|
+
`devices`, `{ref: {"process": …}}`, the definitions you read; without them the check is skipped and says why.
|
|
224
234
|
|
|
225
235
|
## Reinforcement learning
|
|
226
236
|
|
|
@@ -241,7 +251,7 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
|
|
|
241
251
|
## Versions
|
|
242
252
|
|
|
243
253
|
- A release is the tag `v<version>` in this repository and the same version on PyPI. Pin an exact version:
|
|
244
|
-
`commandagi==0.
|
|
254
|
+
`commandagi==0.6.1`. A range (`^`, `~=`, `>=`) takes the next release without asking you.
|
|
245
255
|
- The three SDKs (Python, TypeScript, Rust) carry one version number. A vocabulary at version X in one language is
|
|
246
256
|
the vocabulary at version X in the others.
|
|
247
257
|
- A version promises nothing about the next one. CommandAGI keeps no compatibility layers: a release may rename or
|