wtf-p 0.8.4 → 0.9.0

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.
Files changed (363) hide show
  1. package/README.md +26 -25
  2. package/bin/commands/install-logic.js +5 -5
  3. package/bin/install.js +11 -11
  4. package/bin/lib/adapter-compiler.js +211 -208
  5. package/bin/lib/manifest.js +21 -21
  6. package/bin/lib/native-registration.js +25 -10
  7. package/bin/lib/{clio-registration.js → pancode-registration.js} +62 -63
  8. package/bin/lib/utils.js +3 -3
  9. package/bin/uninstall.js +8 -8
  10. package/package.json +5 -4
  11. package/{vendors/clio-extension → pancode/extension}/.wtfp-generated.json +11 -11
  12. package/{vendors/clio-extension → pancode/extension}/compatibility/action-availability.json +14 -14
  13. package/{vendors/clio-extension/clio-coder-extension.yaml → pancode/extension/pancode-extension.yaml} +6 -5
  14. package/{vendors/clio-extension → pancode/extension}/runtime/claim-coverage.cjs +1 -1
  15. package/{vendors/clio-extension → pancode/extension}/runtime/desk-trust.cjs +1 -1
  16. package/{vendors/clio-extension → pancode/extension}/runtime/extension.test.ts +95 -95
  17. package/{vendors/clio-extension → pancode/extension}/runtime/extension.ts +59 -59
  18. package/{vendors/clio-extension → pancode/extension}/runtime/write-guard.json +1 -1
  19. package/{vendors → pancode}/plugin/.wtfp-generated.json +111 -111
  20. package/{vendors → pancode}/plugin/compatibility/action-availability.json +16 -16
  21. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-argument-verifier.md +3 -3
  22. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-citation-expert.md +2 -2
  23. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-citation-formatter.md +2 -2
  24. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-coherence-checker.md +3 -3
  25. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-outliner.md +2 -2
  26. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-plan-checker.md +3 -3
  27. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-prose-polisher.md +2 -2
  28. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-research-synthesizer.md +2 -2
  29. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-planner.md +2 -2
  30. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-reviewer.md +3 -3
  31. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-writer.md +3 -3
  32. package/{vendors/claude/ai.iowarp.clio/fleets → pancode/plugin/dev.pancode/playbooks}/wtfp-draft-review.md +1 -1
  33. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/add-todo.md +1 -1
  34. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/advance.md +8 -8
  35. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/analyze-bib.md +5 -5
  36. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/audit-milestone.md +3 -3
  37. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/check-refs.md +5 -5
  38. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/check-todos.md +3 -3
  39. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/checkpoint.md +3 -3
  40. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/contribute.md +1 -1
  41. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/create-outline.md +5 -5
  42. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/create-poster.md +3 -3
  43. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/create-slides.md +3 -3
  44. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/discuss-section.md +3 -3
  45. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/execute-outline.md +6 -6
  46. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/export-latex.md +3 -3
  47. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/help.md +7 -7
  48. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/insert-section.md +3 -3
  49. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/list-assumptions.md +1 -1
  50. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/map-project.md +1 -1
  51. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/new-paper.md +3 -3
  52. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/pause-writing.md +1 -1
  53. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/plan-milestone-gaps.md +3 -3
  54. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/plan-revision.md +3 -3
  55. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/plan-section.md +6 -6
  56. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/polish-prose.md +5 -5
  57. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/progress.md +3 -3
  58. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/quick.md +5 -5
  59. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/remove-section.md +1 -1
  60. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/report-bug.md +1 -1
  61. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/request-feature.md +1 -1
  62. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/research-gap.md +6 -6
  63. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/resume-writing.md +3 -3
  64. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/review-section.md +6 -6
  65. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/settings.md +3 -3
  66. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/submit-milestone.md +3 -3
  67. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/update.md +1 -1
  68. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/verify-work.md +3 -3
  69. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/write-section.md +6 -6
  70. package/{vendors → pancode}/plugin/plugin.json +56 -56
  71. package/{vendors → pancode}/plugin/repository/CONTRIBUTING.md +5 -2
  72. package/{vendors → pancode}/plugin/skills/wtfp-plan-section/references/actions.md +2 -2
  73. package/vendors/antigravity/.wtfp-generated.json +3 -3
  74. package/vendors/antigravity/plugin.json +2 -2
  75. package/vendors/antigravity/repository/CONTRIBUTING.md +5 -2
  76. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  77. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  78. package/vendors/claude/.wtfp-generated.json +185 -185
  79. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-argument-verifier.md +3 -3
  80. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-citation-expert.md +2 -2
  81. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-citation-formatter.md +2 -2
  82. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-coherence-checker.md +3 -3
  83. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-outliner.md +2 -2
  84. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-plan-checker.md +3 -3
  85. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-prose-polisher.md +2 -2
  86. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-research-synthesizer.md +2 -2
  87. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-section-planner.md +2 -2
  88. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-section-reviewer.md +3 -3
  89. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-section-writer.md +3 -3
  90. package/vendors/{plugin/ai.iowarp.clio/playbooks → claude/dev.pancode/fleets}/wtfp-draft-review.md +1 -1
  91. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/advance.md +1 -1
  92. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/analyze-bib.md +4 -4
  93. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/audit-milestone.md +2 -2
  94. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/check-refs.md +4 -4
  95. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/check-todos.md +2 -2
  96. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/checkpoint.md +2 -2
  97. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/contribute.md +1 -1
  98. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/create-outline.md +4 -4
  99. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/create-poster.md +2 -2
  100. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/create-slides.md +2 -2
  101. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/discuss-section.md +2 -2
  102. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/execute-outline.md +5 -5
  103. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/export-latex.md +2 -2
  104. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/prompts/wtfp/help.md +7 -7
  105. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/insert-section.md +2 -2
  106. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/new-paper.md +2 -2
  107. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/plan-milestone-gaps.md +2 -2
  108. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/plan-revision.md +2 -2
  109. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/plan-section.md +5 -5
  110. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/polish-prose.md +4 -4
  111. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/progress.md +2 -2
  112. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/quick.md +4 -4
  113. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/prompts/wtfp/remove-section.md +1 -1
  114. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/report-bug.md +1 -1
  115. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/request-feature.md +1 -1
  116. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/research-gap.md +5 -5
  117. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/resume-writing.md +2 -2
  118. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/review-section.md +5 -5
  119. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/settings.md +2 -2
  120. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/submit-milestone.md +2 -2
  121. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/update.md +1 -1
  122. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/verify-work.md +2 -2
  123. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/write-section.md +5 -5
  124. package/vendors/claude/plugin.json +56 -56
  125. package/vendors/claude/repository/CONTRIBUTING.md +5 -2
  126. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  127. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +4 -4
  128. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  129. package/vendors/codex/plugins/wtfp/repository/CONTRIBUTING.md +5 -2
  130. package/vendors/copilot/.wtfp-generated.json +2 -2
  131. package/vendors/copilot/marketplace.json +2 -2
  132. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  133. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +3 -3
  134. package/vendors/copilot/plugins/wtfp/repository/CONTRIBUTING.md +5 -2
  135. package/vendors/gemini/.wtfp-generated.json +3 -3
  136. package/vendors/gemini/gemini-extension.json +1 -1
  137. package/vendors/gemini/repository/CONTRIBUTING.md +5 -2
  138. package/vendors/opencode/.wtfp-generated.json +2 -2
  139. package/vendors/opencode/repository/CONTRIBUTING.md +5 -2
  140. /package/{vendors/clio-extension → pancode/extension}/actions/add-todo.json +0 -0
  141. /package/{vendors/clio-extension → pancode/extension}/actions/advance.json +0 -0
  142. /package/{vendors/clio-extension → pancode/extension}/actions/analyze-bib.json +0 -0
  143. /package/{vendors/clio-extension → pancode/extension}/actions/audit-milestone.json +0 -0
  144. /package/{vendors/clio-extension → pancode/extension}/actions/check-refs.json +0 -0
  145. /package/{vendors/clio-extension → pancode/extension}/actions/check-todos.json +0 -0
  146. /package/{vendors/clio-extension → pancode/extension}/actions/checkpoint.json +0 -0
  147. /package/{vendors/clio-extension → pancode/extension}/actions/contribute.json +0 -0
  148. /package/{vendors/clio-extension → pancode/extension}/actions/create-outline.json +0 -0
  149. /package/{vendors/clio-extension → pancode/extension}/actions/create-poster.json +0 -0
  150. /package/{vendors/clio-extension → pancode/extension}/actions/create-slides.json +0 -0
  151. /package/{vendors/clio-extension → pancode/extension}/actions/discuss-section.json +0 -0
  152. /package/{vendors/clio-extension → pancode/extension}/actions/execute-outline.json +0 -0
  153. /package/{vendors/clio-extension → pancode/extension}/actions/export-latex.json +0 -0
  154. /package/{vendors/clio-extension → pancode/extension}/actions/help.json +0 -0
  155. /package/{vendors/clio-extension → pancode/extension}/actions/insert-section.json +0 -0
  156. /package/{vendors/clio-extension → pancode/extension}/actions/list-assumptions.json +0 -0
  157. /package/{vendors/clio-extension → pancode/extension}/actions/map-project.json +0 -0
  158. /package/{vendors/clio-extension → pancode/extension}/actions/new-paper.json +0 -0
  159. /package/{vendors/clio-extension → pancode/extension}/actions/pause-writing.json +0 -0
  160. /package/{vendors/clio-extension → pancode/extension}/actions/plan-milestone-gaps.json +0 -0
  161. /package/{vendors/clio-extension → pancode/extension}/actions/plan-revision.json +0 -0
  162. /package/{vendors/clio-extension → pancode/extension}/actions/plan-section.json +0 -0
  163. /package/{vendors/clio-extension → pancode/extension}/actions/polish-prose.json +0 -0
  164. /package/{vendors/clio-extension → pancode/extension}/actions/progress.json +0 -0
  165. /package/{vendors/clio-extension → pancode/extension}/actions/quick.json +0 -0
  166. /package/{vendors/clio-extension → pancode/extension}/actions/remove-section.json +0 -0
  167. /package/{vendors/clio-extension → pancode/extension}/actions/report-bug.json +0 -0
  168. /package/{vendors/clio-extension → pancode/extension}/actions/request-feature.json +0 -0
  169. /package/{vendors/clio-extension → pancode/extension}/actions/research-gap.json +0 -0
  170. /package/{vendors/clio-extension → pancode/extension}/actions/resume-writing.json +0 -0
  171. /package/{vendors/clio-extension → pancode/extension}/actions/review-section.json +0 -0
  172. /package/{vendors/clio-extension → pancode/extension}/actions/settings.json +0 -0
  173. /package/{vendors/clio-extension → pancode/extension}/actions/submit-milestone.json +0 -0
  174. /package/{vendors/clio-extension → pancode/extension}/actions/update.json +0 -0
  175. /package/{vendors/clio-extension → pancode/extension}/actions/verify-work.json +0 -0
  176. /package/{vendors/clio-extension → pancode/extension}/actions/write-section.json +0 -0
  177. /package/{vendors/clio-extension → pancode/extension}/project/schemas/checkpoint.schema.json +0 -0
  178. /package/{vendors/clio-extension → pancode/extension}/project/schemas/common.schema.json +0 -0
  179. /package/{vendors/clio-extension → pancode/extension}/project/schemas/config.schema.json +0 -0
  180. /package/{vendors/clio-extension → pancode/extension}/project/schemas/decisions.schema.json +0 -0
  181. /package/{vendors/clio-extension → pancode/extension}/project/schemas/evidence.schema.json +0 -0
  182. /package/{vendors/clio-extension → pancode/extension}/project/schemas/interaction.schema.json +0 -0
  183. /package/{vendors/clio-extension → pancode/extension}/project/schemas/manifest.schema.json +0 -0
  184. /package/{vendors/clio-extension → pancode/extension}/project/schemas/outline.schema.json +0 -0
  185. /package/{vendors/clio-extension → pancode/extension}/project/schemas/section.schema.json +0 -0
  186. /package/{vendors/clio-extension → pancode/extension}/project/schemas/source.schema.json +0 -0
  187. /package/{vendors/clio-extension → pancode/extension}/project/schemas/state.schema.json +0 -0
  188. /package/{vendors/clio-extension → pancode/extension}/project/schemas/validation.schema.json +0 -0
  189. /package/{vendors/clio-extension → pancode/extension}/project/templates/checkpoint.json +0 -0
  190. /package/{vendors/clio-extension → pancode/extension}/project/templates/config.json +0 -0
  191. /package/{vendors/clio-extension → pancode/extension}/project/templates/decisions.json +0 -0
  192. /package/{vendors/clio-extension → pancode/extension}/project/templates/evidence.json +0 -0
  193. /package/{vendors/clio-extension → pancode/extension}/project/templates/interaction.json +0 -0
  194. /package/{vendors/clio-extension → pancode/extension}/project/templates/manifest.json +0 -0
  195. /package/{vendors/clio-extension → pancode/extension}/project/templates/outline.json +0 -0
  196. /package/{vendors/clio-extension → pancode/extension}/project/templates/section.json +0 -0
  197. /package/{vendors/clio-extension → pancode/extension}/project/templates/source.json +0 -0
  198. /package/{vendors/clio-extension → pancode/extension}/project/templates/state.json +0 -0
  199. /package/{vendors/clio-extension → pancode/extension}/project/templates/validation.json +0 -0
  200. /package/{vendors/clio-extension → pancode/extension}/runtime/json-schema.cjs +0 -0
  201. /package/{vendors/clio-extension → pancode/extension}/runtime/package.json +0 -0
  202. /package/{vendors/clio-extension → pancode/extension}/skins/wtfp.json +0 -0
  203. /package/{vendors → pancode}/plugin/actions/add-todo.json +0 -0
  204. /package/{vendors → pancode}/plugin/actions/advance.json +0 -0
  205. /package/{vendors → pancode}/plugin/actions/analyze-bib.json +0 -0
  206. /package/{vendors → pancode}/plugin/actions/audit-milestone.json +0 -0
  207. /package/{vendors → pancode}/plugin/actions/check-refs.json +0 -0
  208. /package/{vendors → pancode}/plugin/actions/check-todos.json +0 -0
  209. /package/{vendors → pancode}/plugin/actions/checkpoint.json +0 -0
  210. /package/{vendors → pancode}/plugin/actions/contribute.json +0 -0
  211. /package/{vendors → pancode}/plugin/actions/create-outline.json +0 -0
  212. /package/{vendors → pancode}/plugin/actions/create-poster.json +0 -0
  213. /package/{vendors → pancode}/plugin/actions/create-slides.json +0 -0
  214. /package/{vendors → pancode}/plugin/actions/discuss-section.json +0 -0
  215. /package/{vendors → pancode}/plugin/actions/execute-outline.json +0 -0
  216. /package/{vendors → pancode}/plugin/actions/export-latex.json +0 -0
  217. /package/{vendors → pancode}/plugin/actions/help.json +0 -0
  218. /package/{vendors → pancode}/plugin/actions/insert-section.json +0 -0
  219. /package/{vendors → pancode}/plugin/actions/list-assumptions.json +0 -0
  220. /package/{vendors → pancode}/plugin/actions/map-project.json +0 -0
  221. /package/{vendors → pancode}/plugin/actions/new-paper.json +0 -0
  222. /package/{vendors → pancode}/plugin/actions/pause-writing.json +0 -0
  223. /package/{vendors → pancode}/plugin/actions/plan-milestone-gaps.json +0 -0
  224. /package/{vendors → pancode}/plugin/actions/plan-revision.json +0 -0
  225. /package/{vendors → pancode}/plugin/actions/plan-section.json +0 -0
  226. /package/{vendors → pancode}/plugin/actions/polish-prose.json +0 -0
  227. /package/{vendors → pancode}/plugin/actions/progress.json +0 -0
  228. /package/{vendors → pancode}/plugin/actions/quick.json +0 -0
  229. /package/{vendors → pancode}/plugin/actions/remove-section.json +0 -0
  230. /package/{vendors → pancode}/plugin/actions/report-bug.json +0 -0
  231. /package/{vendors → pancode}/plugin/actions/request-feature.json +0 -0
  232. /package/{vendors → pancode}/plugin/actions/research-gap.json +0 -0
  233. /package/{vendors → pancode}/plugin/actions/resume-writing.json +0 -0
  234. /package/{vendors → pancode}/plugin/actions/review-section.json +0 -0
  235. /package/{vendors → pancode}/plugin/actions/settings.json +0 -0
  236. /package/{vendors → pancode}/plugin/actions/submit-milestone.json +0 -0
  237. /package/{vendors → pancode}/plugin/actions/update.json +0 -0
  238. /package/{vendors → pancode}/plugin/actions/verify-work.json +0 -0
  239. /package/{vendors → pancode}/plugin/actions/write-section.json +0 -0
  240. /package/{vendors → pancode}/plugin/aliases.lock.json +0 -0
  241. /package/{vendors → pancode}/plugin/catalog.json +0 -0
  242. /package/{vendors/claude/ai.iowarp.clio/fleets → pancode/plugin/dev.pancode/playbooks}/wtfp-plan-section.md +0 -0
  243. /package/{vendors → pancode}/plugin/effects.json +0 -0
  244. /package/{vendors → pancode}/plugin/project/README.md +0 -0
  245. /package/{vendors → pancode}/plugin/project/schemas/checkpoint.schema.json +0 -0
  246. /package/{vendors → pancode}/plugin/project/schemas/common.schema.json +0 -0
  247. /package/{vendors → pancode}/plugin/project/schemas/config.schema.json +0 -0
  248. /package/{vendors → pancode}/plugin/project/schemas/decisions.schema.json +0 -0
  249. /package/{vendors → pancode}/plugin/project/schemas/evidence.schema.json +0 -0
  250. /package/{vendors → pancode}/plugin/project/schemas/interaction.schema.json +0 -0
  251. /package/{vendors → pancode}/plugin/project/schemas/manifest.schema.json +0 -0
  252. /package/{vendors → pancode}/plugin/project/schemas/outline.schema.json +0 -0
  253. /package/{vendors → pancode}/plugin/project/schemas/section.schema.json +0 -0
  254. /package/{vendors → pancode}/plugin/project/schemas/source.schema.json +0 -0
  255. /package/{vendors → pancode}/plugin/project/schemas/state.schema.json +0 -0
  256. /package/{vendors → pancode}/plugin/project/schemas/validation.schema.json +0 -0
  257. /package/{vendors → pancode}/plugin/project/templates/checkpoint.json +0 -0
  258. /package/{vendors → pancode}/plugin/project/templates/config.json +0 -0
  259. /package/{vendors → pancode}/plugin/project/templates/decisions.json +0 -0
  260. /package/{vendors → pancode}/plugin/project/templates/evidence.json +0 -0
  261. /package/{vendors → pancode}/plugin/project/templates/interaction.json +0 -0
  262. /package/{vendors → pancode}/plugin/project/templates/manifest.json +0 -0
  263. /package/{vendors → pancode}/plugin/project/templates/outline.json +0 -0
  264. /package/{vendors → pancode}/plugin/project/templates/section.json +0 -0
  265. /package/{vendors → pancode}/plugin/project/templates/source.json +0 -0
  266. /package/{vendors → pancode}/plugin/project/templates/state.json +0 -0
  267. /package/{vendors → pancode}/plugin/project/templates/validation.json +0 -0
  268. /package/{vendors → pancode}/plugin/roles/argument-verifier.md +0 -0
  269. /package/{vendors → pancode}/plugin/roles/citation-expert.md +0 -0
  270. /package/{vendors → pancode}/plugin/roles/citation-formatter.md +0 -0
  271. /package/{vendors → pancode}/plugin/roles/coherence-checker.md +0 -0
  272. /package/{vendors → pancode}/plugin/roles/outliner.md +0 -0
  273. /package/{vendors → pancode}/plugin/roles/plan-checker.md +0 -0
  274. /package/{vendors → pancode}/plugin/roles/prose-polisher.md +0 -0
  275. /package/{vendors → pancode}/plugin/roles/research-synthesizer.md +0 -0
  276. /package/{vendors → pancode}/plugin/roles/section-planner.md +0 -0
  277. /package/{vendors → pancode}/plugin/roles/section-reviewer.md +0 -0
  278. /package/{vendors → pancode}/plugin/roles/section-writer.md +0 -0
  279. /package/{vendors → pancode}/plugin/schemas/action.schema.json +0 -0
  280. /package/{vendors → pancode}/plugin/schemas/aliases.schema.json +0 -0
  281. /package/{vendors → pancode}/plugin/schemas/catalog.schema.json +0 -0
  282. /package/{vendors → pancode}/plugin/schemas/effects.schema.json +0 -0
  283. /package/{vendors → pancode}/plugin/schemas/role-result.schema.json +0 -0
  284. /package/{vendors → pancode}/plugin/schemas/tools.schema.json +0 -0
  285. /package/{vendors → pancode}/plugin/skills/wtfp-deliver-research/SKILL.md +0 -0
  286. /package/{vendors → pancode}/plugin/skills/wtfp-deliver-research/agents/openai.yaml +0 -0
  287. /package/{vendors → pancode}/plugin/skills/wtfp-deliver-research/references/actions.md +0 -0
  288. /package/{vendors → pancode}/plugin/skills/wtfp-manage-project/SKILL.md +0 -0
  289. /package/{vendors → pancode}/plugin/skills/wtfp-manage-project/agents/openai.yaml +0 -0
  290. /package/{vendors → pancode}/plugin/skills/wtfp-manage-project/references/actions.md +0 -0
  291. /package/{vendors → pancode}/plugin/skills/wtfp-plan-section/SKILL.md +0 -0
  292. /package/{vendors → pancode}/plugin/skills/wtfp-plan-section/agents/openai.yaml +0 -0
  293. /package/{vendors → pancode}/plugin/skills/wtfp-research-literature/SKILL.md +0 -0
  294. /package/{vendors → pancode}/plugin/skills/wtfp-research-literature/agents/openai.yaml +0 -0
  295. /package/{vendors → pancode}/plugin/skills/wtfp-research-literature/references/actions.md +0 -0
  296. /package/{vendors → pancode}/plugin/skills/wtfp-review-manuscript/SKILL.md +0 -0
  297. /package/{vendors → pancode}/plugin/skills/wtfp-review-manuscript/agents/openai.yaml +0 -0
  298. /package/{vendors → pancode}/plugin/skills/wtfp-review-manuscript/references/actions.md +0 -0
  299. /package/{vendors → pancode}/plugin/skills/wtfp-start-project/SKILL.md +0 -0
  300. /package/{vendors → pancode}/plugin/skills/wtfp-start-project/agents/openai.yaml +0 -0
  301. /package/{vendors → pancode}/plugin/skills/wtfp-start-project/references/actions.md +0 -0
  302. /package/{vendors → pancode}/plugin/skills/wtfp-write-section/SKILL.md +0 -0
  303. /package/{vendors → pancode}/plugin/skills/wtfp-write-section/agents/openai.yaml +0 -0
  304. /package/{vendors → pancode}/plugin/skills/wtfp-write-section/references/actions.md +0 -0
  305. /package/{vendors → pancode}/plugin/templates/README.md +0 -0
  306. /package/{vendors → pancode}/plugin/templates/grant-proposal-outline.md +0 -0
  307. /package/{vendors → pancode}/plugin/templates/paper-outline.md +0 -0
  308. /package/{vendors → pancode}/plugin/templates/poster.md +0 -0
  309. /package/{vendors → pancode}/plugin/templates/slides.md +0 -0
  310. /package/{vendors → pancode}/plugin/tools/README.md +0 -0
  311. /package/{vendors → pancode}/plugin/tools/bibliography/analyze-impact.js +0 -0
  312. /package/{vendors → pancode}/plugin/tools/bibliography/format.js +0 -0
  313. /package/{vendors → pancode}/plugin/tools/bibliography/index.js +0 -0
  314. /package/{vendors → pancode}/plugin/tools/citation/fetch.js +0 -0
  315. /package/{vendors → pancode}/plugin/tools/citation/rank.js +0 -0
  316. /package/{vendors → pancode}/plugin/tools/citation/scholar-lookup.js +0 -0
  317. /package/{vendors → pancode}/plugin/tools/citation/semantic-scholar.js +0 -0
  318. /package/{vendors → pancode}/plugin/tools/package.json +0 -0
  319. /package/{vendors → pancode}/plugin/tools/support/cite-nexus-client.js +0 -0
  320. /package/{vendors → pancode}/plugin/tools/wtfp-tool.js +0 -0
  321. /package/{vendors → pancode}/plugin/tools.json +0 -0
  322. /package/{vendors → pancode}/plugin/workflows/add-todo.md +0 -0
  323. /package/{vendors → pancode}/plugin/workflows/advance.md +0 -0
  324. /package/{vendors → pancode}/plugin/workflows/analyze-bib.md +0 -0
  325. /package/{vendors → pancode}/plugin/workflows/audit-milestone.md +0 -0
  326. /package/{vendors → pancode}/plugin/workflows/check-refs.md +0 -0
  327. /package/{vendors → pancode}/plugin/workflows/check-todos.md +0 -0
  328. /package/{vendors → pancode}/plugin/workflows/checkpoint.md +0 -0
  329. /package/{vendors → pancode}/plugin/workflows/contribute.md +0 -0
  330. /package/{vendors → pancode}/plugin/workflows/create-outline.md +0 -0
  331. /package/{vendors → pancode}/plugin/workflows/create-poster.md +0 -0
  332. /package/{vendors → pancode}/plugin/workflows/create-slides.md +0 -0
  333. /package/{vendors → pancode}/plugin/workflows/discuss-section.md +0 -0
  334. /package/{vendors → pancode}/plugin/workflows/execute-outline.md +0 -0
  335. /package/{vendors → pancode}/plugin/workflows/export-latex.md +0 -0
  336. /package/{vendors → pancode}/plugin/workflows/help.md +0 -0
  337. /package/{vendors → pancode}/plugin/workflows/insert-section.md +0 -0
  338. /package/{vendors → pancode}/plugin/workflows/list-assumptions.md +0 -0
  339. /package/{vendors → pancode}/plugin/workflows/map-project.md +0 -0
  340. /package/{vendors → pancode}/plugin/workflows/new-paper.md +0 -0
  341. /package/{vendors → pancode}/plugin/workflows/pause-writing.md +0 -0
  342. /package/{vendors → pancode}/plugin/workflows/plan-milestone-gaps.md +0 -0
  343. /package/{vendors → pancode}/plugin/workflows/plan-revision.md +0 -0
  344. /package/{vendors → pancode}/plugin/workflows/plan-section.md +0 -0
  345. /package/{vendors → pancode}/plugin/workflows/polish-prose.md +0 -0
  346. /package/{vendors → pancode}/plugin/workflows/progress.md +0 -0
  347. /package/{vendors → pancode}/plugin/workflows/quick.md +0 -0
  348. /package/{vendors → pancode}/plugin/workflows/remove-section.md +0 -0
  349. /package/{vendors → pancode}/plugin/workflows/report-bug.md +0 -0
  350. /package/{vendors → pancode}/plugin/workflows/request-feature.md +0 -0
  351. /package/{vendors → pancode}/plugin/workflows/research-gap.md +0 -0
  352. /package/{vendors → pancode}/plugin/workflows/resume-writing.md +0 -0
  353. /package/{vendors → pancode}/plugin/workflows/review-section.md +0 -0
  354. /package/{vendors → pancode}/plugin/workflows/settings.md +0 -0
  355. /package/{vendors → pancode}/plugin/workflows/submit-milestone.md +0 -0
  356. /package/{vendors → pancode}/plugin/workflows/update.md +0 -0
  357. /package/{vendors → pancode}/plugin/workflows/verify-work.md +0 -0
  358. /package/{vendors → pancode}/plugin/workflows/write-section.md +0 -0
  359. /package/vendors/{plugin/ai.iowarp.clio/playbooks → claude/dev.pancode/fleets}/wtfp-plan-section.md +0 -0
  360. /package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/add-todo.md +0 -0
  361. /package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/list-assumptions.md +0 -0
  362. /package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/map-project.md +0 -0
  363. /package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/pause-writing.md +0 -0
@@ -3,29 +3,29 @@ const path = require('path');
3
3
 
4
4
  const ROOT = path.resolve(__dirname, '../..');
5
5
 
6
- // Mirror of Clio's own resolution (clio-coder src/core/xdg.ts): the explicit
7
- // CLIO_CODER_CONFIG_DIR wins, then CLIO_CODER_HOME/config, then the platform
8
- // default. On Linux that default is ${XDG_CONFIG_HOME:-~/.config}/clio-coder.
6
+ // Mirror of PanCode's own resolution (pancode src/core/xdg.ts): the explicit
7
+ // PANCODE_CONFIG_DIR wins, then PANCODE_HOME/config, then the platform
8
+ // default. On Linux that default is ${XDG_CONFIG_HOME:-~/.config}/pancode.
9
9
  // Publishing anywhere else registers the plugin in a profile the operator's
10
- // normal Clio never reads.
11
- function clioConfigRoot(env = process.env, platform = process.platform, home = os.homedir()) {
10
+ // normal PanCode never reads.
11
+ function pancodeConfigRoot(env = process.env, platform = process.platform, home = os.homedir()) {
12
12
  const value = (key) => {
13
13
  const raw = env[key];
14
14
  return typeof raw === 'string' && raw.trim().length > 0 ? raw.trim() : null;
15
15
  };
16
- const explicit = value('CLIO_CODER_CONFIG_DIR');
16
+ const explicit = value('PANCODE_CONFIG_DIR');
17
17
  if (explicit) return explicit;
18
- const clioHome = value('CLIO_CODER_HOME');
19
- if (clioHome) return path.join(clioHome, 'config');
18
+ const pancodeHome = value('PANCODE_HOME');
19
+ if (pancodeHome) return path.join(pancodeHome, 'config');
20
20
  if (platform === 'win32') {
21
21
  const appData = value('APPDATA') || path.join(home, 'AppData', 'Roaming');
22
- return path.join(appData, 'clio-coder', 'config');
22
+ return path.join(appData, 'pancode', 'config');
23
23
  }
24
24
  if (platform === 'darwin') {
25
- return path.join(home, 'Library', 'Application Support', 'clio-coder', 'config');
25
+ return path.join(home, 'Library', 'Application Support', 'pancode', 'config');
26
26
  }
27
27
  const xdgConfig = value('XDG_CONFIG_HOME') || path.join(home, '.config');
28
- return path.join(xdgConfig, 'clio-coder');
28
+ return path.join(xdgConfig, 'pancode');
29
29
  }
30
30
 
31
31
  function generatedBundle(target, selectionRoots = {}, componentIds = {}, dest = '.') {
@@ -67,24 +67,24 @@ const MANIFEST = {
67
67
  source: 'marketplaces/wtfp'
68
68
  }
69
69
  },
70
- // Clio consumes the canonical Agent Plugins bundle through its plugin
70
+ // PanCode consumes the canonical Agent Plugins bundle through its hub
71
71
  // lifecycle and the desk through its extension lifecycle: two packages, two
72
- // Clio installs, one WTF-P receipt.
73
- clio: {
74
- name: 'Clio Coder',
75
- configDirEnv: 'CLIO_CODER_CONFIG_DIR',
76
- defaultDir: '.config/clio-coder',
77
- resolveConfigRoot: clioConfigRoot,
72
+ // PanCode installs, one WTF-P receipt.
73
+ pancode: {
74
+ name: 'PanCode',
75
+ configDirEnv: 'PANCODE_CONFIG_DIR',
76
+ defaultDir: '.config/pancode',
77
+ resolveConfigRoot: pancodeConfigRoot,
78
78
  components: [
79
79
  {
80
80
  id: 'plugin',
81
- src: path.join(ROOT, 'vendors', 'plugin'),
81
+ src: path.join(ROOT, 'pancode', 'plugin'),
82
82
  dest: 'plugins/wtfp',
83
83
  type: 'dir'
84
84
  },
85
85
  {
86
86
  id: 'extension',
87
- src: path.join(ROOT, 'vendors', 'clio-extension'),
87
+ src: path.join(ROOT, 'pancode', 'extension'),
88
88
  dest: 'extensions/wtfp',
89
89
  type: 'dir'
90
90
  }
@@ -94,7 +94,7 @@ const MANIFEST = {
94
94
  path: 'plugins/wtfp'
95
95
  },
96
96
  native: {
97
- kind: 'clio-plugin',
97
+ kind: 'pancode-plugin',
98
98
  id: 'wtfp',
99
99
  source: 'plugins/wtfp',
100
100
  extension: { id: 'wtfp', source: 'extensions/wtfp' }
@@ -2,7 +2,7 @@ const fs = require('fs');
2
2
  const os = require('os');
3
3
  const path = require('path');
4
4
  const { spawnSync } = require('child_process');
5
- const { activateClio, deactivateClio } = require('./clio-registration');
5
+ const { activatePanCode, deactivatePanCode } = require('./pancode-registration');
6
6
 
7
7
  const DEFAULT_TIMEOUT_MS = 30000;
8
8
  const MAX_OUTPUT_BYTES = 2 * 1024 * 1024;
@@ -27,12 +27,12 @@ function antigravityHome(targetDir) {
27
27
 
28
28
  function nativeEnvironment(runtime, targetDir, baseEnvironment = process.env, options = {}) {
29
29
  const environment = { ...baseEnvironment };
30
- if (runtime === 'clio') {
30
+ if (runtime === 'pancode') {
31
31
  // Project destinations are selected by cwd and --project. Repointing the
32
- // user config there aliases the two Library scopes, including their locks
32
+ // user config there aliases the two hub scopes, including their locks
33
33
  // and state files. Preserve the caller's independent user profile.
34
- const project = path.resolve(targetDir) === path.join(path.resolve(options.cwd || process.cwd()), '.clio-coder');
35
- if (!project) environment.CLIO_CODER_CONFIG_DIR = targetDir;
34
+ const project = path.resolve(targetDir) === path.join(path.resolve(options.cwd || process.cwd()), '.pancode');
35
+ if (!project) environment.PANCODE_CONFIG_DIR = targetDir;
36
36
  } else if (runtime === 'claude') {
37
37
  environment.CLAUDE_CONFIG_DIR = targetDir;
38
38
  } else if (runtime === 'codex') {
@@ -48,6 +48,21 @@ function nativeEnvironment(runtime, targetDir, baseEnvironment = process.env, op
48
48
  return environment;
49
49
  }
50
50
 
51
+ // A search that met only a directory of the same name, such as the `pancode/`
52
+ // output directory in a WTF-P checkout under an empty PATH entry, reports
53
+ // EACCES; that is no executable at all, unlike a real file without permission.
54
+ function onPathAsFile(command, environment, cwd) {
55
+ if (command.includes('/') || command.includes(path.sep)) return true;
56
+ const entries = String((environment && environment.PATH) || '').split(path.delimiter);
57
+ return entries.some((entry) => {
58
+ try {
59
+ return fs.statSync(path.resolve(cwd || process.cwd(), entry, command)).isFile();
60
+ } catch {
61
+ return false;
62
+ }
63
+ });
64
+ }
65
+
51
66
  function execute(command, args, environment, options = {}) {
52
67
  const runner = options.runner || spawnSync;
53
68
  const result = runner(command, args, {
@@ -60,7 +75,7 @@ function execute(command, args, environment, options = {}) {
60
75
  windowsHide: true
61
76
  });
62
77
 
63
- if (result.error && result.error.code === 'ENOENT') {
78
+ if (result.error && (result.error.code === 'ENOENT' || (result.error.code === 'EACCES' && !onPathAsFile(command, environment, options.cwd)))) {
64
79
  return { status: 'unavailable', command, args, output: '' };
65
80
  }
66
81
  if (result.error) {
@@ -92,7 +107,7 @@ function execute(command, args, environment, options = {}) {
92
107
  };
93
108
  }
94
109
 
95
- // Clio is handled entirely by clio-registration.js through its plugin
110
+ // PanCode is handled entirely by pancode-registration.js through its plugin
96
111
  // lifecycle and never reaches this marketplace-shaped command table.
97
112
  function nativeCommands(runtime, targetDir, native) {
98
113
  const source = path.join(targetDir, native.source);
@@ -263,8 +278,8 @@ function verifyRegistration(runtime, native, result) {
263
278
 
264
279
  function activateNativeRegistration(runtime, targetDir, native, options = {}) {
265
280
  if (!native) return { status: 'not-required', results: [] };
266
- if (runtime === 'clio') {
267
- return activateClio(targetDir, native, { ...options, execute, environment: nativeEnvironment(runtime, targetDir, options.environment, options) });
281
+ if (runtime === 'pancode') {
282
+ return activatePanCode(targetDir, native, { ...options, execute, environment: nativeEnvironment(runtime, targetDir, options.environment, options) });
268
283
  }
269
284
  const commands = nativeCommands(runtime, targetDir, native);
270
285
  if (!commands) return { status: 'not-required', results: [] };
@@ -433,7 +448,7 @@ function isAlreadyAbsent(result) {
433
448
 
434
449
  function deactivateNativeRegistration(runtime, targetDir, native, options = {}) {
435
450
  if (!native) return { status: 'not-required', results: [] };
436
- if (runtime === 'clio') return deactivateClio(targetDir, native, { ...options, execute, environment: nativeEnvironment(runtime, targetDir, options.environment, options) });
451
+ if (runtime === 'pancode') return deactivatePanCode(targetDir, native, { ...options, execute, environment: nativeEnvironment(runtime, targetDir, options.environment, options) });
437
452
  const commands = nativeCommands(runtime, targetDir, native);
438
453
  if (!commands) return { status: 'not-required', results: [] };
439
454
  const environment = nativeEnvironment(runtime, targetDir, options.environment);
@@ -4,22 +4,22 @@ const fs = require('fs');
4
4
  const path = require('path');
5
5
  const { createTargetGuard, resolveOwnedPath, sha256Buffer } = require('./ownership');
6
6
 
7
- // Clio owns integrity, provenance, drift and enable/disable for an installed
7
+ // PanCode owns integrity, provenance, drift and enable/disable for an installed
8
8
  // plugin or extension. WTF-P owns two much smaller things: the exact bytes it
9
- // publishes (its v2 receipt) and the guarantee that each tree handed to Clio
9
+ // publishes (its v2 receipt) and the guarantee that each tree handed to PanCode
10
10
  // is the generated package and nothing else.
11
11
  function treeFiles(root) {
12
12
  const files = new Map();
13
13
  function visit(directory) {
14
14
  const stat = fs.lstatSync(directory);
15
15
  if (stat.isSymbolicLink() || !stat.isDirectory()) {
16
- throw new Error(`Clio plugin directory is unsafe: ${directory}`);
16
+ throw new Error(`PanCode plugin directory is unsafe: ${directory}`);
17
17
  }
18
18
  for (const entry of fs.readdirSync(directory, { withFileTypes: true })) {
19
19
  const file = path.join(directory, entry.name);
20
20
  if (entry.isDirectory()) visit(file);
21
21
  else if (entry.isFile()) files.set(path.relative(root, file).split(path.sep).join('/'), sha256Buffer(fs.readFileSync(file)));
22
- else throw new Error(`Clio plugin contains an unsafe entry: ${file}`);
22
+ else throw new Error(`PanCode plugin contains an unsafe entry: ${file}`);
23
23
  }
24
24
  }
25
25
  if (fs.existsSync(root)) visit(root);
@@ -32,12 +32,12 @@ function sameTree(left, right) {
32
32
 
33
33
  function scopeOptions(targetDir, options) {
34
34
  const cwd = path.resolve(options.cwd || process.cwd());
35
- const project = path.resolve(targetDir) === path.join(cwd, '.clio-coder');
36
- if (options.scope === 'project' && !project) throw new Error('Clio project scope requires <cwd>/.clio-coder');
35
+ const project = path.resolve(targetDir) === path.join(cwd, '.pancode');
36
+ if (options.scope === 'project' && !project) throw new Error('PanCode project scope requires <cwd>/.pancode');
37
37
  return { ...options, cwd, scope: project ? 'project' : 'user' };
38
38
  }
39
39
 
40
- function generatedBundle(root, target = 'portable-plugin') {
40
+ function generatedBundle(root, target = 'pancode-plugin') {
41
41
  const inventoryPath = path.join(root, '.wtfp-generated.json');
42
42
  if (!fs.existsSync(inventoryPath)) return null;
43
43
  const inventory = JSON.parse(fs.readFileSync(inventoryPath, 'utf8'));
@@ -50,7 +50,7 @@ function generatedBundle(root, target = 'portable-plugin') {
50
50
  }
51
51
 
52
52
  // Compare roots by their real path so a symlinked config directory still
53
- // matches whether Clio reports the lexical or the canonical root.
53
+ // matches whether PanCode reports the lexical or the canonical root.
54
54
  function sameRoot(reported, expected) {
55
55
  const canonical = (candidate) => {
56
56
  try {
@@ -85,18 +85,18 @@ function installedRecord(entry) {
85
85
  function installedListEntry(stdout, targetDir, native, scope) {
86
86
  const listing = JSON.parse(stdout);
87
87
  if (!listing || !Array.isArray(listing.entries) || !Array.isArray(listing.diagnostics)) {
88
- throw new Error('Clio library list did not return entries and diagnostics arrays');
88
+ throw new Error('PanCode hub list did not return entries and diagnostics arrays');
89
89
  }
90
90
  const installed = [];
91
91
  for (const entry of listing.entries) {
92
92
  if (!entry || typeof entry.kind !== 'string' || typeof entry.name !== 'string' ||
93
93
  !entry.name || !Array.isArray(entry.installed)) {
94
- throw new Error('Clio library list returned a malformed library entry');
94
+ throw new Error('PanCode hub list returned a malformed hub entry');
95
95
  }
96
96
  if (entry.kind !== 'plugin') continue;
97
97
  for (const copy of entry.installed) {
98
98
  if (!installedRecord(copy) || copy.id !== entry.name) {
99
- throw new Error('Clio library list returned a malformed installed plugin');
99
+ throw new Error('PanCode hub list returned a malformed installed plugin');
100
100
  }
101
101
  installed.push(copy);
102
102
  }
@@ -105,45 +105,44 @@ function installedListEntry(stdout, targetDir, native, scope) {
105
105
  // three ownership coordinates can authorize native lifecycle operations.
106
106
  const matches = installed.filter(entry => entry.id === native.id && entry.scope === scope &&
107
107
  sameRoot(entry.rootPath, path.join(targetDir, native.source)));
108
- if (matches.length > 1) throw new Error('Clio library list returned duplicate installed plugin identities');
108
+ if (matches.length > 1) throw new Error('PanCode hub list returned duplicate installed plugin identities');
109
109
  return matches[0];
110
110
  }
111
111
 
112
112
  function installedExtensionEntry(stdout, targetDir, native, scope) {
113
113
  const listing = JSON.parse(stdout);
114
114
  if (!listing || !Array.isArray(listing.extensions)) {
115
- throw new Error('Clio extensions list did not return an extensions array');
115
+ throw new Error('PanCode extensions list did not return an extensions array');
116
116
  }
117
117
  for (const entry of listing.extensions) {
118
- if (!installedRecord(entry)) throw new Error('Clio extensions list returned a malformed installed extension');
118
+ if (!installedRecord(entry)) throw new Error('PanCode extensions list returned a malformed installed extension');
119
119
  }
120
120
  const matches = listing.extensions.filter(entry => entry.id === native.id && entry.scope === scope &&
121
121
  sameRoot(entry.rootPath, path.join(targetDir, native.source)));
122
- if (matches.length > 1) throw new Error('Clio extensions list returned duplicate installed extension identities');
122
+ if (matches.length > 1) throw new Error('PanCode extensions list returned duplicate installed extension identities');
123
123
  return matches[0];
124
124
  }
125
125
 
126
- // The two Clio packages WTF-P installs, plugin first. Each is its own Clio
126
+ // The two PanCode packages WTF-P installs, plugin first. Each is its own PanCode
127
127
  // install with its own lifecycle command, generated inventory and checks.
128
- // Both carry the id `wtfp`, and Clio 0.6.2 refuses a bare name that a plugin
129
- // and an extension share, so `library` commands name the plugin as
130
- // `plugin:wtfp`. The `extensions` commands select extensions by themselves.
131
- function clioPackages(native) {
128
+ // Both carry the id `wtfp`, so `hub` commands name the plugin as `plugin:wtfp`
129
+ // and never leave PanCode to choose between the two packages. The `extensions` commands select extensions by themselves.
130
+ function pancodePackages(native) {
132
131
  const plugin = {
133
- noun: 'plugin', command: 'library', id: native.id, ref: `plugin:${native.id}`, source: native.source, inventory: 'portable-plugin',
134
- deferral: 'Clio activation requires an intact generated bundle without extra or modified files',
135
- list: () => ['library', 'list', '--kind', 'plugin', '--json'],
132
+ noun: 'plugin', command: 'hub', id: native.id, ref: `plugin:${native.id}`, source: native.source, inventory: 'pancode-plugin',
133
+ deferral: 'PanCode activation requires an intact generated bundle without extra or modified files',
134
+ list: () => ['hub', 'list', '--kind', 'plugin', '--json'],
136
135
  listed: (stdout, targetDir, scope) => installedListEntry(stdout, targetDir, native, scope),
137
136
  // `inspect` returns the installed record for the explicitly selected scope.
138
- verify: scope => ['library', 'inspect', `plugin:${native.id}`, `--${scope}`, '--json'],
137
+ verify: scope => ['hub', 'inspect', `plugin:${native.id}`, `--${scope}`, '--json'],
139
138
  verified: (stdout, targetDir, scope) => verifiedEntry(stdout, targetDir, native, scope)
140
139
  };
141
140
  if (!native.extension) return [plugin];
142
141
  const extension = native.extension;
143
142
  const listed = (stdout, targetDir, scope) => installedExtensionEntry(stdout, targetDir, extension, scope);
144
143
  return [plugin, {
145
- noun: 'extension', command: 'extensions', id: extension.id, ref: extension.id, source: extension.source, inventory: 'clio-extension',
146
- deferral: 'Clio extension activation requires an intact generated extension without extra or modified files',
144
+ noun: 'extension', command: 'extensions', id: extension.id, ref: extension.id, source: extension.source, inventory: 'pancode-extension',
145
+ deferral: 'PanCode extension activation requires an intact generated extension without extra or modified files',
147
146
  list: scope => ['extensions', 'list', `--${scope}`, '--json'],
148
147
  listed,
149
148
  verify: scope => ['extensions', 'list', `--${scope}`, '--json'],
@@ -153,8 +152,8 @@ function clioPackages(native) {
153
152
 
154
153
  // Registration is what WTF-P is responsible for. Whether the operator has a
155
154
  // package switched on, and whether they trust a project's package state, is
156
- // Clio's state and their decision, so it is reported, never asserted and never
157
- // changed. Clio binds project trust to the content of that state, so any
155
+ // PanCode's state and their decision, so it is reported, never asserted and never
156
+ // changed. PanCode binds project trust to the content of that state, so any
158
157
  // project install after the first waits for `config trust`.
159
158
  const TRUST_GATE = /^project (?:plugins|extensions) are not trusted for this workspace\b/u;
160
159
 
@@ -168,7 +167,7 @@ function registered(entry) {
168
167
  }
169
168
 
170
169
  function disabledNotice(pkg, scope) {
171
- return `Clio reports ${pkg.id} as installed but disabled. WTF-P does not change that preference; run clio-coder ${pkg.command} enable ${pkg.ref} --${scope} to switch it back on.`;
170
+ return `PanCode reports ${pkg.id} as installed but disabled. WTF-P does not change that preference; run pancode ${pkg.command} enable ${pkg.ref} --${scope} to switch it back on.`;
172
171
  }
173
172
 
174
173
  function preferenceNotice(pkg, scope, entry) {
@@ -176,7 +175,7 @@ function preferenceNotice(pkg, scope, entry) {
176
175
  const notices = [
177
176
  ...(entry.enabled === false ? [disabledNotice(pkg, scope)] : []),
178
177
  ...(entry.diagnostics.some(trustGate)
179
- ? [`Clio holds this project's ${surface} until you trust its package state; WTF-P does not grant that. Review it with clio-coder config trust ${surface}.`]
178
+ ? [`PanCode holds this project's ${surface} until you trust its package state; WTF-P does not grant that. Review it with pancode config trust ${surface}.`]
180
179
  : [])
181
180
  ];
182
181
  return notices.length > 0 ? { notice: notices.join(' ') } : {};
@@ -184,11 +183,11 @@ function preferenceNotice(pkg, scope, entry) {
184
183
 
185
184
  // Install the plugin, then the extension. A failure in the second compensates
186
185
  // the first, and the returned compensator undoes both in reverse order.
187
- function activateClio(targetDir, native, suppliedOptions) {
186
+ function activatePanCode(targetDir, native, suppliedOptions) {
188
187
  const options = scopeOptions(targetDir, suppliedOptions);
189
188
  const activated = [];
190
189
  try {
191
- for (const pkg of clioPackages(native)) {
190
+ for (const pkg of pancodePackages(native)) {
192
191
  const result = activatePackage(targetDir, pkg, options);
193
192
  activated.push(result);
194
193
  if (result.status !== 'registered') break;
@@ -202,7 +201,7 @@ function activateClio(targetDir, native, suppliedOptions) {
202
201
  const last = activated[activated.length - 1];
203
202
  const notices = activated.map(result => result.notice).filter(Boolean);
204
203
  return {
205
- status: last.status, executable: 'clio-coder',
204
+ status: last.status, executable: 'pancode',
206
205
  ...(last.reason ? { reason: last.reason } : {}),
207
206
  results: activated.flatMap(result => result.results),
208
207
  ...(notices.length ? { notice: notices.join(' ') } : {}),
@@ -227,15 +226,15 @@ function activatePackage(targetDir, pkg, options) {
227
226
  }
228
227
 
229
228
  const results = [];
230
- const priorList = execute('clio-coder', pkg.list(options.scope), environment, options);
231
- if (priorList.status === 'unavailable') return { status: 'unavailable', executable: 'clio-coder', results };
229
+ const priorList = execute('pancode', pkg.list(options.scope), environment, options);
230
+ if (priorList.status === 'unavailable') return { status: 'unavailable', executable: 'pancode', results };
232
231
  results.push(priorList);
233
232
  const priorEntry = pkg.listed(priorList.stdout, targetDir, options.scope);
234
233
  if (registered(priorEntry)) {
235
- return { status: 'registered', executable: 'clio-coder', results, ...preferenceNotice(pkg, options.scope, priorEntry) };
234
+ return { status: 'registered', executable: 'pancode', results, ...preferenceNotice(pkg, options.scope, priorEntry) };
236
235
  }
237
236
 
238
- // `library install` copies a source into the destination it owns, so the
237
+ // `hub install` copies a source into the destination it owns, so the
239
238
  // published tree moves aside first. Holding it (inode identities included)
240
239
  // until the receipt is durable lets a failed registration put the previous
241
240
  // installation back before the file transaction rolls it back.
@@ -249,18 +248,18 @@ function activatePackage(targetDir, pkg, options) {
249
248
  try {
250
249
  if (fs.existsSync(root)) {
251
250
  if (!sameTree(publishedFiles, treeFiles(root))) {
252
- throw new Error('Clio content changed concurrently; recovery tree preserved');
251
+ throw new Error('PanCode content changed concurrently; recovery tree preserved');
253
252
  }
254
- const removal = execute('clio-coder', [pkg.command, 'remove', pkg.ref, `--${options.scope}`, '--json'], environment,
253
+ const removal = execute('pancode', [pkg.command, 'remove', pkg.ref, `--${options.scope}`, '--json'], environment,
255
254
  { ...options, allowAlreadyAbsent: true });
256
255
  results.push(removal);
257
- if (removal.status === 'unavailable') throw new Error('Clio became unavailable during rollback');
256
+ if (removal.status === 'unavailable') throw new Error('PanCode became unavailable during rollback');
258
257
  }
259
- if (fs.existsSync(root)) throw new Error('Clio rollback did not remove the replacement');
260
- const after = execute('clio-coder', pkg.list(options.scope), environment, options);
258
+ if (fs.existsSync(root)) throw new Error('PanCode rollback did not remove the replacement');
259
+ const after = execute('pancode', pkg.list(options.scope), environment, options);
261
260
  results.push(after);
262
261
  if (after.status === 'unavailable' || pkg.listed(after.stdout, targetDir, options.scope)) {
263
- throw new Error('Clio rollback did not clear the replacement registration');
262
+ throw new Error('PanCode rollback did not clear the replacement registration');
264
263
  }
265
264
  fs.renameSync(source, root);
266
265
  fs.rmdirSync(staging);
@@ -272,29 +271,29 @@ function activatePackage(targetDir, pkg, options) {
272
271
  }
273
272
 
274
273
  try {
275
- const installation = execute('clio-coder', [pkg.command, 'install', source, `--${options.scope}`, '--json'], environment, options);
274
+ const installation = execute('pancode', [pkg.command, 'install', source, `--${options.scope}`, '--json'], environment, options);
276
275
  results.push(installation);
277
- if (installation.status === 'unavailable') throw new Error('Clio became unavailable during installation');
278
- const inspected = execute('clio-coder', pkg.verify(options.scope), environment, options);
276
+ if (installation.status === 'unavailable') throw new Error('PanCode became unavailable during installation');
277
+ const inspected = execute('pancode', pkg.verify(options.scope), environment, options);
279
278
  results.push(inspected);
280
- if (inspected.status === 'unavailable') throw new Error('Clio became unavailable during verification');
279
+ if (inspected.status === 'unavailable') throw new Error('PanCode became unavailable during verification');
281
280
  const entry = pkg.verified(inspected.stdout, targetDir, options.scope);
282
281
  if (!registered(entry) || !sameTree(publishedFiles, treeFiles(root))) {
283
- throw new Error(`Clio did not report the exact WTF-P ${pkg.noun} as installed and valid with zero diagnostics`);
282
+ throw new Error(`PanCode did not report the exact WTF-P ${pkg.noun} as installed and valid with zero diagnostics`);
284
283
  }
285
284
  if (priorEntry && priorEntry.enabled !== entry.enabled) {
286
- throw new Error(`Clio installation changed the existing WTF-P ${pkg.noun} enabled preference`);
285
+ throw new Error(`PanCode installation changed the existing WTF-P ${pkg.noun} enabled preference`);
287
286
  }
288
287
  return {
289
- status: 'registered', executable: 'clio-coder', results, rollback,
288
+ status: 'registered', executable: 'pancode', results, rollback,
290
289
  ...preferenceNotice(pkg, options.scope, entry),
291
290
  commit() {
292
- // Only the private held copy is removed; Clio owns its installed tree.
291
+ // Only the private held copy is removed; PanCode owns its installed tree.
293
292
  finished = true;
294
293
  try { fs.rmSync(staging, { recursive: true }); } catch {
295
294
  // Receipt publication has committed. A failed cleanup must not undo
296
295
  // the active package or invalidate its now-durable ownership receipt.
297
- return `Clio installation committed; remove the retained staging copy manually: ${staging}`;
296
+ return `PanCode installation committed; remove the retained staging copy manually: ${staging}`;
298
297
  }
299
298
  }
300
299
  };
@@ -307,10 +306,10 @@ function activatePackage(targetDir, pkg, options) {
307
306
 
308
307
  // Remove the extension, then the plugin, each only when the receipt proves it.
309
308
  // `ownedFiles` maps receipt paths below the target to their published hashes.
310
- function deactivateClio(targetDir, native, suppliedOptions) {
309
+ function deactivatePanCode(targetDir, native, suppliedOptions) {
311
310
  const options = scopeOptions(targetDir, suppliedOptions);
312
311
  const removed = [];
313
- for (const pkg of clioPackages(native).reverse()) {
312
+ for (const pkg of pancodePackages(native).reverse()) {
314
313
  const prefix = `${pkg.source}/`;
315
314
  const ownedFiles = options.ownedFiles && new Map([...options.ownedFiles]
316
315
  .filter(([file]) => file.startsWith(prefix))
@@ -328,15 +327,15 @@ function deactivateClio(targetDir, native, suppliedOptions) {
328
327
  return { status: 'deferred', reason: deferred.map(result => result.reason).join('; '), results, keptRoots: deferred.map(result => result.root) };
329
328
  }
330
329
  return removed.some(result => result.status === 'unregistered')
331
- ? { status: 'unregistered', executable: 'clio-coder', results }
330
+ ? { status: 'unregistered', executable: 'pancode', results }
332
331
  : { status: 'not-required', results };
333
332
  }
334
333
 
335
334
  function deactivatePackage(targetDir, pkg, options) {
336
335
  const { execute, environment } = options;
337
336
  const guard = createTargetGuard(targetDir);
338
- const listing = execute('clio-coder', pkg.list(options.scope), environment, options);
339
- if (listing.status === 'unavailable') return { status: 'unavailable', executable: 'clio-coder', results: [] };
337
+ const listing = execute('pancode', pkg.list(options.scope), environment, options);
338
+ if (listing.status === 'unavailable') return { status: 'unavailable', executable: 'pancode', results: [] };
340
339
  if (!pkg.listed(listing.stdout, targetDir, options.scope)) {
341
340
  return { status: 'not-required', results: [listing] };
342
341
  }
@@ -352,13 +351,13 @@ function deactivatePackage(targetDir, pkg, options) {
352
351
  reason: `Kept the WTF-P ${pkg.noun} installed and registered: ${pkg.source}/ holds files WTF-P did not publish or that changed${foreign.length ? ` (${foreign.join(', ')})` : ''}. Move them out and run uninstall again.`
353
352
  };
354
353
  }
355
- const result = execute('clio-coder', [pkg.command, 'remove', pkg.ref, `--${options.scope}`, '--json'], environment, options);
356
- if (result.status === 'unavailable') return { status: 'unavailable', executable: 'clio-coder', results: [listing] };
357
- const after = execute('clio-coder', pkg.list(options.scope), environment, options);
354
+ const result = execute('pancode', [pkg.command, 'remove', pkg.ref, `--${options.scope}`, '--json'], environment, options);
355
+ if (result.status === 'unavailable') return { status: 'unavailable', executable: 'pancode', results: [listing] };
356
+ const after = execute('pancode', pkg.list(options.scope), environment, options);
358
357
  if (after.status === 'unavailable' || fs.existsSync(root) || pkg.listed(after.stdout, targetDir, options.scope)) {
359
- throw new Error('Clio removal did not clear WTF-P content and registration');
358
+ throw new Error('PanCode removal did not clear WTF-P content and registration');
360
359
  }
361
- return { status: 'unregistered', executable: 'clio-coder', results: [listing, result, after] };
360
+ return { status: 'unregistered', executable: 'pancode', results: [listing, result, after] };
362
361
  }
363
362
 
364
- module.exports = { activateClio, deactivateClio, treeFiles };
363
+ module.exports = { activatePanCode, deactivatePanCode, treeFiles };
package/bin/lib/utils.js CHANGED
@@ -228,7 +228,7 @@ function detectInstallation(vendorDir) {
228
228
  );
229
229
  const expectsAnyPath = prefixes => prefixes.some(expectsPath);
230
230
  const nativeComponent = relative => {
231
- const match = relative.match(/^plugins\/wtfp\/(?:ai\.iowarp\.clio\/)?(prompts|workflows|skills|agents|tools)\//);
231
+ const match = relative.match(/^plugins\/wtfp\/(?:dev\.pancode\/)?(prompts|workflows|skills|agents|tools)\//);
232
232
  return match ? ({ prompts: 'commands', tools: 'scripts' }[match[1]] || match[1]) : null;
233
233
  };
234
234
  const componentPaths = component => receiptEntries
@@ -264,7 +264,7 @@ function detectInstallation(vendorDir) {
264
264
 
265
265
  const expectedHasCommands = expectsAnyPath([
266
266
  'commands/wtfp', 'marketplaces/wtfp/commands',
267
- 'plugins/wtfp/ai.iowarp.clio/prompts', 'extensions/wtfp/commands', 'sources/wtfp/commands'
267
+ 'plugins/wtfp/dev.pancode/prompts', 'extensions/wtfp/commands', 'sources/wtfp/commands'
268
268
  ]);
269
269
  const expectedHasWorkflows = expectsAnyPath([
270
270
  'write-the-f-paper', 'workflows', 'marketplaces/wtfp/workflows',
@@ -276,7 +276,7 @@ function detectInstallation(vendorDir) {
276
276
  ]);
277
277
  const expectedHasAgents = expectsAnyPath([
278
278
  'agents/wtfp', 'marketplaces/wtfp/agents',
279
- 'plugins/wtfp/ai.iowarp.clio/agents', 'extensions/wtfp/agents', 'sources/wtfp/agents'
279
+ 'plugins/wtfp/dev.pancode/agents', 'extensions/wtfp/agents', 'sources/wtfp/agents'
280
280
  ]);
281
281
  const expectedHasMcp = expectsAnyPath(['mcp', 'marketplaces/wtfp/mcp']);
282
282
  const expectedHasBin = expectsAnyPath([
package/bin/uninstall.js CHANGED
@@ -47,7 +47,7 @@ try {
47
47
 
48
48
  function parseArgs(argv = []) {
49
49
  const booleanFlags = new Set([
50
- '--global', '-g', '--local', '-l', '--claude', '--clio', '--codex', '--copilot',
50
+ '--global', '-g', '--local', '-l', '--claude', '--pancode', '--codex', '--copilot',
51
51
  '--gemini', '--opencode', '--antigravity', '--all',
52
52
  '--force', '-f', '--yes', '-y', '--backup', '-b', '--dry-run', '-n',
53
53
  '--clean-backups', '--help', '-h', '--no-color', '--quiet', '-q'
@@ -79,7 +79,7 @@ function parseArgs(argv = []) {
79
79
  hasGlobal: has('--global', '-g'),
80
80
  hasLocal: has('--local', '-l'),
81
81
  hasClaude: has('--claude'),
82
- hasClio: has('--clio'),
82
+ hasPanCode: has('--pancode'),
83
83
  hasCodex: has('--codex'),
84
84
  hasCopilot: has('--copilot'),
85
85
  hasGemini: has('--gemini'),
@@ -114,7 +114,7 @@ function parseArgs(argv = []) {
114
114
  }
115
115
  const selectedTargetIds = [
116
116
  ['claude', options.hasClaude],
117
- ['clio', options.hasClio],
117
+ ['pancode', options.hasPanCode],
118
118
  ['codex', options.hasCodex],
119
119
  ['copilot', options.hasCopilot],
120
120
  ['gemini', options.hasGemini],
@@ -189,7 +189,7 @@ function showHelp(out) {
189
189
  ${c.cyan('-g, --global')} Claude user installation (legacy alias)
190
190
  ${c.cyan('-l, --local')} Claude installation in ./.claude
191
191
  ${c.cyan('--claude')} Claude Code user installation
192
- ${c.cyan('--clio')} Clio Coder plugin installation
192
+ ${c.cyan('--pancode')} PanCode plugin and extension installation
193
193
  ${c.cyan('--codex')} Codex plugin installation
194
194
  ${c.cyan('--copilot')} GitHub Copilot CLI plugin installation
195
195
  ${c.cyan('--gemini')} Gemini CLI user installation
@@ -778,9 +778,9 @@ async function uninstall(runtime, options, out) {
778
778
  vendorKey,
779
779
  targetDir,
780
780
  vendorConfig.native,
781
- { ...(vendorKey === 'clio' && plan.receipt.scope === 'project'
781
+ { ...(vendorKey === 'pancode' && plan.receipt.scope === 'project'
782
782
  ? { scope: 'project', cwd: path.dirname(targetDir) } : {}),
783
- // Receipt paths below the target; Clio checks each package root against them.
783
+ // Receipt paths below the target; PanCode checks each package root against them.
784
784
  ownedFiles: new Map(plan.items
785
785
  .filter(item => item.state === 'unchanged')
786
786
  .map(item => [item.path, item.entry.sha256])) }
@@ -788,7 +788,7 @@ async function uninstall(runtime, options, out) {
788
788
  if (nativeRemoval.status === 'unavailable' && !options.hasQuiet) {
789
789
  out.warn(`${nativeRemoval.executable} is unavailable; removing the WTF-P-owned staging files without changing the client's native registry.`);
790
790
  } else if (nativeRemoval.status === 'deferred') {
791
- // A package Clio still registers keeps every owned file and its receipt
791
+ // A package PanCode still registers keeps every owned file and its receipt
792
792
  // entries; removing them would leave a registration with no content.
793
793
  for (const root of nativeRemoval.keptRoots || []) {
794
794
  for (const item of plan.items) {
@@ -815,7 +815,7 @@ async function uninstall(runtime, options, out) {
815
815
  const remaining = plan.items.filter(item => !item.removed && item.state !== 'missing');
816
816
  const keptRegistered = remaining.filter(item => item.keptRegistered).length;
817
817
  if (keptRegistered > 0) {
818
- out.log(`\n ${c.yellow('Partial uninstall:')} kept ${keptRegistered} owned file(s) of a package Clio still registers, with their receipt entries, so uninstall can finish once the unowned files are moved out.`);
818
+ out.log(`\n ${c.yellow('Partial uninstall:')} kept ${keptRegistered} owned file(s) of a package PanCode still registers, with their receipt entries, so uninstall can finish once the unowned files are moved out.`);
819
819
  }
820
820
  if (remaining.length > keptRegistered) {
821
821
  out.log(`\n ${c.yellow('Partial uninstall:')} preserved ${remaining.length - keptRegistered} modified, untrusted, or unsafe file(s).`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wtf-p",
3
- "version": "0.8.4",
4
- "description": "Portable, evidence-grounded academic writing workflows (papers, proposals, posters, presentations) for Clio Coder, Claude Code, Codex, GitHub Copilot CLI, OpenCode, Antigravity CLI, and Gemini CLI.",
3
+ "version": "0.9.0",
4
+ "description": "Portable, evidence-grounded academic writing workflows (papers, proposals, posters, presentations) for PanCode, Claude Code, Codex, GitHub Copilot CLI, OpenCode, Antigravity CLI, and Gemini CLI.",
5
5
  "bin": {
6
6
  "wtfp": "bin/install.js",
7
7
  "wtf-p": "bin/install.js",
@@ -13,7 +13,7 @@
13
13
  "test:evaluation": "node evaluation/tools/lint.js && node evaluation/tools/hash-fixtures.js --check && node test/compiler-v4-evidence.test.js && node test/dynamo-lifecycle-evidence.test.js && node test/evaluation-comparison.test.js && node test/evaluation.test.js && node test/evaluation-routing-runner.test.js && node test/evaluation-lifecycle.test.js && node test/evaluation-fleets.test.js && node test/evaluation-campaign.test.js && node test/nsf25-531-proposal-uat.test.js",
14
14
  "test:tools": "node test/lib/bib-index.test.js && node test/lib/bib-format.test.js && node test/lib/citation-ranker.test.js && node test/lib/analyze-impact.test.js && node test/lib/scholar-lookup.test.js && node test/lib/semantic-scholar.test.js && node test/lib/citation-fetcher.test.js && node test/lib/cite-nexus-client.test.js",
15
15
  "test:protocol": "node test/protocol-catalog.test.js && node test/canonical-workflows.test.js && node test/portable-roles.test.js && node test/project-protocol.test.js && node test/claim-coverage.test.js && node test/test-skills.test.js && npm run test:tools && npm run test:evaluation && node test/adapter-compiler.test.js && node test/tool-dispatcher.test.js",
16
- "test:installer": "node test/import-safety.test.js && node test/ownership.test.js && node test/ownership-races.test.js && node test/status-partial.test.js && node test/paths.js && node test/modern-targets.test.js && node test/clio-installer.test.js && node test/installer.test.js",
16
+ "test:installer": "node test/import-safety.test.js && node test/ownership.test.js && node test/ownership-races.test.js && node test/status-partial.test.js && node test/paths.js && node test/modern-targets.test.js && node test/pancode-installer.test.js && node test/installer.test.js",
17
17
  "test:compatibility": "node test/sanity.js && node test/linter.js && node test/dry-run.js && node test/feature-tests.js",
18
18
  "test": "npm run check:adapters && npm run test:protocol && npm run test:installer && npm run test:compatibility",
19
19
  "test:integration": "node test/integration.js",
@@ -27,12 +27,13 @@
27
27
  "bin",
28
28
  "protocol",
29
29
  "scripts/build-adapters.js",
30
+ "pancode",
30
31
  "vendors",
31
32
  "!vendors/claude/mcp/**",
32
33
  "!vendors/claude/skills/wtfp/**"
33
34
  ],
34
35
  "keywords": [
35
- "clio-coder",
36
+ "pancode",
36
37
  "claude",
37
38
  "claude-code",
38
39
  "codex",