@@ -30,7 +30,7 @@ brew bundle
3030
3131Add new tools to ` brewfile ` , not installed ad-hoc.
3232
33- ### TypeScript Dependencies (cli/package.json)
33+ ### TypeScript Dependencies (packages/ cli/package.json)
3434
3535TypeScript tooling is managed via Bun:
3636
@@ -39,13 +39,13 @@ TypeScript tooling is managed via Bun:
3939cd packages/cli && bun install
4040
4141# Run the CLI tool
42- bun run packages/cli/src/bin/agents.ts < noun > < verb > [args]
42+ bun run packages/cli/src/bin/agents.ts < verb > < type > [args]
4343
4444# Or via justfile
45- just agents < noun > < verb > [args]
45+ just agents < verb > < type > [args]
4646
4747# Run tests
48- cd packages/cli && bun test
48+ bun test --cwd packages/cli
4949```
5050
5151The ` bun.lock ` file is version controlled for reproducible installs.
@@ -89,6 +89,8 @@ See `docs/src/adr/` for architecture decisions.
8989├── brewfile # Tool dependencies (Homebrew)
9090├── pyproject.toml # Python dependencies (uv)
9191├── justfile # Task runner
92+ ├── package.json # Root workspace (Bun)
93+ ├── bun.lock # Lockfile (version controlled)
9294├── CLAUDE.md # This file
9395├── .data/
9496│ └── mcp/
@@ -99,15 +101,19 @@ See `docs/src/adr/` for architecture decisions.
99101│ ├── commands/ # Slash commands
100102│ ├── skills/ # SKILL.md files
101103│ ├── rules/ # Rule files
104+ │ ├── hooks/ # Hook scripts
102105│ ├── plugins/ # Plugin bundles
103106│ └── output-styles/ # Output formatting styles
104- ├── cli/
105- │ ├── bin/agents.ts # Unified CLI (Bun + Citty)
106- │ ├── lib/ # TypeScript modules (hash, output, schemas, etc.)
107- │ ├── commands/ # CLI subcommands (plugin, skill, kg, registry)
108- │ ├── test/ # bun:test suites
109- │ ├── embed.py # KG embedding CLI (Python, sqlite-vec)
110- │ └── sql/ # SQL query files
107+ ├── packages/
108+ │ └── cli/
109+ │ ├── package.json # CLI package
110+ │ └── src/
111+ │ ├── bin/agents.ts # CLI entrypoint
112+ │ ├── commands/ # Command modules (verb-first + legacy)
113+ │ ├── lib/ # Shared library modules
114+ │ ├── client/ # Graph viewer frontend
115+ │ ├── server/ # Graph viewer backend
116+ │ └── sql/ # SQL query files
111117├── settings/
112118│ └── mcp/ # MCP server configurations
113119└── docs/
@@ -122,9 +128,9 @@ See `docs/src/adr/` for architecture decisions.
122128| ------| ---------|
123129| Initialize project | ` just init ` |
124130| Install to ~ /.claude | ` just install ` |
125- | ** CLI tool** | ` just agents <noun > <verb > [args] ` |
126- | Plugin check | ` just agents plugin check <name> ` |
127- | Skill validate | ` just agents skill validate <name> ` |
131+ | ** CLI tool** | ` just agents <verb > <type > [args] ` |
132+ | Plugin check | ` just agents lint --type plugin <name> ` |
133+ | Skill validate | ` just agents lint --type skill <name> ` |
128134| External skill check | ` just skill external:check ` |
129135| Semantic search | ` just kg-search "query" ` |
130136
@@ -178,9 +184,9 @@ See `.claude/skills/beads/` for full documentation.
178184## Conventions
179185
180186- ** Brewfile** : Tool-level dependencies only (ollama, uv, bun, yq, etc.)
181- - ** package.json** (` cli/ ` ): TypeScript packages for ` agents ` CLI (Bun)
187+ - ** package.json** (` packages/ cli/` ): TypeScript packages for ` agents ` CLI (Bun)
182188- ** pyproject.toml** : Python packages for KG only (sqlite-vec, ollama, watchdog)
183189- ** ` just init ` ** : Must be idempotent — safe to run multiple times
184190- ** SQL dumps** : ` .data/**/*.sql ` files are version controlled; ` .db ` files are gitignored
185191- ** Plans** : Written as markdown in ` .claude/plans/ ` , converted to beads issues
186- - ** ` agents ` ** : Unified CLI tool — ` just agents <noun > <verb > ` for plugin/skill/registry operations
192+ - ** ` agents ` ** : Unified CLI tool — ` just agents <verb > <type > ` for plugin/skill/registry operations (verb-first grammar)
0 commit comments