@integrity-labs/agt-cli 0.28.892 → 0.28.893

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 (23) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-FZ6KIIYX.js → chunk-5464FJVN.js} +32 -8
  3. package/dist/{chunk-FZ6KIIYX.js.map → chunk-5464FJVN.js.map} +1 -1
  4. package/dist/{chunk-SUVQ2KSP.js → chunk-5YD7HEY7.js} +4 -4
  5. package/dist/{chunk-WMJBXN6N.js → chunk-RAEBKUW2.js} +2 -2
  6. package/dist/{claude-pair-runtime-RTD7ZCVS.js → claude-pair-runtime-3MK5MUPN.js} +2 -2
  7. package/dist/lib/manager-worker.js +14 -14
  8. package/dist/mcp/augmented-admin.js +22 -6
  9. package/dist/mcp/direct-chat-channel.js +31 -7
  10. package/dist/mcp/index.js +31 -7
  11. package/dist/mcp/origami.js +31 -7
  12. package/dist/mcp/slack-channel.js +31 -7
  13. package/dist/mcp/telegram-channel.js +31 -7
  14. package/dist/{persistent-session-ARKZDYMX.js → persistent-session-5HSYQBF7.js} +3 -3
  15. package/dist/{responsiveness-probe-X2WXPIUI.js → responsiveness-probe-ZSB3DLLI.js} +3 -3
  16. package/dist/{session-auth-dead-BLEV4AUJ.js → session-auth-dead-J7SQAYRR.js} +2 -2
  17. package/package.json +1 -1
  18. /package/dist/{chunk-SUVQ2KSP.js.map → chunk-5YD7HEY7.js.map} +0 -0
  19. /package/dist/{chunk-WMJBXN6N.js.map → chunk-RAEBKUW2.js.map} +0 -0
  20. /package/dist/{claude-pair-runtime-RTD7ZCVS.js.map → claude-pair-runtime-3MK5MUPN.js.map} +0 -0
  21. /package/dist/{persistent-session-ARKZDYMX.js.map → persistent-session-5HSYQBF7.js.map} +0 -0
  22. /package/dist/{responsiveness-probe-X2WXPIUI.js.map → responsiveness-probe-ZSB3DLLI.js.map} +0 -0
  23. /package/dist/{session-auth-dead-BLEV4AUJ.js.map → session-auth-dead-J7SQAYRR.js.map} +0 -0
package/dist/bin/agt.js CHANGED
@@ -40,12 +40,12 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-SUVQ2KSP.js";
43
+ } from "../chunk-5YD7HEY7.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-WMJBXN6N.js";
48
+ } from "../chunk-RAEBKUW2.js";
49
49
  import {
50
50
  AnchorSessionClient,
51
51
  CHANNEL_REGISTRY,
@@ -79,7 +79,7 @@ import {
79
79
  serializeManifestForSlackCli,
80
80
  sessionFileExists,
81
81
  sessionTranscriptDir
82
- } from "../chunk-FZ6KIIYX.js";
82
+ } from "../chunk-5464FJVN.js";
83
83
  import "../chunk-XWVM4KPK.js";
84
84
 
85
85
  // src/bin/agt.ts
@@ -5467,7 +5467,7 @@ import { execFileSync, execSync } from "child_process";
5467
5467
  import { existsSync as existsSync11, realpathSync as realpathSync2 } from "fs";
5468
5468
  import chalk18 from "chalk";
5469
5469
  import ora16 from "ora";
5470
- var cliVersion = true ? "0.28.892" : "dev";
5470
+ var cliVersion = true ? "0.28.893" : "dev";
5471
5471
  async function fetchLatestVersion() {
5472
5472
  const host2 = getHost();
5473
5473
  if (!host2) return null;
@@ -6658,7 +6658,7 @@ function handleError(err) {
6658
6658
  }
6659
6659
 
6660
6660
  // src/bin/agt.ts
6661
- var cliVersion2 = true ? "0.28.892" : "dev";
6661
+ var cliVersion2 = true ? "0.28.893" : "dev";
6662
6662
  var program = new Command();
6663
6663
  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");
6664
6664
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -6832,14 +6832,38 @@ var FLAG_REGISTRY = [
6832
6832
  },
6833
6833
  {
6834
6834
  key: "app-top-nav-shell",
6835
- description: "Global top-navigation shell redesign (ENG-8478 epic / ENG-8486). When ON, the dashboard chrome replaces the left sidebar with a top navigation bar (team switcher \xB7 destinations \xB7 command palette + account) so the left side is free for an agent-scoped rail; when OFF, the existing left sidebar is unchanged. Additive layout gate \u2014 no data-model change. Composes independently with agent-unified-screen (the two flags are reconciled in ENG-8488). Ships dark.",
6835
+ description: "Global top-navigation shell redesign (ENG-8478 epic / ENG-8486). When ON, the dashboard chrome replaces the left sidebar with a top navigation bar (team switcher \xB7 destinations \xB7 command palette + account) so the left side is free for an agent-scoped rail; when OFF, the existing left sidebar is unchanged. Additive layout gate \u2014 no data-model change. Composes independently with agent-unified-screen (the two flags are reconciled in ENG-8488). NO LONGER DARK: ENG-9831 cutover step 1 flipped the default to true, so an org with no override now gets the top-nav shell. The key survives only until cutover step 2 deletes it.",
6836
6836
  flagType: "boolean",
6837
- // Declared safe value is `false` = the current left sidebar. Fail-closed to the
6838
- // shell that ships today if the flag DB is unreachable.
6839
- defaultValue: false,
6840
- // Read CLIENT-SIDE by the dashboard layout + sidebar ("use client") via
6841
- // usePublicBooleanFlag, so the key must be in the browser-exposed public map.
6842
- // Additive layout gate not sensitive.
6837
+ // ENG-9831 (cutover step 1): flipped `false` -> `true`. The comment this
6838
+ // replaces called `false` the fail-closed direction — "the shell that ships
6839
+ // today". That was true while the sidebar was the shell that shipped; the
6840
+ // top nav is now the one being cut over to, so `false` points at the layout
6841
+ // being retired. The old rationale is recorded rather than deleted because
6842
+ // it was correct under a premise that has expired.
6843
+ //
6844
+ // NOTE the same split as ninjafy-brand below: this value is consulted by the
6845
+ // API evaluator when building the `GET /flags` map for an org with no
6846
+ // override. It is NOT the fallback the webapp uses on an outage — that is
6847
+ // the argument passed at the call site. Four call sites carry `true` to
6848
+ // match: (dashboard)/layout.tsx and the three legacy redirect hubs
6849
+ // (settings, team, organization/settings). Flipping the registry alone
6850
+ // leaves the cutover half-applied.
6851
+ defaultValue: true,
6852
+ // ENG-9831: NO LONGER read client-side. It was — via usePublicBooleanFlag in
6853
+ // sidebar.tsx (twice) and top-nav.tsx — and that is precisely what this
6854
+ // slice removed: a client hook starts at its default and corrects after an
6855
+ // async GET /flags, so the console painted the sidebar and then replaced the
6856
+ // WHOLE dashboard chrome after hydration. The ENG-8858/ENG-9227 flash at
6857
+ // layout scale. It is now resolved once server-side in (dashboard)/
6858
+ // layout.tsx and passed to both shells as a required prop.
6859
+ //
6860
+ // `public` MUST STAY ANYWAY — the same trap documented on ninjafy-brand.
6861
+ // getPublicBooleanFlagServer resolves against the very same public-filtered
6862
+ // `GET /flags` the browser uses (routes/flags.ts filters to
6863
+ // listPublicFlagKeys()). Drop `public` and the key is simply absent from the
6864
+ // map, the server helper falls through to its default forever, and every org
6865
+ // silently gets whatever that default happens to be with no error anywhere.
6866
+ // `public` means "readable through the public map", not "read by a browser".
6843
6867
  public: true
6844
6868
  },
6845
6869
  {
@@ -14459,4 +14483,4 @@ export {
14459
14483
  peekCurrentSession,
14460
14484
  readDailySessionPin
14461
14485
  };
14462
- //# sourceMappingURL=chunk-FZ6KIIYX.js.map
14486
+ //# sourceMappingURL=chunk-5464FJVN.js.map