958a8845a6
The "Manifest" section now describes the per-file MD layout under
~/.claude-bottle/{bottles,agents}/, the filename-as-key convention,
the YAML subset constraints, and the trust boundary (bottles are
home-only by filesystem layout). Includes a working bottle example
with comments inside the frontmatter and a working agent example
showing the Markdown body as the system prompt.
Drops claude-bottle.example.json. The new examples/ tree —
examples/bottles/dev.md, examples/agents/implementer.md,
examples/agents/researcher.md — verifies the parser end-to-end via
Manifest.from_md_dirs(examples/, None).
39 lines
1.0 KiB
Markdown
39 lines
1.0 KiB
Markdown
---
|
|
env:
|
|
GIT_AUTHOR_NAME: Eric Diderich
|
|
NODE_ENV: development
|
|
|
|
cred_proxy:
|
|
routes:
|
|
- path: /anthropic/
|
|
upstream: https://api.anthropic.com
|
|
auth_scheme: Bearer
|
|
token_ref: CLAUDE_BOTTLE_OAUTH_TOKEN
|
|
role: anthropic-base-url
|
|
- path: /gh-api/
|
|
upstream: https://api.github.com
|
|
auth_scheme: Bearer
|
|
token_ref: GH_PAT
|
|
- path: /gh-git/
|
|
upstream: https://github.com
|
|
auth_scheme: Bearer
|
|
token_ref: GH_PAT
|
|
role: git-insteadof
|
|
- path: /gitea/dideric/
|
|
upstream: https://gitea.dideric.is
|
|
auth_scheme: token
|
|
token_ref: GITEA_TOKEN
|
|
role: [git-insteadof, tea-login]
|
|
- path: /npm/
|
|
upstream: https://registry.npmjs.org
|
|
auth_scheme: Bearer
|
|
token_ref: NPM_TOKEN
|
|
role: npm-registry
|
|
---
|
|
|
|
The `dev` bottle — backs a generic development workflow.
|
|
|
|
Holds tokens for Anthropic, GitHub, a self-hosted Gitea, and npm.
|
|
Drop this file into `~/.claude-bottle/bottles/dev.md` and any agent
|
|
referencing `bottle: dev` will launch against this infrastructure.
|