@integrity-labs/agt-cli 0.28.851 → 0.28.852

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 CHANGED
@@ -40,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-IIWPWALH.js";
43
+ } from "../chunk-SFKO7OVI.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
5467
5467
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5468
5468
  import chalk18 from "chalk";
5469
5469
  import ora16 from "ora";
5470
- var cliVersion = true ? "0.28.851" : "dev";
5470
+ var cliVersion = true ? "0.28.852" : "dev";
5471
5471
  async function fetchLatestVersion() {
5472
5472
  const host2 = getHost();
5473
5473
  if (!host2) return null;
@@ -6658,7 +6658,7 @@ function handleError(err) {
6658
6658
  }
6659
6659
 
6660
6660
  // src/bin/agt.ts
6661
- var cliVersion2 = true ? "0.28.851" : "dev";
6661
+ var cliVersion2 = true ? "0.28.852" : "dev";
6662
6662
  var program = new Command();
6663
6663
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
6664
6664
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -6566,7 +6566,7 @@ function exchangeFailureKind(err) {
6566
6566
  }
6567
6567
 
6568
6568
  // src/lib/api-client.ts
6569
- var agtCliVersion = true ? "0.28.851" : "dev";
6569
+ var agtCliVersion = true ? "0.28.852" : "dev";
6570
6570
  var lastConfigHash = null;
6571
6571
  function setConfigHash(hash) {
6572
6572
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10924,4 +10924,4 @@ export {
10924
10924
  managerInstallSystemUnitCommand,
10925
10925
  managerUninstallSystemUnitCommand
10926
10926
  };
10927
- //# sourceMappingURL=chunk-IIWPWALH.js.map
10927
+ //# sourceMappingURL=chunk-SFKO7OVI.js.map
@@ -60,7 +60,7 @@ import {
60
60
  safeWriteJsonAtomic,
61
61
  setConfigHash,
62
62
  tripClass
63
- } from "../chunk-IIWPWALH.js";
63
+ } from "../chunk-SFKO7OVI.js";
64
64
  import {
65
65
  getProjectDir as getProjectDir2,
66
66
  getReadyTasks,
@@ -13664,7 +13664,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13664
13664
  var lastVersionCheckAt = 0;
13665
13665
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13666
13666
  var lastResponsivenessProbeAt = 0;
13667
- var agtCliVersion = true ? "0.28.851" : "dev";
13667
+ var agtCliVersion = true ? "0.28.852" : "dev";
13668
13668
  function resolveBrewPath(execFileSync2) {
13669
13669
  try {
13670
13670
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
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 result on a kanban item without changing its status.",
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("Item title for fuzzy match (if no id)"),
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, { notes: params.notes, result: params.result })
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.851",
3
+ "version": "0.28.852",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {