commandagi 0.6.7__tar.gz → 0.6.8__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 (90) hide show
  1. {commandagi-0.6.7 → commandagi-0.6.8}/CHANGELOG.md +53 -0
  2. {commandagi-0.6.7 → commandagi-0.6.8}/PKG-INFO +5 -4
  3. {commandagi-0.6.7 → commandagi-0.6.8}/README.md +4 -3
  4. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/__init__.py +1 -1
  5. commandagi-0.6.8/commandagi/_generated.py +954 -0
  6. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/__init__.py +1 -1
  7. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/business.py +3 -2
  8. commandagi-0.6.8/commandagi/design/evals.py +228 -0
  9. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/monitors.py +109 -17
  10. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/pcb.py +39 -11
  11. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/records.py +6 -3
  12. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/schema.py +9 -0
  13. commandagi-0.6.8/commandagi/design/standards_data.py +14 -0
  14. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/study.py +4 -4
  15. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/threed.py +10 -6
  16. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/threed_elements.py +26 -8
  17. commandagi-0.6.8/commandagi/design/threed_schema.py +4 -0
  18. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/twod.py +8 -3
  19. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/kernel.py +3 -3
  20. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi-sdk.schema.json +1 -1
  21. commandagi-0.6.8/tests/test_evals.py +97 -0
  22. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_logistics.py +16 -0
  23. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_monitors.py +55 -6
  24. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_pcb.py +15 -2
  25. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_records.py +7 -4
  26. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_study.py +5 -2
  27. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_threed.py +22 -1
  28. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_twod.py +15 -1
  29. commandagi-0.6.7/commandagi/_generated.py +0 -954
  30. commandagi-0.6.7/commandagi/design/standards_data.py +0 -14
  31. commandagi-0.6.7/commandagi/design/threed_schema.py +0 -4
  32. {commandagi-0.6.7 → commandagi-0.6.8}/.gitignore +0 -0
  33. {commandagi-0.6.7 → commandagi-0.6.8}/LICENSE +0 -0
  34. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/client.py +0 -0
  35. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/agents.py +0 -0
  36. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/cad.py +0 -0
  37. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/cadquery.py +0 -0
  38. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/circuit_checks.py +0 -0
  39. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/documents.py +0 -0
  40. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/eda.py +0 -0
  41. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/element.py +0 -0
  42. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/fab.py +0 -0
  43. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/firmware.py +0 -0
  44. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/flows.py +0 -0
  45. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/graph.py +0 -0
  46. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/ir.py +0 -0
  47. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/media.py +0 -0
  48. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/mounts.py +0 -0
  49. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/office.py +0 -0
  50. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/ontology.py +0 -0
  51. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/part_fields.py +0 -0
  52. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/pdf.py +0 -0
  53. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/postal.py +0 -0
  54. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/schematic.py +0 -0
  55. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/solids.py +0 -0
  56. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/source.py +0 -0
  57. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/standards.py +0 -0
  58. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/systems.py +0 -0
  59. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/tasks.py +0 -0
  60. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/testplans.py +0 -0
  61. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/tolerances.py +0 -0
  62. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/tsx.py +0 -0
  63. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/twod_schema.py +0 -0
  64. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/design/workbook_schema.py +0 -0
  65. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/gym_env.py +0 -0
  66. {commandagi-0.6.7 → commandagi-0.6.8}/commandagi/lerobot.py +0 -0
  67. {commandagi-0.6.7 → commandagi-0.6.8}/examples/drive_a_sim.py +0 -0
  68. {commandagi-0.6.7 → commandagi-0.6.8}/pyproject.toml +0 -0
  69. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_agents.py +0 -0
  70. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_business.py +0 -0
  71. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_design.py +0 -0
  72. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_fab.py +0 -0
  73. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_flows.py +0 -0
  74. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_kernel.py +0 -0
  75. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_media.py +0 -0
  76. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_mounts.py +0 -0
  77. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_office.py +0 -0
  78. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_ontology.py +0 -0
  79. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_pdf.py +0 -0
  80. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_postal.py +0 -0
  81. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_schematic.py +0 -0
  82. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_sdk.py +0 -0
  83. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_source.py +0 -0
  84. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_standards.py +0 -0
  85. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_systems.py +0 -0
  86. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_tasks.py +0 -0
  87. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_testplans.py +0 -0
  88. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_tolerances.py +0 -0
  89. {commandagi-0.6.7 → commandagi-0.6.8}/tests/test_tsx.py +0 -0
  90. {commandagi-0.6.7 → commandagi-0.6.8}/uv.lock +0 -0
@@ -4,6 +4,59 @@ 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.8 (2026-10-23)
8
+
9
+ Added
10
+
11
+ - `commandagi.design.monitors`: `discover(of=..., into=..., when=..., slug=..., class_=..., props=..., name=..., max=...)`,
12
+ a monitor's part that gives each thing its records name a folder and a thread of its own; a monitor's `same_as`, a
13
+ source's `vantage` and a follow's `where`. A monitor's document always has `discovers`. The same as the TypeScript
14
+ SDK's `<discover>`, `sameAs`, `vantage` and `where`.
15
+ - `commandagi.design.twod`: `engrave(id=..., src="logo.png", x_mm=..., y_mm=..., width_mm=..., height_mm=..., dpi=...,
16
+ dither="ordered")` in a `nest(...)`, an image burned on the first sheet. The same as the TypeScript SDK's
17
+ `<engrave>`.
18
+ - `commandagi.design.threed`: `curve(tangents=[{"at": 1, "direction": [...]}], tangent_scale=...)`, a spline's
19
+ direction at an inner point (the spline is C1 there) and how hard every given tangent holds (1 is the natural
20
+ spline). `pathPattern(path={"curve": ...})` places its copies along a curve in space, and `align_to_path` turns each
21
+ by the curve's rotation-minimizing frame. A sweep's `twist` now turns the profile on top of the Frenet and up frames
22
+ too.
23
+ - `commandagi.design.threed`: `product(id=, name=, part_number=, compliance=, shipping=)`, the product as it is sold
24
+ (its certifications, tariff heading, packed size and mass; the document's `products`); `make.stock` (the stock a
25
+ made part uses, bought by its own offers); a process chemical's `shutoff`. The same as the TypeScript SDK's
26
+ `<product>`.
27
+ - `commandagi.design.evals` (`commandagi::design::evals`): an eval and a metric in code, `<eval>` with `<case>`
28
+ children and `<metric>`, the same documents as the TypeScript SDK's `evals.ts`. A case names its task file (`task`,
29
+ a ref) or says its `instruction`; `metrics` and `acceptanceMetric` are refs; `frozen` is the digest the eval is
30
+ frozen at. In Python the elements are `eval(...)`, `case(...)` and `metric(...)` (importing `eval` hides the builtin
31
+ in that file), and a metric's `pass` is written `pass_`.
32
+ - `commandagi.design.pcb`: `group(side="any")` lets the placer turn each part over where that costs less, and
33
+ `group(edge=…, mating=…)` holds the group's parts against a board edge (`"left"`, `"right"`, `"top"`, `"bottom"`),
34
+ their `mating` side (in the footprint's own frame) out; `mating` needs `edge`.
35
+ - `commandagi.design.pcb`: `component(ref_at=[x, y])`, where the part's reference text sits (mm, in the footprint's
36
+ own frame); the layout moves each reference off copper and off the others and writes it here.
37
+ - `commandagi.design.pcb`: `bus(name, nets, pitch)`, nets that run together: where their tracks run side by side they
38
+ are parallel, `pitch` (mm) apart centre to centre. The same element as the TypeScript SDK's `<bus>` and the Rust
39
+ SDK's `bus()`.
40
+ - `commandagi.design.threed`: `fastener(corner=...)`, the direction from the axis to a corner of each hexagon of the
41
+ stack (a hexagon head, a nut). Absent, it is the model's X (its Y when the axis is within 26° of X). An assembly that
42
+ places the file turns it with the placement, so one assembly placed at two turns is one STEP product.
43
+ - The materials data has the fastener grades `A2-70`, `A4-70`, `8.8` and `12.9` (each row's source says where its
44
+ numbers were read): a screw whose stack names one of them has a mass.
45
+
46
+ Changed (a document written for 0.6.7 may need an edit)
47
+
48
+ - `commandagi.design.evals`: an eval's `objective` and its `scoring` weights name metric files by ref, as `metrics`
49
+ does: `objective={"kind": "metric", "metric": "Lap time.metric.tsx"}`, a linear term's `metric`, and weights keyed
50
+ by ref. An objective that names a metric by node id (`metricId`) is refused with why. The same as the TypeScript
51
+ SDK's.
52
+
53
+ Fixed
54
+
55
+ - The T-slot sections have the maker's 45° web again: `cavity_floor_width` is 5.88 (5 Series) and 9.17 (HFS6-3030).
56
+ 0.6.6 had it, but 0.6.7's standards data was generated from tables that never took the fix (5.6 and 8.5), so
57
+ HFS5-2080's ix was 5.04 % over MISUMI's again. The repository's tables now hold it: each section's area, ix, iy and
58
+ mass are within 3.1 % of MISUMI's, and the repository's test holds 5 %.
59
+
7
60
  ## 0.6.7 (2026-10-23)
8
61
 
9
62
  Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: commandagi
3
- Version: 0.6.7
3
+ Version: 0.6.8
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
@@ -136,6 +136,7 @@ vocabulary, one function per tag, named by the tag:
136
136
  | `commandagi.design.business` | a company, an RFC, a case |
137
137
  | `commandagi.design.tasks` | a task, a project |
138
138
  | `commandagi.design.mounts` | a thread's mounted tasks (`mounts.py`, in the thread's run folder) |
139
+ | `commandagi.design.evals` | an eval (`eval`: its `case`s), a metric (`metric`) |
139
140
  | `commandagi.design.monitors` | a monitor (`monitor.py`, in the folder of the thing it follows) |
140
141
  | `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) |
141
142
  | `commandagi.design.records` | a contract, a product instance |
@@ -285,11 +286,11 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
285
286
  ## Versions
286
287
 
287
288
  - A release is the tag `v<version>` in this repository and the same version on PyPI. Pin an exact version:
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
289
+ `pip install commandagi==0.6.8`, or in a virtual environment uv made (it has no pip)
290
+ `uv pip install --python .venv/bin/python commandagi==0.6.8`. A range (`^`, `~=`, `>=`) takes the next release
290
291
  without asking you.
291
292
  - After an upgrade, check what runs: `python -c "import commandagi; print(commandagi.__version__)"`, and
292
- `commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.7`). The two
293
+ `commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.8`). The two
293
294
  are upgraded apart, and a kernel of another version may read a document differently.
294
295
  - The three SDKs (Python, TypeScript, Rust) carry one version number. A vocabulary at version X in one language is
295
296
  the vocabulary at version X in the others.
@@ -108,6 +108,7 @@ vocabulary, one function per tag, named by the tag:
108
108
  | `commandagi.design.business` | a company, an RFC, a case |
109
109
  | `commandagi.design.tasks` | a task, a project |
110
110
  | `commandagi.design.mounts` | a thread's mounted tasks (`mounts.py`, in the thread's run folder) |
111
+ | `commandagi.design.evals` | an eval (`eval`: its `case`s), a metric (`metric`) |
111
112
  | `commandagi.design.monitors` | a monitor (`monitor.py`, in the folder of the thing it follows) |
112
113
  | `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) |
113
114
  | `commandagi.design.records` | a contract, a product instance |
@@ -257,11 +258,11 @@ graph (`run_module(...)["graph"]`) or the graph's JSON text. An entity is `{"bod
257
258
  ## Versions
258
259
 
259
260
  - A release is the tag `v<version>` in this repository and the same version on PyPI. Pin an exact version:
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
261
+ `pip install commandagi==0.6.8`, or in a virtual environment uv made (it has no pip)
262
+ `uv pip install --python .venv/bin/python commandagi==0.6.8`. A range (`^`, `~=`, `>=`) takes the next release
262
263
  without asking you.
263
264
  - After an upgrade, check what runs: `python -c "import commandagi; print(commandagi.__version__)"`, and
264
- `commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.7`). The two
265
+ `commandagi --version` for the host that runs the local 3D kernel (`npm install -g @commandagi/host@0.6.8`). The two
265
266
  are upgraded apart, and a kernel of another version may read a document differently.
266
267
  - The three SDKs (Python, TypeScript, Rust) carry one version number. A vocabulary at version X in one language is
267
268
  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.7"
63
+ __version__ = "0.6.8"