Repository navigation
Beta v0.8.2
What's Changed
π New Features
- Prompt sets and prompt attachments driven by
prompt.json(7005fb7, 39ab044) β Operators can enable one Home prompt set with/promptsetorcrystal promptsets, and list, enable, disable, or reorder prompt attachments with/promptattach,crystal prompt-attachments, or--prompt-attachments. Each directory uses aprompt.jsonmanifest withenabled,order,name, anddescription, the workspace copy replaces the Home copy, and the oldconfig.jsonkeys are ignored. - Image tools through a configured image model (11e9a52) β Setting
imageModelinconfig.jsongivesPlanandWorkadescribe_imagetool that returns the vision model's text description of an image, and an image-capable session model also getsview_imageto load the file into the next round. Both follow thereadpath fence, so files outside the workspace still need approval. - Session launch overrides on the interactive commands (99aa491) β
crystalandcrystal spacenow accept the same per-process flags ascrystal run, including--approval,--plan,--work,--thinking,--prompt-set,--skills,--plugins,--model-calls, and--tool-calls. The flags shape that process only and are not written at startup. listtool for directory contents (685f161) βPlanandWorkcan list a directory's immediate entries withlist, using the optionalpath, 1-basedoffset, andlimitarguments to page through up to 1,000 entries. Directories end with a slash, and ignored build directories are skipped.- Paging for the
globtool (28cb546) βglobnow takes optional 1-basedoffsetandlimitarguments and reports how many files remain, andgrepreturns up to 1,000 matches per call. - Thinking gear for the approval model (e20adfa) β
/approval thinking [effort]cycles or sets the reviewer's thinking effort and stores it inapprovalModel.thinkingEffort,--approval-thinking <effort>sets it for one process, and/statusshows it with the model. - Tab completion for approval-model arguments (5361100, 4cffb97) β Tab after
/approval modelofferson,off, and the catalog models, and Tab after/approval thinkingoffers the selected model's thinking gears. - Prompt placeholders and catalog snapshots for plugins (0ad6fae) β Plugins can add prompt placeholders and receive a read-only snapshot of the loaded plugins, external tool sets, external tools, and skills, with placeholder values resolved on every prompt bind.
- Session and review model access for plugins (3414910) β Plugins can read live session and review model facts and, when they implement
IPluginModelClient, receive side-channel clients for calling those models without entering the transcript, approval path, or turn budget. - Build and host sections in
crystal version(4219288) β The command now printsConfigurationwith the build lines and then, after a blank line,Runtimeand anOSline that includes the architecture. - Highlighted-row following in question panels (596c24c) β Moving the selection, or the cursor while editing a custom answer, scrolls the panel so that row is visible, and a manual scroll stays until the highlight or cursor moves.
- Pinned frame for scrolling overlay cards (20324b0) β A tall
/btwanswer now scrolls its rows under a fixed title and border, and PageUp, PageDown, and Ctrl+Up/Down move by the rows inside the frame. - Refined built-in Work, Plan, Review, and compaction prompts (dec9e17) β The defaults now explain the review risk levels and authorization scale, state the precedence of workspace instructions and the latest user message, keep Plan todos pending for Work, and record what was verified and how in compaction summaries.
π Fixes
- Newline input with Ctrl+J and backslash-Enter in the composer (3d187fc) β Ctrl+J now inserts a newline on terminals that report it as Enter with LF, and a backslash before Enter works with the cursor anywhere in the text, not only at the end.
- Console input-mode re-arming and UTF-8 output (779ad68) β The session repeats bracketed paste and mouse reporting while it is open and turns off Windows quick edit, so the wheel keeps scrolling the transcript, and console output is UTF-8 so the braille spinner no longer shows a question mark on Windows.
- Launch overrides kept out of saved settings (9aca8a3) β A later preference save no longer writes this process's launch overrides to
config.json, and/promptsetswitching or/promptattachenable, disable, up, and down are refused while the matching--prompt-setor--prompt-attachments offflag is set. - Scrolling inside tall question panels (59f35df) β The mouse wheel, PageUp, PageDown, and Ctrl+Up/Down scroll a question panel that is taller than its slot, and only a scroll past either end or a panel that fits moves the transcript.
- Ctrl+J handling on question choice lists (bec0657) β The
J,K,H, andLshortcuts on question panels now apply only to plain keys, so Ctrl+J stays a newline. - Approval thinking gear kept out of
config.json(a675eb3) β--approval-thinkingapplies to one process only,/approval modelkeeps the saved gear, and only/approval thinkingwrites a new one. - LF line endings in model-visible tool output (69c75a0) β
read,list,glob,grep, and command output now use LF on every platform, so provider text and session files no longer vary with the host's newline convention. - Paging past the first
globmaximum (c04b426) βoffsetandlimitnow page through the full match set instead of only the first 1,000 files, and only the requested page is kept in memory. - Duplicate
globmatch skipping (6fd7ee1) β A path reached more than once is reported once, so the match total and the paging offsets stay consistent. - Symlinked file entries kept distinct in workspace walks (2e56b49) β Directory enumeration yields the entry path instead of the resolved target, so two links to one file appear separately and a search rooted below the target reports the path it found.
- Prompt-attachment enable on the winning copy (c60be8d) β Enabling an attachment from
crystal prompt-attachmentsor/promptattachnow writes the Home or workspace manifest that discovery actually uses. - Trailing newlines in prompt attachments (807a5ca) β Attachment text keeps its trailing newline, so appended sections no longer run together.
- Two blank lines between appended prompt parts (0932a04) β The resolved prompt and each attachment are now separated by two blank lines.
π Documentation
- Git for Windows requirement for the
bashtool (a9da62e) β The README and user guide now tell Windows operators to install Git for Windows so Git Bash providesbash. - Workspace-level configuration documented as unread (6ab56fd) β The documents now state that operator preferences load only from
~/.crystal/config.jsonand that reading<workspace>/.crystal/config.jsonis deferred. Workmode tool order documented (0fc5732) β The architecture and user guide now list the built-inWorktools in registration order.- Deferred custom modes and the Plan
bashquestion documented (c254b1e) β The product document now records that modes beyondPlanandWorkare deferred and that whetherPlanmay includebashis undecided. - Multi-directory sessions on the unimplemented list (e85393e) β The product document now lists multiple accessible directories in one session as unimplemented.
Full Changelog: B0.8.1...B0.8.2