@longtable/provider-claude 0.1.50 → 0.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/skills.js +47 -6
- package/package.json +4 -4
package/dist/skills.js
CHANGED
|
@@ -57,7 +57,8 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
57
57
|
"- `longtable: deploy a research team to review this measurement plan, show the main disagreements, and ask me what decision should be recorded before you revise it.`",
|
|
58
58
|
"- `longtable: use editor, reviewer, methods, measurement, and voice perspectives to evaluate this manuscript section. Do not collapse disagreement too early.`",
|
|
59
59
|
"- `$longtable-methods`, `$longtable-measure`, `$longtable-theory`, `$longtable-reviewer`, or `$longtable-voice` when the researcher explicitly wants that shortcut.",
|
|
60
|
-
"- `$longtable-
|
|
60
|
+
"- `$longtable-start` to create or continue the first research-start interview.",
|
|
61
|
+
"- `$longtable-interview` to run a structured follow-up interview after a Research Specification exists.",
|
|
61
62
|
"",
|
|
62
63
|
"## Rules",
|
|
63
64
|
"",
|
|
@@ -66,7 +67,8 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
66
67
|
"- Prefer natural language over asking the researcher to run shell role commands.",
|
|
67
68
|
"- For systematic review, meta-analysis, PDF collection, full-text extraction, institutionally licensed sources, or TDM work, ensure `longtable access setup` readiness exists or surface an ACCESS CHECKPOINT before continuing.",
|
|
68
69
|
"- Access setup records capability status only. The researcher handles VPN/proxy/library/SSO login directly; LongTable must not store passwords, API keys, tokens, PDFs, or full text in setup state.",
|
|
69
|
-
"- For `$longtable-
|
|
70
|
+
"- For `$longtable-start`, use natural-language turns for the interview and reserve structured options for final Research Specification confirmation; First Research Shape is only a shorter handle/resume layer.",
|
|
71
|
+
"- For `$longtable-interview`, use option-first follow-up choices only after a usable Research Specification exists. Always include an escape hatch such as Other, free text, or one open follow-up question.",
|
|
70
72
|
"- Do not let unrelated pending Researcher Checkpoints interrupt the interview. Mention them only as separate unresolved checkpoints, and treat them as blocking only when the researcher is confirming, saving, or recording a research decision.",
|
|
71
73
|
"- If a Researcher Checkpoint is needed, ask a short structured question with meaningful options and wait for the researcher.",
|
|
72
74
|
"- If changing LongTable product language, README positioning, or checkpoint policy, ask a Meta-Decision Checkpoint first.",
|
|
@@ -98,14 +100,20 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
98
100
|
]
|
|
99
101
|
},
|
|
100
102
|
{
|
|
101
|
-
name: "longtable-
|
|
102
|
-
description: "Use for `$longtable-
|
|
103
|
-
triggers: ["$longtable-
|
|
103
|
+
name: "longtable-start",
|
|
104
|
+
description: "Use for `$longtable-start`: create or continue a LongTable research-start interview inside Claude Code, then store a Research Specification through MCP/state, with First Research Shape kept as an optional short handle layer.",
|
|
105
|
+
triggers: ["$longtable-start", "longtable start", "start research interview", "first research shape"],
|
|
104
106
|
body: [
|
|
105
107
|
"## Purpose",
|
|
106
108
|
"",
|
|
107
109
|
"Run the LongTable research-start interview inside Claude Code. This is the primary project-start surface; CLI setup only prepares runtime permissions.",
|
|
108
110
|
"",
|
|
111
|
+
"## Required Routing",
|
|
112
|
+
"",
|
|
113
|
+
"- Use this flow when the user invokes `$longtable-start`.",
|
|
114
|
+
"- Use this flow when the user invokes `$longtable-interview` but the workspace has no usable Research Specification.",
|
|
115
|
+
"- If only a First Research Shape exists, continue into the next Research Specification question or preview before any option-only follow-up interview.",
|
|
116
|
+
"",
|
|
109
117
|
"## Flow",
|
|
110
118
|
"",
|
|
111
119
|
"1. Check whether `.longtable/` exists in the current directory or a parent.",
|
|
@@ -193,6 +201,39 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
193
201
|
"If a confirmed First Research Shape already exists but no Research Specification exists, continue directly into the next Research Specification question or preview. Ask continue/revise/restart only when the researcher explicitly wants to change the short handle or restart the interview."
|
|
194
202
|
]
|
|
195
203
|
},
|
|
204
|
+
{
|
|
205
|
+
name: "longtable-interview",
|
|
206
|
+
description: "Use for `$longtable-interview`: run an option-first LongTable follow-up interview after a usable Research Specification exists; route to `$longtable-start` when no spec exists.",
|
|
207
|
+
triggers: ["$longtable-interview", "longtable interview", "follow-up research interview", "research specification interview"],
|
|
208
|
+
body: [
|
|
209
|
+
"## Purpose",
|
|
210
|
+
"",
|
|
211
|
+
"Run a post-start LongTable interview inside Claude Code. This skill is for structured follow-up decisions after the research has a usable Research Specification.",
|
|
212
|
+
"",
|
|
213
|
+
"## Required Routing",
|
|
214
|
+
"",
|
|
215
|
+
"- First inspect `CURRENT.md` and `.longtable/state.json` when available.",
|
|
216
|
+
"- If no usable Research Specification exists, route to `$longtable-start` immediately.",
|
|
217
|
+
"- If only a First Research Shape exists, route to `$longtable-start` and continue into the next Research Specification question or preview.",
|
|
218
|
+
"- Do not run an option-only interview before the Research Specification exists.",
|
|
219
|
+
"",
|
|
220
|
+
"## Flow",
|
|
221
|
+
"",
|
|
222
|
+
"1. Read the current Research Specification and identify the decision or section being interviewed.",
|
|
223
|
+
"2. Present a small option-first choice set tied to the current specification.",
|
|
224
|
+
"3. Include an escape hatch such as `Other`, free text, or `ask one open question first`.",
|
|
225
|
+
"4. If the answer changes the specification, propose or apply a Research Specification patch through MCP/state when available.",
|
|
226
|
+
"5. Record the resulting decision as a `DecisionRecord` or explicit open tension; never silently overwrite conflicting research commitments.",
|
|
227
|
+
"",
|
|
228
|
+
"## Option UI Policy",
|
|
229
|
+
"",
|
|
230
|
+
"- Use MCP/native structured elicitation when available.",
|
|
231
|
+
"- Use terminal selector only when the runtime has interactive TTY support.",
|
|
232
|
+
"- Use numbered/plain text fallback when structured UI is unavailable.",
|
|
233
|
+
"- Treat UI as transport. The durable product contract remains `QuestionRecord -> DecisionRecord`.",
|
|
234
|
+
"- Do not require tmux. If a future Codex popup transport is tmux-only, label it as optional and provide fallback."
|
|
235
|
+
]
|
|
236
|
+
},
|
|
196
237
|
{
|
|
197
238
|
name: "longtable-panel",
|
|
198
239
|
description: "Use when a research decision needs visible disagreement from multiple LongTable roles.",
|
|
@@ -261,7 +302,7 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
261
302
|
];
|
|
262
303
|
return surface === "full"
|
|
263
304
|
? specs
|
|
264
|
-
: specs.filter((spec) => spec.name === "longtable" || spec.name === "longtable-interview");
|
|
305
|
+
: specs.filter((spec) => spec.name === "longtable" || spec.name === "longtable-start" || spec.name === "longtable-interview");
|
|
265
306
|
}
|
|
266
307
|
function mustAskQuestionsForRole(role) {
|
|
267
308
|
const common = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longtable/provider-claude",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.52",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Claude adapter surface for LongTable",
|
|
6
6
|
"type": "module",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@longtable/checkpoints": "0.1.
|
|
25
|
-
"@longtable/core": "0.1.
|
|
26
|
-
"@longtable/setup": "0.1.
|
|
24
|
+
"@longtable/checkpoints": "0.1.52",
|
|
25
|
+
"@longtable/core": "0.1.52",
|
|
26
|
+
"@longtable/setup": "0.1.52"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"typescript": "^5.6.0"
|