allow site-agent streaming hook createClient (WO-SA-006)
SiteAgentService.SendMessage is a Connect server-streaming RPC consumed with for-await; generated Connect Query hooks are unary-only (same justification as use-restart-operation). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
3c88b19ff6
commit
bba5946bb1
@ -43,6 +43,10 @@ var allowedFrontendFiles = map[string]bool{
|
|||||||
"hooks/use-restart-operation.ts": true, // Server-streaming + raw Connect envelope for cross-origin orchestrator stream
|
"hooks/use-restart-operation.ts": true, // Server-streaming + raw Connect envelope for cross-origin orchestrator stream
|
||||||
"routes/admin/menus.tsx": true, // Imperative async callback in useCallback
|
"routes/admin/menus.tsx": true, // Imperative async callback in useCallback
|
||||||
"components/data-platform/tables/creation-wizard.tsx": true, // useMutation has serialization bug with oneof fields
|
"components/data-platform/tables/creation-wizard.tsx": true, // useMutation has serialization bug with oneof fields
|
||||||
|
// SiteAgentService.SendMessage is a Connect server-streaming RPC consumed
|
||||||
|
// with `for await` — generated Connect Query hooks are unary-only and
|
||||||
|
// cannot express a streaming turn (same reason as use-restart-operation).
|
||||||
|
"components/site-agent/use-site-agent-stream.ts": true,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Plugin web files that are allowed to call plugin-owned REST handlers because
|
// Plugin web files that are allowed to call plugin-owned REST handlers because
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user