Repository navigation
feat(claws): import Grok bot recipes, URLs, and owned bots - #174960
Patrick-Erichsen wants to merge 4 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Codex review: stale review; fresh review needed. Summary Next step Review history (2 earlier review cycles)
|
7fd50dd to
1c12a46
Compare
1c12a46 to
85e95cc
Compare
|
The authorization follow-up is published at The real WebSocket Gateway test now exercises local packages: administrator installation succeeds, read-only plan/apply is rejected, and actual device-token revocation prevents pending agent creation and plugin publication. Its types/lint/format checks pass. The stack conflict is resolved and both branches are mergeable. Successful live owned-account bulk import remains unqualified pending normal Keychain access; the PR body retains that limitation. I have not requested another importer review while that material proof gap remains. No source data was changed and no active credential prompt remains. |
What Problem This Solves
Users cannot turn a Grok Bot recipe, share URL, or marketplace bot into an OpenClaw Claw, including its instructions and appearance.
User Impact
Adds the bundled
grok-botCLI and conversational import skill. Complete recipes preserve supplied instructions, memory, full skill bodies, name/avatar, getting-started instructions, routines, and integration requirements. Packages can be converted offline and installed through the running gateway's native Claw Add flow.--allimports available content from the signed-in account's owned bots. These results are explicitly partial: Grok's available owner read APIs do not expose complete memories or original integration requirements. Both omissions are recorded in results and installed setup notes. Rooms and teammates' bots are excluded.Routines remain disabled, and integrations require explicit setup. Source conversations and credentials are not migrated. macOS account reuse uses the active Grok Bot account and normal Keychain access on explicit request; an environment token is also supported.
Why This Change Was Made
Grok-specific translation and authentication stay in the plugin. The generic local-package Add capability is supplied by the preceding stack layer. Marketplace summaries are never substituted for full recipes.
Evidence
read_failed.MEMORY.mdwas loaded without truncation.e33e4d5ca2b, a fresh native installation and real local-model turn succeeded; the correct Stalk Bot name and source avatar rendered in the running Control UI. Source and installed screenshots are attached below.BOOTSTRAP.mdand all 3,459 characters ofMEMORY.mdwere injected without truncation, with all 19 imported skills advertised. The setup file still exists after the turn.plugins.entries.grok-bot-importnodes, with no bespoke config options. Removing those nodes reproduces the previous hashes exactly; core/channel budgets are unchanged. Plugin inventory/reference pages are generator-owned.e33e4d5ca2b. The final native first-run fix passed 53 gateway/workspace tests, types, lint, format, and independent review.7fd50ddca6epasses the exact CI type-aware lint, production typecheck, converter tests (6/6), cycle check, assertion ratchet, formatting and diff checks. It removes a type-only cycle, documents existing object guards, and safely narrows filesystem errors.acd27635to resolve a real stack merge conflict in generated configuration fingerprints. Range-diff confirms all five runtime/behavior commits are patch-identical; only the generated combined/core hash context changes. Prior runtime and focused-check evidence is retained with its original revision; current-head CI is tracked separately.Merge risk: reversible plugin addition. Grok's app/API formats are not a published compatibility contract; incompatible responses fail visibly. Imported instructions may reference Grok-specific capabilities that need OpenClaw equivalents.