Add project script actions with run shortcuts and persistence

- add project-scoped script actions in the chat toolbar, including setup-on-worktree-create
- support dynamic `script.{id}.run` keybindings and command resolution
- persist and sync project scripts across web state, contracts, WebSocket API, and server registry
- add backend and frontend tests for script helpers, persistence, and registry behavior
This commit is contained in:
Julius Marminge authored and Julius Marminge committed 2026-02-18 00:59:06 -08:00
1 parent 9e877f592b
commit 3537d47702
25 files changed
+1069 -26

No files matched your search

+2
View File
@@ -322,6 +322,8 @@ export function createServer(options: ServerOptions) {
case WS_METHODS.projectsSearchEntries:
return searchWorkspaceEntries(request.params as never);
case WS_METHODS.projectsUpdateScripts:
return projectRegistry.updateScripts(request.params as never);
case WS_METHODS.shellOpenInEditor: {
const params = request.params as {