Agent cards: shareable brain QR on the flip side
CI / policy (push) Has been cancelled
CI / backend (push) Has been cancelled
CI / profile (push) Has been cancelled
CI / mobile (push) Has been cancelled

- Backend brainhub: AgentBrain gains resourceUrl
  (https://clawbrainhub.com/brains/{owner}/{name}); set in parse_brain + fake.
- Mobile: AgentMeta gains brainUrl (carried from the pulled brain's resourceUrl).
- AgentBackTemplate: under Special capabilities, a "Share brain link" toggle
  reveals a QR (+ the URL) that anyone can scan to open the brain on
  ClawBrainHub.
- Gate green: mobile 28, backend brainhub tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
Omar Sobh
2026-06-06 06:31:17 -05:00
co-authored by Claude Opus 4.8
parent 9765a08a5a
commit 3b858db6ab
5 changed files with 54 additions and 1 deletions
+1
View File
@@ -193,6 +193,7 @@ export default function CardEditorScreen() {
skills: b.skills.map((s) => ({ name: s, level: 4 })),
tools: b.tools,
capabilities: b.capabilities,
brainUrl: b.resourceUrl,
});
setShowing(false);
draft.setPendingAgentBrain(null);