@hasna/todos 0.11.41 → 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 +37 -9
- package/dist/cli/commands/plan-template-commands.d.ts.map +1 -1
- package/dist/cli/commands/project-commands.d.ts.map +1 -1
- package/dist/cli/index.js +1331 -264
- package/dist/cli-mcp-parity.d.ts +1 -1
- package/dist/cli-mcp-parity.d.ts.map +1 -1
- package/dist/contracts.js +73 -6
- package/dist/db/builtin-templates.d.ts +17 -0
- package/dist/db/builtin-templates.d.ts.map +1 -1
- package/dist/db/migrations.d.ts.map +1 -1
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +785 -168
- package/dist/json-contracts.d.ts.map +1 -1
- package/dist/lib/local-bridge.d.ts +2 -0
- package/dist/lib/local-bridge.d.ts.map +1 -1
- package/dist/lib/saved-search-views.d.ts +60 -0
- package/dist/lib/saved-search-views.d.ts.map +1 -0
- package/dist/lib/todos-md.d.ts.map +1 -1
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +1485 -99
- package/dist/mcp/token-utils.d.ts.map +1 -1
- package/dist/mcp/tools/task-meta-tools.d.ts.map +1 -1
- package/dist/mcp/tools/task-project-tools.d.ts.map +1 -1
- package/dist/mcp/tools/templates.d.ts.map +1 -1
- package/dist/mcp.js +7 -1
- package/dist/registry.js +122 -8
- package/dist/release-provenance.json +3 -3
- package/dist/server/index.js +24 -0
- package/dist/storage.js +24 -0
- 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
|
|
|
@@ -385,6 +393,26 @@ for existing filters, and the metadata is included in local bridge exports.
|
|
|
385
393
|
MCP clients use `get_task_fields`, `set_task_fields`, and
|
|
386
394
|
`query_tasks_by_fields` for the same local-only workflow.
|
|
387
395
|
|
|
396
|
+
## Local Saved Search Views
|
|
397
|
+
|
|
398
|
+
Saved views are local SQLite records for repeatable task, project, plan, run,
|
|
399
|
+
comment, and cross-entity searches. They can filter by query text, project,
|
|
400
|
+
task list, plan, task, status, priority, assignee, agent, tags, local fields,
|
|
401
|
+
dependency direction, and time windows:
|
|
402
|
+
|
|
403
|
+
```bash
|
|
404
|
+
todos views save active-cli --query parser --status pending,in_progress --tag cli --field-area parser --json
|
|
405
|
+
todos views list --json
|
|
406
|
+
todos views run active-cli --json
|
|
407
|
+
todos search parser --scope all --limit 50 --json
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
View output is stable JSON with `{ view, scope, filters, count, results }`.
|
|
411
|
+
Local bridge exports include saved views, so explicit backups and machine moves
|
|
412
|
+
preserve the filters without any hosted service. MCP clients use
|
|
413
|
+
`save_search_view`, `list_search_views`, `run_search_view`, and
|
|
414
|
+
`delete_search_view`.
|
|
415
|
+
|
|
388
416
|
## Local Duplicate Detection
|
|
389
417
|
|
|
390
418
|
Agents can scan local tasks for likely duplicates from imported issue URLs,
|
|
@@ -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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/project-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"project-commands.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/project-commands.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAoFzC,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,QAuuBvD"}
|