@specforge/canary-cli 0.2.13 → 0.2.15
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/dist/tools/index.js +3 -3
- package/dist/tools/index.js.map +1 -1
- package/node_modules/@specforge/api-types/dist/runtime/ticket-record.d.ts +11 -0
- package/node_modules/@specforge/api-types/dist/runtime/ticket-record.d.ts.map +1 -1
- package/node_modules/@specforge/api-types/dist/stores/i-ticket-store.d.ts +10 -0
- package/node_modules/@specforge/api-types/dist/stores/i-ticket-store.d.ts.map +1 -1
- package/node_modules/@specforge/api-types/package.json +1 -1
- package/node_modules/@specforge/report-types/package.json +1 -1
- package/node_modules/@specforge/spec-types/dist/schema/node-verb-steps.d.ts +16 -8
- package/node_modules/@specforge/spec-types/dist/schema/node-verb-steps.d.ts.map +1 -1
- package/node_modules/@specforge/spec-types/dist/schema/node-verb-steps.js +35 -16
- package/node_modules/@specforge/spec-types/dist/schema/node-verb-steps.js.map +1 -1
- package/node_modules/@specforge/spec-types/dist/schema/step-link-coverage.d.ts +24 -0
- package/node_modules/@specforge/spec-types/dist/schema/step-link-coverage.d.ts.map +1 -1
- package/node_modules/@specforge/spec-types/dist/schema/step-link-coverage.js +44 -10
- package/node_modules/@specforge/spec-types/dist/schema/step-link-coverage.js.map +1 -1
- package/node_modules/@specforge/spec-types/dist/schema/step-link-ids.d.ts +11 -4
- package/node_modules/@specforge/spec-types/dist/schema/step-link-ids.d.ts.map +1 -1
- package/node_modules/@specforge/spec-types/dist/schema/step-link-ids.js +13 -6
- package/node_modules/@specforge/spec-types/dist/schema/step-link-ids.js.map +1 -1
- package/node_modules/@specforge/spec-types/package.json +1 -1
- package/package.json +6 -6
package/dist/tools/index.js
CHANGED
|
@@ -409,12 +409,12 @@ Format options:
|
|
|
409
409
|
},
|
|
410
410
|
// ticket_step_actions — batch add/edit/remove/reorder of implementation steps.
|
|
411
411
|
{
|
|
412
|
-
description: "Batch-edit a ticket's implementation steps (add/edit/remove/reorder in one call). A step is a unit of FUNCTIONAL WORK \u2014 describe the functions/components/adjustments it makes AND what each does, never a bare filename. Declare the file(s) each step touches INLINE via `files: [{path, role}]`, role one of creates|modifies|deletes|imports|reads (imports couples to a build/run dependency; reads is a context-only glance). Author code/type snippets INLINE via `codeSnippets`/`typeSnippets: [{content, language}]` \u2014 each becomes a ticket-level snippet row linked to this step (no separate snippet verb).
|
|
412
|
+
description: "Batch-edit a ticket's implementation steps (add/edit/remove/reorder in one call). A step is a unit of FUNCTIONAL WORK \u2014 describe the functions/components/adjustments it makes AND what each does, never a bare filename. Declare the file(s) each step touches INLINE via `files: [{path, role}]`, role one of creates|modifies|deletes|imports|reads (imports couples to a build/run dependency; reads is a context-only glance). Author code/type snippets INLINE via `codeSnippets`/`typeSnippets: [{content, language}]` \u2014 each becomes a ticket-level snippet row linked to this step (no separate snippet verb). Snippet authoring is INCREMENTAL + id-aware: an item WITH a `snippetId` re-authors THAT existing row (new content), an item WITHOUT one creates a NEW row; snippets you do NOT mention are PRESERVED (on this step AND the others) \u2014 never re-declare all. Remove a snippet with `unlink_step_snippet`, not by omission. Fields that do not apply are declared with the `justify` op, never by writing empty values here.",
|
|
413
413
|
properties: {
|
|
414
414
|
type: { const: "ticket_step_actions" },
|
|
415
415
|
ticketId: { type: "string", description: "Ticket id (use list_tickets / lookup_ticket to find)." },
|
|
416
|
-
add: { type: "array", description: "New steps to append.", items: { type: "object", properties: { text: { type: "string" }, files: { type: "array", description: "Files this step touches, by role \u2014 derives the step\u2194file link + the TicketFileChange row.", items: { type: "object", properties: { path: { type: "string" }, role: { type: "string", enum: ["creates", "modifies", "deletes", "imports", "reads"] }, symbol: { type: "string" }, why: { type: "string" } }, required: ["path", "role"] } }, codeSnippets: { type: "array", description: "Code snippets authored on this step \u2192 TicketCodeSnippet rows + step\u2194snippet links.", items: { type: "object", properties: { content: { type: "string" }, language: { type: "string" }, description: { type: "string" } }, required: ["content"] } }, typeSnippets: { type: "array", description: "Type snippets authored on this step \u2192 TicketTypeSnippet rows + step\u2194snippet links.", items: { type: "object", properties: { content: { type: "string" }, language: { type: "string" }, description: { type: "string" } }, required: ["content"] } } }, required: ["text"] } },
|
|
417
|
-
edit: { type: "array", description: "Existing steps to edit (by stepId).", items: { type: "object", properties: { stepId: { type: "string" }, text: { type: "string" }, files: { type: "array", items: { type: "object", properties: { path: { type: "string" }, role: { type: "string", enum: ["creates", "modifies", "deletes", "imports", "reads"] }, symbol: { type: "string" }, why: { type: "string" } }, required: ["path", "role"] } }, codeSnippets: { type: "array", description: "Code snippets authored on this step \u2192 TicketCodeSnippet rows + step\u2194snippet links.", items: { type: "object", properties: { content: { type: "string" }, language: { type: "string" }, description: { type: "string" } }, required: ["content"] } }, typeSnippets: { type: "array", description: "Type snippets authored on this step \u2192 TicketTypeSnippet rows + step\u2194snippet links.", items: { type: "object", properties: { content: { type: "string" }, language: { type: "string" }, description: { type: "string" } }, required: ["content"] } } }, required: ["stepId"] } },
|
|
416
|
+
add: { type: "array", description: "New steps to append.", items: { type: "object", properties: { text: { type: "string" }, files: { type: "array", description: "Files this step touches, by role \u2014 derives the step\u2194file link + the TicketFileChange row.", items: { type: "object", properties: { path: { type: "string" }, role: { type: "string", enum: ["creates", "modifies", "deletes", "imports", "reads"] }, symbol: { type: "string" }, why: { type: "string" } }, required: ["path", "role"] } }, codeSnippets: { type: "array", description: "Code snippets authored on this step \u2192 TicketCodeSnippet rows + step\u2194snippet links.", items: { type: "object", properties: { content: { type: "string" }, language: { type: "string" }, description: { type: "string" }, snippetId: { type: "string", description: "Existing snippet row id to RE-AUTHOR (edits that row in place). Omit to create a new snippet row. Get ids from the ticket read-shape." } }, required: ["content"] } }, typeSnippets: { type: "array", description: "Type snippets authored on this step \u2192 TicketTypeSnippet rows + step\u2194snippet links.", items: { type: "object", properties: { content: { type: "string" }, language: { type: "string" }, description: { type: "string" }, snippetId: { type: "string", description: "Existing snippet row id to RE-AUTHOR (edits that row in place). Omit to create a new snippet row. Get ids from the ticket read-shape." } }, required: ["content"] } } }, required: ["text"] } },
|
|
417
|
+
edit: { type: "array", description: "Existing steps to edit (by stepId).", items: { type: "object", properties: { stepId: { type: "string" }, text: { type: "string" }, files: { type: "array", items: { type: "object", properties: { path: { type: "string" }, role: { type: "string", enum: ["creates", "modifies", "deletes", "imports", "reads"] }, symbol: { type: "string" }, why: { type: "string" } }, required: ["path", "role"] } }, codeSnippets: { type: "array", description: "Code snippets authored on this step \u2192 TicketCodeSnippet rows + step\u2194snippet links.", items: { type: "object", properties: { content: { type: "string" }, language: { type: "string" }, description: { type: "string" }, snippetId: { type: "string", description: "Existing snippet row id to RE-AUTHOR (edits that row in place). Omit to create a new snippet row. Get ids from the ticket read-shape." } }, required: ["content"] } }, typeSnippets: { type: "array", description: "Type snippets authored on this step \u2192 TicketTypeSnippet rows + step\u2194snippet links.", items: { type: "object", properties: { content: { type: "string" }, language: { type: "string" }, description: { type: "string" }, snippetId: { type: "string", description: "Existing snippet row id to RE-AUTHOR (edits that row in place). Omit to create a new snippet row. Get ids from the ticket read-shape." } }, required: ["content"] } } }, required: ["stepId"] } },
|
|
418
418
|
remove: { type: "array", items: { type: "string" }, description: "Step ids to remove." },
|
|
419
419
|
reorder: { type: "array", items: { type: "string" }, description: "Step ids in the desired order." }
|
|
420
420
|
},
|