pantheon-cli 0.2.37 → 0.2.40
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 +15 -18
- package/package.json +1 -1
package/dist/pantheon.mjs
CHANGED
|
@@ -23242,7 +23242,7 @@ function reviewNote(input) {
|
|
|
23242
23242
|
"Tool output is not archived from every client, so the strongest evidence \u2014 what a command actually printed when it failed \u2014 usually exists only in the conversation you are having now. Weigh that alongside these."
|
|
23243
23243
|
);
|
|
23244
23244
|
parts.push(
|
|
23245
|
-
`Save at most ${MAX_REVIEW_DRAFTS} drafts, and save none if nothing here recurred: this space is using ${input.slots} of ${MAX_LIVE_SKILLS} live slots and every promoted skill costs context on every future resume. Compare each lesson against both live and draft skill triggers and do not restate one under a different name; the save also refuses repeated names, candidate keys, triggers, and bodies. Do not ask first \u2014 drafts are inert until the human approves them on the space page. Call pantheon_save_skill with evidence citing the session and turn each claim came from.`
|
|
23245
|
+
`Save at most ${MAX_REVIEW_DRAFTS} drafts, and save none if nothing here recurred: this space is using ${input.slots} of ${MAX_LIVE_SKILLS} live slots and every promoted skill costs context on every future resume. If no draft is justified, say only "Nothing worth creating a skill for." Compare each lesson against both live and draft skill triggers and do not restate one under a different name; the save also refuses repeated names, candidate keys, triggers, and bodies. Do not ask first \u2014 drafts are inert until the human approves them on the space page. Call pantheon_save_skill with evidence citing the session and turn each claim came from.`
|
|
23246
23246
|
);
|
|
23247
23247
|
return parts.join(" ");
|
|
23248
23248
|
}
|
|
@@ -23491,7 +23491,7 @@ Grounding \u2014 never break these:
|
|
|
23491
23491
|
- Never invent a slug yourself. The human's typed name is the only new-space source.
|
|
23492
23492
|
- If pantheon_* tools are missing or fail, say "Pantheon MCP is not connected" and stop. Do not guess.
|
|
23493
23493
|
- /pantheon-spaces \u2192 call pantheon_list_spaces, then show only those slugs.
|
|
23494
|
-
- /pantheon-skills \u2192 call pantheon_skill_review, then save what it justifies with pantheon_save_skill 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.
|
|
23494
|
+
- /pantheon-skills \u2192 call pantheon_skill_review, then save what it justifies with pantheon_save_skill 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."
|
|
23495
23495
|
- 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.
|
|
23496
23496
|
- Files you generated (PDFs, letters, CVs, spreadsheets) must go in artifacts as base64. Handoff is rejected if the chat names a .pdf and you omit it.
|
|
23497
23497
|
- 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.
|
|
@@ -23516,7 +23516,8 @@ Tutorial
|
|
|
23516
23516
|
The code goes before --host, or it is mistaken for the code.
|
|
23517
23517
|
2. Reload MCP in Cursor, Claude, or ChatGPT.app (Chat or Codex).
|
|
23518
23518
|
ChatGPT Classic cannot run local MCP \u2014 use the new ChatGPT.app instead.
|
|
23519
|
-
Replit Desktop
|
|
23519
|
+
Replit Desktop cannot run the local MCP process, so Pantheon does not offer
|
|
23520
|
+
it in the full-fidelity setup.
|
|
23520
23521
|
3. Leave a conscience: /pantheon-handoff <space> \u2192 pantheon_handoff
|
|
23521
23522
|
<space> is the name the human chose. If they omit it, ask \u2014 never invent.
|
|
23522
23523
|
If they named a new slug, call pantheon_handoff anyway \u2014 that creates the space.
|
|
@@ -23550,7 +23551,8 @@ Tutorial
|
|
|
23550
23551
|
live and draft triggers first, and never repeat an existing lesson under
|
|
23551
23552
|
another name. No need to ask: a draft reaches no agent until it is
|
|
23552
23553
|
promoted on the space page, which is where it is approved or rejected.
|
|
23553
|
-
None is the ordinary answer: every live skill spends resume context.
|
|
23554
|
+
None is the ordinary answer: every live skill spends resume context. Say
|
|
23555
|
+
"Nothing worth creating a skill for." when no draft is justified.
|
|
23554
23556
|
Never write what AGENTS.md or the README already says.
|
|
23555
23557
|
7. Spaces someone shared with you appear in pantheon_list_spaces with an
|
|
23556
23558
|
owner, and resume the same way \u2014 /pantheon-resume preorders, or
|
|
@@ -24365,7 +24367,7 @@ ${GUIDE}` }]
|
|
|
24365
24367
|
registerTool(
|
|
24366
24368
|
server,
|
|
24367
24369
|
"pantheon_skill_review",
|
|
24368
|
-
`Review a Pantheon space for lessons worth writing down as a skill. Trigger: /pantheon-skills <space>. Returns what this space already has \u2014 live and draft names with their triggers \u2014 how many live slots are spent, and the recurring signals its archive still holds: times the human corrected an agent, commands run across several conversations, and any deterministic candidates. These are raw material, not findings \u2014 read the turns with pantheon_get_turns before believing any of them. Judge the conversation you are having now as well, and weigh it heavily: most clients never archive what a tool printed, so a failure you hit in this chat is evidence that exists nowhere else. Then save AT MOST ${MAX_REVIEW_DRAFTS} with pantheon_save_skill, and save none if nothing genuinely recurred \u2014 none is the ordinary answer and a space with no skills is healthier than one with skills nobody reads. Do not repeat an existing live or draft lesson under different wording, and never write a skill for something AGENTS.md or the README already says. Do not ask permission first: a saved skill is a draft and no agent is ever given it until the human promotes it on the space page, which is where they approve or reject. Cite evidence with the turns you read. Report only the names you saved and what each tells a future agent, in a line or two
|
|
24370
|
+
`Review a Pantheon space for lessons worth writing down as a skill. Trigger: /pantheon-skills <space>. Returns what this space already has \u2014 live and draft names with their triggers \u2014 how many live slots are spent, and the recurring signals its archive still holds: times the human corrected an agent, commands run across several conversations, and any deterministic candidates. These are raw material, not findings \u2014 read the turns with pantheon_get_turns before believing any of them. Judge the conversation you are having now as well, and weigh it heavily: most clients never archive what a tool printed, so a failure you hit in this chat is evidence that exists nowhere else. Then save AT MOST ${MAX_REVIEW_DRAFTS} with pantheon_save_skill, and save none if nothing genuinely recurred \u2014 none is the ordinary answer and a space with no skills is healthier than one with skills nobody reads. Do not repeat an existing live or draft lesson under different wording, and never write a skill for something AGENTS.md or the README already says. Do not ask permission first: a saved skill is a draft and no agent is ever given it until the human promotes it on the space page, which is where they approve or reject. Cite evidence with the turns you read. Report only the names you saved and what each tells a future agent, in a line or two. If no draft is justified, say only "Nothing worth creating a skill for." No preamble about which tools you have or what you are about to do.`,
|
|
24369
24371
|
{ space: external_exports.string(), cwd: external_exports.string().optional() },
|
|
24370
24372
|
async ({ space, cwd }) => safe(() => skillReview(home, space, cwd || process.cwd()))
|
|
24371
24373
|
);
|
|
@@ -24669,7 +24671,7 @@ Save AT MOST FIVE, and save none if nothing genuinely recurred. Compare every le
|
|
|
24669
24671
|
|
|
24670
24672
|
Write them with pantheon_save_skill yourself, without asking permission first. A saved skill is a draft and is inert: no agent is ever given it until the human promotes it on the space page, so that page is where they approve or reject, not this chat. Cite evidence with the sessions and turns you actually read \u2014 the vault checks those ids and refuses the save if one does not exist. Call pantheon_dismiss_skill with its key for any deterministic candidate you decided against, so it stops being offered.
|
|
24671
24673
|
|
|
24672
|
-
Report in one or two lines: the names you saved and what each one tells a future agent. If you saved nothing, say only
|
|
24674
|
+
Report in one or two lines: the names you saved and what each one tells a future agent. If you saved nothing, say only "Nothing worth creating a skill for."
|
|
24673
24675
|
|
|
24674
24676
|
${quiet}`
|
|
24675
24677
|
},
|
|
@@ -24760,8 +24762,8 @@ Compare its live and draft triggers first; never duplicate an existing lesson
|
|
|
24760
24762
|
under a different name. A draft is inert until the human promotes it on the
|
|
24761
24763
|
space page, so that page is where they approve or reject, not the chat. Then
|
|
24762
24764
|
report in prose, not a table: the names you saved and what each tells a future
|
|
24763
|
-
agent, one line each. If nothing
|
|
24764
|
-
and not a failure.
|
|
24765
|
+
agent, one line each. If you save nothing, say only "Nothing worth creating a
|
|
24766
|
+
skill for." It is the common case and not a failure.
|
|
24765
24767
|
|
|
24766
24768
|
## Do not narrate
|
|
24767
24769
|
|
|
@@ -24844,14 +24846,9 @@ function detectApps() {
|
|
|
24844
24846
|
return found;
|
|
24845
24847
|
}
|
|
24846
24848
|
var AHEAD = "Written ahead \u2014 app not detected, ready if you install it";
|
|
24847
|
-
function nextSteps(found
|
|
24849
|
+
function nextSteps(found) {
|
|
24848
24850
|
if (found.length) return "Reload MCP in each app, then type /pantheon-handoff <space>";
|
|
24849
|
-
return
|
|
24850
|
-
" No desktop agent detected. The configs above are in place if you install one.",
|
|
24851
|
-
"",
|
|
24852
|
-
" Using Claude.ai or ChatGPT in a browser instead? Connect it from",
|
|
24853
|
-
` ${apiUrl}/app/settings/connect`
|
|
24854
|
-
].join("\n");
|
|
24851
|
+
return " No supported desktop agent detected. The configs above are ready if you install one.";
|
|
24855
24852
|
}
|
|
24856
24853
|
function installMcpClients(home) {
|
|
24857
24854
|
const written = [];
|
|
@@ -24898,7 +24895,7 @@ function installMcpClients(home) {
|
|
|
24898
24895
|
skipped.push({ name: "ChatGPT Classic", detail: "no local MCP \u2014 use ChatGPT.app or Codex" });
|
|
24899
24896
|
skipped.push({
|
|
24900
24897
|
name: "Replit Desktop",
|
|
24901
|
-
detail: "
|
|
24898
|
+
detail: "no local MCP process \u2014 reduced-fidelity web setup is not offered"
|
|
24902
24899
|
});
|
|
24903
24900
|
return { written, ahead, skipped, found: [...found] };
|
|
24904
24901
|
}
|
|
@@ -25196,7 +25193,7 @@ async function connect(opts) {
|
|
|
25196
25193
|
failure ? field("MCP", `failed \u2014 ${failure}`) : block("Configured", written),
|
|
25197
25194
|
block(AHEAD, ahead),
|
|
25198
25195
|
block("Skipped", skipped),
|
|
25199
|
-
nextSteps(found
|
|
25196
|
+
nextSteps(found)
|
|
25200
25197
|
)
|
|
25201
25198
|
);
|
|
25202
25199
|
}
|
|
@@ -25598,7 +25595,7 @@ async function main() {
|
|
|
25598
25595
|
block("Configured", result.written),
|
|
25599
25596
|
block(AHEAD, result.ahead),
|
|
25600
25597
|
block("Skipped", result.skipped),
|
|
25601
|
-
nextSteps(result.found
|
|
25598
|
+
nextSteps(result.found)
|
|
25602
25599
|
)
|
|
25603
25600
|
);
|
|
25604
25601
|
return;
|
package/package.json
CHANGED