@integrity-labs/agt-cli 0.28.780 → 0.28.782

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 (24) hide show
  1. package/dist/bin/agt.js +5 -5
  2. package/dist/{chunk-REPC7LF2.js → chunk-TNETRPYC.js} +22 -1
  3. package/dist/{chunk-REPC7LF2.js.map → chunk-TNETRPYC.js.map} +1 -1
  4. package/dist/{chunk-VYFQRDSP.js → chunk-WP2NPGER.js} +101 -4
  5. package/dist/chunk-WP2NPGER.js.map +1 -0
  6. package/dist/{chunk-HHFDK7WB.js → chunk-YA5PGNN2.js} +2 -2
  7. package/dist/{claude-pair-runtime-CK34MZ6M.js → claude-pair-runtime-2PDHNNKZ.js} +2 -2
  8. package/dist/lib/manager-worker.js +16 -14
  9. package/dist/lib/manager-worker.js.map +1 -1
  10. package/dist/mcp/direct-chat-channel.js +21 -0
  11. package/dist/mcp/index.js +21 -0
  12. package/dist/mcp/origami.js +21 -0
  13. package/dist/mcp/slack-channel.js +21 -0
  14. package/dist/mcp/telegram-channel.js +21 -0
  15. package/dist/{persistent-session-ETZBTCXU.js → persistent-session-PX5UJ3WY.js} +3 -3
  16. package/dist/{responsiveness-probe-EWUJOLVA.js → responsiveness-probe-U4BEPPKX.js} +3 -3
  17. package/dist/{session-auth-dead-TDPTLVBO.js → session-auth-dead-2TLMBIM6.js} +2 -2
  18. package/package.json +1 -1
  19. package/dist/chunk-VYFQRDSP.js.map +0 -1
  20. /package/dist/{chunk-HHFDK7WB.js.map → chunk-YA5PGNN2.js.map} +0 -0
  21. /package/dist/{claude-pair-runtime-CK34MZ6M.js.map → claude-pair-runtime-2PDHNNKZ.js.map} +0 -0
  22. /package/dist/{persistent-session-ETZBTCXU.js.map → persistent-session-PX5UJ3WY.js.map} +0 -0
  23. /package/dist/{responsiveness-probe-EWUJOLVA.js.map → responsiveness-probe-U4BEPPKX.js.map} +0 -0
  24. /package/dist/{session-auth-dead-TDPTLVBO.js.map → session-auth-dead-2TLMBIM6.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-VYFQRDSP.js";
43
+ } from "../chunk-WP2NPGER.js";
44
44
  import {
45
45
  getProjectDir,
46
46
  isSessionResumeDisabled,
47
47
  readDirectChatSessionState
48
- } from "../chunk-HHFDK7WB.js";
48
+ } from "../chunk-YA5PGNN2.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-REPC7LF2.js";
82
+ } from "../chunk-TNETRPYC.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.780" : "dev";
5470
+ var cliVersion = true ? "0.28.782" : "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.780" : "dev";
6661
+ var cliVersion2 = true ? "0.28.782" : "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) => {
@@ -6355,6 +6355,27 @@ var FLAG_REGISTRY = [
6355
6355
  // docs/runbooks/async-export-rollout.md, so the placeholder has a named
6356
6356
  // owner and a named moment rather than being a deferral nobody holds.
6357
6357
  since: "0.29.0"
6358
+ },
6359
+ {
6360
+ key: "artefact-export-public-jobs",
6361
+ description: "ADR-0077 / ENG-9730 - whether the PUBLIC Download button may create an async artefact-export job. OFF (default) = today's synchronous render on the public route. SEPARATE FROM artefact-export-jobs-start ON PURPOSE, and the reason is the whole point of the flag. That one is ordered against the agt CLI fleet: a pre-ENG-9729 agent cannot read a job-id body, so arming it early BREAKS an export. This lane's client is a BROWSER, which has no version to converge on - the waiting page is generated fresh by the server on every request. Sharing one lever would hold the customer-facing half hostage to an agent-side constraint that does not apply to it. Note what this flag does NOT gate: a navigation always gets HTML rather than a JSON error body. That is the fix for a live defect (a renderer outage used to navigate a reader off their document to a raw error) and is not conditional on async. Reading artefact-export-jobs-serve as an AND still applies - the master switch turns off both lanes. ONE CHECK BEFORE ARMING, and it is not fleet convergence: the lane assumes a browser NAVIGATES to the waiting page rather than saving it, which holds because the cross-origin download attribute is ignored. Documented for Chrome/Firefox/ WebKit, but unverified on a real Safari - and a phone is where a contract link gets opened. Run the desktop+iOS Safari smoke check in the runbook first. Org-scoped, so it can be armed for one tenant at a time. Deliberately NO envVar (ENG-7972 4KB cap, ENG-8303 pin).",
6362
+ flagType: "boolean",
6363
+ // Dark, like every other lane in this ADR. What it changes is real - a slow
6364
+ // render stops completing in place and starts arriving via a waiting page -
6365
+ // so it wants a deliberate flip per tenant, not a deploy-time default.
6366
+ defaultValue: false
6367
+ // Deliberately NOT sensitive, and the contrast with artefact-export-jobs-start
6368
+ // is the argument. That flag is `sensitive` because arming it can hand a job
6369
+ // id to a binary that answers with a TypeError - an unguarded write breaks a
6370
+ // caller we do not control. Here the worst case is a reader seeing an
6371
+ // explanatory page a few seconds sooner than they otherwise would, on a
6372
+ // client that is re-served from this deploy on every request. Marking it
6373
+ // sensitive would spend a confirmation step on a reversible display change
6374
+ // and blunt the signal on the flags where confirmation is load-bearing.
6375
+ //
6376
+ // No `since` for the same reason: there is no host-side reader and no fleet
6377
+ // to converge, so `classifyHostReach` returning `honors` for every host is
6378
+ // the literal truth here rather than the trap it is one flag above.
6358
6379
  }
6359
6380
  ];
6360
6381
  var REGISTRY_BY_KEY = new Map(FLAG_REGISTRY.map((definition) => [definition.key, definition]));
@@ -13493,4 +13514,4 @@ export {
13493
13514
  peekCurrentSession,
13494
13515
  readDailySessionPin
13495
13516
  };
13496
- //# sourceMappingURL=chunk-REPC7LF2.js.map
13517
+ //# sourceMappingURL=chunk-TNETRPYC.js.map