@integrity-labs/agt-cli 0.28.605 → 0.28.607
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 +5 -5
- package/dist/{chunk-4MYANQKP.js → chunk-DESCRVVM.js} +2 -2
- package/dist/{chunk-2NXKEFGS.js → chunk-DYADWFBV.js} +4 -4
- package/dist/{chunk-7F64BKXG.js → chunk-FF7H4K7I.js} +23 -1
- package/dist/chunk-FF7H4K7I.js.map +1 -0
- package/dist/{claude-pair-runtime-DW3XFIV6.js → claude-pair-runtime-3Y6ZICI3.js} +2 -2
- package/dist/lib/manager-worker.js +55 -16
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/direct-chat-channel.js +22 -0
- package/dist/mcp/origami.js +22 -0
- package/dist/mcp/slack-channel.js +22 -0
- package/dist/mcp/telegram-channel.js +22 -0
- package/dist/{persistent-session-4GJXG3PK.js → persistent-session-HOFUHGKI.js} +3 -3
- package/dist/{responsiveness-probe-YXNVZ7SO.js → responsiveness-probe-KQGY6RMW.js} +3 -3
- package/dist/{session-auth-dead-7DNO4XES.js → session-auth-dead-Q6AY5HC7.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-7F64BKXG.js.map +0 -1
- /package/dist/{chunk-4MYANQKP.js.map → chunk-DESCRVVM.js.map} +0 -0
- /package/dist/{chunk-2NXKEFGS.js.map → chunk-DYADWFBV.js.map} +0 -0
- /package/dist/{claude-pair-runtime-DW3XFIV6.js.map → claude-pair-runtime-3Y6ZICI3.js.map} +0 -0
- /package/dist/{persistent-session-4GJXG3PK.js.map → persistent-session-HOFUHGKI.js.map} +0 -0
- /package/dist/{responsiveness-probe-YXNVZ7SO.js.map → responsiveness-probe-KQGY6RMW.js.map} +0 -0
- /package/dist/{session-auth-dead-7DNO4XES.js.map → session-auth-dead-Q6AY5HC7.js.map} +0 -0
package/dist/bin/agt.js
CHANGED
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
success,
|
|
41
41
|
table,
|
|
42
42
|
warn
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-DYADWFBV.js";
|
|
44
44
|
import {
|
|
45
45
|
readDirectChatSessionState
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-DESCRVVM.js";
|
|
47
47
|
import {
|
|
48
48
|
AnchorSessionClient,
|
|
49
49
|
CHANNEL_REGISTRY,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
requiredMcpWildcard,
|
|
74
74
|
resolveChannels,
|
|
75
75
|
serializeManifestForSlackCli
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-FF7H4K7I.js";
|
|
77
77
|
import "../chunk-XWVM4KPK.js";
|
|
78
78
|
|
|
79
79
|
// src/bin/agt.ts
|
|
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
|
|
|
4909
4909
|
import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
|
|
4910
4910
|
import chalk18 from "chalk";
|
|
4911
4911
|
import ora16 from "ora";
|
|
4912
|
-
var cliVersion = true ? "0.28.
|
|
4912
|
+
var cliVersion = true ? "0.28.607" : "dev";
|
|
4913
4913
|
async function fetchLatestVersion() {
|
|
4914
4914
|
const host2 = getHost();
|
|
4915
4915
|
if (!host2) return null;
|
|
@@ -6089,7 +6089,7 @@ function handleError(err) {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
|
|
6091
6091
|
// src/bin/agt.ts
|
|
6092
|
-
var cliVersion2 = true ? "0.28.
|
|
6092
|
+
var cliVersion2 = true ? "0.28.607" : "dev";
|
|
6093
6093
|
var program = new Command();
|
|
6094
6094
|
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");
|
|
6095
6095
|
program.hook("preAction", async (thisCommand, actionCommand) => {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
rotateDailySession,
|
|
17
17
|
sessionFileExists,
|
|
18
18
|
todayLocalIso
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FF7H4K7I.js";
|
|
20
20
|
import {
|
|
21
21
|
reapOrphanChannelMcps
|
|
22
22
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -4349,4 +4349,4 @@ export {
|
|
|
4349
4349
|
stopAllSessionsAndWait,
|
|
4350
4350
|
getProjectDir
|
|
4351
4351
|
};
|
|
4352
|
-
//# sourceMappingURL=chunk-
|
|
4352
|
+
//# sourceMappingURL=chunk-DESCRVVM.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
expandTemplateVars,
|
|
8
8
|
isolationMode,
|
|
9
9
|
parseEnvIntegrations
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DESCRVVM.js";
|
|
11
11
|
import {
|
|
12
12
|
BIND_FAILURE_QUARANTINE_THRESHOLD,
|
|
13
13
|
INTEGRATIONS_SECTION_END,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
resolveConnectivityProbe,
|
|
49
49
|
worseConnectivityOutcome,
|
|
50
50
|
wrapScheduledTaskPrompt
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-FF7H4K7I.js";
|
|
52
52
|
import {
|
|
53
53
|
parsePsRows
|
|
54
54
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -6030,7 +6030,7 @@ function exchangeFailureKind(err) {
|
|
|
6030
6030
|
}
|
|
6031
6031
|
|
|
6032
6032
|
// src/lib/api-client.ts
|
|
6033
|
-
var agtCliVersion = true ? "0.28.
|
|
6033
|
+
var agtCliVersion = true ? "0.28.607" : "dev";
|
|
6034
6034
|
var lastConfigHash = null;
|
|
6035
6035
|
function setConfigHash(hash) {
|
|
6036
6036
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -9505,4 +9505,4 @@ export {
|
|
|
9505
9505
|
managerInstallSystemUnitCommand,
|
|
9506
9506
|
managerUninstallSystemUnitCommand
|
|
9507
9507
|
};
|
|
9508
|
-
//# sourceMappingURL=chunk-
|
|
9508
|
+
//# sourceMappingURL=chunk-DYADWFBV.js.map
|
|
@@ -4855,6 +4855,28 @@ var FLAG_REGISTRY = [
|
|
|
4855
4855
|
// to migrate (ADR-0022).
|
|
4856
4856
|
defaultValue: false
|
|
4857
4857
|
},
|
|
4858
|
+
{
|
|
4859
|
+
key: "kanban-nudge-before-reap",
|
|
4860
|
+
description: "Ask a quiet agent before reaping its card (ENG-8906). The kanban stale-reaper decides an in_progress card is dead from silence on a clock, and silence is identical for a BUSY agent and a WEDGED one - ENG-8669 was parked as stalled while its agent was healthily blocked on CI polls and a 15-20 minute SST deploy. When ON, a card that passes the quiet threshold gets up to MAX_KANBAN_NUDGES (2) targeted direct-chat nudges over the existing ENG-4892 probe rail before any verdict is taken; the card is only reaped if it is still not renewed. Renewal must come from a kanban_progress call that moves lease_expires_at - a chat reply proves the session is responsive, not that the agent still holds the card, so answering in chat alone does NOT save it. Metered / OpenRouter agents are never nudged unless synthetic-probe-on-metered-hosts is also ON (ENG-7235: a nudge there is real customer spend), and keep the passive clock path. When OFF (default) the sweep is byte-identical to its pre-ENG-8906 behaviour. Evaluated as a global stage value by the kanban-stale-item-reaper cron. Boolean gate; ships dark.",
|
|
4861
|
+
flagType: "boolean",
|
|
4862
|
+
// Declared safe value is `false` = do not nudge. Two independent reasons,
|
|
4863
|
+
// and both point the same way:
|
|
4864
|
+
//
|
|
4865
|
+
// COST - a nudge is a model round-trip. It is a cheap one (AC1 measured
|
|
4866
|
+
// a mid-turn nudge at ~43-46K input-equivalent tokens against ~294-469K
|
|
4867
|
+
// to wake an idle agent, 6.8x-10.2x cheaper), but "cheap" is not "free"
|
|
4868
|
+
// and a flag-DB error must not silently arm fleet-wide message volume.
|
|
4869
|
+
//
|
|
4870
|
+
// CORRECTNESS - `nudge` is a third StaleReapAction, and any consumer that
|
|
4871
|
+
// has not been taught about it branches `action === 'auto_return' ? todo
|
|
4872
|
+
// : needs_attention` and would DEAD-LETTER the card. Off is the state in
|
|
4873
|
+
// which no un-taught caller can be handed the new action.
|
|
4874
|
+
//
|
|
4875
|
+
// So the cron's flag read fails closed: an error degrades to today's
|
|
4876
|
+
// behaviour rather than to a live experiment. No envVar - net-new control
|
|
4877
|
+
// with no pre-flags env gate to migrate (ADR-0022).
|
|
4878
|
+
defaultValue: false
|
|
4879
|
+
},
|
|
4858
4880
|
{
|
|
4859
4881
|
key: "skill-dreaming",
|
|
4860
4882
|
description: "Memory-driven skill improvement (ENG-6500): the nightly dreaming cron analyzes each agent's promoted agent_memories against its in-scope skills (agent/team/org/global) and auto-drafts concrete skill improvements as status=draft skill_definitions. Drafts carry their evidence memories + rationale + confidence as provenance and flow through the existing scan \u2192 Pending-Skills review \u2192 publish funnel \u2014 never auto-published. Boolean gate; ships dark \u2014 when off the cron drafts nothing, so 0 skill-dreaming drafts is the expected steady state until an org is armed from the admin Feature Flags page.",
|
|
@@ -11906,4 +11928,4 @@ export {
|
|
|
11906
11928
|
minutesSinceLocalMidnight,
|
|
11907
11929
|
peekCurrentSession
|
|
11908
11930
|
};
|
|
11909
|
-
//# sourceMappingURL=chunk-
|
|
11931
|
+
//# sourceMappingURL=chunk-FF7H4K7I.js.map
|