@integrity-labs/agt-cli 0.27.136 → 0.27.138
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-HDWKI7W3.js → chunk-PDDU4Z5V.js} +2045 -2028
- package/dist/chunk-PDDU4Z5V.js.map +1 -0
- package/dist/{chunk-75QM5THV.js → chunk-RT37WJXI.js} +17 -2
- package/dist/{chunk-75QM5THV.js.map → chunk-RT37WJXI.js.map} +1 -1
- package/dist/{chunk-4B6KOQQL.js → chunk-SCZVYC5P.js} +522 -522
- package/dist/chunk-SCZVYC5P.js.map +1 -0
- package/dist/{claude-pair-runtime-A5IITZ6J.js → claude-pair-runtime-CNTCM57R.js} +2 -2
- package/dist/lib/manager-worker.js +41 -14
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/mcp/slack-channel.js +146 -69
- package/dist/mcp/telegram-channel.js +178 -49
- package/dist/{persistent-session-5N5NFU27.js → persistent-session-WWEAEEL4.js} +3 -3
- package/dist/{responsiveness-probe-6L6WKHK5.js → responsiveness-probe-MCKI22FY.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-4B6KOQQL.js.map +0 -1
- package/dist/chunk-HDWKI7W3.js.map +0 -1
- /package/dist/{claude-pair-runtime-A5IITZ6J.js.map → claude-pair-runtime-CNTCM57R.js.map} +0 -0
- /package/dist/{persistent-session-5N5NFU27.js.map → persistent-session-WWEAEEL4.js.map} +0 -0
- /package/dist/{responsiveness-probe-6L6WKHK5.js.map → responsiveness-probe-MCKI22FY.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
claudeModelAlias,
|
|
3
3
|
isClaudeFastMode
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PDDU4Z5V.js";
|
|
5
5
|
import {
|
|
6
6
|
reapOrphanChannelMcps
|
|
7
7
|
} from "./chunk-XWVM4KPK.js";
|
|
@@ -108,6 +108,20 @@ function findMissingSubstitutionVars(mcpConfig, env) {
|
|
|
108
108
|
function formatMissingVar(f) {
|
|
109
109
|
return `[mcp-env-substitution] missing var=${f.varName} server=${f.server} state=${f.state}`;
|
|
110
110
|
}
|
|
111
|
+
function expandTemplateVars(value, env) {
|
|
112
|
+
const unresolved = /* @__PURE__ */ new Set();
|
|
113
|
+
const expanded = value.replace(TEMPLATE_VAR_RE, (literal, name) => {
|
|
114
|
+
if (LATE_BOUND_VARS.has(name)) {
|
|
115
|
+
unresolved.add(name);
|
|
116
|
+
return literal;
|
|
117
|
+
}
|
|
118
|
+
const resolved = env[name];
|
|
119
|
+
if (resolved !== void 0 && resolved.trim() !== "") return resolved;
|
|
120
|
+
unresolved.add(name);
|
|
121
|
+
return literal;
|
|
122
|
+
});
|
|
123
|
+
return { value: expanded, unresolved: [...unresolved] };
|
|
124
|
+
}
|
|
111
125
|
function parseEnvIntegrations(content) {
|
|
112
126
|
const out = {};
|
|
113
127
|
for (const line of content.split("\n")) {
|
|
@@ -1558,6 +1572,7 @@ function writeAcpxConfig(config) {
|
|
|
1558
1572
|
|
|
1559
1573
|
export {
|
|
1560
1574
|
formatMissingVar,
|
|
1575
|
+
expandTemplateVars,
|
|
1561
1576
|
parseEnvIntegrations,
|
|
1562
1577
|
probeMcpEnvSubstitution,
|
|
1563
1578
|
sanitizeMcpJson,
|
|
@@ -1596,4 +1611,4 @@ export {
|
|
|
1596
1611
|
stopAllSessionsAndWait,
|
|
1597
1612
|
getProjectDir
|
|
1598
1613
|
};
|
|
1599
|
-
//# sourceMappingURL=chunk-
|
|
1614
|
+
//# sourceMappingURL=chunk-RT37WJXI.js.map
|