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
{{ message }}
Repository navigation
Commit 61db878
Browse filesBrowse the repository at this point in the historyBrowse files
fix(mship): address a log resource by its run everywhere it travels
Resolving a log context by either of the row's two ids was unsound:
execution ids can be caller-supplied (`X-Execution-Id`, any string
matching the id charset), so one can equal another row's primary key and
`LIMIT 1` then picks an unspecified run. Reverted to the exact lookup.
Instead the execution id now survives every path that carries a log
resource, so the reference is right before it reaches the server:
- persist it with the chat's resources, which stored only type/id/title
- drag the whole resource rather than rebuilding that same triple
Also move status presentation out of the data hook: the item carries the
run's status and the row resolves the color, drawing the dot `Badge`
renders at `sm` instead of a new round one, and staying flat so it does
not collide with the menu row's `[&>span]` truncation contract.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/add-resource-dropdown/add-resource-dropdown.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/add-resource-dropdown/resource-from-item.test.ts
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/add-resource-dropdown/resource-from-item.ts
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/resource-registry/resource-registry.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/resource-tabs/resource-tabs.tsx
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -511,10 +511,9 @@ export function ResourceTabs({
0 commit comments