refactor(provider-grok): move Grok into its own provider package (#17357)

Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Opus 5.5 authored and GitHub committed 2026-10-08 18:30:58 -07:00
1 parent 664bd5e524
commit b707eeb052
45 files changed
+287 -149

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ capabilities, never the driver kind.
falls back, for example to portable context handoff for forks. A capability left on that fails
at runtime is a bug.
- **Permission modes.** Offer only modes the provider enforces natively, through
`supportedRuntimeModes` in the provider presentation ([Grok](../../apps/server/src/provider/GrokProvider.ts)
`supportedRuntimeModes` in the provider presentation ([Grok](../../packages/provider-grok/src/server/status.ts)
and [Pi](../../packages/provider-pi/src/server/status.ts) are examples). Do not imitate a missing
mode by answering approvals in T3: T3's check is weaker than the agent's own enforcement. The
server runs an unoffered stored mode as Supervised
+1 -1
View File
@@ -52,7 +52,7 @@ and removal must respect those leases instead of replacing executables under a r
## Setup must not happen as a health-check side effect
Opening a provider session can start MCP servers, run hooks, or launch a login browser.
[Grok probes](../../apps/server/src/provider/GrokProvider.ts) avoid authentication and
[Grok probes](../../packages/provider-grok/src/server/status.ts) avoid authentication and
session creation for this reason. Antigravity likewise reserves authenticated catalog sessions for
explicit setup or model refresh; background checks use initialization only.