@litfamily/litcodex 1.0.4 → 1.0.6

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 (83) hide show
  1. package/README.md +112 -75
  2. package/dist/cli-model-route.js +27 -27
  3. package/dist/cli.js +6 -4
  4. package/dist/config-migration/catalog.d.ts +40 -1
  5. package/dist/config-migration/catalog.js +202 -57
  6. package/dist/config-migration/cli.d.ts +2 -1
  7. package/dist/config-migration/cli.js +34 -32
  8. package/dist/config-migration/gpt56-policy.d.ts +19 -10
  9. package/dist/config-migration/gpt56-policy.js +92 -50
  10. package/dist/config-migration/index.d.ts +2 -0
  11. package/dist/config-migration/index.js +28 -10
  12. package/dist/install/doctor-config.js +5 -5
  13. package/dist/install/doctor-render.js +16 -16
  14. package/dist/install/doctor.js +2 -2
  15. package/dist/install/execute.js +5 -4
  16. package/dist/install/generated-skill-payload-hashes.d.ts +30 -3
  17. package/dist/install/generated-skill-payload-hashes.js +30 -3
  18. package/dist/install/host-capabilities.d.ts +3 -4
  19. package/dist/install/host-capabilities.js +17 -19
  20. package/dist/install/install-model-prompt.js +44 -26
  21. package/dist/install/install-options.js +41 -46
  22. package/dist/install/install-presentation.js +2 -1
  23. package/dist/install/skill-catalog.d.ts +1 -1
  24. package/dist/install/skill-catalog.js +6 -1
  25. package/dist/install/skill-resource-hashes.d.ts +1 -1
  26. package/dist/install/skill-resource-hashes.js +1 -1
  27. package/dist/install/uninstall.js +6 -7
  28. package/marketplace/plugins/litcodex/.codex-plugin/plugin.json +1 -1
  29. package/marketplace/plugins/litcodex/components/auto-update/package.json +1 -1
  30. package/marketplace/plugins/litcodex/components/comment-checker/package.json +1 -1
  31. package/marketplace/plugins/litcodex/components/git-bash/package.json +1 -1
  32. package/marketplace/plugins/litcodex/components/lit-loop/agents/litcodex-default.toml +1 -1
  33. package/marketplace/plugins/litcodex/components/lit-loop/agents/litcodex-explorer.toml +1 -1
  34. package/marketplace/plugins/litcodex/components/lit-loop/agents/litcodex-librarian.toml +1 -1
  35. package/marketplace/plugins/litcodex/components/lit-loop/agents/litcodex-metis.toml +1 -1
  36. package/marketplace/plugins/litcodex/components/lit-loop/directives/litwork.md +1 -1
  37. package/marketplace/plugins/litcodex/components/lit-loop/package.json +1 -1
  38. package/marketplace/plugins/litcodex/components/lsp/package.json +1 -1
  39. package/marketplace/plugins/litcodex/components/rules/dist/model-metadata.d.ts +2 -1
  40. package/marketplace/plugins/litcodex/components/rules/dist/model-metadata.js +9 -1
  41. package/marketplace/plugins/litcodex/components/rules/package.json +1 -1
  42. package/marketplace/plugins/litcodex/components/start-work-continuation/package.json +1 -1
  43. package/marketplace/plugins/litcodex/components/telemetry/package.json +1 -1
  44. package/marketplace/plugins/litcodex/components/wikify-knowledge/package.json +1 -1
  45. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/SKILL.md +22 -19
  46. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/canonical-library.md +7 -1
  47. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/complete-contract.md +17 -11
  48. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/default-editorial-pixel.json +64 -0
  49. package/marketplace/plugins/litcodex/skills/frontend-ui-ux/references/production-interview.md +25 -0
  50. package/marketplace/plugins/litcodex/skills/readme-studio/SKILL.md +94 -0
  51. package/marketplace/plugins/litcodex/skills/readme-studio/references/decoration-patterns.md +36 -0
  52. package/marketplace/plugins/litcodex/skills/readme-studio/references/facts-and-assembly.md +36 -0
  53. package/marketplace/plugins/litcodex/skills/readme-studio/references/motion-and-delivery.md +47 -0
  54. package/marketplace/plugins/litcodex/skills/readme-studio/references/typography-and-imagery.md +34 -0
  55. package/marketplace/plugins/litcodex/skills/readme-studio/scripts/validate-readme-facts.mjs +130 -0
  56. package/marketplace/plugins/litcodex/skills/readme-studio/templates/cover-source.json +35 -0
  57. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/index.html +61 -0
  58. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/index.motion.json +6 -0
  59. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/package-lock.json +1969 -0
  60. package/marketplace/plugins/litcodex/skills/readme-studio/templates/hyperframes-cover/package.json +14 -0
  61. package/marketplace/plugins/litcodex/skills/readme-studio/templates/readme-cover-section.md +85 -0
  62. package/marketplace/plugins/litcodex/skills/readme-studio/templates/readme-facts.json +11 -0
  63. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/package-lock.json +3783 -0
  64. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/package.json +15 -0
  65. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/ReadmeCover.tsx +102 -0
  66. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/Root.tsx +48 -0
  67. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/index.tsx +4 -0
  68. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/layout.ts +35 -0
  69. package/marketplace/plugins/litcodex/skills/readme-studio/templates/remotion-cover/src/motion.ts +25 -0
  70. package/marketplace/plugins/litcodex/skills/readme-studio/templates/typography/package-lock.json +133 -0
  71. package/marketplace/plugins/litcodex/skills/readme-studio/templates/typography/package.json +8 -0
  72. package/marketplace/plugins/litcodex/skills/readme-studio/templates/typography/shape-text-to-svg.mjs +238 -0
  73. package/model-catalog.json +163 -4
  74. package/node_modules/@litcodex/lit-loop/agents/litcodex-default.toml +1 -1
  75. package/node_modules/@litcodex/lit-loop/agents/litcodex-explorer.toml +1 -1
  76. package/node_modules/@litcodex/lit-loop/agents/litcodex-librarian.toml +1 -1
  77. package/node_modules/@litcodex/lit-loop/agents/litcodex-metis.toml +1 -1
  78. package/node_modules/@litcodex/lit-loop/directives/litwork.md +1 -1
  79. package/node_modules/@litcodex/lit-loop/package.json +1 -1
  80. package/package.json +2 -2
  81. package/readme-assets/badge-version.svg +1 -1
  82. package/readme-assets/cover-motion-still.webp +0 -0
  83. package/readme-assets/litfamily-machines.png +0 -0
@@ -4,12 +4,171 @@
4
4
  "model": "gpt-6-astra",
5
5
  "model_reasoning_effort": "xhigh"
6
6
  },
7
+ "models": [
8
+ {
9
+ "id": "gpt-6-astra",
10
+ "config_profile": "astra",
11
+ "display_name": "GPT-6 Astra",
12
+ "generation": "gpt-6",
13
+ "priority": 1,
14
+ "visibility": "list",
15
+ "supported_in_api": true,
16
+ "speed_tier": "fast",
17
+ "aliases": ["astra"],
18
+ "supported_efforts": ["low", "medium", "high", "xhigh", "max", "ultra"],
19
+ "configurable_efforts": ["low", "medium", "high", "xhigh", "max", "ultra"],
20
+ "installer_menu": {
21
+ "lead": ["xhigh", "low", "medium", "high", "max", "ultra"],
22
+ "helper": ["low", "medium", "high", "xhigh", "max", "ultra"]
23
+ },
24
+ "default_effort": "medium",
25
+ "recommended_role": "lead",
26
+ "recommended_effort": "xhigh"
27
+ },
28
+ {
29
+ "id": "gpt-6-sol",
30
+ "config_profile": "sol",
31
+ "display_name": "GPT-6 Sol",
32
+ "generation": "gpt-6",
33
+ "priority": 2,
34
+ "visibility": "list",
35
+ "supported_in_api": true,
36
+ "speed_tier": "fast",
37
+ "aliases": [],
38
+ "supported_efforts": ["low", "medium", "high", "xhigh", "max", "ultra"],
39
+ "configurable_efforts": ["low", "medium", "high", "xhigh", "max", "ultra"],
40
+ "installer_menu": {
41
+ "lead": ["xhigh", "low", "medium", "high", "max", "ultra"],
42
+ "helper": ["low", "medium", "high", "xhigh", "max", "ultra"]
43
+ },
44
+ "default_effort": "medium",
45
+ "recommended_role": "coding-lead",
46
+ "recommended_effort": "xhigh"
47
+ },
48
+ {
49
+ "id": "gpt-6-luna",
50
+ "config_profile": "luna",
51
+ "display_name": "GPT-6 Luna",
52
+ "generation": "gpt-6",
53
+ "priority": 3,
54
+ "visibility": "list",
55
+ "supported_in_api": true,
56
+ "speed_tier": "fast",
57
+ "aliases": [],
58
+ "supported_efforts": ["low", "medium", "high", "xhigh", "max"],
59
+ "configurable_efforts": ["low", "medium", "high", "xhigh", "max"],
60
+ "installer_menu": {
61
+ "lead": ["max", "low", "medium", "high", "xhigh"],
62
+ "helper": ["max", "high", "low", "medium", "xhigh"]
63
+ },
64
+ "default_effort": "medium",
65
+ "recommended_role": "helper",
66
+ "recommended_effort": "max"
67
+ },
68
+ {
69
+ "id": "gpt-5.6-sol",
70
+ "config_profile": "sol",
71
+ "display_name": "GPT-5.6 Sol",
72
+ "generation": "gpt-5.6",
73
+ "priority": 4,
74
+ "visibility": "list",
75
+ "supported_in_api": true,
76
+ "speed_tier": "standard",
77
+ "aliases": ["sol"],
78
+ "supported_efforts": ["low", "medium", "high", "xhigh", "max", "ultra"],
79
+ "configurable_efforts": ["high", "xhigh", "max"],
80
+ "installer_menu": { "lead": ["xhigh"], "helper": ["high"] },
81
+ "default_effort": "low",
82
+ "recommended_role": "previous-generation",
83
+ "recommended_effort": "xhigh"
84
+ },
85
+ {
86
+ "id": "gpt-5.6",
87
+ "config_profile": "sol",
88
+ "legacy_profile": "sol",
89
+ "context_probe": true,
90
+ "display_name": "GPT-5.6",
91
+ "generation": "gpt-5.6",
92
+ "priority": 5,
93
+ "visibility": "list",
94
+ "supported_in_api": true,
95
+ "speed_tier": "standard",
96
+ "aliases": [],
97
+ "supported_efforts": ["high", "xhigh", "max"],
98
+ "configurable_efforts": ["high", "xhigh", "max"],
99
+ "installer_menu": { "lead": [], "helper": [] },
100
+ "default_effort": "high",
101
+ "recommended_role": "previous-generation",
102
+ "recommended_effort": "high"
103
+ },
104
+ {
105
+ "id": "gpt-5.6-terra",
106
+ "config_profile": "terra",
107
+ "legacy_profile": "terra",
108
+ "context_probe": true,
109
+ "display_name": "GPT-5.6 Terra",
110
+ "generation": "gpt-5.6",
111
+ "priority": 7,
112
+ "visibility": "list",
113
+ "supported_in_api": true,
114
+ "speed_tier": "standard",
115
+ "aliases": ["terra"],
116
+ "supported_efforts": ["low", "medium", "high", "xhigh", "max", "ultra"],
117
+ "configurable_efforts": ["high", "xhigh"],
118
+ "safe_existing_efforts": ["high", "xhigh"],
119
+ "installer_menu": { "lead": ["xhigh"], "helper": ["xhigh"] },
120
+ "default_effort": "medium",
121
+ "recommended_role": "previous-generation",
122
+ "recommended_effort": "xhigh"
123
+ },
124
+ {
125
+ "id": "gpt-5.6-luna",
126
+ "config_profile": "luna",
127
+ "legacy_profile": "luna",
128
+ "context_probe": true,
129
+ "display_name": "GPT-5.6 Luna",
130
+ "generation": "gpt-5.6",
131
+ "priority": 8,
132
+ "visibility": "list",
133
+ "supported_in_api": true,
134
+ "speed_tier": "standard",
135
+ "aliases": ["luna"],
136
+ "supported_efforts": ["low", "medium", "high", "xhigh", "max"],
137
+ "configurable_efforts": ["high", "max"],
138
+ "safe_existing_efforts": ["high", "max"],
139
+ "installer_menu": { "lead": ["max"], "helper": ["max"] },
140
+ "default_effort": "medium",
141
+ "recommended_role": "previous-generation",
142
+ "recommended_effort": "max"
143
+ },
144
+ {
145
+ "id": "gpt-5.5",
146
+ "config_profile": "sol",
147
+ "display_name": "GPT-5.5",
148
+ "generation": "gpt-5.5",
149
+ "priority": 12,
150
+ "visibility": "list",
151
+ "supported_in_api": true,
152
+ "speed_tier": "standard",
153
+ "aliases": [],
154
+ "supported_efforts": ["low", "medium", "high", "xhigh"],
155
+ "configurable_efforts": ["high", "xhigh"],
156
+ "installer_menu": { "lead": [], "helper": [] },
157
+ "default_effort": "medium",
158
+ "recommended_role": "retiring",
159
+ "recommended_effort": "high",
160
+ "retirement": {
161
+ "retirement_at": "2026-10-14T19:00:00Z",
162
+ "upgrade": { "model": "gpt-5.6-sol" }
163
+ }
164
+ }
165
+ ],
7
166
  "roles": {
8
- "default": { "model": "gpt-5.6-luna", "model_reasoning_effort": "max" },
9
- "explorer": { "model": "gpt-5.6-luna", "model_reasoning_effort": "max" },
10
- "librarian": { "model": "gpt-5.6-luna", "model_reasoning_effort": "max" },
167
+ "default": { "model": "gpt-6-luna", "model_reasoning_effort": "max" },
168
+ "explorer": { "model": "gpt-6-luna", "model_reasoning_effort": "max" },
169
+ "librarian": { "model": "gpt-6-luna", "model_reasoning_effort": "max" },
11
170
  "plan": { "model": "gpt-6-astra", "model_reasoning_effort": "xhigh" },
12
- "metis": { "model": "gpt-5.6-luna", "model_reasoning_effort": "max" },
171
+ "metis": { "model": "gpt-6-luna", "model_reasoning_effort": "max" },
13
172
  "momus": { "model": "gpt-6-astra", "model_reasoning_effort": "xhigh" },
14
173
  "litwork-reviewer": { "model": "gpt-6-astra", "model_reasoning_effort": "xhigh" }
15
174
  },
@@ -1,7 +1,7 @@
1
1
  name = "default"
2
2
  description = "General-purpose LitCodex helper route for omitted-agent dispatch."
3
3
  nickname_candidates = ["Worker"]
4
- model = "gpt-5.6-luna"
4
+ model = "gpt-6-luna"
5
5
  model_reasoning_effort = "max"
6
6
 
7
7
  developer_instructions = """
@@ -1,7 +1,7 @@
1
1
  name = "litcodex-explorer"
2
2
  description = "Codebase search specialist for Codex sessions. Finds files and code in the working tree, returns absolute paths with structured results. Read-only."
3
3
  nickname_candidates = ["Explorer"]
4
- model = "gpt-5.6-luna"
4
+ model = "gpt-6-luna"
5
5
  model_reasoning_effort = "max"
6
6
 
7
7
  developer_instructions = """
@@ -1,7 +1,7 @@
1
1
  name = "litcodex-librarian"
2
2
  description = "External open-source codebase and documentation researcher. Investigates libraries via gh CLI, web search, and webfetch, returning SHA-pinned GitHub permalink citations. Read-only."
3
3
  nickname_candidates = ["Librarian"]
4
- model = "gpt-5.6-luna"
4
+ model = "gpt-6-luna"
5
5
  model_reasoning_effort = "max"
6
6
 
7
7
  developer_instructions = """
@@ -1,7 +1,7 @@
1
1
  name = "litcodex-metis"
2
2
  description = "Pre-planning analyst. Detects contradictions, ambiguity, missing constraints, and execution risks in a draft plan or request before the planner commits. Read-only."
3
3
  nickname_candidates = ["Analyst"]
4
- model = "gpt-5.6-luna"
4
+ model = "gpt-6-luna"
5
5
  model_reasoning_effort = "max"
6
6
 
7
7
  developer_instructions = """
@@ -377,7 +377,7 @@ Keep the native route evidence-bound. The verified current Codex host resolves
377
377
  an installed role-only `agent_type` through its role TOML, including that role's
378
378
  model and reasoning effort, and resolves an omitted-agent child through
379
379
  `[agents.default].config_file`. The installer supplies that binding to the
380
- model-only Luna/max generic role at `<CODEX_HOME>/litcodex-default.toml`, outside
380
+ model-only GPT-6 Luna/max generic role at `<CODEX_HOME>/litcodex-default.toml`, outside
381
381
  the autodiscovered `<CODEX_HOME>/agents/` directory, and leaves the six named
382
382
  roles under that directory with the named Astra planning and review roles explicit.
383
383
  An explicitly selected helper model/effort
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litcodex/lit-loop",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "LitCodex Lit-Loop runtime: durable repo-native multi-goal orchestration with embedded success criteria and observable evidence audit.",
5
5
  "type": "module",
6
6
  "private": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litfamily/litcodex",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Codex loop harness installer. Run `npm exec --package @litfamily/litcodex -- litcodex install` to set up the LitCodex Codex platform: the bare `lit` hook and the durable lit-loop runtime.",
5
5
  "keywords": [
6
6
  "codex",
@@ -43,7 +43,7 @@
43
43
  "readme-assets"
44
44
  ],
45
45
  "dependencies": {
46
- "@litcodex/lit-loop": "1.0.4"
46
+ "@litcodex/lit-loop": "1.0.6"
47
47
  },
48
48
  "bundledDependencies": [
49
49
  "@litcodex/lit-loop"
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="146" height="20" role="img" aria-label="release: 1.0.4"><title>release: 1.0.4</title><g shape-rendering="crispEdges"><rect width="49" height="20" fill="#080d14"/><rect x="49" width="97" height="20" fill="#ff6337"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text x="255" y="140" textLength="390" transform="scale(.1)">release</text><text x="965" y="140" textLength="870" transform="scale(.1)" fill="#080D14">1.0.4</text></g></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="146" height="20" role="img" aria-label="release: 1.0.6"><title>release: 1.0.6</title><g shape-rendering="crispEdges"><rect width="49" height="20" fill="#080d14"/><rect x="49" width="97" height="20" fill="#ff6337"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text x="255" y="140" textLength="390" transform="scale(.1)">release</text><text x="965" y="140" textLength="870" transform="scale(.1)" fill="#080D14">1.0.6</text></g></svg>