Repository navigation
Workflow reading, live workflow list refresh, source distinction in the picker, and safe Markdown link handling on top of v0.2.1. Built and tested against Codex 0.171.0 and Chirality Library 3.6.0.
Consumer note: crates/tauri/permissions/engine.toml adds "engine:read_workflow". Applications using tauri_build::AppManifest should update their copied src-tauri/permissions/engine.toml. Existing Panel, PanelControl, and PanelView shapes remain backwards-compatible.
Read workflow instructions (crates/engine, crates/tauri, @chirality/engine-ui)
- Added
Engine::read_workflow(project, workflow) -> Result<WorkflowDocument>(engine:read_workflow,EngineClient.readWorkflow, generatedWorkflowDocumentTypeScript binding), returning a workflow's metadata (Workflow) and fullWORKFLOW.mdbody atomically from one validated file read. - Enforces canonical symlink containment within configured roots and registration-time canonical project paths, exact
WORKFLOW.mdtarget filename, and regular-file checks (blocking symlinks outside roots, aliases to differently named files, and named pipes). WorkflowTabrendersWORKFLOW.mdas Markdown (with YAML front matter stripped) alongside the metadata from that same read, reachable from each picker row's Read button and from clicking the picked workflow chip (scoped to the thread/project even across closed-panel switches and omitted when a layout has noworkflowtab). Every explicit Read re-fetches fresh instructions without blank flicker.
Live workflow list refresh and source distinction (@chirality/engine-ui, crates/engine)
Store.refreshWorkflowsre-reads a project's workflow list when the picker opens and on project/thread selection, coalescing concurrent refreshes without clearing the visible list and guarding both sync and async results acrossdispose()/ restart.- Picker rows are keyed by
Workflow.idwith the source tag placed beside the workflow name (distinct styling forProjectvs Library), keeping same-name workflows clearly told apart while leaving summaries clean on the detail line. - Fixed YAML front-matter quote trimming in
workflows.rsso single-quoteddescriptionsummaries lose one matched pair of outer quotes.
Safe Markdown links and fragment focus (@chirality/engine-ui)
Markdownonly passeshttp(s)://links tohost.openUrl; relative file references and other unsupported schemes render as non-clickable text (<span class="md-ref">) with tooltips instead of triggering opener errors.#fragmentlinks (headings and GFM footnotes, including non-ASCII labels and#footnote-label) scroll and move keyboard focus within their own Markdown block, with unique per-block footnote headingids, preservedaria-label/aria-describedby, and visible keyboard focus on focused.sr-onlyfootnote headings.
Pin it by tag v0.3.0 or by commit 3c044f2bf11b642311bef577eda82c4abae3b5a7.