431e7481ef
- Architecture diagram gains the cred-proxy lane (agent talks plain HTTP via bearer-auth-injection; sidecar talks HTTPS to the real upstream with the manifest token). - Adds a cred-proxy entry under the sidecar bullet list, with a pointer to PRD 0010. - Manifest example illustrates the `tokens` array on a bottle. - Auth section notes that declaring an `anthropic` token routes CLAUDE_BOTTLE_OAUTH_TOKEN through the sidecar instead of into the agent's environ. - claude-bottle.example.json gains an `agentic` bottle declaring all four token kinds, plus a paired `agentic-helper` agent.
82 lines
2.2 KiB
JSON
82 lines
2.2 KiB
JSON
{
|
|
"bottles": {
|
|
"default": {
|
|
"env": {},
|
|
"egress": {
|
|
"allowlist": [
|
|
"github.com",
|
|
"objects.githubusercontent.com",
|
|
"registry.npmjs.org"
|
|
]
|
|
}
|
|
},
|
|
|
|
"gitea-dev": {
|
|
"env": {
|
|
"GITEA_TOKEN": "?paste your Gitea API token",
|
|
"GITHUB_TOKEN": "${GH_PAT}",
|
|
"GIT_AUTHOR_NAME": "Eric Diderich",
|
|
"NODE_ENV": "development"
|
|
},
|
|
"git": [
|
|
{
|
|
"Name": "claude-bottle",
|
|
"Upstream": "ssh://git@gitea.dideric.is:30009/didericis/claude-bottle.git",
|
|
"IdentityFile": "/Users/didericis/.ssh/id_ed25519_gitea",
|
|
"KnownHostKey": "ssh-ed25519 AAAA...",
|
|
"ExtraHosts": { "gitea.dideric.is": "100.78.141.42" }
|
|
}
|
|
],
|
|
"egress": {
|
|
"allowlist": [
|
|
"github.com",
|
|
"objects.githubusercontent.com",
|
|
"registry.npmjs.org",
|
|
"pypi.org",
|
|
"files.pythonhosted.org"
|
|
]
|
|
}
|
|
},
|
|
|
|
"agentic": {
|
|
"env": {
|
|
"GIT_AUTHOR_NAME": "Eric Diderich",
|
|
"NODE_ENV": "development"
|
|
},
|
|
"tokens": [
|
|
{ "Kind": "anthropic", "TokenRef": "CLAUDE_BOTTLE_OAUTH_TOKEN" },
|
|
{ "Kind": "github", "TokenRef": "GH_PAT" },
|
|
{ "Kind": "gitea", "TokenRef": "GITEA_TOKEN",
|
|
"Url": "https://gitea.dideric.is" },
|
|
{ "Kind": "npm", "TokenRef": "NPM_TOKEN" }
|
|
]
|
|
}
|
|
},
|
|
|
|
"agents": {
|
|
"researcher": {
|
|
"bottle": "default",
|
|
"skills": [],
|
|
"prompt": "You are a research assistant. Read widely, summarise concisely, and cite sources by URL. Do not write code unless explicitly asked."
|
|
},
|
|
|
|
"gitea-helper": {
|
|
"bottle": "gitea-dev",
|
|
"skills": ["init-prd"],
|
|
"prompt": "You help maintain Gitea-hosted projects. Prefer small, focused commits. Follow Conventional Commits. Run tests before pushing."
|
|
},
|
|
|
|
"agentic-helper": {
|
|
"bottle": "agentic",
|
|
"skills": [],
|
|
"prompt": "You operate against APIs whose credentials live in a per-bottle cred-proxy sidecar. Your environ carries only proxy URLs."
|
|
},
|
|
|
|
"minimal": {
|
|
"bottle": "default",
|
|
"skills": [],
|
|
"prompt": ""
|
|
}
|
|
}
|
|
}
|