@orderful/droid 0.31.1 → 0.32.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/.claude-plugin/marketplace.json +17 -4
- package/AGENTS.md +16 -0
- package/CHANGELOG.md +90 -0
- package/dist/bin/droid.js +515 -434
- package/dist/commands/setup.d.ts +1 -0
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/tui/components/PlatformBadges.d.ts +6 -0
- package/dist/commands/tui/components/PlatformBadges.d.ts.map +1 -0
- package/dist/commands/tui/components/SettingsDetails.d.ts +4 -1
- package/dist/commands/tui/components/SettingsDetails.d.ts.map +1 -1
- package/dist/commands/tui/types.d.ts +1 -1
- package/dist/commands/tui/types.d.ts.map +1 -1
- package/dist/commands/tui/views/SetupScreen.d.ts +3 -2
- package/dist/commands/tui/views/SetupScreen.d.ts.map +1 -1
- package/dist/commands/tui.d.ts.map +1 -1
- package/dist/index.js +138 -86
- package/dist/lib/agents.d.ts +7 -2
- package/dist/lib/agents.d.ts.map +1 -1
- package/dist/lib/platforms.d.ts +10 -1
- package/dist/lib/platforms.d.ts.map +1 -1
- package/dist/lib/skills.d.ts.map +1 -1
- package/dist/lib/types.d.ts +5 -0
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/tools/brain/.claude-plugin/plugin.json +1 -1
- package/dist/tools/brain/TOOL.yaml +1 -1
- package/dist/tools/brain/commands/brain.md +13 -11
- package/dist/tools/brain/commands/scratchpad.md +4 -6
- package/dist/tools/brain/skills/brain/SKILL.md +62 -105
- package/dist/tools/brain/skills/brain/references/templates.md +37 -5
- package/dist/tools/brain/skills/brain/references/workflows.md +27 -16
- package/dist/tools/brain/skills/brain-obsidian/references/workflows.md +1 -1
- package/dist/tools/codex/.claude-plugin/plugin.json +1 -1
- package/dist/tools/codex/TOOL.yaml +1 -1
- package/dist/tools/codex/commands/codex.md +15 -12
- package/dist/tools/codex/skills/codex/SKILL.md +30 -63
- package/dist/tools/codex/skills/codex/references/creating.md +2 -2
- package/dist/tools/codex/skills/codex/references/decisions.md +1 -1
- package/dist/tools/droid/.claude-plugin/plugin.json +1 -1
- package/dist/tools/droid/TOOL.yaml +1 -1
- package/dist/tools/droid/skills/droid/SKILL.md +48 -409
- package/dist/tools/project/.claude-plugin/plugin.json +1 -1
- package/dist/tools/project/TOOL.yaml +1 -1
- package/dist/tools/project/commands/project.md +12 -12
- package/dist/tools/project/skills/project/SKILL.md +12 -4
- package/dist/tools/project/skills/project/references/creating.md +2 -2
- package/dist/tools/project/skills/project/references/loading.md +17 -3
- package/dist/tools/tech-design/skills/tech-design/references/think.md +1 -1
- package/dist/tools/wrapup/.claude-plugin/plugin.json +16 -0
- package/dist/tools/wrapup/TOOL.yaml +16 -0
- package/dist/tools/wrapup/commands/wrapup.md +21 -0
- package/dist/tools/wrapup/skills/wrapup/SKILL.md +86 -0
- package/dist/tools/wrapup/skills/wrapup/references/output-schema.md +93 -0
- package/dist/tools/wrapup/skills/wrapup/references/subagent-prompts.md +87 -0
- package/package.json +1 -1
- package/src/commands/setup.ts +67 -61
- package/src/commands/tui/components/PlatformBadges.tsx +36 -0
- package/src/commands/tui/components/SettingsDetails.tsx +16 -4
- package/src/commands/tui/types.ts +1 -1
- package/src/commands/tui/views/SetupScreen.tsx +26 -49
- package/src/commands/tui.tsx +21 -9
- package/src/lib/agents.ts +23 -7
- package/src/lib/platforms.ts +44 -1
- package/src/lib/skills.ts +79 -40
- package/src/lib/types.ts +11 -0
- package/src/tools/brain/.claude-plugin/plugin.json +1 -1
- package/src/tools/brain/TOOL.yaml +1 -1
- package/src/tools/brain/commands/brain.md +13 -11
- package/src/tools/brain/commands/scratchpad.md +4 -6
- package/src/tools/brain/skills/brain/SKILL.md +62 -105
- package/src/tools/brain/skills/brain/references/templates.md +37 -5
- package/src/tools/brain/skills/brain/references/workflows.md +27 -16
- package/src/tools/brain/skills/brain-obsidian/references/workflows.md +1 -1
- package/src/tools/codex/.claude-plugin/plugin.json +1 -1
- package/src/tools/codex/TOOL.yaml +1 -1
- package/src/tools/codex/commands/codex.md +15 -12
- package/src/tools/codex/skills/codex/SKILL.md +30 -63
- package/src/tools/codex/skills/codex/references/creating.md +2 -2
- package/src/tools/codex/skills/codex/references/decisions.md +1 -1
- package/src/tools/droid/.claude-plugin/plugin.json +1 -1
- package/src/tools/droid/TOOL.yaml +1 -1
- package/src/tools/droid/skills/droid/SKILL.md +48 -409
- package/src/tools/project/.claude-plugin/plugin.json +1 -1
- package/src/tools/project/TOOL.yaml +1 -1
- package/src/tools/project/commands/project.md +12 -12
- package/src/tools/project/skills/project/SKILL.md +12 -4
- package/src/tools/project/skills/project/references/creating.md +2 -2
- package/src/tools/project/skills/project/references/loading.md +17 -3
- package/src/tools/tech-design/skills/tech-design/references/think.md +1 -1
- package/src/tools/wrapup/.claude-plugin/plugin.json +16 -0
- package/src/tools/wrapup/TOOL.yaml +16 -0
- package/src/tools/wrapup/commands/wrapup.md +21 -0
- package/src/tools/wrapup/skills/wrapup/SKILL.md +86 -0
- package/src/tools/wrapup/skills/wrapup/references/output-schema.md +93 -0
- package/src/tools/wrapup/skills/wrapup/references/subagent-prompts.md +87 -0
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "droid",
|
|
11
11
|
"description": "Core droid meta-skill for update awareness, tool discovery, and usage help. Checks for updates, helps users find tools, and answers 'how do I...' questions about droid workflows.",
|
|
12
|
-
"version": "0.5.
|
|
12
|
+
"version": "0.5.3",
|
|
13
13
|
"source": {
|
|
14
14
|
"source": "github",
|
|
15
15
|
"repo": "orderful/droid",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{
|
|
23
23
|
"name": "droid-brain",
|
|
24
24
|
"description": "Your scratchpad (or brain) - a collaborative space for planning and research. Create docs with /brain plan, /brain research, or /brain review. Use @mentions for async discussion. Docs persist across sessions.",
|
|
25
|
-
"version": "0.3.
|
|
25
|
+
"version": "0.3.3",
|
|
26
26
|
"source": {
|
|
27
27
|
"source": "github",
|
|
28
28
|
"repo": "orderful/droid",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
{
|
|
62
62
|
"name": "droid-codex",
|
|
63
63
|
"description": "Shared organizational knowledge - PRDs, tech designs, domains, proposals, patterns, and explored topics. Use when loading project context, searching codex, capturing decisions, or creating new entries.",
|
|
64
|
-
"version": "0.1.
|
|
64
|
+
"version": "0.1.9",
|
|
65
65
|
"source": {
|
|
66
66
|
"source": "github",
|
|
67
67
|
"repo": "orderful/droid",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
{
|
|
88
88
|
"name": "droid-project",
|
|
89
89
|
"description": "Manage project context files for persistent AI memory across sessions. Load, update, or create project context before working on multi-session features.",
|
|
90
|
-
"version": "0.3.
|
|
90
|
+
"version": "0.3.2",
|
|
91
91
|
"source": {
|
|
92
92
|
"source": "github",
|
|
93
93
|
"repo": "orderful/droid",
|
|
@@ -109,6 +109,19 @@
|
|
|
109
109
|
"author": {
|
|
110
110
|
"name": "Orderful"
|
|
111
111
|
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "droid-wrapup",
|
|
115
|
+
"description": "Session wrap-up that captures decisions, learnings, and open items to persistent docs.",
|
|
116
|
+
"version": "0.1.0",
|
|
117
|
+
"source": {
|
|
118
|
+
"source": "github",
|
|
119
|
+
"repo": "orderful/droid",
|
|
120
|
+
"path": "src/tools/wrapup"
|
|
121
|
+
},
|
|
122
|
+
"author": {
|
|
123
|
+
"name": "Orderful"
|
|
124
|
+
}
|
|
112
125
|
}
|
|
113
126
|
]
|
|
114
127
|
}
|
package/AGENTS.md
CHANGED
|
@@ -100,6 +100,7 @@ Things that will bite you if you don't know:
|
|
|
100
100
|
| Bump tool version when skill content changes | Users won't get updates otherwise | Patch bump the tool's TOOL.yaml version |
|
|
101
101
|
| Config-first in commands | User overrides must take precedence | Always read `~/.droid/skills/{skill}/overrides.yaml` before using defaults |
|
|
102
102
|
| Changeset package name | npm package is scoped | Use `"@orderful/droid"` not `"droid"` in changesets |
|
|
103
|
+
| Run build before PR | Plugin manifests need regenerating when tools change | Run `bun run build` and commit plugin.json files before creating PR |
|
|
103
104
|
|
|
104
105
|
## Testing
|
|
105
106
|
|
|
@@ -136,6 +137,20 @@ bun run screenshot # On-demand TUI screenshot for visual verification
|
|
|
136
137
|
|
|
137
138
|
**Optional:** Add `references/` for context files, `scripts/` for deterministic CLI scripts.
|
|
138
139
|
|
|
140
|
+
## Progressive Disclosure in Skills
|
|
141
|
+
|
|
142
|
+
Keep SKILL.md focused on *what* to do. Move *how* details to `references/`:
|
|
143
|
+
|
|
144
|
+
| In SKILL.md | In references/ |
|
|
145
|
+
|-------------|----------------|
|
|
146
|
+
| High-level flow | Detailed prompts, templates |
|
|
147
|
+
| Quick reference tables | Full schemas, examples |
|
|
148
|
+
| When/why to use | Implementation details |
|
|
149
|
+
|
|
150
|
+
**Rule of thumb:** If the main skill exceeds ~100 lines, consider extracting implementation details to references.
|
|
151
|
+
|
|
152
|
+
**Example:** The `wrapup` skill keeps its 4-phase overview in SKILL.md but moves detailed subagent prompts and output schemas to `references/subagent-prompts.md` and `references/output-schema.md`.
|
|
153
|
+
|
|
139
154
|
## Existing Tools
|
|
140
155
|
|
|
141
156
|
Each tool has a specific domain. Know where your feature belongs:
|
|
@@ -150,6 +165,7 @@ Each tool has a specific domain. Know where your feature belongs:
|
|
|
150
165
|
| `droid` | **Meta-tool only** - updates, discovery | NEVER add skills here - create new tool instead |
|
|
151
166
|
| `project` | Personal project context | Project file management |
|
|
152
167
|
| `tech-design` | Tech design authoring | Tech design workflows |
|
|
168
|
+
| `wrapup` | Session wrap-up and context capture | End-of-session persistence, context handoff |
|
|
153
169
|
|
|
154
170
|
> **Important:** The `droid` tool is special. It only handles update awareness and tool discovery.
|
|
155
171
|
> If you're building a full-featured capability (like tech-design, codex, brain), create a **new tool**.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,95 @@
|
|
|
1
1
|
# @orderful/droid
|
|
2
2
|
|
|
3
|
+
## 0.32.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#191](https://github.com/Orderful/droid/pull/191) [`460239b`](https://github.com/Orderful/droid/commit/460239bc8d5f025fa2fd865355aa8b1e09cc0456) Thanks [@frytyler](https://github.com/frytyler)! - Add multi-platform detection and install support
|
|
8
|
+
- Detect all installed platforms (Claude Code, Cursor, OpenCode) on every install
|
|
9
|
+
- Add `ignored_platforms` config option to exclude specific platforms
|
|
10
|
+
- Install commands and agents to all active platforms simultaneously
|
|
11
|
+
- Show detected platforms with coloured icons in TUI header
|
|
12
|
+
- Setup wizard now shows all detected platforms and allows excluding some
|
|
13
|
+
|
|
14
|
+
- [#194](https://github.com/Orderful/droid/pull/194) [`d3cd6f5`](https://github.com/Orderful/droid/commit/d3cd6f5e5273f969b1698886bf812062a3a49cb9) Thanks [@frytyler](https://github.com/frytyler)! - Add `wrapup` tool for session wrap-up
|
|
15
|
+
|
|
16
|
+
New standalone tool that captures decisions, learnings, and open items before closing a session.
|
|
17
|
+
Install with `droid install wrapup`.
|
|
18
|
+
|
|
19
|
+
Architecture: context lifeboat pattern
|
|
20
|
+
- Main agent quickly extracts session context (has conversation history)
|
|
21
|
+
- Built-in subagents analyse artifacts in fresh context windows
|
|
22
|
+
- Avoids context pressure / compaction at end of long sessions
|
|
23
|
+
- Writes to brain docs, project files, or codex on approval
|
|
24
|
+
|
|
25
|
+
## 0.31.2
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- [#190](https://github.com/Orderful/droid/pull/190) [`06e1d05`](https://github.com/Orderful/droid/commit/06e1d055e774ff8f996343ca7ca771477e300f7e) Thanks [@frytyler](https://github.com/frytyler)! - Condense skill docs for better context efficiency (Phase 3)
|
|
30
|
+
|
|
31
|
+
**droid skill** (450 → 89 lines, 80% reduction):
|
|
32
|
+
- Removed verbose example dialogues
|
|
33
|
+
- Condensed to tables + guidelines
|
|
34
|
+
- LLM generates natural responses from shorter guidance
|
|
35
|
+
|
|
36
|
+
**brain skill** (191 → 128 lines, 33% reduction):
|
|
37
|
+
- User-defined categories: any non-reserved word becomes a category
|
|
38
|
+
- `/brain spike auth` → `spikes/auth.md` (creates on the fly)
|
|
39
|
+
- Reserved keywords: `search`, `add`, `check`, `done`
|
|
40
|
+
- Collapsed repetitive per-category sections into single generic pattern
|
|
41
|
+
|
|
42
|
+
**codex skill** (454 → 405 lines, 11% reduction):
|
|
43
|
+
- Collapsed `/codex new {type}` commands into single pattern
|
|
44
|
+
- `/codex new {category} {name}` where category = project|domain|proposal|pattern|topic
|
|
45
|
+
- Removed `/codex new {name}` shorthand - must specify category explicitly
|
|
46
|
+
|
|
47
|
+
**Commands updated** to match new patterns:
|
|
48
|
+
- brain, scratchpad, codex, project commands now use explicit `search` keyword
|
|
49
|
+
- Added `--` delimiter examples
|
|
50
|
+
- Added category-scoped search examples for codex
|
|
51
|
+
|
|
52
|
+
**brain_dir config:** Removed default - now prompts user to choose location on first use.
|
|
53
|
+
|
|
54
|
+
**Reference files updated** to match Phase 1-3 changes:
|
|
55
|
+
- brain/references/workflows.md - explicit `search`, user-defined categories
|
|
56
|
+
- brain-obsidian/references/workflows.md - explicit search patterns
|
|
57
|
+
- codex/references/creating.md, decisions.md - explicit search patterns
|
|
58
|
+
- project/references/loading.md, creating.md - explicit search patterns, `--` delimiter examples
|
|
59
|
+
|
|
60
|
+
**Total savings:** ~470 lines removed across three skills. Smaller docs = more context for actual work.
|
|
61
|
+
|
|
62
|
+
- [#189](https://github.com/Orderful/droid/pull/189) [`d9917c4`](https://github.com/Orderful/droid/commit/d9917c4630ac5c418d31a332b3114500bfa78fa3) Thanks [@frytyler](https://github.com/frytyler)! - Add search enhancements: `--` delimiter and category-scoped search
|
|
63
|
+
|
|
64
|
+
**`--` delimiter for follow-up instructions** (brain, codex, project):
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
/brain search auth refactor -- what's left to do?
|
|
68
|
+
/project search droid -- show the changelog
|
|
69
|
+
/codex search transaction -- summarize the PRD
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Everything after `--` is executed as a follow-up instruction after loading the doc.
|
|
73
|
+
|
|
74
|
+
**Category-scoped search for codex**:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
/codex topics search auth # Search within topics only
|
|
78
|
+
/codex patterns search webhook # Search within patterns only
|
|
79
|
+
/codex projects search transaction
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Narrows search to a specific category instead of searching all categories.
|
|
83
|
+
|
|
84
|
+
- [#187](https://github.com/Orderful/droid/pull/187) [`738bcec`](https://github.com/Orderful/droid/commit/738bcec4ffbe8ad5bff6a986838bf26fd6b6544a) Thanks [@frytyler](https://github.com/frytyler)! - Require explicit `search` keyword for /codex, /brain, and /project commands
|
|
85
|
+
|
|
86
|
+
Commands that support both reserved keywords and search had ambiguity issues (e.g., `/codex projects` - is this "list projects" or "search for 'projects'"?). This change removes implicit search patterns and requires the explicit `search` keyword:
|
|
87
|
+
- `/codex search {query}` (was `/codex {name}`)
|
|
88
|
+
- `/brain search {topic}` (was `/brain {topic}`)
|
|
89
|
+
- `/project search {keywords}` (was `/project {keywords}`)
|
|
90
|
+
|
|
91
|
+
Closes #139
|
|
92
|
+
|
|
3
93
|
## 0.31.1
|
|
4
94
|
|
|
5
95
|
### Patch Changes
|