@integrity-labs/agt-cli 0.28.1233 → 0.28.1234

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 (28) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-HI4JD2K2.js → chunk-74FVXAHG.js} +3 -3
  3. package/dist/{chunk-4FLMCHQB.js → chunk-AZ2QBMCL.js} +2 -2
  4. package/dist/{chunk-XXIALNTU.js → chunk-NPW4S55O.js} +83 -3
  5. package/dist/{chunk-XXIALNTU.js.map → chunk-NPW4S55O.js.map} +1 -1
  6. package/dist/{chunk-DQEUE2X2.js → chunk-PV2LPKJ2.js} +2 -2
  7. package/dist/{chunk-VGEMWYW3.js → chunk-UWJTR4AS.js} +5 -5
  8. package/dist/{claude-code-updater-UTFTOX3B.js → claude-code-updater-6GP4LY3Y.js} +3 -3
  9. package/dist/{claude-pair-runtime-DI43DJ4P.js → claude-pair-runtime-2QA23TMP.js} +3 -3
  10. package/dist/lib/manager-worker.js +19 -19
  11. package/dist/mcp/direct-chat-channel.js +36 -2
  12. package/dist/mcp/index.js +36 -2
  13. package/dist/mcp/origami.js +36 -2
  14. package/dist/mcp/slack-channel.js +36 -2
  15. package/dist/mcp/telegram-channel.js +36 -2
  16. package/dist/{persistent-session-S57KHU34.js → persistent-session-YS5LY7YD.js} +4 -4
  17. package/dist/{responsiveness-probe-TFPKYDPB.js → responsiveness-probe-C3SSBQCL.js} +4 -4
  18. package/dist/{session-auth-dead-EYJAWW46.js → session-auth-dead-3GT7MM6J.js} +3 -3
  19. package/package.json +1 -1
  20. /package/dist/{chunk-HI4JD2K2.js.map → chunk-74FVXAHG.js.map} +0 -0
  21. /package/dist/{chunk-4FLMCHQB.js.map → chunk-AZ2QBMCL.js.map} +0 -0
  22. /package/dist/{chunk-DQEUE2X2.js.map → chunk-PV2LPKJ2.js.map} +0 -0
  23. /package/dist/{chunk-VGEMWYW3.js.map → chunk-UWJTR4AS.js.map} +0 -0
  24. /package/dist/{claude-code-updater-UTFTOX3B.js.map → claude-code-updater-6GP4LY3Y.js.map} +0 -0
  25. /package/dist/{claude-pair-runtime-DI43DJ4P.js.map → claude-pair-runtime-2QA23TMP.js.map} +0 -0
  26. /package/dist/{persistent-session-S57KHU34.js.map → persistent-session-YS5LY7YD.js.map} +0 -0
  27. /package/dist/{responsiveness-probe-TFPKYDPB.js.map → responsiveness-probe-C3SSBQCL.js.map} +0 -0
  28. /package/dist/{session-auth-dead-EYJAWW46.js.map → session-auth-dead-3GT7MM6J.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XWVM4KPK.js";
5
5
  import {
6
6
  FORCED_UPDATE_HARD_DEADLINE_MS
7
- } from "./chunk-XXIALNTU.js";
7
+ } from "./chunk-NPW4S55O.js";
8
8
  import {
9
9
  effectiveClaudeJsonPath
10
10
  } from "./chunk-AIUIMEUS.js";
@@ -722,4 +722,4 @@ export {
722
722
  probeClaudeInstalls,
723
723
  maybeUpdateClaudeCode
724
724
  };
725
- //# sourceMappingURL=chunk-DQEUE2X2.js.map
725
+ //# sourceMappingURL=chunk-PV2LPKJ2.js.map
@@ -18,11 +18,11 @@ import {
18
18
  requiresRemoteMcpToolGate,
19
19
  shellQuote,
20
20
  withheldRemoteMcpMessage
21
- } from "./chunk-HI4JD2K2.js";
21
+ } from "./chunk-74FVXAHG.js";
22
22
  import {
23
23
  readDailySessionPin,
24
24
  sessionTranscriptDir
25
- } from "./chunk-4FLMCHQB.js";
25
+ } from "./chunk-AZ2QBMCL.js";
26
26
  import {
27
27
  classifyUnanswerablePane,
28
28
  isConsumerTermsDialogVisible,
@@ -95,7 +95,7 @@ import {
95
95
  scanConfigForLiteralSecrets,
96
96
  worseConnectivityOutcome,
97
97
  wrapScheduledTaskPrompt
98
- } from "./chunk-XXIALNTU.js";
98
+ } from "./chunk-NPW4S55O.js";
99
99
  import {
100
100
  claudeJsonPathFor,
101
101
  effectiveClaudeJsonPath,
@@ -8095,7 +8095,7 @@ function exchangeFailureKind(err) {
8095
8095
  }
8096
8096
 
8097
8097
  // src/lib/api-client.ts
8098
- var agtCliVersion = true ? "0.28.1233" : "dev";
8098
+ var agtCliVersion = true ? "0.28.1234" : "dev";
8099
8099
  var lastConfigHash = null;
8100
8100
  function setConfigHash(hash) {
8101
8101
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -13750,4 +13750,4 @@ export {
13750
13750
  managerInstallSystemUnitCommand,
13751
13751
  managerUninstallSystemUnitCommand
13752
13752
  };
13753
- //# sourceMappingURL=chunk-VGEMWYW3.js.map
13753
+ //# sourceMappingURL=chunk-UWJTR4AS.js.map
@@ -13,9 +13,9 @@ import {
13
13
  probeClaudeInstalls,
14
14
  readsAsNativeInstall,
15
15
  shouldRunClaudeCodeUpdater
16
- } from "./chunk-DQEUE2X2.js";
16
+ } from "./chunk-PV2LPKJ2.js";
17
17
  import "./chunk-XWVM4KPK.js";
18
- import "./chunk-XXIALNTU.js";
18
+ import "./chunk-NPW4S55O.js";
19
19
  import "./chunk-AIUIMEUS.js";
20
20
  import "./chunk-DGUM43GV.js";
21
21
  export {
@@ -34,4 +34,4 @@ export {
34
34
  readsAsNativeInstall,
35
35
  shouldRunClaudeCodeUpdater
36
36
  };
37
- //# sourceMappingURL=claude-code-updater-UTFTOX3B.js.map
37
+ //# sourceMappingURL=claude-code-updater-6GP4LY3Y.js.map
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  redactPaneFrame,
10
10
  sanitizeTerminalFrame
11
- } from "./chunk-XXIALNTU.js";
11
+ } from "./chunk-NPW4S55O.js";
12
12
  import {
13
13
  CLAUDE_CONFIG_DIR_ENV,
14
14
  claudeConfigDirFor,
@@ -321,7 +321,7 @@ async function spawnPairSession(session) {
321
321
  return { ok: true };
322
322
  } catch {
323
323
  }
324
- const { resolveClaudeBinary } = await import("./persistent-session-S57KHU34.js");
324
+ const { resolveClaudeBinary } = await import("./persistent-session-YS5LY7YD.js");
325
325
  const claudeBin = resolveClaudeBinary();
326
326
  const pairEnv = {
327
327
  ...process.env,
@@ -836,4 +836,4 @@ export {
836
836
  startClaudePair,
837
837
  submitClaudePairCode
838
838
  };
839
- //# sourceMappingURL=claude-pair-runtime-DI43DJ4P.js.map
839
+ //# sourceMappingURL=claude-pair-runtime-2QA23TMP.js.map
@@ -85,7 +85,7 @@ import {
85
85
  tripClass,
86
86
  writeEtcEnvironment,
87
87
  writeProfileDScript
88
- } from "../chunk-VGEMWYW3.js";
88
+ } from "../chunk-UWJTR4AS.js";
89
89
  import {
90
90
  CLAUDE_CODE_SECURITY_FLOOR,
91
91
  SELF_UPDATE_TIMEOUTS,
@@ -99,7 +99,7 @@ import {
99
99
  runSafeCleanup,
100
100
  tightestDiskStat,
101
101
  withPackageCacheLock
102
- } from "../chunk-DQEUE2X2.js";
102
+ } from "../chunk-PV2LPKJ2.js";
103
103
  import {
104
104
  rewriteSupervisorApiKey,
105
105
  supervisorChannelsRefusing
@@ -192,7 +192,7 @@ import {
192
192
  webFetchBaselineValue,
193
193
  webFetchRestartNeeded,
194
194
  writeEgressAllowlist
195
- } from "../chunk-HI4JD2K2.js";
195
+ } from "../chunk-74FVXAHG.js";
196
196
  import {
197
197
  isAgentIdle,
198
198
  isStaleForToday,
@@ -203,7 +203,7 @@ import {
203
203
  subagentActivityAgeSeconds,
204
204
  subagentTranscriptDir,
205
205
  transcriptActivityAgeSeconds
206
- } from "../chunk-4FLMCHQB.js";
206
+ } from "../chunk-AZ2QBMCL.js";
207
207
  import {
208
208
  classifyUnanswerablePane,
209
209
  focusedConfirmDialogBlock,
@@ -334,7 +334,7 @@ import {
334
334
  stabiliseResetInstant,
335
335
  sumTranscriptUsageInWindow,
336
336
  summarizeTranscriptActivity
337
- } from "../chunk-XXIALNTU.js";
337
+ } from "../chunk-NPW4S55O.js";
338
338
  import {
339
339
  CLAUDE_CONFIG_DIR_ENV,
340
340
  claudeConfigDirFor,
@@ -15843,7 +15843,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
15843
15843
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
15844
15844
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
15845
15845
  async function channelInboundActivityAgeSecondsFor(codeName) {
15846
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-TFPKYDPB.js");
15846
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-C3SSBQCL.js");
15847
15847
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
15848
15848
  if (newest === null) return null;
15849
15849
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -16649,7 +16649,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
16649
16649
  var lastVersionCheckAt = 0;
16650
16650
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
16651
16651
  var lastResponsivenessProbeAt = 0;
16652
- var agtCliVersion = true ? "0.28.1233" : "dev";
16652
+ var agtCliVersion = true ? "0.28.1234" : "dev";
16653
16653
  function resolveBrewPath(execFileSync3) {
16654
16654
  try {
16655
16655
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -18646,7 +18646,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
18646
18646
  if (codeNames.length === 0) return;
18647
18647
  void (async () => {
18648
18648
  try {
18649
- const { collectDiagnostics } = await import("../persistent-session-S57KHU34.js");
18649
+ const { collectDiagnostics } = await import("../persistent-session-YS5LY7YD.js");
18650
18650
  await api.post("/host/heartbeat", {
18651
18651
  host_id: hostId,
18652
18652
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -18789,7 +18789,7 @@ async function pollCycleInner() {
18789
18789
  }
18790
18790
  try {
18791
18791
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
18792
- const { collectDiagnostics } = await import("../persistent-session-S57KHU34.js");
18792
+ const { collectDiagnostics } = await import("../persistent-session-YS5LY7YD.js");
18793
18793
  const diagCodeNames = [...agentState.persistentSessionAgents];
18794
18794
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
18795
18795
  let tailscaleHostname;
@@ -19054,7 +19054,7 @@ async function pollCycleInner() {
19054
19054
  }
19055
19055
  try {
19056
19056
  const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
19057
- const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-UTFTOX3B.js");
19057
+ const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-6GP4LY3Y.js");
19058
19058
  const securityFloor = currentSecurityFloor();
19059
19059
  claudeUpdaterInFlight = true;
19060
19060
  if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
@@ -19089,7 +19089,7 @@ async function pollCycleInner() {
19089
19089
  collectPanelessActivityProbes,
19090
19090
  getResponsivenessIntervalMs,
19091
19091
  occupancyQualificationClassifications
19092
- } = await import("../responsiveness-probe-TFPKYDPB.js");
19092
+ } = await import("../responsiveness-probe-C3SSBQCL.js");
19093
19093
  const probeIntervalMs = getResponsivenessIntervalMs();
19094
19094
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
19095
19095
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -19206,7 +19206,7 @@ async function pollCycleInner() {
19206
19206
  collectResponsivenessProbes,
19207
19207
  livePendingInboundOldestAgeSeconds,
19208
19208
  parkPendingInbound
19209
- } = await import("../responsiveness-probe-TFPKYDPB.js");
19209
+ } = await import("../responsiveness-probe-C3SSBQCL.js");
19210
19210
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-M6AFZWNU.js");
19211
19211
  const wedgeNow = /* @__PURE__ */ new Date();
19212
19212
  const liveAgents = agentState.persistentSessionAgents;
@@ -19492,7 +19492,7 @@ async function pollCycleInner() {
19492
19492
  }
19493
19493
  }
19494
19494
  );
19495
- const { parkPendingInbound } = await import("../responsiveness-probe-TFPKYDPB.js");
19495
+ const { parkPendingInbound } = await import("../responsiveness-probe-C3SSBQCL.js");
19496
19496
  const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
19497
19497
  paneFatalStreak.delete(codeName);
19498
19498
  paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
@@ -19523,7 +19523,7 @@ async function pollCycleInner() {
19523
19523
  TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
19524
19524
  bindSourceEscalations
19525
19525
  } = await import("../transcript-mount-health-OHE6IVJV.js");
19526
- const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-S57KHU34.js");
19526
+ const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-YS5LY7YD.js");
19527
19527
  const mountConfig = resolveTranscriptMountConfig();
19528
19528
  const liveAgents = agentState.persistentSessionAgents;
19529
19529
  for (const tracked of [
@@ -19688,7 +19688,7 @@ async function pollCycleInner() {
19688
19688
  }
19689
19689
  try {
19690
19690
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
19691
- const { probeSessionAuth } = await import("../session-auth-dead-EYJAWW46.js");
19691
+ const { probeSessionAuth } = await import("../session-auth-dead-3GT7MM6J.js");
19692
19692
  const observations = [];
19693
19693
  const pendingCacheCommits = [];
19694
19694
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -24438,7 +24438,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
24438
24438
  try {
24439
24439
  const freshId = rotateSessionForWedge(codeName);
24440
24440
  consecutiveWedgeCycles.delete(codeName);
24441
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-TFPKYDPB.js");
24441
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-C3SSBQCL.js");
24442
24442
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
24443
24443
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
24444
24444
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -24481,7 +24481,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
24481
24481
  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}`));
24482
24482
  void (async () => {
24483
24483
  try {
24484
- const { collectDiagnostics } = await import("../persistent-session-S57KHU34.js");
24484
+ const { collectDiagnostics } = await import("../persistent-session-YS5LY7YD.js");
24485
24485
  await api.post("/host/heartbeat", {
24486
24486
  host_id: hostId,
24487
24487
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -24532,7 +24532,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
24532
24532
  }
24533
24533
  try {
24534
24534
  const hostId = await getHostId();
24535
- const { collectDiagnostics } = await import("../persistent-session-S57KHU34.js");
24535
+ const { collectDiagnostics } = await import("../persistent-session-YS5LY7YD.js");
24536
24536
  await api.post("/host/heartbeat", {
24537
24537
  host_id: hostId,
24538
24538
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -25234,7 +25234,7 @@ async function processClaudePairSessions(agents) {
25234
25234
  snapshotPairConfig,
25235
25235
  // ENG-11659: result -> report body + the manager.log line that records it.
25236
25236
  planPairStartReport
25237
- } = await import("../claude-pair-runtime-DI43DJ4P.js");
25237
+ } = await import("../claude-pair-runtime-2QA23TMP.js");
25238
25238
  const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
25239
25239
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
25240
25240
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
@@ -37254,6 +37254,16 @@ var integration_metadata_v1_default = {
37254
37254
  enum: ["basic_username", "basic_pair", "raw"],
37255
37255
  description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
37256
37256
  },
37257
+ token_exchange: {
37258
+ type: "object",
37259
+ description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
37260
+ additionalProperties: false,
37261
+ required: ["token_url", "scope"],
37262
+ properties: {
37263
+ token_url: { type: "string", pattern: "^https://[^\\s]+$" },
37264
+ scope: { type: "string", minLength: 1 }
37265
+ }
37266
+ },
37257
37267
  runtime_scopes: {
37258
37268
  type: "object",
37259
37269
  description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
@@ -37314,8 +37324,13 @@ var integration_metadata_v1_default = {
37314
37324
  anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
37315
37325
  },
37316
37326
  not: {
37317
- description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
37318
- required: ["auth_scheme", "auth_encoding"]
37327
+ description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
37328
+ anyOf: [
37329
+ { required: ["auth_scheme", "auth_encoding"] },
37330
+ { required: ["token_exchange", "auth_scheme"] },
37331
+ { required: ["token_exchange", "auth_encoding"] },
37332
+ { required: ["token_exchange", "config_arg_defaults"] }
37333
+ ]
37319
37334
  },
37320
37335
  $defs: {
37321
37336
  scopeConfig: {
@@ -45416,6 +45431,25 @@ var FLAG_REGISTRY = [
45416
45431
  flagType: "boolean",
45417
45432
  defaultValue: false
45418
45433
  },
45434
+ {
45435
+ key: "kanban-waiting-person-notify",
45436
+ description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
45437
+ flagType: "boolean",
45438
+ // Declared safe value is `false`, matching its assignment sibling: fail-closed
45439
+ // is the right direction for a rail that messages a human.
45440
+ //
45441
+ // This default is NOT the deploy-time behaviour, and reading it as such is the
45442
+ // trap. The accompanying migration MIRRORS human-task-assignment-notify onto
45443
+ // this key - whatever that flag's central value is, plus every one of its
45444
+ // overrides at every grain - so no org's effective behaviour changes when
45445
+ // ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
45446
+ // where the old flag has no row, the old gate resolves to `false` and nobody
45447
+ // is being messaged, so a literal `true` would ARM a rail that DMs and emails
45448
+ // real humans on a fleet that never had one. A registry default
45449
+ // renders identically to a measurement - to learn whether this is on for an
45450
+ // org, read feature_flags.value and feature_flag_overrides, never this line.
45451
+ defaultValue: false
45452
+ },
45419
45453
  {
45420
45454
  key: "resume-reconciler",
45421
45455
  description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
package/dist/mcp/index.js CHANGED
@@ -23312,6 +23312,16 @@ var integration_metadata_v1_default = {
23312
23312
  enum: ["basic_username", "basic_pair", "raw"],
23313
23313
  description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
23314
23314
  },
23315
+ token_exchange: {
23316
+ type: "object",
23317
+ description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
23318
+ additionalProperties: false,
23319
+ required: ["token_url", "scope"],
23320
+ properties: {
23321
+ token_url: { type: "string", pattern: "^https://[^\\s]+$" },
23322
+ scope: { type: "string", minLength: 1 }
23323
+ }
23324
+ },
23315
23325
  runtime_scopes: {
23316
23326
  type: "object",
23317
23327
  description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
@@ -23372,8 +23382,13 @@ var integration_metadata_v1_default = {
23372
23382
  anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
23373
23383
  },
23374
23384
  not: {
23375
- description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
23376
- required: ["auth_scheme", "auth_encoding"]
23385
+ description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
23386
+ anyOf: [
23387
+ { required: ["auth_scheme", "auth_encoding"] },
23388
+ { required: ["token_exchange", "auth_scheme"] },
23389
+ { required: ["token_exchange", "auth_encoding"] },
23390
+ { required: ["token_exchange", "config_arg_defaults"] }
23391
+ ]
23377
23392
  },
23378
23393
  $defs: {
23379
23394
  scopeConfig: {
@@ -31098,6 +31113,25 @@ var FLAG_REGISTRY = [
31098
31113
  flagType: "boolean",
31099
31114
  defaultValue: false
31100
31115
  },
31116
+ {
31117
+ key: "kanban-waiting-person-notify",
31118
+ description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
31119
+ flagType: "boolean",
31120
+ // Declared safe value is `false`, matching its assignment sibling: fail-closed
31121
+ // is the right direction for a rail that messages a human.
31122
+ //
31123
+ // This default is NOT the deploy-time behaviour, and reading it as such is the
31124
+ // trap. The accompanying migration MIRRORS human-task-assignment-notify onto
31125
+ // this key - whatever that flag's central value is, plus every one of its
31126
+ // overrides at every grain - so no org's effective behaviour changes when
31127
+ // ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
31128
+ // where the old flag has no row, the old gate resolves to `false` and nobody
31129
+ // is being messaged, so a literal `true` would ARM a rail that DMs and emails
31130
+ // real humans on a fleet that never had one. A registry default
31131
+ // renders identically to a measurement - to learn whether this is on for an
31132
+ // org, read feature_flags.value and feature_flag_overrides, never this line.
31133
+ defaultValue: false
31134
+ },
31101
31135
  {
31102
31136
  key: "resume-reconciler",
31103
31137
  description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
@@ -37177,6 +37177,16 @@ var integration_metadata_v1_default = {
37177
37177
  enum: ["basic_username", "basic_pair", "raw"],
37178
37178
  description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
37179
37179
  },
37180
+ token_exchange: {
37181
+ type: "object",
37182
+ description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
37183
+ additionalProperties: false,
37184
+ required: ["token_url", "scope"],
37185
+ properties: {
37186
+ token_url: { type: "string", pattern: "^https://[^\\s]+$" },
37187
+ scope: { type: "string", minLength: 1 }
37188
+ }
37189
+ },
37180
37190
  runtime_scopes: {
37181
37191
  type: "object",
37182
37192
  description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
@@ -37237,8 +37247,13 @@ var integration_metadata_v1_default = {
37237
37247
  anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
37238
37248
  },
37239
37249
  not: {
37240
- description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
37241
- required: ["auth_scheme", "auth_encoding"]
37250
+ description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
37251
+ anyOf: [
37252
+ { required: ["auth_scheme", "auth_encoding"] },
37253
+ { required: ["token_exchange", "auth_scheme"] },
37254
+ { required: ["token_exchange", "auth_encoding"] },
37255
+ { required: ["token_exchange", "config_arg_defaults"] }
37256
+ ]
37242
37257
  },
37243
37258
  $defs: {
37244
37259
  scopeConfig: {
@@ -44900,6 +44915,25 @@ var FLAG_REGISTRY = [
44900
44915
  flagType: "boolean",
44901
44916
  defaultValue: false
44902
44917
  },
44918
+ {
44919
+ key: "kanban-waiting-person-notify",
44920
+ description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
44921
+ flagType: "boolean",
44922
+ // Declared safe value is `false`, matching its assignment sibling: fail-closed
44923
+ // is the right direction for a rail that messages a human.
44924
+ //
44925
+ // This default is NOT the deploy-time behaviour, and reading it as such is the
44926
+ // trap. The accompanying migration MIRRORS human-task-assignment-notify onto
44927
+ // this key - whatever that flag's central value is, plus every one of its
44928
+ // overrides at every grain - so no org's effective behaviour changes when
44929
+ // ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
44930
+ // where the old flag has no row, the old gate resolves to `false` and nobody
44931
+ // is being messaged, so a literal `true` would ARM a rail that DMs and emails
44932
+ // real humans on a fleet that never had one. A registry default
44933
+ // renders identically to a measurement - to learn whether this is on for an
44934
+ // org, read feature_flags.value and feature_flag_overrides, never this line.
44935
+ defaultValue: false
44936
+ },
44903
44937
  {
44904
44938
  key: "resume-reconciler",
44905
44939
  description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
@@ -31873,6 +31873,16 @@ var integration_metadata_v1_default = {
31873
31873
  enum: ["basic_username", "basic_pair", "raw"],
31874
31874
  description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
31875
31875
  },
31876
+ token_exchange: {
31877
+ type: "object",
31878
+ description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
31879
+ additionalProperties: false,
31880
+ required: ["token_url", "scope"],
31881
+ properties: {
31882
+ token_url: { type: "string", pattern: "^https://[^\\s]+$" },
31883
+ scope: { type: "string", minLength: 1 }
31884
+ }
31885
+ },
31876
31886
  runtime_scopes: {
31877
31887
  type: "object",
31878
31888
  description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
@@ -31933,8 +31943,13 @@ var integration_metadata_v1_default = {
31933
31943
  anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
31934
31944
  },
31935
31945
  not: {
31936
- description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
31937
- required: ["auth_scheme", "auth_encoding"]
31946
+ description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
31947
+ anyOf: [
31948
+ { required: ["auth_scheme", "auth_encoding"] },
31949
+ { required: ["token_exchange", "auth_scheme"] },
31950
+ { required: ["token_exchange", "auth_encoding"] },
31951
+ { required: ["token_exchange", "config_arg_defaults"] }
31952
+ ]
31938
31953
  },
31939
31954
  $defs: {
31940
31955
  scopeConfig: {
@@ -39755,6 +39770,25 @@ var FLAG_REGISTRY = [
39755
39770
  flagType: "boolean",
39756
39771
  defaultValue: false
39757
39772
  },
39773
+ {
39774
+ key: "kanban-waiting-person-notify",
39775
+ description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
39776
+ flagType: "boolean",
39777
+ // Declared safe value is `false`, matching its assignment sibling: fail-closed
39778
+ // is the right direction for a rail that messages a human.
39779
+ //
39780
+ // This default is NOT the deploy-time behaviour, and reading it as such is the
39781
+ // trap. The accompanying migration MIRRORS human-task-assignment-notify onto
39782
+ // this key - whatever that flag's central value is, plus every one of its
39783
+ // overrides at every grain - so no org's effective behaviour changes when
39784
+ // ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
39785
+ // where the old flag has no row, the old gate resolves to `false` and nobody
39786
+ // is being messaged, so a literal `true` would ARM a rail that DMs and emails
39787
+ // real humans on a fleet that never had one. A registry default
39788
+ // renders identically to a measurement - to learn whether this is on for an
39789
+ // org, read feature_flags.value and feature_flag_overrides, never this line.
39790
+ defaultValue: false
39791
+ },
39758
39792
  {
39759
39793
  key: "resume-reconciler",
39760
39794
  description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
@@ -32070,6 +32070,16 @@ var integration_metadata_v1_default = {
32070
32070
  enum: ["basic_username", "basic_pair", "raw"],
32071
32071
  description: "How the credential is encoded into Authorization (ENG-10524). `basic_username` sends it as the HTTP Basic username with an empty password (`Authorization: Basic base64(<credential>:)`), Sportsyear's API-key form. `basic_pair` splits the credential on its first `:` and sends `Authorization: Basic base64(<username>:<password>)`, Projectworks' API-account form (CS-1980). `raw` sends the credential itself as the header value with no scheme word (`Authorization: <credential>`), AppsFlyer OneLink's form (CS-1918). Omit for `<auth_scheme> <credential>`. Must not be combined with `auth_scheme`."
32072
32072
  },
32073
+ token_exchange: {
32074
+ type: "object",
32075
+ description: "OAuth 2.0 client-credentials exchange (CS-1958). The stored credential is `<client id>:<client secret>`, exchanged at token_url for a short-lived bearer that the broker holds and sends as Bearer.",
32076
+ additionalProperties: false,
32077
+ required: ["token_url", "scope"],
32078
+ properties: {
32079
+ token_url: { type: "string", pattern: "^https://[^\\s]+$" },
32080
+ scope: { type: "string", minLength: 1 }
32081
+ }
32082
+ },
32073
32083
  runtime_scopes: {
32074
32084
  type: "object",
32075
32085
  description: "Per-runtime-scope support map. Each slot is either null (the integration does not support installs at this scope) or an object describing how token resolution and auth work for that scope.",
@@ -32130,8 +32140,13 @@ var integration_metadata_v1_default = {
32130
32140
  anyOf: [{ required: ["base_url"] }, { required: ["base_url_template"] }]
32131
32141
  },
32132
32142
  not: {
32133
- description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first.",
32134
- required: ["auth_scheme", "auth_encoding"]
32143
+ description: "auth_scheme and auth_encoding are mutually exclusive (ENG-10524). The templater refuses the combination on every call, so catalog validation refuses it first. token_exchange excludes both (CS-1958): the exchanged token must go out as Bearer, and either field would send it in a form the vendor rejects. It also excludes config_arg_defaults: those resolve the token before the approval gate, and an exchange there would post the secret for a call that may then be denied.",
32144
+ anyOf: [
32145
+ { required: ["auth_scheme", "auth_encoding"] },
32146
+ { required: ["token_exchange", "auth_scheme"] },
32147
+ { required: ["token_exchange", "auth_encoding"] },
32148
+ { required: ["token_exchange", "config_arg_defaults"] }
32149
+ ]
32135
32150
  },
32136
32151
  $defs: {
32137
32152
  scopeConfig: {
@@ -39946,6 +39961,25 @@ var FLAG_REGISTRY = [
39946
39961
  flagType: "boolean",
39947
39962
  defaultValue: false
39948
39963
  },
39964
+ {
39965
+ key: "kanban-waiting-person-notify",
39966
+ description: `Notify a human teammate, via their preferred channel (Slack DM, else email fallback), when an agent PARKS a kanban card on them - "I still own this and cannot finish until you act" (ENG-8291 / ENG-11974). This is a DIFFERENT ask from human-task-assignment-notify, which covers "this is yours now", where ownership MOVES to the person. Until ENG-11974 one flag gated both, because the park path composes the assignment path's delivery; an org that silenced assignment pings therefore also lost every blocked-on-you message, which is the failure my-waiting.ts measured at a PR sitting 25.5h on a single merge tap. Off = the card is parked silently (it still appears in the recipient's "Awaiting you" queue on My Tasks). Note kanban-waiting-status is a separate gate and governs whether a park may be EMITTED at all; this one governs whether the human is TOLD.`,
39967
+ flagType: "boolean",
39968
+ // Declared safe value is `false`, matching its assignment sibling: fail-closed
39969
+ // is the right direction for a rail that messages a human.
39970
+ //
39971
+ // This default is NOT the deploy-time behaviour, and reading it as such is the
39972
+ // trap. The accompanying migration MIRRORS human-task-assignment-notify onto
39973
+ // this key - whatever that flag's central value is, plus every one of its
39974
+ // overrides at every grain - so no org's effective behaviour changes when
39975
+ // ENG-11974 ships. It deliberately does NOT seed a literal `true`: on a stage
39976
+ // where the old flag has no row, the old gate resolves to `false` and nobody
39977
+ // is being messaged, so a literal `true` would ARM a rail that DMs and emails
39978
+ // real humans on a fleet that never had one. A registry default
39979
+ // renders identically to a measurement - to learn whether this is on for an
39980
+ // org, read feature_flags.value and feature_flag_overrides, never this line.
39981
+ defaultValue: false
39982
+ },
39949
39983
  {
39950
39984
  key: "resume-reconciler",
39951
39985
  description: "Health-gated safe auto-resume for circuit-breaker pauses (ENG-6383, epic ENG-6333). When on, the manager clears a trip only when the dependency has genuinely recovered (status active + MCP present + connectivity ok \u2265 hysteresis), replacing the blind ENG-6088 quiet-timer; when off, the blind timer still governs. Boolean gate; ships dark.",
@@ -68,12 +68,12 @@ import {
68
68
  writeDirectChatSessionState,
69
69
  writeEgressAllowlist,
70
70
  writePersistentClaudeWrapper
71
- } from "./chunk-HI4JD2K2.js";
72
- import "./chunk-4FLMCHQB.js";
71
+ } from "./chunk-74FVXAHG.js";
72
+ import "./chunk-AZ2QBMCL.js";
73
73
  import "./chunk-HYQ7VOC3.js";
74
74
  import "./chunk-6HBXEJHO.js";
75
75
  import "./chunk-XWVM4KPK.js";
76
- import "./chunk-XXIALNTU.js";
76
+ import "./chunk-NPW4S55O.js";
77
77
  import "./chunk-AIUIMEUS.js";
78
78
  import "./chunk-DGUM43GV.js";
79
79
  export {
@@ -147,4 +147,4 @@ export {
147
147
  writeEgressAllowlist,
148
148
  writePersistentClaudeWrapper
149
149
  };
150
- //# sourceMappingURL=persistent-session-S57KHU34.js.map
150
+ //# sourceMappingURL=persistent-session-YS5LY7YD.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-HI4JD2K2.js";
4
- import "./chunk-4FLMCHQB.js";
3
+ } from "./chunk-74FVXAHG.js";
4
+ import "./chunk-AZ2QBMCL.js";
5
5
  import "./chunk-HYQ7VOC3.js";
6
6
  import "./chunk-6HBXEJHO.js";
7
7
  import "./chunk-XWVM4KPK.js";
8
- import "./chunk-XXIALNTU.js";
8
+ import "./chunk-NPW4S55O.js";
9
9
  import "./chunk-AIUIMEUS.js";
10
10
  import "./chunk-DGUM43GV.js";
11
11
 
@@ -804,4 +804,4 @@ export {
804
804
  readAndResetSlackReplyBindingClassifications,
805
805
  readAndResetSlackReplyTargetClassifications
806
806
  };
807
- //# sourceMappingURL=responsiveness-probe-TFPKYDPB.js.map
807
+ //# sourceMappingURL=responsiveness-probe-C3SSBQCL.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-4FLMCHQB.js";
4
- import "./chunk-XXIALNTU.js";
3
+ } from "./chunk-AZ2QBMCL.js";
4
+ import "./chunk-NPW4S55O.js";
5
5
  import "./chunk-DGUM43GV.js";
6
6
 
7
7
  // src/lib/session-auth-dead.ts
@@ -205,4 +205,4 @@ export {
205
205
  decideSessionAuthState,
206
206
  probeSessionAuth
207
207
  };
208
- //# sourceMappingURL=session-auth-dead-EYJAWW46.js.map
208
+ //# sourceMappingURL=session-auth-dead-3GT7MM6J.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.1233",
3
+ "version": "0.28.1234",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {