@mrrlin-dev/mcp 0.4.268 → 0.4.269
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 +14 -5
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -20859,8 +20859,15 @@ var init_dist = __esm({
|
|
|
20859
20859
|
// design.md D5 step 6 hint (task 3.16): the deploy gate's own bookkeeping write when the
|
|
20860
20860
|
// fingerprint moved but the topology still maps the label to the same workflow. Never sent
|
|
20861
20861
|
// by any other caller.
|
|
20862
|
-
reverifyRequested: external_exports.boolean().optional()
|
|
20863
|
-
|
|
20862
|
+
reverifyRequested: external_exports.boolean().optional(),
|
|
20863
|
+
// Dogfood N25: the operator changed what this task should deliver in a later chat message. The
|
|
20864
|
+
// server appends the operator's NEWEST transcript message, dated, to operator_seed_request, so
|
|
20865
|
+
// the spec gate judges the spec against the latest instruction rather than only the original
|
|
20866
|
+
// request. As with propose_task, the caller cannot choose which words are bound.
|
|
20867
|
+
// A plain boolean, not literal(true): `false` is a harmless no-op rather than a validation error
|
|
20868
|
+
// an LLM caller has to recover from (compare dogfood N24's unsatisfiable literal).
|
|
20869
|
+
recordOperatorInstruction: external_exports.boolean().optional().describe("Set true in the same turn as the operator's chat message that changed what this task should deliver. The server appends that message, dated, to the task's operator request, so the spec review judges the spec against it.")
|
|
20870
|
+
}).refine((value) => value.assignee !== void 0 || value.autoDeploy !== void 0 || value.declaredOutcome !== void 0 || value.domains !== void 0 || value.autonomyLevel !== void 0 || value.autonomyReason !== void 0 || value.category !== void 0 || value.directorThreadId !== void 0 || value.directorThreadProvider !== void 0 || value.dueDate !== void 0 || value.followUpAt !== void 0 || value.impact !== void 0 || value.notes !== void 0 || value.journalMarkdown !== void 0 || value.planId !== void 0 || value.specApproved !== void 0 || value.specWikiPageId !== void 0 || value.status !== void 0 || value.subcategory !== void 0 || value.tags !== void 0 || value.title !== void 0 || value.type !== void 0 || value.verificationDueAt !== void 0 || value.deployTargets !== void 0 || value.reverifyRequested !== void 0 || value.recordOperatorInstruction === true, { message: "TaskUpdate requires at least one field" }).superRefine((value, context) => {
|
|
20864
20871
|
if (value.journalMarkdown !== void 0 && value.expectedUpdatedAt === void 0) {
|
|
20865
20872
|
context.addIssue({ code: external_exports.ZodIssueCode.custom, message: "Journal replacement requires expectedUpdatedAt", path: ["expectedUpdatedAt"] });
|
|
20866
20873
|
}
|
|
@@ -81651,7 +81658,7 @@ function specHeadIntentBlock(taskId, title, seed, impact, adjudicated) {
|
|
|
81651
81658
|
TASK ${taskId}: ${title ?? ""}
|
|
81652
81659
|
|
|
81653
81660
|
` : "";
|
|
81654
|
-
const intent = seed ? `--- OPERATOR INTENT (the operator's own words \u2014 judge the spec against THIS) ---
|
|
81661
|
+
const intent = seed ? `--- OPERATOR INTENT (the operator's own words in the order they said them, oldest first and newest last \u2014 judge the spec against THIS; where a later instruction changes an earlier one, the LATEST instruction wins and the spec following it is correct, not a contradiction) ---
|
|
81655
81662
|
${seed}
|
|
81656
81663
|
|
|
81657
81664
|
` : "";
|
|
@@ -101881,7 +101888,7 @@ var mcpToolDescriptions = {
|
|
|
101881
101888
|
[mcpToolNames.searchWikiPages]: "Search project Wiki pages using ranked full-text search. Returns excerpts suitable for grounding Director decisions.",
|
|
101882
101889
|
[mcpToolNames.searchKnowledge]: "Search the rendered Mrrlin docs wiki using the lexical RAG index. Returns cited chunks with stable wiki_url fields.",
|
|
101883
101890
|
[mcpToolNames.updatePlan]: "Update a plan/epic.",
|
|
101884
|
-
[mcpToolNames.updateTask]: `Update a task. Honors DB invariants: closed_no_result requires linked Evidence wiki pages. Set directorThreadId here to persist the worker's resumable provider thread handle. declaredOutcome is an object {sentence, requires, verification} stating what must exist when the task is done; the Director sets it itself when writing the spec. Approving or skipping the spec (specApproved "approved"/"skipped") is the operator's tap on the task page and is refused for the Director: write the spec, set declaredOutcome, mark it ready, then ask the operator to approve. requires holds one kind; verification is "machine" for page, code_change or message, "human_tap" for document, file_set or structured_data.`,
|
|
101891
|
+
[mcpToolNames.updateTask]: `Update a task. Honors DB invariants: closed_no_result requires linked Evidence wiki pages. Set directorThreadId here to persist the worker's resumable provider thread handle. declaredOutcome is an object {sentence, requires, verification} stating what must exist when the task is done; the Director sets it itself when writing the spec. Approving or skipping the spec (specApproved "approved"/"skipped") is the operator's tap on the task page and is refused for the Director: write the spec, set declaredOutcome, mark it ready, then ask the operator to approve. requires holds one kind; verification is "machine" for page, code_change or message, "human_tap" for document, file_set or structured_data. When the operator's latest chat message changes what an existing task should deliver, pass recordOperatorInstruction: true in that same turn, before rewriting its spec: the server appends that message to the task's operator request, so the spec review follows the latest instruction instead of the original one.`,
|
|
101885
101892
|
[mcpToolNames.resetDirectorThread]: "Clear a task's persisted Director execution thread handle so the next execution run starts a fresh provider thread. Records a director_thread_reset task event.",
|
|
101886
101893
|
[mcpToolNames.archiveTask]: "Archive a task: hides it from default reads, removes it from plan progress and scheduler consideration, cancels its non-terminal execution runs, and closes its open inbox items. Reversible \u2014 the project owner can restore it with unarchive_task. Records an 'archived' task event.",
|
|
101887
101894
|
[mcpToolNames.unarchiveTask]: "Restore an archived task to its original status and visibility. Owner-only \u2014 refused with NOT_PROJECT_OWNER for any other caller. Does not resurrect the execution runs or inbox items that were cancelled/closed when the task was archived. Records a 'restored' task event.",
|
|
@@ -106919,7 +106926,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
|
|
|
106919
106926
|
}
|
|
106920
106927
|
|
|
106921
106928
|
// src/_generated/version.ts
|
|
106922
|
-
var PKG_VERSION = "0.4.
|
|
106929
|
+
var PKG_VERSION = "0.4.269";
|
|
106923
106930
|
|
|
106924
106931
|
// src/bridge-allowed-origins.ts
|
|
106925
106932
|
var DEFAULT_DIRECTOR_BRIDGE_ALLOWED_ORIGINS = [
|
|
@@ -125441,6 +125448,8 @@ function buildThreadStartParams(msg, config2, desiredModel) {
|
|
|
125441
125448
|
"or ready before the operator confirmed them: say they are waiting for the operator's confirmation",
|
|
125442
125449
|
"in the chat. Proposals bind to the operator's latest message, so propose in the same turn as the",
|
|
125443
125450
|
"request \u2014 a later operator message makes an unconfirmed proposal stale.",
|
|
125451
|
+
"If the operator changes what an existing task delivers, pass recordOperatorInstruction: true to",
|
|
125452
|
+
"update_task in that turn, before rewriting its spec, or its review judges the old request.",
|
|
125444
125453
|
"When referring to created tasks or where to view them, use natural, human-friendly language with a markdown link",
|
|
125445
125454
|
"to the Tasks page (e.g. 'on the [Tasks page](/tasks)', '[Tasks board](/tasks)', or in Ukrainian '\u043D\u0430 [\u0441\u0442\u043E\u0440\u0456\u043D\u0446\u0456 \u0437\u0430\u0434\u0430\u0447](/tasks)').",
|
|
125446
125455
|
"Never output raw technical URL fragments like '\u043D\u0430 /tasks' or 'on /tasks', and never use developer database",
|