@integrity-labs/agt-cli 0.28.1147 → 0.28.1149

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.
Files changed (32) hide show
  1. package/dist/bin/agt.js +22 -14
  2. package/dist/bin/agt.js.map +1 -1
  3. package/dist/{chunk-FISAZWZ3.js → chunk-AJ2Z3VSN.js} +2 -2
  4. package/dist/{chunk-SF7ZOIKU.js → chunk-LMJH26IW.js} +10 -10
  5. package/dist/{chunk-WDC6ZLG5.js → chunk-NSX27ZTP.js} +4 -4
  6. package/dist/{chunk-NBKNLVIB.js → chunk-OISSVMYG.js} +12 -12
  7. package/dist/{chunk-XZ6THC7Q.js → chunk-TLDY7AE4.js} +9 -1
  8. package/dist/chunk-TLDY7AE4.js.map +1 -0
  9. package/dist/{claude-code-updater-SWTQNL3W.js → claude-code-updater-JXL4CM2V.js} +3 -3
  10. package/dist/{claude-pair-runtime-4GZOYK4O.js → claude-pair-runtime-7QPXNON3.js} +74 -11
  11. package/dist/claude-pair-runtime-7QPXNON3.js.map +1 -0
  12. package/dist/lib/manager-worker.js +41 -48
  13. package/dist/lib/manager-worker.js.map +1 -1
  14. package/dist/mcp/direct-chat-channel.js +4 -0
  15. package/dist/mcp/index.js +4 -0
  16. package/dist/mcp/origami.js +4 -0
  17. package/dist/mcp/slack-channel.js +4 -0
  18. package/dist/mcp/telegram-channel.js +4 -0
  19. package/dist/{persistent-session-JKX5IIHF.js → persistent-session-YKRO5RLK.js} +4 -4
  20. package/dist/{responsiveness-probe-IWC6K5NQ.js → responsiveness-probe-LVRBC2AA.js} +4 -4
  21. package/dist/{session-auth-dead-U5JSZD5Z.js → session-auth-dead-FREXPXHN.js} +3 -3
  22. package/package.json +1 -1
  23. package/dist/chunk-XZ6THC7Q.js.map +0 -1
  24. package/dist/claude-pair-runtime-4GZOYK4O.js.map +0 -1
  25. /package/dist/{chunk-FISAZWZ3.js.map → chunk-AJ2Z3VSN.js.map} +0 -0
  26. /package/dist/{chunk-SF7ZOIKU.js.map → chunk-LMJH26IW.js.map} +0 -0
  27. /package/dist/{chunk-WDC6ZLG5.js.map → chunk-NSX27ZTP.js.map} +0 -0
  28. /package/dist/{chunk-NBKNLVIB.js.map → chunk-OISSVMYG.js.map} +0 -0
  29. /package/dist/{claude-code-updater-SWTQNL3W.js.map → claude-code-updater-JXL4CM2V.js.map} +0 -0
  30. /package/dist/{persistent-session-JKX5IIHF.js.map → persistent-session-YKRO5RLK.js.map} +0 -0
  31. /package/dist/{responsiveness-probe-IWC6K5NQ.js.map → responsiveness-probe-LVRBC2AA.js.map} +0 -0
  32. /package/dist/{session-auth-dead-U5JSZD5Z.js.map → session-auth-dead-FREXPXHN.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeClaudeProjectPath
3
- } from "./chunk-XZ6THC7Q.js";
3
+ } from "./chunk-TLDY7AE4.js";
4
4
 
5
5
  // src/lib/daily-session.ts
6
6
  import { randomUUID } from "crypto";
@@ -235,4 +235,4 @@ export {
235
235
  peekCurrentSession,
236
236
  readDailySessionPin
237
237
  };
238
- //# sourceMappingURL=chunk-FISAZWZ3.js.map
238
+ //# sourceMappingURL=chunk-AJ2Z3VSN.js.map
@@ -16,11 +16,11 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-NBKNLVIB.js";
19
+ } from "./chunk-OISSVMYG.js";
20
20
  import {
21
21
  readDailySessionPin,
22
22
  sessionTranscriptDir
23
- } from "./chunk-FISAZWZ3.js";
23
+ } from "./chunk-AJ2Z3VSN.js";
24
24
  import {
25
25
  classifyUnanswerablePane,
26
26
  isConsumerTermsDialogVisible,
@@ -30,6 +30,11 @@ import {
30
30
  import {
31
31
  parsePsRows
32
32
  } from "./chunk-XWVM4KPK.js";
33
+ import {
34
+ claudeJsonPathFor,
35
+ effectiveClaudeJsonPath,
36
+ inspectClaudeConfig
37
+ } from "./chunk-EL5MWGGH.js";
33
38
  import {
34
39
  BIND_FAILURE_QUARANTINE_THRESHOLD,
35
40
  INTEGRATIONS_SECTION_END,
@@ -90,12 +95,7 @@ import {
90
95
  scanConfigForLiteralSecrets,
91
96
  worseConnectivityOutcome,
92
97
  wrapScheduledTaskPrompt
93
- } from "./chunk-XZ6THC7Q.js";
94
- import {
95
- claudeJsonPathFor,
96
- effectiveClaudeJsonPath,
97
- inspectClaudeConfig
98
- } from "./chunk-EL5MWGGH.js";
98
+ } from "./chunk-TLDY7AE4.js";
99
99
 
100
100
  // ../../packages/core/dist/provisioning/mcp-config-guards.js
101
101
  import { chmodSync, existsSync, readFileSync, renameSync, writeFileSync, unlinkSync } from "fs";
@@ -8078,7 +8078,7 @@ function exchangeFailureKind(err) {
8078
8078
  }
8079
8079
 
8080
8080
  // src/lib/api-client.ts
8081
- var agtCliVersion = true ? "0.28.1147" : "dev";
8081
+ var agtCliVersion = true ? "0.28.1149" : "dev";
8082
8082
  var lastConfigHash = null;
8083
8083
  function setConfigHash(hash) {
8084
8084
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -13235,4 +13235,4 @@ export {
13235
13235
  managerInstallSystemUnitCommand,
13236
13236
  managerUninstallSystemUnitCommand
13237
13237
  };
13238
- //# sourceMappingURL=chunk-SF7ZOIKU.js.map
13238
+ //# sourceMappingURL=chunk-LMJH26IW.js.map
@@ -2,12 +2,12 @@ import {
2
2
  CLAUDE_AGENT_PROCESS_PATTERN,
3
3
  parsePsRows
4
4
  } from "./chunk-XWVM4KPK.js";
5
- import {
6
- FORCED_UPDATE_HARD_DEADLINE_MS
7
- } from "./chunk-XZ6THC7Q.js";
8
5
  import {
9
6
  effectiveClaudeJsonPath
10
7
  } from "./chunk-EL5MWGGH.js";
8
+ import {
9
+ FORCED_UPDATE_HARD_DEADLINE_MS
10
+ } from "./chunk-TLDY7AE4.js";
11
11
 
12
12
  // src/lib/claude-code-updater.ts
13
13
  import { execFile, execFileSync } from "child_process";
@@ -339,4 +339,4 @@ export {
339
339
  probeClaudeInstalls,
340
340
  maybeUpdateClaudeCode
341
341
  };
342
- //# sourceMappingURL=chunk-WDC6ZLG5.js.map
342
+ //# sourceMappingURL=chunk-NSX27ZTP.js.map
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-FISAZWZ3.js";
7
+ } from "./chunk-AJ2Z3VSN.js";
8
8
  import {
9
9
  classifyUnanswerablePane,
10
10
  findUsageLimitResetHint,
@@ -23,6 +23,15 @@ import {
23
23
  import {
24
24
  reapOrphanChannelMcps
25
25
  } from "./chunk-XWVM4KPK.js";
26
+ import {
27
+ CLAUDE_CONFIG_DIR_ENV,
28
+ archiveLegacyClaudeJson,
29
+ claudeConfigDirFor,
30
+ claudeConfigDirIsReady,
31
+ claudeJsonPathFor,
32
+ legacyClaudeJsonPathFor,
33
+ seedClaudeConfigFromLegacy
34
+ } from "./chunk-EL5MWGGH.js";
26
35
  import {
27
36
  INTEGRATION_REGISTRY,
28
37
  OAUTH_PROVIDERS,
@@ -44,16 +53,7 @@ import {
44
53
  remoteMcpConnectionEnvInfix,
45
54
  remoteMcpConnectionLabel,
46
55
  remoteMcpConnectionScopedEnvVar
47
- } from "./chunk-XZ6THC7Q.js";
48
- import {
49
- CLAUDE_CONFIG_DIR_ENV,
50
- archiveLegacyClaudeJson,
51
- claudeConfigDirFor,
52
- claudeConfigDirIsReady,
53
- claudeJsonPathFor,
54
- legacyClaudeJsonPathFor,
55
- seedClaudeConfigFromLegacy
56
- } from "./chunk-EL5MWGGH.js";
56
+ } from "./chunk-TLDY7AE4.js";
57
57
  import {
58
58
  __require
59
59
  } from "./chunk-DGUM43GV.js";
@@ -6116,4 +6116,4 @@ export {
6116
6116
  stopAllSessionsAndWait,
6117
6117
  getProjectDir
6118
6118
  };
6119
- //# sourceMappingURL=chunk-NBKNLVIB.js.map
6119
+ //# sourceMappingURL=chunk-OISSVMYG.js.map
@@ -5615,6 +5615,9 @@ function redactAgentPaths(text) {
5615
5615
  function redactPaneFrame(text) {
5616
5616
  return redactSecrets(redactAgentPaths(text));
5617
5617
  }
5618
+ function sanitizeTerminalFrame(text) {
5619
+ return text.replace(/^\[[0-9;?]+[A-Za-z]/, "").replace(/\x1b[\]P^_][\s\S]*?(?:\x07|\x1b\\|$)/g, "").replace(/\x1b\[[0-?]*[ -/]*(?:[@-~]|$)/g, "").replace(/\x1b[ -/]*[0-~]/g, "").replace(/\x1b/g, "").replace(/\r\n?/g, "\n").replace(/[\x00-\x08\x0b\x0c\x0e-\x1f\x7f]/g, "");
5620
+ }
5618
5621
 
5619
5622
  // ../../packages/core/dist/scheduled-tasks/prompt-wrapper.js
5620
5623
  var PREAMBLE_HEAD = [
@@ -16747,6 +16750,10 @@ function deriveBindFailureQuarantineThreshold(provisioningMax) {
16747
16750
  }
16748
16751
  var MIN_PROVISIONING_MAX_FOR_QUARANTINE_ORDERING = BIND_FAILURE_QUARANTINE_THRESHOLD + 1;
16749
16752
 
16753
+ // ../../packages/core/dist/teams/team-slug.js
16754
+ var TEAM_SLUG_MAX_ATTEMPTS = 20;
16755
+ var SUFFIX_RESERVE = `-${TEAM_SLUG_MAX_ATTEMPTS}`.length;
16756
+
16750
16757
  export {
16751
16758
  resolveAgentConsoleUrl,
16752
16759
  normaliseSlackPeerAgentMode,
@@ -16861,6 +16868,7 @@ export {
16861
16868
  laneTagFragment,
16862
16869
  SECRET_PATTERNS,
16863
16870
  redactPaneFrame,
16871
+ sanitizeTerminalFrame,
16864
16872
  detectDrift,
16865
16873
  SUPPRESS_SENTINEL,
16866
16874
  classifyOutput,
@@ -16932,4 +16940,4 @@ export {
16932
16940
  forcedUpdatePendingForMs,
16933
16941
  isForcedUpdatePastDeadline
16934
16942
  };
16935
- //# sourceMappingURL=chunk-XZ6THC7Q.js.map
16943
+ //# sourceMappingURL=chunk-TLDY7AE4.js.map