@integrity-labs/agt-cli 0.28.660 → 0.28.661

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-ESEOTR5J.js";
43
+ } from "../chunk-WDCI3FYP.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-Y63W2XP5.js";
46
+ } from "../chunk-5JAUM7J2.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-VR3VB3FR.js";
76
+ } from "../chunk-SU2J2QRH.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.660" : "dev";
4912
+ var cliVersion = true ? "0.28.661" : "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.660" : "dev";
6092
+ var cliVersion2 = true ? "0.28.661" : "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-VR3VB3FR.js";
19
+ } from "./chunk-SU2J2QRH.js";
20
20
  import {
21
21
  reapOrphanChannelMcps
22
22
  } from "./chunk-XWVM4KPK.js";
@@ -4322,4 +4322,4 @@ export {
4322
4322
  stopAllSessionsAndWait,
4323
4323
  getProjectDir
4324
4324
  };
4325
- //# sourceMappingURL=chunk-Y63W2XP5.js.map
4325
+ //# sourceMappingURL=chunk-5JAUM7J2.js.map
@@ -12334,4 +12334,4 @@ export {
12334
12334
  minutesSinceLocalMidnight,
12335
12335
  peekCurrentSession
12336
12336
  };
12337
- //# sourceMappingURL=chunk-VR3VB3FR.js.map
12337
+ //# sourceMappingURL=chunk-SU2J2QRH.js.map
@@ -8,7 +8,7 @@ import {
8
8
  isolationMode,
9
9
  log,
10
10
  parseEnvIntegrations
11
- } from "./chunk-Y63W2XP5.js";
11
+ } from "./chunk-5JAUM7J2.js";
12
12
  import {
13
13
  BIND_FAILURE_QUARANTINE_THRESHOLD,
14
14
  INTEGRATIONS_SECTION_END,
@@ -55,7 +55,7 @@ import {
55
55
  resolveConnectivityProbe,
56
56
  worseConnectivityOutcome,
57
57
  wrapScheduledTaskPrompt
58
- } from "./chunk-VR3VB3FR.js";
58
+ } from "./chunk-SU2J2QRH.js";
59
59
  import {
60
60
  parsePsRows
61
61
  } from "./chunk-XWVM4KPK.js";
@@ -6342,7 +6342,7 @@ function exchangeFailureKind(err) {
6342
6342
  }
6343
6343
 
6344
6344
  // src/lib/api-client.ts
6345
- var agtCliVersion = true ? "0.28.660" : "dev";
6345
+ var agtCliVersion = true ? "0.28.661" : "dev";
6346
6346
  var lastConfigHash = null;
6347
6347
  function setConfigHash(hash) {
6348
6348
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10084,4 +10084,4 @@ export {
10084
10084
  managerInstallSystemUnitCommand,
10085
10085
  managerUninstallSystemUnitCommand
10086
10086
  };
10087
- //# sourceMappingURL=chunk-ESEOTR5J.js.map
10087
+ //# sourceMappingURL=chunk-WDCI3FYP.js.map
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
100
100
  return { ok: true };
101
101
  } catch {
102
102
  }
103
- const { resolveClaudeBinary } = await import("./persistent-session-ADS4LIGF.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-WOZN2ORO.js");
104
104
  const claudeBin = resolveClaudeBinary();
105
105
  const pairEnv = {
106
106
  ...process.env,
@@ -373,4 +373,4 @@ export {
373
373
  startClaudePair,
374
374
  submitClaudePairCode
375
375
  };
376
- //# sourceMappingURL=claude-pair-runtime-JMESZQPN.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-AAHU6VUL.js.map
@@ -55,7 +55,7 @@ import {
55
55
  safeWriteJsonAtomic,
56
56
  setConfigHash,
57
57
  tripClass
58
- } from "../chunk-ESEOTR5J.js";
58
+ } from "../chunk-WDCI3FYP.js";
59
59
  import {
60
60
  getProjectDir as getProjectDir2,
61
61
  getReadyTasks,
@@ -111,7 +111,7 @@ import {
111
111
  takeZombieDetection,
112
112
  toOpencodeModel,
113
113
  writeEgressAllowlist
114
- } from "../chunk-Y63W2XP5.js";
114
+ } from "../chunk-5JAUM7J2.js";
115
115
  import {
116
116
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
117
117
  AnchorSessionClient,
@@ -192,7 +192,7 @@ import {
192
192
  subagentActivityAgeSeconds,
193
193
  sumTranscriptUsageInWindow,
194
194
  transcriptActivityAgeSeconds
195
- } from "../chunk-VR3VB3FR.js";
195
+ } from "../chunk-SU2J2QRH.js";
196
196
  import {
197
197
  reapOrphanChannelMcps
198
198
  } from "../chunk-XWVM4KPK.js";
@@ -11609,7 +11609,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
11609
11609
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
11610
11610
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
11611
11611
  async function channelInboundActivityAgeSecondsFor(codeName) {
11612
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-EII7QAGR.js");
11612
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-APGLAESO.js");
11613
11613
  const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
11614
11614
  if (newest === null) return null;
11615
11615
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -12252,7 +12252,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
12252
12252
  var lastVersionCheckAt = 0;
12253
12253
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
12254
12254
  var lastResponsivenessProbeAt = 0;
12255
- var agtCliVersion = true ? "0.28.660" : "dev";
12255
+ var agtCliVersion = true ? "0.28.661" : "dev";
12256
12256
  function resolveBrewPath(execFileSync3) {
12257
12257
  try {
12258
12258
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -13562,7 +13562,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
13562
13562
  if (codeNames.length === 0) return;
13563
13563
  void (async () => {
13564
13564
  try {
13565
- const { collectDiagnostics } = await import("../persistent-session-ADS4LIGF.js");
13565
+ const { collectDiagnostics } = await import("../persistent-session-WOZN2ORO.js");
13566
13566
  await api.post("/host/heartbeat", {
13567
13567
  host_id: hostId,
13568
13568
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -13678,7 +13678,7 @@ async function pollCycleInner() {
13678
13678
  }
13679
13679
  try {
13680
13680
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
13681
- const { collectDiagnostics } = await import("../persistent-session-ADS4LIGF.js");
13681
+ const { collectDiagnostics } = await import("../persistent-session-WOZN2ORO.js");
13682
13682
  const diagCodeNames = [...agentState.persistentSessionAgents];
13683
13683
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor) : void 0;
13684
13684
  let tailscaleHostname;
@@ -13801,7 +13801,7 @@ async function pollCycleInner() {
13801
13801
  collectPanelessActivityProbes,
13802
13802
  getResponsivenessIntervalMs,
13803
13803
  occupancyQualificationClassifications
13804
- } = await import("../responsiveness-probe-EII7QAGR.js");
13804
+ } = await import("../responsiveness-probe-APGLAESO.js");
13805
13805
  const probeIntervalMs = getResponsivenessIntervalMs();
13806
13806
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
13807
13807
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -13911,7 +13911,7 @@ async function pollCycleInner() {
13911
13911
  collectResponsivenessProbes,
13912
13912
  livePendingInboundOldestAgeSeconds,
13913
13913
  parkPendingInbound
13914
- } = await import("../responsiveness-probe-EII7QAGR.js");
13914
+ } = await import("../responsiveness-probe-APGLAESO.js");
13915
13915
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
13916
13916
  const wedgeNow = /* @__PURE__ */ new Date();
13917
13917
  const liveAgents = agentState.persistentSessionAgents;
@@ -14067,7 +14067,7 @@ async function pollCycleInner() {
14067
14067
  }
14068
14068
  try {
14069
14069
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
14070
- const { probeSessionAuth } = await import("../session-auth-dead-TY2WU55Z.js");
14070
+ const { probeSessionAuth } = await import("../session-auth-dead-SMMFC3UF.js");
14071
14071
  const observations = [];
14072
14072
  const pendingCacheCommits = [];
14073
14073
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -17700,7 +17700,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
17700
17700
  void api.post("/host/restart-ack", { host_id: hostId, agent_id: agentId, restart_requested_at: requestedAt }).catch((err) => log(`[restart-lane] ack failed for '${codeName}': ${err.message}`));
17701
17701
  void (async () => {
17702
17702
  try {
17703
- const { collectDiagnostics } = await import("../persistent-session-ADS4LIGF.js");
17703
+ const { collectDiagnostics } = await import("../persistent-session-WOZN2ORO.js");
17704
17704
  await api.post("/host/heartbeat", {
17705
17705
  host_id: hostId,
17706
17706
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -17751,7 +17751,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
17751
17751
  }
17752
17752
  try {
17753
17753
  const hostId = await getHostId();
17754
- const { collectDiagnostics } = await import("../persistent-session-ADS4LIGF.js");
17754
+ const { collectDiagnostics } = await import("../persistent-session-WOZN2ORO.js");
17755
17755
  await api.post("/host/heartbeat", {
17756
17756
  host_id: hostId,
17757
17757
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -18348,7 +18348,7 @@ async function processClaudePairSessions(agents) {
18348
18348
  killPairSession,
18349
18349
  pairTmuxSession,
18350
18350
  finalizeClaudePairOnboarding
18351
- } = await import("../claude-pair-runtime-JMESZQPN.js");
18351
+ } = await import("../claude-pair-runtime-AAHU6VUL.js");
18352
18352
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
18353
18353
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
18354
18354
  const killed = await killPairSession(pairTmuxSession(pairId));
package/dist/mcp/index.js CHANGED
@@ -37309,6 +37309,12 @@ function describeFeatureRequestResult(resp) {
37309
37309
  isError: false
37310
37310
  };
37311
37311
  }
37312
+ if (resp.status === "catalogue_match") {
37313
+ return {
37314
+ text: `Not filed \u2014 we already sell this. ${resp.message ?? ""}`.trim(),
37315
+ isError: false
37316
+ };
37317
+ }
37312
37318
  return {
37313
37319
  text: `Could not submit the feature request${resp.message ? `: ${resp.message}` : ""}. Tell your operator what you need and don't keep retrying.`,
37314
37320
  isError: true
@@ -44635,6 +44641,9 @@ server.tool(
44635
44641
  provider: external_exports.string().max(120).optional().describe(
44636
44642
  'For feature_type="integration": the name of the service/provider requested (e.g. "Notion", "QuickBooks"). Omit for other types.'
44637
44643
  ),
44644
+ acknowledged_catalogue_alternative: external_exports.boolean().optional().describe(
44645
+ "ENG-9246. Leave this unset on a first attempt. If your request is declined because Augmented already sells the capability, the reply names the integration and the request_integration_access call to make instead \u2014 do that. Only set this to true, and say why in the description, when the customer genuinely needs a DIFFERENT vendor rather than the capability itself. It does not make a stronger case; it just records that you checked."
44646
+ ),
44638
44647
  requester_email: external_exports.string().email().max(320).optional().describe(
44639
44648
  "The email address of the end user who asked for this, so Augmented Team can email them when it is resolved. Only include an email the user has given you and agreed to be contacted at - do NOT guess or invent one. Omit if you don't have their consent or an address."
44640
44649
  ),
@@ -44658,7 +44667,8 @@ server.tool(
44658
44667
  description: params.description,
44659
44668
  ...params.provider ? { provider: params.provider } : {},
44660
44669
  ...params.requester_email ? { requester_email: params.requester_email } : {},
44661
- ...params.requester_user_id ? { requester_user_id: params.requester_user_id } : {}
44670
+ ...params.requester_user_id ? { requester_user_id: params.requester_user_id } : {},
44671
+ ...params.acknowledged_catalogue_alternative ? { acknowledged_catalogue_alternative: true } : {}
44662
44672
  });
44663
44673
  } catch (err) {
44664
44674
  return {
@@ -43,8 +43,8 @@ import {
43
43
  writeDirectChatSessionState,
44
44
  writeEgressAllowlist,
45
45
  writePersistentClaudeWrapper
46
- } from "./chunk-Y63W2XP5.js";
47
- import "./chunk-VR3VB3FR.js";
46
+ } from "./chunk-5JAUM7J2.js";
47
+ import "./chunk-SU2J2QRH.js";
48
48
  import "./chunk-XWVM4KPK.js";
49
49
  export {
50
50
  EGRESS_BASELINE_DOMAINS,
@@ -92,4 +92,4 @@ export {
92
92
  writeEgressAllowlist,
93
93
  writePersistentClaudeWrapper
94
94
  };
95
- //# sourceMappingURL=persistent-session-ADS4LIGF.js.map
95
+ //# sourceMappingURL=persistent-session-WOZN2ORO.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-Y63W2XP5.js";
4
- import "./chunk-VR3VB3FR.js";
3
+ } from "./chunk-5JAUM7J2.js";
4
+ import "./chunk-SU2J2QRH.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -727,4 +727,4 @@ export {
727
727
  readAndResetSlackReplyBindingClassifications,
728
728
  readAndResetSlackReplyTargetClassifications
729
729
  };
730
- //# sourceMappingURL=responsiveness-probe-EII7QAGR.js.map
730
+ //# sourceMappingURL=responsiveness-probe-APGLAESO.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-VR3VB3FR.js";
3
+ } from "./chunk-SU2J2QRH.js";
4
4
 
5
5
  // src/lib/session-auth-dead.ts
6
6
  import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
@@ -203,4 +203,4 @@ export {
203
203
  decideSessionAuthState,
204
204
  probeSessionAuth
205
205
  };
206
- //# sourceMappingURL=session-auth-dead-TY2WU55Z.js.map
206
+ //# sourceMappingURL=session-auth-dead-SMMFC3UF.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.660",
3
+ "version": "0.28.661",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {