@integrity-labs/agt-cli 0.28.337 → 0.28.339
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-J2WYEOBH.js → chunk-J6QDPXGS.js} +32 -1
- package/dist/{chunk-J2WYEOBH.js.map → chunk-J6QDPXGS.js.map} +1 -1
- package/dist/{chunk-N7XPDFCW.js → chunk-UVMGRGRO.js} +16 -5
- package/dist/{chunk-N7XPDFCW.js.map → chunk-UVMGRGRO.js.map} +1 -1
- package/dist/{claude-pair-runtime-T7EFAWS5.js → claude-pair-runtime-F55PDOWQ.js} +2 -2
- package/dist/lib/manager-worker.js +10 -10
- package/dist/mcp/origami.js +30 -0
- package/dist/mcp/slack-channel.js +125 -6
- package/dist/{persistent-session-ENQXJNBJ.js → persistent-session-4UG3S54C.js} +2 -2
- package/dist/{responsiveness-probe-46XFHCPY.js → responsiveness-probe-TK47IXPX.js} +2 -2
- package/package.json +1 -1
- /package/dist/{claude-pair-runtime-T7EFAWS5.js.map → claude-pair-runtime-F55PDOWQ.js.map} +0 -0
- /package/dist/{persistent-session-ENQXJNBJ.js.map → persistent-session-4UG3S54C.js.map} +0 -0
- /package/dist/{responsiveness-probe-46XFHCPY.js.map → responsiveness-probe-TK47IXPX.js.map} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
INTEGRATION_REGISTRY,
|
|
3
|
+
LATE_BOUND_VARS,
|
|
3
4
|
OAUTH_PROVIDERS,
|
|
4
5
|
coerceEnvValue,
|
|
5
6
|
expandTemplateVars,
|
|
@@ -19,7 +20,7 @@ import {
|
|
|
19
20
|
resolveConnectivityProbe,
|
|
20
21
|
worseConnectivityOutcome,
|
|
21
22
|
wrapScheduledTaskPrompt
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-J6QDPXGS.js";
|
|
23
24
|
import {
|
|
24
25
|
parsePsRows
|
|
25
26
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -7042,7 +7043,7 @@ function requireHost() {
|
|
|
7042
7043
|
}
|
|
7043
7044
|
|
|
7044
7045
|
// src/lib/api-client.ts
|
|
7045
|
-
var agtCliVersion = true ? "0.28.
|
|
7046
|
+
var agtCliVersion = true ? "0.28.339" : "dev";
|
|
7046
7047
|
var lastConfigHash = null;
|
|
7047
7048
|
function setConfigHash(hash) {
|
|
7048
7049
|
lastConfigHash = hash && hash.length > 0 ? hash : null;
|
|
@@ -8309,11 +8310,21 @@ function readMcpStdioServerConfig(projectDir2, serverKey, env) {
|
|
|
8309
8310
|
const sub = (value) => {
|
|
8310
8311
|
if (!env) return value;
|
|
8311
8312
|
const r = expandTemplateVars(value, env);
|
|
8312
|
-
for (const name of r.unresolved) unresolved.add(name);
|
|
8313
|
+
for (const name of r.unresolved) if (!LATE_BOUND_VARS.has(name)) unresolved.add(name);
|
|
8313
8314
|
return r.value;
|
|
8314
8315
|
};
|
|
8315
8316
|
const resolvedEnv = {};
|
|
8316
|
-
for (const [k, v] of Object.entries(entry.env ?? {}))
|
|
8317
|
+
for (const [k, v] of Object.entries(entry.env ?? {})) {
|
|
8318
|
+
if (!env) {
|
|
8319
|
+
resolvedEnv[k] = v;
|
|
8320
|
+
continue;
|
|
8321
|
+
}
|
|
8322
|
+
const r = expandTemplateVars(v, env);
|
|
8323
|
+
const hardUnresolved = r.unresolved.filter((name) => !LATE_BOUND_VARS.has(name));
|
|
8324
|
+
for (const name of hardUnresolved) unresolved.add(name);
|
|
8325
|
+
if (hardUnresolved.length === 0 && r.unresolved.length > 0) continue;
|
|
8326
|
+
resolvedEnv[k] = r.value;
|
|
8327
|
+
}
|
|
8317
8328
|
return {
|
|
8318
8329
|
command: entry.command,
|
|
8319
8330
|
args: (entry.args ?? []).map(sub),
|
|
@@ -9476,4 +9487,4 @@ export {
|
|
|
9476
9487
|
managerInstallSystemUnitCommand,
|
|
9477
9488
|
managerUninstallSystemUnitCommand
|
|
9478
9489
|
};
|
|
9479
|
-
//# sourceMappingURL=chunk-
|
|
9490
|
+
//# sourceMappingURL=chunk-UVMGRGRO.js.map
|