@integrity-labs/agt-cli 0.28.285 → 0.28.287
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-RV3QCCHF.js → chunk-5KMXIPB5.js} +3 -3
- package/dist/{chunk-TZKHPDOH.js → chunk-GAPJUQFT.js} +25 -2
- package/dist/chunk-GAPJUQFT.js.map +1 -0
- package/dist/{claude-pair-runtime-2VTCDNBY.js → claude-pair-runtime-ZVPAZDXX.js} +2 -2
- package/dist/lib/manager-worker.js +21 -12
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/index.js +27 -4
- package/dist/mcp/origami.js +24 -1
- package/dist/{persistent-session-MIA4XYG4.js → persistent-session-6Z57G6PS.js} +2 -2
- package/dist/{responsiveness-probe-C4OMAIZQ.js → responsiveness-probe-Y7BRLZ7O.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-TZKHPDOH.js.map +0 -1
- /package/dist/{chunk-RV3QCCHF.js.map → chunk-5KMXIPB5.js.map} +0 -0
- /package/dist/{claude-pair-runtime-2VTCDNBY.js.map → claude-pair-runtime-ZVPAZDXX.js.map} +0 -0
- /package/dist/{persistent-session-MIA4XYG4.js.map → persistent-session-6Z57G6PS.js.map} +0 -0
- /package/dist/{responsiveness-probe-C4OMAIZQ.js.map → responsiveness-probe-Y7BRLZ7O.js.map} +0 -0
package/dist/mcp/index.js
CHANGED
|
@@ -21780,7 +21780,7 @@ server.tool(
|
|
|
21780
21780
|
}
|
|
21781
21781
|
);
|
|
21782
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).';
|
|
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"). When the wait is on a pull request, set waiting_kind ("pr-review" while it awaits review, "pr-merged" while it awaits merge) plus waiting_repo ("owner/repo") and waiting_pr (the number) INSTEAD of waiting_on - the card then links straight to the PR and can auto-resume when it lands. 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
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.';
|
|
21785
21785
|
server.tool(
|
|
21786
21786
|
"kanban_move",
|
|
@@ -21792,8 +21792,15 @@ server.tool(
|
|
|
21792
21792
|
notes: external_exports.string().optional().describe("Progress notes"),
|
|
21793
21793
|
...AGT_KANBAN_WAITING_ENABLED ? {
|
|
21794
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 ("
|
|
21796
|
-
)
|
|
21795
|
+
'Only with status="waiting", for a NON-PR wait: the single concrete action you are parked on, phrased as an instruction ("Approve the budget", "Answer my question"). Shown as the card headline. For a PR wait use waiting_kind/waiting_repo/waiting_pr instead.'
|
|
21796
|
+
),
|
|
21797
|
+
waiting_kind: external_exports.enum(["pr-review", "pr-merged", "human", "external"]).optional().describe(
|
|
21798
|
+
'Only with status="waiting": what kind of thing you are waiting on. "pr-review" = a pull request awaiting review, "pr-merged" = a reviewed PR awaiting merge (both require waiting_repo + waiting_pr and let the card link to the PR and auto-resume). "human" = a person must decide/answer, "external" = a non-PR dependency (deploy, third party); for those two, describe it in waiting_on. Omit for an untyped wait.'
|
|
21799
|
+
),
|
|
21800
|
+
waiting_repo: external_exports.string().optional().describe(
|
|
21801
|
+
'Only with a pr-* waiting_kind: the "owner/repo" the pull request lives in (e.g. "Integrity-Labs/augmented").'
|
|
21802
|
+
),
|
|
21803
|
+
waiting_pr: external_exports.number().int().positive().optional().describe("Only with a pr-* waiting_kind: the pull request number (e.g. 3120).")
|
|
21797
21804
|
} : {}
|
|
21798
21805
|
},
|
|
21799
21806
|
async (params) => {
|
|
@@ -21803,6 +21810,20 @@ server.tool(
|
|
|
21803
21810
|
isError: true
|
|
21804
21811
|
};
|
|
21805
21812
|
}
|
|
21813
|
+
const p = params;
|
|
21814
|
+
const isPrKind = p.waiting_kind === "pr-review" || p.waiting_kind === "pr-merged";
|
|
21815
|
+
if (isPrKind && (!p.waiting_repo || p.waiting_pr === void 0)) {
|
|
21816
|
+
return {
|
|
21817
|
+
content: [
|
|
21818
|
+
{
|
|
21819
|
+
type: "text",
|
|
21820
|
+
text: `Error: waiting_kind="${p.waiting_kind}" requires waiting_repo ("owner/repo") and waiting_pr (the PR number).`
|
|
21821
|
+
}
|
|
21822
|
+
],
|
|
21823
|
+
isError: true
|
|
21824
|
+
};
|
|
21825
|
+
}
|
|
21826
|
+
const waitingContext = isPrKind ? { repo: p.waiting_repo, pr_number: p.waiting_pr } : void 0;
|
|
21806
21827
|
const data = await apiPost("/host/kanban", {
|
|
21807
21828
|
agent_id: AGT_AGENT_ID,
|
|
21808
21829
|
update: [
|
|
@@ -21811,7 +21832,9 @@ server.tool(
|
|
|
21811
21832
|
title: params.title,
|
|
21812
21833
|
status: params.status,
|
|
21813
21834
|
notes: params.notes,
|
|
21814
|
-
waiting_on:
|
|
21835
|
+
waiting_on: isPrKind ? void 0 : p.waiting_on,
|
|
21836
|
+
waiting_kind: p.waiting_kind,
|
|
21837
|
+
waiting_context: waitingContext
|
|
21815
21838
|
}
|
|
21816
21839
|
]
|
|
21817
21840
|
});
|
package/dist/mcp/origami.js
CHANGED
|
@@ -37785,6 +37785,15 @@ var MSTEAMS_SCOPE_PRESETS = {
|
|
|
37785
37785
|
full: MSTEAMS_SCOPE_REGISTRY.map((s) => s.scope)
|
|
37786
37786
|
};
|
|
37787
37787
|
|
|
37788
|
+
// ../core/dist/channels/kanban-card-state.js
|
|
37789
|
+
var KANBAN_TERMINAL_STATUSES = /* @__PURE__ */ new Set([
|
|
37790
|
+
"done",
|
|
37791
|
+
"failed",
|
|
37792
|
+
"cancelled",
|
|
37793
|
+
"needs_attention"
|
|
37794
|
+
]);
|
|
37795
|
+
var KANBAN_TERMINAL_STATUS_INLIST = `(${[...KANBAN_TERMINAL_STATUSES].join(",")})`;
|
|
37796
|
+
|
|
37788
37797
|
// ../core/dist/channels/azure-provisioning.js
|
|
37789
37798
|
var AAD_OIDC_SCOPES = ["offline_access", "openid", "profile"];
|
|
37790
37799
|
var AZURE_ARM_SCOPES = [
|
|
@@ -39327,6 +39336,15 @@ var KANBAN_STATUSES = [
|
|
|
39327
39336
|
];
|
|
39328
39337
|
var KANBAN_STATUS_SET = new Set(KANBAN_STATUSES);
|
|
39329
39338
|
|
|
39339
|
+
// ../core/dist/kanban/waiting.js
|
|
39340
|
+
var WAITING_KINDS = [
|
|
39341
|
+
"pr-review",
|
|
39342
|
+
"pr-merged",
|
|
39343
|
+
"human",
|
|
39344
|
+
"external"
|
|
39345
|
+
];
|
|
39346
|
+
var WAITING_KIND_SET = new Set(WAITING_KINDS);
|
|
39347
|
+
|
|
39330
39348
|
// ../core/dist/conversations/metrics.js
|
|
39331
39349
|
var PERIOD_CONFIG = {
|
|
39332
39350
|
"24h": { windowMs: 24 * 60 * 60 * 1e3, bucket: "hour" },
|
|
@@ -39618,7 +39636,12 @@ var FLAG_REGISTRY = [
|
|
|
39618
39636
|
key: "integration-multi-connection",
|
|
39619
39637
|
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
39638
|
flagType: "boolean",
|
|
39621
|
-
defaultValue: false
|
|
39639
|
+
defaultValue: false,
|
|
39640
|
+
// Exposed to the browser so the add-integration dialog can show the
|
|
39641
|
+
// "Add another connection" affordance only when the org is enabled (rather
|
|
39642
|
+
// than rendering a control whose create POST would 403). Additive, not
|
|
39643
|
+
// sensitive.
|
|
39644
|
+
public: true
|
|
39622
39645
|
},
|
|
39623
39646
|
{
|
|
39624
39647
|
key: "augmented-live-stream-producer",
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
writeDirectChatSessionState,
|
|
37
37
|
writeEgressAllowlist,
|
|
38
38
|
writePersistentClaudeWrapper
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GAPJUQFT.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-6Z57G6PS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paneLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GAPJUQFT.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-Y7BRLZ7O.js.map
|