@m8t-stack/cli 0.2.155 → 0.2.156
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/cli.js +10 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1464,7 +1464,7 @@ function installFoundryDnsShim() {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
|
|
1466
1466
|
// src/lib/package-version.ts
|
|
1467
|
-
var CLI_VERSION = "0.2.
|
|
1467
|
+
var CLI_VERSION = "0.2.156";
|
|
1468
1468
|
|
|
1469
1469
|
// src/lib/render-error.ts
|
|
1470
1470
|
init_errors();
|
|
@@ -23528,6 +23528,7 @@ async function buildConvergeDeps(args) {
|
|
|
23528
23528
|
}
|
|
23529
23529
|
const loaderPath = path31.join(args.contentDir, "targets/foundry/brain-loader.md");
|
|
23530
23530
|
return {
|
|
23531
|
+
resolveAgentName: (personaName) => discovered[personaName],
|
|
23531
23532
|
async applyPersona(a, ctx) {
|
|
23532
23533
|
const personaName = a.personaName;
|
|
23533
23534
|
if (!personaName) {
|
|
@@ -24158,7 +24159,14 @@ async function runGate(args, applied, budgetMs) {
|
|
|
24158
24159
|
if (!args.gatewayUrl) continue;
|
|
24159
24160
|
outcomes.push(await probeGateway(args.gatewayUrl, t.expected));
|
|
24160
24161
|
} else {
|
|
24161
|
-
|
|
24162
|
+
let agentName;
|
|
24163
|
+
if ("persona" in t) {
|
|
24164
|
+
const resolved = args.deps.resolveAgentName?.(t.persona);
|
|
24165
|
+
if (args.deps.resolveAgentName && !resolved) continue;
|
|
24166
|
+
agentName = resolved ?? t.persona;
|
|
24167
|
+
} else {
|
|
24168
|
+
agentName = hostedAgentName(t.component);
|
|
24169
|
+
}
|
|
24162
24170
|
outcomes.push(await probeAgent({ credential: args.credential, endpoint: args.endpoint, agentName }));
|
|
24163
24171
|
}
|
|
24164
24172
|
}
|