@longtable/provider-claude 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.
Files changed (2) hide show
  1. package/dist/skills.js +8 -0
  2. package/package.json +4 -4
package/dist/skills.js CHANGED
@@ -399,6 +399,13 @@ function mustAskQuestionsForRole(role) {
399
399
  }
400
400
  function roleSkillSpec(role, surface = "compact") {
401
401
  const label = role.label;
402
+ const roleSpecificRules = role.key === "editor"
403
+ ? [
404
+ "- If a target journal is named, do not claim journal fit from role intuition alone.",
405
+ "- Require a journal profile before fit judgment: aims/scope, author guidance, recent article pattern, and article type expectations.",
406
+ "- If the journal profile is missing, ask whether to run scholarly/venue search or label the fit as provisional."
407
+ ]
408
+ : [];
402
409
  return {
403
410
  name: skillNameForRole(role, surface),
404
411
  description: `Use the LongTable ${label} role: ${role.shortDescription}`,
@@ -443,6 +450,7 @@ function roleSkillSpec(role, surface = "compact") {
443
450
  `- Disclose: \`LongTable consulted: ${label}\`.`,
444
451
  "- Keep the role grounded in the user's research object and project state.",
445
452
  "- Do not invent a separate role definition; this skill is an adapter generated from the LongTable role registry.",
453
+ ...roleSpecificRules,
446
454
  "- If evidence is needed, ask whether the researcher wants scholarly search or citation verification.",
447
455
  "- If the role's judgment would change the project direction, ask a Researcher Checkpoint before closure."
448
456
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longtable/provider-claude",
3
- "version": "0.1.63",
3
+ "version": "0.1.65",
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.63",
25
- "@longtable/core": "0.1.63",
26
- "@longtable/setup": "0.1.63"
24
+ "@longtable/checkpoints": "0.1.65",
25
+ "@longtable/core": "0.1.65",
26
+ "@longtable/setup": "0.1.65"
27
27
  },
28
28
  "devDependencies": {
29
29
  "typescript": "^5.6.0"