pantheon-cli 0.2.37 → 0.2.39

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 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. Saving none is a normal, common outcome \u2014 say so plainly rather than finding something to fill the silence.
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.
@@ -23550,7 +23550,8 @@ Tutorial
23550
23550
  live and draft triggers first, and never repeat an existing lesson under
23551
23551
  another name. No need to ask: a draft reaches no agent until it is
23552
23552
  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.
23553
+ None is the ordinary answer: every live skill spends resume context. Say
23554
+ "Nothing worth creating a skill for." when no draft is justified.
23554
23555
  Never write what AGENTS.md or the README already says.
23555
23556
  7. Spaces someone shared with you appear in pantheon_list_spaces with an
23556
23557
  owner, and resume the same way \u2014 /pantheon-resume preorders, or
@@ -24365,7 +24366,7 @@ ${GUIDE}` }]
24365
24366
  registerTool(
24366
24367
  server,
24367
24368
  "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 \u2014 no preamble about which tools you have or what you are about to do.`,
24369
+ `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
24370
  { space: external_exports.string(), cwd: external_exports.string().optional() },
24370
24371
  async ({ space, cwd }) => safe(() => skillReview(home, space, cwd || process.cwd()))
24371
24372
  );
@@ -24669,7 +24670,7 @@ Save AT MOST FIVE, and save none if nothing genuinely recurred. Compare every le
24669
24670
 
24670
24671
  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
24672
 
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 that nothing recurred.
24673
+ 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
24674
 
24674
24675
  ${quiet}`
24675
24676
  },
@@ -24760,8 +24761,8 @@ Compare its live and draft triggers first; never duplicate an existing lesson
24760
24761
  under a different name. A draft is inert until the human promotes it on the
24761
24762
  space page, so that page is where they approve or reject, not the chat. Then
24762
24763
  report in prose, not a table: the names you saved and what each tells a future
24763
- agent, one line each. If nothing recurred, say only that; it is the common case
24764
- and not a failure.
24764
+ agent, one line each. If you save nothing, say only "Nothing worth creating a
24765
+ skill for." It is the common case and not a failure.
24765
24766
 
24766
24767
  ## Do not narrate
24767
24768
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantheon-cli",
3
- "version": "0.2.37",
3
+ "version": "0.2.39",
4
4
  "description": "Carry agent conscience between AI coding agents. Hand off a conversation in one agent, resume it in another.",
5
5
  "license": "MIT",
6
6
  "type": "module",