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 +16 -1
- package/agents/README.md +2 -2
- package/agents/component-library-section-blocks/AGENTS.md +2 -1
- package/agents/horizon-component-library/AGENTS.md +2 -1
- package/bin/cli.js +218 -271
- package/lib/catalog.js +223 -0
- package/lib/frontmatter.js +66 -0
- package/lib/fs-utils.js +50 -0
- package/lib/installer.js +169 -0
- package/lib/semver.js +39 -0
- package/package.json +5 -2
- package/skills/README.md +16 -7
- package/skills/barrage/SKILL.md +180 -0
- package/skills/barrage/agents/openai.yaml +4 -0
- package/skills/barrage/scripts/__pycache__/build_queue.cpython-312.pyc +0 -0
- package/skills/barrage/scripts/build_queue.py +276 -0
- package/skills/barrage/tests/test_build_queue.py +135 -0
- package/skills/cache-reset/SKILL.md +5 -2
- package/skills/scry/SKILL.md +74 -0
- package/skills/scry/agents/openai.yaml +4 -0
- package/skills/scry/scripts/scry.py +542 -0
- package/skills/scry/tests/test_scry.py +96 -0
- package/scripts/smoke-install.sh +0 -60
- package/skills/stylesheet-migration/scripts/__pycache__/liquid_stylesheet_migrator.cpython-312.pyc +0 -0
- package/skills/stylesheet-migration/scripts/__pycache__/test_liquid_stylesheet_migrator.cpython-312.pyc +0 -0
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
|
|
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
|
-
- `
|
|
5
|
-
- `component-library
|
|
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`
|