@aihu/templates-cf-team
v1.0.0
Published
Cloudflare Workers + monorepo (bun workspaces + moon) team template for Aihu
Readme
@aihu/templates-cf-team
Aihu — agentic discovery and interaction, for human purpose.
Cloudflare Workers + monorepo (bun workspaces + moon) team template for Aihu
Held-private workspace package. Not yet published to npm.
Status: Held private — not yet published to npm. See v1.1 roadmap for ratification gating (e.g. RFC #56 live-binding for
@aihu/pluginenforcement).
Cloudflare Workers + monorepo (bun workspaces + moon) team template for Aihu.
This package is consumed by @aihu/cli at scaffold time. End users do not
install it directly — they run:
bunx create-aihu my-app --template cf-teamWhat this template ships
Fixed cells (not user-overridable):
- Vendor — Cloudflare Workers (
@aihu/adapter-cloudflare) - Persona — team-ready
- Repo shape — monorepo with
bunworkspaces +moontask runner - Lint — Biome
- CI — GitHub Actions + commitlint
- Test — Vitest
Overridable cells (prompted at scaffold time):
auth—better-auth(default) |kinde|supabasestarter—live-counter(default) |emptyagentSurface—minimal(default; emits.mcp.json+@expose) |nonecss—style-block(Tailwind defers to v0.2.1)initGit—true(default) |false
The full manifest lives in ./template.config.ts;
the source tree the CLI copies + substitutes into the user's project lives
under ./template/.
Design notes
- Per arch-6 §1.3 this is the recommended default template. CF was picked as the default vendor because the framework's adapter, deploy surface, and edge-first execution model are most mature there.
- Per §2.5, every M1 template emits the same locked
.mcp.jsoncontent unlessagentSurface === 'none'. - Per §13 Q3 RESOLVED, the three auth providers are gated as conditional file sets — only the chosen provider's files land in the scaffolded project.
See also
@aihu/cli— the scaffolder that consumes this packagedocs/roadmap/arch-6-cli-templates.md— the architecture spec
Install
npm install @aihu/templates-cf-team
# or
bun add @aihu/templates-cf-teamAuto-generated against @aihu/[email protected].
Package facts
| | |
|---|---|
| Version | 1.0.0 |
| Tier | E — Held private (unmapped tier) |
| Published files | 5 entries |
| License | MIT |
Auto-generated against @aihu/[email protected].
Exports
No exports field in package.json. Main entry: ./template.config.js.
Auto-generated against @aihu/[email protected].
Dependencies
Peer dependencies:
@aihu/cli—^0.3.0
Auto-generated against @aihu/[email protected].
See also
Auto-generated against @aihu/[email protected].
License
MIT — see LICENSE.
Auto-generated against @aihu/[email protected].
