@integrity-labs/agt-cli 0.28.756 → 0.28.758

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.
@@ -13,7 +13,7 @@ import {
13
13
  parseEnvFileEntries,
14
14
  parseEnvIntegrations,
15
15
  shellQuote
16
- } from "./chunk-VA6UHKFG.js";
16
+ } from "./chunk-4GGLPSVH.js";
17
17
  import {
18
18
  BIND_FAILURE_QUARANTINE_THRESHOLD,
19
19
  INTEGRATIONS_SECTION_END,
@@ -63,7 +63,7 @@ import {
63
63
  sessionTranscriptDir,
64
64
  worseConnectivityOutcome,
65
65
  wrapScheduledTaskPrompt
66
- } from "./chunk-GPDHLGBD.js";
66
+ } from "./chunk-SD2Y6ZOB.js";
67
67
  import {
68
68
  parsePsRows
69
69
  } from "./chunk-XWVM4KPK.js";
@@ -6436,7 +6436,7 @@ function exchangeFailureKind(err) {
6436
6436
  }
6437
6437
 
6438
6438
  // src/lib/api-client.ts
6439
- var agtCliVersion = true ? "0.28.756" : "dev";
6439
+ var agtCliVersion = true ? "0.28.758" : "dev";
6440
6440
  var lastConfigHash = null;
6441
6441
  function setConfigHash(hash) {
6442
6442
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -10593,4 +10593,4 @@ export {
10593
10593
  managerInstallSystemUnitCommand,
10594
10594
  managerUninstallSystemUnitCommand
10595
10595
  };
10596
- //# sourceMappingURL=chunk-UFL5XDJF.js.map
10596
+ //# sourceMappingURL=chunk-ZUCWB2AP.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-6YR3ZHZV.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-IUGL5OEF.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-7MWDR3RS.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-I6Q7M7KZ.js.map
@@ -58,7 +58,7 @@ import {
58
58
  safeWriteJsonAtomic,
59
59
  setConfigHash,
60
60
  tripClass
61
- } from "../chunk-UFL5XDJF.js";
61
+ } from "../chunk-ZUCWB2AP.js";
62
62
  import {
63
63
  getProjectDir as getProjectDir2,
64
64
  getReadyTasks,
@@ -119,7 +119,7 @@ import {
119
119
  takeZombieDetection,
120
120
  toOpencodeModel,
121
121
  writeEgressAllowlist
122
- } from "../chunk-VA6UHKFG.js";
122
+ } from "../chunk-4GGLPSVH.js";
123
123
  import {
124
124
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
125
125
  AnchorSessionClient,
@@ -208,7 +208,7 @@ import {
208
208
  subagentActivityAgeSeconds,
209
209
  sumTranscriptUsageInWindow,
210
210
  transcriptActivityAgeSeconds
211
- } from "../chunk-GPDHLGBD.js";
211
+ } from "../chunk-SD2Y6ZOB.js";
212
212
  import {
213
213
  reapOrphanChannelMcps
214
214
  } from "../chunk-XWVM4KPK.js";
@@ -12725,7 +12725,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
12725
12725
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
12726
12726
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
12727
12727
  async function channelInboundActivityAgeSecondsFor(codeName) {
12728
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-Y5M7V5EC.js");
12728
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-N7QDT6AE.js");
12729
12729
  const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
12730
12730
  if (newest === null) return null;
12731
12731
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -13385,7 +13385,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13385
13385
  var lastVersionCheckAt = 0;
13386
13386
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13387
13387
  var lastResponsivenessProbeAt = 0;
13388
- var agtCliVersion = true ? "0.28.756" : "dev";
13388
+ var agtCliVersion = true ? "0.28.758" : "dev";
13389
13389
  function resolveBrewPath(execFileSync3) {
13390
13390
  try {
13391
13391
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -14926,7 +14926,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
14926
14926
  if (codeNames.length === 0) return;
14927
14927
  void (async () => {
14928
14928
  try {
14929
- const { collectDiagnostics } = await import("../persistent-session-6YR3ZHZV.js");
14929
+ const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
14930
14930
  await api.post("/host/heartbeat", {
14931
14931
  host_id: hostId,
14932
14932
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -15067,7 +15067,7 @@ async function pollCycleInner() {
15067
15067
  }
15068
15068
  try {
15069
15069
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
15070
- const { collectDiagnostics } = await import("../persistent-session-6YR3ZHZV.js");
15070
+ const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
15071
15071
  const diagCodeNames = [...agentState.persistentSessionAgents];
15072
15072
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
15073
15073
  let tailscaleHostname;
@@ -15236,7 +15236,7 @@ async function pollCycleInner() {
15236
15236
  collectPanelessActivityProbes,
15237
15237
  getResponsivenessIntervalMs,
15238
15238
  occupancyQualificationClassifications
15239
- } = await import("../responsiveness-probe-Y5M7V5EC.js");
15239
+ } = await import("../responsiveness-probe-N7QDT6AE.js");
15240
15240
  const probeIntervalMs = getResponsivenessIntervalMs();
15241
15241
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
15242
15242
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -15346,7 +15346,7 @@ async function pollCycleInner() {
15346
15346
  collectResponsivenessProbes,
15347
15347
  livePendingInboundOldestAgeSeconds,
15348
15348
  parkPendingInbound
15349
- } = await import("../responsiveness-probe-Y5M7V5EC.js");
15349
+ } = await import("../responsiveness-probe-N7QDT6AE.js");
15350
15350
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
15351
15351
  const wedgeNow = /* @__PURE__ */ new Date();
15352
15352
  const liveAgents = agentState.persistentSessionAgents;
@@ -15502,7 +15502,7 @@ async function pollCycleInner() {
15502
15502
  }
15503
15503
  try {
15504
15504
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
15505
- const { probeSessionAuth } = await import("../session-auth-dead-EDLHHI3H.js");
15505
+ const { probeSessionAuth } = await import("../session-auth-dead-VE5NYGT7.js");
15506
15506
  const observations = [];
15507
15507
  const pendingCacheCommits = [];
15508
15508
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -19453,7 +19453,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
19453
19453
  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}`));
19454
19454
  void (async () => {
19455
19455
  try {
19456
- const { collectDiagnostics } = await import("../persistent-session-6YR3ZHZV.js");
19456
+ const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
19457
19457
  await api.post("/host/heartbeat", {
19458
19458
  host_id: hostId,
19459
19459
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -19499,7 +19499,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
19499
19499
  }
19500
19500
  try {
19501
19501
  const hostId = await getHostId();
19502
- const { collectDiagnostics } = await import("../persistent-session-6YR3ZHZV.js");
19502
+ const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
19503
19503
  await api.post("/host/heartbeat", {
19504
19504
  host_id: hostId,
19505
19505
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20135,7 +20135,7 @@ async function processClaudePairSessions(agents) {
20135
20135
  killPairSession,
20136
20136
  pairTmuxSession,
20137
20137
  finalizeClaudePairOnboarding
20138
- } = await import("../claude-pair-runtime-7MWDR3RS.js");
20138
+ } = await import("../claude-pair-runtime-I6Q7M7KZ.js");
20139
20139
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
20140
20140
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
20141
20141
  const killed = await killPairSession(pairTmuxSession(pairId));
@@ -31977,6 +31977,11 @@ var HOURLY_BY_REGION = {
31977
31977
  };
31978
31978
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
31979
31979
 
31980
+ // ../core/dist/provisioning/frameworks/claudecode/agent-rules.js
31981
+ var MAX_AGENT_RULES = 8;
31982
+ var MAX_AGENT_RULE_CHARS = 200;
31983
+ var MAX_AGENT_RULES_CHARS = MAX_AGENT_RULES * (MAX_AGENT_RULE_CHARS + 4);
31984
+
31980
31985
  // ../core/dist/provisioning/frameworks/claudecode/identity.js
31981
31986
  var CLAUDE_MD_CHARS_PER_TOKEN = 3.57;
31982
31987
  var CLAUDE_MD_CONTEXT_WINDOW_TOKENS = 2e5;
@@ -32875,6 +32880,9 @@ var ASSET_TYPES = {
32875
32880
  var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
32876
32881
  var textEncoder = new TextEncoder();
32877
32882
 
32883
+ // ../core/dist/integrations/composio-account-probe.js
32884
+ var BODY_MAX_BYTES = 1024 * 1024;
32885
+
32878
32886
  // ../core/dist/integrations/remote-mcp-proxy-env.js
32879
32887
  var REMOTE_MCP_PROXY_ENV = {
32880
32888
  url: "AGT_REMOTE_MCP_URL",
package/dist/mcp/index.js CHANGED
@@ -39411,6 +39411,11 @@ var HOURLY_BY_REGION = {
39411
39411
  };
39412
39412
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
39413
39413
 
39414
+ // ../core/dist/provisioning/frameworks/claudecode/agent-rules.js
39415
+ var MAX_AGENT_RULES = 8;
39416
+ var MAX_AGENT_RULE_CHARS = 200;
39417
+ var MAX_AGENT_RULES_CHARS = MAX_AGENT_RULES * (MAX_AGENT_RULE_CHARS + 4);
39418
+
39414
39419
  // ../core/dist/provisioning/frameworks/claudecode/identity.js
39415
39420
  var CLAUDE_MD_CHARS_PER_TOKEN = 3.57;
39416
39421
  var CLAUDE_MD_CONTEXT_WINDOW_TOKENS = 2e5;
@@ -40309,6 +40314,9 @@ var ASSET_TYPES = {
40309
40314
  var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
40310
40315
  var textEncoder = new TextEncoder();
40311
40316
 
40317
+ // ../core/dist/integrations/composio-account-probe.js
40318
+ var BODY_MAX_BYTES = 1024 * 1024;
40319
+
40312
40320
  // ../core/dist/integrations/remote-mcp-proxy-env.js
40313
40321
  var REMOTE_MCP_PROXY_ENV = {
40314
40322
  url: "AGT_REMOTE_MCP_URL",
@@ -38161,6 +38161,11 @@ var HOURLY_BY_REGION = {
38161
38161
  };
38162
38162
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
38163
38163
 
38164
+ // ../core/dist/provisioning/frameworks/claudecode/agent-rules.js
38165
+ var MAX_AGENT_RULES = 8;
38166
+ var MAX_AGENT_RULE_CHARS = 200;
38167
+ var MAX_AGENT_RULES_CHARS = MAX_AGENT_RULES * (MAX_AGENT_RULE_CHARS + 4);
38168
+
38164
38169
  // ../core/dist/provisioning/frameworks/claudecode/identity.js
38165
38170
  var CLAUDE_MD_CHARS_PER_TOKEN = 3.57;
38166
38171
  var CLAUDE_MD_CONTEXT_WINDOW_TOKENS = 2e5;
@@ -39059,6 +39064,9 @@ var ASSET_TYPES = {
39059
39064
  var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
39060
39065
  var textEncoder = new TextEncoder();
39061
39066
 
39067
+ // ../core/dist/integrations/composio-account-probe.js
39068
+ var BODY_MAX_BYTES = 1024 * 1024;
39069
+
39062
39070
  // ../core/dist/integrations/remote-mcp-proxy-env.js
39063
39071
  var REMOTE_MCP_PROXY_ENV = {
39064
39072
  url: "AGT_REMOTE_MCP_URL",
@@ -32271,6 +32271,11 @@ var HOURLY_BY_REGION = {
32271
32271
  };
32272
32272
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
32273
32273
 
32274
+ // ../core/dist/provisioning/frameworks/claudecode/agent-rules.js
32275
+ var MAX_AGENT_RULES = 8;
32276
+ var MAX_AGENT_RULE_CHARS = 200;
32277
+ var MAX_AGENT_RULES_CHARS = MAX_AGENT_RULES * (MAX_AGENT_RULE_CHARS + 4);
32278
+
32274
32279
  // ../core/dist/provisioning/frameworks/claudecode/identity.js
32275
32280
  var CLAUDE_MD_CHARS_PER_TOKEN = 3.57;
32276
32281
  var CLAUDE_MD_CONTEXT_WINDOW_TOKENS = 2e5;
@@ -33169,6 +33174,9 @@ var ASSET_TYPES = {
33169
33174
  var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
33170
33175
  var textEncoder = new TextEncoder();
33171
33176
 
33177
+ // ../core/dist/integrations/composio-account-probe.js
33178
+ var BODY_MAX_BYTES = 1024 * 1024;
33179
+
33172
33180
  // ../core/dist/integrations/remote-mcp-proxy-env.js
33173
33181
  var REMOTE_MCP_PROXY_ENV = {
33174
33182
  url: "AGT_REMOTE_MCP_URL",
@@ -32435,6 +32435,11 @@ var HOURLY_BY_REGION = {
32435
32435
  };
32436
32436
  var KNOWN_PRICING_REGIONS = Object.keys(HOURLY_BY_REGION);
32437
32437
 
32438
+ // ../core/dist/provisioning/frameworks/claudecode/agent-rules.js
32439
+ var MAX_AGENT_RULES = 8;
32440
+ var MAX_AGENT_RULE_CHARS = 200;
32441
+ var MAX_AGENT_RULES_CHARS = MAX_AGENT_RULES * (MAX_AGENT_RULE_CHARS + 4);
32442
+
32438
32443
  // ../core/dist/provisioning/frameworks/claudecode/identity.js
32439
32444
  var CLAUDE_MD_CHARS_PER_TOKEN = 3.57;
32440
32445
  var CLAUDE_MD_CONTEXT_WINDOW_TOKENS = 2e5;
@@ -33333,6 +33338,9 @@ var ASSET_TYPES = {
33333
33338
  var DEFAULT_CHUNK_BUDGET_BYTES = 180 * 1024;
33334
33339
  var textEncoder = new TextEncoder();
33335
33340
 
33341
+ // ../core/dist/integrations/composio-account-probe.js
33342
+ var BODY_MAX_BYTES = 1024 * 1024;
33343
+
33336
33344
  // ../core/dist/integrations/remote-mcp-proxy-env.js
33337
33345
  var REMOTE_MCP_PROXY_ENV = {
33338
33346
  url: "AGT_REMOTE_MCP_URL",
@@ -49,8 +49,8 @@ import {
49
49
  writeDirectChatSessionState,
50
50
  writeEgressAllowlist,
51
51
  writePersistentClaudeWrapper
52
- } from "./chunk-VA6UHKFG.js";
53
- import "./chunk-GPDHLGBD.js";
52
+ } from "./chunk-4GGLPSVH.js";
53
+ import "./chunk-SD2Y6ZOB.js";
54
54
  import "./chunk-XWVM4KPK.js";
55
55
  export {
56
56
  EGRESS_BASELINE_DOMAINS,
@@ -104,4 +104,4 @@ export {
104
104
  writeEgressAllowlist,
105
105
  writePersistentClaudeWrapper
106
106
  };
107
- //# sourceMappingURL=persistent-session-6YR3ZHZV.js.map
107
+ //# sourceMappingURL=persistent-session-IUGL5OEF.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-VA6UHKFG.js";
4
- import "./chunk-GPDHLGBD.js";
3
+ } from "./chunk-4GGLPSVH.js";
4
+ import "./chunk-SD2Y6ZOB.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -745,4 +745,4 @@ export {
745
745
  readAndResetSlackReplyBindingClassifications,
746
746
  readAndResetSlackReplyTargetClassifications
747
747
  };
748
- //# sourceMappingURL=responsiveness-probe-Y5M7V5EC.js.map
748
+ //# sourceMappingURL=responsiveness-probe-N7QDT6AE.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-GPDHLGBD.js";
3
+ } from "./chunk-SD2Y6ZOB.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-EDLHHI3H.js.map
206
+ //# sourceMappingURL=session-auth-dead-VE5NYGT7.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.756",
3
+ "version": "0.28.758",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {