@mrrlin-dev/mcp 0.4.143 → 0.4.144
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.cjs +17 -9
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -63211,6 +63211,15 @@ function createTurnLock() {
|
|
|
63211
63211
|
return { run: run3, activeCount };
|
|
63212
63212
|
}
|
|
63213
63213
|
|
|
63214
|
+
// src/thread-binding.ts
|
|
63215
|
+
function directorThreadEnv(projectSlug) {
|
|
63216
|
+
const slug = projectSlug ?? "";
|
|
63217
|
+
if (!slug || slug.length > 200 || /[\s\p{Cc}]/u.test(slug)) {
|
|
63218
|
+
return { MRRLIN_PROJECT_SLUG: null, MRRLIN_PROJECT_BINDING: "none" };
|
|
63219
|
+
}
|
|
63220
|
+
return { MRRLIN_PROJECT_SLUG: slug, MRRLIN_PROJECT_BINDING: null };
|
|
63221
|
+
}
|
|
63222
|
+
|
|
63214
63223
|
// src/self-update.ts
|
|
63215
63224
|
var import_node_child_process21 = require("node:child_process");
|
|
63216
63225
|
var import_node_crypto16 = require("node:crypto");
|
|
@@ -63817,7 +63826,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
|
|
|
63817
63826
|
}
|
|
63818
63827
|
|
|
63819
63828
|
// src/_generated/version.ts
|
|
63820
|
-
var PKG_VERSION = "0.4.
|
|
63829
|
+
var PKG_VERSION = "0.4.144";
|
|
63821
63830
|
|
|
63822
63831
|
// src/bridge-allowed-origins.ts
|
|
63823
63832
|
var DEFAULT_DIRECTOR_BRIDGE_ALLOWED_ORIGINS = [
|
|
@@ -68468,7 +68477,13 @@ ${renderTaskStateSection(taskState)}`;
|
|
|
68468
68477
|
baseInstructions: useExecutor ? localGitMode ? EXECUTOR_LOCAL_GIT_BASE_INSTRUCTIONS : EXECUTOR_BASE_INSTRUCTIONS : CONSUMER_BASE_INSTRUCTIONS,
|
|
68469
68478
|
developerInstructions: null,
|
|
68470
68479
|
ephemeral: null,
|
|
68471
|
-
mcpConfig: deps.mcpConfigPath
|
|
68480
|
+
mcpConfig: deps.mcpConfigPath,
|
|
68481
|
+
// Dogfood v2 F-17: the run's Mrrlin MCP server must be bound to its project. Codex does not
|
|
68482
|
+
// pass its process environment to MCP servers, so the binding set on the executor process
|
|
68483
|
+
// (acquireExecutorAgent) never reached them and every project tool refused the run with "no
|
|
68484
|
+
// active workspace bound". The adapter applies this per thread (codexThreadConfig), and a
|
|
68485
|
+
// resumed thread loaded with another binding is refused and restarted fresh.
|
|
68486
|
+
env: directorThreadEnv(projectSlug)
|
|
68472
68487
|
};
|
|
68473
68488
|
let resumed = true;
|
|
68474
68489
|
let acquireResult;
|
|
@@ -76920,13 +76935,6 @@ function neutralCheckoutCwd(stateDir) {
|
|
|
76920
76935
|
}
|
|
76921
76936
|
return dir;
|
|
76922
76937
|
}
|
|
76923
|
-
function directorThreadEnv(projectSlug) {
|
|
76924
|
-
const slug = projectSlug ?? "";
|
|
76925
|
-
if (!slug || slug.length > 200 || /[\s\p{Cc}]/u.test(slug)) {
|
|
76926
|
-
return { MRRLIN_PROJECT_SLUG: null, MRRLIN_PROJECT_BINDING: "none" };
|
|
76927
|
-
}
|
|
76928
|
-
return { MRRLIN_PROJECT_SLUG: slug, MRRLIN_PROJECT_BINDING: null };
|
|
76929
|
-
}
|
|
76930
76938
|
function buildThreadStartParams(msg, config2, desiredModel) {
|
|
76931
76939
|
const baseInstructions = [
|
|
76932
76940
|
"You are the Mrrlin Director assistant.",
|