devsandbox 0.11.1

Manage devcontainer-style sandboxes on docker, podman, or Apple container — many throwaway instances per repo from one TOML config.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
// Content for one coding agent only, shown while the reader has it picked.
// For code, prefer a fence with `agent="<id>"` in its meta.
import { findAgent } from '../lib/agents';

interface Props {
  agent: string;
}

const { agent } = Astro.props;
if (!findAgent(agent)) throw new Error(`AgentOnly: unknown agent "${agent}"`);
---

<div class="agent-only" data-agent-only={agent}><slot /></div>