open-pstack 0.0.0-stage → 0.9.149

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 (651) hide show
  1. package/LICENSE +22 -0
  2. package/LICENSE-cursor-team-kit +21 -0
  3. package/LICENSE-thermos +21 -0
  4. package/NOTICE-skills.md +13 -0
  5. package/NOTICE.md +62 -0
  6. package/bin/open-pstack.mjs +4 -0
  7. package/lib/bundle.mjs +42 -0
  8. package/lib/cli.mjs +211 -0
  9. package/lib/detect.mjs +28 -0
  10. package/lib/harnesses.mjs +136 -0
  11. package/lib/steps.mjs +93 -0
  12. package/package.json +30 -4
  13. package/plugin/.antigravity-plugin/plugin.json +8 -0
  14. package/plugin/.claude-plugin/icon.png +0 -0
  15. package/plugin/.claude-plugin/plugin.json +31 -0
  16. package/plugin/.codex-plugin/plugin.json +52 -0
  17. package/plugin/.github/plugin/plugin.json +15 -0
  18. package/plugin/.grok-plugin/plugin.json +9 -0
  19. package/plugin/.muse-plugin/plugin.json +381 -0
  20. package/plugin/LICENSE +22 -0
  21. package/plugin/README.md +27 -0
  22. package/plugin/agents/comment-sicko.md +34 -0
  23. package/plugin/agents/poteto-agent.md +8 -0
  24. package/plugin/agents/thermo-nuclear-code-quality-review-subagent.md +23 -0
  25. package/plugin/agents/thermo-nuclear-review-subagent.md +28 -0
  26. package/plugin/assets/pstack-icon.png +0 -0
  27. package/plugin/assets/pstack-icon.prompt.txt +8 -0
  28. package/plugin/grok/skills/pstack-routing/SKILL.md +8 -0
  29. package/plugin/hooks/agy-context.awk +9 -0
  30. package/plugin/hooks/codex-hooks.json +17 -0
  31. package/plugin/hooks/copilot-context.awk +44 -0
  32. package/plugin/hooks/copilot-hooks.json +29 -0
  33. package/plugin/hooks/hooks.json +16 -0
  34. package/plugin/hooks/json.awk +164 -0
  35. package/plugin/hooks/kimi-instructions.md +17 -0
  36. package/plugin/hooks/muse-context.awk +31 -0
  37. package/plugin/hooks/pre-tool-use.awk +152 -0
  38. package/plugin/hooks/pre-tool-use.sh +16 -0
  39. package/plugin/hooks/script-contracts.awk +53 -0
  40. package/plugin/hooks/session-start-agy.md +17 -0
  41. package/plugin/hooks/session-start-context.md +15 -0
  42. package/plugin/hooks/session-start-copilot-setup.md +1 -0
  43. package/plugin/hooks/session-start-copilot-sheet.md +1 -0
  44. package/plugin/hooks/session-start-copilot.md +3 -0
  45. package/plugin/hooks/session-start-minimax.md +17 -0
  46. package/plugin/hooks/session-start-muse-sheet.md +1 -0
  47. package/plugin/hooks/session-start-muse.md +17 -0
  48. package/plugin/hooks/session-start-opencode.md +17 -0
  49. package/plugin/hooks/session-start.ps1 +169 -0
  50. package/plugin/hooks/session-start.sh +107 -0
  51. package/plugin/hooks.json +10 -0
  52. package/plugin/models.json +60 -0
  53. package/plugin/omp/index.mjs +34 -0
  54. package/plugin/opencode/index.js +49 -0
  55. package/plugin/package.json +8 -0
  56. package/plugin/pi/agent-files.ts +117 -0
  57. package/plugin/pi/agent-text.ts +99 -0
  58. package/plugin/pi/agent-tools.ts +148 -0
  59. package/plugin/pi/agents.ts +510 -0
  60. package/plugin/pi/ask.ts +87 -0
  61. package/plugin/pi/child.ts +313 -0
  62. package/plugin/pi/config.ts +208 -0
  63. package/plugin/pi/hc-child.ts +210 -0
  64. package/plugin/pi/index.ts +45 -0
  65. package/plugin/pi/one-shot.ts +90 -0
  66. package/plugin/pi/path-skills.ts +54 -0
  67. package/plugin/pi/prompt.ts +39 -0
  68. package/plugin/pi/schedule.ts +254 -0
  69. package/plugin/pi/slash.ts +106 -0
  70. package/plugin/pi/sleep-wait.ts +76 -0
  71. package/plugin/pi/worktree.ts +87 -0
  72. package/plugin/skills/architect/SKILL.md +20 -0
  73. package/plugin/skills/arena/SKILL.md +66 -0
  74. package/plugin/skills/automate-me/SKILL.md +111 -0
  75. package/plugin/skills/babysit/SKILL.md +68 -0
  76. package/plugin/skills/benchmark-checklist/SKILL.md +38 -0
  77. package/plugin/skills/blast-radius/SKILL.md +49 -0
  78. package/plugin/skills/bro/SKILL.md +6 -0
  79. package/plugin/skills/correct/SKILL.md +31 -0
  80. package/plugin/skills/create-formal-verification-skill/SKILL.md +50 -0
  81. package/plugin/skills/create-verification-skill/SKILL.md +51 -0
  82. package/plugin/skills/create-verification-skill/references/feature-map-example/README.md +47 -0
  83. package/plugin/skills/create-verification-skill/references/feature-map-example/create-note.md +39 -0
  84. package/plugin/skills/create-verification-skill/references/feature-map-example/search.md +45 -0
  85. package/plugin/skills/deslop/SKILL.md +24 -0
  86. package/plugin/skills/figure-it-out/SKILL.md +51 -0
  87. package/plugin/skills/fix-ci/SKILL.md +29 -0
  88. package/plugin/skills/fix-merge-conflicts/SKILL.md +32 -0
  89. package/plugin/skills/get-pr-comments/SKILL.md +23 -0
  90. package/plugin/skills/how/SKILL.md +28 -0
  91. package/plugin/skills/in-your-own-words/SKILL.md +6 -0
  92. package/plugin/skills/interrogate/SKILL.md +48 -0
  93. package/plugin/skills/ketchup/SKILL.md +42 -0
  94. package/plugin/skills/ketchup-video/SKILL.md +28 -0
  95. package/plugin/skills/maintain-formal-verification-skill/SKILL.md +65 -0
  96. package/plugin/skills/maintain-verification-skill/SKILL.md +46 -0
  97. package/plugin/skills/make-pr-easy-to-review/SKILL.md +59 -0
  98. package/plugin/skills/no-comments/SKILL.md +45 -0
  99. package/plugin/skills/poteto-help/SKILL.md +148 -0
  100. package/plugin/skills/poteto-help/references/prompting.md +51 -0
  101. package/plugin/skills/poteto-help/references/recipes.md +51 -0
  102. package/plugin/skills/poteto-mode/SKILL.md +132 -0
  103. package/plugin/skills/poteto-mode/playbooks/authoring-a-skill.md +12 -0
  104. package/plugin/skills/poteto-mode/playbooks/autonomous-run.md +13 -0
  105. package/plugin/skills/poteto-mode/playbooks/autopilot-full.md +31 -0
  106. package/plugin/skills/poteto-mode/playbooks/autopilot-stack.md +8 -0
  107. package/plugin/skills/poteto-mode/playbooks/babysit.md +10 -0
  108. package/plugin/skills/poteto-mode/playbooks/bug-fix.md +32 -0
  109. package/plugin/skills/poteto-mode/playbooks/eval.md +25 -0
  110. package/plugin/skills/poteto-mode/playbooks/feature.md +21 -0
  111. package/plugin/skills/poteto-mode/playbooks/hillclimb.md +21 -0
  112. package/plugin/skills/poteto-mode/playbooks/investigation.md +14 -0
  113. package/plugin/skills/poteto-mode/playbooks/multi-phase-plan.md +13 -0
  114. package/plugin/skills/poteto-mode/playbooks/opening-a-pr.md +9 -0
  115. package/plugin/skills/poteto-mode/playbooks/pause-safely.md +11 -0
  116. package/plugin/skills/poteto-mode/playbooks/perf-issue.md +25 -0
  117. package/plugin/skills/poteto-mode/playbooks/prototype.md +14 -0
  118. package/plugin/skills/poteto-mode/playbooks/refactoring.md +18 -0
  119. package/plugin/skills/poteto-mode/playbooks/runtime-forensics.md +11 -0
  120. package/plugin/skills/poteto-mode/playbooks/session-pickup.md +11 -0
  121. package/plugin/skills/poteto-mode/playbooks/shipping.md +16 -0
  122. package/plugin/skills/poteto-mode/playbooks/trace-forensics.md +14 -0
  123. package/plugin/skills/poteto-mode/playbooks/visual-parity.md +11 -0
  124. package/plugin/skills/poteto-mode/playbooks/worktree-cleanup.md +12 -0
  125. package/plugin/skills/poteto-mode/references/agents/comment-sicko.md +34 -0
  126. package/plugin/skills/poteto-mode/references/agy-tools.md +100 -0
  127. package/plugin/skills/poteto-mode/references/bugbot-triage.md +142 -0
  128. package/plugin/skills/poteto-mode/references/cloud-session-pr-reads.md +29 -0
  129. package/plugin/skills/poteto-mode/references/codex-tools.md +110 -0
  130. package/plugin/skills/poteto-mode/references/copilot-tools.md +144 -0
  131. package/plugin/skills/poteto-mode/references/dsh-tools.md +51 -0
  132. package/plugin/skills/poteto-mode/references/grok.md +50 -0
  133. package/plugin/skills/poteto-mode/references/kimi-tools.md +40 -0
  134. package/plugin/skills/poteto-mode/references/licenses/LICENSE +22 -0
  135. package/plugin/skills/poteto-mode/references/licenses/LICENSE-cursor-team-kit +21 -0
  136. package/plugin/skills/poteto-mode/references/licenses/LICENSE-thermos +21 -0
  137. package/plugin/skills/poteto-mode/references/licenses/NOTICE.md +13 -0
  138. package/plugin/skills/poteto-mode/references/merge-safety.md +43 -0
  139. package/plugin/skills/poteto-mode/references/minimax-tools.md +93 -0
  140. package/plugin/skills/poteto-mode/references/muse-tools.md +105 -0
  141. package/plugin/skills/poteto-mode/references/omp-tools.md +45 -0
  142. package/plugin/skills/poteto-mode/references/opencode-tools.md +30 -0
  143. package/plugin/skills/poteto-mode/references/pi-tools.md +120 -0
  144. package/plugin/skills/poteto-mode/references/resume-storage.md +20 -0
  145. package/plugin/skills/poteto-mode/scripts/.prettierignore +19 -0
  146. package/plugin/skills/poteto-mode/scripts/.prettierrc.json +3 -0
  147. package/plugin/skills/poteto-mode/scripts/bootstrap.ts +71 -0
  148. package/plugin/skills/poteto-mode/scripts/bun.lock +67 -0
  149. package/plugin/skills/poteto-mode/scripts/check-playbooks.mjs +165 -0
  150. package/plugin/skills/poteto-mode/scripts/codex-session-effort.mjs +94 -0
  151. package/plugin/skills/poteto-mode/scripts/package.json +16 -0
  152. package/plugin/skills/poteto-mode/scripts/resume.mjs +139 -0
  153. package/plugin/skills/poteto-mode/scripts/tsconfig.json +14 -0
  154. package/plugin/skills/poteto-mode/scripts/watch-pr/check-suites.ts +203 -0
  155. package/plugin/skills/poteto-mode/scripts/watch-pr/cli.port.test.ts +88 -0
  156. package/plugin/skills/poteto-mode/scripts/watch-pr/cli.test.ts +383 -0
  157. package/plugin/skills/poteto-mode/scripts/watch-pr/cli.ts +283 -0
  158. package/plugin/skills/poteto-mode/scripts/watch-pr/deadline.ts +20 -0
  159. package/plugin/skills/poteto-mode/scripts/watch-pr/fakes.test-helper.ts +163 -0
  160. package/plugin/skills/poteto-mode/scripts/watch-pr/fresh-install.test.ts +35 -0
  161. package/plugin/skills/poteto-mode/scripts/watch-pr/github.port.test.ts +1119 -0
  162. package/plugin/skills/poteto-mode/scripts/watch-pr/github.test.ts +506 -0
  163. package/plugin/skills/poteto-mode/scripts/watch-pr/github.ts +979 -0
  164. package/plugin/skills/poteto-mode/scripts/watch-pr/head-checks.ts +37 -0
  165. package/plugin/skills/poteto-mode/scripts/watch-pr/integrity.test.ts +887 -0
  166. package/plugin/skills/poteto-mode/scripts/watch-pr/landing.ts +92 -0
  167. package/plugin/skills/poteto-mode/scripts/watch-pr/live-merge-safety.mjs +142 -0
  168. package/plugin/skills/poteto-mode/scripts/watch-pr/policy.port.test.ts +945 -0
  169. package/plugin/skills/poteto-mode/scripts/watch-pr/policy.test.ts +492 -0
  170. package/plugin/skills/poteto-mode/scripts/watch-pr/policy.ts +966 -0
  171. package/plugin/skills/poteto-mode/scripts/watch-pr/query-error.ts +36 -0
  172. package/plugin/skills/poteto-mode/scripts/watch-pr/render.ts +211 -0
  173. package/plugin/skills/poteto-mode/scripts/watch-pr/ship-pr +6 -0
  174. package/plugin/skills/poteto-mode/scripts/watch-pr/shipping-cli.test.ts +159 -0
  175. package/plugin/skills/poteto-mode/scripts/watch-pr/shipping-cli.ts +65 -0
  176. package/plugin/skills/poteto-mode/scripts/watch-pr/shipping.test-helper.ts +48 -0
  177. package/plugin/skills/poteto-mode/scripts/watch-pr/shipping.test.ts +360 -0
  178. package/plugin/skills/poteto-mode/scripts/watch-pr/shipping.ts +235 -0
  179. package/plugin/skills/poteto-mode/scripts/watch-pr/transport.test.ts +588 -0
  180. package/plugin/skills/poteto-mode/scripts/watch-pr/tsconfig.json +13 -0
  181. package/plugin/skills/poteto-mode/scripts/watch-pr/types.compile.ts +109 -0
  182. package/plugin/skills/poteto-mode/scripts/watch-pr/types.ts +502 -0
  183. package/plugin/skills/poteto-mode/scripts/watch-pr/watch-pr +6 -0
  184. package/plugin/skills/poteto-mode/scripts/watch-pr/workflow-runs.ts +217 -0
  185. package/plugin/skills/poteto-mode/scripts/watch-pr/wrapper.test.ts +20 -0
  186. package/plugin/skills/poteto-mode/scripts/worktree-audit.mjs +492 -0
  187. package/plugin/skills/poteto-mode/worker.md +11 -0
  188. package/plugin/skills/principle-attack-the-premise/SKILL.md +15 -0
  189. package/plugin/skills/principle-boundary-discipline/SKILL.md +11 -0
  190. package/plugin/skills/principle-build-the-lever/SKILL.md +15 -0
  191. package/plugin/skills/principle-encode-lessons-in-structure/SKILL.md +11 -0
  192. package/plugin/skills/principle-exhaust-the-design-space/SKILL.md +9 -0
  193. package/plugin/skills/principle-experience-first/SKILL.md +19 -0
  194. package/plugin/skills/principle-explain-the-number/SKILL.md +14 -0
  195. package/plugin/skills/principle-fix-root-causes/SKILL.md +14 -0
  196. package/plugin/skills/principle-foundational-thinking/SKILL.md +13 -0
  197. package/plugin/skills/principle-guard-the-context-window/SKILL.md +12 -0
  198. package/plugin/skills/principle-laziness-protocol/SKILL.md +10 -0
  199. package/plugin/skills/principle-make-operations-idempotent/SKILL.md +15 -0
  200. package/plugin/skills/principle-migrate-callers-then-delete-legacy-apis/SKILL.md +14 -0
  201. package/plugin/skills/principle-minimize-reader-load/SKILL.md +15 -0
  202. package/plugin/skills/principle-model-the-domain/SKILL.md +15 -0
  203. package/plugin/skills/principle-never-block-on-the-human/SKILL.md +15 -0
  204. package/plugin/skills/principle-outcome-oriented-execution/SKILL.md +21 -0
  205. package/plugin/skills/principle-prove-it-works/SKILL.md +17 -0
  206. package/plugin/skills/principle-redesign-from-first-principles/SKILL.md +16 -0
  207. package/plugin/skills/principle-separate-before-serializing-shared-state/SKILL.md +11 -0
  208. package/plugin/skills/principle-sequence-verifiable-units/SKILL.md +13 -0
  209. package/plugin/skills/principle-subtract-before-you-add/SKILL.md +18 -0
  210. package/plugin/skills/principle-test-behavior-not-implementation/SKILL.md +16 -0
  211. package/plugin/skills/principle-type-system-discipline/SKILL.md +15 -0
  212. package/plugin/skills/recall/SKILL.md +43 -0
  213. package/plugin/skills/reflect/SKILL.md +33 -0
  214. package/plugin/skills/reflect/scripts/claude-project-dir.mjs +121 -0
  215. package/plugin/skills/reflect/scripts/find-transcript.mjs +218 -0
  216. package/plugin/skills/setup-pstack/SKILL.md +104 -0
  217. package/plugin/skills/setup-pstack/copilot.md +88 -0
  218. package/plugin/skills/setup-pstack/references/runtimes.md +77 -0
  219. package/plugin/skills/setup-pstack/scripts/check-sheet.awk +10 -0
  220. package/plugin/skills/setup-pstack/scripts/check-sheet.sh +20 -0
  221. package/plugin/skills/setup-pstack/scripts/read-sheet.sh +24 -0
  222. package/plugin/skills/setup-pstack/scripts/sheet.awk +152 -0
  223. package/plugin/skills/sharpen/SKILL.md +15 -0
  224. package/plugin/skills/show-me-your-work/SKILL.md +89 -0
  225. package/plugin/skills/show-me-your-work/references/decision-log-template.tsv +1 -0
  226. package/plugin/skills/show-me-your-work/scripts/log.sh +58 -0
  227. package/plugin/skills/statechart/SKILL.md +81 -0
  228. package/plugin/skills/statechart/references/render.md +93 -0
  229. package/plugin/skills/statechart/scripts/backends/cfg.ts +33 -0
  230. package/plugin/skills/statechart/scripts/backends/mermaid.ts +249 -0
  231. package/plugin/skills/statechart/scripts/backends/plain-text.ts +72 -0
  232. package/plugin/skills/statechart/scripts/backends/report.ts +177 -0
  233. package/plugin/skills/statechart/scripts/bun.lock +17 -0
  234. package/plugin/skills/statechart/scripts/frontends/config.ts +276 -0
  235. package/plugin/skills/statechart/scripts/frontends/dot.ts +77 -0
  236. package/plugin/skills/statechart/scripts/frontends/marks.ts +93 -0
  237. package/plugin/skills/statechart/scripts/frontends/messages.ts +52 -0
  238. package/plugin/skills/statechart/scripts/frontends/spec.ts +114 -0
  239. package/plugin/skills/statechart/scripts/frontends/trace.ts +24 -0
  240. package/plugin/skills/statechart/scripts/frontends/value.ts +166 -0
  241. package/plugin/skills/statechart/scripts/frontends/verdict.ts +40 -0
  242. package/plugin/skills/statechart/scripts/frontends/view.ts +119 -0
  243. package/plugin/skills/statechart/scripts/ir.ts +547 -0
  244. package/plugin/skills/statechart/scripts/janitor.ts +13 -0
  245. package/plugin/skills/statechart/scripts/kill.ts +15 -0
  246. package/plugin/skills/statechart/scripts/package.json +11 -0
  247. package/plugin/skills/statechart/scripts/passes/annotate.ts +128 -0
  248. package/plugin/skills/statechart/scripts/passes/label.ts +269 -0
  249. package/plugin/skills/statechart/scripts/passes/lift.ts +85 -0
  250. package/plugin/skills/statechart/scripts/passes/loop-check.ts +68 -0
  251. package/plugin/skills/statechart/scripts/passes/paths.ts +60 -0
  252. package/plugin/skills/statechart/scripts/passes/reach.ts +135 -0
  253. package/plugin/skills/statechart/scripts/passes/region-check.ts +97 -0
  254. package/plugin/skills/statechart/scripts/passes/regions.ts +295 -0
  255. package/plugin/skills/statechart/scripts/pipeline.ts +76 -0
  256. package/plugin/skills/statechart/scripts/run.ts +545 -0
  257. package/plugin/skills/statechart/scripts/statechart +29 -0
  258. package/plugin/skills/statechart/scripts/statechart.ts +166 -0
  259. package/plugin/skills/statechart/scripts/test/ConfigOracle.java +63 -0
  260. package/plugin/skills/statechart/scripts/test/chart.test.ts +1253 -0
  261. package/plugin/skills/statechart/scripts/test/charts/Braces.mmd +7 -0
  262. package/plugin/skills/statechart/scripts/test/charts/Escapes.mmd +11 -0
  263. package/plugin/skills/statechart/scripts/test/charts/Phases.mmd +29 -0
  264. package/plugin/skills/statechart/scripts/test/child-env.test.ts +15 -0
  265. package/plugin/skills/statechart/scripts/test/cli.test.ts +1353 -0
  266. package/plugin/skills/statechart/scripts/test/config-fuzz.test.ts +263 -0
  267. package/plugin/skills/statechart/scripts/test/corpus/Counter/ChartRun.out +57 -0
  268. package/plugin/skills/statechart/scripts/test/corpus/Counter/Counter.cfg +3 -0
  269. package/plugin/skills/statechart/scripts/test/corpus/Counter/Counter.tla +10 -0
  270. package/plugin/skills/statechart/scripts/test/corpus/Counter/chart.mmd +9 -0
  271. package/plugin/skills/statechart/scripts/test/corpus/Counter/graph.dot +16 -0
  272. package/plugin/skills/statechart/scripts/test/corpus/Counter/report.md +7 -0
  273. package/plugin/skills/statechart/scripts/test/corpus/Counter/sany.out +2 -0
  274. package/plugin/skills/statechart/scripts/test/corpus/Counter/verdict-1.out +49 -0
  275. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/ChartRun.out +60 -0
  276. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.cfg +4 -0
  277. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/CounterAction.tla +22 -0
  278. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/chart.mmd +26 -0
  279. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/graph.dot +19 -0
  280. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/report.md +20 -0
  281. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/sany.out +2 -0
  282. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.exit +1 -0
  283. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/verdict-1.out +56 -0
  284. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.exit +1 -0
  285. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/verdict-2.out +82 -0
  286. package/plugin/skills/statechart/scripts/test/corpus/CounterAction/verdict-3.out +57 -0
  287. package/plugin/skills/statechart/scripts/test/corpus/CounterDeadlock/ChartRun.out +59 -0
  288. package/plugin/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.cfg +3 -0
  289. package/plugin/skills/statechart/scripts/test/corpus/CounterDeadlock/CounterDeadlock.tla +11 -0
  290. package/plugin/skills/statechart/scripts/test/corpus/CounterDeadlock/chart.mmd +22 -0
  291. package/plugin/skills/statechart/scripts/test/corpus/CounterDeadlock/graph.dot +16 -0
  292. package/plugin/skills/statechart/scripts/test/corpus/CounterDeadlock/report.md +17 -0
  293. package/plugin/skills/statechart/scripts/test/corpus/CounterDeadlock/sany.out +2 -0
  294. package/plugin/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.exit +1 -0
  295. package/plugin/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-1.out +56 -0
  296. package/plugin/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.exit +1 -0
  297. package/plugin/skills/statechart/scripts/test/corpus/CounterDeadlock/verdict-2.out +77 -0
  298. package/plugin/skills/statechart/scripts/test/corpus/CounterFan/ChartRun.out +69 -0
  299. package/plugin/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.cfg +2 -0
  300. package/plugin/skills/statechart/scripts/test/corpus/CounterFan/CounterFan.tla +11 -0
  301. package/plugin/skills/statechart/scripts/test/corpus/CounterFan/chart.mmd +85 -0
  302. package/plugin/skills/statechart/scripts/test/corpus/CounterFan/graph.dot +70 -0
  303. package/plugin/skills/statechart/scripts/test/corpus/CounterFan/report.md +12 -0
  304. package/plugin/skills/statechart/scripts/test/corpus/CounterFan/sany.out +2 -0
  305. package/plugin/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.exit +1 -0
  306. package/plugin/skills/statechart/scripts/test/corpus/CounterFan/verdict-1.out +67 -0
  307. package/plugin/skills/statechart/scripts/test/corpus/CounterFan/verdict-2.out +57 -0
  308. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.exit +1 -0
  309. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/ChartRun.out +85 -0
  310. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.cfg +6 -0
  311. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/CounterGuard.tla +13 -0
  312. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/chart.mmd +5 -0
  313. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/graph.dot +10 -0
  314. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/report.md +31 -0
  315. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/sany.out +2 -0
  316. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.exit +1 -0
  317. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/verdict-1.out +64 -0
  318. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.exit +1 -0
  319. package/plugin/skills/statechart/scripts/test/corpus/CounterGuard/verdict-2.out +77 -0
  320. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPast/ChartRun.out +55 -0
  321. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.cfg +3 -0
  322. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPast/CounterInitPast.tla +10 -0
  323. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPast/chart.mmd +12 -0
  324. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPast/graph.dot +6 -0
  325. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPast/report.md +12 -0
  326. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPast/sany.out +2 -0
  327. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.exit +1 -0
  328. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-1.out +33 -0
  329. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPast/verdict-2.out +54 -0
  330. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPastHolds/ChartRun.out +54 -0
  331. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.cfg +3 -0
  332. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPastHolds/CounterInitPastHolds.tla +10 -0
  333. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPastHolds/chart.mmd +1 -0
  334. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPastHolds/graph.dot +6 -0
  335. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPastHolds/report.md +7 -0
  336. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPastHolds/sany.out +2 -0
  337. package/plugin/skills/statechart/scripts/test/corpus/CounterInitPastHolds/verdict-1.out +46 -0
  338. package/plugin/skills/statechart/scripts/test/corpus/CounterInstance/ChartRun.out +59 -0
  339. package/plugin/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.cfg +2 -0
  340. package/plugin/skills/statechart/scripts/test/corpus/CounterInstance/CounterInstance.tla +10 -0
  341. package/plugin/skills/statechart/scripts/test/corpus/CounterInstance/CounterSteps.tla +6 -0
  342. package/plugin/skills/statechart/scripts/test/corpus/CounterInstance/chart.mmd +17 -0
  343. package/plugin/skills/statechart/scripts/test/corpus/CounterInstance/graph.dot +15 -0
  344. package/plugin/skills/statechart/scripts/test/corpus/CounterInstance/report.md +14 -0
  345. package/plugin/skills/statechart/scripts/test/corpus/CounterInstance/sany.out +3 -0
  346. package/plugin/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.exit +1 -0
  347. package/plugin/skills/statechart/scripts/test/corpus/CounterInstance/verdict-1.out +78 -0
  348. package/plugin/skills/statechart/scripts/test/corpus/CounterJump/ChartRun.out +59 -0
  349. package/plugin/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.cfg +3 -0
  350. package/plugin/skills/statechart/scripts/test/corpus/CounterJump/CounterJump.tla +19 -0
  351. package/plugin/skills/statechart/scripts/test/corpus/CounterJump/chart.mmd +26 -0
  352. package/plugin/skills/statechart/scripts/test/corpus/CounterJump/graph.dot +22 -0
  353. package/plugin/skills/statechart/scripts/test/corpus/CounterJump/report.md +12 -0
  354. package/plugin/skills/statechart/scripts/test/corpus/CounterJump/sany.out +2 -0
  355. package/plugin/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.exit +1 -0
  356. package/plugin/skills/statechart/scripts/test/corpus/CounterJump/verdict-1.out +58 -0
  357. package/plugin/skills/statechart/scripts/test/corpus/CounterJump/verdict-2.out +57 -0
  358. package/plugin/skills/statechart/scripts/test/corpus/CounterLoop/ChartRun.out +57 -0
  359. package/plugin/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.cfg +2 -0
  360. package/plugin/skills/statechart/scripts/test/corpus/CounterLoop/CounterLoop.tla +11 -0
  361. package/plugin/skills/statechart/scripts/test/corpus/CounterLoop/chart.mmd +17 -0
  362. package/plugin/skills/statechart/scripts/test/corpus/CounterLoop/graph.dot +15 -0
  363. package/plugin/skills/statechart/scripts/test/corpus/CounterLoop/report.md +14 -0
  364. package/plugin/skills/statechart/scripts/test/corpus/CounterLoop/sany.out +2 -0
  365. package/plugin/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.exit +1 -0
  366. package/plugin/skills/statechart/scripts/test/corpus/CounterLoop/verdict-1.out +76 -0
  367. package/plugin/skills/statechart/scripts/test/corpus/CounterOrder/ChartRun.out +59 -0
  368. package/plugin/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.cfg +3 -0
  369. package/plugin/skills/statechart/scripts/test/corpus/CounterOrder/CounterOrder.tla +11 -0
  370. package/plugin/skills/statechart/scripts/test/corpus/CounterOrder/chart.mmd +19 -0
  371. package/plugin/skills/statechart/scripts/test/corpus/CounterOrder/graph.dot +10 -0
  372. package/plugin/skills/statechart/scripts/test/corpus/CounterOrder/report.md +15 -0
  373. package/plugin/skills/statechart/scripts/test/corpus/CounterOrder/sany.out +2 -0
  374. package/plugin/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.exit +1 -0
  375. package/plugin/skills/statechart/scripts/test/corpus/CounterOrder/verdict-1.out +56 -0
  376. package/plugin/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.exit +1 -0
  377. package/plugin/skills/statechart/scripts/test/corpus/CounterOrder/verdict-2.out +67 -0
  378. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/ChartRun.out +62 -0
  379. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.cfg +6 -0
  380. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/CounterRules.tla +24 -0
  381. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/Moves.tla +5 -0
  382. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/chart.mmd +22 -0
  383. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/graph.dot +10 -0
  384. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/report.md +23 -0
  385. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/sany.out +3 -0
  386. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.exit +1 -0
  387. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/verdict-1.out +58 -0
  388. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.exit +1 -0
  389. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/verdict-2.out +66 -0
  390. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.exit +1 -0
  391. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/verdict-3.out +74 -0
  392. package/plugin/skills/statechart/scripts/test/corpus/CounterRules/verdict-4.out +59 -0
  393. package/plugin/skills/statechart/scripts/test/corpus/CounterStart/ChartRun.out +58 -0
  394. package/plugin/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.cfg +3 -0
  395. package/plugin/skills/statechart/scripts/test/corpus/CounterStart/CounterStart.tla +15 -0
  396. package/plugin/skills/statechart/scripts/test/corpus/CounterStart/chart.mmd +18 -0
  397. package/plugin/skills/statechart/scripts/test/corpus/CounterStart/graph.dot +13 -0
  398. package/plugin/skills/statechart/scripts/test/corpus/CounterStart/report.md +11 -0
  399. package/plugin/skills/statechart/scripts/test/corpus/CounterStart/sany.out +2 -0
  400. package/plugin/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.exit +1 -0
  401. package/plugin/skills/statechart/scripts/test/corpus/CounterStart/verdict-1.out +33 -0
  402. package/plugin/skills/statechart/scripts/test/corpus/CounterStart/verdict-2.out +57 -0
  403. package/plugin/skills/statechart/scripts/test/corpus/CounterStop/ChartRun.out +57 -0
  404. package/plugin/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.cfg +3 -0
  405. package/plugin/skills/statechart/scripts/test/corpus/CounterStop/CounterStop.tla +15 -0
  406. package/plugin/skills/statechart/scripts/test/corpus/CounterStop/chart.mmd +7 -0
  407. package/plugin/skills/statechart/scripts/test/corpus/CounterStop/graph.dot +13 -0
  408. package/plugin/skills/statechart/scripts/test/corpus/CounterStop/report.md +6 -0
  409. package/plugin/skills/statechart/scripts/test/corpus/CounterStop/sany.out +2 -0
  410. package/plugin/skills/statechart/scripts/test/corpus/CounterStop/verdict-1.out +49 -0
  411. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/ChartRun.out +61 -0
  412. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.cfg +4 -0
  413. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/CounterTie.tla +14 -0
  414. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/chart.mmd +30 -0
  415. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/graph.dot +19 -0
  416. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/report.md +27 -0
  417. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/sany.out +2 -0
  418. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.exit +1 -0
  419. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/verdict-1.out +56 -0
  420. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.exit +1 -0
  421. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/verdict-2.out +64 -0
  422. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.exit +1 -0
  423. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/verdict-3.out +87 -0
  424. package/plugin/skills/statechart/scripts/test/corpus/CounterTie/verdict-4.out +57 -0
  425. package/plugin/skills/statechart/scripts/test/corpus/CounterTieInGraph/ChartRun.out +60 -0
  426. package/plugin/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.cfg +3 -0
  427. package/plugin/skills/statechart/scripts/test/corpus/CounterTieInGraph/CounterTieInGraph.tla +12 -0
  428. package/plugin/skills/statechart/scripts/test/corpus/CounterTieInGraph/chart.mmd +23 -0
  429. package/plugin/skills/statechart/scripts/test/corpus/CounterTieInGraph/graph.dot +19 -0
  430. package/plugin/skills/statechart/scripts/test/corpus/CounterTieInGraph/report.md +11 -0
  431. package/plugin/skills/statechart/scripts/test/corpus/CounterTieInGraph/sany.out +2 -0
  432. package/plugin/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.exit +1 -0
  433. package/plugin/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-1.out +56 -0
  434. package/plugin/skills/statechart/scripts/test/corpus/CounterTieInGraph/verdict-2.out +57 -0
  435. package/plugin/skills/statechart/scripts/test/corpus/CounterView/ChartRun.out +61 -0
  436. package/plugin/skills/statechart/scripts/test/corpus/CounterView/CounterView.cfg +4 -0
  437. package/plugin/skills/statechart/scripts/test/corpus/CounterView/CounterView.tla +14 -0
  438. package/plugin/skills/statechart/scripts/test/corpus/CounterView/chart.mmd +23 -0
  439. package/plugin/skills/statechart/scripts/test/corpus/CounterView/graph.dot +19 -0
  440. package/plugin/skills/statechart/scripts/test/corpus/CounterView/report.md +27 -0
  441. package/plugin/skills/statechart/scripts/test/corpus/CounterView/sany.out +2 -0
  442. package/plugin/skills/statechart/scripts/test/corpus/CounterView/verdict-1.exit +1 -0
  443. package/plugin/skills/statechart/scripts/test/corpus/CounterView/verdict-1.out +56 -0
  444. package/plugin/skills/statechart/scripts/test/corpus/CounterView/verdict-2.exit +1 -0
  445. package/plugin/skills/statechart/scripts/test/corpus/CounterView/verdict-2.out +64 -0
  446. package/plugin/skills/statechart/scripts/test/corpus/CounterView/verdict-3.exit +1 -0
  447. package/plugin/skills/statechart/scripts/test/corpus/CounterView/verdict-3.out +87 -0
  448. package/plugin/skills/statechart/scripts/test/corpus/CounterView/verdict-4.out +57 -0
  449. package/plugin/skills/statechart/scripts/test/corpus/CounterView/view.mjs +1 -0
  450. package/plugin/skills/statechart/scripts/test/corpus/DieHard/ChartRun.out +59 -0
  451. package/plugin/skills/statechart/scripts/test/corpus/DieHard/DieHard.cfg +4 -0
  452. package/plugin/skills/statechart/scripts/test/corpus/DieHard/DieHard.tla +38 -0
  453. package/plugin/skills/statechart/scripts/test/corpus/DieHard/chart.mmd +92 -0
  454. package/plugin/skills/statechart/scripts/test/corpus/DieHard/graph.dot +126 -0
  455. package/plugin/skills/statechart/scripts/test/corpus/DieHard/report.md +17 -0
  456. package/plugin/skills/statechart/scripts/test/corpus/DieHard/sany.out +2 -0
  457. package/plugin/skills/statechart/scripts/test/corpus/DieHard/verdict-1.exit +1 -0
  458. package/plugin/skills/statechart/scripts/test/corpus/DieHard/verdict-1.out +91 -0
  459. package/plugin/skills/statechart/scripts/test/corpus/DieHard/verdict-2.out +57 -0
  460. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/ChartRun.out +61 -0
  461. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.cfg +6 -0
  462. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/FirstRule.tla +11 -0
  463. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/chart.mmd +22 -0
  464. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/graph.dot +16 -0
  465. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/report.md +25 -0
  466. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/sany.out +2 -0
  467. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.exit +1 -0
  468. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/verdict-1.out +56 -0
  469. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.exit +1 -0
  470. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/verdict-2.out +64 -0
  471. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.exit +1 -0
  472. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/verdict-3.out +64 -0
  473. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.exit +1 -0
  474. package/plugin/skills/statechart/scripts/test/corpus/FirstRule/verdict-4.out +77 -0
  475. package/plugin/skills/statechart/scripts/test/corpus/HiddenClock/ChartRun.out +57 -0
  476. package/plugin/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.cfg +4 -0
  477. package/plugin/skills/statechart/scripts/test/corpus/HiddenClock/HiddenClock.tla +11 -0
  478. package/plugin/skills/statechart/scripts/test/corpus/HiddenClock/chart.mmd +13 -0
  479. package/plugin/skills/statechart/scripts/test/corpus/HiddenClock/graph.dot +12 -0
  480. package/plugin/skills/statechart/scripts/test/corpus/HiddenClock/report.md +11 -0
  481. package/plugin/skills/statechart/scripts/test/corpus/HiddenClock/sany.out +2 -0
  482. package/plugin/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.exit +1 -0
  483. package/plugin/skills/statechart/scripts/test/corpus/HiddenClock/verdict-1.out +72 -0
  484. package/plugin/skills/statechart/scripts/test/corpus/Login/ChartRun.out +57 -0
  485. package/plugin/skills/statechart/scripts/test/corpus/Login/Login.cfg +3 -0
  486. package/plugin/skills/statechart/scripts/test/corpus/Login/Login.tla +62 -0
  487. package/plugin/skills/statechart/scripts/test/corpus/Login/chart.mmd +28 -0
  488. package/plugin/skills/statechart/scripts/test/corpus/Login/graph.dot +40 -0
  489. package/plugin/skills/statechart/scripts/test/corpus/Login/report.md +7 -0
  490. package/plugin/skills/statechart/scripts/test/corpus/Login/sany.out +1 -0
  491. package/plugin/skills/statechart/scripts/test/corpus/Login/verdict-1.out +47 -0
  492. package/plugin/skills/statechart/scripts/test/corpus/Login/view.mjs +1 -0
  493. package/plugin/skills/statechart/scripts/test/corpus/LoginGuarded/ChartRun.out +57 -0
  494. package/plugin/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.cfg +2 -0
  495. package/plugin/skills/statechart/scripts/test/corpus/LoginGuarded/LoginGuarded.tla +64 -0
  496. package/plugin/skills/statechart/scripts/test/corpus/LoginGuarded/chart.mmd +28 -0
  497. package/plugin/skills/statechart/scripts/test/corpus/LoginGuarded/graph.dot +37 -0
  498. package/plugin/skills/statechart/scripts/test/corpus/LoginGuarded/report.md +8 -0
  499. package/plugin/skills/statechart/scripts/test/corpus/LoginGuarded/sany.out +1 -0
  500. package/plugin/skills/statechart/scripts/test/corpus/LoginGuarded/verdict-1.out +47 -0
  501. package/plugin/skills/statechart/scripts/test/corpus/LoginGuarded/view.mjs +1 -0
  502. package/plugin/skills/statechart/scripts/test/corpus/LoginParallel/ChartRun.out +60 -0
  503. package/plugin/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.cfg +3 -0
  504. package/plugin/skills/statechart/scripts/test/corpus/LoginParallel/LoginParallel.tla +64 -0
  505. package/plugin/skills/statechart/scripts/test/corpus/LoginParallel/chart.mmd +44 -0
  506. package/plugin/skills/statechart/scripts/test/corpus/LoginParallel/graph.dot +58 -0
  507. package/plugin/skills/statechart/scripts/test/corpus/LoginParallel/report.md +17 -0
  508. package/plugin/skills/statechart/scripts/test/corpus/LoginParallel/sany.out +1 -0
  509. package/plugin/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.exit +1 -0
  510. package/plugin/skills/statechart/scripts/test/corpus/LoginParallel/verdict-1.out +83 -0
  511. package/plugin/skills/statechart/scripts/test/corpus/LoginParallel/verdict-2.out +57 -0
  512. package/plugin/skills/statechart/scripts/test/corpus/LoginParallel/view.mjs +1 -0
  513. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayer/ChartRun.out +60 -0
  514. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.cfg +3 -0
  515. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayer/MediaPlayer.tla +103 -0
  516. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayer/chart.mmd +43 -0
  517. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayer/graph.dot +93 -0
  518. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayer/report.md +14 -0
  519. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayer/sany.out +1 -0
  520. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.exit +1 -0
  521. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-1.out +59 -0
  522. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayer/verdict-2.out +72 -0
  523. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayer/view.mjs +3 -0
  524. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerFixed/ChartRun.out +57 -0
  525. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.cfg +2 -0
  526. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerFixed/MediaPlayerFixed.tla +100 -0
  527. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerFixed/chart.mmd +31 -0
  528. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerFixed/graph.dot +85 -0
  529. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerFixed/report.md +9 -0
  530. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerFixed/sany.out +1 -0
  531. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerFixed/verdict-1.out +47 -0
  532. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerFixed/view.mjs +3 -0
  533. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/ChartRun.out +59 -0
  534. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayer.tla +103 -0
  535. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.cfg +3 -0
  536. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/MediaPlayerProps.tla +6 -0
  537. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/chart.mmd +42 -0
  538. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/graph.dot +93 -0
  539. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/report.md +19 -0
  540. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/sany.out +2 -0
  541. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.exit +1 -0
  542. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-1.out +61 -0
  543. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-2.out +59 -0
  544. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-3.out +61 -0
  545. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.exit +1 -0
  546. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-4.out +66 -0
  547. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.exit +1 -0
  548. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-5.out +58 -0
  549. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/verdict-6.out +49 -0
  550. package/plugin/skills/statechart/scripts/test/corpus/MediaPlayerProps/view.mjs +3 -0
  551. package/plugin/skills/statechart/scripts/test/corpus/PickWorker/ChartRun.out +57 -0
  552. package/plugin/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.cfg +6 -0
  553. package/plugin/skills/statechart/scripts/test/corpus/PickWorker/PickWorker.tla +11 -0
  554. package/plugin/skills/statechart/scripts/test/corpus/PickWorker/chart.mmd +5 -0
  555. package/plugin/skills/statechart/scripts/test/corpus/PickWorker/graph.dot +11 -0
  556. package/plugin/skills/statechart/scripts/test/corpus/PickWorker/report.md +7 -0
  557. package/plugin/skills/statechart/scripts/test/corpus/PickWorker/sany.out +5 -0
  558. package/plugin/skills/statechart/scripts/test/corpus/PickWorker/verdict-1.out +70 -0
  559. package/plugin/skills/statechart/scripts/test/corpus/Shadow/ChartRun.out +61 -0
  560. package/plugin/skills/statechart/scripts/test/corpus/Shadow/Shadow.cfg +4 -0
  561. package/plugin/skills/statechart/scripts/test/corpus/Shadow/Shadow.tla +11 -0
  562. package/plugin/skills/statechart/scripts/test/corpus/Shadow/ShadowLib.tla +6 -0
  563. package/plugin/skills/statechart/scripts/test/corpus/Shadow/ShadowSub.tla +3 -0
  564. package/plugin/skills/statechart/scripts/test/corpus/Shadow/chart.mmd +9 -0
  565. package/plugin/skills/statechart/scripts/test/corpus/Shadow/graph.dot +16 -0
  566. package/plugin/skills/statechart/scripts/test/corpus/Shadow/report.md +8 -0
  567. package/plugin/skills/statechart/scripts/test/corpus/Shadow/sany.out +4 -0
  568. package/plugin/skills/statechart/scripts/test/corpus/Shadow/verdict-1.out +65 -0
  569. package/plugin/skills/statechart/scripts/test/corpus/SpacedNames/ChartRun.out +59 -0
  570. package/plugin/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.cfg +2 -0
  571. package/plugin/skills/statechart/scripts/test/corpus/SpacedNames/SpacedNames.tla +9 -0
  572. package/plugin/skills/statechart/scripts/test/corpus/SpacedNames/chart.mmd +23 -0
  573. package/plugin/skills/statechart/scripts/test/corpus/SpacedNames/graph.dot +17 -0
  574. package/plugin/skills/statechart/scripts/test/corpus/SpacedNames/report.md +15 -0
  575. package/plugin/skills/statechart/scripts/test/corpus/SpacedNames/sany.out +1 -0
  576. package/plugin/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.exit +1 -0
  577. package/plugin/skills/statechart/scripts/test/corpus/SpacedNames/verdict-1.out +65 -0
  578. package/plugin/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.exit +1 -0
  579. package/plugin/skills/statechart/scripts/test/corpus/SpacedNames/verdict-2.out +75 -0
  580. package/plugin/skills/statechart/scripts/test/corpus/TwoPhase/ChartRun.out +69 -0
  581. package/plugin/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.cfg +3 -0
  582. package/plugin/skills/statechart/scripts/test/corpus/TwoPhase/TwoPhase.tla +75 -0
  583. package/plugin/skills/statechart/scripts/test/corpus/TwoPhase/chart.mmd +60 -0
  584. package/plugin/skills/statechart/scripts/test/corpus/TwoPhase/graph.dot +297 -0
  585. package/plugin/skills/statechart/scripts/test/corpus/TwoPhase/report.md +20 -0
  586. package/plugin/skills/statechart/scripts/test/corpus/TwoPhase/sany.out +1 -0
  587. package/plugin/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.exit +1 -0
  588. package/plugin/skills/statechart/scripts/test/corpus/TwoPhase/verdict-1.out +95 -0
  589. package/plugin/skills/statechart/scripts/test/corpus/TwoPhase/verdict-2.out +57 -0
  590. package/plugin/skills/statechart/scripts/test/corpus/TwoPhase/view.mjs +1 -0
  591. package/plugin/skills/statechart/scripts/test/corpus/TwoPhaseFixed/ChartRun.out +57 -0
  592. package/plugin/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.cfg +3 -0
  593. package/plugin/skills/statechart/scripts/test/corpus/TwoPhaseFixed/TwoPhaseFixed.tla +75 -0
  594. package/plugin/skills/statechart/scripts/test/corpus/TwoPhaseFixed/chart.mmd +37 -0
  595. package/plugin/skills/statechart/scripts/test/corpus/TwoPhaseFixed/graph.dot +223 -0
  596. package/plugin/skills/statechart/scripts/test/corpus/TwoPhaseFixed/report.md +11 -0
  597. package/plugin/skills/statechart/scripts/test/corpus/TwoPhaseFixed/sany.out +1 -0
  598. package/plugin/skills/statechart/scripts/test/corpus/TwoPhaseFixed/verdict-1.out +47 -0
  599. package/plugin/skills/statechart/scripts/test/corpus/TwoPhaseFixed/view.mjs +1 -0
  600. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.exit +1 -0
  601. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/ChartRun.out +75 -0
  602. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.cfg +5 -0
  603. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/TypeGuard.tla +11 -0
  604. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/chart.mmd +18 -0
  605. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/graph.dot +14 -0
  606. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/report.md +29 -0
  607. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/sany.out +2 -0
  608. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.exit +1 -0
  609. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/verdict-1.out +64 -0
  610. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.exit +1 -0
  611. package/plugin/skills/statechart/scripts/test/corpus/TypeGuard/verdict-2.out +75 -0
  612. package/plugin/skills/statechart/scripts/test/corpus/UserNoDeadlock/ChartRun.out +58 -0
  613. package/plugin/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.cfg +2 -0
  614. package/plugin/skills/statechart/scripts/test/corpus/UserNoDeadlock/UserNoDeadlock.tla +8 -0
  615. package/plugin/skills/statechart/scripts/test/corpus/UserNoDeadlock/chart.mmd +22 -0
  616. package/plugin/skills/statechart/scripts/test/corpus/UserNoDeadlock/graph.dot +16 -0
  617. package/plugin/skills/statechart/scripts/test/corpus/UserNoDeadlock/report.md +15 -0
  618. package/plugin/skills/statechart/scripts/test/corpus/UserNoDeadlock/sany.out +2 -0
  619. package/plugin/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.exit +1 -0
  620. package/plugin/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-1.out +56 -0
  621. package/plugin/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.exit +1 -0
  622. package/plugin/skills/statechart/scripts/test/corpus/UserNoDeadlock/verdict-2.out +77 -0
  623. package/plugin/skills/statechart/scripts/test/corpus.test.ts +453 -0
  624. package/plugin/skills/statechart/scripts/test/differential.test.ts +565 -0
  625. package/plugin/skills/statechart/scripts/test/drawn.ts +20 -0
  626. package/plugin/skills/statechart/scripts/test/grid/Grid.cfg +2 -0
  627. package/plugin/skills/statechart/scripts/test/grid/Grid.tla +9 -0
  628. package/plugin/skills/statechart/scripts/test/grid/sany.out +2 -0
  629. package/plugin/skills/statechart/scripts/test/java.ts +63 -0
  630. package/plugin/skills/statechart/scripts/test/labels.ts +648 -0
  631. package/plugin/skills/statechart/scripts/test/messages.test.ts +226 -0
  632. package/plugin/skills/statechart/scripts/test/pipeline.test.ts +270 -0
  633. package/plugin/skills/statechart/scripts/test/plain-tlc.test.ts +255 -0
  634. package/plugin/skills/statechart/scripts/test/render.test.ts +145 -0
  635. package/plugin/skills/statechart/scripts/test/tlc-out.test.ts +90 -0
  636. package/plugin/skills/statechart/scripts/test/tlc.ts +158 -0
  637. package/plugin/skills/statechart/scripts/tsconfig.json +11 -0
  638. package/plugin/skills/statechart/scripts/worker.ts +35 -0
  639. package/plugin/skills/swarm/SKILL.md +58 -0
  640. package/plugin/skills/tdd/SKILL.md +41 -0
  641. package/plugin/skills/teach/SKILL.md +28 -0
  642. package/plugin/skills/technical-writing/SKILL.md +69 -0
  643. package/plugin/skills/thermo-nuclear-code-quality-review/SKILL.md +201 -0
  644. package/plugin/skills/thermo-nuclear-review/SKILL.md +50 -0
  645. package/plugin/skills/thermos/SKILL.md +40 -0
  646. package/plugin/skills/typescript-best-practices/SKILL.md +32 -0
  647. package/plugin/skills/typescript-best-practices/references/patterns.md +328 -0
  648. package/plugin/skills/unslop/SKILL.md +39 -0
  649. package/plugin/skills/what-did-i-get-done/SKILL.md +31 -0
  650. package/plugin/skills/why/SKILL.md +16 -0
  651. package/README.md +0 -3
@@ -0,0 +1,53 @@
1
+ # Approved entry points and their argument shapes. Adding a script under
2
+ # skills/ does not grant it automatic approval. Unknown forms stay silent.
3
+ BEGIN {
4
+ CONTRACT["skills/show-me-your-work/scripts/log.sh"] = "log"
5
+ CONTRACT["skills/reflect/scripts/find-transcript.mjs"] = "transcript"
6
+ CONTRACT["skills/setup-pstack/scripts/check-sheet.sh"] = "optional-path"
7
+ CONTRACT["skills/poteto-mode/scripts/check-playbooks.mjs"] = "optional-path"
8
+ CONTRACT["skills/poteto-mode/scripts/worktree-audit.mjs"] = "paths"
9
+ CONTRACT["skills/poteto-mode/scripts/resume.mjs"] = "resume"
10
+ }
11
+
12
+ function script_contract(script, runner, T, first, n, kind, count, i) {
13
+ if (!(script in CONTRACT)) return 0
14
+ kind = CONTRACT[script]
15
+ if (runner != "") {
16
+ if (kind == "log") { if (runner != "bash") return 0 }
17
+ else if (script ~ /\.sh$/) { if (runner != "sh" && runner != "bash") return 0 }
18
+ else if (runner != "node") return 0
19
+ }
20
+ count = n - first + 1
21
+ if (kind == "log") return count == 6 && safe_path(T[first])
22
+ if (kind == "transcript") {
23
+ return (count == 2 || count == 3) && safe_path(T[first]) && T[first + 1] != "" \
24
+ && (count == 2 || safe_path(T[first + 2]))
25
+ }
26
+ if (kind == "resume") return resume_contract(T, first, n)
27
+ if (kind == "optional-path" && count > 1) return 0
28
+ for (i = first; i <= n; i++) if (!safe_path(T[i])) return 0
29
+ return 1
30
+ }
31
+
32
+ # resume.mjs: operation first, then named paths. Only publication accepts
33
+ # note/artifact inputs. Both --option=value and --option value are supported.
34
+ function resume_contract(T, first, n, op, i, arg, eq, key, value, seen) {
35
+ op = T[first]
36
+ if (op != "begin" && op != "read" && op != "publish") return 0
37
+ for (i = first + 1; i <= n; i++) {
38
+ arg = T[i]
39
+ eq = index(arg, "=")
40
+ key = eq ? substr(arg, 1, eq - 1) : arg
41
+ if (key != "--project" && key != "--note" && key != "--artifact") return 0
42
+ if (op != "publish" && key != "--project") return 0
43
+ if (key != "--artifact" && key in seen) return 0
44
+ seen[key] = 1
45
+ if (eq) value = substr(arg, eq + 1)
46
+ else {
47
+ if (++i > n || T[i] ~ /^--/) return 0
48
+ value = T[i]
49
+ }
50
+ if (!safe_path(value)) return 0
51
+ }
52
+ return op != "publish" || ("--note" in seen)
53
+ }
@@ -0,0 +1,17 @@
1
+ <EXTREMELY_IMPORTANT>
2
+ You have pstack.
3
+
4
+ Read the `poteto-mode` skill's `SKILL.md` in full with `read_file` and follow its instructions when a task meets any of these:
5
+
6
+ - it touches more than one file, or changes a signature other files call
7
+ - it involves a design or architecture choice
8
+ - it is a bug whose cause is not yet known, or a performance issue
9
+
10
+ It routes to the right pstack skill from there. For smaller tasks, such as a contained change to one file with an obvious test, a question, or a one-line edit, work directly and verify on the real artifact.
11
+
12
+ When the intent is already specific, enter that skill directly: `tdd`, `architect`, `how`, `why`, `arena`, `interrogate`.
13
+
14
+ Resolve every Claude tool, model, and built-in skill a pstack skill names through the Antigravity mapping in the `poteto-mode` skill directory, `references/agy-tools.md`.
15
+
16
+ User instructions (`GEMINI.md`, `AGENTS.md`, direct requests) take precedence. Other session-start mandates still apply. Their skill checks run as before, and when a task meets the criteria above they route implementation through poteto-mode.
17
+ </EXTREMELY_IMPORTANT>
@@ -0,0 +1,15 @@
1
+ <EXTREMELY_IMPORTANT>
2
+ You have pstack.
3
+
4
+ Invoke the `pstack:poteto-mode` skill and follow its instructions when a task meets any of these:
5
+
6
+ - it touches more than one file, or changes a signature other files call
7
+ - it involves a design or architecture choice
8
+ - it is a bug whose cause is not yet known, or a performance issue
9
+
10
+ It routes to the right pstack skill from there. For smaller tasks, such as a contained change to one file with an obvious test, a question, or a one-line edit, work directly and verify on the real artifact.
11
+
12
+ When the intent is already specific, enter that skill directly: `pstack:tdd`, `pstack:architect`, `pstack:how`, `pstack:why`, `pstack:arena`, `pstack:interrogate`.
13
+
14
+ User instructions (CLAUDE.md, AGENTS.md, direct requests) take precedence. Other session-start mandates, such as superpowers, still apply. Their skill checks run as before, and when a task meets the criteria above they route implementation through poteto-mode.
15
+ </EXTREMELY_IMPORTANT>
@@ -0,0 +1 @@
1
+ This Copilot home has no valid pstack model sheet, and pstack ships no default Copilot models. When this session first invokes one of the skills that dispatch on role models, load `setup-pstack` with the `skill` tool and finish it before that skill's first step, even for a small question. It asks the user each model question with `ask_user`, writes the sheet that later sessions reuse, and checks it. It never picks a model the user has not chosen, so when `ask_user` is not available it writes no sheet, and the roles run on the session's model.
@@ -0,0 +1 @@
1
+ These are the user's saved pstack model choices from the Copilot model sheet. Each role line is an explicit model instruction for the `task` tool's `model` parameter; `inherit-parent` or `auto` omits `model`. Use these instead of reading the sheet:
@@ -0,0 +1,3 @@
1
+ On GitHub Copilot, load pstack skills by their bare names through the `skill` tool (`poteto-mode`, `tdd`, `architect`, not `pstack:poteto-mode`); the plugin's agents keep the prefix (`pstack:poteto-agent`, `pstack:comment-sicko`). Copilot lists only part of a large plugin's skills in its prompt; every pstack skill a workflow names still loads by that name. `.github/copilot-instructions.md` and `~/.copilot/copilot-instructions.md` count as user instructions. Resolve every Claude tool, model, path, and built-in skill a pstack skill names through `references/copilot-tools.md` in the `poteto-mode` skill directory. pstack ships no default Copilot models. A skill that dispatches on role models takes them from the user's saved pstack model choices. The plugin hook reads them from the Copilot model sheet, `${COPILOT_HOME:-~/.copilot}/pstack-models.md`, checks them, and adds them to the end of this block. Do not `view` the sheet. It sits outside the workspace, so reading it asks for path access. After `setup-pstack` writes the sheet in this session, use the values it just wrote.
2
+
3
+ Skills that dispatch on role models: `arena`, `interrogate`, `no-comments`, `poteto-mode`, `swarm`, `thermos`.
@@ -0,0 +1,17 @@
1
+ <EXTREMELY_IMPORTANT>
2
+ You have pstack.
3
+
4
+ Load the `pstack:poteto-mode` skill with the `skill` tool and follow its instructions when a task meets any of these:
5
+
6
+ - it touches more than one file, or changes a signature other files call
7
+ - it involves a design or architecture choice
8
+ - it is a bug whose cause is not yet known, or a performance issue
9
+
10
+ It routes to the right pstack skill from there. For smaller tasks, such as a contained change to one file with an obvious test, a question, or a one-line edit, work directly and verify on the real artifact.
11
+
12
+ When the intent is already specific, enter that skill directly: `pstack:tdd`, `pstack:architect`, `pstack:how`, `pstack:why`, `pstack:arena`, `pstack:interrogate`.
13
+
14
+ Resolve every Claude tool, model, and built-in skill a pstack skill names through the MiniMax Code mapping in the `poteto-mode` skill directory, `references/minimax-tools.md`.
15
+
16
+ User instructions (AGENTS.md, direct requests) take precedence. Other session-start mandates still apply. Their skill checks run as before, and when a task meets the criteria above they route implementation through poteto-mode.
17
+ </EXTREMELY_IMPORTANT>
@@ -0,0 +1 @@
1
+ These are the user's saved pstack model choices from the Muse model sheet. Each role line is an explicit model instruction for that role; `inherit-parent` or `auto` runs it on the parent session's model. Use these instead of reading the sheet:
@@ -0,0 +1,17 @@
1
+ <EXTREMELY_IMPORTANT>
2
+ You have pstack.
3
+
4
+ Invoke the `plugin:pstack:poteto-mode` skill and follow its instructions when a task meets any of these:
5
+
6
+ - it touches more than one file, or changes a signature other files call
7
+ - it involves a design or architecture choice
8
+ - it is a bug whose cause is not yet known, or a performance issue
9
+
10
+ It routes to the right pstack skill from there. For smaller tasks, such as a contained change to one file with an obvious test, a question, or a one-line edit, work directly and verify on the real artifact.
11
+
12
+ When the intent is already specific, enter that skill directly: `plugin:pstack:tdd`, `plugin:pstack:architect`, `plugin:pstack:how`, `plugin:pstack:why`, `plugin:pstack:arena`, `plugin:pstack:interrogate`.
13
+
14
+ Resolve every Claude tool, model, and built-in skill a pstack skill names through the Muse mapping in the `poteto-mode` skill directory, `references/muse-tools.md`.
15
+
16
+ User instructions (AGENTS.md, direct requests) take precedence. Other session-start mandates still apply. Their skill checks run as before, and when a task meets the criteria above they route implementation through poteto-mode.
17
+ </EXTREMELY_IMPORTANT>
@@ -0,0 +1,17 @@
1
+ <EXTREMELY_IMPORTANT>
2
+ You have pstack.
3
+
4
+ Invoke the `pstack-poteto-mode` skill and follow its instructions when a task meets any of these:
5
+
6
+ - it touches more than one file, or changes a signature other files call
7
+ - it involves a design or architecture choice
8
+ - it is a bug whose cause is not yet known, or a performance issue
9
+
10
+ It routes to the right pstack skill from there. For smaller tasks, such as a contained change to one file with an obvious test, a question, or a one-line edit, work directly and verify on the real artifact.
11
+
12
+ When the intent is already specific, enter that skill directly: `pstack-tdd`, `pstack-architect`, `pstack-how`, `pstack-why`, `pstack-arena`, `pstack-interrogate`.
13
+
14
+ User instructions (AGENTS.md, direct requests) take precedence. Other session-start mandates, such as superpowers, still apply. Their skill checks run as before, and when a task meets the criteria above they route implementation through poteto-mode.
15
+
16
+ Read `references/opencode-tools.md` from the installed `pstack-poteto-mode` skill directory for OpenCode tool and model translations. Use the `skill` tool with the `pstack-` skill IDs above.
17
+ </EXTREMELY_IMPORTANT>
@@ -0,0 +1,169 @@
1
+ param([string] $Runtime)
2
+ $ErrorActionPreference = 'Stop'
3
+
4
+ function ReadHookFile([string] $name) {
5
+ [System.IO.File]::ReadAllText((Join-Path $PSScriptRoot $name), [System.Text.Encoding]::UTF8)
6
+ }
7
+
8
+ # -ccontains, -ceq, and EndsWith(string) compare by culture, which skips
9
+ # zero-width characters, so sheet text is compared ordinally, as sh and awk
10
+ # compare bytes. The runtime argument comes from the hooks files, not the
11
+ # sheet, so its switch and -ceq stay as they are.
12
+ function HasOrdinal([string[]] $list, [string] $item) {
13
+ $null -ne $list -and [Array]::IndexOf($list, $item) -ge 0
14
+ }
15
+
16
+ # muse-context.awk prints each file one line at a time, so its last line ends
17
+ # with a newline even when the file's does not.
18
+ function AsLines([string] $text) {
19
+ if ($text -and -not $text.EndsWith("`n", [System.StringComparison]::Ordinal)) { $text + "`n" } else { $text }
20
+ }
21
+
22
+ # copilot-context.awk's text() drops only the file's final newline.
23
+ function AsText([string] $text) {
24
+ if ($text.EndsWith("`n", [System.StringComparison]::Ordinal)) { $text.Substring(0, $text.Length - 1) } else { $text }
25
+ }
26
+
27
+ # sheet.awk's sheet_problems(), in its order and wording, and the role lines
28
+ # whose entries are all model IDs or aliases, each with an optional known
29
+ # effort, then a usable default effort, in models.json order. Muse keeps each
30
+ # usable line. Copilot takes the lines only from a sheet with no problems. A
31
+ # problem quotes no unchecked sheet text, since both reach the session context.
32
+ function ModelSheet([string[]] $lines) {
33
+ $models = [System.IO.File]::ReadAllText((Join-Path (Split-Path $PSScriptRoot -Parent) 'models.json'), [System.Text.Encoding]::UTF8) | ConvertFrom-Json
34
+ $efforts = @($models.efforts)
35
+ $value = [System.Collections.Generic.Dictionary[string, string]]::new([System.StringComparer]::Ordinal)
36
+ $anyVendor = $false
37
+ foreach ($line in $lines) {
38
+ $colon = $line.IndexOf(':')
39
+ if ($colon -lt 0 -or $line -cmatch '^[ \t]') { continue }
40
+ $key = $line.Substring(0, $colon).Trim([char[]]" `t")
41
+ $value[$key] = $line.Substring($colon + 1).Trim([char[]]" `t")
42
+ if ($key.Equals('panel vendors', [System.StringComparison]::Ordinal) -and $value[$key].Equals('any', [System.StringComparison]::Ordinal)) { $anyVendor = $true }
43
+ }
44
+ $problems = ''
45
+ foreach ($role in $models.roles.role) {
46
+ if (-not $value.ContainsKey($role)) { $problems += "; missing role ``$role``" }
47
+ }
48
+ if ($value.ContainsKey('default effort') -and -not (HasOrdinal (@('session') + $efforts) $value['default effort'])) {
49
+ $problems += '; default effort is not session or a level'
50
+ }
51
+ $roleLines = @()
52
+ foreach ($role in $models.roles) {
53
+ $name = $role.role
54
+ if (-not $value.ContainsKey($name)) { continue }
55
+ if ($value[$name].Length -eq 0) {
56
+ $problems += "; no model in ``$name``"
57
+ continue
58
+ }
59
+ $vendors = [System.Collections.Generic.List[string]]::new()
60
+ $real = $false
61
+ $usable = $true
62
+ foreach ($raw in $value[$name].Split(',')) {
63
+ $entry = $raw.Trim([char[]]" `t")
64
+ if ($entry -cmatch '[ \t]+@([a-z]+)$' -and (HasOrdinal $efforts $Matches[1])) {
65
+ $entry = $entry.Substring(0, $entry.Length - $Matches[0].Length)
66
+ }
67
+ if ($entry.Length -eq 0) {
68
+ $problems += "; an empty entry in ``$name``"
69
+ $usable = $false
70
+ continue
71
+ }
72
+ if (HasOrdinal @('inherit-parent', 'auto') $entry) { continue }
73
+ if ($entry -cnotmatch '^[a-z0-9][a-z0-9.-]*$') {
74
+ $problems += "; ``$name`` has an entry that is not a model ID"
75
+ $usable = $false
76
+ continue
77
+ }
78
+ $real = $true
79
+ $vendor = $entry -replace '-.*$', ''
80
+ if (-not $vendors.Contains($vendor)) { $vendors.Add($vendor) }
81
+ }
82
+ if ($usable) { $roleLines += "$($name): $($value[$name])" }
83
+ if ($role.models -ceq 'panel' -and $real -and $vendors.Count -lt 2 -and -not $anyVendor) {
84
+ $problems += "; ``$name`` has models from one vendor ($($vendors -join ', '))"
85
+ }
86
+ }
87
+ $effort = $value['default effort']
88
+ if (HasOrdinal (@('session') + $efforts) $effort) { $roleLines += "default effort: $effort" }
89
+ [pscustomobject]@{ Problems = $(if ($problems) { $problems.Substring(2) } else { '' }); RoleLines = $roleLines }
90
+ }
91
+
92
+ # Each runtime's hooks file passes its own name, as for session-start.sh.
93
+ switch -CaseSensitive ($Runtime) {
94
+ 'codex' {
95
+ $sheetRoot = if ($env:CODEX_HOME) { $env:CODEX_HOME } else { Join-Path $env:USERPROFILE '.codex' }
96
+ $sheet = Join-Path $sheetRoot 'pstack-models.md'
97
+ $context = 'session-start-context.md'
98
+ }
99
+ 'muse' {
100
+ # A Linux Muse under WSL can reach powershell.exe through interop, and
101
+ # the sh hook owns that session. Interop should run this script from a
102
+ # \\wsl UNC path, and passes MUSE_PLUGIN_ROOT only when WSLENV shares
103
+ # it; neither signal has been run under WSL.
104
+ if ($PSScriptRoot -like '\\wsl*' -or $env:MUSE_PLUGIN_ROOT -like '/*') {
105
+ exit 0
106
+ }
107
+ # Muse drops USERPROFILE from the hook environment.
108
+ $userProfile = if ($env:USERPROFILE) { $env:USERPROFILE } else { [System.Environment]::GetFolderPath('UserProfile') }
109
+ $sheetRoot = if ($env:XDG_CONFIG_HOME) { $env:XDG_CONFIG_HOME } else { Join-Path $userProfile '.config' }
110
+ $sheet = Join-Path (Join-Path $sheetRoot 'muse') 'pstack-models.md'
111
+ $context = 'session-start-muse.md'
112
+ }
113
+ 'copilot' {
114
+ $sheetRoot = if ($env:COPILOT_HOME) { $env:COPILOT_HOME } else { Join-Path $env:USERPROFILE '.copilot' }
115
+ $sheet = Join-Path $sheetRoot 'pstack-models.md'
116
+ $context = 'session-start-context.md'
117
+ }
118
+ default {
119
+ [Console]::Error.WriteLine("session-start.ps1: unknown runtime '$Runtime' (expected codex, copilot, or muse)")
120
+ exit 2
121
+ }
122
+ }
123
+
124
+ # A missing, unreadable, or undecodable sheet leaves $sheetLines null and the
125
+ # hook on, as session-start.sh does.
126
+ $sheetLines = $null
127
+ if (Test-Path -LiteralPath $sheet -PathType Leaf) {
128
+ try {
129
+ $bytes = [System.IO.File]::ReadAllBytes($sheet)
130
+ # Windows PowerShell 5.1's `>` writes UTF-16 LE with a byte-order mark.
131
+ # The decoder throws where iconv in read-sheet.sh fails: on an odd byte
132
+ # count or an unpaired surrogate.
133
+ $encoding = if ($bytes.Length -ge 2 -and $bytes[0] -eq 0xFF -and $bytes[1] -eq 0xFE) { [System.Text.UnicodeEncoding]::new($false, $false, $true) } else { [System.Text.UTF8Encoding]::new($false) }
134
+ $sheetLines = ($encoding.GetString($bytes) -replace '^\uFEFF', '') -split "`n" | ForEach-Object { $_ -replace "`r$", '' }
135
+ } catch { }
136
+ }
137
+ if ('off'.Equals($env:PSTACK_SESSION_HOOK, [System.StringComparison]::Ordinal) -or (HasOrdinal $sheetLines 'session hook: off')) {
138
+ exit 0
139
+ }
140
+
141
+ $output = ReadHookFile $context
142
+ # Muse reads stdout as plain context, so the sheet's checked role lines follow
143
+ # the mandate, as muse-context.awk prints them.
144
+ if ($Runtime -ceq 'muse') {
145
+ $output = AsLines $output
146
+ $roleLines = if ($null -eq $sheetLines) { @() } else { @((ModelSheet $sheetLines).RoleLines) }
147
+ if ($roleLines.Count -gt 0) {
148
+ $output += "`n" + (AsLines (ReadHookFile 'session-start-muse-sheet.md')) + (($roleLines -join "`n") + "`n")
149
+ }
150
+ }
151
+ # Copilot reads one JSON object, as copilot-context.awk prints it: the mandate
152
+ # with the Copilot notes and the sheet's role lines or setup's note before its
153
+ # closing tag.
154
+ if ($Runtime -ceq 'copilot') {
155
+ $notes = AsText (ReadHookFile 'session-start-copilot.md')
156
+ $state = if ($null -eq $sheetLines) { $null } else { ModelSheet $sheetLines }
157
+ if ($null -ne $state -and $state.Problems.Length -eq 0) {
158
+ $notes += "`n`n" + (AsText (ReadHookFile 'session-start-copilot-sheet.md')) + "`n`n" + ($state.RoleLines -join "`n")
159
+ } else {
160
+ if ($null -ne $state) { $notes += "`n`nsheet invalid: $($state.Problems)" }
161
+ $notes += "`n`n" + (AsText (ReadHookFile 'session-start-copilot-setup.md'))
162
+ }
163
+ $output = AsText $output
164
+ $close = $output.IndexOf('</EXTREMELY_IMPORTANT>', [System.StringComparison]::Ordinal)
165
+ if ($close -ge 0) { $output = $output.Substring(0, $close) + "`n" + $notes + "`n" + $output.Substring($close) } else { $output += "`n" + $notes }
166
+ $output = (ConvertTo-Json -InputObject @{ additionalContext = $output + "`n" } -Compress) + "`n"
167
+ }
168
+ [Console]::OutputEncoding = [System.Text.UTF8Encoding]::new($false)
169
+ [Console]::Write($output)
@@ -0,0 +1,107 @@
1
+ #!/bin/sh
2
+ set -eu
3
+
4
+ # Each runtime's hooks file passes its own name. MiniMax Code runs Claude
5
+ # Code's hooks file, so it is known by the MINIMAX_PLUGIN_ROOT it sets.
6
+ runtime="${1:-}"
7
+ if [ "$runtime" = claude ] && [ -n "${MINIMAX_PLUGIN_ROOT:-}" ]; then
8
+ runtime=minimax
9
+ fi
10
+
11
+ # Literal plugin paths, so a static reader of the hooks files can follow them.
12
+ case "$runtime" in
13
+ agy)
14
+ # Antigravity starts hooks in the plugin root.
15
+ sheet="$HOME/.gemini/config/pstack-models.md"
16
+ reader=./skills/setup-pstack/scripts/read-sheet.sh
17
+ ;;
18
+ claude)
19
+ sheet="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/pstack-models.md"
20
+ # A sheet committed with the project replaces the user's in that project.
21
+ # Claude Code may start in a subdirectory, so look at the repository root.
22
+ if [ -n "${CLAUDE_PROJECT_DIR:-}" ]; then
23
+ root=$(git -C "$CLAUDE_PROJECT_DIR" rev-parse --show-toplevel 2>/dev/null) || root=$CLAUDE_PROJECT_DIR
24
+ [ ! -f "$root/.claude/pstack-models.md" ] || sheet="$root/.claude/pstack-models.md"
25
+ fi
26
+ reader="${CLAUDE_PLUGIN_ROOT}/skills/setup-pstack/scripts/read-sheet.sh"
27
+ ;;
28
+ minimax)
29
+ # MiniMax Code withholds MINIMAX_DATA_DIR from hooks and its bash tool.
30
+ sheet="$HOME/.minimax/pstack-models.md"
31
+ reader="${MINIMAX_PLUGIN_ROOT}/skills/setup-pstack/scripts/read-sheet.sh"
32
+ ;;
33
+ codex)
34
+ sheet="${CODEX_HOME:-$HOME/.codex}/pstack-models.md"
35
+ # Codex expands ${CLAUDE_PLUGIN_ROOT} in the command string but may not
36
+ # set it in the hook's environment, so fall back to this script's own
37
+ # location. The root then serves the reader and the mandate below.
38
+ : "${CLAUDE_PLUGIN_ROOT:=$(CDPATH='' cd -- "$(dirname -- "$0")/.." && pwd)}"
39
+ reader="${CLAUDE_PLUGIN_ROOT}/skills/setup-pstack/scripts/read-sheet.sh"
40
+ ;;
41
+ copilot)
42
+ sheet="${COPILOT_HOME:-$HOME/.copilot}/pstack-models.md"
43
+ reader="${COPILOT_PLUGIN_ROOT}/skills/setup-pstack/scripts/read-sheet.sh"
44
+ ;;
45
+ muse)
46
+ # On Windows the manifest's PowerShell hook owns Muse. `uname -s` names a
47
+ # Windows sh, busybox-w32's as Windows_NT, and OS covers one without uname.
48
+ case "$(uname -s 2>/dev/null || true)" in
49
+ MINGW*|MSYS*|CYGWIN*|Windows_NT) exit 0 ;;
50
+ esac
51
+ [ "${OS:-}" != Windows_NT ] || exit 0
52
+ sheet="${XDG_CONFIG_HOME:-$HOME/.config}/muse/pstack-models.md"
53
+ reader="${MUSE_PLUGIN_ROOT}/skills/setup-pstack/scripts/read-sheet.sh"
54
+ ;;
55
+ *)
56
+ echo "session-start.sh: unknown runtime '${1:-}' (expected agy, claude, codex, copilot, or muse)" >&2
57
+ exit 2
58
+ ;;
59
+ esac
60
+
61
+ # A sheet that cannot be decoded counts as missing, so injection stays on.
62
+ found=0
63
+ if [ -f "$sheet" ] && [ -r "$sheet" ] && normalized=$(sh "$reader" "$sheet"); then
64
+ found=1
65
+ else
66
+ normalized=
67
+ fi
68
+ # PSTACK_SESSION_HOOK=off reaches sessions whose home starts empty, such as
69
+ # Claude Code cloud sessions, where no user sheet survives.
70
+ if [ "${PSTACK_SESSION_HOOK:-}" = off ] || printf '%s\n' "$normalized" | grep -qx 'session hook: off'; then
71
+ [ "$runtime" != agy ] || printf '{}\n'
72
+ exit 0
73
+ fi
74
+
75
+ if [ "$runtime" = agy ]; then
76
+ LC_ALL=C awk -f ./hooks/json.awk -f ./hooks/agy-context.awk ./hooks/session-start-agy.md
77
+ exit 0
78
+ fi
79
+
80
+ # GitHub Copilot parses stdout as one JSON object. Its sheet sits outside
81
+ # Copilot's path sandbox, so the hook checks the sheet and adds its role lines
82
+ # to the mandate, and the agent never reads the file. The hooks directory goes
83
+ # through the environment, since awk expands backslash escapes in a -v value.
84
+ if [ "$runtime" = copilot ]; then
85
+ printf '%s\n' "$normalized" | PSTACK_HOOKS="${COPILOT_PLUGIN_ROOT}/hooks" LC_ALL=C awk -v found="$found" \
86
+ -f "${COPILOT_PLUGIN_ROOT}/hooks/json.awk" \
87
+ -f "${COPILOT_PLUGIN_ROOT}/skills/setup-pstack/scripts/sheet.awk" \
88
+ -f "${COPILOT_PLUGIN_ROOT}/hooks/copilot-context.awk"
89
+ exit 0
90
+ fi
91
+
92
+ # Muse reads stdout as plain additional context. Its sheet has no include
93
+ # mechanism, so the hook adds the sheet's known role lines to the Muse
94
+ # mandate itself, rebuilt from their checked values.
95
+ if [ "$runtime" = muse ]; then
96
+ printf '%s\n' "$normalized" | PSTACK_HOOKS="${MUSE_PLUGIN_ROOT}/hooks" LC_ALL=C awk -v found="$found" \
97
+ -f "${MUSE_PLUGIN_ROOT}/skills/setup-pstack/scripts/sheet.awk" \
98
+ -f "${MUSE_PLUGIN_ROOT}/hooks/muse-context.awk"
99
+ exit 0
100
+ fi
101
+
102
+ if [ "$runtime" = minimax ]; then
103
+ cat "${MINIMAX_PLUGIN_ROOT}/hooks/session-start-minimax.md"
104
+ exit 0
105
+ fi
106
+
107
+ cat "${CLAUDE_PLUGIN_ROOT}/hooks/session-start-context.md"
@@ -0,0 +1,10 @@
1
+ {
2
+ "pstack-routing": {
3
+ "SessionStart": [
4
+ {
5
+ "type": "command",
6
+ "command": "./hooks/session-start.sh agy"
7
+ }
8
+ ]
9
+ }
10
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "tiers": {
3
+ "default": "opus",
4
+ "strongest": "fable",
5
+ "worker": "sonnet",
6
+ "panel": ["opus", "fable", "sonnet", "haiku"]
7
+ },
8
+ "efforts": ["low", "medium", "high", "xhigh", "max"],
9
+ "defaultEffort": "session",
10
+ "available": ["opus", "fable", "sonnet", "haiku"],
11
+ "roles": [
12
+ { "role": "feature, refactoring", "models": "worker", "skill": "poteto-mode" },
13
+ { "role": "bug-fix", "models": "default", "skill": "poteto-mode" },
14
+ { "role": "perf-issue", "models": "default", "skill": "poteto-mode" },
15
+ { "role": "hillclimb", "models": "default", "skill": "poteto-mode" },
16
+ { "role": "judgment and prose", "models": "default", "skill": "poteto-mode" },
17
+ { "role": "strongest judgment", "models": "strongest", "skill": "poteto-mode" },
18
+ { "role": "arena runners", "models": "panel", "skill": "arena" },
19
+ { "role": "arena cross-judge pool", "models": "panel", "skill": "arena" },
20
+ { "role": "swarm workers", "models": "default", "skill": "swarm" },
21
+ { "role": "interrogate reviewers", "models": "panel", "skill": "interrogate" },
22
+ { "role": "thermos reviewers", "models": "default", "skill": "thermos" },
23
+ { "role": "no-comments reviewer", "models": "default", "skill": "no-comments" }
24
+ ],
25
+ "codex": {
26
+ "default": "gpt-6.2-sol",
27
+ "strongest": "gpt-6.2-astra",
28
+ "worker": "gpt-6.2-sol",
29
+ "panel": ["gpt-6.2-astra", "gpt-6.2-sol", "gpt-6.1-terra", "gpt-6-luna"]
30
+ },
31
+ "pi": {
32
+ "fallback": "anthropic",
33
+ "models": {
34
+ "anthropic": {
35
+ "opus": "anthropic/claude-opus-5-5",
36
+ "fable": "anthropic/claude-fable-5-2",
37
+ "sonnet": "anthropic/claude-sonnet-5-5",
38
+ "haiku": "anthropic/claude-haiku-5-5"
39
+ },
40
+ "openai": {
41
+ "opus": "openai/gpt-6.1-sol",
42
+ "fable": "openai/gpt-6-astra",
43
+ "sonnet": "openai/gpt-6.1-sol",
44
+ "haiku": "openai/gpt-6-luna"
45
+ },
46
+ "openai-codex": {
47
+ "opus": "openai-codex/gpt-6.1-sol",
48
+ "fable": "openai-codex/gpt-6-astra",
49
+ "sonnet": "openai-codex/gpt-6.1-sol",
50
+ "haiku": "openai-codex/gpt-6-luna"
51
+ }
52
+ }
53
+ },
54
+ "muse": {
55
+ "default": "muse-wonder-1.0",
56
+ "strongest": "muse-wonder-full-1.0",
57
+ "worker": "muse-spark-1.3",
58
+ "panel": ["muse-wonder-full-1.0", "muse-wonder-1.0", "muse-spark-1.3"]
59
+ }
60
+ }
@@ -0,0 +1,34 @@
1
+ import { readFileSync } from "node:fs";
2
+ import { dirname, join } from "node:path";
3
+ import { homedir } from "node:os";
4
+ import { fileURLToPath } from "node:url";
5
+
6
+ const root = join(dirname(fileURLToPath(import.meta.url)), "..");
7
+ const skills = join(root, "skills");
8
+ const mapping = join(root, "skills", "poteto-mode", "references", "omp-tools.md");
9
+ const mandate = readFileSync(join(root, "hooks", "session-start-context.md"), "utf8");
10
+ const marker = "[pstack OMP instructions]";
11
+
12
+ function instructions(routed) {
13
+ const adapter = `${marker}\nBefore following a pstack skill, read ${JSON.stringify(mapping)} for OMP tool and model mappings. Resolve every pstack:<name> skill in the following instructions by reading the installed plugin file at ${JSON.stringify(join(skills, "<name>", "SKILL.md"))}, substituting the named skill. For example, read ${JSON.stringify(join(skills, "poteto-mode", "SKILL.md"))} for pstack:poteto-mode. Do not resolve these names through a bare skill name, which can select a different installation.`;
14
+ return routed ? `${adapter}\n${mandate}` : adapter;
15
+ }
16
+
17
+ function routingOff() {
18
+ try {
19
+ const bytes = readFileSync(join(homedir(), ".omp", "pstack-models.md"));
20
+ const text = bytes[0] === 0xff && bytes[1] === 0xfe
21
+ ? new TextDecoder("utf-16le", { fatal: true }).decode(bytes)
22
+ : bytes.toString("utf8").replace(/^\uFEFF/, "");
23
+ return text.split(/\r?\n/).includes("session hook: off");
24
+ } catch {
25
+ return false;
26
+ }
27
+ }
28
+
29
+ export default function pstack(omp) {
30
+ omp.on("before_agent_start", (event, ctx) => {
31
+ if (event.systemPrompt.some((section) => section.includes(marker))) return;
32
+ return { systemPrompt: [...event.systemPrompt, instructions(ctx.agent.kind === "main" && !routingOff())] };
33
+ });
34
+ }
@@ -0,0 +1,49 @@
1
+ import { readFileSync, readdirSync } from "node:fs";
2
+ import { homedir } from "node:os";
3
+ import { dirname, join } from "node:path";
4
+ import { fileURLToPath } from "node:url";
5
+
6
+ const root = dirname(dirname(fileURLToPath(import.meta.url)));
7
+ const skillsDir = join(root, "skills");
8
+
9
+ function readSkills() {
10
+ return readdirSync(skillsDir, { withFileTypes: true }).filter((entry) => entry.isDirectory()).map((entry) => {
11
+ const path = join(skillsDir, entry.name, "SKILL.md");
12
+ const text = readFileSync(path, "utf8");
13
+ const match = text.match(/^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/);
14
+ if (!match) throw new Error(`Missing skill frontmatter: ${path}`);
15
+ const metadata = Bun.YAML.parse(match[1]);
16
+ return { id: `pstack-${entry.name}`, name: metadata.name, description: metadata.description, path, content: text.slice(match[0].length) };
17
+ });
18
+ }
19
+
20
+ function hookEnabled() {
21
+ const config = process.env.XDG_CONFIG_HOME || join(homedir(), ".config");
22
+ try {
23
+ const bytes = readFileSync(join(config, "opencode", "pstack-models.md"));
24
+ const text = bytes[0] === 0xff && bytes[1] === 0xfe
25
+ ? new TextDecoder("utf-16le", { fatal: true, ignoreBOM: true }).decode(bytes)
26
+ : bytes.toString("utf8");
27
+ return !text.replace(/^\uFEFF/, "").split(/\r?\n/).includes("session hook: off");
28
+ } catch {
29
+ return true;
30
+ }
31
+ }
32
+
33
+ export default {
34
+ id: "pstack",
35
+ async setup(ctx) {
36
+ const skills = readSkills();
37
+ const mandate = readFileSync(join(root, "hooks", "session-start-opencode.md"), "utf8");
38
+ await ctx.skill.transform((editor) => {
39
+ for (const skill of skills) if (!editor.get(skill.id)) editor.add(skill);
40
+ });
41
+ await ctx.session.hook("context", async (event) => {
42
+ const session = await ctx.session.get({ sessionID: event.sessionID });
43
+ if (session.parentID || !hookEnabled()) return;
44
+ const installed = new Map((await ctx.skill.list()).data.map((skill) => [skill.id, skill.path]));
45
+ if (skills.some((skill) => installed.get(skill.id) !== skill.path)) return;
46
+ event.system.push({ type: "text", text: mandate });
47
+ });
48
+ },
49
+ };
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "pstack",
3
+ "version": "0.9.149",
4
+ "private": true,
5
+ "omp": {
6
+ "extensions": ["./omp/index.mjs"]
7
+ }
8
+ }