pantheon-cli 0.2.59 → 0.2.61
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/pantheon.mjs +123 -83
- package/package.json +1 -1
package/dist/pantheon.mjs
CHANGED
|
@@ -39865,9 +39865,6 @@ function resolveCaptureClient(client, claudeProjectDir = process.env.CLAUDE_PROJ
|
|
|
39865
39865
|
}
|
|
39866
39866
|
return reported;
|
|
39867
39867
|
}
|
|
39868
|
-
function isClaudeDesktopClient(client) {
|
|
39869
|
-
return /claude[-_. ]?(ai|desktop)/i.test(client?.trim() || "");
|
|
39870
|
-
}
|
|
39871
39868
|
function clientCapture(client) {
|
|
39872
39869
|
const name = client?.trim();
|
|
39873
39870
|
if (!name) return { readable: false, known: false };
|
|
@@ -42972,8 +42969,8 @@ Grounding \u2014 never break these:
|
|
|
42972
42969
|
- /pantheon-skills \u2192 call pantheon_skill_review, then save what it justifies with pantheon_save_skill_drafts without asking first: a draft is inert until the human promotes it on the space page, so that is where they approve or reject. Never nominate a skill without the review, and cite the turns any claim rests on. If none is justified, say only "Nothing worth creating a skill for."
|
|
42973
42970
|
- Do not narrate a command. No preamble about which tools you can see, whether MCP is connected, or what you are about to do \u2014 run it and report what happened. A call that actually failed is worth one line.
|
|
42974
42971
|
- Existing generated or uploaded files must go in artifacts. Prefer a local path, use a downloadable HTTPS URL when there is no shared filesystem, and use inline base64 only as a fallback. Never create or rewrite a file merely for handoff. Handoff is rejected if the chat names a .pdf and omits it.
|
|
42975
|
-
-
|
|
42976
|
-
-
|
|
42972
|
+
- Every pantheon_handoff starts in universal auto mode: call it once with the human's space and attachments, omitting transcript, transcriptFile, and transcriptFallback. Pantheon attempts capture only through a verified adapter for the calling client; never select behavior from the platform yourself.
|
|
42973
|
+
- If that first call returns status transcript_required, retry immediately with the same space and attachments, transcriptFallback:true, and every visible real user and assistant turn copied verbatim and in order. Set truncated:true when earlier turns are no longer visible. Never report the intermediate response, send a recap, or ask the human to export data, locate a file, or copy messages.
|
|
42977
42974
|
- After resume, the packet covers the whole space but is still a summary of it. Before you tell the human something was not carried over, call pantheon_search (it reads tool calls too) and pantheon_get_turns on any id from the sessions list.
|
|
42978
42975
|
- Shared spaces belong to someone else and are read-only. Resume, search and the get_* tools work on them exactly as on your own. Handoff, park, remember and skill saves are refused \u2014 do not retry with a different spelling, tell the human it is read-only and offer to write to a space they own. A bare name is enough when only one space matches; write owner/space when two do.
|
|
42979
42976
|
`;
|
|
@@ -42993,7 +42990,6 @@ If you are an agent:
|
|
|
42993
42990
|
Tutorial
|
|
42994
42991
|
1. Human runs pantheon connect <code> --host <url> once on this machine
|
|
42995
42992
|
Overview shows that line with the code and URL already filled in.
|
|
42996
|
-
The code goes before --host, or it is mistaken for the code.
|
|
42997
42993
|
2. Reload MCP in Cursor, Claude, or ChatGPT.app (Chat or Codex).
|
|
42998
42994
|
ChatGPT Classic cannot run local MCP \u2014 use the new ChatGPT.app instead.
|
|
42999
42995
|
Remote integrations still hand off, but the agent supplies the visible
|
|
@@ -43001,12 +42997,12 @@ Tutorial
|
|
|
43001
42997
|
3. Leave a conscience: /pantheon-handoff <space> \u2192 pantheon_handoff
|
|
43002
42998
|
<space> is the name the human chose. If they omit it, ask \u2014 never invent.
|
|
43003
42999
|
If they named a new slug, call pantheon_handoff anyway \u2014 that creates the space.
|
|
43004
|
-
|
|
43005
|
-
|
|
43006
|
-
|
|
43007
|
-
|
|
43008
|
-
|
|
43009
|
-
|
|
43000
|
+
First call without transcript fields. Pantheon uses a verified adapter when
|
|
43001
|
+
this client exposes one; it never scans an unrelated app's local sessions.
|
|
43002
|
+
If the response status is transcript_required, retry automatically with
|
|
43003
|
+
transcriptFallback:true and every visible real user and assistant turn.
|
|
43004
|
+
Never ask the human to export or copy anything. Mark truncated:true when
|
|
43005
|
+
older turns are outside the current context.
|
|
43010
43006
|
Repeating a handoff appends only the new turns.
|
|
43011
43007
|
Attach every existing file you generated or the human uploaded. Prefer a
|
|
43012
43008
|
local path, use a downloadable HTTPS URL when needed, and use inline
|
|
@@ -43057,7 +43053,7 @@ Terminal (this CLI)
|
|
|
43057
43053
|
sync optional escape hatch \u2014 handoff/resume already sync
|
|
43058
43054
|
spaces list local consciences (spaces)
|
|
43059
43055
|
help this guide
|
|
43060
|
-
mcp-install
|
|
43056
|
+
mcp-install repair/refresh agent config after connecting
|
|
43061
43057
|
mcp-uninstall remove Pantheon MCP from Cursor / Claude / Codex / Windsurf
|
|
43062
43058
|
(ChatGPT Classic and Replit are skipped \u2014 no local MCP)
|
|
43063
43059
|
mcp start the stdio MCP server (agents launch this)
|
|
@@ -43912,6 +43908,43 @@ async function restoreArtifact(artifact, destination, cwd = process.cwd(), clien
|
|
|
43912
43908
|
};
|
|
43913
43909
|
}
|
|
43914
43910
|
|
|
43911
|
+
// ../mcp/src/handoff-policy.ts
|
|
43912
|
+
function handoffPreflight(input) {
|
|
43913
|
+
if (input.hasTranscript && input.hasTranscriptFile) {
|
|
43914
|
+
return { mode: "invalid", reason: "Use transcriptFile or transcript, not both." };
|
|
43915
|
+
}
|
|
43916
|
+
const hasFallbackMaterial = input.hasTranscript || input.hasTranscriptFile;
|
|
43917
|
+
if (hasFallbackMaterial && !input.transcriptFallback) {
|
|
43918
|
+
return {
|
|
43919
|
+
mode: "capture_first_required",
|
|
43920
|
+
reason: "Every handoff starts with automatic capture. Call pantheon_handoff once without transcript or transcriptFile; Pantheon will request a fallback only when safe capture is unavailable."
|
|
43921
|
+
};
|
|
43922
|
+
}
|
|
43923
|
+
if (input.transcriptFallback && !hasFallbackMaterial) {
|
|
43924
|
+
return {
|
|
43925
|
+
mode: "invalid",
|
|
43926
|
+
reason: "transcriptFallback requires transcript or transcriptFile."
|
|
43927
|
+
};
|
|
43928
|
+
}
|
|
43929
|
+
if (input.hasTranscriptFile) {
|
|
43930
|
+
if (!input.allowCapture) {
|
|
43931
|
+
return {
|
|
43932
|
+
mode: "transcript_required",
|
|
43933
|
+
reason: "This remote MCP server cannot read a host-local transcript file. Supply the real turns visible in the current context instead."
|
|
43934
|
+
};
|
|
43935
|
+
}
|
|
43936
|
+
return { mode: "import" };
|
|
43937
|
+
}
|
|
43938
|
+
if (input.hasTranscript) return { mode: "supplied" };
|
|
43939
|
+
if (input.allowCapture && input.captureReadable && input.captureSource) {
|
|
43940
|
+
return { mode: "capture" };
|
|
43941
|
+
}
|
|
43942
|
+
return {
|
|
43943
|
+
mode: "transcript_required",
|
|
43944
|
+
reason: input.allowCapture ? "This client has no verified local capture adapter." : "Remote MCP cannot read the host application's private conversation log."
|
|
43945
|
+
};
|
|
43946
|
+
}
|
|
43947
|
+
|
|
43915
43948
|
// ../mcp/src/index.ts
|
|
43916
43949
|
async function mutateVault(home, vault, message, write) {
|
|
43917
43950
|
return withVaultMutationLock(home, async () => {
|
|
@@ -43997,6 +44030,28 @@ function text(data) {
|
|
|
43997
44030
|
content: [{ type: "text", text: JSON.stringify(data, null, 2) }]
|
|
43998
44031
|
};
|
|
43999
44032
|
}
|
|
44033
|
+
function transcriptRequired(space, reason) {
|
|
44034
|
+
return {
|
|
44035
|
+
ok: false,
|
|
44036
|
+
status: "transcript_required",
|
|
44037
|
+
space,
|
|
44038
|
+
reason,
|
|
44039
|
+
instruction: "Retry pantheon_handoff immediately with the same space and attachments, transcriptFallback:true, and every real user and assistant turn visible in your current context copied verbatim and in order. Set truncated:true if earlier turns are no longer visible. Do not ask the human to export, locate, or copy anything, and do not report this intermediate response."
|
|
44040
|
+
};
|
|
44041
|
+
}
|
|
44042
|
+
function captureFirstRequired(space, reason) {
|
|
44043
|
+
return {
|
|
44044
|
+
ok: false,
|
|
44045
|
+
status: "capture_first_required",
|
|
44046
|
+
space,
|
|
44047
|
+
reason,
|
|
44048
|
+
instruction: "Retry pantheon_handoff immediately with the same space and attachments but omit transcript, transcriptFile, and transcriptFallback. Pantheon must attempt safe automatic capture before it can request an agent-supplied fallback. Do not report this intermediate response."
|
|
44049
|
+
};
|
|
44050
|
+
}
|
|
44051
|
+
function captureNeedsTranscript(error2) {
|
|
44052
|
+
const message = error2 instanceof Error ? error2.message : String(error2);
|
|
44053
|
+
return message.includes("No local conversation history was found") || message.includes("does not expose this conversation record");
|
|
44054
|
+
}
|
|
44000
44055
|
function fail(error2) {
|
|
44001
44056
|
const message = error2 instanceof Error ? error2.message : String(error2);
|
|
44002
44057
|
return {
|
|
@@ -44204,19 +44259,22 @@ ${GUIDE}` }]
|
|
|
44204
44259
|
registerTool(
|
|
44205
44260
|
server,
|
|
44206
44261
|
"pantheon_handoff",
|
|
44207
|
-
"Archive this chat into a Pantheon space. Trigger: /pantheon-handoff <space>. If the human typed a slug, call this even when it is new \u2014 first handoff creates the space.
|
|
44262
|
+
"Archive this chat into a Pantheon space. Trigger: /pantheon-handoff <space>. If the human typed a slug, call this even when it is new \u2014 first handoff creates the space. UNIVERSAL FIRST CALL: always omit transcript, transcriptFile, and transcriptFallback. Pantheon safely attempts automatic capture only through a verified adapter for the calling client; never infer support from the platform yourself. If the response status is transcript_required, immediately retry with the same space and attachments, transcriptFallback:true, and the fullest transcript available in the current context: one ordered object per real user or assistant message, copied verbatim rather than narrated or summarized. Do not report the intermediate response and never ask the human to export data, locate a file, copy messages, or perform another manual step. Set truncated:true when earlier turns are no longer visible instead of inventing them. If status is capture_first_required, retry once without transcript fields, then follow transcript_required if returned. Repeating the same supplied chat should pass append:true so only its new tail is added to the latest session. transcriptFile is an optional fallback only when a file already exists; never require or request one. Attach every existing generated or uploaded file not already captured and repeat those attachments on a fallback call. Prefer { name, path } locally, { name, url } remotely, and inline base64 only as a fallback. Never create or rewrite a file merely for handoff. When a successful handoff adds turns, process its skill review and submit up to five justified drafts without asking. REPORT THE FINAL RESULT after that follow-up as a two-column table and nothing else: space, session, captured from, turns added, already archived, total turns, artifact count, skill drafts saved, and committed/pulled/pushed. Only a final sync or tool failure belongs outside the table.",
|
|
44208
44263
|
{
|
|
44209
44264
|
space: external_exports.string(),
|
|
44210
44265
|
source: external_exports.string().optional(),
|
|
44211
44266
|
transcript: external_exports.union([external_exports.array(turnSchema), external_exports.string()]).optional().describe(
|
|
44212
|
-
"
|
|
44267
|
+
"Fallback only after Pantheon returns transcript_required: the fullest transcript visible to the model, as ordered real user/assistant turns copied verbatim."
|
|
44213
44268
|
),
|
|
44214
44269
|
transcriptFile: external_exports.string().optional().describe(
|
|
44215
|
-
"Optional
|
|
44270
|
+
"Optional fallback when an Anthropic export ZIP or conversations.json already exists. Use only after transcript_required; never ask the human to create or locate one."
|
|
44216
44271
|
),
|
|
44217
44272
|
transcriptConversation: external_exports.string().optional().describe(
|
|
44218
44273
|
"Claude conversation UUID or exact title. Required only when the export contains more than one conversation."
|
|
44219
44274
|
),
|
|
44275
|
+
transcriptFallback: external_exports.boolean().optional().describe(
|
|
44276
|
+
"Set true only when retrying after Pantheon returned transcript_required."
|
|
44277
|
+
),
|
|
44220
44278
|
summary: external_exports.string().optional().describe("Short orientation for the next agent. The full transcript is stored separately."),
|
|
44221
44279
|
facts: external_exports.array(external_exports.string()).optional(),
|
|
44222
44280
|
artifacts: external_exports.array(artifactSchema).optional(),
|
|
@@ -44231,35 +44289,26 @@ ${GUIDE}` }]
|
|
|
44231
44289
|
server.server.getClientVersion()?.name
|
|
44232
44290
|
);
|
|
44233
44291
|
const cwd = request.cwd || (clientName === "Claude Code" ? process.env.CLAUDE_PROJECT_DIR : void 0);
|
|
44234
|
-
const claudeDesktop = isClaudeDesktopClient(clientName);
|
|
44235
44292
|
const captureClient = clientCapture(clientName);
|
|
44236
44293
|
const hasTranscript = Array.isArray(request.transcript) ? request.transcript.length > 0 : Boolean(request.transcript?.trim());
|
|
44237
|
-
|
|
44238
|
-
|
|
44239
|
-
|
|
44240
|
-
|
|
44241
|
-
|
|
44242
|
-
|
|
44243
|
-
|
|
44244
|
-
}
|
|
44245
|
-
if (
|
|
44246
|
-
|
|
44247
|
-
|
|
44248
|
-
);
|
|
44249
|
-
}
|
|
44250
|
-
if (allowCapture && !request.transcriptFile && !hasTranscript && claudeDesktop) {
|
|
44251
|
-
throw new Error(
|
|
44252
|
-
"Claude Desktop does not expose its chat record to MCP. Construct the fullest transcript available in your current context and retry with transcript as ordered verbatim user and assistant turns. Do not ask the human to export, copy, or locate anything; set truncated:true if earlier turns are no longer visible."
|
|
44253
|
-
);
|
|
44294
|
+
const preflight = handoffPreflight({
|
|
44295
|
+
allowCapture,
|
|
44296
|
+
captureReadable: captureClient.readable,
|
|
44297
|
+
captureSource: captureClient.source,
|
|
44298
|
+
hasTranscript,
|
|
44299
|
+
hasTranscriptFile: Boolean(request.transcriptFile),
|
|
44300
|
+
transcriptFallback: request.transcriptFallback === true
|
|
44301
|
+
});
|
|
44302
|
+
if (preflight.mode === "invalid") throw new Error(preflight.reason);
|
|
44303
|
+
if (preflight.mode === "capture_first_required") {
|
|
44304
|
+
return captureFirstRequired(request.space, preflight.reason);
|
|
44254
44305
|
}
|
|
44255
|
-
if (
|
|
44256
|
-
|
|
44257
|
-
`${clientName || "This client"} does not expose a supported local chat record. Construct the fullest transcript available in your current context and retry with transcript as ordered verbatim user and assistant turns. Do not ask the human to export, copy, or locate anything; set truncated:true if earlier turns are no longer visible.`
|
|
44258
|
-
);
|
|
44306
|
+
if (preflight.mode === "transcript_required") {
|
|
44307
|
+
return transcriptRequired(request.space, preflight.reason);
|
|
44259
44308
|
}
|
|
44260
|
-
const needsClientRoots =
|
|
44309
|
+
const needsClientRoots = preflight.mode === "import" || Boolean(request.artifacts?.some((item) => "path" in item));
|
|
44261
44310
|
const clientRoots = needsClientRoots ? await clientFileRoots() : [];
|
|
44262
|
-
const imported = request.transcriptFile ? await readTranscriptExport(request.transcriptFile, {
|
|
44311
|
+
const imported = preflight.mode === "import" && request.transcriptFile ? await readTranscriptExport(request.transcriptFile, {
|
|
44263
44312
|
cwd,
|
|
44264
44313
|
allowLocalPaths: allowCapture,
|
|
44265
44314
|
clientRoots
|
|
@@ -44275,24 +44324,36 @@ ${GUIDE}` }]
|
|
|
44275
44324
|
allowLocalPaths: allowCapture,
|
|
44276
44325
|
clientRoots
|
|
44277
44326
|
});
|
|
44278
|
-
|
|
44279
|
-
|
|
44280
|
-
|
|
44281
|
-
|
|
44282
|
-
|
|
44283
|
-
|
|
44284
|
-
|
|
44285
|
-
|
|
44286
|
-
|
|
44287
|
-
|
|
44288
|
-
|
|
44289
|
-
|
|
44290
|
-
|
|
44291
|
-
|
|
44292
|
-
|
|
44293
|
-
|
|
44294
|
-
|
|
44295
|
-
|
|
44327
|
+
let mutation;
|
|
44328
|
+
try {
|
|
44329
|
+
mutation = await mutateVault(
|
|
44330
|
+
home,
|
|
44331
|
+
vault,
|
|
44332
|
+
(result) => `handoff ${result.slug}`,
|
|
44333
|
+
() => writeHandoff(home, {
|
|
44334
|
+
...request,
|
|
44335
|
+
cwd,
|
|
44336
|
+
artifacts,
|
|
44337
|
+
transcript: imported?.turns || (preflight.mode === "supplied" ? request.transcript : void 0),
|
|
44338
|
+
transcriptImport: imported ? { sessionId: imported.sessionId, source: imported.source } : void 0,
|
|
44339
|
+
source: imported?.source || request.source || (preflight.mode === "supplied" ? `${clientName || "agent"} supplied transcript` : captureClient.source),
|
|
44340
|
+
capture: preflight.mode === "capture",
|
|
44341
|
+
// Which app is on the other end of this stdio pipe. Running locally
|
|
44342
|
+
// is not the same as keeping chats where Pantheon can read them, and
|
|
44343
|
+
// capture needs to tell those apart before it reads anything.
|
|
44344
|
+
client: clientName
|
|
44345
|
+
})
|
|
44346
|
+
);
|
|
44347
|
+
} catch (error2) {
|
|
44348
|
+
if (preflight.mode === "capture" && captureNeedsTranscript(error2)) {
|
|
44349
|
+
return transcriptRequired(
|
|
44350
|
+
request.space,
|
|
44351
|
+
"The verified capture adapter could not find this conversation's local history."
|
|
44352
|
+
);
|
|
44353
|
+
}
|
|
44354
|
+
throw error2;
|
|
44355
|
+
}
|
|
44356
|
+
const { written, sync: sync2 } = mutation;
|
|
44296
44357
|
const shouldReview = sync2.ok !== false && written.added > 0;
|
|
44297
44358
|
const review = shouldReview ? (() => {
|
|
44298
44359
|
try {
|
|
@@ -44626,27 +44687,8 @@ ${GUIDE}` }]
|
|
|
44626
44687
|
argsSchema: { space: external_exports.string() }
|
|
44627
44688
|
},
|
|
44628
44689
|
async ({ space }) => {
|
|
44629
|
-
const clientName = resolveCaptureClient(
|
|
44630
|
-
server.server.getClientVersion()?.name
|
|
44631
|
-
);
|
|
44632
|
-
const client = clientCapture(clientName);
|
|
44633
|
-
if (!allowCapture) {
|
|
44634
|
-
return promptText(
|
|
44635
|
-
`Call pantheon_handoff for "${space}" with transcript containing every visible real user and assistant turn, copied verbatim and in order. Do this automatically. Do not ask the human to export, copy, or locate anything. Set truncated:true if older turns are no longer visible.`
|
|
44636
|
-
);
|
|
44637
|
-
}
|
|
44638
|
-
if (isClaudeDesktopClient(clientName)) {
|
|
44639
|
-
return promptText(
|
|
44640
|
-
`Call pantheon_handoff for "${space}" with transcript containing every visible real user and assistant turn, copied verbatim and in order. Claude Desktop does not expose its local chat record, so construct this automatically from your current context. Do not ask the human to export, copy, or locate anything. Set truncated:true if older turns are no longer visible.`
|
|
44641
|
-
);
|
|
44642
|
-
}
|
|
44643
|
-
if (!client.readable || !client.source) {
|
|
44644
|
-
return promptText(
|
|
44645
|
-
`Call pantheon_handoff for "${space}" with transcript containing every visible real user and assistant turn, copied verbatim and in order. Construct it automatically from your current context. Do not ask the human to export, copy, or locate anything. Set truncated:true if older turns are no longer visible.`
|
|
44646
|
-
);
|
|
44647
|
-
}
|
|
44648
44690
|
return promptText(
|
|
44649
|
-
`Call pantheon_handoff for
|
|
44691
|
+
`Call pantheon_handoff for "${space}" first without transcript, transcriptFile, or transcriptFallback so Pantheon can attempt safe automatic capture. If it returns status transcript_required, retry immediately with transcriptFallback:true and every visible real user and assistant turn copied verbatim and in order; set truncated:true if older turns are no longer visible. Never ask the human to export, copy, or locate anything, and do not report the intermediate response.`
|
|
44650
44692
|
);
|
|
44651
44693
|
}
|
|
44652
44694
|
);
|
|
@@ -44868,16 +44910,14 @@ ${block2}`);
|
|
|
44868
44910
|
var spaceGate = 'A space is the short name the human chose for a conscience (preorders, auth-refactor). The argument is: $ARGUMENTS\n\nIf that arrived blank, or as an unexpanded placeholder rather than a name, ask: "What should this conscience be named?" and wait. Never invent a name. Otherwise use it exactly as typed \u2014 any single short slug counts, including one that is not in the vault yet.';
|
|
44869
44911
|
var quiet = "Do not narrate. No preamble about which tools you can see, whether Pantheon MCP is connected, or what you are about to do. Run it and report what happened, briefly. If a call fails, say what failed in one line.";
|
|
44870
44912
|
var autoSkillReview = "When a successful handoff adds new turns, immediately process its skillReview result. If that field is missing even though turns were added, call pantheon_skill_review for the same space. Read the turns cited by any promising signal, compare against existing live and draft triggers, then submit at most five genuinely recurring lessons together with pantheon_save_skill_drafts. Do not ask permission: every save is an inert draft until the human approves or rejects it in the UI. Save none when nothing is justified. Only report the handoff after this review and any saves are complete.";
|
|
44871
|
-
var
|
|
44872
|
-
var fullHistoryOnly = "Pantheon uses the best transcript the client can provide without manual work. Local Cursor, Codex, ChatGPT.app and Claude Code use automatic disk capture. In every other client \u2014 including Claude Desktop, Windsurf, Replit, remote MCP and browser/mobile agents \u2014 construct the fullest transcript visible in your current context and send it automatically as ordered verbatim user and assistant turns. Never send a recap, and never ask the human to export, locate, or copy anything.";
|
|
44873
|
-
var handoffToolDecides = "If pantheon_handoff is available, ALWAYS call it with the human's space. Never infer support from how the UI looks: the tool decides whether to capture a local record or accept a supplied transcript. If it asks for transcript, construct and retry automatically without involving the human.";
|
|
44913
|
+
var handoffToolDecides = "If pantheon_handoff is available, ALWAYS make the first call with the human's space while omitting transcript, transcriptFile, and transcriptFallback. This universal auto mode lets Pantheon attempt capture only through a verified adapter for the calling client. Never infer support from the platform yourself. If the response status is transcript_required, immediately retry with the same space and attachments, transcriptFallback:true, and every real user and assistant turn visible in your current context copied verbatim and in order. Set truncated:true if older turns are no longer visible. If status is capture_first_required, retry without transcript fields first. Never report these intermediate responses, send a recap, or ask the human to export, locate, or copy anything.";
|
|
44874
44914
|
var slashCommands = [
|
|
44875
44915
|
{
|
|
44876
44916
|
name: "pantheon-handoff",
|
|
44877
44917
|
description: "Leave a Pantheon conscience for the next agent",
|
|
44878
44918
|
body: `${spaceGate}
|
|
44879
44919
|
|
|
44880
|
-
Only after you have a real space name, call pantheon_handoff even if that name is not in pantheon_list_spaces. First handoff creates the space. Do not refuse. Do not tell the human to create it first. ${handoffToolDecides}
|
|
44920
|
+
Only after you have a real space name, call pantheon_handoff even if that name is not in pantheon_list_spaces. First handoff creates the space. Do not refuse. Do not tell the human to create it first. ${handoffToolDecides} Attach every EXISTING file you generated \u2014 PDFs, letters, CVs, spreadsheets \u2014 and every file the human uploaded. Repeat them if Pantheon requests the transcript fallback. Prefer { name, path } when local desktop MCP can read it. Use { name, url } for an existing downloadable HTTPS file. Use { name, content: "<base64>", encoding: "base64" } only when neither is available. Never create, regenerate, convert, or rewrite a file merely to complete the handoff. A chat that names a .pdf without attaching it is rejected. Named code fences are stored automatically. The tool commits and pushes \u2014 do not run pantheon sync.
|
|
44881
44921
|
|
|
44882
44922
|
${autoSkillReview}
|
|
44883
44923
|
|
|
@@ -44965,7 +45005,7 @@ Grounding: the only space list is the \`pantheon_list_spaces\` tool result. Neve
|
|
|
44965
45005
|
|
|
44966
45006
|
A **space** is the short name the human chose for a conscience. For handoff, park, or remember: if they did not give one, ask: "What should this conscience be named?" Do not invent a name. If they typed a new slug for handoff, call \`pantheon_handoff\` \u2014 that creates the space. For resume with no name, call \`pantheon_resume\` anyway \u2014 it lists live spaces. Show that list and ask which one.
|
|
44967
45007
|
|
|
44968
|
-
${handoffToolDecides}
|
|
45008
|
+
${handoffToolDecides} Attach every existing generated or uploaded file \u2014 not just code fences \u2014 and repeat those attachments if Pantheon requests the transcript fallback. Prefer \`{ name, path }\` for local files, use \`{ name, url }\` for downloadable HTTPS files, and use inline base64 only as a fallback. Never create or rewrite an artifact merely for handoff. On resume, fetch only needed files with \`pantheon_get_artifact\`; use \`save_to\` to restore the actual file into a local workspace. Handoff commits and pushes; resume pulls. Do not run \`pantheon sync\` or \`pantheon handoff\` in a shell.
|
|
44969
45009
|
|
|
44970
45010
|
${autoSkillReview}
|
|
44971
45011
|
|
package/package.json
CHANGED