@beignet/cli 0.0.45 → 0.0.46

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/src/mcp.ts CHANGED
@@ -995,7 +995,7 @@ export function buildBeignetMcpServer(options: McpServerOptions): McpServer {
995
995
  "doctor_fix_plan",
996
996
  {
997
997
  description:
998
- "Plan every currently available low-risk doctor repair without changing files. Returns stable operation IDs, exact unified patches, file hashes, and a plan ID for guarded doctor_fix application.",
998
+ "Plan every currently available low-risk doctor repair without changing files, including eligible registration drift and managed default provider-table exports. Returns stable operation IDs, exact unified patches, file hashes, and a plan ID for guarded doctor_fix application.",
999
999
  inputSchema: {
1000
1000
  strict: z
1001
1001
  .boolean()
@@ -1021,7 +1021,7 @@ export function buildBeignetMcpServer(options: McpServerOptions): McpServer {
1021
1021
  "doctor_fix",
1022
1022
  {
1023
1023
  description:
1024
- "Apply low-risk doctor repairs, then re-check the app. With no planId, preserves the legacy apply-all behavior. Pass the planId returned by doctor_fix_plan for stale-file protection, optionally with fixIds to select repair operations.",
1024
+ "Apply eligible low-risk doctor repairs, then re-check the app; custom or ambiguous code remains diagnostic-only. With no planId, preserves the legacy apply-all behavior. Pass the planId returned by doctor_fix_plan for stale-file protection, optionally with fixIds to select repair operations.",
1025
1025
  inputSchema: {
1026
1026
  strict: z
1027
1027
  .boolean()
@@ -56,6 +56,10 @@ is a silent failure — the file exists but never runs:
56
56
  in \`server/outbox.ts\`.
57
57
  - Listeners must be added to the \`listeners\` array in \`server/listeners.ts\`
58
58
  and wired through a \`registerListeners(...)\` call in server provider wiring.
59
+ - Apps using Inngest must also spread feature job registries into
60
+ \`inngestJobs\` in \`server/inngest.ts\`.
61
+ - Apps using runtime integrity must list workflow registries in
62
+ \`defineRuntimeManifest({...})\`.
59
63
 
60
64
  The starter ships no workflow registries — generators create them on first
61
65
  use, so their absence is fine. \`${cli} make event\`, \`${cli} make job\`,
@@ -69,7 +73,14 @@ manual registry instruction in the error.
69
73
  with \`${cli} doctor --fix --dry-run\`, then apply the returned plan with
70
74
  \`${cli} doctor --fix --plan <plan-id>\` and optional
71
75
  \`--only <operation-ids>\`. Plain \`${cli} doctor --fix\` remains the
72
- apply-all shortcut.
76
+ apply-all shortcut. Doctor can append fully unregistered artifacts to
77
+ existing central, Inngest, and runtime-manifest arrays when their imports and
78
+ array anchors are unambiguous. It also syncs missing default Beignet
79
+ provider-table exports when \`infra/db/schema/beignet.ts\` is missing or still
80
+ matches \`${cli} db schema sync\` output and the schema index has no custom
81
+ named re-export for that file. Run \`${cli} db generate\` and
82
+ \`${cli} db migrate\` after accepting that source repair. Custom or ambiguous
83
+ code stays diagnostic-only.
73
84
 
74
85
  ## Prefer generators
75
86
 
@@ -113,7 +124,7 @@ ${cli} check
113
124
  It runs \`${cli} lint\` (Beignet's dependency-direction lint),
114
125
  \`${cli} doctor --strict\`, and the app's \`lint\` (Biome), \`typecheck\`, and
115
126
  \`test\` scripts in one pass, reporting every failure. Add \`--fix\` to apply
116
- doctor's low-risk registration fixes first. Use \`${format}\` to apply
127
+ doctor's eligible low-risk fixes first. Use \`${format}\` to apply
117
128
  formatting. The individual commands (\`${lint}\`, \`${cli} lint\`,
118
129
  \`${cli} doctor --strict\`, \`${test}\`, \`${typecheck}\`) still work when you
119
130
  need one check alone.
@@ -44,7 +44,7 @@ export const externalVersions = {
44
44
  tanstackReactQuery: "^5.100.7",
45
45
  hookformResolvers: "^5.0.0",
46
46
  reactHookForm: "^7.74.0",
47
- betterAuth: "1.6.20",
47
+ betterAuth: "1.6.25",
48
48
  bullmq: "^5.0.0",
49
49
  drizzleKit: "^0.31.10",
50
50
  drizzleOrm: "^0.45.2",