feat(ai): add Instruct flow to theme and instructions editors #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_instruct_theme_and_instructions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
user_instructionparam fromdeck.fixTheme/deck.rewriteThemenow that guidance flows through the dedicated Instruct panelRelated Issue
Closes #4
Changes
New prompts
system_instruct_theme.md,system_instruct_instructions.md(registered inALL_TEMPLATES)Backend
handle_instruct_theme,handle_instruct_instructionsinagent.rsrpc.rscovering sync + async (Async,JobStatus,JobLogs,Result)generate_job.rsinstruct_theme_content/instruct_instructions_contentinhero_slides_libuser_instructionremoved from fix/rewrite theme handlersRhai and CLI
instruct_theme.rhai,instruct_instructions.rhaiscriptsdeck_instruct_theme/deck_instruct_instructionsRhai bindingsinstruct_themeandinstruct_instructionsarms in the CLI--rundispatcherOpenRPC
openrpc.jsonopenrpc.client.generated.rsFrontend
Instructbuttons and hidden instruct panels added to both theme and instructions editorsopenThemeEditor/openInstructionsEditorreset their panels on openinstrHistoryPushso AI-applied content becomes an undoable history entryTest Results
cargo check --workspace: clean (one pre-existing unrelated unused-imports warning)cargo test --workspace: 62 passed, 0 failed, 1 ignored (AI-gated integration test)