Conversation
…late) Proof-of-concept migration of three entries to the new unified filesystem spec (RFC v0.3.0). All entries now live under kits/<name>/ with flat flow files, lamatic.config.ts, constitutions, and prompts. Migrated entries: - Template: kits/rag-chatbot/ (from templates/rag-chatbot/) - Bundle: kits/knowledge-chatbot/ (from bundles/knowledge-chatbot/) - Kit: kits/content-generation/ (from kits/sample/content-generation/) Key structural changes demonstrated: - config.json → lamatic.config.ts (typed project config) - flows/<name>/config.json → flows/<name>.ts (flat files, not folders) - Inline prompts → prompts/system.md (externalized) - New: constitutions/default.md, flows/flows.md Old locations are NOT deleted — this is additive for review purposes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Each flow .ts now contains meta + inputs + references + nodes + edges in ONE file. No more separate .inputs.json / .meta.json sidecars. Inline prompts extracted to prompts/ directory and replaced with @prompts/<name>.md references in flow configs. Constitutions referenced via @constitutions/default.md. Reference convention: @prompts/<name>.md → prompts/<name>.md @constitutions/<name>.md → constitutions/<name>.md @tools/<name> → tools/<name>.ts (future) @mcp/<name> → mcp/<name>.ts (future) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
amanintech
left a comment
There was a problem hiding this comment.
/component should be inside /app
amanintech
left a comment
There was a problem hiding this comment.
rename /actions to /orchestrator
|
|
||
| export function useIsMobile() { | ||
| const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined) | ||
|
|
There was a problem hiding this comment.
not applicable / should be in app
| @@ -0,0 +1,191 @@ | |||
| 'use client' | |||
There was a problem hiding this comment.
not applicable / should be in app
| @@ -0,0 +1,11 @@ | |||
| /** @type {import('next').NextConfig} */ | |||
| const nextConfig = { | |||
There was a problem hiding this comment.
might be confusing / should be in app
Summary
Proof-of-concept migration of 3 entries to the new unified filesystem spec (RFC v0.3.0 by Aman). Demonstrates how templates, bundles, and kits look under the new structure.
What's migrated
templates/rag-chatbot/kits/rag-chatbot/bundles/knowledge-chatbot/kits/knowledge-chatbot/kits/sample/content-generation/kits/content-generation/Structural changes demonstrated
config.json(kit metadata) →lamatic.config.ts(typed project config)flows/<name>/config.json(folder-based) →flows/<name>.ts(flat file)prompts/system.md(externalized)constitutions/default.md,flows/flows.md<name>.ts+<name>.inputs.json+<name>.meta.jsonNew structure per project
What's NOT changed
templates/,bundles/,kits/sample/) are untouched — this is additiveDecision needed
app/vsapps/: Next.js requiresapp/for App Router. Kept asapp/for now.Test plan
kits/rag-chatbot/— minimal template with externalized promptkits/knowledge-chatbot/— 9 flat flow files, any-of selection in configkits/content-generation/— full Next.js kit with flows, constitutions, actionslamatic.config.tsfields match oldconfig.json/meta.json.tsfiles contain correct nodes/edges from originalconfig.json🤖 Generated with Claude Code