@hasna/todos 0.11.42 → 0.11.43
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.
- package/README.md +17 -9
- package/dist/cli/commands/plan-template-commands.d.ts.map +1 -1
- package/dist/cli/index.js +587 -120
- package/dist/cli-mcp-parity.d.ts +1 -1
- package/dist/cli-mcp-parity.d.ts.map +1 -1
- package/dist/db/builtin-templates.d.ts +17 -0
- package/dist/db/builtin-templates.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +266 -65
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +941 -3
- package/dist/mcp/token-utils.d.ts.map +1 -1
- package/dist/mcp/tools/templates.d.ts.map +1 -1
- package/dist/mcp.js +3 -1
- package/dist/registry.js +36 -1
- package/dist/release-provenance.json +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -246,11 +246,15 @@ MCP clients get the same local coordination through `claim_next_task`,
|
|
|
246
246
|
|
|
247
247
|
## Local Plan Templates
|
|
248
248
|
|
|
249
|
-
Reusable plan templates
|
|
250
|
-
|
|
251
|
-
and
|
|
249
|
+
Reusable plan templates live in the local SQLite database. The package also
|
|
250
|
+
ships a marketplace-free local library for bug fixes, feature implementation,
|
|
251
|
+
security review, releases, migrations, incidents, docs refreshes, QA, and open
|
|
252
|
+
source package bootstraps. Templates can create one task or a full ordered plan
|
|
253
|
+
with dependencies, variables, priorities, tags, and descriptions:
|
|
252
254
|
|
|
253
255
|
```bash
|
|
256
|
+
todos template-library --json
|
|
257
|
+
todos template-library --write .todos/templates
|
|
254
258
|
todos template-init
|
|
255
259
|
todos template-preview <template-id> --var name=api
|
|
256
260
|
todos templates --use <template-id> --var name=api
|
|
@@ -258,12 +262,16 @@ todos template-export <template-id> > plan-template.json
|
|
|
258
262
|
todos template-import plan-template.json
|
|
259
263
|
```
|
|
260
264
|
|
|
261
|
-
`todos
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
`
|
|
266
|
-
`
|
|
265
|
+
`todos template-library --write` writes editable JSON files that use the same
|
|
266
|
+
shape as `todos template-import`, so teams can fork a built-in workflow without
|
|
267
|
+
contacting any hosted marketplace. `todos templates --use` creates every task in
|
|
268
|
+
a multi-task template and wires its local dependency graph, so agents can
|
|
269
|
+
immediately run `todos ready`, `todos blocked`, or
|
|
270
|
+
`todos deps <task-id> --graph` against the generated plan. The same local-only
|
|
271
|
+
workflow is available to MCP clients through `list_template_library`,
|
|
272
|
+
`write_template_library`, `init_templates`, `create_template`, `list_templates`,
|
|
273
|
+
`create_task_from_template`, `preview_template`, `export_template`, and
|
|
274
|
+
`import_template`.
|
|
267
275
|
|
|
268
276
|
## Local Git Traceability
|
|
269
277
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan-template-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/plan-template-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAazC,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"plan-template-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/plan-template-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAazC,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,OAAO,QAka5D"}
|