td-ai-tools 1.1.6 → 1.1.8

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.
package/README.md CHANGED
@@ -11,6 +11,10 @@ This repository is a lightweight foundation for organizing reusable agent packs,
11
11
  - `skills/`: Reusable skills (`SKILL.md`, optional scripts/references, model metadata).
12
12
  - `workflows/`: Reusable multi-step orchestration workflows.
13
13
  - `evals/`: Evaluation cases, datasets, and runners.
14
+ - `bin/cli.js`: Installer entrypoint (arg parsing + presentation).
15
+ - `lib/`: Installer internals — `catalog.js` (catalog/install state), `installer.js` (copy/delete), `frontmatter.js`, `semver.js`, `fs-utils.js`.
16
+ - `scripts/sync-readmes.js`: Regenerates the catalog indexes in `skills/README.md` and `agents/README.md` from item frontmatter.
17
+ - `test/`: `node --test` unit tests for `lib/`.
14
18
 
15
19
  ## Basic Usage
16
20
  1. Add agent packs in `agents/` and index them in `agents/README.md`.
@@ -61,9 +65,20 @@ Every skill and agent pack carries a `version:` field in its frontmatter (`SKILL
61
65
 
62
66
  **Maintainers:** bump an item's `version:` whenever you change its contents — `PATCH` for fixes/tweaks, `MINOR` for new behavior, `MAJOR` for breaking changes. Without a bump, users will not see the update flagged.
63
67
 
68
+ ## Catalog Indexes
69
+ The "Available Skills" / "Available Agent Packs" lists in `skills/README.md` and `agents/README.md` are generated from each item's frontmatter `description`. After adding, removing, or re-describing an item, regenerate them:
70
+
71
+ ```bash
72
+ npm run readmes # rewrite the indexes in place
73
+ npm run readmes:check # CI gate — fails if the indexes are stale
74
+ ```
75
+
64
76
  ## Local Verification
65
- Run the local smoke test to package the repo and verify installation into a throwaway project:
77
+ Run the unit tests and the local smoke test (packages the repo and verifies installation into a throwaway project):
66
78
 
67
79
  ```bash
80
+ npm test
68
81
  npm run smoke:install
69
82
  ```
83
+
84
+ CI (`.github/workflows/ci.yml`) runs the unit tests, the README freshness check, and the smoke install on every push and pull request.
package/agents/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # agents
2
2
 
3
3
  ## Available Agent Packs
4
- - `horizon-component-library/`: Theory Digital Horizon component-library agent rules, with guard script.
5
- - `component-library-section-blocks/`: Theory Digital component-library agent rules for section-block implementations, with guard script.
4
+ - `component-library-section-blocks`: Theory Digital component-library agent rules for section-block implementations, with guard script.
5
+ - `horizon-component-library`: Theory Digital Horizon component-library agent rules, with guard script.
6
6
 
7
7
  ## Pack Structure Convention
8
8
  - `<pack-name>/AGENTS.md`
@@ -1,5 +1,6 @@
1
1
  ---
2
- version: 1.0.0
2
+ version: 1.0.1
3
+ description: Theory Digital component-library agent rules for section-block implementations, with guard script.
3
4
  ---
4
5
 
5
6
  # .codex/AGENTS.md — Theory Digital
@@ -1,5 +1,6 @@
1
1
  ---
2
- version: 1.0.0
2
+ version: 1.0.1
3
+ description: Theory Digital Horizon component-library agent rules, with guard script.
3
4
  ---
4
5
 
5
6
  # .codex/AGENTS.md — Theory Digital