@longtable/provider-codex 0.1.55 → 0.1.57
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 +20 -12
- package/package.json +4 -4
package/dist/skills.js
CHANGED
|
@@ -66,7 +66,7 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
66
66
|
"- `$longtable-start` runs the provider-native LongTable start interview. It replaces the old CLI start questionnaire as the primary research-start surface.",
|
|
67
67
|
"- `$longtable-interview` is post-start. If `.longtable/state.json` or `CURRENT.md` lacks a usable Research Specification, route to `$longtable-start` before offering option-first follow-up choices.",
|
|
68
68
|
"- Natural references to methods, measurement, theory, reviewer, editor, ethics, venue, or voice should foreground the matching LongTable role.",
|
|
69
|
-
"- The compact visible shortcut set is methods, measure, theory, reviewer, and voice. Other roles remain available through this router when the request calls for them.",
|
|
69
|
+
"- The compact visible shortcut set is panel, methods, measure, theory, reviewer, and voice. Other roles remain available through this router when the request calls for them.",
|
|
70
70
|
"- When research responsibility is about to shift, surface a Researcher Checkpoint before closure.",
|
|
71
71
|
"- When changing LongTable product language, README positioning, or checkpoint policy, surface a Meta-Decision Checkpoint first.",
|
|
72
72
|
"- Stop before acting when the request would change the research question/scope, theory frame, measurement/coding standard, method design, or analysis strategy.",
|
|
@@ -101,8 +101,9 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
101
101
|
"- For `$longtable-start`, use natural-language turns for the interview and reserve MCP option UI for the final research-facing Research Specification checkpoint; First Research Shape is only a shorter handle/resume layer.",
|
|
102
102
|
"- 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.",
|
|
103
103
|
"- 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.",
|
|
104
|
-
"-
|
|
105
|
-
"-
|
|
104
|
+
"- In attached tmux Codex sessions where the OMX question renderer is available, use the tmux popup first for researcher checkpoints; if it cannot run, disclose that transport degradation before falling back.",
|
|
105
|
+
"- When the `mcp__longtable_state__.elicit_question` tool is available, use it after the tmux popup path, or first when tmux popup is unavailable, so Codex can show the MCP elicitation UI and LongTable can record the answer as `mcp_elicitation`.",
|
|
106
|
+
"- Use `longtable question --print --provider codex --prompt \"...\"` only as a fallback when tmux popup and MCP elicitation are unavailable, unsupported, declined, canceled, or blocked by the client.",
|
|
106
107
|
"- If `CURRENT.md` shows a pending required checkpoint, ask the researcher for a selection and wait. Do not choose or record `longtable decide --question <id> --answer <value>` unless the researcher explicitly provides that value.",
|
|
107
108
|
"- Preserve open tensions and authorship instead of forcing closure.",
|
|
108
109
|
"- Label unsupported external claims as inference or estimate."
|
|
@@ -269,19 +270,18 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
269
270
|
"",
|
|
270
271
|
"## Option UI Policy",
|
|
271
272
|
"",
|
|
272
|
-
"- Use
|
|
273
|
+
"- Use attached-tmux popup transport first for Codex terminal sessions when the OMX renderer is available.",
|
|
274
|
+
"- Use MCP/native structured elicitation when available after the popup path, or first when no attached tmux popup can run.",
|
|
273
275
|
"- Use terminal selector only when the runtime has interactive TTY support.",
|
|
274
276
|
"- Use numbered/plain text fallback when structured UI is unavailable.",
|
|
275
277
|
"- Treat UI as transport. The durable product contract remains `QuestionRecord -> DecisionRecord`.",
|
|
276
|
-
"- Do not
|
|
278
|
+
"- Do not copy OMX renderer code or make OMX runtime state the LongTable contract; disclose no-tmux degradation and provide fallback.",
|
|
277
279
|
"",
|
|
278
280
|
"## Fallback",
|
|
279
281
|
"",
|
|
280
282
|
"If MCP tools are unavailable, continue in Codex with explicit options and state that durable LongTable state could not be written."
|
|
281
283
|
]
|
|
282
|
-
}
|
|
283
|
-
];
|
|
284
|
-
const fullOnly = [
|
|
284
|
+
},
|
|
285
285
|
{
|
|
286
286
|
name: "longtable-panel",
|
|
287
287
|
description: "Use when LongTable should run a panel review with visible role disagreement.",
|
|
@@ -310,11 +310,19 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
310
310
|
"",
|
|
311
311
|
"- Do not collapse disagreement too early.",
|
|
312
312
|
"- Use a Researcher Checkpoint before treating a high-stakes research decision as settled.",
|
|
313
|
-
"-
|
|
314
|
-
"-
|
|
315
|
-
"-
|
|
313
|
+
"- `longtable panel --provider codex --native-workers` should be tried first for Codex panel execution when attached tmux and `codex` are available; add `--wait <ms>` when a bounded command should wait for terminal result files. `--native-subagents` remains a compatibility adapter for provider-native subagents.",
|
|
314
|
+
"- If terminal native workers are unavailable and Codex native subagents/Agents are available, use them as the provider-native execution adapter; if not, run the same roles sequentially and disclose the fallback.",
|
|
315
|
+
"- Sequential fallback is always the stable degradation path; native workers and native subagents must normalize final role outputs back into `PanelResult`.",
|
|
316
|
+
"- Do not use OMX `$team` or worker vocabulary as the LongTable product contract. LongTable panel records are the source of truth.",
|
|
317
|
+
"- For panel checkpoints, prefer attached-tmux popup transport when available, then `mcp__longtable_state__.elicit_question`, then numbered fallback.",
|
|
318
|
+
"- Use `longtable question --print --provider codex --prompt \"...\"` only as the numbered fallback when popup transport and MCP elicitation are unavailable or not accepted.",
|
|
319
|
+
"- Use `longtable panel --print --prompt \"...\"` only as an optional canonical prompt aid, not as the user's primary interface.",
|
|
320
|
+
"- Terminal native worker runs (`completed` or `blocked`) are recorded by `longtable panel --native-workers --wait`, `longtable panel status --wait`, or `longtable panel resume --wait`; blocked role outputs remain blocked in the handoff. For external/provider results outside that lifecycle, persist structured role outputs with `longtable panel record --invocation <id> --result-file <json>` before generating `longtable handoff`.",
|
|
321
|
+
"- A result file should contain final role summaries, claims, objections, open questions, and evidence refs only; do not persist hidden reasoning, raw tool traces, or tmux logs."
|
|
316
322
|
]
|
|
317
|
-
}
|
|
323
|
+
}
|
|
324
|
+
];
|
|
325
|
+
const fullOnly = [
|
|
318
326
|
{
|
|
319
327
|
name: "longtable-explore",
|
|
320
328
|
description: "Use for early LongTable research exploration, problem framing, and question narrowing.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longtable/provider-codex",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.57",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Codex adapter surface for LongTable",
|
|
6
6
|
"type": "module",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@longtable/checkpoints": "0.1.
|
|
19
|
-
"@longtable/core": "0.1.
|
|
20
|
-
"@longtable/setup": "0.1.
|
|
18
|
+
"@longtable/checkpoints": "0.1.57",
|
|
19
|
+
"@longtable/core": "0.1.57",
|
|
20
|
+
"@longtable/setup": "0.1.57"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^22.10.1",
|