@integrity-labs/agt-cli 0.28.604 → 0.28.606

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,10 +40,10 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-TLVS32O4.js";
43
+ } from "../chunk-2JB2MJAV.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-XTLKPF2A.js";
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-V2WCVFDA.js";
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.604" : "dev";
4912
+ var cliVersion = true ? "0.28.606" : "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.604" : "dev";
6092
+ var cliVersion2 = true ? "0.28.606" : "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) => {
@@ -7,7 +7,7 @@ import {
7
7
  expandTemplateVars,
8
8
  isolationMode,
9
9
  parseEnvIntegrations
10
- } from "./chunk-XTLKPF2A.js";
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-V2WCVFDA.js";
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.604" : "dev";
6033
+ var agtCliVersion = true ? "0.28.606" : "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-TLVS32O4.js.map
9508
+ //# sourceMappingURL=chunk-2JB2MJAV.js.map
@@ -16,7 +16,7 @@ import {
16
16
  rotateDailySession,
17
17
  sessionFileExists,
18
18
  todayLocalIso
19
- } from "./chunk-V2WCVFDA.js";
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-XTLKPF2A.js.map
4352
+ //# sourceMappingURL=chunk-DESCRVVM.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.",
@@ -11151,6 +11173,24 @@ var WAITING_KINDS = [
11151
11173
  ];
11152
11174
  var WAITING_KIND_SET = new Set(WAITING_KINDS);
11153
11175
 
11176
+ // ../../packages/core/dist/kanban/artefact.js
11177
+ var ARTEFACT_KINDS = [
11178
+ "live",
11179
+ "dashboard",
11180
+ "document",
11181
+ "spreadsheet",
11182
+ "image",
11183
+ "video",
11184
+ "audio",
11185
+ "skill",
11186
+ "scheduled_task",
11187
+ "knowledge",
11188
+ "pull_request",
11189
+ "issue",
11190
+ "other"
11191
+ ];
11192
+ var ARTEFACT_KIND_SET = new Set(ARTEFACT_KINDS);
11193
+
11154
11194
  // ../../packages/core/dist/conversations/classify.js
11155
11195
  var SYSTEM_CONTENT_MARKERS = [
11156
11196
  /\(synthetic-health-check\b/i
@@ -11888,4 +11928,4 @@ export {
11888
11928
  minutesSinceLocalMidnight,
11889
11929
  peekCurrentSession
11890
11930
  };
11891
- //# sourceMappingURL=chunk-V2WCVFDA.js.map
11931
+ //# sourceMappingURL=chunk-FF7H4K7I.js.map