teddy-cli 0.2.3.dev1535__py3-none-any.whl → 0.2.3.dev1537__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: teddy-cli
3
- Version: 0.2.3.dev1535
3
+ Version: 0.2.3.dev1537
4
4
  Summary: The local-first, test-driven agentic engineering harness. Because you should own the means of development.
5
5
  Author: Raphael Atteritano
6
6
  License: AGPL-3.0-only
@@ -196,7 +196,7 @@ uv tool install teddy-cli --pre --force
196
196
 
197
197
  ### Installing From a Fork or Private Index
198
198
 
199
- TeDDy can run from a fork or a private package index, and the update check can follow the same source. Because the version check reads the installed `teddy-cli` distribution metadata, every install shape must keep the distribution name `teddy-cli` — a git install, a local wheel, and a private index all do. Only a public PyPI upload under a different name would need a second knob.
199
+ TeDDy can run from a fork or a private package index, and the update check can follow the same source. Because the version check reads the installed `teddy-cli` distribution metadata, every install shape must keep the distribution name `teddy-cli` (a git install, a local wheel, and a private index all do).
200
200
 
201
201
  Install from a git URL:
202
202
 
@@ -210,18 +210,9 @@ Install from a private index:
210
210
  uv tool install teddy-cli --default-index https://packages.example.com/simple
211
211
  ```
212
212
 
213
- Then point the update check at your own source by setting `update.index_url` in `.teddy/config.yaml`:
213
+ Then point the update check at your own source by setting `update.index_url` in `.teddy/config.yaml`.
214
214
 
215
- ```yaml
216
- update:
217
- index_url: "https://packages.example.com/pypi/teddy-cli/json"
218
- ```
219
-
220
- The source only needs to be PyPI-JSON-shaped. A static `version.json` served from your fork's repository works too, as long as it carries `{"info": {"version": "x.y.z"}}`. That `info.version` fallback ignores `--experimental`, so a static source reports the same version with or without the flag.
221
-
222
- `uv tool upgrade teddy-cli` re-resolves the upgrade from the index recorded in its install receipt, so a fork installed from a private index upgrades in place. A git install upgrades by reinstalling from the same git URL.
223
-
224
- `teddy update` reads `.teddy/config.yaml` from the current directory, so run it from the project root. The `checks.update: false` toggle silences the startup notice only; the background fetch still runs, and `teddy update` always compares against the configured source.
215
+ The source only needs to be PyPI-JSON-shaped. A static `version.json` served from your fork's repository works too, as long as it carries `{"info": {"version": "x.y.z"}}`.
225
216
 
226
217
  ### Initialize
227
218
 
@@ -40,7 +40,7 @@ teddy_executor/core/domain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
40
40
  teddy_executor/core/domain/models/__init__.py,sha256=yok7EZ3_cUwVGPGjBwTLg-zL4XTyQs2xAi_4VPKdKCk,1062
41
41
  teddy_executor/core/domain/models/action_ports.py,sha256=vCMBtLS1thqT1YcGRScwapQ9MXKbvKg3zWeEGpJ5IhE,733
42
42
  teddy_executor/core/domain/models/change_set.py,sha256=FgR553--lmcX-3tqjEkRhpwPpvEnLXWZ14Vkc2XgV_k,207
43
- teddy_executor/core/domain/models/config_schema.py,sha256=L3oJdYSHf4Oduslrz4i1qNsUIuFcU9n75xZn9E0RCAk,16009
43
+ teddy_executor/core/domain/models/config_schema.py,sha256=19Vwi4TT9ILGrn8MZhJ3weqcPkR7Wu8RZk4UvBYxzRg,16260
44
44
  teddy_executor/core/domain/models/drift_report.py,sha256=K1R6OkySD2RfKU9bV0D5mVGl1PMfwlIKgFp5YSBJm0E,1406
45
45
  teddy_executor/core/domain/models/exceptions.py,sha256=kR6-vUECe06kVem0KoeHo9OEdQIFFB2AP58eWNo9qYs,1243
46
46
  teddy_executor/core/domain/models/execution_report.py,sha256=1jUI1YHhx0FruuMh6gYyOTlRye9ubFtnxpEgLNdu53g,1801
@@ -141,7 +141,7 @@ teddy_executor/registries/validators.py,sha256=82SNpawuzWV2dtJcMAVP7wOpjoJ0hViR2
141
141
  teddy_executor/resources/MRP.md,sha256=j9Z_UZRxZpDTK5vtG6yuwhCThgYGpaDvMU17YJntbVs,16722
142
142
  teddy_executor/resources/__init__.py,sha256=h835ykuoc9Xv0E4UIaHmi8iVnhPKYqhwkLzHV5jRQEs,45
143
143
  teddy_executor/resources/config/__init__.py,sha256=R96a_JS3GOty_5vsGg8AcR3cQYotYXCELrIzWFhn4kE,61
144
- teddy_executor/resources/config/config.yaml,sha256=a1WDREEJ_M-Br7Wpj18-ELSg-gdeUsPCRhwhq3QN3mY,3819
144
+ teddy_executor/resources/config/config.yaml,sha256=FXHC_Bg1GGzVD6qH6E3pdehXg-5xooeCfJm6w6HoPYU,3577
145
145
  teddy_executor/resources/config/init.context,sha256=9J70exhvHAzqHX8kin2PuVtPi2JZp-TAzZr-PV8EYSg,87
146
146
  teddy_executor/resources/config/prompts/architect.md,sha256=aVU16aeCmTCon_Qvo8eiozujTBfuoLD_3UsnP-qKj4o,7517
147
147
  teddy_executor/resources/config/prompts/assistant.md,sha256=GKlQ-JJ08zTcb-gWjuZtv2TDK8AqbIlEiS4Ov4r1J1A,2466
@@ -159,8 +159,8 @@ teddy_executor/resources/templates/milestone.md,sha256=PwHedgzqRQnKQq4M4GILmmv7Y
159
159
  teddy_executor/resources/templates/pre-commit.md,sha256=NqllfAw8Z0yvt51QJ6OBW18dccrJniLGibSylkatvRM,7684
160
160
  teddy_executor/resources/templates/specification-document.md,sha256=skYPZ7E0m2n2STEWOKCHeiuqNtsshYzI49rmsNSKAuA,671
161
161
  teddy_executor/resources/templates/vertical-slice.md,sha256=Cn8Y_rb6BZvy9bKBDNXhGfoSgMpsZbIBfyFQgrdx8Jg,5563
162
- teddy_cli-0.2.3.dev1535.dist-info/METADATA,sha256=yHuikeWa8HuU48N5l0Va9sOI83-4CYCVX_vw1UNG84E,33253
163
- teddy_cli-0.2.3.dev1535.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
164
- teddy_cli-0.2.3.dev1535.dist-info/entry_points.txt,sha256=3KaK1-CWsscLZeHduI6Jgime9aw_gfmdQZ7AUkA0QDg,54
165
- teddy_cli-0.2.3.dev1535.dist-info/licenses/LICENSE,sha256=HBL2C3ynq_mk-EYtJI7aXEc6gXnXgKJ-K6KZ13N0Ojs,35270
166
- teddy_cli-0.2.3.dev1535.dist-info/RECORD,,
162
+ teddy_cli-0.2.3.dev1537.dist-info/METADATA,sha256=SuxqSRgYvkEQYgNhJ9zhLgn_uGoEgiIzZglqr-y18zg,32472
163
+ teddy_cli-0.2.3.dev1537.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
164
+ teddy_cli-0.2.3.dev1537.dist-info/entry_points.txt,sha256=3KaK1-CWsscLZeHduI6Jgime9aw_gfmdQZ7AUkA0QDg,54
165
+ teddy_cli-0.2.3.dev1537.dist-info/licenses/LICENSE,sha256=HBL2C3ynq_mk-EYtJI7aXEc6gXnXgKJ-K6KZ13N0Ojs,35270
166
+ teddy_cli-0.2.3.dev1537.dist-info/RECORD,,
@@ -328,10 +328,12 @@ def resolve_effective_model(
328
328
  def _validate_agents_block(merged: Mapping[str, Any]) -> None:
329
329
  """Reject an unusable ``agents`` block at load time.
330
330
 
331
- A non-mapping block, a non-mapping persona entry, and two persona keys that
332
- differ only in case each raise a ``ConfigurationError`` naming the offending
333
- key. The duplicate case fails because case-insensitive matching would
334
- otherwise make the winning entry depend on YAML key order.
331
+ A non-mapping block, a non-empty non-mapping persona entry, and two persona
332
+ keys that differ only in case each raise a ``ConfigurationError`` naming the
333
+ offending key. An empty persona entry is accepted as a declared persona
334
+ without overrides, mirroring the tolerated empty block. The duplicate case
335
+ fails because case-insensitive matching would otherwise make the winning
336
+ entry depend on YAML key order.
335
337
  """
336
338
  if _AGENTS_GROUP not in merged:
337
339
  return
@@ -357,6 +359,9 @@ def _validate_agents_block(merged: Mapping[str, Any]) -> None:
357
359
  f"{persona!r} more than once when ignoring case. Keep one spelling."
358
360
  )
359
361
  seen.add(folded)
362
+ if entry is None:
363
+ # A bare persona key declares the persona with no overrides.
364
+ continue
360
365
  if not isinstance(entry, Mapping):
361
366
  raise ConfigurationError(
362
367
  f"Configuration key '{_AGENTS_GROUP}.{persona}' expected a mapping "
@@ -75,14 +75,17 @@ llm:
75
75
  # api_base: "http://localhost:8080/v1"
76
76
  # api_key: "dummy-key-custom-endpoints"
77
77
 
78
- # Per-persona LLM overrides (optional). Each entry layers over the global `llm`
79
- # block for that agent: the model resolves from --model, then agents.<persona>.model,
80
- # then llm.model, and any key the persona omits still falls back to the global block.
81
- # Matching is case-insensitive. --model replaces only the model key. The merge is
82
- # one level deep, so a mapping-valued key such as extra_headers replaces the global
83
- # value wholesale.
84
- # agents:
85
- # architect:
86
- # model: "anthropic/claude-sonnet-4-5"
87
- # pathfinder:
88
- # model: "openrouter/~deepseek/deepseek-flash-latest"
78
+ # Per-persona LLM overrides (optional).
79
+ agents:
80
+ architect:
81
+ # model: "provider/model-name"
82
+ assistant:
83
+ # model: "provider/model-name"
84
+ debugger:
85
+ # model: "provider/model-name"
86
+ developer:
87
+ # model: "provider/model-name"
88
+ pathfinder:
89
+ # model: "provider/model-name"
90
+ prototyper:
91
+ # model: "provider/model-name"