13635 Commits

Author SHA1 Message Date
kumarabhirup
477daad4ff
feat(gateway): migrate chat transport to WebSocket and enforce single ironclaw profile
This commit introduces a new plan to transition the chat transport from CLI processes to Gateway WebSocket, while maintaining the existing SSE API contract. It locks the web to a single `ironclaw` profile, disables workspace/profile switching, and updates relevant tests. Key changes include the implementation of a WebSocket-backed adapter, API lockdown with 403 responses for profile mutations, and UI adjustments to remove profile switching controls.
2026-03-03 15:39:27 -08:00
kumarabhirup
72d5204e52
test: update tests for dench-to-crm rename and IDENTITY.md visibility
All test assertions updated to reference crm instead of dench, and IDENTITY.md is now expected to be visible in the workspace tree.
2026-03-03 15:38:46 -08:00
kumarabhirup
70ca59a66d
refactor(web): show IDENTITY.md in workspace, filter managed skills, hide bootstrap toggle
IDENTITY.md is now user-editable (no longer a system file). Managed skill filter updated from dench to crm/browser. Bootstrap seed toggle hidden from create-workspace dialog.
2026-03-03 15:38:41 -08:00
kumarabhirup
1398e556a1
feat(api): register default agent in config on workspace switch
Call setDefaultAgentInConfig when switching workspaces so the gateway picks up the active workspace agent.
2026-03-03 15:38:07 -08:00
kumarabhirup
38f3cb6efe
feat(web): use workspace-aware agent IDs for gateway sessions
Replace hardcoded agent:main: session keys with resolveActiveAgentId() so each workspace routes to its own gateway agent.
2026-03-03 15:38:00 -08:00
kumarabhirup
74b3b23e26
feat(web): add multi-workspace agent config management
Add ensureAgentInConfig, setDefaultAgentInConfig, and resolveActiveAgentId to manage per-workspace agent entries in openclaw.json so the gateway routes to the correct workspace.
2026-03-03 15:37:54 -08:00
kumarabhirup
bf6a0abe48
refactor(api): deduplicate workspace init using shared workspace-seed
Remove ~200 lines of duplicated CRM seed objects, DuckDB seeding, and identity generation from the init route by importing from @repo/cli/workspace-seed.
2026-03-03 15:37:49 -08:00
kumarabhirup
61f0313895
chore(web): add @repo/* tsconfig path alias for cross-package imports
Allows the web app to import shared CLI modules like workspace-seed directly.
2026-03-03 15:37:44 -08:00
kumarabhirup
501276bdea
refactor(cli): remove dench-specific bootstrap code
syncBundledDenchSkill is now handled by the generalized seedWorkspaceFromAssets call.
2026-03-03 15:37:39 -08:00
kumarabhirup
a0d5281923
refactor(cli): generalize workspace-seed for multiple managed skills
Replace hardcoded dench references with a MANAGED_SKILLS array (crm, browser) and add template path substitution support.
2026-03-03 15:37:35 -08:00
kumarabhirup
9044919814
refactor(skills): rename dench skill to crm and add browser skill
Dench was the internal codename; rename to crm for clarity and add a browser automation skill.
2026-03-03 15:37:30 -08:00
kumarabhirup
8eb25cfcb7
chore: update tsconfig and vitest config
Exclude extensions and test from tsconfig; remove extensions from vitest include.
2026-03-03 13:48:10 -08:00
kumarabhirup
365e1650bc
fix(test): resolve lint errors in workspace and init route tests
Remove unused useEnvWorkspace; fix base-to-string in identity content assertion.
2026-03-03 13:48:05 -08:00
kumarabhirup
f6eee0b398
refactor(cli): update workspace-seed with dynamic identity and dench skill
Build identity template with workspace path; add seedDenchSkill for skills/dench.
2026-03-03 13:47:38 -08:00
kumarabhirup
c704ddd15f
refactor(cli): update program help and bootstrap options
Document --profile/--dev as compatibility flags for Ironclaw.
2026-03-03 13:47:34 -08:00
kumarabhirup
227739d729
refactor(cli): update bootstrap for workspace path
Use workspace dir instead of workspace-profile; ensure agents.defaults.workspace before onboard.
2026-03-03 13:47:23 -08:00
kumarabhirup
aec4e9d89a
refactor(web): update workspace page and hooks
Use workspace model in page and use-workspace-watcher.
2026-03-03 13:47:18 -08:00
kumarabhirup
3c2138e4bd
feat(web): add workspace-switch component
New workspace-switch component and tests for workspace selection UI.
2026-03-03 13:47:02 -08:00
kumarabhirup
1adb7b926b
refactor(web): update workspace components for workspace model
ProfileSwitcher uses workspaces; create-workspace-dialog, empty-state, sidebar updated.
2026-03-03 13:46:54 -08:00
kumarabhirup
974ba61b48
refactor(api): update workspace tree and virtual-file routes
Use workspace lib for path resolution.
2026-03-03 13:46:49 -08:00
kumarabhirup
6084381346
refactor(api): update workspace delete for workspace model
Use workspace lib helpers instead of profile-based paths.
2026-03-03 13:46:44 -08:00
kumarabhirup
4f0f7af622
refactor(api): update workspace init for workspace model
Use discoverWorkspaces, setUIActiveWorkspace, resolveWorkspaceDir; remove inline spawn logic.
2026-03-03 13:46:39 -08:00
kumarabhirup
9b505e9ae6
refactor(api): update profiles API for workspace model
Use discoverWorkspaces and getActiveWorkspaceName; keep backward-compat response fields.
2026-03-03 13:46:34 -08:00
kumarabhirup
232d6640ba
feat(api): add workspace list and switch API routes
New /api/workspace/list and /api/workspace/switch for workspace discovery and switching.
2026-03-03 13:46:30 -08:00
kumarabhirup
796a2fcb34
refactor(workspace): profile to workspace model in web lib
Replace profile terminology with workspace; pin to .openclaw-ironclaw state dir.
2026-03-03 13:46:25 -08:00
kumarabhirup
785dd449f4
refactor(cli): pin Ironclaw profile and simplify profile handling
Ironclaw always runs with profile ironclaw; --profile/--dev are compatibility flags.
2026-03-03 13:46:21 -08:00
kumarabhirup
c134c9b29a
chore(config): pin Ironclaw state dir to .openclaw-ironclaw
Ironclaw always uses a fixed state path; remove legacy dir fallback.
2026-03-03 13:46:13 -08:00
kumarabhirup
75b8410709
fix(cli): sync bootstrap gateway port for web runtime 2026-03-03 12:24:43 -08:00
kumarabhirup
37400badc2
fix(cli): harden bootstrap profile and recovery paths
Make bootstrap deterministic across profile flag order and stale local runtime state so onboarding and health checks converge on the intended profile, gateway service, and web port.
2026-03-02 22:10:46 -08:00
kumarabhirup
a9520572be
feat(evals): add eval runner, types, and vitest config 2026-03-02 18:37:07 -08:00
kumarabhirup
ba01abdcd9
docs(web): add testing interaction ledger 2026-03-02 18:36:54 -08:00
kumarabhirup
64aa38942c
docs(dench): update workspace paths for ironclaw profile and add browser capability 2026-03-02 18:36:48 -08:00
kumarabhirup
1deeb5878e
feat(evals): add eval framework with dataset, graders, and regression report 2026-03-02 18:36:40 -08:00
kumarabhirup
ebde96c11b
feat(extensions): add ironclaw-auth extension with OAuth device flow 2026-03-02 18:36:33 -08:00
kumarabhirup
ba65d0b4e8
test(web): add workspace-profiles tests 2026-03-02 18:36:26 -08:00
kumarabhirup
693811ccb2
test(web): add profile-switcher, object-filter-bar, stream-parser, and subagent-panel message tests 2026-03-02 18:36:19 -08:00
kumarabhirup
a61aedd51d
refactor(web): update workspace page layout and profile integration 2026-03-02 18:35:48 -08:00
kumarabhirup
a7a89a990e
feat(web): add object-view-active-view module for workspace page 2026-03-02 18:35:41 -08:00
kumarabhirup
3ed8872f16
refactor(web): move profile management to workspace-sidebar 2026-03-02 18:35:34 -08:00
kumarabhirup
e7bdd45be1
feat(web): add IDENTITY.md to system file patterns in file-manager-tree 2026-03-02 18:35:27 -08:00
kumarabhirup
440e7063e2
refactor(web): simplify empty-state to remove inline workspace creation 2026-03-02 18:35:20 -08:00
kumarabhirup
f0135da82e
feat(web): add copyConfigAuth option to create-workspace-dialog 2026-03-02 18:35:13 -08:00
kumarabhirup
9542c60f66
feat(web): add workspace delete and profile discovery to profile-switcher 2026-03-02 18:35:03 -08:00
kumarabhirup
af0d34b5db
feat(web): add message queue UI with edit/send/remove to subagent-panel 2026-03-02 18:34:56 -08:00
kumarabhirup
e3fb54880a
feat(web): add subagent status labels to chat-message component 2026-03-02 18:34:49 -08:00
kumarabhirup
7309d649dd
test(web): add workspace file-ops, objects, and tree-browse tests 2026-03-02 18:34:41 -08:00
kumarabhirup
f23b7133cb
feat(web): improve suggest-files and tree route with better error handling 2026-03-02 18:34:34 -08:00
kumarabhirup
f3fffec97f
fix(web): guard system files in file write route and allow aborting waiting-for-subagents runs 2026-03-02 18:34:27 -08:00
kumarabhirup
67812f0de6
feat(web): add workspace delete API route 2026-03-02 18:34:19 -08:00
kumarabhirup
efbeacff54
test(web): update workspace init tests for new profile-based flow 2026-03-02 18:34:12 -08:00