@act-spec/plugin-astro
v0.2.0-rc.1
Published
PRD-401 Astro generator for the ACT (Agent Content Tree) v0.1 reference implementation.
Readme
@act-spec/plugin-astro
Astro integration for ACT (Agent Content Tree). Wraps the ACT generator pipeline as an Astro integration so an Astro site can emit a conformant ACT file set alongside its static build.
Status
ACT v0.1 internal hand-test candidate. Public release lands at v0.2.
Install
Unpublished in v0.1. Consume via the workspace:
// package.json
{ "dependencies": { "@act-spec/plugin-astro": "workspace:*" } }Usage
// astro.config.mjs
import { defineConfig } from 'astro/config';
import act from '@act-spec/plugin-astro';
import { markdown } from '@act-spec/adapter-markdown';
export default defineConfig({
integrations: [
act({
output: { dir: 'public/act' },
manifest: { site: { name: 'Example' } },
adapters: [markdown({ rootDir: './src/content' })],
}),
],
});See examples/astro-docs/ for a complete project.
Links
- Generator core:
@act-spec/generator-core - Repository: https://github.com/act-spec/act
