@integrity-labs/agt-cli 0.28.282 → 0.28.284
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 +4 -4
- package/dist/{chunk-6SRVCYKR.js → chunk-6Y7K5FLO.js} +3 -3
- package/dist/{chunk-C4QMCOAN.js → chunk-TZKHPDOH.js} +34 -4
- package/dist/chunk-TZKHPDOH.js.map +1 -0
- package/dist/{claude-pair-runtime-JOYTDNXZ.js → claude-pair-runtime-2VTCDNBY.js} +2 -2
- package/dist/lib/manager-worker.js +19 -11
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +21 -5
- package/dist/mcp/origami.js +23 -1
- package/dist/{persistent-session-7H3IYXXP.js → persistent-session-MIA4XYG4.js} +2 -2
- package/dist/{responsiveness-probe-PFJM4QMQ.js → responsiveness-probe-C4OMAIZQ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-C4QMCOAN.js.map +0 -1
- /package/dist/{chunk-6SRVCYKR.js.map → chunk-6Y7K5FLO.js.map} +0 -0
- /package/dist/{claude-pair-runtime-JOYTDNXZ.js.map → claude-pair-runtime-2VTCDNBY.js.map} +0 -0
- /package/dist/{persistent-session-7H3IYXXP.js.map → persistent-session-MIA4XYG4.js.map} +0 -0
- /package/dist/{responsiveness-probe-PFJM4QMQ.js.map → responsiveness-probe-C4OMAIZQ.js.map} +0 -0
package/dist/mcp/index.js
CHANGED
|
@@ -21525,6 +21525,10 @@ function readRunId() {
|
|
|
21525
21525
|
}
|
|
21526
21526
|
var AGT_RUN_ID = readRunId();
|
|
21527
21527
|
var AGT_TOKEN = process.env.AGT_TOKEN ?? "";
|
|
21528
|
+
var AGT_KANBAN_WAITING_ENABLED = (() => {
|
|
21529
|
+
const raw = (process.env.AGT_KANBAN_WAITING_ENABLED ?? "").trim().toLowerCase();
|
|
21530
|
+
return raw === "true" || raw === "1";
|
|
21531
|
+
})();
|
|
21528
21532
|
if (!AGT_HOST || !AGT_AGENT_ID || !AGT_TOKEN && !AGT_API_KEY && !AGT_AGENT_SESSION_TOKEN) {
|
|
21529
21533
|
console.error(
|
|
21530
21534
|
"augmented-mcp: Missing required env vars. Need AGT_HOST, AGT_AGENT_ID, and one of AGT_AGENT_SESSION_TOKEN, AGT_TOKEN, or AGT_API_KEY"
|
|
@@ -21775,14 +21779,22 @@ server.tool(
|
|
|
21775
21779
|
};
|
|
21776
21780
|
}
|
|
21777
21781
|
);
|
|
21782
|
+
var kanbanMoveStatuses = AGT_KANBAN_WAITING_ENABLED ? ["backlog", "todo", "in_progress", "waiting", "done", "failed"] : ["backlog", "todo", "in_progress", "done", "failed"];
|
|
21783
|
+
var kanbanMoveDescription = AGT_KANBAN_WAITING_ENABLED ? 'Move a kanban item to a different status column. Use status="failed" for a task attempted but not completable. Use status="waiting" when you have COMPLETED your part and cannot proceed until one specific external action happens (a person approves/answers/decides, or a dependency like a PR merge or deploy completes) - set waiting_on to that single concrete action, phrased as an instruction ("Merge PR #3120", "Approve the budget"). Do NOT use waiting to offload hard work, and do NOT confuse it with a failure. (matches the hosted kanban_move enum).' : 'Move a kanban item to a different status column. Use status="failed" to mark a task that was attempted but could not complete (matches the hosted kanban_move enum).';
|
|
21784
|
+
var kanbanMoveStatusDescribe = AGT_KANBAN_WAITING_ENABLED ? 'Target status. "waiting" parks the card (blocked on a human decision or an external dependency); pair it with waiting_on. "failed" closes the row as a failed attempt; there is no "cancelled" status, close no-longer-needed work via kanban_done with an explanatory result.' : 'Target status. "failed" closes the row as a failed attempt; there is no "cancelled" status, close no-longer-needed work via kanban_done with an explanatory result.';
|
|
21778
21785
|
server.tool(
|
|
21779
21786
|
"kanban_move",
|
|
21780
|
-
|
|
21787
|
+
kanbanMoveDescription,
|
|
21781
21788
|
{
|
|
21782
21789
|
id: external_exports.string().optional().describe("Item UUID (preferred)"),
|
|
21783
21790
|
title: external_exports.string().optional().describe("Item title for fuzzy match (if no id)"),
|
|
21784
|
-
status: external_exports.enum(
|
|
21785
|
-
notes: external_exports.string().optional().describe("Progress notes")
|
|
21791
|
+
status: external_exports.enum(kanbanMoveStatuses).describe(kanbanMoveStatusDescribe),
|
|
21792
|
+
notes: external_exports.string().optional().describe("Progress notes"),
|
|
21793
|
+
...AGT_KANBAN_WAITING_ENABLED ? {
|
|
21794
|
+
waiting_on: external_exports.string().optional().describe(
|
|
21795
|
+
'Only with status="waiting": the single concrete action you are parked on, phrased as an instruction ("Merge PR #3120", "Approve the budget"). Shown as the card headline.'
|
|
21796
|
+
)
|
|
21797
|
+
} : {}
|
|
21786
21798
|
},
|
|
21787
21799
|
async (params) => {
|
|
21788
21800
|
if (!params.id && !params.title) {
|
|
@@ -21798,7 +21810,8 @@ server.tool(
|
|
|
21798
21810
|
id: params.id,
|
|
21799
21811
|
title: params.title,
|
|
21800
21812
|
status: params.status,
|
|
21801
|
-
notes: params.notes
|
|
21813
|
+
notes: params.notes,
|
|
21814
|
+
waiting_on: params.waiting_on
|
|
21802
21815
|
}
|
|
21803
21816
|
]
|
|
21804
21817
|
});
|
|
@@ -23473,8 +23486,11 @@ function statusLabel(status) {
|
|
|
23473
23486
|
backlog: "Backlog",
|
|
23474
23487
|
todo: "To Do",
|
|
23475
23488
|
in_progress: "In Progress",
|
|
23489
|
+
waiting: "Waiting",
|
|
23476
23490
|
done: "Done",
|
|
23477
|
-
failed: "Failed"
|
|
23491
|
+
failed: "Failed",
|
|
23492
|
+
// ENG-5723: reaper-only state; render it if the board carries one.
|
|
23493
|
+
needs_attention: "Needs attention"
|
|
23478
23494
|
};
|
|
23479
23495
|
return labels[status] ?? status;
|
|
23480
23496
|
}
|
package/dist/mcp/origami.js
CHANGED
|
@@ -39322,7 +39322,8 @@ var KANBAN_STATUSES = [
|
|
|
39322
39322
|
"done",
|
|
39323
39323
|
"failed",
|
|
39324
39324
|
"cancelled",
|
|
39325
|
-
"needs_attention"
|
|
39325
|
+
"needs_attention",
|
|
39326
|
+
"waiting"
|
|
39326
39327
|
];
|
|
39327
39328
|
var KANBAN_STATUS_SET = new Set(KANBAN_STATUSES);
|
|
39328
39329
|
|
|
@@ -39613,6 +39614,12 @@ var FLAG_REGISTRY = [
|
|
|
39613
39614
|
flagType: "boolean",
|
|
39614
39615
|
defaultValue: false
|
|
39615
39616
|
},
|
|
39617
|
+
{
|
|
39618
|
+
key: "integration-multi-connection",
|
|
39619
|
+
description: "Allow adding a SECOND+ connection of one managed integration on the same agent (ENG-7543 / ADR-0045 Phase 3), discriminated by connection_key (e.g. two Gmail mailboxes). When OFF, only the default connection can be created (today's behaviour: a duplicate 409s). Gates 2nd-connection CREATION only; runtime N-server surfacing is a later phase. Evaluated per-org. Additive capability, not an enforcement control. Boolean gate; ships dark.",
|
|
39620
|
+
flagType: "boolean",
|
|
39621
|
+
defaultValue: false
|
|
39622
|
+
},
|
|
39616
39623
|
{
|
|
39617
39624
|
key: "augmented-live-stream-producer",
|
|
39618
39625
|
description: "Augmented Live live-preview streaming producer (ENG-7210). The receiver (codec, artifact-draft channel, stream route, console Live Preview tab) shipped under ENG-6234 but never engages because nothing writes the working file the manager scanner watches. When ON for an org, a host-side PostToolUse hook mirrors agt-live.publish/editing content to ~/.augmented/{codeName}/artifacts/<slug>/index.html, so the scanner mints a draft and streams a keyframe to the console Live Preview tab. Additive, best-effort. Boolean gate; ships dark. Materialized to the host flags-cache; the bash hook reads it (operator/canary override AGT_LIVE_STREAM_PRODUCER_ENABLED).",
|
|
@@ -40174,6 +40181,21 @@ var FLAG_REGISTRY = [
|
|
|
40174
40181
|
// current behaviour (single-slot injection). Turning it ON only makes the
|
|
40175
40182
|
// fallback MORE conservative (injects less), so it removes no control.
|
|
40176
40183
|
defaultValue: false
|
|
40184
|
+
},
|
|
40185
|
+
{
|
|
40186
|
+
key: "kanban-waiting-status",
|
|
40187
|
+
description: "Let managed agents set the 'waiting' kanban status via POST /host/kanban (ADR-0044 / ENG-7493) - work that has started but is parked on a human decision or an external dependency (a PR review, an approval). This is the DEPLOY-ORDER gate (ADR-0044 section 8): the status value + its migration (20260709000003), the webapp Waiting column, and the ~7-day reaper backstop all ship first, and this flag is flipped ON per org LAST, once they are live - the moment agents are allowed to emit `waiting`. Off (default) = the API rejects an agent `waiting` write with the existing 400, exactly as today. The API gate (evaluated per-org in POST /host/kanban via getEvaluatedFlags()) is the authoritative boundary. It is ALSO materialized host-side into AGT_KANBAN_WAITING_ENABLED (ENG-7591) so the kanban_move MCP tool only exposes `waiting` to agents once the host resolves the flag on - a host-grained UX hint, not the security boundary (the per-org API gate still decides). Ships dark.",
|
|
40188
|
+
flagType: "boolean",
|
|
40189
|
+
// Declared safe value is `false`: agents cannot emit `waiting` until an operator
|
|
40190
|
+
// flips it on for the org, after the migration + webapp column + reaper backstop
|
|
40191
|
+
// are deployed. Turning it ON grants a new capability, so it is not sensitive in
|
|
40192
|
+
// the "relaxing a control" sense, but it MUST stay off until the deploy order is met.
|
|
40193
|
+
defaultValue: false,
|
|
40194
|
+
// Host-side materialization vehicle (ENG-7591): the manager writes this into the
|
|
40195
|
+
// agent's spawn env from the resolved flag so the stdio MCP server (which cannot
|
|
40196
|
+
// call the flag evaluator) can gate the kanban_move `waiting` option. Also the
|
|
40197
|
+
// highest-precedence operator override, per ADR-0022.
|
|
40198
|
+
envVar: "AGT_KANBAN_WAITING_ENABLED"
|
|
40177
40199
|
}
|
|
40178
40200
|
];
|
|
40179
40201
|
var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
writeDirectChatSessionState,
|
|
37
37
|
writeEgressAllowlist,
|
|
38
38
|
writePersistentClaudeWrapper
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-TZKHPDOH.js";
|
|
40
40
|
import "./chunk-XWVM4KPK.js";
|
|
41
41
|
export {
|
|
42
42
|
EGRESS_BASELINE_DOMAINS,
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
writeEgressAllowlist,
|
|
78
78
|
writePersistentClaudeWrapper
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=persistent-session-
|
|
80
|
+
//# sourceMappingURL=persistent-session-MIA4XYG4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TZKHPDOH.js";
|
|
4
4
|
import "./chunk-XWVM4KPK.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/responsiveness-probe.ts
|
|
@@ -418,4 +418,4 @@ export {
|
|
|
418
418
|
readAndResetSlackReplyBindingClassifications,
|
|
419
419
|
readAndResetSlackReplyTargetClassifications
|
|
420
420
|
};
|
|
421
|
-
//# sourceMappingURL=responsiveness-probe-
|
|
421
|
+
//# sourceMappingURL=responsiveness-probe-C4OMAIZQ.js.map
|