psyclaw 0.31.5 → 0.34.0-preview.2

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 (151) hide show
  1. package/dist/apps/panel/index.html +16 -16
  2. package/dist/src/adapters/pi/arg-repair.d.ts +27 -0
  3. package/dist/src/adapters/pi/arg-repair.js +177 -0
  4. package/dist/src/adapters/pi/arg-repair.js.map +1 -0
  5. package/dist/src/adapters/pi/extension.js +1499 -493
  6. package/dist/src/adapters/pi/extension.js.map +1 -1
  7. package/dist/src/adapters/pi/observation-mask.d.ts +19 -0
  8. package/dist/src/adapters/pi/observation-mask.js +105 -2
  9. package/dist/src/adapters/pi/observation-mask.js.map +1 -1
  10. package/dist/src/adapters/pi/session.js +1 -1
  11. package/dist/src/adapters/pi/session.js.map +1 -1
  12. package/dist/src/analysis/decision-points.d.ts +4 -9
  13. package/dist/src/analysis/decision-points.js +20 -67
  14. package/dist/src/analysis/decision-points.js.map +1 -1
  15. package/dist/src/analysis/estimand.d.ts +127 -0
  16. package/dist/src/analysis/estimand.js +526 -0
  17. package/dist/src/analysis/estimand.js.map +1 -0
  18. package/dist/src/analysis/method-rules.d.ts +6 -0
  19. package/dist/src/analysis/method-rules.js +20 -3
  20. package/dist/src/analysis/method-rules.js.map +1 -1
  21. package/dist/src/analysis/package-net.d.ts +106 -0
  22. package/dist/src/analysis/package-net.js +277 -0
  23. package/dist/src/analysis/package-net.js.map +1 -0
  24. package/dist/src/analysis/plan.d.ts +6 -2
  25. package/dist/src/analysis/plan.js +34 -17
  26. package/dist/src/analysis/plan.js.map +1 -1
  27. package/dist/src/analysis/runtime-tools.d.ts +0 -6
  28. package/dist/src/analysis/runtime-tools.js +0 -156
  29. package/dist/src/analysis/runtime-tools.js.map +1 -1
  30. package/dist/src/analysis/shell-timeout.d.ts +21 -0
  31. package/dist/src/analysis/shell-timeout.js +87 -1
  32. package/dist/src/analysis/shell-timeout.js.map +1 -1
  33. package/dist/src/analysis/stats-router.d.ts +4 -8
  34. package/dist/src/analysis/stats-router.js +21 -23
  35. package/dist/src/analysis/stats-router.js.map +1 -1
  36. package/dist/src/ars/academic-router.d.ts +8 -8
  37. package/dist/src/ars/academic-router.js +22 -35
  38. package/dist/src/ars/academic-router.js.map +1 -1
  39. package/dist/src/ars/doctor.js +1 -2
  40. package/dist/src/ars/doctor.js.map +1 -1
  41. package/dist/src/ars/mode-editor.d.ts +7 -2
  42. package/dist/src/ars/mode-editor.js +15 -16
  43. package/dist/src/ars/mode-editor.js.map +1 -1
  44. package/dist/src/branding.d.ts +10 -0
  45. package/dist/src/branding.js +40 -32
  46. package/dist/src/branding.js.map +1 -1
  47. package/dist/src/chat.d.ts +1 -1
  48. package/dist/src/chat.js +12 -2
  49. package/dist/src/chat.js.map +1 -1
  50. package/dist/src/index.d.ts +1 -2
  51. package/dist/src/index.js +1 -2
  52. package/dist/src/index.js.map +1 -1
  53. package/dist/src/install/installer.js +0 -5
  54. package/dist/src/install/installer.js.map +1 -1
  55. package/dist/src/integrations/mcp-format.d.ts +6 -0
  56. package/dist/src/integrations/mcp-format.js +52 -0
  57. package/dist/src/integrations/mcp-format.js.map +1 -0
  58. package/dist/src/observability/langfuse.js +201 -5
  59. package/dist/src/observability/langfuse.js.map +1 -1
  60. package/dist/src/orchestration/research-agents.js +1 -1
  61. package/dist/src/orchestration/research-agents.js.map +1 -1
  62. package/dist/src/orchestration/runner.d.ts +0 -1
  63. package/dist/src/orchestration/runner.js +0 -3
  64. package/dist/src/orchestration/runner.js.map +1 -1
  65. package/dist/src/orchestration/scheduler.js +0 -31
  66. package/dist/src/orchestration/scheduler.js.map +1 -1
  67. package/dist/src/panel/server.js +3 -3
  68. package/dist/src/panel/server.js.map +1 -1
  69. package/dist/src/project/hitl.js +3 -3
  70. package/dist/src/project/hitl.js.map +1 -1
  71. package/dist/src/project/workspace.js +8 -20
  72. package/dist/src/project/workspace.js.map +1 -1
  73. package/dist/src/research/decisions.d.ts +115 -0
  74. package/dist/src/research/decisions.js +284 -0
  75. package/dist/src/research/decisions.js.map +1 -0
  76. package/dist/src/research/intent.d.ts +90 -0
  77. package/dist/src/research/intent.js +175 -0
  78. package/dist/src/research/intent.js.map +1 -0
  79. package/dist/src/research/plan-message.d.ts +117 -0
  80. package/dist/src/research/plan-message.js +187 -0
  81. package/dist/src/research/plan-message.js.map +1 -0
  82. package/dist/src/research/practice.d.ts +33 -0
  83. package/dist/src/research/practice.js +160 -0
  84. package/dist/src/research/practice.js.map +1 -0
  85. package/dist/src/router/decision-model.d.ts +54 -0
  86. package/dist/src/router/decision-model.js +129 -0
  87. package/dist/src/router/decision-model.js.map +1 -0
  88. package/dist/src/rules/user-rules.js.map +1 -1
  89. package/dist/src/safety/data-access.js +4 -4
  90. package/dist/src/safety/data-access.js.map +1 -1
  91. package/dist/src/safety/secret-marks.d.ts +44 -0
  92. package/dist/src/safety/secret-marks.js +88 -0
  93. package/dist/src/safety/secret-marks.js.map +1 -0
  94. package/dist/src/session/continuously-work.js +1 -1
  95. package/dist/src/session/continuously-work.js.map +1 -1
  96. package/dist/src/session/help.js +29 -32
  97. package/dist/src/session/help.js.map +1 -1
  98. package/dist/src/session/modes.d.ts +24 -17
  99. package/dist/src/session/modes.js +81 -94
  100. package/dist/src/session/modes.js.map +1 -1
  101. package/dist/src/session/skill-invoke.d.ts +54 -0
  102. package/dist/src/session/skill-invoke.js +177 -0
  103. package/dist/src/session/skill-invoke.js.map +1 -0
  104. package/dist/src/session/skill-reference.d.ts +15 -0
  105. package/dist/src/session/skill-reference.js +35 -0
  106. package/dist/src/session/skill-reference.js.map +1 -0
  107. package/dist/src/skills/recommended.js +0 -1
  108. package/dist/src/skills/recommended.js.map +1 -1
  109. package/dist/src/skills/user-skills.js +11 -0
  110. package/dist/src/skills/user-skills.js.map +1 -1
  111. package/dist/src/style/cli-ui.js +15 -12
  112. package/dist/src/style/cli-ui.js.map +1 -1
  113. package/dist/src/tui/biosignal-wizard.js +1 -1
  114. package/dist/src/tui/biosignal-wizard.js.map +1 -1
  115. package/dist/src/tui/wake-options.d.ts +2 -2
  116. package/dist/src/tui/wake-options.js +8 -5
  117. package/dist/src/tui/wake-options.js.map +1 -1
  118. package/dist/src/updates/check.js +4 -2
  119. package/dist/src/updates/check.js.map +1 -1
  120. package/dist/src/updates/registry.d.ts +2 -1
  121. package/dist/src/updates/registry.js +2 -2
  122. package/dist/src/updates/registry.js.map +1 -1
  123. package/dist/src/updates/status.d.ts +9 -2
  124. package/dist/src/updates/status.js +43 -6
  125. package/dist/src/updates/status.js.map +1 -1
  126. package/dist/src/updates/update.js +7 -3
  127. package/dist/src/updates/update.js.map +1 -1
  128. package/dist/src/updates/whats-new.js +12 -0
  129. package/dist/src/updates/whats-new.js.map +1 -1
  130. package/dist/src/verify/checklist.d.ts +1 -1
  131. package/dist/src/verify/checklist.js +5 -5
  132. package/dist/src/verify/checklist.js.map +1 -1
  133. package/dist/src/wake-options/runtime.d.ts +9 -0
  134. package/dist/src/wake-options/runtime.js +39 -1
  135. package/dist/src/wake-options/runtime.js.map +1 -1
  136. package/dist/src/workflows/academic-export.js.map +1 -1
  137. package/dist/src/workflows/meta-analysis.js +1 -1
  138. package/dist/src/workflows/meta-analysis.js.map +1 -1
  139. package/package.json +2 -1
  140. package/skills/core/academic-grill/SKILL.md +3 -3
  141. package/skills/core/analysis-plan/SKILL.md +35 -32
  142. package/skills/core/manifest.json +12 -4
  143. package/skills/core/package-install/SKILL.md +35 -0
  144. package/skills/core/package-install/pkgnet.py +178 -0
  145. package/skills/recommended/mcp-catalog.json +1 -1
  146. package/dist/src/research/choice.d.ts +0 -16
  147. package/dist/src/research/choice.js +0 -25
  148. package/dist/src/research/choice.js.map +0 -1
  149. package/dist/src/skills/registry.d.ts +0 -28
  150. package/dist/src/skills/registry.js +0 -550
  151. package/dist/src/skills/registry.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../src/wake-options/runtime.ts"],"names":[],"mappings":"A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ath) {
123
123
  */
124
124
  export async function runMetaAnalysis(root, options) {
125
125
  const runner = options.runner ?? createStageRunner();
126
- const project = await readProject(root);
126
+ await readProject(root); // fails early when the project is missing
127
127
  const gates = [];
128
128
  const studies = await runner.stage("intake", `检索 OpenAlex 数据库并提取 "${options.target}" 的实证研究`, async () => searchOpenAlex(options.target, options.nStudies, options.fetchFn ?? fetch), (found) => `命中 ${found.length} 项研究,登记为证据账本条目`);
129
129
  if (studies.length < 2) {
@@ -1 +1 @@
1
- {"version":3,"file":"meta-analysis.js","sourceRoot":"","sources":["../../../src/workflows/meta-analysis.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAoB,MAAM,WAAW,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAA0C,MAAM,WAAW,CAAC;AAErF,MAAM,CAAC,MAAM,gBAAgB,GAAiB;IAC5C,EAAE,EAAE,eAAe;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oGAAoG;IACjH,SAAS,EAAE,CAAC,eAAe,CAAC;IAC5B,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,6BAA6B,EAAE;QAChG,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,uCAAuC,EAAE;QACxG,EAAE,EAAE,EAAE,OAA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E,SAAS,EAAE,kBAAkB,CAAC,EAAE,QAAQ,CAAC,CAAC;QACvF,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,CAAC;IACjE,CAAC,EACD,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,MAAM,CAAC,OAAO,eAAe,CAChD,CAAC;IAEF,OAAO,gBAAgB,CAAC,IAAI,EAAE,gBAAgB,EAAE;QAC9C,KAAK;QACL,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,oBAAoB,OAAO,CAAC,MAAM,2CAA2C,EAAE;YACrH,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE;SAChK;QACD,SAAS,EAAE,CAAC,mBAAmB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,gBAAgB,CAAC;KACjG,CAAC,CAAC;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "psyclaw",
3
- "version": "0.31.5",
3
+ "version": "0.34.0-preview.2",
4
4
  "description": "A standalone, evidence-grounded social-science research agent with research contracts, evidence gates, and recoverable workflows",
5
5
  "type": "module",
6
6
  "license": "CC-BY-NC-4.0",
@@ -81,6 +81,7 @@
81
81
  "rebrand": "node scripts/rebrand-pi.mjs",
82
82
  "check:branding": "node scripts/check-branding.mjs",
83
83
  "release:push": "node scripts/release-push.mjs",
84
+ "release:preview": "node scripts/release-push.mjs --preview",
84
85
  "prepublishOnly": "pnpm check:branding && pnpm build"
85
86
  },
86
87
  "dependencies": {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: academic-grill
3
- description: Stress-test an academic research question, proposal, study design, analysis plan, manuscript claim, review protocol, or AI research project through a one-question-at-a-time interview until its consequential decisions, evidence boundaries, and reporting commitments are explicit. Use when the user invokes /grill or asks for rigorous academic questioning. For open-ended ideation without pressure-testing, use /brainstorm instead.
3
+ description: Stress-test an academic research question, proposal, study design, analysis plan, manuscript claim, review protocol, or AI research project through a one-question-at-a-time interview until its consequential decisions, evidence boundaries, and reporting commitments are explicit. Use when the user invokes /ars grill or asks for rigorous academic questioning. For open-ended ideation without pressure-testing, use /ars brainstorm instead.
4
4
  license: MIT
5
5
  ---
6
6
 
@@ -72,9 +72,9 @@ After the interview is complete, update the initialized project without asking f
72
72
  - `.psyclaw/project.json`: keep its schema and identity fields; update only the goal and paradigm when the confirmed specification changed them;
73
73
  - `notes/goal.md`: confirmed purpose, research question, scope, population or corpus, and exclusions;
74
74
  - `notes/research-spec.md`: the complete confirmed research specification and claims boundary;
75
- - `notes/decisions.md`: consequential decisions, rationale, alternatives, owner, and status;
75
+ - decisions: record each consequential decision with `psyclaw_decide` (who settled it, and the quote or the reason). Code writes `notes/decisions.md` from that record; do not edit it by hand;
76
76
  - `notes/plan.md`: dependency-ordered tasks derived from the confirmed specification, with inputs, outputs, approvals, status, and stop conditions;
77
- - `notes/decision_request.md`: only unresolved substantive research trade-offs that meet the decision threshold above, or an explicit `Status: none` when there are none.
77
+ - unresolved substantive research trade-offs that meet the decision threshold above: put each to the researcher with `psyclaw_ask`; it stays open in the decision record until answered.
78
78
 
79
79
  When no qualifying trade-off remains, set the status in `notes/research-spec.md` and `notes/plan.md` to `ready-for-run`. Do not use `awaiting-human-approval` as a routine completion state.
80
80
 
@@ -10,8 +10,12 @@ Use this skill only in **analysis** mode. Do not start academic/ARS writing from
10
10
 
11
11
  ## Stages
12
12
 
13
- 1. **Clarify + light EDA** — Inspect `data/clean` once; write a compact profile. Ask only high-value clarifying questions.
14
- 2. **From hypotheses to models (required table)** — Before the cards, fill in the table under "Hypotheses to models" in `analysis/plans/plan.md` (the workspace template already has its header; keep the columns), one row per hypothesis and one per exploratory variable:
13
+ 1. **The researcher's intent first (required)** — Before profiling in depth or planning, ask the researcher openly, with no options: what they want to find out, which outcome matters most, and how they themselves planned to analyse it. Several questions in one message are fine; asking more here is better than guessing later.
14
+ - Restate it with `psyclaw_intent` action=restate: one item per point (field `question`, `outcome`, `approach`, `hypothesis`, `data` or `scope`; label such as RQ1), each with the researcher's or the materials' words as the quote; leave the quote out for what you infer, and code lists those apart for the researcher to check. Give `flow`: `theory` (hypotheses and predictions first, then data) or `data` (explore first, then literature, written up as exploratory).
15
+ - Post the message it returns and wait. Record the reply with `psyclaw_intent` action=confirm; restate again if they correct something substantial. `psyclaw_plan` action=submit waits for the confirmed intent.
16
+ - Then inspect `data/clean` once and write a compact profile.
17
+ - No clear research question (no stated question, hypothesis, outcome or comparison)? Do not build a plan yet. Ask with `psyclaw_ask`: brainstorm 2-4 answerable questions from the data (recommended when there is none yet), grill a rough idea one point at a time, or a short exploratory profile only. For the first two, load `academic-grill` with `psyclaw_skill` and follow it; come back to stage 2 once a question is chosen.
18
+ 2. **From hypotheses to models (required table)** — Before submitting the plan, fill in the table under "Hypotheses to models" in `analysis/plans/plan.md` (the workspace template already has its header; keep the columns), one row per hypothesis and one per exploratory variable:
15
19
 
16
20
  | ID | Scope as worded | Outcome | Focal term | Implied tests | Status |
17
21
  | --- | --- | --- | --- | --- | --- |
@@ -20,45 +24,44 @@ Use this skill only in **analysis** mode. Do not start academic/ARS writing from
20
24
  - **Implied tests** follow the standing method rules in the plan template. Detail for change scores, interactions, mediation, multilevel models, SEM, and reporting is injected from the matching method skill. Do not treat this process skill as that reference.
21
25
  - **Status**: `confirmatory` or `exploratory`; every implied test enters the multiplicity plan.
22
26
 
23
- Re-read the table before writing the report and state, for each implied test, the result or why it was not run. These tests are the first candidates for the "concrete new method" option on the cards below, and the table goes into the plan you submit for approval.
24
- 2b. **Decision points and verdict rules (required, before any outcome model)** — Fill in the two tables under "Decision points" and "Verdict rules" in `analysis/plans/plan.md`.
25
- - One row per analytic fork: sample and exclusion rules, coding and scoring keys, unit of analysis, groups analysed separately or pooled, model family and estimator, random effects and covariates, missing data, alpha, multiplicity family and method, criteria for support.
26
- - **Settled by**: `brief`, `data`, `convention` (almost any competent analyst would choose it), or `intent` (the brief and data leave it open and reasonable analysts differ). A standing method rule or an injected method skill is a default, not a settlement: when the brief does not settle a fork that such a rule covers, the row is `intent`.
27
- - Intent rows go on the choice cards below. With no one to ask (unattended), make the option closest to the brief's wording primary, run the main alternative as a labelled sensitivity analysis, and report both when their conclusions differ.
28
- - Verdict rules (alpha, multiplicity family and method, what counts as support) are locked before the first outcome model. A later change is a deviation: record it with its reason in the decision log.
29
- 3. **Per-analysis choices (required)** — Do **not** dump one mega-plan and stop. For **each** analysis you propose, present a short decision card:
30
- - Question (what this analysis answers)
31
- - Options: **first option must be a concrete new method**; you may add alternatives; put「已经足够,先执行已选」**last**, never as the default recommendation
32
- - Your recommendation with rationale
33
- - Wait for the user to pick (or say「可以」to accept the recommendation) before adding the next analysis
34
- - Soft「可以 / 确认」only settles the current card — it does **not** authorize scripts
35
- 4. **Overall ritual approval (required unless `/plan auto`)** — After every listed choice is decided, ask the user to type exactly:
36
-
37
- `我已审阅并批准本方案`
38
-
39
- Record that sentence as the approval ritual. Do not treat short tokens (可以 / ok / 继续) as execute authorization.
40
-
41
- When the approver can only pick from options (no free text), a two-option approve/revise card leaves you guessing what to change. Submit the plan, including the hypotheses-to-models table, as:
42
- - `approve` — approve the plan as written
43
- - `revise_<element>` — one option per element a reviewer might change (for example `revise_outcome`, `revise_covariates`, `revise_h2a_scope`), each stating the concrete alternative you would adopt
44
-
45
- If a revise option is chosen, apply that alternative and resubmit the same card once. Do not ask open follow-up questions about what to change.
46
- 5. **Auto mode** — If the user said `/plan auto`, proceed without ritual, but every report/script summary must state **「未经人审批」**.
47
- 6. **Crosscheck / verify (human-gated)** — Do **not** start `/crosscheck` or `/verify` automatically. After scripts (or before a costly pass), ask whether to open that block; only run it after an explicit yes. Skipping must mark **「未经核对」**.
48
- 7. **Execute** — Local reproducible scripts under `analysis/scripts/` by default; MCP only for special backends or explicit request.
49
- 8. **Handoff** — Update `analysis/HANDOFF.md` before academic mode. Final Panel「核实」remains required for completion.
27
+ Re-read the table before writing the report and state, for each implied test, the result or why it was not run. These tests belong in the plan message, and the table goes into the plan you submit.
28
+ 2b. **Decision points and verdict rules (required, before any outcome model)** — Every analytic fork is one decision in the project's decision record. Code writes `notes/decisions.md` and the plan's Decisions section from it; do not write decision tables by hand.
29
+ - One decision per analytic fork: sample and exclusion rules, coding and scoring keys, unit of analysis, groups analysed separately or pooled, model family and estimator, random effects and covariates, missing data, alpha, multiplicity family and method, criteria for support.
30
+ - Who settles it: the brief (by `brief`, with the quote), a convention almost any competent analyst would choose (by `analyst`, with the reason), or the researcher when the brief and data leave it open and reasonable analysts differ (open, with options and your recommendation). A standing method rule or an injected method skill is a default, not a settlement: when the brief does not settle a fork that such a rule covers, leave it open. Alpha, tails, multiplicity, and support rules are declarations, not questions: settle them by `analyst`.
31
+ - With no one to ask (unattended), make the option closest to the brief's wording primary, run the main alternative as a labelled sensitivity analysis, and report both when their conclusions differ.
32
+ - Verdict rules are locked before the first outcome model. A later change is a deviation: record it with `psyclaw_decide` (same id) and its reason.
33
+ 3. **The whole plan in one message (required)** — Give every point its `impact`: `key` when the choice changes the answer to a research question or the conclusion, with `why` (one line on what changes; at most 4 key points are shown in full), `intent` when it depends on what the researcher wants, `convention` when the field settles it. Open points get 2-3 options. Only a convention can be settled by `analyst`; code puts a research-intent decision (sample, coding, primary outcome, model, covariates, missing data, inference rules) to the researcher with your choice as the recommendation. Analyses you add beyond the request go into `agentAdditions` with the reason; the message lists them as 我打算补的分析. Submit the plan with `psyclaw_plan` action=submit, every decision point in `decisions` (with its `rq` label). Code numbers them D1…Dn and returns one message: post it as your whole reply, unchanged, and stop. Do not ask cards before the researcher's reply.
34
+ - For each research question, offer the analyses a reviewer would expect (the tests the hypotheses-to-models table implies, standard breakdowns and sensitivity analyses) as points or as listed analyses; the message asks the researcher to name what is missing.
35
+ 4. **The researcher's reply (required unless `/plan auto`)** — Record it with one `psyclaw_plan` action=answers call: the reply as `quote`, one answer per point it names (option number, or their own approach as text), `rest` = recommended when it accepts the recommendations for the rest, `approved` when it approves, `additions` for the analyses it says are missing. Code records each decision and approves the plan once nothing is open.
36
+ - Ask a `psyclaw_ask` card only for a point the reply leaves unclear, one card per point, the same id. If they answer in text, record it with `psyclaw_decide` (by `researcher`, their words as the quote, the same id).
37
+ - Once every point is settled, a plain yes (可以 / 批准 / ok) approves the plan.
38
+ 5. **Auto mode** — If the researcher ran `/plan auto`, proceed without ritual, but every report/script summary must state **「未经人审批」**.
39
+ 6. **Crosscheck / verify (human-gated)** — Do **not** start `/check quick` or `/check full` automatically. After scripts (or before a costly pass), ask whether to open that block; only run it after an explicit yes. Skipping must mark **「未经核对」**.
40
+ 7. **Execute: decoupled steps, checked as you go**
41
+ - If the researcher named a tool ("用 MNE MCP", a package, a backend), use it.
42
+ - If an MCP server is configured that can run this analysis (`psyclaw_mcp action=list`: e.g. MNE for EEG/MEG/fNIRS, a stats backend), use it: work in its session, which keeps data in memory between calls. Fall back to local scripts only when no configured MCP fits or it fails.
43
+ - Without a fitting MCP, still work one step at a time and look at each result before the next step: run short exploration scripts on saved intermediate files.
44
+ - Check each step, not only whether it ran: which criterion removed trials, whether projections are active, whether the whitened baseline is near 1 and why not, whether a peak sits where the modality predicts, whether an effect is large enough to matter.
45
+ - Keep the pipeline decoupled: one module per step (load, prepare, each analysis, figures, export) under `analysis/scripts/` (or the path the researcher named), plus a thin entrypoint that runs them in order. Do not put everything in one script.
46
+ - Every module runs on its own: it reads its inputs from the files the previous step saved (`.fif`, `.npy`, `.csv`, `.parquet`, `.json`) and writes its outputs to disk. No state passes in memory between modules, so a module can be run, checked and fixed by itself (for example `python analysis/scripts/s06_roi.py`).
47
+ - When a step has a problem, fix that module and rerun only that module (and the modules after it that read its output). Never rerun from step 1 to test a fix.
48
+ - Run the whole pipeline through the entrypoint once at the end to confirm it reproduces (twice at most).
49
+ 8. **做法对照 (required before the report)** — An analysis added during execution: `psyclaw_decide` action=add with the reason. A change to what the researcher or the brief settled: `psyclaw_decide` action=change (id, what instead, why), and tell the researcher in your next message. Before the final report, call `psyclaw_plan` action=compare with one check per item the researcher asked for (`done` + the file that shows it + `evidence` copied verbatim from that file, `changed` + `to` and `note`, `not-done` + `note`); if the file does not do what was decided, the item is `changed`, not `done` and put the section it returns at the top of the report, unchanged.
50
+ 9. **Handoff** — Update `analysis/HANDOFF.md` before academic mode. Final Panel「核实」remains required for completion.
50
51
 
51
52
  ## Volume rule
52
53
 
53
- Never tell the user “分析方法已经足够了” as a closing statement. If the plan is getting long, still offer **another concrete method as option 1**, and only then offer「已经足够」as an explicit selectable option.
54
+ While building the plan, never tell the user “分析方法已经足够了” as a closing statement; the plan message itself asks the researcher what is missing.
55
+
56
+ Once the deliverables the request names are done, do not open cards for further analyses or checks. If a time budget is set and time is left, complete the analysis in the same deliverables first (standard sensitivity analyses, every model term, the usual breakdowns), without asking; then name the most useful extension in one sentence and stop.
54
57
 
55
58
  ## Persistence
56
59
 
57
- Keep state in `analysis/plans/` (`/plan new|status|auto|human|run|defer|handoff`). Soft「可以」acknowledges a node; the typed ritual authorizes run when `approvalMode=human`.
60
+ Keep state with `psyclaw_plan` (submit / status); the researcher can type `/plan auto` or `/plan human`. Soft「可以」acknowledges a node; the typed ritual authorizes run when `approvalMode=human`.
58
61
 
59
62
  ## Boundaries
60
63
 
61
64
  - Never overwrite `data/raw`.
62
65
  - No novel stats algorithms in PsyClaw core.
63
66
  - Do not merge with ARS planning.
64
- - Model **proposes** crosschecks after asking; humans mark items — do not expect users to invent `/verify` ids themselves.
67
+ - Model **proposes** crosschecks after asking; humans mark items — do not expect users to invent `/check full` ids themselves.
@@ -13,7 +13,8 @@
13
13
  "method-mediation",
14
14
  "method-multilevel",
15
15
  "method-sem",
16
- "report-checklist"
16
+ "report-checklist",
17
+ "package-install"
17
18
  ],
18
19
  "enabledByDefault": [
19
20
  "academic-grill",
@@ -26,9 +27,16 @@
26
27
  "method-mediation",
27
28
  "method-multilevel",
28
29
  "method-sem",
29
- "report-checklist"
30
+ "report-checklist",
31
+ "package-install"
30
32
  ],
31
- "source": {"kind": "workspace", "ref": "initial-mvp"},
32
- "license": {"spdx": "MIT", "evidenceRef": "../../LICENSE"},
33
+ "source": {
34
+ "kind": "workspace",
35
+ "ref": "initial-mvp"
36
+ },
37
+ "license": {
38
+ "spdx": "MIT",
39
+ "evidenceRef": "../../LICENSE"
40
+ },
33
41
  "dependencyStatus": "ready"
34
42
  }
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: package-install
3
+ description: Installing Python, R or conda packages without stalling — check size and download speed first, switch to a faster mirror for that one command, ask the researcher before large or slow installs, and never sleep-poll a download.
4
+ license: MIT
5
+ ---
6
+
7
+ # Package install
8
+
9
+ Use this before any `pip install`, `uv pip install`, `uv add`, `conda/mamba install`, `install.packages()` or `BiocManager::install()`, and whenever an install is slow, timed out or failed on the network.
10
+
11
+ ## 1. Do you need it?
12
+
13
+ - An optional extra (a nicer 3D render, a faster backend) is not worth a long install. If the analysis already has a working fallback, keep the fallback and mention the extra in the summary.
14
+ - Check first whether the package is already importable in the interpreter the analysis uses.
15
+
16
+ ## 2. pip and uv: PsyClaw picks the route
17
+
18
+ For `pip install`, `python -m pip install` and `uv pip install`, PsyClaw measures PyPI and the mirrors (tuna, aliyun, ustc; via the proxy and direct) before the command runs, and runs it through the fastest one for that command only. The tool result says which route was used. When the install would take more than 5 minutes (or is 300 MB or more), PsyClaw asks the researcher itself. You do not need to add `-i` or a mirror yourself; if you do, PsyClaw leaves the command alone.
19
+
20
+ An install expected to take a minute or more runs in the background: the shell call returns at once and PsyClaw sends a message when it finishes. Meanwhile do the work that does not need those packages; do not import them, re-run the install or wait with `sleep`.
21
+
22
+ If the result says the researcher skipped the install or will install it later, do not try again: continue with the fallback and note it in the summary.
23
+
24
+ To check sizes or speeds by hand: `python3 <this skill's directory>/pkgnet.py --python /path/to/target/python pkg1 pkg2`.
25
+
26
+ ## 3. Running the install
27
+
28
+ - Run it in the foreground. For pip and uv PsyClaw sets the time limit from the measured speed.
29
+ - Do **not** start it in the background and check with `sleep` loops. Each check is a model request that costs money and adds nothing.
30
+ - Do **not** kill a download that is making progress: uv and pip do not resume partial downloads, so a restart begins from zero. If it timed out, tell the researcher instead of re-running it unchanged.
31
+ - After it finishes, import the package once to confirm, then continue.
32
+
33
+ ## 4. R and conda
34
+
35
+ PsyClaw routes these too. An `install.packages()` / `BiocManager::install()` call without its own `repos=` runs with CRAN at the fastest of cloud.r-project.org and the tuna, ustc and aliyun mirrors (your ~/.Rprofile is still read). A `conda`/`mamba install` that names `-c conda-forge` or `-c bioconda` uses that channel's mirror when it is faster; the channel itself does not change. Ask the researcher first when an install would take more than 5 minutes.
@@ -0,0 +1,178 @@
1
+ #!/usr/bin/env python3
2
+ """Before a Python package install: how big is it, which download route is fastest, how long will it take.
3
+
4
+ usage: python3 pkgnet.py [--python /path/to/target/python] [--json] PACKAGE [PACKAGE ...]
5
+
6
+ Looks up each package's wheel for the target interpreter on PyPI, then downloads the first
7
+ ~1 MB of that file from PyPI and a few well-known mirrors (through the proxy in the
8
+ environment, and directly when a proxy is set). Prints size, speed per route, the estimated
9
+ time, and the install command for the fastest route. Downloads nothing beyond the probe
10
+ bytes and installs nothing. Standard library only.
11
+ """
12
+ import argparse
13
+ import concurrent.futures
14
+ import json
15
+ import os
16
+ import subprocess
17
+ import sys
18
+ import time
19
+ import urllib.parse
20
+ import urllib.request
21
+
22
+ # Only these indexes are probed. Never add an index taken from a web page or a README.
23
+ INDEXES = [
24
+ ("pypi", "https://pypi.org/simple", "https://files.pythonhosted.org/packages/"),
25
+ ("tuna", "https://pypi.tuna.tsinghua.edu.cn/simple", "https://pypi.tuna.tsinghua.edu.cn/packages/"),
26
+ ("aliyun", "https://mirrors.aliyun.com/pypi/simple", "https://mirrors.aliyun.com/pypi/packages/"),
27
+ ("ustc", "https://mirrors.ustc.edu.cn/pypi/simple", "https://mirrors.ustc.edu.cn/pypi/packages/"),
28
+ ]
29
+ PROBE_BYTES = 1_000_000
30
+ PROBE_SECONDS = 12
31
+ ASK_MB = 300 # at or above this size (disk space), ask the researcher first
32
+ ASK_MINUTES = 5 # or when the best route needs longer than this
33
+
34
+
35
+ def target_tags(python):
36
+ """(cpXY, platform words) of the interpreter that will receive the install."""
37
+ code = "import sys,sysconfig;print('cp%d%d'%sys.version_info[:2]);print(sysconfig.get_platform())"
38
+ try:
39
+ out = subprocess.run([python, "-c", code], capture_output=True, text=True, timeout=20).stdout.split()
40
+ cp, plat = out[0], out[1].lower()
41
+ except Exception:
42
+ cp, plat = "cp%d%d" % sys.version_info[:2], sys.platform
43
+ if plat.startswith("macosx") or plat == "darwin":
44
+ arch = "arm64" if "arm64" in plat or os.uname().machine == "arm64" else "x86_64"
45
+ words = ["macosx", arch]
46
+ elif plat.startswith("win"):
47
+ words = ["win_amd64"] if "amd64" in plat else ["win32"]
48
+ else:
49
+ arch = "aarch64" if "aarch64" in plat or "arm" in plat else "x86_64"
50
+ words = ["linux", arch]
51
+ return cp, words
52
+
53
+
54
+ def pick_file(files, cp, words):
55
+ """The wheel pip/uv would most likely take for this interpreter; sdist as a fallback."""
56
+ def fits_platform(name):
57
+ if "none-any" in name:
58
+ return True
59
+ if "macosx" in words:
60
+ return "macosx" in name and (words[1] in name or "universal2" in name)
61
+ return all(w in name for w in words)
62
+
63
+ wheels = [f for f in files if f["filename"].endswith(".whl") and fits_platform(f["filename"])]
64
+ exact = [f for f in wheels if f"-{cp}-" in f["filename"]]
65
+ abi3 = [f for f in wheels if "abi3" in f["filename"]]
66
+ pure = [f for f in wheels if "none-any" in f["filename"]]
67
+ for group in (exact, abi3, pure):
68
+ if group:
69
+ return group[0]
70
+ sdists = [f for f in files if f["packagetype"] == "sdist"]
71
+ return sdists[0] if sdists else None
72
+
73
+
74
+ def opener(direct):
75
+ if direct:
76
+ return urllib.request.build_opener(urllib.request.ProxyHandler({}))
77
+ return urllib.request.build_opener()
78
+
79
+
80
+ def lookup(package, cp, words):
81
+ with opener(False).open(f"https://pypi.org/pypi/{urllib.parse.quote(package)}/json", timeout=20) as r:
82
+ data = json.load(r)
83
+ f = pick_file(data.get("urls") or [], cp, words)
84
+ return data["info"]["version"], f
85
+
86
+
87
+ def probe(url, direct):
88
+ """Bytes per second for the first PROBE_BYTES of url, or None."""
89
+ req = urllib.request.Request(url, headers={"Range": f"bytes=0-{PROBE_BYTES - 1}", "User-Agent": "pkgnet-probe"})
90
+ start = time.time()
91
+ got = 0
92
+ try:
93
+ with opener(direct).open(req, timeout=PROBE_SECONDS) as r:
94
+ while got < PROBE_BYTES and time.time() - start < PROBE_SECONDS:
95
+ chunk = r.read(65536)
96
+ if not chunk:
97
+ break
98
+ got += len(chunk)
99
+ except Exception:
100
+ return None
101
+ elapsed = time.time() - start
102
+ return got / elapsed if got >= 64 * 1024 and elapsed > 0 else None
103
+
104
+
105
+ def main():
106
+ ap = argparse.ArgumentParser()
107
+ ap.add_argument("packages", nargs="*")
108
+ ap.add_argument("--python", default=sys.executable)
109
+ ap.add_argument("--json", action="store_true")
110
+ args = ap.parse_args()
111
+
112
+ proxy = any(os.environ.get(k) for k in ("HTTPS_PROXY", "https_proxy", "ALL_PROXY", "all_proxy"))
113
+ cp, words = target_tags(args.python)
114
+ files = []
115
+ for pkg in args.packages:
116
+ try:
117
+ version, f = lookup(pkg, cp, words)
118
+ except Exception as e:
119
+ files.append({"package": pkg, "error": f"PyPI lookup failed: {e}"})
120
+ continue
121
+ if not f:
122
+ files.append({"package": pkg, "version": version, "error": "no file found"})
123
+ continue
124
+ files.append({"package": pkg, "version": version, "filename": f["filename"], "mb": f["size"] / 1e6, "url": f["url"]})
125
+
126
+ sized = [f for f in files if "url" in f]
127
+ total_mb = sum(f["mb"] for f in sized)
128
+ routes = []
129
+ probe_url = max(sized, key=lambda f: f["mb"])["url"] if sized else None
130
+ if probe_url is None:
131
+ # Package names unknown (e.g. -r requirements.txt): measure the routes on pip's own wheel.
132
+ try:
133
+ probe_url = lookup("pip", cp, words)[1]["url"]
134
+ except Exception:
135
+ probe_url = None
136
+ if probe_url:
137
+ path = probe_url.split("/packages/", 1)[1]
138
+ jobs = []
139
+ for name, index, base in INDEXES:
140
+ for direct in ([False, True] if proxy else [False]):
141
+ label = f"{name}{' (direct)' if direct else (' (proxy)' if proxy else '')}"
142
+ jobs.append((label, name, index, base + path, direct))
143
+ with concurrent.futures.ThreadPoolExecutor(len(jobs)) as pool:
144
+ speeds = list(pool.map(lambda j: probe(j[3], j[4]), jobs))
145
+ for (label, name, index, _url, direct), bps in zip(jobs, speeds):
146
+ routes.append({"route": label, "index": index, "direct": direct, "kb_s": round(bps / 1024) if bps else None,
147
+ "minutes": round(total_mb * 1e6 / bps / 60, 1) if bps and total_mb else None})
148
+ ok = sorted([r for r in routes if r["kb_s"]], key=lambda r: -r["kb_s"])
149
+ best = ok[0] if ok else None
150
+ ask = bool(best is None or total_mb >= ASK_MB or (best["minutes"] or 0) > ASK_MINUTES)
151
+
152
+ pkgs = " ".join(args.packages)
153
+ command = None
154
+ if best:
155
+ prefix = "env -u HTTPS_PROXY -u HTTP_PROXY -u https_proxy -u http_proxy -u ALL_PROXY -u all_proxy " if best["direct"] else ""
156
+ index = "" if best["index"] == INDEXES[0][1] else f" --index-url {best['index']}"
157
+ command = f"{prefix}uv pip install --python {args.python}{index} {pkgs}"
158
+ result = {"target": {"python": args.python, "tag": cp, "platform": words}, "files": files, "total_mb": round(total_mb, 1),
159
+ "routes": routes, "best": best, "ask_researcher_first": ask, "command": command}
160
+ if args.json:
161
+ print(json.dumps(result, ensure_ascii=False, indent=2))
162
+ return
163
+ print(f"target: {args.python} ({cp}, {' '.join(words)})")
164
+ for f in files:
165
+ print(f" {f['package']}: " + (f"{f['version']} {f['filename']} {f['mb']:.1f} MB" if "mb" in f else f.get("error", "")))
166
+ print(f"total (named packages only; dependencies come on top): {total_mb:.1f} MB")
167
+ for r in routes:
168
+ print(f" {r['route']:<16} " + (f"{r['kb_s']:>6} KB/s ~{r['minutes']} min" if r["kb_s"] else " failed or too slow"))
169
+ if best:
170
+ print(f"fastest: {best['route']} ~{best['minutes']} min")
171
+ print(f"command: {command}")
172
+ else:
173
+ print("no route worked: report this to the researcher; do not start the install")
174
+ print("ask the researcher first: " + ("YES" if ask else "no"))
175
+
176
+
177
+ if __name__ == "__main__":
178
+ main()
@@ -118,7 +118,7 @@
118
118
  "id": "mne-mcp",
119
119
  "name": "MNE MCP",
120
120
  "stage": "神经生理",
121
- "description": "为 EEG、MEG、iEEG、fNIRS 等 MNE-Python 分析提供受控工具;也可经 /biosignal 能力包与配套 Skill 一并安装配置。",
121
+ "description": "为 EEG、MEG、iEEG、fNIRS 等 MNE-Python 分析提供受控工具;也可经 /mcp biosignal 能力包与配套 Skill 一并安装配置。",
122
122
  "sourceRef": "https://github.com/Exekiel179/MNE-MCP",
123
123
  "transport": "stdio",
124
124
  "risk": "local-data-and-compute",
@@ -1,16 +0,0 @@
1
- export declare const CHOICE_RECORD_SCHEMA: "psyclaw/choice-record/v1";
2
- export type ChoiceRecordSource = "tool" | "free-text";
3
- export interface ChoiceRecordInput {
4
- prompt: string;
5
- originalResponse: string;
6
- selectedIds: string[];
7
- selectedLabels: string[];
8
- source: ChoiceRecordSource;
9
- context?: string;
10
- }
11
- export interface ChoiceRecord extends ChoiceRecordInput {
12
- schemaVersion: typeof CHOICE_RECORD_SCHEMA;
13
- id: string;
14
- recordedAt: string;
15
- }
16
- export declare function appendChoiceRecord(root: string, input: ChoiceRecordInput): Promise<ChoiceRecord>;
@@ -1,25 +0,0 @@
1
- import { randomUUID } from "node:crypto";
2
- import { appendJsonl } from "../project/jsonl.js";
3
- import { assertSafeProjectPath } from "../project/paths.js";
4
- export const CHOICE_RECORD_SCHEMA = "psyclaw/choice-record/v1";
5
- export async function appendChoiceRecord(root, input) {
6
- if (!input.prompt.trim() || !input.originalResponse.trim())
7
- throw new Error("choice prompt and original response are required");
8
- if (input.source !== "tool" && input.source !== "free-text")
9
- throw new Error("invalid choice record source");
10
- const record = {
11
- schemaVersion: CHOICE_RECORD_SCHEMA,
12
- id: `choice_${randomUUID().replaceAll("-", "")}`,
13
- prompt: input.prompt,
14
- originalResponse: input.originalResponse,
15
- selectedIds: [...input.selectedIds],
16
- selectedLabels: [...input.selectedLabels],
17
- source: input.source,
18
- ...(input.context === undefined ? {} : { context: input.context }),
19
- recordedAt: new Date().toISOString(),
20
- };
21
- const path = await assertSafeProjectPath(root, ".psyclaw/choices.jsonl");
22
- await appendJsonl(path, record);
23
- return record;
24
- }
25
- //# sourceMappingURL=choice.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"choice.js","sourceRoot":"","sources":["../../../src/research/choice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAgB,MAAM,qBAAqB,CAAC;AAE1E,MAAM,CAAC,MAAM,oBAAoB,GAAG,0BAAmC,CAAC;AAkBxE,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,IAAY,EAAE,KAAwB;IAC7E,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,IAAI,EAAE;QAAE,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;IAChI,IAAI,KAAK,CAAC,MAAM,KAAK,MAAM,IAAI,KAAK,CAAC,MAAM,KAAK,WAAW;QAAE,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAC7G,MAAM,MAAM,GAAiB;QAC3B,aAAa,EAAE,oBAAoB;QACnC,EAAE,EAAE,UAAU,UAAU,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE;QAChD,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;QACxC,WAAW,EAAE,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC;QACnC,cAAc,EAAE,CAAC,GAAG,KAAK,CAAC,cAAc,CAAC;QACzC,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,GAAG,CAAC,KAAK,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC;QAClE,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;KACrC,CAAC;IACF,MAAM,IAAI,GAAG,MAAM,qBAAqB,CAAC,IAAI,EAAE,wBAAwB,CAAC,CAAC;IACzE,MAAM,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAChC,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -1,28 +0,0 @@
1
- import { type LoadedSkill, type SkillDescriptor, type SkillDiagnostic, type SkillDiscoveryReport, type SkillRegistryOptions, type SkillSearchOptions } from "./contracts.js";
2
- type Metadata = Record<string, unknown>;
3
- interface ParsedSkill {
4
- metadata: Metadata;
5
- body: string;
6
- }
7
- /** Parse only the leading YAML document and return the Markdown body separately. */
8
- declare function parseSkillDocument(text: string, path: string): ParsedSkill;
9
- export declare class SkillRegistry {
10
- private readonly roots;
11
- private readonly approvals;
12
- private readonly entries;
13
- private readonly diagnosticLog;
14
- constructor(roots?: string[]);
15
- constructor(options?: SkillRegistryOptions);
16
- discover(roots?: string[]): Promise<SkillDiscoveryReport>;
17
- list(options?: {
18
- enabledOnly?: boolean;
19
- }): SkillDescriptor[];
20
- diagnostics(): SkillDiagnostic[];
21
- search(query: string, options?: SkillSearchOptions): SkillDescriptor[];
22
- enable(id: string): SkillDescriptor;
23
- disable(id: string): SkillDescriptor;
24
- load(id: string): Promise<LoadedSkill>;
25
- private unique;
26
- private setEnabled;
27
- }
28
- export { parseSkillDocument };