Repository navigation
Conversation
Resource gains PluginName and PluginVersion. The DRPC pusher maps KindPlugin to PluginBody and nests each resource with a PluginName in the OK plugin of that name; a resource without one is left out of the push, though the aggregate hash still covers it. Every resource error has invalid UTF-8 replaced and is truncated on a UTF-8 boundary to workspacesdk.MaxContextErrorBytes. workspacesdk gains MaxContextResources, MaxContextErrorBytes, and MaxContextSourceBytes, which coderd's agentapi now uses in place of its own constants. The agent socket's ContextResource and the HTTP API's SnapshotResource gain plugin_name and plugin_version, the socket converter makes every string valid UTF-8, and `coder exp chat context show` prints a plugin column. Nothing sets the new fields yet; the resolver emits plugins in the next change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VpiVZBgFqiSdRKrH8dPSPT
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
929d179 to
f79e35a
Compare
Adds
PluginNameandPluginVersionto context resources and carries them through the DRPC push (nestedPluginBody), the agent socket, the HTTP snapshot API, andcoder exp chat context show. Resource errors are made valid UTF-8 and truncated to the newworkspacesdk.MaxContextErrorBytes;MaxContextResourcesandMaxContextSourceBytesmove toworkspacesdkso coderd's agentapi and the agent share them.Nothing sets the plugin fields yet; the next PR in the stack makes the resolver emit plugins.
Part 1 of the #29321 split.
Stack (base
main, replaces #29321–#30577):Generated by Claude Code