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
Merges remote task-scope fixes with additional tests and SDK hardening:
- Fix taskId resolution via task registry: getTaskById().requesterSessionKey
with fallback to resolveSessionKeyForRun(task.runId)
- Add messageTaskId support in resolveMessageTaskId
- Fix broken taskId test: use getTaskById mock, messageTaskId field, title not label
- Add assertions: resolveSessionKeyForRun not called, loadSessionEntry with sessionKey
- Add test for non-base64 data: URL in content field (content-field regression guard)
- Make ArtifactsNamespace params required with requireArtifactQueryScope helper
for fast local SDK feedback instead of runtime Gateway rejection
Co-authored-by: BunsDev <68980965+BunsDev@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/gateway/protocol.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -388,6 +388,7 @@ enumeration of `src/gateway/server-methods/*.ts`.
388
388
- `agents.list` returns configured agent entries, including effective model and runtime metadata.
389
389
- `agents.create`, `agents.update`, and `agents.delete` manage agent records and workspace wiring.
390
390
- `agents.files.list`, `agents.files.get`, and `agents.files.set` manage the bootstrap workspace files exposed for an agent.
391
+
- `artifacts.list`, `artifacts.get`, and `artifacts.download` expose transcript-derived artifact summaries and downloads for an explicit `sessionKey`, `runId`, or `taskId` scope. Run and task queries resolve the owning session server-side and only return transcript media with matching provenance; unsafe or local URL sources return unsupported downloads instead of fetching server-side.
391
392
- `agent.identity.get` returns the effective assistant identity for an agent or session.
392
393
- `agent.wait` waits for a run to finish and returns the terminal snapshot when available.
0 commit comments