@integrity-labs/agt-cli 0.28.851 → 0.28.853
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/bin/agt.js +3 -3
- package/dist/{chunk-IIWPWALH.js → chunk-6BA2US4B.js} +2 -2
- package/dist/lib/manager-worker.js +24 -2
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +26 -4
- package/package.json +1 -1
- /package/dist/{chunk-IIWPWALH.js.map → chunk-6BA2US4B.js.map} +0 -0
package/dist/mcp/index.js
CHANGED
|
@@ -45351,6 +45351,8 @@ function buildKanbanUpdateItem(id, fields) {
|
|
|
45351
45351
|
const item = { id };
|
|
45352
45352
|
if (fields.notes !== void 0) item.notes = fields.notes;
|
|
45353
45353
|
if (fields.result !== void 0) item.result = fields.result;
|
|
45354
|
+
if (fields.new_title !== void 0) item.new_title = fields.new_title;
|
|
45355
|
+
if (fields.new_description !== void 0) item.new_description = fields.new_description;
|
|
45354
45356
|
return item;
|
|
45355
45357
|
}
|
|
45356
45358
|
|
|
@@ -46062,12 +46064,22 @@ server.tool(
|
|
|
46062
46064
|
);
|
|
46063
46065
|
server.tool(
|
|
46064
46066
|
"kanban_update",
|
|
46065
|
-
"Update notes or
|
|
46067
|
+
"Update notes, result, title or description on a kanban item without changing its status. CS-1682: `new_title`/`new_description` CORRECT the card itself \u2014 use them when a card was created on a premise that turned out to be wrong, so later readers see the corrected framing rather than the original error with a retraction buried in notes. Every content change is recorded append-only in the card's event history with its before and after, so a correction is visible as a correction and can never be a silent rewrite.",
|
|
46066
46068
|
{
|
|
46067
46069
|
id: external_exports.string().optional().describe("Item UUID (preferred)"),
|
|
46068
|
-
title: external_exports.string().optional().describe(
|
|
46070
|
+
title: external_exports.string().optional().describe(
|
|
46071
|
+
"SELECTOR ONLY \u2014 an existing item title to fuzzy-match when you have no id. This does NOT rename the card; to change the title use new_title."
|
|
46072
|
+
),
|
|
46069
46073
|
notes: external_exports.string().optional().describe("Progress notes to append"),
|
|
46070
|
-
result: external_exports.string().optional().describe("Result/output produced")
|
|
46074
|
+
result: external_exports.string().optional().describe("Result/output produced"),
|
|
46075
|
+
new_title: external_exports.string().refine((v) => v.trim().length > 0, {
|
|
46076
|
+
message: "new_title cannot be empty or whitespace-only."
|
|
46077
|
+
}).optional().describe(
|
|
46078
|
+
"CS-1682: replace the card's title. Use to correct a title that states something untrue; the previous title is preserved in the card's event history."
|
|
46079
|
+
),
|
|
46080
|
+
new_description: external_exports.string().optional().describe(
|
|
46081
|
+
"CS-1682: replace the card's description. Use to correct a description founded on a false premise; the previous text is preserved in the card's event history."
|
|
46082
|
+
)
|
|
46071
46083
|
},
|
|
46072
46084
|
async (params) => {
|
|
46073
46085
|
if (!params.id && !params.title) {
|
|
@@ -46105,7 +46117,17 @@ server.tool(
|
|
|
46105
46117
|
const data = await apiPost("/host/kanban", {
|
|
46106
46118
|
agent_id: AGT_AGENT_ID,
|
|
46107
46119
|
update: [
|
|
46108
|
-
buildKanbanUpdateItem(match.id, {
|
|
46120
|
+
buildKanbanUpdateItem(match.id, {
|
|
46121
|
+
notes: params.notes,
|
|
46122
|
+
result: params.result,
|
|
46123
|
+
// CS-1682: `new_*` all the way down to the wire, NOT plain `title`.
|
|
46124
|
+
// `/host/kanban` resolves the card by `upd.title` when no id is sent,
|
|
46125
|
+
// so a rename spelled `title` would retarget the write instead of
|
|
46126
|
+
// renaming anything. Keeping the names distinct end-to-end is what
|
|
46127
|
+
// makes that impossible rather than merely unlikely.
|
|
46128
|
+
new_title: params.new_title,
|
|
46129
|
+
new_description: params.new_description
|
|
46130
|
+
})
|
|
46109
46131
|
]
|
|
46110
46132
|
});
|
|
46111
46133
|
const outcome = describeKanbanWriteOutcome(
|
package/package.json
CHANGED
|
File without changes
|