@m8t-stack/cli 0.2.155 → 0.2.157

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 CHANGED
@@ -1464,7 +1464,7 @@ function installFoundryDnsShim() {
1464
1464
  }
1465
1465
 
1466
1466
  // src/lib/package-version.ts
1467
- var CLI_VERSION = "0.2.155";
1467
+ var CLI_VERSION = "0.2.157";
1468
1468
 
1469
1469
  // src/lib/render-error.ts
1470
1470
  init_errors();
@@ -19600,11 +19600,11 @@ function fromBuild(raw, fallbackRef) {
19600
19600
  };
19601
19601
  }
19602
19602
  var DEV_TAG = "v0.0.0-dev";
19603
- var PINNED_INSTALLER = fromBuild('{"ref":"ghcr.io/m8t-labs/m8t-installer:v0.1.124","registry":"ghcr.io/m8t-labs","image":"m8t-installer","tag":"v0.1.124"}', "ghcr.io/m8t-labs/m8t-installer");
19603
+ var PINNED_INSTALLER = fromBuild('{"ref":"ghcr.io/m8t-labs/m8t-installer:v0.1.128","registry":"ghcr.io/m8t-labs","image":"m8t-installer","tag":"v0.1.128"}', "ghcr.io/m8t-labs/m8t-installer");
19604
19604
  var PINNED_CODING_AGENT = fromBuild('{"ref":"ghcr.io/m8t-labs/m8t-coding-agent:v0.1.5","registry":"ghcr.io/m8t-labs","image":"m8t-coding-agent","tag":"v0.1.5"}', "ghcr.io/m8t-labs/m8t-coding-agent");
19605
19605
  var PINNED_AZURE_EXECUTOR = fromBuild('{"ref":"ghcr.io/m8t-labs/m8t-azure-executor:v0.1.5","registry":"ghcr.io/m8t-labs","image":"m8t-azure-executor","tag":"v0.1.5"}', "ghcr.io/m8t-labs/m8t-azure-executor");
19606
19606
  var PINNED_PLATFORM_VERSION = (() => {
19607
- const raw = "0.8.9";
19607
+ const raw = "0.8.10";
19608
19608
  return /^\d+\.\d+\.\d+$/.test(raw) ? raw : "";
19609
19609
  })();
19610
19610
 
@@ -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
- const agentName = "persona" in t ? t.persona : hostedAgentName(t.component);
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
  }