@integrity-labs/agt-cli 0.28.650 → 0.28.651

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-5DXWVKCZ.js";
43
+ } from "../chunk-EXMRWMXQ.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-CSLG2XMX.js";
46
+ } from "../chunk-EUXCRRZU.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-ZAZKEL4Y.js";
76
+ } from "../chunk-V5MUX3GI.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.650" : "dev";
4912
+ var cliVersion = true ? "0.28.651" : "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.650" : "dev";
6092
+ var cliVersion2 = true ? "0.28.651" : "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-ZAZKEL4Y.js";
19
+ } from "./chunk-V5MUX3GI.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-CSLG2XMX.js.map
4325
+ //# sourceMappingURL=chunk-EUXCRRZU.js.map
@@ -8,7 +8,7 @@ import {
8
8
  isolationMode,
9
9
  log,
10
10
  parseEnvIntegrations
11
- } from "./chunk-CSLG2XMX.js";
11
+ } from "./chunk-EUXCRRZU.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-ZAZKEL4Y.js";
58
+ } from "./chunk-V5MUX3GI.js";
59
59
  import {
60
60
  parsePsRows
61
61
  } from "./chunk-XWVM4KPK.js";
@@ -6073,7 +6073,7 @@ function exchangeFailureKind(err) {
6073
6073
  }
6074
6074
 
6075
6075
  // src/lib/api-client.ts
6076
- var agtCliVersion = true ? "0.28.650" : "dev";
6076
+ var agtCliVersion = true ? "0.28.651" : "dev";
6077
6077
  var lastConfigHash = null;
6078
6078
  function setConfigHash(hash) {
6079
6079
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -9815,4 +9815,4 @@ export {
9815
9815
  managerInstallSystemUnitCommand,
9816
9816
  managerUninstallSystemUnitCommand
9817
9817
  };
9818
- //# sourceMappingURL=chunk-5DXWVKCZ.js.map
9818
+ //# sourceMappingURL=chunk-EXMRWMXQ.js.map
@@ -5427,18 +5427,22 @@ var FLAG_REGISTRY = [
5427
5427
  },
5428
5428
  {
5429
5429
  key: "ninjafy-brand",
5430
- description: 'Present the product under the Ninjafy brand instead of Augmented Team (ENG-8250). This is the UMBRELLA brand gate, not a one-off nav toggle: every subsequent rebrand surface (page titles, email templates, marketing-facing copy) reads THIS key rather than adding its own flag, so the whole rebrand keeps a single kill switch. First surface is the left-hand nav wordmark \u2014 ON replaces the human+robot mark and the "augmented.team" text with italic lowercase "ninjafy"; OFF renders exactly what shipped before. Scope is USER-FACING BRAND TEXT ONLY: it must never gate a code identifier, package name, env var or CLI name. EXISTING identifiers stay `Augmented`/`agt` per the CLAUDE.md naming contract, which protects them from premature renaming \u2014 the deep rename is workstream C of docs/runbooks/rebrand-ninjafy-migration.md and is out of scope here. That contract does NOT require NEW code to carry the old brand: artefacts created specifically for the rebrand take Ninjafy naming (ENG-8078 decision 9; see the CLAUDE.md rebrand carve-out). Either way it is a naming rule, not a flag concern \u2014 this key gates text, never an identifier. Set the stage-wide default to flip a whole environment, or add a feature_flag_overrides row to pilot a subset while everyone else still sees Augmented. Overrides resolve at FOUR grains, most specific first \u2014 agent, team, host, then org-wide (evaluate.ts:79-81); organization_id is always required, so there is no global override. Org and team are the useful pilot grains for THIS flag: its only consumer is sidebar.tsx via usePublicBooleanFlag, which evaluates in the active-org cookie scope, so a host- or agent-scoped row is accepted by the table but never reached by the console. Ships dark.',
5430
+ description: 'Present the product under the Ninjafy brand instead of Augmented Team (ENG-8250). This is the UMBRELLA brand gate, not a one-off nav toggle: every subsequent rebrand surface (page titles, email templates, marketing-facing copy) reads THIS key rather than adding its own flag, so the whole rebrand keeps a single kill switch. First surface is the left-hand nav wordmark \u2014 ON replaces the human+robot mark and the "augmented.team" text with italic lowercase "ninjafy"; OFF renders exactly what shipped before. Scope is the USER-FACING BRAND PRESENTATION \u2014 text AND VISUAL THEME. ENG-8858 widened this from text alone: the Ninjafy palette is gated here too, because a colour theme is not text. It stays ONE key rather than gaining a `ninjafy-theme` sibling, so a half-branded state \u2014 ninjafy wordmark over Augmented green \u2014 is unreachable and the rebrand keeps a single kill switch. It must never gate a code identifier, package name, env var or CLI name. EXISTING identifiers stay `Augmented`/`agt` per the CLAUDE.md naming contract, which protects them from premature renaming \u2014 the deep rename is workstream C of docs/runbooks/rebrand-ninjafy-migration.md and is out of scope here. That contract does NOT require NEW code to carry the old brand: artefacts created specifically for the rebrand take Ninjafy naming (ENG-8078 decision 9; see the CLAUDE.md rebrand carve-out). Either way it is a naming rule, not a flag concern \u2014 this key gates presentation, never an identifier. Set the stage-wide default to flip a whole environment, or add a feature_flag_overrides row to pilot a subset while everyone else still sees Augmented. Overrides resolve at FOUR grains, most specific first \u2014 agent, team, host, then org-wide (evaluate.ts:79-81); organization_id is always required, so there is no global override. Org and team are the useful pilot grains for THIS flag: EVERY consumer evaluates in the active-org cookie scope \u2014 sidebar.tsx and top-nav.tsx via usePublicBooleanFlag, and (dashboard)/layout.tsx via getPublicBooleanFlagServer \u2014 so a host- or agent-scoped row is accepted by the table but never reached by the console. The THEME is resolved SERVER-side deliberately (ENG-8858): the client hook starts at its default and updates after an async GET /flags, so gating a palette on it paints Augmented and repaints \u2014 a full-page colour flash, not just the wordmark flash it already causes. A consequence worth knowing: /login and the marketing routes stay on the Augmented palette whatever an org sets, because getPublicBooleanFlagServer returns the default without a verified session and a pre-auth page has neither a session nor an active org \u2014 a PER-ORG flag structurally cannot brand one. Those surfaces follow only when the stage-wide default flips. Ships dark.',
5431
5431
  flagType: "boolean",
5432
5432
  // Declared safe value is `false`: the pre-rebrand brand. `false` is also the
5433
5433
  // fail-closed direction — if the flag DB is unreachable we must show the brand
5434
5434
  // that is currently live and contractually correct, never leak an unannounced
5435
5435
  // rebrand to every customer at once.
5436
5436
  defaultValue: false,
5437
- // Read CLIENT-SIDE: sidebar.tsx is a "use client" component and resolves this
5438
- // via usePublicBooleanFlag, so the key must be in the browser-exposed public
5439
- // map. Unlike onboarding-msteams-channel above there is no wrong-org hazard —
5440
- // the sidebar renders inside the active-org cookie's scope, which is exactly
5441
- // the org whose brand should be shown.
5437
+ // Read on BOTH sides, so the key must be in the browser-exposed public map:
5438
+ // sidebar.tsx and top-nav.tsx are "use client" and resolve it via
5439
+ // usePublicBooleanFlag for the WORDMARK, while (dashboard)/layout.tsx resolves
5440
+ // it server-side via getPublicBooleanFlagServer for the THEME (ENG-8858) a
5441
+ // palette cannot wait for an async client fetch without flashing. Dropping
5442
+ // `public` would break the two client readers, not just the server one.
5443
+ // Unlike onboarding-msteams-channel above there is no wrong-org hazard — every
5444
+ // reader evaluates inside the active-org cookie's scope, which is exactly the
5445
+ // org whose brand should be shown.
5442
5446
  public: true
5443
5447
  },
5444
5448
  {
@@ -7760,6 +7764,9 @@ var TIER_PATTERNS = [
7760
7764
  }
7761
7765
  ];
7762
7766
 
7767
+ // ../../packages/core/dist/integrations/pending-approval.js
7768
+ var PENDING_APPROVAL_TTL_MS = 7 * 24 * 60 * 60 * 1e3;
7769
+
7763
7770
  // ../../packages/core/dist/integrations/augmented-live/markup.js
7764
7771
  var MARKUP_MARKER = "__augmentedLiveMarkup";
7765
7772
  var MARKUP_CONTROL_MARKER = "__augmentedLiveMarkupControl";
@@ -12227,4 +12234,4 @@ export {
12227
12234
  minutesSinceLocalMidnight,
12228
12235
  peekCurrentSession
12229
12236
  };
12230
- //# sourceMappingURL=chunk-ZAZKEL4Y.js.map
12237
+ //# sourceMappingURL=chunk-V5MUX3GI.js.map