Files
cardclaws/cardclaws-mobile/app/(tabs)/agents.tsx
T
Omar SobhandClaude Opus 4.8 d30deaf857
CI / policy (push) Has been cancelled
CI / backend (push) Has been cancelled
CI / profile (push) Has been cancelled
CI / mobile (push) Has been cancelled
Three card families: Collectibles (mint) + Agents (skill-bar back); New-card under cards
- localCardsStore: cards gain `kind` (business/collectible/agent) + optional
  provenance (collectibles) and agent meta (agents); cardsOfKind() filter.
- Cards tab: "+ New card" moved to a footer below the cards (no floating FAB);
  filtered to business cards.
- Collectibles + Agents tabs: real grids (CardCollection) with empty states and
  a "+ New" footer that opens the creator pre-set to that kind.
- Creator (demo.tsx) is kind-aware: collectibles mint a provenance record on
  save (utils/provenance stub, mapped to the creator); agents capture flip-side
  details (AgentDetailsEditor: tagline, skill bars, tools, capabilities).
- Card back per kind: AgentBackTemplate (skill bars/tools/capabilities) for
  agents; CardBackTemplate gains a "Minted · #token · chain" footer for
  collectibles. Both reuse the AI image/video front workflow.
- tsc + 28 jest green.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-06-06 00:16:06 -05:00

16 lines
489 B
TypeScript

// Agents: cards for your AI assistants. Front is an AI-generated portrait; the
// flip side shows skill bars, tools, and special capabilities.
import { CardCollection } from "../../src/components/CardCollection";
export default function Agents() {
return (
<CardCollection
kind="agent"
heading="Agents"
addLabel="+ New agent"
emptyTitle="No agent cards yet"
emptyHint="Generate a portrait of your assistant; flip it for skills & tools."
/>
);
}