Commit b1abd72
committed
Merge branch 'staging' into feat/wf-log-block
Resolve conflicts in /api/logs and /api/logs/[id] by adopting staging's
new contract pattern (parseRequest, fetchLogDetail, cursor pagination)
and re-applying checkSessionOrInternalAuth on top so the Logs block
tools can call these routes from the executor.
Update tools/logs and the Logs block to match the new API:
- /api/logs returns { data, nextCursor }; drop offset/page/total
- /api/logs/[id] now requires ?workspaceId=... query
- Drop the details='basic'|'full' knob (gone from staging)
- Add cursor, sortBy, sortOrder subblocks
- Use WorkflowLogSummary / WorkflowLogDetail types from contract381 files changed
Lines changed: 53991 additions & 7663 deletions
File tree
- .github/workflows
- apps
- docs/content/docs/en
- tools
- triggers
- realtime/src
- handlers
- middleware
- rooms
- routes
- sim
- app
- (landing)/integrations/data
- api
- auth
- [...all]
- oauth/disconnect
- chat
- [identifier]
- sso
- copilot/chat
- stop
- stream
- credentials/[id]
- files
- delete
- export/[id]
- multipart
- parse
- presigned
- serve/[...path]
- upload
- view/[id]
- folders
- [id]
- duplicate
- reorder
- knowledge/search
- logs
- [id]
- by-execution/[executionId]
- memory
- [id]
- mothership/events
- schedules/[id]
- table
- [tableId]
- cancel-runs
- groups
- [groupId]/run
- rows
- [rowId]
- run-workflow-group
- tools
- file/manage
- jira/issues
- mail/send
- stt
- v1
- files/[fileId]
- tables/[tableId]/rows
- [rowId]
- webhooks
- [id]
- workflows
- [id]
- autolayout
- deployments/[version]/revert
- deploy
- duplicate
- execute
- executions/[executionId]/cancel
- restore
- state
- variables
- reorder
- workspaces
- [id]
- duplicate
- files
- [fileId]
- compiled-check
- style
- presigned
- register
- invitations
- workspace
- [workspaceId]
- components/resource/components/resource-header
- files
- components/file-viewer
- home
- components
- message-content/components/special-tags
- mothership-chat
- mothership-view
- components
- add-resource-dropdown
- resource-content
- resource-registry
- resource-tabs
- user-input
- components
- hooks
- knowledge/hooks
- logs
- components
- log-details
- components/trace-view
- logs-list
- settings/components
- api-keys/components/create-api-key-modal
- copilot
- integrations
- tables/[tableId]
- components
- column-sidebar
- table
- cells
- headers
- hooks
- w
- [workflowId]
- components
- chat/components/output-select
- note-block
- notifications
- panel
- components
- copilot/components/user-input/hooks
- deploy
- editor
- components/sub-block/components
- short-input
- variables-input
- subflows
- variables
- workflow-block
- hooks
- utils
- components/sidebar
- components
- workflow-list/components
- folder-item
- workflow-item
- workspace-header
- hooks
- providers
- background
- blocks
- blocks
- components/emcn
- components
- code
- secret-reveal
- icons
- connectors
- confluence
- evernote
- github
- google-docs
- jira
- obsidian
- salesforce
- servicenow
- slack
- zendesk
- ee/sso/components
- executor/execution
- hooks
- queries
- utils
- selectors
- providers/sim
- lib
- api/contracts
- knowledge
- auth
- billing
- subscriptions
- copilot
- chat
- generated
- request/session
- resources
- tools
- handlers
- management
- server
- files
- image
- table
- visualization
- vfs
- core
- async-jobs
- backends
- config
- security
- credentials
- __tests__
- execution/sandbox/brokers
- knowledge
- documents
- logs
- mermaid
- mothership/inbox
- oauth
- table
- uploads
- client
- contexts/workspace
- core
- providers
- blob
- s3
- server
- utils
- webhooks
- providers
- workflows
- blocks
- executor
- orchestration
- persistence
- workspaces
- scripts
- serializer
- stores
- folders
- logs
- filters
- workflows/registry
- tools
- jira
- knowledge
- logs
- mem0
- memory
- openai
- stt
- triggers
- table
- helm/sim
- packages
- audit/src
- db
- migrations
- meta
- testing/src/mocks
- workflow-authz/src
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
59 | 56 | | |
60 | 57 | | |
61 | 58 | | |
| |||
102 | 99 | | |
103 | 100 | | |
104 | 101 | | |
| 102 | + | |
105 | 103 | | |
106 | 104 | | |
107 | 105 | | |
| |||
120 | 118 | | |
121 | 119 | | |
122 | 120 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
128 | 125 | | |
129 | 126 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
142 | 161 | | |
143 | 162 | | |
144 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
154 | 177 | | |
155 | 178 | | |
156 | 179 | | |
| |||
231 | 254 | | |
232 | 255 | | |
233 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
234 | 273 | | |
235 | 274 | | |
236 | 275 | | |
| |||
0 commit comments