@orderful/droid 0.13.0 → 0.14.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @orderful/droid
2
2
 
3
+ ## 0.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#77](https://github.com/Orderful/droid/pull/77) [`3c1fed8`](https://github.com/Orderful/droid/commit/3c1fed80b7fc3eafcc5e31e55e99c41477b9a5d3) Thanks [@frytyler](https://github.com/frytyler)! - feat(droid): add tool catalog for discovery (v0.2.0)
8
+ - Add Tool Catalog section to droid skill for answering "what tools do I have?"
9
+ - Dynamic version checking via TOOL.yaml files instead of hardcoded versions
10
+ - Example responses for common discovery questions
11
+ - Bump droid skill to v0.2.0
12
+
3
13
  ## 0.13.0
4
14
 
5
15
  ### Minor Changes
package/dist/bin/droid.js CHANGED
@@ -7,7 +7,7 @@ import { installCommand } from '../commands/install.js';
7
7
  import { uninstallCommand } from '../commands/uninstall.js';
8
8
  import { updateCommand } from '../commands/update.js';
9
9
  import { tuiCommand } from '../commands/tui.js';
10
- import { getVersion, checkForUpdates } from '../lib/version.js';
10
+ import { getVersion } from '../lib/version.js';
11
11
  const version = getVersion();
12
12
  program
13
13
  .name('droid')
@@ -47,8 +47,6 @@ program
47
47
  .command('tui')
48
48
  .description('Launch interactive TUI dashboard')
49
49
  .action(tuiCommand);
50
- // Check for updates on any command (non-blocking)
51
- checkForUpdates().catch(() => { });
52
50
  // If no command provided, launch TUI
53
51
  if (process.argv.length === 2) {
54
52
  tuiCommand();
@@ -1 +1 @@
1
- {"version":3,"file":"droid.js","sourceRoot":"","sources":["../../src/bin/droid.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACt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AAO,CAAC,KAAK,EAAE,CAAC;AAClB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  name: droid
2
- description: "Core droid meta-skill for update awareness and discovery. Notifies about droid updates from within Claude Code."
3
- version: 0.1.0
2
+ description: "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools."
3
+ version: 0.2.0
4
4
  status: beta
5
5
 
6
6
  # System tool - always stays current regardless of auto-update settings
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: droid
3
- description: "Core droid meta-skill for update awareness. Checks for droid updates and notifies users from within Claude Code."
3
+ description: "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools."
4
4
  globs:
5
5
  - "**/*"
6
6
  alwaysApply: false
@@ -8,11 +8,12 @@ alwaysApply: false
8
8
 
9
9
  # Droid
10
10
 
11
- Core meta-skill for droid update awareness.
11
+ Core meta-skill for droid update awareness and tool discovery.
12
12
 
13
13
  ## Purpose
14
14
 
15
- Notify users about droid CLI updates from within Claude Code. Users who don't run `droid` often may miss updates - this skill proactively nudges them.
15
+ 1. **Update awareness** - Notify users about droid CLI updates from within Claude Code
16
+ 2. **Tool discovery** - Help users find the right tools for their workflow
16
17
 
17
18
  ## Update Checking
18
19
 
@@ -115,3 +116,118 @@ Run `droid` when you're ready to update.
115
116
  - If the npm check fails (network issues), silently skip - don't error
116
117
  - The droid eyes `[● ●]` and Star Wars quote are intentional branding - always include them
117
118
  - Be helpful but not annoying - one nudge per session is enough
119
+
120
+ ---
121
+
122
+ ## Tool Catalog
123
+
124
+ When users ask about droid tools ("what tools do I have?", "what's available?", "what can droid do?"), use this catalog.
125
+
126
+ ### Checking Installed Tools
127
+
128
+ ```bash
129
+ cat ~/.droid/config.yaml
130
+ ```
131
+
132
+ Look for the `tools:` section under the current platform (e.g., `claude_code:`).
133
+
134
+ ### Available Tools
135
+
136
+ To get tool info (version, status, description), read TOOL.yaml from the droid package:
137
+
138
+ ```bash
139
+ for f in $(npm root -g)/@orderful/droid/dist/tools/*/TOOL.yaml; do echo "---"; cat "$f"; done
140
+ ```
141
+
142
+ **Tools:**
143
+
144
+ | Tool | Description |
145
+ |------|-------------|
146
+ | **brain** | Collaborative scratchpad for planning and research |
147
+ | **coach** | Learning-mode AI - scaffolds don't implement, questions don't fix |
148
+ | **code-review** | Code review with specialized agents and confidence scoring |
149
+ | **comments** | Inline conversations using @droid/@user markers |
150
+ | **project** | Project context for persistent AI memory across sessions |
151
+
152
+ ### Tool Details
153
+
154
+ #### brain
155
+ Collaborative scratchpad for planning and research. Create docs with `/brain plan`, `/brain research`, or `/brain review`. Use @mentions for async discussion. Docs persist across sessions.
156
+
157
+ **Commands:** `/brain`, `/scratchpad`
158
+ **Optional extension:** brain-obsidian (Obsidian vault integration with YAML frontmatter and wikilinks)
159
+
160
+ #### coach
161
+ Learning-mode AI assistance - AI as coach, not crutch. Use `/coach plan` for co-authored planning, `/coach scaffold` for structure with hints, `/coach review` for Socratic questions.
162
+
163
+ **Commands:** `/coach`
164
+ **Requires:** comments tool
165
+
166
+ #### code-review
167
+ Comprehensive code review using specialized agents. Reviews PRs, staged changes, branches, or specific files with confidence scoring.
168
+
169
+ **Commands:** `/code-review`
170
+ **Agents:** edi-standards-reviewer, error-handling-reviewer, test-coverage-analyzer, type-reviewer
171
+
172
+ #### comments
173
+ Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Ideal for code review notes and async collaboration.
174
+
175
+ **Commands:** `/comments check`, `/comments cleanup`
176
+
177
+ #### project
178
+ Manage project context files for persistent AI memory across sessions. Load, update, or create project context before working on multi-session features.
179
+
180
+ **Commands:** `/project`, `/project update`, `/project create`
181
+
182
+ ### Installing Tools
183
+
184
+ To install a tool:
185
+ ```bash
186
+ droid install <tool-name>
187
+ ```
188
+
189
+ Or run `droid` to open the TUI and browse available tools.
190
+
191
+ ### Example Responses
192
+
193
+ **User:** "What droid tools do I have installed?"
194
+
195
+ ```
196
+ Let me check your installed tools...
197
+
198
+ [● ●] You have these droid tools installed:
199
+
200
+ - **comments** (v0.2.3) - Inline @droid/@user conversations
201
+ - **brain** (v0.2.0) - Planning and research scratchpad
202
+ - **project** (v0.1.2) - Project context management
203
+
204
+ Run `droid` to see all available tools or install new ones.
205
+ ```
206
+
207
+ **User:** "What tools are available?"
208
+
209
+ ```
210
+ [● ●] Here are the droid tools you can install:
211
+
212
+ | Tool | What it does |
213
+ |------|--------------|
214
+ | brain | Planning and research scratchpad with `/brain` commands |
215
+ | coach | Learning-mode AI that asks questions instead of giving answers |
216
+ | code-review | PR review with specialized agents |
217
+ | comments | Inline @droid/@user conversations in any file |
218
+ | project | Persistent project context across sessions |
219
+
220
+ Run `droid install <tool>` or just `droid` to browse and install.
221
+ ```
222
+
223
+ **User:** "What's the difference between brain and project?"
224
+
225
+ ```
226
+ [● ●] Good question!
227
+
228
+ **brain** - For ephemeral thinking: plans, research, reviews. Use `/brain plan auth-refactor` to start a planning doc, iterate with @mentions, then archive when done.
229
+
230
+ **project** - For persistent context: what the project is, key decisions, current work. Load with `/project myapp` at the start of a session so I have context.
231
+
232
+ They work well together: research in brain docs, capture decisions in project files.
233
+ ```
@@ -1,6 +1,6 @@
1
1
  name: droid
2
- description: "Core droid meta-skill for update awareness. Checks for droid updates and notifies users from within Claude Code."
3
- version: 0.1.0
2
+ description: "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools."
3
+ version: 0.2.0
4
4
  status: beta
5
5
  dependencies: []
6
6
  provides_output: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderful/droid",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "AI workflow toolkit for sharing skills, commands, and agents across the team",
5
5
  "type": "module",
6
6
  "bin": {
package/src/bin/droid.ts CHANGED
@@ -8,7 +8,7 @@ import { installCommand } from '../commands/install.js';
8
8
  import { uninstallCommand } from '../commands/uninstall.js';
9
9
  import { updateCommand } from '../commands/update.js';
10
10
  import { tuiCommand } from '../commands/tui.js';
11
- import { getVersion, checkForUpdates } from '../lib/version.js';
11
+ import { getVersion } from '../lib/version.js';
12
12
 
13
13
  const version = getVersion();
14
14
 
@@ -58,9 +58,6 @@ program
58
58
  .description('Launch interactive TUI dashboard')
59
59
  .action(tuiCommand);
60
60
 
61
- // Check for updates on any command (non-blocking)
62
- checkForUpdates().catch(() => {});
63
-
64
61
  // If no command provided, launch TUI
65
62
  if (process.argv.length === 2) {
66
63
  tuiCommand();
@@ -1,6 +1,6 @@
1
1
  name: droid
2
- description: "Core droid meta-skill for update awareness and discovery. Notifies about droid updates from within Claude Code."
3
- version: 0.1.0
2
+ description: "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools."
3
+ version: 0.2.0
4
4
  status: beta
5
5
 
6
6
  # System tool - always stays current regardless of auto-update settings
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: droid
3
- description: "Core droid meta-skill for update awareness. Checks for droid updates and notifies users from within Claude Code."
3
+ description: "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools."
4
4
  globs:
5
5
  - "**/*"
6
6
  alwaysApply: false
@@ -8,11 +8,12 @@ alwaysApply: false
8
8
 
9
9
  # Droid
10
10
 
11
- Core meta-skill for droid update awareness.
11
+ Core meta-skill for droid update awareness and tool discovery.
12
12
 
13
13
  ## Purpose
14
14
 
15
- Notify users about droid CLI updates from within Claude Code. Users who don't run `droid` often may miss updates - this skill proactively nudges them.
15
+ 1. **Update awareness** - Notify users about droid CLI updates from within Claude Code
16
+ 2. **Tool discovery** - Help users find the right tools for their workflow
16
17
 
17
18
  ## Update Checking
18
19
 
@@ -115,3 +116,118 @@ Run `droid` when you're ready to update.
115
116
  - If the npm check fails (network issues), silently skip - don't error
116
117
  - The droid eyes `[● ●]` and Star Wars quote are intentional branding - always include them
117
118
  - Be helpful but not annoying - one nudge per session is enough
119
+
120
+ ---
121
+
122
+ ## Tool Catalog
123
+
124
+ When users ask about droid tools ("what tools do I have?", "what's available?", "what can droid do?"), use this catalog.
125
+
126
+ ### Checking Installed Tools
127
+
128
+ ```bash
129
+ cat ~/.droid/config.yaml
130
+ ```
131
+
132
+ Look for the `tools:` section under the current platform (e.g., `claude_code:`).
133
+
134
+ ### Available Tools
135
+
136
+ To get tool info (version, status, description), read TOOL.yaml from the droid package:
137
+
138
+ ```bash
139
+ for f in $(npm root -g)/@orderful/droid/dist/tools/*/TOOL.yaml; do echo "---"; cat "$f"; done
140
+ ```
141
+
142
+ **Tools:**
143
+
144
+ | Tool | Description |
145
+ |------|-------------|
146
+ | **brain** | Collaborative scratchpad for planning and research |
147
+ | **coach** | Learning-mode AI - scaffolds don't implement, questions don't fix |
148
+ | **code-review** | Code review with specialized agents and confidence scoring |
149
+ | **comments** | Inline conversations using @droid/@user markers |
150
+ | **project** | Project context for persistent AI memory across sessions |
151
+
152
+ ### Tool Details
153
+
154
+ #### brain
155
+ Collaborative scratchpad for planning and research. Create docs with `/brain plan`, `/brain research`, or `/brain review`. Use @mentions for async discussion. Docs persist across sessions.
156
+
157
+ **Commands:** `/brain`, `/scratchpad`
158
+ **Optional extension:** brain-obsidian (Obsidian vault integration with YAML frontmatter and wikilinks)
159
+
160
+ #### coach
161
+ Learning-mode AI assistance - AI as coach, not crutch. Use `/coach plan` for co-authored planning, `/coach scaffold` for structure with hints, `/coach review` for Socratic questions.
162
+
163
+ **Commands:** `/coach`
164
+ **Requires:** comments tool
165
+
166
+ #### code-review
167
+ Comprehensive code review using specialized agents. Reviews PRs, staged changes, branches, or specific files with confidence scoring.
168
+
169
+ **Commands:** `/code-review`
170
+ **Agents:** edi-standards-reviewer, error-handling-reviewer, test-coverage-analyzer, type-reviewer
171
+
172
+ #### comments
173
+ Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Ideal for code review notes and async collaboration.
174
+
175
+ **Commands:** `/comments check`, `/comments cleanup`
176
+
177
+ #### project
178
+ Manage project context files for persistent AI memory across sessions. Load, update, or create project context before working on multi-session features.
179
+
180
+ **Commands:** `/project`, `/project update`, `/project create`
181
+
182
+ ### Installing Tools
183
+
184
+ To install a tool:
185
+ ```bash
186
+ droid install <tool-name>
187
+ ```
188
+
189
+ Or run `droid` to open the TUI and browse available tools.
190
+
191
+ ### Example Responses
192
+
193
+ **User:** "What droid tools do I have installed?"
194
+
195
+ ```
196
+ Let me check your installed tools...
197
+
198
+ [● ●] You have these droid tools installed:
199
+
200
+ - **comments** (v0.2.3) - Inline @droid/@user conversations
201
+ - **brain** (v0.2.0) - Planning and research scratchpad
202
+ - **project** (v0.1.2) - Project context management
203
+
204
+ Run `droid` to see all available tools or install new ones.
205
+ ```
206
+
207
+ **User:** "What tools are available?"
208
+
209
+ ```
210
+ [● ●] Here are the droid tools you can install:
211
+
212
+ | Tool | What it does |
213
+ |------|--------------|
214
+ | brain | Planning and research scratchpad with `/brain` commands |
215
+ | coach | Learning-mode AI that asks questions instead of giving answers |
216
+ | code-review | PR review with specialized agents |
217
+ | comments | Inline @droid/@user conversations in any file |
218
+ | project | Persistent project context across sessions |
219
+
220
+ Run `droid install <tool>` or just `droid` to browse and install.
221
+ ```
222
+
223
+ **User:** "What's the difference between brain and project?"
224
+
225
+ ```
226
+ [● ●] Good question!
227
+
228
+ **brain** - For ephemeral thinking: plans, research, reviews. Use `/brain plan auth-refactor` to start a planning doc, iterate with @mentions, then archive when done.
229
+
230
+ **project** - For persistent context: what the project is, key decisions, current work. Load with `/project myapp` at the start of a session so I have context.
231
+
232
+ They work well together: research in brain docs, capture decisions in project files.
233
+ ```
@@ -1,6 +1,6 @@
1
1
  name: droid
2
- description: "Core droid meta-skill for update awareness. Checks for droid updates and notifies users from within Claude Code."
3
- version: 0.1.0
2
+ description: "Core droid meta-skill for update awareness and tool discovery. Checks for updates and helps users find the right tools."
3
+ version: 0.2.0
4
4
  status: beta
5
5
  dependencies: []
6
6
  provides_output: false