Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(claude): draw Claude Code plugin status lines, toasts and prompt band #15827

Closedcodeclawd(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/15827/headopened View on GitHub

Showing 14 changed files with 31 additions and 2 deletions (loading 11).

x
0 of 14 viewed, 14 left
2 additions and 0 deletionsapps/server/src/auth/RpcAuthorization.tsModified
View file
@@ -58,6 +58,8 @@
[WS_METHODS.providerInstallCancel]: AuthOrchestrationOperateScope,
[WS_METHODS.providerInstallSubscribe]: AuthOrchestrationReadScope,
[WS_METHODS.providerInstallRemove]: AuthOrchestrationOperateScope,
+ [WS_METHODS.claudePluginUiSubscribe]: AuthOrchestrationReadScope,
+ [WS_METHODS.claudePluginUiPress]: AuthOrchestrationOperateScope,
[WS_METHODS.serverUpdateServer]: AuthOrchestrationOperateScope,
[WS_METHODS.serverUpdateServerWithProgress]: AuthOrchestrationOperateScope,
[WS_METHODS.serverCommitDesktopUpdate]: AuthOrchestrationOperateScope,
25 additions and 1 deletionapps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.tsModified
View file
@@ -108,6 +108,7 @@
shouldPersistProviderEvent,
} from "../../provider/Layers/EventNdjsonLogger.ts";
import * as ProviderEventLoggers from "../../provider/Layers/ProviderEventLoggers.ts";
+import * as ClaudePluginUi from "../../provider/ClaudePluginUi.ts";
import {
claudeRateLimitEventToUpdate,
type ClaudeScopedLimitNames,
@@ -591,15 +592,26 @@
​
+/** The SDK `Query`'s control-request sender, when this SDK build has one. */
+const claudeControlRequestOf = (
+ queryRuntime: unknown,
+): ClaudePluginUi.ClaudeControlRequest | undefined => {