You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(flow): workflow /<name> slash commands across TUI, Web, and ACP (#120)
* feat(flow): workflow /<name> slash commands across TUI, Web, and ACP
Every saved workflow now surfaces as a `/<name>` slash command on all three
frontends, badged as a workflow so it's distinct from skills. Typing the slash
runs the saved workflow by name via the workflow_run tool; any text after the
slash is handed to the agent as the workflow's `args`.
- internal/flow/slash.go: shared SlashRunPrompt + GetBySlash so every frontend
expands a workflow slash identically
- internal/web: /api/slash-commands advertises workflow slashes (type "flow")
alongside skills; the web autocomplete surfaces and badges them
- TUI + ACP: workflow slashes join the command menu / availableCommandList
- docs: workflows.md documents the slash entry point
- .gitignore: ignore the local .jcode workflow store
Generated with Jack AI bot
* fix(flow): address PR #120 review — task-scope workflow slashes, fix badge token, doc fence
- Web slash advertising (/api/slash-commands) and slash rewrites (submitMessage)
now resolve against the foreground task's project loader (Engine.flowLoader),
falling back to the boot loader, so a task running in a different project sees
its own .jcode/workflows — matching the per-task loader workflow_run already
uses. Per-task loader is carried on the Engine via EngineConfig.FlowLoader.
- Fix the workflow badge referencing an undefined token: --color-accent-wash
does not exist; tokens.css defines --accent-wash.
- Tag the docs example fence as `text` so markdownlint (MD040) stays clean.
Generated with Jack AI bot
---------
Co-authored-by: t <t@example.com>
0 commit comments