teddy-cli 0.2.2.dev1445__py3-none-any.whl → 0.2.2.dev1447__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.
- {teddy_cli-0.2.2.dev1445.dist-info → teddy_cli-0.2.2.dev1447.dist-info}/METADATA +5 -2
- {teddy_cli-0.2.2.dev1445.dist-info → teddy_cli-0.2.2.dev1447.dist-info}/RECORD +6 -6
- teddy_executor/adapters/inbound/session_cli_handlers.py +15 -16
- {teddy_cli-0.2.2.dev1445.dist-info → teddy_cli-0.2.2.dev1447.dist-info}/WHEEL +0 -0
- {teddy_cli-0.2.2.dev1445.dist-info → teddy_cli-0.2.2.dev1447.dist-info}/entry_points.txt +0 -0
- {teddy_cli-0.2.2.dev1445.dist-info → teddy_cli-0.2.2.dev1447.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: teddy-cli
|
|
3
|
-
Version: 0.2.2.
|
|
3
|
+
Version: 0.2.2.dev1447
|
|
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
|
|
@@ -317,6 +317,9 @@ teddy context -c "README.md,pyproject.toml"
|
|
|
317
317
|
|
|
318
318
|
# Export only the chosen files and skip the default set
|
|
319
319
|
teddy context --only -c README.md
|
|
320
|
+
|
|
321
|
+
# Export the payload without any file contents
|
|
322
|
+
teddy context --only
|
|
320
323
|
```
|
|
321
324
|
|
|
322
325
|
A `-c` value resolves by kind. A directory expands recursively. A URL is fetched instead of resolved on disk. A file named `<name>.context` is treated as a manifest: the command reads one path per line, skips blank lines and `#` comments, and expands each entry. Any other file is embedded verbatim.
|
|
@@ -325,7 +328,7 @@ A `-c` value resolves by kind. A directory expands recursively. A URL is fetched
|
|
|
325
328
|
teddy context -c review.context
|
|
326
329
|
```
|
|
327
330
|
|
|
328
|
-
`--only`
|
|
331
|
+
`--only` skips the default set and the session scopes. With no `-c` value the explicit set is empty, so the payload carries system information, git status, and project structure but no `Resource Contents` section.
|
|
329
332
|
|
|
330
333
|
---
|
|
331
334
|
|
|
@@ -6,7 +6,7 @@ teddy_executor/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
|
6
6
|
teddy_executor/adapters/inbound/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
teddy_executor/adapters/inbound/cli_formatter.py,sha256=9bWL2S-3vZFBJZPd4RG2xTBYWu1Tim6U0AMGRjcUHB8,3548
|
|
8
8
|
teddy_executor/adapters/inbound/cli_helpers.py,sha256=tGq8Mo_FRY4I2jbbgqWmcd1HDXox-YDuBr1rZN1QBxc,9372
|
|
9
|
-
teddy_executor/adapters/inbound/session_cli_handlers.py,sha256=
|
|
9
|
+
teddy_executor/adapters/inbound/session_cli_handlers.py,sha256=dxTx3LlMpuuW0hALrZAiEMdbzVxu2UuwuU6JrNEFsJc,60091
|
|
10
10
|
teddy_executor/adapters/inbound/textual_plan_reviewer.py,sha256=22jginj9UNkQyueR0JUWTiQzpBxE9RZ3IG49okcKIq0,3383
|
|
11
11
|
teddy_executor/adapters/inbound/textual_plan_reviewer_app.py,sha256=pbiJp0fbVCXnzbnJPEuoYhZOF4TJrPLzSz86r2lkDvk,15026
|
|
12
12
|
teddy_executor/adapters/inbound/textual_plan_reviewer_editor.py,sha256=LbYlIXSoEc3PQ8o28O4lzybMBig9r0QKYFNKg90iso0,22235
|
|
@@ -158,8 +158,8 @@ teddy_executor/resources/templates/milestone.md,sha256=PwHedgzqRQnKQq4M4GILmmv7Y
|
|
|
158
158
|
teddy_executor/resources/templates/pre-commit.md,sha256=B6QBOCO0ng3CdIDw2we1MFsZb10wd13eN_dNheaBrzQ,7132
|
|
159
159
|
teddy_executor/resources/templates/specification-document.md,sha256=skYPZ7E0m2n2STEWOKCHeiuqNtsshYzI49rmsNSKAuA,671
|
|
160
160
|
teddy_executor/resources/templates/vertical-slice.md,sha256=fj5w8Lr9zn9fIFZDG-iHJ3ogi5cYGHMWWeXrEn0PE4M,5390
|
|
161
|
-
teddy_cli-0.2.2.
|
|
162
|
-
teddy_cli-0.2.2.
|
|
163
|
-
teddy_cli-0.2.2.
|
|
164
|
-
teddy_cli-0.2.2.
|
|
165
|
-
teddy_cli-0.2.2.
|
|
161
|
+
teddy_cli-0.2.2.dev1447.dist-info/METADATA,sha256=s-n1GL18fo7OBSefNE9eJDuNuXEF8qLb4qTSahmzibw,30321
|
|
162
|
+
teddy_cli-0.2.2.dev1447.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
163
|
+
teddy_cli-0.2.2.dev1447.dist-info/entry_points.txt,sha256=3KaK1-CWsscLZeHduI6Jgime9aw_gfmdQZ7AUkA0QDg,54
|
|
164
|
+
teddy_cli-0.2.2.dev1447.dist-info/licenses/LICENSE,sha256=HBL2C3ynq_mk-EYtJI7aXEc6gXnXgKJ-K6KZ13N0Ojs,35270
|
|
165
|
+
teddy_cli-0.2.2.dev1447.dist-info/RECORD,,
|
|
@@ -1417,23 +1417,22 @@ def handle_context_gathering(
|
|
|
1417
1417
|
context_service: IGetContextUseCase = container.resolve(IGetContextUseCase)
|
|
1418
1418
|
context_files = detect_session_context()
|
|
1419
1419
|
|
|
1420
|
-
if only
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1420
|
+
if only:
|
|
1421
|
+
# An explicit-only run drops the default and session sets. With no -c
|
|
1422
|
+
# the explicit scope stays empty, so the payload carries no Resource
|
|
1423
|
+
# Contents section instead of falling back to the defaults.
|
|
1424
|
+
context_files = {"Explicit": list(additional_context or [])}
|
|
1425
|
+
elif additional_context:
|
|
1424
1426
|
explicit_scope = {"Explicit": list(additional_context)}
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
)
|
|
1435
|
-
scopes.update(explicit_scope)
|
|
1436
|
-
context_files = scopes
|
|
1427
|
+
# Outside a session no scope map exists, so the defaults are
|
|
1428
|
+
# resolved here: the service globs only when the map is falsy.
|
|
1429
|
+
scopes = (
|
|
1430
|
+
dict(context_files)
|
|
1431
|
+
if context_files
|
|
1432
|
+
else {"Default": _default_context_paths(container)}
|
|
1433
|
+
)
|
|
1434
|
+
scopes.update(explicit_scope)
|
|
1435
|
+
context_files = scopes
|
|
1437
1436
|
|
|
1438
1437
|
# Performance: Formatting context for Markdown doesn't use tokens, so we skip them.
|
|
1439
1438
|
context_result = context_service.get_context(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|