@longtable/provider-codex 0.1.57 → 0.1.59
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/index.js +1 -1
- package/dist/skills.js +8 -10
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ export const CODEX_PROVIDER_CAPABILITIES = {
|
|
|
14
14
|
"Installed prompt files are not guaranteed to become slash commands in current Codex builds.",
|
|
15
15
|
"Native parallel subagents may exist in an interactive session, but the npm CLI must not require them.",
|
|
16
16
|
"Sequential panel fallback is the stable provider-neutral path.",
|
|
17
|
-
"
|
|
17
|
+
"Attached tmux sessions can use a LongTable-owned tmux_popup renderer first; MCP elicitation and numbered prompts remain fallback transports."
|
|
18
18
|
]
|
|
19
19
|
};
|
|
20
20
|
export function getCodexProviderCapabilities() {
|
package/dist/skills.js
CHANGED
|
@@ -101,9 +101,8 @@ 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
|
-
"-
|
|
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.",
|
|
104
|
+
"- When the `mcp__longtable_state__.elicit_question` tool is available, use it first for researcher checkpoints so Codex can show the MCP elicitation UI and LongTable can record the answer as `mcp_elicitation`.",
|
|
105
|
+
"- Use `longtable question --print --provider codex --prompt \"...\"` only as a fallback when the MCP tool is unavailable, unsupported, declined, canceled, or blocked by the client.",
|
|
107
106
|
"- 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.",
|
|
108
107
|
"- Preserve open tensions and authorship instead of forcing closure.",
|
|
109
108
|
"- Label unsupported external claims as inference or estimate."
|
|
@@ -270,12 +269,11 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
270
269
|
"",
|
|
271
270
|
"## Option UI Policy",
|
|
272
271
|
"",
|
|
273
|
-
"- Use
|
|
274
|
-
"- Use MCP/native structured elicitation when available after the popup path, or first when no attached tmux popup can run.",
|
|
272
|
+
"- Use MCP/native structured elicitation when available.",
|
|
275
273
|
"- Use terminal selector only when the runtime has interactive TTY support.",
|
|
276
274
|
"- Use numbered/plain text fallback when structured UI is unavailable.",
|
|
277
275
|
"- Treat UI as transport. The durable product contract remains `QuestionRecord -> DecisionRecord`.",
|
|
278
|
-
"- Do not
|
|
276
|
+
"- Do not require tmux. If a future Codex popup transport is tmux-only, label it as optional and provide fallback.",
|
|
279
277
|
"",
|
|
280
278
|
"## Fallback",
|
|
281
279
|
"",
|
|
@@ -310,12 +308,12 @@ function baseSkillSpecs(surface = "compact") {
|
|
|
310
308
|
"",
|
|
311
309
|
"- Do not collapse disagreement too early.",
|
|
312
310
|
"- Use a Researcher Checkpoint before treating a high-stakes research decision as settled.",
|
|
313
|
-
"- `longtable panel --provider codex --native-workers`
|
|
314
|
-
"- If
|
|
311
|
+
"- `longtable panel --provider codex --native-workers` may launch durable LongTable-native role workers when the CLI/runtime supports it; add `--wait <ms>` when a bounded command should wait for terminal result files. `--native-subagents` remains a compatibility adapter for provider-native subagents.",
|
|
312
|
+
"- If Codex native subagents are available, they may be used as a provider-native execution adapter; if not, run the same roles sequentially and disclose the fallback.",
|
|
315
313
|
"- Sequential fallback is always the stable degradation path; native workers and native subagents must normalize final role outputs back into `PanelResult`.",
|
|
316
314
|
"- Do not use OMX `$team` or worker vocabulary as the LongTable product contract. LongTable panel records are the source of truth.",
|
|
317
|
-
"-
|
|
318
|
-
"- Use `longtable question --print --provider codex --prompt \"...\"` only as the numbered fallback when
|
|
315
|
+
"- If the `mcp__longtable_state__.elicit_question` tool is available, prefer it for the panel checkpoint before synthesizing or revising.",
|
|
316
|
+
"- Use `longtable question --print --provider codex --prompt \"...\"` only as the numbered fallback when MCP elicitation is unavailable or not accepted.",
|
|
319
317
|
"- Use `longtable panel --print --prompt \"...\"` only as an optional canonical prompt aid, not as the user's primary interface.",
|
|
320
318
|
"- 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
319
|
"- 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."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longtable/provider-codex",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.59",
|
|
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.59",
|
|
19
|
+
"@longtable/core": "0.1.59",
|
|
20
|
+
"@longtable/setup": "0.1.59"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^22.10.1",
|