@integrity-labs/agt-cli 0.28.1257 → 0.28.1259
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/{api-client-6W27Z5SN.js → api-client-ATRLQZOU.js} +3 -3
- package/dist/bin/agt.js +7 -7
- package/dist/{chunk-AMZ5XSTY.js → chunk-5433KPH4.js} +2 -2
- package/dist/{chunk-HXM2V3VK.js → chunk-BOITSKCM.js} +3 -3
- package/dist/{chunk-ZRQWRXGK.js → chunk-F6U3ZJCG.js} +2 -2
- package/dist/{chunk-MXDVYW5G.js → chunk-NRNPYXG6.js} +14 -1
- package/dist/chunk-NRNPYXG6.js.map +1 -0
- package/dist/{chunk-GSNAPMCA.js → chunk-RBC22FRC.js} +75 -9
- package/dist/chunk-RBC22FRC.js.map +1 -0
- package/dist/{chunk-W6NQLEKG.js → chunk-UAO5VMYK.js} +15 -12
- package/dist/chunk-UAO5VMYK.js.map +1 -0
- package/dist/{claude-code-updater-3YFSB22P.js → claude-code-updater-SUL3OSGB.js} +3 -3
- package/dist/{claude-pair-runtime-W4XS6BR2.js → claude-pair-runtime-D6ZRO2FC.js} +3 -3
- package/dist/lib/manager-worker.js +103 -65
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-BBEOA3TR.js → persistent-session-UC56OJVB.js} +4 -4
- package/dist/{responsiveness-probe-X32GL24W.js → responsiveness-probe-KGBRCJQW.js} +4 -4
- package/dist/{session-auth-dead-5F3NEK57.js → session-auth-dead-AVYJASOL.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-GSNAPMCA.js.map +0 -1
- package/dist/chunk-MXDVYW5G.js.map +0 -1
- package/dist/chunk-W6NQLEKG.js.map +0 -1
- /package/dist/{api-client-6W27Z5SN.js.map → api-client-ATRLQZOU.js.map} +0 -0
- /package/dist/{chunk-AMZ5XSTY.js.map → chunk-5433KPH4.js.map} +0 -0
- /package/dist/{chunk-HXM2V3VK.js.map → chunk-BOITSKCM.js.map} +0 -0
- /package/dist/{chunk-ZRQWRXGK.js.map → chunk-F6U3ZJCG.js.map} +0 -0
- /package/dist/{claude-code-updater-3YFSB22P.js.map → claude-code-updater-SUL3OSGB.js.map} +0 -0
- /package/dist/{claude-pair-runtime-W4XS6BR2.js.map → claude-pair-runtime-D6ZRO2FC.js.map} +0 -0
- /package/dist/{persistent-session-BBEOA3TR.js.map → persistent-session-UC56OJVB.js.map} +0 -0
- /package/dist/{responsiveness-probe-X32GL24W.js.map → responsiveness-probe-KGBRCJQW.js.map} +0 -0
- /package/dist/{session-auth-dead-5F3NEK57.js.map → session-auth-dead-AVYJASOL.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
exchangeApiKey,
|
|
3
3
|
getApiKey,
|
|
4
4
|
getHost
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BOITSKCM.js";
|
|
6
6
|
import {
|
|
7
7
|
LATE_BOUND_VARS,
|
|
8
8
|
PLATFORM_DENY_PERMISSIONS,
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
shellQuote,
|
|
26
26
|
withheldRemoteMcpMessage,
|
|
27
27
|
withheldRemoteMcpReasonFor
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RBC22FRC.js";
|
|
29
29
|
import {
|
|
30
30
|
readDailySessionPin,
|
|
31
31
|
sessionTranscriptDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-F6U3ZJCG.js";
|
|
33
33
|
import {
|
|
34
34
|
classifyUnanswerablePane,
|
|
35
35
|
isConsumerTermsDialogVisible,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
scanConfigForLiteralSecrets,
|
|
102
102
|
worseConnectivityOutcome,
|
|
103
103
|
wrapScheduledTaskPrompt
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-NRNPYXG6.js";
|
|
105
105
|
import {
|
|
106
106
|
claudeJsonPathFor,
|
|
107
107
|
effectiveClaudeJsonPath,
|
|
@@ -2746,15 +2746,17 @@ function isFreshWithin(path, cutoff) {
|
|
|
2746
2746
|
}
|
|
2747
2747
|
return false;
|
|
2748
2748
|
}
|
|
2749
|
-
function syncMcpToProject(codeName) {
|
|
2749
|
+
function syncMcpToProject(codeName, provisionContent) {
|
|
2750
2750
|
const agentDir = getAgentDir(codeName);
|
|
2751
2751
|
const projectDir = getProjectDir2(codeName);
|
|
2752
2752
|
const provisionMcpPath = join5(agentDir, "provision", ".mcp.json");
|
|
2753
2753
|
const projectMcpPath = join5(projectDir, ".mcp.json");
|
|
2754
|
-
let content = null;
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2754
|
+
let content = provisionContent ?? null;
|
|
2755
|
+
if (content === null) {
|
|
2756
|
+
try {
|
|
2757
|
+
content = readFileSync5(provisionMcpPath, "utf-8");
|
|
2758
|
+
} catch {
|
|
2759
|
+
}
|
|
2758
2760
|
}
|
|
2759
2761
|
if (content !== null)
|
|
2760
2762
|
try {
|
|
@@ -7816,8 +7818,9 @@ ${sections}`
|
|
|
7816
7818
|
},
|
|
7817
7819
|
syncMcpMirror(codeName) {
|
|
7818
7820
|
const provisionMcpPath = join5(getAgentDir(codeName), "provision", ".mcp.json");
|
|
7821
|
+
let content;
|
|
7819
7822
|
try {
|
|
7820
|
-
readFileSync5(provisionMcpPath, "utf-8");
|
|
7823
|
+
content = readFileSync5(provisionMcpPath, "utf-8");
|
|
7821
7824
|
} catch (err) {
|
|
7822
7825
|
const missing = err.code === "ENOENT";
|
|
7823
7826
|
if (!missing || existsSync4(join5(getProjectDir2(codeName), ".mcp.json"))) {
|
|
@@ -7827,7 +7830,7 @@ ${sections}`
|
|
|
7827
7830
|
}
|
|
7828
7831
|
return;
|
|
7829
7832
|
}
|
|
7830
|
-
syncMcpToProject(codeName);
|
|
7833
|
+
syncMcpToProject(codeName, content);
|
|
7831
7834
|
},
|
|
7832
7835
|
consumeMcpWriteFailures(codeName) {
|
|
7833
7836
|
const n = mcpWriteFailures.get(codeName) ?? 0;
|
|
@@ -13534,4 +13537,4 @@ export {
|
|
|
13534
13537
|
managerInstallSystemUnitCommand,
|
|
13535
13538
|
managerUninstallSystemUnitCommand
|
|
13536
13539
|
};
|
|
13537
|
-
//# sourceMappingURL=chunk-
|
|
13540
|
+
//# sourceMappingURL=chunk-UAO5VMYK.js.map
|