@integrity-labs/agt-cli 0.28.1195 → 0.28.1197

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 (29) hide show
  1. package/dist/bin/agt.js +6 -6
  2. package/dist/{chunk-YTM5HQRH.js → chunk-2IQ6KNPD.js} +5 -5
  3. package/dist/{chunk-2HAH3TZ4.js → chunk-I2ZT7SV2.js} +21 -2
  4. package/dist/chunk-I2ZT7SV2.js.map +1 -0
  5. package/dist/{chunk-MLIFIEIF.js → chunk-LBQSZVUX.js} +2 -2
  6. package/dist/{chunk-KL35IHP2.js → chunk-QAOYRG2J.js} +3 -3
  7. package/dist/{chunk-WUYF7RDA.js → chunk-W4WVX7D4.js} +2 -2
  8. package/dist/{claude-code-updater-DLTAAQOT.js → claude-code-updater-MO64U3D6.js} +3 -3
  9. package/dist/{claude-pair-runtime-XAUZPAUP.js → claude-pair-runtime-HDMTFKOY.js} +3 -3
  10. package/dist/lib/manager-worker.js +19 -19
  11. package/dist/mcp/direct-chat-channel.js +20 -1
  12. package/dist/mcp/index.js +20 -1
  13. package/dist/mcp/origami.js +20 -1
  14. package/dist/mcp/slack-channel.js +20 -1
  15. package/dist/mcp/telegram-channel.js +20 -1
  16. package/dist/{persistent-session-TV4FIBN4.js → persistent-session-FMSMQ34K.js} +4 -4
  17. package/dist/{responsiveness-probe-BBAAYANU.js → responsiveness-probe-AZOLKKQD.js} +4 -4
  18. package/dist/{session-auth-dead-JMYATIQN.js → session-auth-dead-SXJSD34M.js} +3 -3
  19. package/package.json +1 -1
  20. package/dist/chunk-2HAH3TZ4.js.map +0 -1
  21. /package/dist/{chunk-YTM5HQRH.js.map → chunk-2IQ6KNPD.js.map} +0 -0
  22. /package/dist/{chunk-MLIFIEIF.js.map → chunk-LBQSZVUX.js.map} +0 -0
  23. /package/dist/{chunk-KL35IHP2.js.map → chunk-QAOYRG2J.js.map} +0 -0
  24. /package/dist/{chunk-WUYF7RDA.js.map → chunk-W4WVX7D4.js.map} +0 -0
  25. /package/dist/{claude-code-updater-DLTAAQOT.js.map → claude-code-updater-MO64U3D6.js.map} +0 -0
  26. /package/dist/{claude-pair-runtime-XAUZPAUP.js.map → claude-pair-runtime-HDMTFKOY.js.map} +0 -0
  27. /package/dist/{persistent-session-TV4FIBN4.js.map → persistent-session-FMSMQ34K.js.map} +0 -0
  28. /package/dist/{responsiveness-probe-BBAAYANU.js.map → responsiveness-probe-AZOLKKQD.js.map} +0 -0
  29. /package/dist/{session-auth-dead-JMYATIQN.js.map → session-auth-dead-SXJSD34M.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,17 +40,17 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-YTM5HQRH.js";
43
+ } from "../chunk-2IQ6KNPD.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-KL35IHP2.js";
48
+ } from "../chunk-QAOYRG2J.js";
49
49
  import {
50
50
  markDailySessionSpawn,
51
51
  sessionFileExists,
52
52
  sessionTranscriptDir
53
- } from "../chunk-MLIFIEIF.js";
53
+ } from "../chunk-LBQSZVUX.js";
54
54
  import "../chunk-OO36JBFI.js";
55
55
  import "../chunk-6HBXEJHO.js";
56
56
  import "../chunk-XWVM4KPK.js";
@@ -83,7 +83,7 @@ import {
83
83
  requiredMcpWildcard,
84
84
  resolveChannels,
85
85
  serializeManifestForSlackCli
86
- } from "../chunk-2HAH3TZ4.js";
86
+ } from "../chunk-I2ZT7SV2.js";
87
87
  import "../chunk-AIUIMEUS.js";
88
88
  import "../chunk-DGUM43GV.js";
89
89
 
@@ -5200,7 +5200,7 @@ import { execFileSync, execSync } from "child_process";
5200
5200
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
5201
5201
  import chalk17 from "chalk";
5202
5202
  import ora15 from "ora";
5203
- var cliVersion = true ? "0.28.1195" : "dev";
5203
+ var cliVersion = true ? "0.28.1197" : "dev";
5204
5204
  async function fetchLatestVersion() {
5205
5205
  const host2 = getHost();
5206
5206
  if (!host2) return null;
@@ -6460,7 +6460,7 @@ function handleError(err) {
6460
6460
  }
6461
6461
 
6462
6462
  // src/bin/agt.ts
6463
- var cliVersion2 = true ? "0.28.1195" : "dev";
6463
+ var cliVersion2 = true ? "0.28.1197" : "dev";
6464
6464
  var program = new Command();
6465
6465
  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");
6466
6466
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -16,11 +16,11 @@ import {
16
16
  parseEnvFileEntries,
17
17
  parseEnvIntegrations,
18
18
  shellQuote
19
- } from "./chunk-KL35IHP2.js";
19
+ } from "./chunk-QAOYRG2J.js";
20
20
  import {
21
21
  readDailySessionPin,
22
22
  sessionTranscriptDir
23
- } from "./chunk-MLIFIEIF.js";
23
+ } from "./chunk-LBQSZVUX.js";
24
24
  import {
25
25
  classifyUnanswerablePane,
26
26
  isConsumerTermsDialogVisible,
@@ -92,7 +92,7 @@ import {
92
92
  scanConfigForLiteralSecrets,
93
93
  worseConnectivityOutcome,
94
94
  wrapScheduledTaskPrompt
95
- } from "./chunk-2HAH3TZ4.js";
95
+ } from "./chunk-I2ZT7SV2.js";
96
96
  import {
97
97
  claudeJsonPathFor,
98
98
  effectiveClaudeJsonPath,
@@ -8082,7 +8082,7 @@ function exchangeFailureKind(err) {
8082
8082
  }
8083
8083
 
8084
8084
  // src/lib/api-client.ts
8085
- var agtCliVersion = true ? "0.28.1195" : "dev";
8085
+ var agtCliVersion = true ? "0.28.1197" : "dev";
8086
8086
  var lastConfigHash = null;
8087
8087
  function setConfigHash(hash) {
8088
8088
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -13682,4 +13682,4 @@ export {
13682
13682
  managerInstallSystemUnitCommand,
13683
13683
  managerUninstallSystemUnitCommand
13684
13684
  };
13685
- //# sourceMappingURL=chunk-YTM5HQRH.js.map
13685
+ //# sourceMappingURL=chunk-2IQ6KNPD.js.map
@@ -6238,6 +6238,14 @@ var FLAG_REGISTRY = [
6238
6238
  // be in the browser-exposed public map.
6239
6239
  public: true
6240
6240
  },
6241
+ {
6242
+ key: "host-wizard-managed-tokens",
6243
+ description: 'ENG-11861: show the "Ninjafy supplies the tokens" (OpenRouter, claude_auth_mode=openrouter) option in the new-host wizard, including onboarding. Off = customers are offered BYO Claude Max (and BYO API key outside onboarding) only. Hides the CHOICE only: the mode itself, existing OpenRouter hosts, admin tooling and ENG-7515 auto-failover are untouched. Ships dark; turn on per org for anyone who should still be offered it.',
6244
+ flagType: "boolean",
6245
+ defaultValue: false,
6246
+ // Read client-side by the new-host wizard (usePublicBooleanFlag).
6247
+ public: true
6248
+ },
6241
6249
  {
6242
6250
  key: "opencode-live-view",
6243
6251
  description: "opencode-native Live View / Diagnostics (ENG-7927): the agent Diagnostics tab renders a structured session transcript (messages + tool calls + reasoning) for opencode agents instead of the tmux pane, by polling GET /admin/agents/:id/opencode-transcript (which SSM-reads a redacted snapshot the manager writes) ~every 3s for a bounded window. Boolean gate; ships dark; when OFF the route returns feature_disabled and opencode agents show the static diagnostics snapshot. Claude Code agents are unaffected (they keep the tmux pane).",
@@ -8655,7 +8663,7 @@ var FLAG_REGISTRY = [
8655
8663
  sensitive: true
8656
8664
  // Not public: the browser makes no decision from this. The only consumer is
8657
8665
  // packages/api/src/middleware/ip-allowlist.ts.
8658
- }
8666
+ },
8659
8667
  // THERE IS DELIBERATELY NO `ip-allowlist-enforce-mcp` FLAG.
8660
8668
  //
8661
8669
  // The per-agent MCP surface (POST /agents/:codeName/mcp) is allowlist
@@ -8691,6 +8699,16 @@ var FLAG_REGISTRY = [
8691
8699
  // adding the flag here and a key in ENFORCE_FLAG is a small diff - but it is a
8692
8700
  // decision to own someone else's egress, not a discovery that the population
8693
8701
  // was allowlistable all along.
8702
+ {
8703
+ key: "composio-arm-key-at-mint",
8704
+ description: "ENG-11446 - mint a new org's Composio project key with its IP allowlist already set, from composio-approved-egress.json. OFF (default) = keys are minted unrestricted, as before, and an operator arms them in the dashboard. ON = armed in the create call. Off by default because a wrong set is unrepairable from here: there is no API to read or edit the allowlist, so every key minted from a stale file refuses its callers until someone edits it by hand. Turn on per stage only after the file is confirmed current and a key armed from it returns 200 from an agt-hosts instance (probe-allowed-ips.ts --host-verify). Prod only for now: the file holds prod addresses, so an armed test-stage key would refuse test hosts. Turning it off affects future mints only; keys already armed stay armed.",
8705
+ flagType: "boolean",
8706
+ defaultValue: false,
8707
+ sensitive: true,
8708
+ // Fleet-wide security posture, not an org's choice: an org override must not be able
8709
+ // to arm or unarm its own keys (CodeRabbit on #7359).
8710
+ platformAdminOnly: true
8711
+ }
8694
8712
  ];
8695
8713
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
8696
8714
  function getFlagDefinition(key) {
@@ -14230,6 +14248,7 @@ var APPROVED_EGRESS_ACCOUNT = composio_approved_egress_default.account;
14230
14248
  var APPROVED_EGRESS_HOME_REGION = composio_approved_egress_default.homeRegion;
14231
14249
  var APPROVED_EGRESS_ADDRESSES = composio_approved_egress_default.addresses;
14232
14250
  var ORG_EGRESS_ADDRESSES = composio_approved_egress_default.orgAddresses ?? {};
14251
+ var SELF_HOST_SILENCE_WINDOW_MS = 7 * 24 * 60 * 60 * 1e3;
14233
14252
 
14234
14253
  // ../../packages/core/dist/integrations/composio-tool-call-probe.js
14235
14254
  var MCP_ACCEPT2 = "application/json, text/event-stream";
@@ -17686,4 +17705,4 @@ export {
17686
17705
  HOST_ROTATE_KEY_CONFLICT,
17687
17706
  shouldMintReplacementKey
17688
17707
  };
17689
- //# sourceMappingURL=chunk-2HAH3TZ4.js.map
17708
+ //# sourceMappingURL=chunk-I2ZT7SV2.js.map