@integrity-labs/agt-cli 0.28.417 → 0.28.419

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.
@@ -25,7 +25,7 @@ import {
25
25
  resolveConnectivityProbe,
26
26
  worseConnectivityOutcome,
27
27
  wrapScheduledTaskPrompt
28
- } from "./chunk-I5SDCW2T.js";
28
+ } from "./chunk-IKQHNN7I.js";
29
29
  import {
30
30
  parsePsRows
31
31
  } from "./chunk-XWVM4KPK.js";
@@ -3639,18 +3639,18 @@ function provisionPreCompactHook(codeName) {
3639
3639
  `AGENT_DIR="${agentDir}"`,
3640
3640
  "INPUT=$(cat 2>/dev/null || true)",
3641
3641
  "",
3642
- "# --- Gate: compaction-notice flag (env override > flags-cache > off) -----",
3643
- '# Default OFF, so only an explicit "true" (env or cache) arms the notice.',
3644
- "# Mirrors the orient hook's flag resolution; the cache lives one dir above",
3645
- "# AGENT_DIR at ~/.augmented/flags-cache.json.",
3646
- "NOTICE_ON=0",
3642
+ "# --- Gate: compaction-notice flag (env override > flags-cache > on) ------",
3643
+ "# Default ON (ENG-8040: promoted from dark to on-by-default). Mirrors the",
3644
+ "# orient hook's flag resolution; the cache lives one dir above AGENT_DIR at",
3645
+ "# ~/.augmented/flags-cache.json. Explicit false (env or cache) disables.",
3646
+ "NOTICE_ON=1",
3647
3647
  'case "${AGT_COMPACTION_NOTICE_ENABLED:-}" in',
3648
3648
  " true|1|yes|on) NOTICE_ON=1 ;;",
3649
3649
  " false|0|no|off) NOTICE_ON=0 ;;",
3650
3650
  " *)",
3651
3651
  ' FLAGS_CACHE="$(dirname "$AGENT_DIR")/flags-cache.json"',
3652
- ` if [ -f "$FLAGS_CACHE" ] && [ "$(jq -r '.flags["compaction-notice"]' "$FLAGS_CACHE" 2>/dev/null || echo null)" = "true" ]; then`,
3653
- " NOTICE_ON=1",
3652
+ ` if [ -f "$FLAGS_CACHE" ] && [ "$(jq -r '.flags["compaction-notice"]' "$FLAGS_CACHE" 2>/dev/null || echo null)" = "false" ]; then`,
3653
+ " NOTICE_ON=0",
3654
3654
  " fi",
3655
3655
  " ;;",
3656
3656
  "esac",
@@ -4205,6 +4205,14 @@ function buildMcpJson(input) {
4205
4205
  ...brokerMode ? { AGT_INTEGRATION_ID: xeroIntegration.id } : {},
4206
4206
  // ENG-4922: writes go through xero-broker → read-only vendor server.
4207
4207
  ...hasXeroBroker ? { XERO_WRITES_VIA_BROKER: "true" } : {},
4208
+ // CS-1511: where get-invoice-pdf saves the document Xero renders. It
4209
+ // MUST land inside this agent's own project dir - that is the only
4210
+ // place its file tools can read back, so an export written anywhere
4211
+ // else is invisible to the agent that asked for it. Resolved through
4212
+ // getProjectDir (the ADR-0049 seam), not the MCP child's inherited
4213
+ // cwd, so the path stays correct if Claude Code ever spawns the
4214
+ // server from somewhere else.
4215
+ XERO_EXPORT_DIR: join2(getProjectDir(input.agent.code_name), "xero-exports"),
4208
4216
  PATH: process.env["PATH"] ?? "",
4209
4217
  HOME: process.env["HOME"] ?? ""
4210
4218
  }
@@ -6003,7 +6011,7 @@ function requireHost() {
6003
6011
  }
6004
6012
 
6005
6013
  // src/lib/api-client.ts
6006
- var agtCliVersion = true ? "0.28.417" : "dev";
6014
+ var agtCliVersion = true ? "0.28.419" : "dev";
6007
6015
  var lastConfigHash = null;
6008
6016
  function setConfigHash(hash) {
6009
6017
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8507,4 +8515,4 @@ export {
8507
8515
  managerInstallSystemUnitCommand,
8508
8516
  managerUninstallSystemUnitCommand
8509
8517
  };
8510
- //# sourceMappingURL=chunk-NDDVFICX.js.map
8518
+ //# sourceMappingURL=chunk-W63FDJBY.js.map