@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.
- package/dist/bin/agt.js +4 -4
- package/dist/{chunk-I5SDCW2T.js → chunk-IKQHNN7I.js} +20 -5
- package/dist/{chunk-I5SDCW2T.js.map → chunk-IKQHNN7I.js.map} +1 -1
- package/dist/{chunk-NDDVFICX.js → chunk-W63FDJBY.js} +18 -10
- package/dist/chunk-W63FDJBY.js.map +1 -0
- package/dist/{claude-pair-runtime-I4Q66W7S.js → claude-pair-runtime-UOH5MOK4.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/direct-chat-channel.js +19 -4
- package/dist/mcp/origami.js +19 -4
- package/dist/mcp/slack-channel.js +19 -4
- package/dist/mcp/telegram-channel.js +19 -4
- package/dist/mcp/xero.js +1251 -1096
- package/dist/{persistent-session-EW7GTES3.js → persistent-session-AYCUX4DJ.js} +2 -2
- package/dist/{responsiveness-probe-HP3NKDGQ.js → responsiveness-probe-AQUOYHCE.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-NDDVFICX.js.map +0 -1
- /package/dist/{claude-pair-runtime-I4Q66W7S.js.map → claude-pair-runtime-UOH5MOK4.js.map} +0 -0
- /package/dist/{persistent-session-EW7GTES3.js.map → persistent-session-AYCUX4DJ.js.map} +0 -0
- /package/dist/{responsiveness-probe-HP3NKDGQ.js.map → responsiveness-probe-AQUOYHCE.js.map} +0 -0
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
resolveConnectivityProbe,
|
|
26
26
|
worseConnectivityOutcome,
|
|
27
27
|
wrapScheduledTaskPrompt
|
|
28
|
-
} from "./chunk-
|
|
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 >
|
|
3643
|
-
|
|
3644
|
-
"#
|
|
3645
|
-
"#
|
|
3646
|
-
"NOTICE_ON=
|
|
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)" = "
|
|
3653
|
-
" NOTICE_ON=
|
|
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.
|
|
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-
|
|
8518
|
+
//# sourceMappingURL=chunk-W63FDJBY.js.map
|