Commit 0abcc6e
improvement(mothership): restructured stream, tool structures, code typing, file write/patch/append tools, timing issues (#4090)
* fix build error
* improvement(mothership): new agent loop (#3920)
* feat(transport): replace shared chat transport with mothership-stream module
* improvement(contracts): regenerate contracts from go
* feat(tools): add tool catalog codegen from go tool contracts
* feat(tools): add tool-executor dispatch framework for sim side tool routing
* feat(orchestrator): rewrite tool dispatch with catalog-driven executor and simplified resume loop
* feat(orchestrator): checkpoint resume flow
* refactor(copilot): consolidate orchestrator into request/ layer
* refactor(mothership): reorganize lib/copilot into structured subdirectories
* refactor(mothership): canonical transcript layer, dead code cleanup, type consolidation
* refactor(mothership): rebase onto latest staging
* refactor(mothership): rename request continue to lifecycle
* feat(trace): add initial version of request traces
* improvement(stream): batch stream from redis
* fix(resume): fix the resume checkpoint
* fix(resume): fix resume client tool
* fix(subagents): subagent resume should join on existing subagent text block
* improvement(reconnect): harden reconnect logic
* fix(superagent): fix superagent integration tools
* improvement(stream): improve stream perf
* Rebase with origin dev
* fix(tests): fix failing test
* fix(build): fix type errors
* fix(build): fix build errors
* fix(build): fix type errors
* feat(mothership): add cli execution
* fix(mothership): fix function execute tests
* Force redeploy
* feat(motheship): add docx support
* feat(mothership): append
* Add deps
* improvement(mothership): docs
* File types
* Add client retry logic
* Fix stream reconnect
* Eager tool streaming
* Fix client side tools
* Security
* Fix shell var injection
* Remove auto injected tasks
* Fix 10mb tool response limit
* Fix trailing leak
* Remove dead tools
* file/folder tools
* Folder tools
* Hide function code inline
* Dont show internal tool result reads
* Fix spacing
* Auth vfs
* Empty folders should show in vfs
* Fix run workflow
* change to node runtime
* revert back to bun runtime
* Fix
* Appends
* Remove debug logs
* Patch
* Fix patch tool
* Temp
* Checkpoint
* File writes
* Fix
* Remove tool truncation limits
* Bad hook
* replace react markdown with streamdown
* Checkpoitn
* fix code block
* fix stream persistence
* temp
* Fix file tools
* tool joining
* cleanup subagent + streaming issues
* streamed text change
* Tool display intetns
* Fix dev
* Fix tests
* Fix dev
* Speed up dev ci
* Add req id
* Fix persistence
* Tool call names
* fix payload accesses
* Fix name
* fix snapshot crash bug
* fix
* Fix
* remove worker code
* Clickable resources
* Options ordering
* Folder vfs
* Restore and mass delete tools
* Fix
* lint
* Update request tracing and skills and handlers
* Fix editable
* fix type error
* Html code
* fix(chat): make inline code inherit parent font size in markdown headers
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* improved autolayout
* durable stream for files
* one more fix
* POSSIBLE BREAKAGE: SCROLLING
* Fixes
* Fixes
* Lint fix
* fix(resource): fix resource view disappearing on ats (#4103)
Co-authored-by: Theodore Li <theo@sim.ai>
* Fixes
* feat(mothership): add execution logs as a resource type
Adds `log` as a first-class mothership resource type so copilot can open
and display workflow execution logs as tabs alongside workflows, tables,
files, and knowledge bases.
- Add `log` to MothershipResourceType, all Zod enums, and VALID_RESOURCE_TYPES
- Register log in RESOURCE_REGISTRY (Library icon) and RESOURCE_INVALIDATORS
- Add EmbeddedLog and EmbeddedLogActions components in resource-content
- Export WorkflowOutputSection from log-details for reuse in EmbeddedLog
- Add log resolution branch in open_resource handler via new getLogById service
- Include log id in get_workflow_logs response and extract resources from output
- Exclude log from manual add-resource dropdown (enters via copilot tools only)
- Regenerate copilot contracts after adding log to open_resource Go enum
* Fix perf and message queueing
* Fix abort
* fix(ui): dont delete resource on clearing from context, set resource closed on new task (#4113)
Co-authored-by: Theodore Li <theo@sim.ai>
* improvement(mothership): structure sim side typing
* address comments
* reactive text editor tweaks
* Fix file read and tool call name persistence bug
* Fix code stream + create file opening resource
* fix use chat race + headless trace issues
* Fix type issue
* Fix mothership block req lifecycle
* Fix build
* Move copy reqid
* Fix
* fix(ui): fix resource tag transition from home to task (#4132)
Co-authored-by: Theodore Li <theo@sim.ai>
* Fix persistence
---------
Co-authored-by: Vikhyath Mondreti <vikhyath@simstudio.ai>
Co-authored-by: Waleed Latif <walif6@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Theodore Li <theo@sim.ai>
Co-authored-by: Theodore Li <theodoreqili@gmail.com>1 parent d238052 commit 0abcc6e
File tree
389 files changed
+37921
-18979
lines changed- .github/workflows
- apps/sim
- app
- (landing)/components/features/components
- api
- admin/mothership
- billing/update-cost
- chat
- copilot
- api-keys/validate
- chats
- chat
- abort
- delete
- rename
- resources
- stop
- stream
- update-messages
- checkpoints
- revert
- confirm
- credentials
- feedback
- models
- stats
- training
- examples
- files/serve/[...path]
- function/execute
- jobs/[jobId]
- mcp/copilot
- mothership
- chats
- [chatId]
- read
- chat
- abort
- resources
- stop
- stream
- events
- execute
- resume/[workflowId]/[executionId]/[contextId]
- schedules/execute
- templates/approved/sanitized
- v1/copilot/chat
- webhooks/trigger/[path]
- workflows/[id]
- chat/status
- execute
- workspaces/[id]/pptx/preview
- changelog/components
- chat/components/message/components
- templates/[id]
- workspace/[workspaceId]
- components/message-actions
- files
- [fileId]/view
- components/file-viewer
- home
- components
- message-content
- components
- agent-group
- chat-content
- special-tags
- mothership-chat
- mothership-view
- components
- resource-content
- resource-registry
- resource-tabs
- user-input
- user-message-content
- hooks
- logs/components
- log-details
- settings
- [section]
- components/mothership
- w/[workflowId]
- components
- note-block
- panel
- components/editor/components/sub-block/components/tag-dropdown
- workflow-block
- utils
- background
- executor
- handlers/mothership
- utils
- hooks
- queries
- lib
- billing
- copilot
- async-runs
- chat
- client-sse
- generated
- orchestrator
- sse
- handlers
- stream
- tool-executor
- deployment-tools
- workflow-tools
- persistence/tool-confirm
- request
- context
- go
- handlers
- lifecycle
- session
- tools
- resources
- tool-executor
- tools
- client
- handlers
- deployment
- management
- workflow
- mcp
- registry
- server
- blocks
- docs
- files
- image
- jobs
- knowledge
- other
- table
- user
- visualization
- workflow
- edit-workflow
- validation
- vfs
- core
- async-jobs
- backends
- bullmq
- config
- workspace-dispatch
- environment
- execution
- knowledge
- connectors
- documents
- logs
- mothership/inbox
- notifications
- uploads
- contexts/workspace
- utils
- webhooks
- workflows
- autolayout
- blocks
- diff
- executor
- orchestration
- triggers
- scripts/load
- stores/panel
- copilot
- tools
- function
- worker
- processors
- docker
- helm/sim
- templates
- packages/testing/src/factories
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
389 files changed
+37921
-18979
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
49 | 103 | | |
50 | 104 | | |
51 | | - | |
52 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
53 | 109 | | |
54 | 110 | | |
55 | 111 | | |
| |||
75 | 131 | | |
76 | 132 | | |
77 | 133 | | |
78 | | - | |
79 | | - | |
| 134 | + | |
| 135 | + | |
80 | 136 | | |
81 | 137 | | |
82 | 138 | | |
| |||
106 | 162 | | |
107 | 163 | | |
108 | 164 | | |
109 | | - | |
110 | 165 | | |
111 | 166 | | |
112 | | - | |
113 | | - | |
114 | 167 | | |
115 | 168 | | |
116 | 169 | | |
117 | 170 | | |
118 | 171 | | |
119 | | - | |
120 | 172 | | |
121 | 173 | | |
122 | | - | |
123 | 174 | | |
124 | 175 | | |
125 | 176 | | |
126 | 177 | | |
127 | 178 | | |
128 | | - | |
129 | 179 | | |
130 | 180 | | |
131 | 181 | | |
| |||
256 | 306 | | |
257 | 307 | | |
258 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
259 | 317 | | |
260 | 318 | | |
261 | 319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
| |||
123 | 119 | | |
124 | 120 | | |
125 | 121 | | |
126 | | - | |
| 122 | + | |
127 | 123 | | |
128 | 124 | | |
129 | | - | |
130 | | - | |
131 | | - | |
| 125 | + | |
132 | 126 | | |
133 | 127 | | |
134 | 128 | | |
| |||
Lines changed: 17 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
560 | | - | |
561 | | - | |
| 560 | + | |
| 561 | + | |
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | | - | |
| 569 | + | |
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
575 | | - | |
576 | | - | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
577 | 581 | | |
578 | 582 | | |
579 | | - | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
580 | 586 | | |
581 | 587 | | |
582 | 588 | | |
| |||
618 | 624 | | |
619 | 625 | | |
620 | 626 | | |
621 | | - | |
| 627 | + | |
622 | 628 | | |
623 | | - | |
| 629 | + | |
624 | 630 | | |
625 | 631 | | |
626 | 632 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments