@nuasite/agent-summary 0.0.36 → 0.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  `@nuasite/agent-summary` is a tiny Astro integration that turns your built site into a machine-readable catalog (`AGENTS.md`) for agentic or LLM-driven tooling. During `astro build` it walks every generated HTML page, extracts lightweight metadata, captures redirects, and keeps several machine-friendly blocks in `AGENTS.md` up to date.
4
4
 
5
5
  ## What it does
6
+
6
7
  - Discovers every concrete page emitted by Astro (skipping redirect-only routes).
7
8
  - Reads the built HTML, normalizes the title/description, and records prominent headings as contextual breadcrumbs.
8
9
  - Serializes each page (and redirect) into JSONL blocks bounded by dedicated `<page_summary*>` markers.
@@ -18,12 +19,13 @@ bun add -D @nuasite/agent-summary
18
19
  ```
19
20
 
20
21
  ## Usage
22
+
21
23
  1. Ensure there is an `AGENTS.md` at the project root (the integration will create one if it is missing).
22
24
  2. Register the integration in your `astro.config.mjs`:
23
25
 
24
26
  ```ts
25
- import { defineConfig } from 'astro/config'
26
27
  import { agentsSummary } from '@nuasite/agent-summary'
28
+ import { defineConfig } from 'astro/config'
27
29
 
28
30
  export default defineConfig({
29
31
  integrations: [
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "directory": "packages/agent-summary"
15
15
  },
16
16
  "license": "Apache-2.0",
17
- "version": "0.0.36",
17
+ "version": "0.0.38",
18
18
  "module": "src/index.ts",
19
19
  "types": "src/index.ts",
20
20
  "type": "module",