@kynetic-ai/spec 0.1.2 → 0.4.0
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 +250 -17
- package/dist/acp/client.d.ts +18 -4
- package/dist/acp/client.d.ts.map +1 -1
- package/dist/acp/client.js +44 -26
- package/dist/acp/client.js.map +1 -1
- package/dist/acp/framing.d.ts +2 -2
- package/dist/acp/framing.d.ts.map +1 -1
- package/dist/acp/framing.js +37 -29
- package/dist/acp/framing.js.map +1 -1
- package/dist/acp/index.d.ts +6 -7
- package/dist/acp/index.d.ts.map +1 -1
- package/dist/acp/index.js +3 -3
- package/dist/acp/index.js.map +1 -1
- package/dist/acp/types.d.ts +5 -5
- package/dist/acp/types.d.ts.map +1 -1
- package/dist/acp/types.js +18 -18
- package/dist/acp/types.js.map +1 -1
- package/dist/agents/adapters.d.ts.map +1 -1
- package/dist/agents/adapters.js +24 -13
- package/dist/agents/adapters.js.map +1 -1
- package/dist/agents/index.d.ts +2 -2
- package/dist/agents/index.js +2 -2
- package/dist/agents/spawner.d.ts +4 -4
- package/dist/agents/spawner.d.ts.map +1 -1
- package/dist/agents/spawner.js +6 -6
- package/dist/agents/spawner.js.map +1 -1
- package/dist/cli/batch-context.d.ts +43 -0
- package/dist/cli/batch-context.d.ts.map +1 -0
- package/dist/cli/batch-context.js +93 -0
- package/dist/cli/batch-context.js.map +1 -0
- package/dist/cli/batch-exec.d.ts +107 -0
- package/dist/cli/batch-exec.d.ts.map +1 -0
- package/dist/cli/batch-exec.js +706 -0
- package/dist/cli/batch-exec.js.map +1 -0
- package/dist/cli/batch.d.ts +4 -2
- package/dist/cli/batch.d.ts.map +1 -1
- package/dist/cli/batch.js +15 -14
- package/dist/cli/batch.js.map +1 -1
- package/dist/cli/command-annotations.d.ts +23 -0
- package/dist/cli/command-annotations.d.ts.map +1 -0
- package/dist/cli/command-annotations.js +27 -0
- package/dist/cli/command-annotations.js.map +1 -0
- package/dist/cli/commands/agents.d.ts +46 -0
- package/dist/cli/commands/agents.d.ts.map +1 -0
- package/dist/cli/commands/agents.js +377 -0
- package/dist/cli/commands/agents.js.map +1 -0
- package/dist/cli/commands/batch.d.ts +20 -0
- package/dist/cli/commands/batch.d.ts.map +1 -0
- package/dist/cli/commands/batch.js +214 -0
- package/dist/cli/commands/batch.js.map +1 -0
- package/dist/cli/commands/clone-for-testing.d.ts +1 -1
- package/dist/cli/commands/clone-for-testing.d.ts.map +1 -1
- package/dist/cli/commands/clone-for-testing.js +37 -47
- package/dist/cli/commands/clone-for-testing.js.map +1 -1
- package/dist/cli/commands/derive.d.ts +1 -1
- package/dist/cli/commands/derive.d.ts.map +1 -1
- package/dist/cli/commands/derive.js +141 -88
- package/dist/cli/commands/derive.js.map +1 -1
- package/dist/cli/commands/doctor.d.ts +11 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +152 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/export.d.ts +12 -0
- package/dist/cli/commands/export.d.ts.map +1 -0
- package/dist/cli/commands/export.js +134 -0
- package/dist/cli/commands/export.js.map +1 -0
- package/dist/cli/commands/help.d.ts +1 -1
- package/dist/cli/commands/help.d.ts.map +1 -1
- package/dist/cli/commands/help.js +163 -37
- package/dist/cli/commands/help.js.map +1 -1
- package/dist/cli/commands/inbox.d.ts +1 -1
- package/dist/cli/commands/inbox.d.ts.map +1 -1
- package/dist/cli/commands/inbox.js +178 -56
- package/dist/cli/commands/inbox.js.map +1 -1
- package/dist/cli/commands/index.d.ts +31 -19
- package/dist/cli/commands/index.d.ts.map +1 -1
- package/dist/cli/commands/index.js +31 -19
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/init.d.ts +5 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +108 -57
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/item.d.ts +1 -1
- package/dist/cli/commands/item.d.ts.map +1 -1
- package/dist/cli/commands/item.js +557 -274
- package/dist/cli/commands/item.js.map +1 -1
- package/dist/cli/commands/link.d.ts +1 -1
- package/dist/cli/commands/link.d.ts.map +1 -1
- package/dist/cli/commands/link.js +55 -46
- package/dist/cli/commands/link.js.map +1 -1
- package/dist/cli/commands/log.d.ts +1 -1
- package/dist/cli/commands/log.d.ts.map +1 -1
- package/dist/cli/commands/log.js +58 -51
- package/dist/cli/commands/log.js.map +1 -1
- package/dist/cli/commands/merge-driver.d.ts +19 -0
- package/dist/cli/commands/merge-driver.d.ts.map +1 -0
- package/dist/cli/commands/merge-driver.js +398 -0
- package/dist/cli/commands/merge-driver.js.map +1 -0
- package/dist/cli/commands/meta.d.ts +1 -1
- package/dist/cli/commands/meta.d.ts.map +1 -1
- package/dist/cli/commands/meta.js +534 -399
- package/dist/cli/commands/meta.js.map +1 -1
- package/dist/cli/commands/module.d.ts +1 -1
- package/dist/cli/commands/module.d.ts.map +1 -1
- package/dist/cli/commands/module.js +30 -25
- package/dist/cli/commands/module.js.map +1 -1
- package/dist/cli/commands/plan-import.d.ts +11 -0
- package/dist/cli/commands/plan-import.d.ts.map +1 -0
- package/dist/cli/commands/plan-import.js +547 -0
- package/dist/cli/commands/plan-import.js.map +1 -0
- package/dist/cli/commands/plan.d.ts +10 -0
- package/dist/cli/commands/plan.d.ts.map +1 -0
- package/dist/cli/commands/plan.js +421 -0
- package/dist/cli/commands/plan.js.map +1 -0
- package/dist/cli/commands/ralph.d.ts +1 -1
- package/dist/cli/commands/ralph.d.ts.map +1 -1
- package/dist/cli/commands/ralph.js +1109 -170
- package/dist/cli/commands/ralph.js.map +1 -1
- package/dist/cli/commands/refs.d.ts +13 -0
- package/dist/cli/commands/refs.d.ts.map +1 -0
- package/dist/cli/commands/refs.js +283 -0
- package/dist/cli/commands/refs.js.map +1 -0
- package/dist/cli/commands/search.d.ts +1 -1
- package/dist/cli/commands/search.d.ts.map +1 -1
- package/dist/cli/commands/search.js +199 -37
- package/dist/cli/commands/search.js.map +1 -1
- package/dist/cli/commands/serve.d.ts +10 -0
- package/dist/cli/commands/serve.d.ts.map +1 -0
- package/dist/cli/commands/serve.js +491 -0
- package/dist/cli/commands/serve.js.map +1 -0
- package/dist/cli/commands/session.d.ts +25 -6
- package/dist/cli/commands/session.d.ts.map +1 -1
- package/dist/cli/commands/session.js +810 -127
- package/dist/cli/commands/session.js.map +1 -1
- package/dist/cli/commands/setup-seeding.d.ts +81 -0
- package/dist/cli/commands/setup-seeding.d.ts.map +1 -0
- package/dist/cli/commands/setup-seeding.js +292 -0
- package/dist/cli/commands/setup-seeding.js.map +1 -0
- package/dist/cli/commands/setup.d.ts +77 -3
- package/dist/cli/commands/setup.d.ts.map +1 -1
- package/dist/cli/commands/setup.js +1267 -274
- package/dist/cli/commands/setup.js.map +1 -1
- package/dist/cli/commands/shadow.d.ts +1 -1
- package/dist/cli/commands/shadow.d.ts.map +1 -1
- package/dist/cli/commands/shadow.js +70 -50
- package/dist/cli/commands/shadow.js.map +1 -1
- package/dist/cli/commands/skill-crud.d.ts +58 -0
- package/dist/cli/commands/skill-crud.d.ts.map +1 -0
- package/dist/cli/commands/skill-crud.js +753 -0
- package/dist/cli/commands/skill-crud.js.map +1 -0
- package/dist/cli/commands/skill-diff.d.ts +27 -0
- package/dist/cli/commands/skill-diff.d.ts.map +1 -0
- package/dist/cli/commands/skill-diff.js +840 -0
- package/dist/cli/commands/skill-diff.js.map +1 -0
- package/dist/cli/commands/skill-install.d.ts +56 -0
- package/dist/cli/commands/skill-install.d.ts.map +1 -0
- package/dist/cli/commands/skill-install.js +509 -0
- package/dist/cli/commands/skill-install.js.map +1 -0
- package/dist/cli/commands/skill.d.ts +20 -0
- package/dist/cli/commands/skill.d.ts.map +1 -0
- package/dist/cli/commands/skill.js +36 -0
- package/dist/cli/commands/skill.js.map +1 -0
- package/dist/cli/commands/task.d.ts +1 -1
- package/dist/cli/commands/task.d.ts.map +1 -1
- package/dist/cli/commands/task.js +584 -350
- package/dist/cli/commands/task.js.map +1 -1
- package/dist/cli/commands/tasks.d.ts +26 -1
- package/dist/cli/commands/tasks.d.ts.map +1 -1
- package/dist/cli/commands/tasks.js +225 -122
- package/dist/cli/commands/tasks.js.map +1 -1
- package/dist/cli/commands/trait.d.ts +1 -1
- package/dist/cli/commands/trait.d.ts.map +1 -1
- package/dist/cli/commands/trait.js +166 -101
- package/dist/cli/commands/trait.js.map +1 -1
- package/dist/cli/commands/triage.d.ts +7 -0
- package/dist/cli/commands/triage.d.ts.map +1 -0
- package/dist/cli/commands/triage.js +483 -0
- package/dist/cli/commands/triage.js.map +1 -0
- package/dist/cli/commands/util.d.ts +7 -0
- package/dist/cli/commands/util.d.ts.map +1 -0
- package/dist/cli/commands/util.js +30 -0
- package/dist/cli/commands/util.js.map +1 -0
- package/dist/cli/commands/validate.d.ts +1 -1
- package/dist/cli/commands/validate.d.ts.map +1 -1
- package/dist/cli/commands/validate.js +264 -83
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/commands/workflow.d.ts +16 -0
- package/dist/cli/commands/workflow.d.ts.map +1 -0
- package/dist/cli/commands/workflow.js +851 -0
- package/dist/cli/commands/workflow.js.map +1 -0
- package/dist/cli/exit-codes.d.ts +7 -0
- package/dist/cli/exit-codes.d.ts.map +1 -1
- package/dist/cli/exit-codes.js +26 -18
- package/dist/cli/exit-codes.js.map +1 -1
- package/dist/cli/help/content.d.ts.map +1 -1
- package/dist/cli/help/content.js +86 -71
- package/dist/cli/help/content.js.map +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +131 -19
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/introspection.d.ts +6 -2
- package/dist/cli/introspection.d.ts.map +1 -1
- package/dist/cli/introspection.js +11 -8
- package/dist/cli/introspection.js.map +1 -1
- package/dist/cli/output.d.ts +64 -4
- package/dist/cli/output.d.ts.map +1 -1
- package/dist/cli/output.js +237 -85
- package/dist/cli/output.js.map +1 -1
- package/dist/cli/parse-utils.d.ts +21 -0
- package/dist/cli/parse-utils.d.ts.map +1 -0
- package/dist/cli/parse-utils.js +32 -0
- package/dist/cli/parse-utils.js.map +1 -0
- package/dist/cli/pid-utils.d.ts +72 -0
- package/dist/cli/pid-utils.d.ts.map +1 -0
- package/dist/cli/pid-utils.js +174 -0
- package/dist/cli/pid-utils.js.map +1 -0
- package/dist/cli/suggest.d.ts.map +1 -1
- package/dist/cli/suggest.js +1 -2
- package/dist/cli/suggest.js.map +1 -1
- package/dist/cli/validators.d.ts +43 -0
- package/dist/cli/validators.d.ts.map +1 -0
- package/dist/cli/validators.js +84 -0
- package/dist/cli/validators.js.map +1 -0
- package/dist/daemon/index.ts +52 -0
- package/dist/daemon/middleware/project-context.ts +126 -0
- package/dist/daemon/pid.ts +179 -0
- package/dist/daemon/project-context.ts +343 -0
- package/dist/daemon/routes/inbox.ts +164 -0
- package/dist/daemon/routes/items.ts +322 -0
- package/dist/daemon/routes/meta.ts +118 -0
- package/dist/daemon/routes/projects.ts +162 -0
- package/dist/daemon/routes/tasks.ts +327 -0
- package/dist/daemon/routes/triage.ts +402 -0
- package/dist/daemon/routes/validation.ts +248 -0
- package/dist/daemon/server.ts +408 -0
- package/dist/daemon/watcher.ts +195 -0
- package/dist/daemon/websocket/handler.ts +138 -0
- package/dist/daemon/websocket/heartbeat.ts +71 -0
- package/dist/daemon/websocket/pubsub.ts +125 -0
- package/dist/daemon/websocket/types.ts +66 -0
- package/dist/export/html.d.ts +19 -0
- package/dist/export/html.d.ts.map +1 -0
- package/dist/export/html.js +239 -0
- package/dist/export/html.js.map +1 -0
- package/dist/export/index.d.ts +10 -0
- package/dist/export/index.d.ts.map +1 -0
- package/dist/export/index.js +10 -0
- package/dist/export/index.js.map +1 -0
- package/dist/export/json.d.ts +24 -0
- package/dist/export/json.d.ts.map +1 -0
- package/dist/export/json.js +198 -0
- package/dist/export/json.js.map +1 -0
- package/dist/export/triage.d.ts +51 -0
- package/dist/export/triage.d.ts.map +1 -0
- package/dist/export/triage.js +83 -0
- package/dist/export/triage.js.map +1 -0
- package/dist/export/types.d.ts +122 -0
- package/dist/export/types.d.ts.map +1 -0
- package/dist/export/types.js +9 -0
- package/dist/export/types.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/lib/claude-plugin-registry.d.ts +66 -0
- package/dist/lib/claude-plugin-registry.d.ts.map +1 -0
- package/dist/lib/claude-plugin-registry.js +318 -0
- package/dist/lib/claude-plugin-registry.js.map +1 -0
- package/dist/merge/arrays.d.ts +87 -0
- package/dist/merge/arrays.d.ts.map +1 -0
- package/dist/merge/arrays.js +164 -0
- package/dist/merge/arrays.js.map +1 -0
- package/dist/merge/file-type.d.ts +32 -0
- package/dist/merge/file-type.d.ts.map +1 -0
- package/dist/merge/file-type.js +70 -0
- package/dist/merge/file-type.js.map +1 -0
- package/dist/merge/index.d.ts +14 -0
- package/dist/merge/index.d.ts.map +1 -0
- package/dist/merge/index.js +11 -0
- package/dist/merge/index.js.map +1 -0
- package/dist/merge/objects.d.ts +46 -0
- package/dist/merge/objects.d.ts.map +1 -0
- package/dist/merge/objects.js +193 -0
- package/dist/merge/objects.js.map +1 -0
- package/dist/merge/parse.d.ts +23 -0
- package/dist/merge/parse.d.ts.map +1 -0
- package/dist/merge/parse.js +78 -0
- package/dist/merge/parse.js.map +1 -0
- package/dist/merge/resolve.d.ts +66 -0
- package/dist/merge/resolve.d.ts.map +1 -0
- package/dist/merge/resolve.js +189 -0
- package/dist/merge/resolve.js.map +1 -0
- package/dist/merge/types.d.ts +82 -0
- package/dist/merge/types.d.ts.map +1 -0
- package/dist/merge/types.js +8 -0
- package/dist/merge/types.js.map +1 -0
- package/dist/parser/agent-data-sections.d.ts +53 -0
- package/dist/parser/agent-data-sections.d.ts.map +1 -0
- package/dist/parser/agent-data-sections.js +118 -0
- package/dist/parser/agent-data-sections.js.map +1 -0
- package/dist/parser/alignment.d.ts +4 -4
- package/dist/parser/alignment.d.ts.map +1 -1
- package/dist/parser/alignment.js +27 -22
- package/dist/parser/alignment.js.map +1 -1
- package/dist/parser/assess.d.ts +5 -5
- package/dist/parser/assess.d.ts.map +1 -1
- package/dist/parser/assess.js +36 -32
- package/dist/parser/assess.js.map +1 -1
- package/dist/parser/config.d.ts +457 -0
- package/dist/parser/config.d.ts.map +1 -0
- package/dist/parser/config.js +373 -0
- package/dist/parser/config.js.map +1 -0
- package/dist/parser/convention-validation.d.ts +1 -1
- package/dist/parser/convention-validation.d.ts.map +1 -1
- package/dist/parser/convention-validation.js +21 -16
- package/dist/parser/convention-validation.js.map +1 -1
- package/dist/parser/coverage-cache.d.ts +49 -0
- package/dist/parser/coverage-cache.d.ts.map +1 -0
- package/dist/parser/coverage-cache.js +123 -0
- package/dist/parser/coverage-cache.js.map +1 -0
- package/dist/parser/daemon-status.d.ts +37 -0
- package/dist/parser/daemon-status.d.ts.map +1 -0
- package/dist/parser/daemon-status.js +67 -0
- package/dist/parser/daemon-status.js.map +1 -0
- package/dist/parser/doctor.d.ts +107 -0
- package/dist/parser/doctor.d.ts.map +1 -0
- package/dist/parser/doctor.js +366 -0
- package/dist/parser/doctor.js.map +1 -0
- package/dist/parser/fix.d.ts +1 -1
- package/dist/parser/fix.d.ts.map +1 -1
- package/dist/parser/fix.js +31 -27
- package/dist/parser/fix.js.map +1 -1
- package/dist/parser/index.d.ts +16 -11
- package/dist/parser/index.d.ts.map +1 -1
- package/dist/parser/index.js +16 -11
- package/dist/parser/index.js.map +1 -1
- package/dist/parser/items.d.ts +8 -2
- package/dist/parser/items.d.ts.map +1 -1
- package/dist/parser/items.js +71 -35
- package/dist/parser/items.js.map +1 -1
- package/dist/parser/meta.d.ts +167 -9
- package/dist/parser/meta.d.ts.map +1 -1
- package/dist/parser/meta.js +379 -46
- package/dist/parser/meta.js.map +1 -1
- package/dist/parser/plan-document.d.ts +197 -0
- package/dist/parser/plan-document.d.ts.map +1 -0
- package/dist/parser/plan-document.js +341 -0
- package/dist/parser/plan-document.js.map +1 -0
- package/dist/parser/plans.d.ts +59 -0
- package/dist/parser/plans.d.ts.map +1 -0
- package/dist/parser/plans.js +239 -0
- package/dist/parser/plans.js.map +1 -0
- package/dist/parser/refs.d.ts +22 -9
- package/dist/parser/refs.d.ts.map +1 -1
- package/dist/parser/refs.js +102 -50
- package/dist/parser/refs.js.map +1 -1
- package/dist/parser/setup-status.d.ts +71 -0
- package/dist/parser/setup-status.d.ts.map +1 -0
- package/dist/parser/setup-status.js +269 -0
- package/dist/parser/setup-status.js.map +1 -0
- package/dist/parser/shadow.d.ts +150 -19
- package/dist/parser/shadow.d.ts.map +1 -1
- package/dist/parser/shadow.js +548 -187
- package/dist/parser/shadow.js.map +1 -1
- package/dist/parser/skill-render.d.ts +317 -0
- package/dist/parser/skill-render.d.ts.map +1 -0
- package/dist/parser/skill-render.js +943 -0
- package/dist/parser/skill-render.js.map +1 -0
- package/dist/parser/traits.d.ts +3 -3
- package/dist/parser/traits.d.ts.map +1 -1
- package/dist/parser/traits.js +2 -2
- package/dist/parser/traits.js.map +1 -1
- package/dist/parser/validate-skills.d.ts +32 -0
- package/dist/parser/validate-skills.d.ts.map +1 -0
- package/dist/parser/validate-skills.js +202 -0
- package/dist/parser/validate-skills.js.map +1 -0
- package/dist/parser/validate.d.ts +45 -3
- package/dist/parser/validate.d.ts.map +1 -1
- package/dist/parser/validate.js +622 -105
- package/dist/parser/validate.js.map +1 -1
- package/dist/parser/yaml.d.ts +83 -19
- package/dist/parser/yaml.d.ts.map +1 -1
- package/dist/parser/yaml.js +478 -173
- package/dist/parser/yaml.js.map +1 -1
- package/dist/ralph/cli-renderer.d.ts +8 -1
- package/dist/ralph/cli-renderer.d.ts.map +1 -1
- package/dist/ralph/cli-renderer.js +105 -34
- package/dist/ralph/cli-renderer.js.map +1 -1
- package/dist/ralph/events.d.ts +10 -10
- package/dist/ralph/events.d.ts.map +1 -1
- package/dist/ralph/events.js +301 -98
- package/dist/ralph/events.js.map +1 -1
- package/dist/ralph/index.d.ts +5 -2
- package/dist/ralph/index.d.ts.map +1 -1
- package/dist/ralph/index.js +9 -3
- package/dist/ralph/index.js.map +1 -1
- package/dist/ralph/loop-errors.d.ts +83 -0
- package/dist/ralph/loop-errors.d.ts.map +1 -0
- package/dist/ralph/loop-errors.js +150 -0
- package/dist/ralph/loop-errors.js.map +1 -0
- package/dist/ralph/subagent.d.ts +94 -0
- package/dist/ralph/subagent.d.ts.map +1 -0
- package/dist/ralph/subagent.js +193 -0
- package/dist/ralph/subagent.js.map +1 -0
- package/dist/ralph/wrap-up.d.ts +125 -0
- package/dist/ralph/wrap-up.d.ts.map +1 -0
- package/dist/ralph/wrap-up.js +270 -0
- package/dist/ralph/wrap-up.js.map +1 -0
- package/dist/schema/batch.d.ts +97 -0
- package/dist/schema/batch.d.ts.map +1 -0
- package/dist/schema/batch.js +24 -0
- package/dist/schema/batch.js.map +1 -0
- package/dist/schema/common.d.ts +8 -2
- package/dist/schema/common.d.ts.map +1 -1
- package/dist/schema/common.js +42 -31
- package/dist/schema/common.js.map +1 -1
- package/dist/schema/inbox.d.ts +12 -12
- package/dist/schema/inbox.js +4 -4
- package/dist/schema/inbox.js.map +1 -1
- package/dist/schema/index.d.ts +8 -5
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +8 -5
- package/dist/schema/index.js.map +1 -1
- package/dist/schema/meta.d.ts +1454 -27
- package/dist/schema/meta.d.ts.map +1 -1
- package/dist/schema/meta.js +198 -21
- package/dist/schema/meta.js.map +1 -1
- package/dist/schema/plan.d.ts +285 -0
- package/dist/schema/plan.d.ts.map +1 -0
- package/dist/schema/plan.js +81 -0
- package/dist/schema/plan.js.map +1 -0
- package/dist/schema/spec.d.ts +72 -33
- package/dist/schema/spec.d.ts.map +1 -1
- package/dist/schema/spec.js +22 -9
- package/dist/schema/spec.js.map +1 -1
- package/dist/schema/task.d.ts +172 -161
- package/dist/schema/task.d.ts.map +1 -1
- package/dist/schema/task.js +21 -12
- package/dist/schema/task.js.map +1 -1
- package/dist/schema/triage.d.ts +266 -0
- package/dist/schema/triage.d.ts.map +1 -0
- package/dist/schema/triage.js +134 -0
- package/dist/schema/triage.js.map +1 -0
- package/dist/sessions/index.d.ts +2 -2
- package/dist/sessions/index.d.ts.map +1 -1
- package/dist/sessions/index.js +3 -3
- package/dist/sessions/index.js.map +1 -1
- package/dist/sessions/store.d.ts +241 -1
- package/dist/sessions/store.d.ts.map +1 -1
- package/dist/sessions/store.js +810 -31
- package/dist/sessions/store.js.map +1 -1
- package/dist/sessions/types.d.ts +10 -10
- package/dist/sessions/types.d.ts.map +1 -1
- package/dist/sessions/types.js +10 -9
- package/dist/sessions/types.js.map +1 -1
- package/dist/strings/errors.d.ts +55 -0
- package/dist/strings/errors.d.ts.map +1 -1
- package/dist/strings/errors.js +138 -106
- package/dist/strings/errors.js.map +1 -1
- package/dist/strings/guidance.d.ts.map +1 -1
- package/dist/strings/guidance.js +16 -16
- package/dist/strings/guidance.js.map +1 -1
- package/dist/strings/index.d.ts +4 -4
- package/dist/strings/index.d.ts.map +1 -1
- package/dist/strings/index.js +4 -4
- package/dist/strings/index.js.map +1 -1
- package/dist/strings/labels.d.ts +4 -0
- package/dist/strings/labels.d.ts.map +1 -1
- package/dist/strings/labels.js +45 -41
- package/dist/strings/labels.js.map +1 -1
- package/dist/strings/validation.d.ts.map +1 -1
- package/dist/strings/validation.js +71 -71
- package/dist/strings/validation.js.map +1 -1
- package/dist/triage/actions.d.ts +27 -0
- package/dist/triage/actions.d.ts.map +1 -0
- package/dist/triage/actions.js +95 -0
- package/dist/triage/actions.js.map +1 -0
- package/dist/triage/constants.d.ts +6 -0
- package/dist/triage/constants.d.ts.map +1 -0
- package/dist/triage/constants.js +7 -0
- package/dist/triage/constants.js.map +1 -0
- package/dist/triage/index.d.ts +3 -0
- package/dist/triage/index.d.ts.map +1 -0
- package/dist/triage/index.js +3 -0
- package/dist/triage/index.js.map +1 -0
- package/dist/utils/commit.d.ts +1 -1
- package/dist/utils/commit.d.ts.map +1 -1
- package/dist/utils/commit.js +28 -26
- package/dist/utils/commit.js.map +1 -1
- package/dist/utils/git.d.ts +1 -1
- package/dist/utils/git.d.ts.map +1 -1
- package/dist/utils/git.js +40 -38
- package/dist/utils/git.js.map +1 -1
- package/dist/utils/grep.js +11 -11
- package/dist/utils/grep.js.map +1 -1
- package/dist/utils/index.d.ts +7 -7
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +4 -4
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/time.d.ts.map +1 -1
- package/dist/utils/time.js +10 -10
- package/dist/utils/time.js.map +1 -1
- package/package.json +28 -5
- package/plugin/.claude-plugin/marketplace.json +17 -0
- package/plugin/.claude-plugin/plugin.json +5 -0
- package/plugin/plugins/kspec/skills/create-workflow/SKILL.md +235 -0
- package/plugin/plugins/kspec/skills/help/SKILL.md +42 -0
- package/plugin/plugins/kspec/skills/observations/SKILL.md +143 -0
- package/plugin/plugins/kspec/skills/plan/SKILL.md +343 -0
- package/plugin/plugins/kspec/skills/reflect/SKILL.md +161 -0
- package/plugin/plugins/kspec/skills/review/SKILL.md +193 -0
- package/plugin/plugins/kspec/skills/task-work/SKILL.md +303 -0
- package/plugin/plugins/kspec/skills/triage/SKILL.md +206 -0
- package/plugin/plugins/kspec/skills/triage/docs/automation.md +120 -0
- package/plugin/plugins/kspec/skills/triage/docs/inbox.md +144 -0
- package/plugin/plugins/kspec/skills/triage/docs/observations.md +85 -0
- package/plugin/plugins/kspec/skills/triage-automation/SKILL.md +140 -0
- package/plugin/plugins/kspec/skills/triage-inbox/SKILL.md +232 -0
- package/plugin/plugins/kspec/skills/writing-specs/SKILL.md +340 -0
- package/templates/agents-sections/01-quick-start.md +22 -0
- package/templates/agents-sections/02-shadow-branch.md +34 -0
- package/templates/agents-sections/03-task-lifecycle.md +48 -0
- package/templates/agents-sections/04-pr-workflow.md +17 -0
- package/templates/agents-sections/05-commit-convention.md +27 -0
- package/templates/agents-sections/06-ralph-loop.md +45 -0
- package/templates/hooks/pre-commit +34 -0
- package/templates/skills/create-workflow/SKILL.md +228 -0
- package/templates/skills/help/SKILL.md +37 -0
- package/templates/skills/manifest.yaml +60 -0
- package/templates/skills/observations/SKILL.md +137 -0
- package/templates/skills/plan/SKILL.md +336 -0
- package/templates/skills/reflect/SKILL.md +155 -0
- package/templates/skills/review/SKILL.md +186 -0
- package/templates/skills/task-work/SKILL.md +296 -0
- package/templates/skills/triage/SKILL.md +199 -0
- package/templates/skills/triage/docs/automation.md +120 -0
- package/templates/skills/triage/docs/inbox.md +144 -0
- package/templates/skills/triage/docs/observations.md +85 -0
- package/templates/skills/triage-automation/SKILL.md +134 -0
- package/templates/skills/triage-inbox/SKILL.md +225 -0
- package/templates/skills/writing-specs/SKILL.md +333 -0
package/dist/schema/task.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
/**
|
|
3
3
|
* Automation eligibility status for tasks
|
|
4
4
|
* AC: @task-automation-eligibility ac-1
|
|
@@ -42,21 +42,21 @@ export declare const TodoSchema: z.ZodObject<{
|
|
|
42
42
|
added_by: z.ZodOptional<z.ZodString>;
|
|
43
43
|
promoted_to: z.ZodOptional<z.ZodString>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
id: number;
|
|
46
45
|
text: string;
|
|
46
|
+
id: number;
|
|
47
47
|
done: boolean;
|
|
48
48
|
added_at: string;
|
|
49
|
-
done_at?: string | undefined;
|
|
50
49
|
added_by?: string | undefined;
|
|
51
50
|
promoted_to?: string | undefined;
|
|
51
|
+
done_at?: string | undefined;
|
|
52
52
|
}, {
|
|
53
|
-
id: number;
|
|
54
53
|
text: string;
|
|
54
|
+
id: number;
|
|
55
55
|
added_at: string;
|
|
56
|
-
done?: boolean | undefined;
|
|
57
|
-
done_at?: string | undefined;
|
|
58
56
|
added_by?: string | undefined;
|
|
59
57
|
promoted_to?: string | undefined;
|
|
58
|
+
done?: boolean | undefined;
|
|
59
|
+
done_at?: string | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
/**
|
|
62
62
|
* Full task schema
|
|
@@ -71,8 +71,9 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
71
71
|
spec_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
72
|
derivation: z.ZodOptional<z.ZodEnum<["auto", "manual"]>>;
|
|
73
73
|
meta_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
plan_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
75
|
origin: z.ZodOptional<z.ZodEnum<["manual", "derived", "observation_promotion"]>>;
|
|
75
|
-
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "pending_review", "blocked", "completed", "cancelled"]>>;
|
|
76
|
+
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "pending_review", "needs_work", "blocked", "completed", "cancelled"]>>;
|
|
76
77
|
blocked_by: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
77
78
|
closed_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
79
|
depends_on: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -122,39 +123,31 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
122
123
|
added_by: z.ZodOptional<z.ZodString>;
|
|
123
124
|
promoted_to: z.ZodOptional<z.ZodString>;
|
|
124
125
|
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
id: number;
|
|
126
126
|
text: string;
|
|
127
|
+
id: number;
|
|
127
128
|
done: boolean;
|
|
128
129
|
added_at: string;
|
|
129
|
-
done_at?: string | undefined;
|
|
130
130
|
added_by?: string | undefined;
|
|
131
131
|
promoted_to?: string | undefined;
|
|
132
|
+
done_at?: string | undefined;
|
|
132
133
|
}, {
|
|
133
|
-
id: number;
|
|
134
134
|
text: string;
|
|
135
|
+
id: number;
|
|
135
136
|
added_at: string;
|
|
136
|
-
done?: boolean | undefined;
|
|
137
|
-
done_at?: string | undefined;
|
|
138
137
|
added_by?: string | undefined;
|
|
139
138
|
promoted_to?: string | undefined;
|
|
139
|
+
done?: boolean | undefined;
|
|
140
|
+
done_at?: string | undefined;
|
|
140
141
|
}>, "many">>;
|
|
141
142
|
automation: z.ZodOptional<z.ZodEnum<["eligible", "needs_review", "manual_only"]>>;
|
|
142
143
|
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
status: "in_progress" | "pending" | "pending_review" | "blocked" | "completed" | "cancelled";
|
|
144
|
+
status: "in_progress" | "pending" | "pending_review" | "needs_work" | "blocked" | "completed" | "cancelled";
|
|
144
145
|
type: "epic" | "task" | "bug" | "spike" | "infra";
|
|
145
146
|
_ulid: string;
|
|
146
147
|
created_at: string;
|
|
147
|
-
slugs: string[];
|
|
148
|
-
title: string;
|
|
149
|
-
blocked_by: string[];
|
|
150
|
-
depends_on: string[];
|
|
151
|
-
context: string[];
|
|
152
|
-
priority: number;
|
|
153
148
|
tags: string[];
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
type?: "branch" | "tag" | "commit" | undefined;
|
|
157
|
-
}[];
|
|
149
|
+
context: string[];
|
|
150
|
+
depends_on: string[];
|
|
158
151
|
notes: {
|
|
159
152
|
_ulid: string;
|
|
160
153
|
created_at: string;
|
|
@@ -162,67 +155,77 @@ export declare const TaskSchema: z.ZodObject<{
|
|
|
162
155
|
author?: string | undefined;
|
|
163
156
|
supersedes?: string | null | undefined;
|
|
164
157
|
}[];
|
|
158
|
+
slugs: string[];
|
|
159
|
+
title: string;
|
|
160
|
+
blocked_by: string[];
|
|
161
|
+
priority: number;
|
|
162
|
+
vcs_refs: {
|
|
163
|
+
ref: string;
|
|
164
|
+
type?: "branch" | "tag" | "commit" | undefined;
|
|
165
|
+
}[];
|
|
165
166
|
todos: {
|
|
166
|
-
id: number;
|
|
167
167
|
text: string;
|
|
168
|
+
id: number;
|
|
168
169
|
done: boolean;
|
|
169
170
|
added_at: string;
|
|
170
|
-
done_at?: string | undefined;
|
|
171
171
|
added_by?: string | undefined;
|
|
172
172
|
promoted_to?: string | undefined;
|
|
173
|
+
done_at?: string | undefined;
|
|
173
174
|
}[];
|
|
174
175
|
description?: string | undefined;
|
|
176
|
+
origin?: "manual" | "derived" | "observation_promotion" | undefined;
|
|
177
|
+
started_at?: string | null | undefined;
|
|
178
|
+
completed_at?: string | null | undefined;
|
|
175
179
|
spec_ref?: string | null | undefined;
|
|
176
180
|
derivation?: "auto" | "manual" | undefined;
|
|
177
181
|
meta_ref?: string | null | undefined;
|
|
178
|
-
|
|
182
|
+
plan_ref?: string | null | undefined;
|
|
179
183
|
closed_reason?: string | null | undefined;
|
|
180
184
|
complexity?: number | undefined;
|
|
181
185
|
assignee?: string | null | undefined;
|
|
182
|
-
started_at?: string | null | undefined;
|
|
183
|
-
completed_at?: string | null | undefined;
|
|
184
186
|
automation?: "eligible" | "needs_review" | "manual_only" | undefined;
|
|
185
187
|
}, {
|
|
186
188
|
_ulid: string;
|
|
187
189
|
title: string;
|
|
188
|
-
status?: "in_progress" | "pending" | "pending_review" | "blocked" | "completed" | "cancelled" | undefined;
|
|
190
|
+
status?: "in_progress" | "pending" | "pending_review" | "needs_work" | "blocked" | "completed" | "cancelled" | undefined;
|
|
189
191
|
type?: "epic" | "task" | "bug" | "spike" | "infra" | undefined;
|
|
190
192
|
created_at?: string | undefined;
|
|
191
|
-
|
|
193
|
+
tags?: string[] | undefined;
|
|
192
194
|
description?: string | undefined;
|
|
195
|
+
context?: string[] | undefined;
|
|
196
|
+
origin?: "manual" | "derived" | "observation_promotion" | undefined;
|
|
197
|
+
depends_on?: string[] | undefined;
|
|
198
|
+
started_at?: string | null | undefined;
|
|
199
|
+
completed_at?: string | null | undefined;
|
|
200
|
+
notes?: {
|
|
201
|
+
_ulid: string;
|
|
202
|
+
created_at: string;
|
|
203
|
+
content: string;
|
|
204
|
+
author?: string | undefined;
|
|
205
|
+
supersedes?: string | null | undefined;
|
|
206
|
+
}[] | undefined;
|
|
207
|
+
slugs?: string[] | undefined;
|
|
193
208
|
spec_ref?: string | null | undefined;
|
|
194
209
|
derivation?: "auto" | "manual" | undefined;
|
|
195
210
|
meta_ref?: string | null | undefined;
|
|
196
|
-
|
|
211
|
+
plan_ref?: string | null | undefined;
|
|
197
212
|
blocked_by?: string[] | undefined;
|
|
198
213
|
closed_reason?: string | null | undefined;
|
|
199
|
-
depends_on?: string[] | undefined;
|
|
200
|
-
context?: string[] | undefined;
|
|
201
214
|
priority?: number | undefined;
|
|
202
215
|
complexity?: number | undefined;
|
|
203
|
-
tags?: string[] | undefined;
|
|
204
216
|
assignee?: string | null | undefined;
|
|
205
217
|
vcs_refs?: {
|
|
206
218
|
ref: string;
|
|
207
219
|
type?: "branch" | "tag" | "commit" | undefined;
|
|
208
220
|
}[] | undefined;
|
|
209
|
-
started_at?: string | null | undefined;
|
|
210
|
-
completed_at?: string | null | undefined;
|
|
211
|
-
notes?: {
|
|
212
|
-
_ulid: string;
|
|
213
|
-
created_at: string;
|
|
214
|
-
content: string;
|
|
215
|
-
author?: string | undefined;
|
|
216
|
-
supersedes?: string | null | undefined;
|
|
217
|
-
}[] | undefined;
|
|
218
221
|
todos?: {
|
|
219
|
-
id: number;
|
|
220
222
|
text: string;
|
|
223
|
+
id: number;
|
|
221
224
|
added_at: string;
|
|
222
|
-
done?: boolean | undefined;
|
|
223
|
-
done_at?: string | undefined;
|
|
224
225
|
added_by?: string | undefined;
|
|
225
226
|
promoted_to?: string | undefined;
|
|
227
|
+
done?: boolean | undefined;
|
|
228
|
+
done_at?: string | undefined;
|
|
226
229
|
}[] | undefined;
|
|
227
230
|
automation?: "eligible" | "needs_review" | "manual_only" | undefined;
|
|
228
231
|
}>;
|
|
@@ -239,8 +242,9 @@ export declare const TaskInputSchema: z.ZodObject<{
|
|
|
239
242
|
spec_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
240
243
|
derivation: z.ZodOptional<z.ZodEnum<["auto", "manual"]>>;
|
|
241
244
|
meta_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
245
|
+
plan_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
242
246
|
origin: z.ZodOptional<z.ZodEnum<["manual", "derived", "observation_promotion"]>>;
|
|
243
|
-
status: z.ZodOptional<z.ZodEnum<["pending", "in_progress", "pending_review", "blocked", "completed", "cancelled"]>>;
|
|
247
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "in_progress", "pending_review", "needs_work", "blocked", "completed", "cancelled"]>>;
|
|
244
248
|
blocked_by: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
245
249
|
closed_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
246
250
|
depends_on: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -290,107 +294,109 @@ export declare const TaskInputSchema: z.ZodObject<{
|
|
|
290
294
|
added_by: z.ZodOptional<z.ZodString>;
|
|
291
295
|
promoted_to: z.ZodOptional<z.ZodString>;
|
|
292
296
|
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
id: number;
|
|
294
297
|
text: string;
|
|
298
|
+
id: number;
|
|
295
299
|
done: boolean;
|
|
296
300
|
added_at: string;
|
|
297
|
-
done_at?: string | undefined;
|
|
298
301
|
added_by?: string | undefined;
|
|
299
302
|
promoted_to?: string | undefined;
|
|
303
|
+
done_at?: string | undefined;
|
|
300
304
|
}, {
|
|
301
|
-
id: number;
|
|
302
305
|
text: string;
|
|
306
|
+
id: number;
|
|
303
307
|
added_at: string;
|
|
304
|
-
done?: boolean | undefined;
|
|
305
|
-
done_at?: string | undefined;
|
|
306
308
|
added_by?: string | undefined;
|
|
307
309
|
promoted_to?: string | undefined;
|
|
310
|
+
done?: boolean | undefined;
|
|
311
|
+
done_at?: string | undefined;
|
|
308
312
|
}>, "many">>;
|
|
309
313
|
automation: z.ZodOptional<z.ZodEnum<["eligible", "needs_review", "manual_only"]>>;
|
|
310
314
|
}, "strip", z.ZodTypeAny, {
|
|
311
315
|
title: string;
|
|
312
|
-
status?: "in_progress" | "pending" | "pending_review" | "blocked" | "completed" | "cancelled" | undefined;
|
|
316
|
+
status?: "in_progress" | "pending" | "pending_review" | "needs_work" | "blocked" | "completed" | "cancelled" | undefined;
|
|
313
317
|
type?: "epic" | "task" | "bug" | "spike" | "infra" | undefined;
|
|
314
318
|
_ulid?: string | undefined;
|
|
315
319
|
created_at?: string | undefined;
|
|
316
|
-
|
|
320
|
+
tags?: string[] | undefined;
|
|
317
321
|
description?: string | undefined;
|
|
322
|
+
context?: string[] | undefined;
|
|
323
|
+
origin?: "manual" | "derived" | "observation_promotion" | undefined;
|
|
324
|
+
depends_on?: string[] | undefined;
|
|
325
|
+
started_at?: string | null | undefined;
|
|
326
|
+
completed_at?: string | null | undefined;
|
|
327
|
+
notes?: {
|
|
328
|
+
_ulid: string;
|
|
329
|
+
created_at: string;
|
|
330
|
+
content: string;
|
|
331
|
+
author?: string | undefined;
|
|
332
|
+
supersedes?: string | null | undefined;
|
|
333
|
+
}[] | undefined;
|
|
334
|
+
slugs?: string[] | undefined;
|
|
318
335
|
spec_ref?: string | null | undefined;
|
|
319
336
|
derivation?: "auto" | "manual" | undefined;
|
|
320
337
|
meta_ref?: string | null | undefined;
|
|
321
|
-
|
|
338
|
+
plan_ref?: string | null | undefined;
|
|
322
339
|
blocked_by?: string[] | undefined;
|
|
323
340
|
closed_reason?: string | null | undefined;
|
|
324
|
-
depends_on?: string[] | undefined;
|
|
325
|
-
context?: string[] | undefined;
|
|
326
341
|
priority?: number | undefined;
|
|
327
342
|
complexity?: number | undefined;
|
|
328
|
-
tags?: string[] | undefined;
|
|
329
343
|
assignee?: string | null | undefined;
|
|
330
344
|
vcs_refs?: {
|
|
331
345
|
ref: string;
|
|
332
346
|
type?: "branch" | "tag" | "commit" | undefined;
|
|
333
347
|
}[] | undefined;
|
|
334
|
-
started_at?: string | null | undefined;
|
|
335
|
-
completed_at?: string | null | undefined;
|
|
336
|
-
notes?: {
|
|
337
|
-
_ulid: string;
|
|
338
|
-
created_at: string;
|
|
339
|
-
content: string;
|
|
340
|
-
author?: string | undefined;
|
|
341
|
-
supersedes?: string | null | undefined;
|
|
342
|
-
}[] | undefined;
|
|
343
348
|
todos?: {
|
|
344
|
-
id: number;
|
|
345
349
|
text: string;
|
|
350
|
+
id: number;
|
|
346
351
|
done: boolean;
|
|
347
352
|
added_at: string;
|
|
348
|
-
done_at?: string | undefined;
|
|
349
353
|
added_by?: string | undefined;
|
|
350
354
|
promoted_to?: string | undefined;
|
|
355
|
+
done_at?: string | undefined;
|
|
351
356
|
}[] | undefined;
|
|
352
357
|
automation?: "eligible" | "needs_review" | "manual_only" | undefined;
|
|
353
358
|
}, {
|
|
354
359
|
title: string;
|
|
355
|
-
status?: "in_progress" | "pending" | "pending_review" | "blocked" | "completed" | "cancelled" | undefined;
|
|
360
|
+
status?: "in_progress" | "pending" | "pending_review" | "needs_work" | "blocked" | "completed" | "cancelled" | undefined;
|
|
356
361
|
type?: "epic" | "task" | "bug" | "spike" | "infra" | undefined;
|
|
357
362
|
_ulid?: string | undefined;
|
|
358
363
|
created_at?: string | undefined;
|
|
359
|
-
|
|
364
|
+
tags?: string[] | undefined;
|
|
360
365
|
description?: string | undefined;
|
|
366
|
+
context?: string[] | undefined;
|
|
367
|
+
origin?: "manual" | "derived" | "observation_promotion" | undefined;
|
|
368
|
+
depends_on?: string[] | undefined;
|
|
369
|
+
started_at?: string | null | undefined;
|
|
370
|
+
completed_at?: string | null | undefined;
|
|
371
|
+
notes?: {
|
|
372
|
+
_ulid: string;
|
|
373
|
+
created_at: string;
|
|
374
|
+
content: string;
|
|
375
|
+
author?: string | undefined;
|
|
376
|
+
supersedes?: string | null | undefined;
|
|
377
|
+
}[] | undefined;
|
|
378
|
+
slugs?: string[] | undefined;
|
|
361
379
|
spec_ref?: string | null | undefined;
|
|
362
380
|
derivation?: "auto" | "manual" | undefined;
|
|
363
381
|
meta_ref?: string | null | undefined;
|
|
364
|
-
|
|
382
|
+
plan_ref?: string | null | undefined;
|
|
365
383
|
blocked_by?: string[] | undefined;
|
|
366
384
|
closed_reason?: string | null | undefined;
|
|
367
|
-
depends_on?: string[] | undefined;
|
|
368
|
-
context?: string[] | undefined;
|
|
369
385
|
priority?: number | undefined;
|
|
370
386
|
complexity?: number | undefined;
|
|
371
|
-
tags?: string[] | undefined;
|
|
372
387
|
assignee?: string | null | undefined;
|
|
373
388
|
vcs_refs?: {
|
|
374
389
|
ref: string;
|
|
375
390
|
type?: "branch" | "tag" | "commit" | undefined;
|
|
376
391
|
}[] | undefined;
|
|
377
|
-
started_at?: string | null | undefined;
|
|
378
|
-
completed_at?: string | null | undefined;
|
|
379
|
-
notes?: {
|
|
380
|
-
_ulid: string;
|
|
381
|
-
created_at: string;
|
|
382
|
-
content: string;
|
|
383
|
-
author?: string | undefined;
|
|
384
|
-
supersedes?: string | null | undefined;
|
|
385
|
-
}[] | undefined;
|
|
386
392
|
todos?: {
|
|
387
|
-
id: number;
|
|
388
393
|
text: string;
|
|
394
|
+
id: number;
|
|
389
395
|
added_at: string;
|
|
390
|
-
done?: boolean | undefined;
|
|
391
|
-
done_at?: string | undefined;
|
|
392
396
|
added_by?: string | undefined;
|
|
393
397
|
promoted_to?: string | undefined;
|
|
398
|
+
done?: boolean | undefined;
|
|
399
|
+
done_at?: string | undefined;
|
|
394
400
|
}[] | undefined;
|
|
395
401
|
automation?: "eligible" | "needs_review" | "manual_only" | undefined;
|
|
396
402
|
}>;
|
|
@@ -408,8 +414,9 @@ export declare const TasksFileSchema: z.ZodObject<{
|
|
|
408
414
|
spec_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
409
415
|
derivation: z.ZodOptional<z.ZodEnum<["auto", "manual"]>>;
|
|
410
416
|
meta_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
417
|
+
plan_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
411
418
|
origin: z.ZodOptional<z.ZodEnum<["manual", "derived", "observation_promotion"]>>;
|
|
412
|
-
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "pending_review", "blocked", "completed", "cancelled"]>>;
|
|
419
|
+
status: z.ZodDefault<z.ZodEnum<["pending", "in_progress", "pending_review", "needs_work", "blocked", "completed", "cancelled"]>>;
|
|
413
420
|
blocked_by: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
414
421
|
closed_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
415
422
|
depends_on: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -459,39 +466,31 @@ export declare const TasksFileSchema: z.ZodObject<{
|
|
|
459
466
|
added_by: z.ZodOptional<z.ZodString>;
|
|
460
467
|
promoted_to: z.ZodOptional<z.ZodString>;
|
|
461
468
|
}, "strip", z.ZodTypeAny, {
|
|
462
|
-
id: number;
|
|
463
469
|
text: string;
|
|
470
|
+
id: number;
|
|
464
471
|
done: boolean;
|
|
465
472
|
added_at: string;
|
|
466
|
-
done_at?: string | undefined;
|
|
467
473
|
added_by?: string | undefined;
|
|
468
474
|
promoted_to?: string | undefined;
|
|
475
|
+
done_at?: string | undefined;
|
|
469
476
|
}, {
|
|
470
|
-
id: number;
|
|
471
477
|
text: string;
|
|
478
|
+
id: number;
|
|
472
479
|
added_at: string;
|
|
473
|
-
done?: boolean | undefined;
|
|
474
|
-
done_at?: string | undefined;
|
|
475
480
|
added_by?: string | undefined;
|
|
476
481
|
promoted_to?: string | undefined;
|
|
482
|
+
done?: boolean | undefined;
|
|
483
|
+
done_at?: string | undefined;
|
|
477
484
|
}>, "many">>;
|
|
478
485
|
automation: z.ZodOptional<z.ZodEnum<["eligible", "needs_review", "manual_only"]>>;
|
|
479
486
|
}, "strip", z.ZodTypeAny, {
|
|
480
|
-
status: "in_progress" | "pending" | "pending_review" | "blocked" | "completed" | "cancelled";
|
|
487
|
+
status: "in_progress" | "pending" | "pending_review" | "needs_work" | "blocked" | "completed" | "cancelled";
|
|
481
488
|
type: "epic" | "task" | "bug" | "spike" | "infra";
|
|
482
489
|
_ulid: string;
|
|
483
490
|
created_at: string;
|
|
484
|
-
slugs: string[];
|
|
485
|
-
title: string;
|
|
486
|
-
blocked_by: string[];
|
|
487
|
-
depends_on: string[];
|
|
488
|
-
context: string[];
|
|
489
|
-
priority: number;
|
|
490
491
|
tags: string[];
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
type?: "branch" | "tag" | "commit" | undefined;
|
|
494
|
-
}[];
|
|
492
|
+
context: string[];
|
|
493
|
+
depends_on: string[];
|
|
495
494
|
notes: {
|
|
496
495
|
_ulid: string;
|
|
497
496
|
created_at: string;
|
|
@@ -499,88 +498,90 @@ export declare const TasksFileSchema: z.ZodObject<{
|
|
|
499
498
|
author?: string | undefined;
|
|
500
499
|
supersedes?: string | null | undefined;
|
|
501
500
|
}[];
|
|
501
|
+
slugs: string[];
|
|
502
|
+
title: string;
|
|
503
|
+
blocked_by: string[];
|
|
504
|
+
priority: number;
|
|
505
|
+
vcs_refs: {
|
|
506
|
+
ref: string;
|
|
507
|
+
type?: "branch" | "tag" | "commit" | undefined;
|
|
508
|
+
}[];
|
|
502
509
|
todos: {
|
|
503
|
-
id: number;
|
|
504
510
|
text: string;
|
|
511
|
+
id: number;
|
|
505
512
|
done: boolean;
|
|
506
513
|
added_at: string;
|
|
507
|
-
done_at?: string | undefined;
|
|
508
514
|
added_by?: string | undefined;
|
|
509
515
|
promoted_to?: string | undefined;
|
|
516
|
+
done_at?: string | undefined;
|
|
510
517
|
}[];
|
|
511
518
|
description?: string | undefined;
|
|
519
|
+
origin?: "manual" | "derived" | "observation_promotion" | undefined;
|
|
520
|
+
started_at?: string | null | undefined;
|
|
521
|
+
completed_at?: string | null | undefined;
|
|
512
522
|
spec_ref?: string | null | undefined;
|
|
513
523
|
derivation?: "auto" | "manual" | undefined;
|
|
514
524
|
meta_ref?: string | null | undefined;
|
|
515
|
-
|
|
525
|
+
plan_ref?: string | null | undefined;
|
|
516
526
|
closed_reason?: string | null | undefined;
|
|
517
527
|
complexity?: number | undefined;
|
|
518
528
|
assignee?: string | null | undefined;
|
|
519
|
-
started_at?: string | null | undefined;
|
|
520
|
-
completed_at?: string | null | undefined;
|
|
521
529
|
automation?: "eligible" | "needs_review" | "manual_only" | undefined;
|
|
522
530
|
}, {
|
|
523
531
|
_ulid: string;
|
|
524
532
|
title: string;
|
|
525
|
-
status?: "in_progress" | "pending" | "pending_review" | "blocked" | "completed" | "cancelled" | undefined;
|
|
533
|
+
status?: "in_progress" | "pending" | "pending_review" | "needs_work" | "blocked" | "completed" | "cancelled" | undefined;
|
|
526
534
|
type?: "epic" | "task" | "bug" | "spike" | "infra" | undefined;
|
|
527
535
|
created_at?: string | undefined;
|
|
528
|
-
|
|
536
|
+
tags?: string[] | undefined;
|
|
529
537
|
description?: string | undefined;
|
|
538
|
+
context?: string[] | undefined;
|
|
539
|
+
origin?: "manual" | "derived" | "observation_promotion" | undefined;
|
|
540
|
+
depends_on?: string[] | undefined;
|
|
541
|
+
started_at?: string | null | undefined;
|
|
542
|
+
completed_at?: string | null | undefined;
|
|
543
|
+
notes?: {
|
|
544
|
+
_ulid: string;
|
|
545
|
+
created_at: string;
|
|
546
|
+
content: string;
|
|
547
|
+
author?: string | undefined;
|
|
548
|
+
supersedes?: string | null | undefined;
|
|
549
|
+
}[] | undefined;
|
|
550
|
+
slugs?: string[] | undefined;
|
|
530
551
|
spec_ref?: string | null | undefined;
|
|
531
552
|
derivation?: "auto" | "manual" | undefined;
|
|
532
553
|
meta_ref?: string | null | undefined;
|
|
533
|
-
|
|
554
|
+
plan_ref?: string | null | undefined;
|
|
534
555
|
blocked_by?: string[] | undefined;
|
|
535
556
|
closed_reason?: string | null | undefined;
|
|
536
|
-
depends_on?: string[] | undefined;
|
|
537
|
-
context?: string[] | undefined;
|
|
538
557
|
priority?: number | undefined;
|
|
539
558
|
complexity?: number | undefined;
|
|
540
|
-
tags?: string[] | undefined;
|
|
541
559
|
assignee?: string | null | undefined;
|
|
542
560
|
vcs_refs?: {
|
|
543
561
|
ref: string;
|
|
544
562
|
type?: "branch" | "tag" | "commit" | undefined;
|
|
545
563
|
}[] | undefined;
|
|
546
|
-
started_at?: string | null | undefined;
|
|
547
|
-
completed_at?: string | null | undefined;
|
|
548
|
-
notes?: {
|
|
549
|
-
_ulid: string;
|
|
550
|
-
created_at: string;
|
|
551
|
-
content: string;
|
|
552
|
-
author?: string | undefined;
|
|
553
|
-
supersedes?: string | null | undefined;
|
|
554
|
-
}[] | undefined;
|
|
555
564
|
todos?: {
|
|
556
|
-
id: number;
|
|
557
565
|
text: string;
|
|
566
|
+
id: number;
|
|
558
567
|
added_at: string;
|
|
559
|
-
done?: boolean | undefined;
|
|
560
|
-
done_at?: string | undefined;
|
|
561
568
|
added_by?: string | undefined;
|
|
562
569
|
promoted_to?: string | undefined;
|
|
570
|
+
done?: boolean | undefined;
|
|
571
|
+
done_at?: string | undefined;
|
|
563
572
|
}[] | undefined;
|
|
564
573
|
automation?: "eligible" | "needs_review" | "manual_only" | undefined;
|
|
565
574
|
}>, "many">;
|
|
566
575
|
}, "strip", z.ZodTypeAny, {
|
|
567
576
|
kynetic_tasks: string;
|
|
568
577
|
tasks: {
|
|
569
|
-
status: "in_progress" | "pending" | "pending_review" | "blocked" | "completed" | "cancelled";
|
|
578
|
+
status: "in_progress" | "pending" | "pending_review" | "needs_work" | "blocked" | "completed" | "cancelled";
|
|
570
579
|
type: "epic" | "task" | "bug" | "spike" | "infra";
|
|
571
580
|
_ulid: string;
|
|
572
581
|
created_at: string;
|
|
573
|
-
slugs: string[];
|
|
574
|
-
title: string;
|
|
575
|
-
blocked_by: string[];
|
|
576
|
-
depends_on: string[];
|
|
577
|
-
context: string[];
|
|
578
|
-
priority: number;
|
|
579
582
|
tags: string[];
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
type?: "branch" | "tag" | "commit" | undefined;
|
|
583
|
-
}[];
|
|
583
|
+
context: string[];
|
|
584
|
+
depends_on: string[];
|
|
584
585
|
notes: {
|
|
585
586
|
_ulid: string;
|
|
586
587
|
created_at: string;
|
|
@@ -588,69 +589,79 @@ export declare const TasksFileSchema: z.ZodObject<{
|
|
|
588
589
|
author?: string | undefined;
|
|
589
590
|
supersedes?: string | null | undefined;
|
|
590
591
|
}[];
|
|
592
|
+
slugs: string[];
|
|
593
|
+
title: string;
|
|
594
|
+
blocked_by: string[];
|
|
595
|
+
priority: number;
|
|
596
|
+
vcs_refs: {
|
|
597
|
+
ref: string;
|
|
598
|
+
type?: "branch" | "tag" | "commit" | undefined;
|
|
599
|
+
}[];
|
|
591
600
|
todos: {
|
|
592
|
-
id: number;
|
|
593
601
|
text: string;
|
|
602
|
+
id: number;
|
|
594
603
|
done: boolean;
|
|
595
604
|
added_at: string;
|
|
596
|
-
done_at?: string | undefined;
|
|
597
605
|
added_by?: string | undefined;
|
|
598
606
|
promoted_to?: string | undefined;
|
|
607
|
+
done_at?: string | undefined;
|
|
599
608
|
}[];
|
|
600
609
|
description?: string | undefined;
|
|
610
|
+
origin?: "manual" | "derived" | "observation_promotion" | undefined;
|
|
611
|
+
started_at?: string | null | undefined;
|
|
612
|
+
completed_at?: string | null | undefined;
|
|
601
613
|
spec_ref?: string | null | undefined;
|
|
602
614
|
derivation?: "auto" | "manual" | undefined;
|
|
603
615
|
meta_ref?: string | null | undefined;
|
|
604
|
-
|
|
616
|
+
plan_ref?: string | null | undefined;
|
|
605
617
|
closed_reason?: string | null | undefined;
|
|
606
618
|
complexity?: number | undefined;
|
|
607
619
|
assignee?: string | null | undefined;
|
|
608
|
-
started_at?: string | null | undefined;
|
|
609
|
-
completed_at?: string | null | undefined;
|
|
610
620
|
automation?: "eligible" | "needs_review" | "manual_only" | undefined;
|
|
611
621
|
}[];
|
|
612
622
|
}, {
|
|
613
623
|
tasks: {
|
|
614
624
|
_ulid: string;
|
|
615
625
|
title: string;
|
|
616
|
-
status?: "in_progress" | "pending" | "pending_review" | "blocked" | "completed" | "cancelled" | undefined;
|
|
626
|
+
status?: "in_progress" | "pending" | "pending_review" | "needs_work" | "blocked" | "completed" | "cancelled" | undefined;
|
|
617
627
|
type?: "epic" | "task" | "bug" | "spike" | "infra" | undefined;
|
|
618
628
|
created_at?: string | undefined;
|
|
619
|
-
|
|
629
|
+
tags?: string[] | undefined;
|
|
620
630
|
description?: string | undefined;
|
|
631
|
+
context?: string[] | undefined;
|
|
632
|
+
origin?: "manual" | "derived" | "observation_promotion" | undefined;
|
|
633
|
+
depends_on?: string[] | undefined;
|
|
634
|
+
started_at?: string | null | undefined;
|
|
635
|
+
completed_at?: string | null | undefined;
|
|
636
|
+
notes?: {
|
|
637
|
+
_ulid: string;
|
|
638
|
+
created_at: string;
|
|
639
|
+
content: string;
|
|
640
|
+
author?: string | undefined;
|
|
641
|
+
supersedes?: string | null | undefined;
|
|
642
|
+
}[] | undefined;
|
|
643
|
+
slugs?: string[] | undefined;
|
|
621
644
|
spec_ref?: string | null | undefined;
|
|
622
645
|
derivation?: "auto" | "manual" | undefined;
|
|
623
646
|
meta_ref?: string | null | undefined;
|
|
624
|
-
|
|
647
|
+
plan_ref?: string | null | undefined;
|
|
625
648
|
blocked_by?: string[] | undefined;
|
|
626
649
|
closed_reason?: string | null | undefined;
|
|
627
|
-
depends_on?: string[] | undefined;
|
|
628
|
-
context?: string[] | undefined;
|
|
629
650
|
priority?: number | undefined;
|
|
630
651
|
complexity?: number | undefined;
|
|
631
|
-
tags?: string[] | undefined;
|
|
632
652
|
assignee?: string | null | undefined;
|
|
633
653
|
vcs_refs?: {
|
|
634
654
|
ref: string;
|
|
635
655
|
type?: "branch" | "tag" | "commit" | undefined;
|
|
636
656
|
}[] | undefined;
|
|
637
|
-
started_at?: string | null | undefined;
|
|
638
|
-
completed_at?: string | null | undefined;
|
|
639
|
-
notes?: {
|
|
640
|
-
_ulid: string;
|
|
641
|
-
created_at: string;
|
|
642
|
-
content: string;
|
|
643
|
-
author?: string | undefined;
|
|
644
|
-
supersedes?: string | null | undefined;
|
|
645
|
-
}[] | undefined;
|
|
646
657
|
todos?: {
|
|
647
|
-
id: number;
|
|
648
658
|
text: string;
|
|
659
|
+
id: number;
|
|
649
660
|
added_at: string;
|
|
650
|
-
done?: boolean | undefined;
|
|
651
|
-
done_at?: string | undefined;
|
|
652
661
|
added_by?: string | undefined;
|
|
653
662
|
promoted_to?: string | undefined;
|
|
663
|
+
done?: boolean | undefined;
|
|
664
|
+
done_at?: string | undefined;
|
|
654
665
|
}[] | undefined;
|
|
655
666
|
automation?: "eligible" | "needs_review" | "manual_only" | undefined;
|
|
656
667
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../src/schema/task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../src/schema/task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,wDAIjC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;EAMrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;EAQrB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDrB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsD1B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG1B,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|