@longtable/provider-codex 0.1.63 → 0.1.65
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 +8 -0
- package/package.json +4 -4
package/dist/skills.js
CHANGED
|
@@ -437,6 +437,13 @@ function mustAskQuestionsForRole(role) {
|
|
|
437
437
|
}
|
|
438
438
|
function roleSkillSpec(role, surface = "compact") {
|
|
439
439
|
const label = role.label;
|
|
440
|
+
const roleSpecificRules = role.key === "editor"
|
|
441
|
+
? [
|
|
442
|
+
"- If a target journal is named, do not claim journal fit from role intuition alone.",
|
|
443
|
+
"- Require a journal profile before fit judgment: aims/scope, author guidance, recent article pattern, and article type expectations.",
|
|
444
|
+
"- If the journal profile is missing, ask whether to run scholarly/venue search or label the fit as provisional."
|
|
445
|
+
]
|
|
446
|
+
: [];
|
|
440
447
|
return {
|
|
441
448
|
name: skillNameForRole(role, surface),
|
|
442
449
|
description: `Use the LongTable ${label} role: ${role.shortDescription}`,
|
|
@@ -480,6 +487,7 @@ function roleSkillSpec(role, surface = "compact") {
|
|
|
480
487
|
`- Disclose: \`LongTable consulted: ${label}\`.`,
|
|
481
488
|
"- Keep the role grounded in the user's research object and project state.",
|
|
482
489
|
"- Do not invent a separate role definition; this skill is an adapter generated from the LongTable role registry.",
|
|
490
|
+
...roleSpecificRules,
|
|
483
491
|
"- If evidence is needed, ask whether the researcher wants scholarly search or citation verification.",
|
|
484
492
|
"- If the role's judgment would change the project direction, ask a Researcher Checkpoint before closure."
|
|
485
493
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@longtable/provider-codex",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.65",
|
|
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.65",
|
|
19
|
+
"@longtable/core": "0.1.65",
|
|
20
|
+
"@longtable/setup": "0.1.65"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^22.10.1",
|