@orderful/droid 0.31.2 → 0.33.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.
Files changed (115) hide show
  1. package/.claude-plugin/marketplace.json +33 -7
  2. package/AGENTS.md +15 -0
  3. package/CHANGELOG.md +69 -0
  4. package/README.md +24 -0
  5. package/dist/bin/droid.js +515 -434
  6. package/dist/commands/setup.d.ts +1 -0
  7. package/dist/commands/setup.d.ts.map +1 -1
  8. package/dist/commands/tui/components/PlatformBadges.d.ts +6 -0
  9. package/dist/commands/tui/components/PlatformBadges.d.ts.map +1 -0
  10. package/dist/commands/tui/components/SettingsDetails.d.ts +4 -1
  11. package/dist/commands/tui/components/SettingsDetails.d.ts.map +1 -1
  12. package/dist/commands/tui/types.d.ts +1 -1
  13. package/dist/commands/tui/types.d.ts.map +1 -1
  14. package/dist/commands/tui/views/SetupScreen.d.ts +3 -2
  15. package/dist/commands/tui/views/SetupScreen.d.ts.map +1 -1
  16. package/dist/commands/tui.d.ts.map +1 -1
  17. package/dist/index.js +138 -86
  18. package/dist/lib/agents.d.ts +7 -2
  19. package/dist/lib/agents.d.ts.map +1 -1
  20. package/dist/lib/platforms.d.ts +10 -1
  21. package/dist/lib/platforms.d.ts.map +1 -1
  22. package/dist/lib/skills.d.ts.map +1 -1
  23. package/dist/lib/types.d.ts +5 -0
  24. package/dist/lib/types.d.ts.map +1 -1
  25. package/dist/tools/brain/.claude-plugin/plugin.json +1 -1
  26. package/dist/tools/brain/TOOL.yaml +1 -1
  27. package/dist/tools/brain/skills/brain/SKILL.md +6 -4
  28. package/dist/tools/brain/skills/brain/references/workflows.md +17 -12
  29. package/dist/tools/coach/.claude-plugin/plugin.json +1 -1
  30. package/dist/tools/coach/TOOL.yaml +1 -1
  31. package/dist/tools/coach/skills/coach/SKILL.md +2 -1
  32. package/dist/tools/code-review/.claude-plugin/plugin.json +1 -1
  33. package/dist/tools/code-review/TOOL.yaml +1 -1
  34. package/dist/tools/code-review/skills/code-review/SKILL.md +1 -1
  35. package/dist/tools/codex/.claude-plugin/plugin.json +1 -1
  36. package/dist/tools/codex/TOOL.yaml +1 -1
  37. package/dist/tools/codex/skills/codex/SKILL.md +1 -1
  38. package/dist/tools/codex/skills/codex/references/loading.md +1 -1
  39. package/dist/tools/comments/.claude-plugin/plugin.json +1 -1
  40. package/dist/tools/comments/TOOL.yaml +1 -1
  41. package/dist/tools/comments/skills/comments/SKILL.md +9 -7
  42. package/dist/tools/plan/.claude-plugin/plugin.json +16 -0
  43. package/dist/tools/plan/TOOL.yaml +18 -0
  44. package/dist/tools/plan/commands/plan.md +33 -0
  45. package/dist/tools/plan/skills/plan/SKILL.md +103 -0
  46. package/dist/tools/plan/skills/plan/references/templates.md +176 -0
  47. package/dist/tools/plan/skills/plan/references/workflows.md +299 -0
  48. package/dist/tools/plan/skills/plan/references/xml-conversion.md +123 -0
  49. package/dist/tools/project/.claude-plugin/plugin.json +1 -1
  50. package/dist/tools/project/TOOL.yaml +3 -2
  51. package/dist/tools/project/skills/project/SKILL.md +10 -12
  52. package/dist/tools/project/skills/project/references/creating.md +5 -5
  53. package/dist/tools/project/skills/project/references/loading.md +4 -4
  54. package/dist/tools/tech-design/.claude-plugin/plugin.json +1 -1
  55. package/dist/tools/tech-design/TOOL.yaml +1 -1
  56. package/dist/tools/tech-design/skills/tech-design/SKILL.md +3 -3
  57. package/dist/tools/tech-design/skills/tech-design/references/publish.md +1 -1
  58. package/dist/tools/tech-design/skills/tech-design/references/start.md +2 -2
  59. package/dist/tools/wrapup/.claude-plugin/plugin.json +16 -0
  60. package/dist/tools/wrapup/TOOL.yaml +16 -0
  61. package/dist/tools/wrapup/commands/wrapup.md +21 -0
  62. package/dist/tools/wrapup/skills/wrapup/SKILL.md +86 -0
  63. package/dist/tools/wrapup/skills/wrapup/references/output-schema.md +93 -0
  64. package/dist/tools/wrapup/skills/wrapup/references/subagent-prompts.md +93 -0
  65. package/package.json +1 -1
  66. package/src/commands/setup.ts +67 -61
  67. package/src/commands/tui/components/PlatformBadges.tsx +36 -0
  68. package/src/commands/tui/components/SettingsDetails.tsx +16 -4
  69. package/src/commands/tui/types.ts +1 -1
  70. package/src/commands/tui/views/SetupScreen.tsx +26 -49
  71. package/src/commands/tui.tsx +21 -9
  72. package/src/lib/agents.ts +23 -7
  73. package/src/lib/platforms.ts +44 -1
  74. package/src/lib/skills.ts +79 -40
  75. package/src/lib/types.ts +11 -0
  76. package/src/tools/brain/.claude-plugin/plugin.json +1 -1
  77. package/src/tools/brain/TOOL.yaml +1 -1
  78. package/src/tools/brain/skills/brain/SKILL.md +6 -4
  79. package/src/tools/brain/skills/brain/references/workflows.md +17 -12
  80. package/src/tools/coach/.claude-plugin/plugin.json +1 -1
  81. package/src/tools/coach/TOOL.yaml +1 -1
  82. package/src/tools/coach/skills/coach/SKILL.md +2 -1
  83. package/src/tools/code-review/.claude-plugin/plugin.json +1 -1
  84. package/src/tools/code-review/TOOL.yaml +1 -1
  85. package/src/tools/code-review/skills/code-review/SKILL.md +1 -1
  86. package/src/tools/codex/.claude-plugin/plugin.json +1 -1
  87. package/src/tools/codex/TOOL.yaml +1 -1
  88. package/src/tools/codex/skills/codex/SKILL.md +1 -1
  89. package/src/tools/codex/skills/codex/references/loading.md +1 -1
  90. package/src/tools/comments/.claude-plugin/plugin.json +1 -1
  91. package/src/tools/comments/TOOL.yaml +1 -1
  92. package/src/tools/comments/skills/comments/SKILL.md +9 -7
  93. package/src/tools/plan/.claude-plugin/plugin.json +16 -0
  94. package/src/tools/plan/TOOL.yaml +18 -0
  95. package/src/tools/plan/commands/plan.md +33 -0
  96. package/src/tools/plan/skills/plan/SKILL.md +103 -0
  97. package/src/tools/plan/skills/plan/references/templates.md +176 -0
  98. package/src/tools/plan/skills/plan/references/workflows.md +299 -0
  99. package/src/tools/plan/skills/plan/references/xml-conversion.md +123 -0
  100. package/src/tools/project/.claude-plugin/plugin.json +1 -1
  101. package/src/tools/project/TOOL.yaml +3 -2
  102. package/src/tools/project/skills/project/SKILL.md +10 -12
  103. package/src/tools/project/skills/project/references/creating.md +5 -5
  104. package/src/tools/project/skills/project/references/loading.md +4 -4
  105. package/src/tools/tech-design/.claude-plugin/plugin.json +1 -1
  106. package/src/tools/tech-design/TOOL.yaml +1 -1
  107. package/src/tools/tech-design/skills/tech-design/SKILL.md +3 -3
  108. package/src/tools/tech-design/skills/tech-design/references/publish.md +1 -1
  109. package/src/tools/tech-design/skills/tech-design/references/start.md +2 -2
  110. package/src/tools/wrapup/.claude-plugin/plugin.json +16 -0
  111. package/src/tools/wrapup/TOOL.yaml +16 -0
  112. package/src/tools/wrapup/commands/wrapup.md +21 -0
  113. package/src/tools/wrapup/skills/wrapup/SKILL.md +86 -0
  114. package/src/tools/wrapup/skills/wrapup/references/output-schema.md +93 -0
  115. package/src/tools/wrapup/skills/wrapup/references/subagent-prompts.md +93 -0
@@ -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.3",
25
+ "version": "0.3.5",
26
26
  "source": {
27
27
  "source": "github",
28
28
  "repo": "orderful/droid",
@@ -35,7 +35,7 @@
35
35
  {
36
36
  "name": "droid-coach",
37
37
  "description": "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.",
38
- "version": "0.2.1",
38
+ "version": "0.2.3",
39
39
  "source": {
40
40
  "source": "github",
41
41
  "repo": "orderful/droid",
@@ -48,7 +48,7 @@
48
48
  {
49
49
  "name": "droid-code-review",
50
50
  "description": "Comprehensive code review using specialized agents. Reviews PRs, staged changes, branches, or specific files with confidence scoring.",
51
- "version": "0.2.1",
51
+ "version": "0.2.2",
52
52
  "source": {
53
53
  "source": "github",
54
54
  "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.9",
64
+ "version": "0.1.10",
65
65
  "source": {
66
66
  "source": "github",
67
67
  "repo": "orderful/droid",
@@ -74,7 +74,7 @@
74
74
  {
75
75
  "name": "droid-comments",
76
76
  "description": "Enable inline conversations using @droid/@user markers. Tag @droid to ask the AI, AI responds with @{your-name}. Use /comments check to address markers, /comments cleanup to remove resolved threads. Ideal for code review notes and async collaboration.",
77
- "version": "0.3.1",
77
+ "version": "0.3.3",
78
78
  "source": {
79
79
  "source": "github",
80
80
  "repo": "orderful/droid",
@@ -84,10 +84,23 @@
84
84
  "name": "Orderful"
85
85
  }
86
86
  },
87
+ {
88
+ "name": "droid-plan",
89
+ "description": "Task-scoped planning with portable, structured plans. Use when planning implementation for a PR, ticket, or small feature. User prompts like 'let's plan this', 'can we start a plan', 'think through the implementation'.",
90
+ "version": "0.1.0",
91
+ "source": {
92
+ "source": "github",
93
+ "repo": "orderful/droid",
94
+ "path": "src/tools/plan"
95
+ },
96
+ "author": {
97
+ "name": "Orderful"
98
+ }
99
+ },
87
100
  {
88
101
  "name": "droid-project",
89
102
  "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.2",
103
+ "version": "0.3.3",
91
104
  "source": {
92
105
  "source": "github",
93
106
  "repo": "orderful/droid",
@@ -100,7 +113,7 @@
100
113
  {
101
114
  "name": "droid-tech-design",
102
115
  "description": "Technical design authoring tool for engineers. Create structured tech design docs with /tech-design start, iterate in brain, publish to codex. Three-document approach: research doc (codebase discoveries) + thought doc (design workspace) + roll-up (clean summary for review).",
103
- "version": "0.2.1",
116
+ "version": "0.2.3",
104
117
  "source": {
105
118
  "source": "github",
106
119
  "repo": "orderful/droid",
@@ -109,6 +122,19 @@
109
122
  "author": {
110
123
  "name": "Orderful"
111
124
  }
125
+ },
126
+ {
127
+ "name": "droid-wrapup",
128
+ "description": "Session wrap-up that captures decisions, learnings, and open items to persistent docs.",
129
+ "version": "0.1.1",
130
+ "source": {
131
+ "source": "github",
132
+ "repo": "orderful/droid",
133
+ "path": "src/tools/wrapup"
134
+ },
135
+ "author": {
136
+ "name": "Orderful"
137
+ }
112
138
  }
113
139
  ]
114
140
  }
package/AGENTS.md CHANGED
@@ -137,6 +137,20 @@ bun run screenshot # On-demand TUI screenshot for visual verification
137
137
 
138
138
  **Optional:** Add `references/` for context files, `scripts/` for deterministic CLI scripts.
139
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
+
140
154
  ## Existing Tools
141
155
 
142
156
  Each tool has a specific domain. Know where your feature belongs:
@@ -151,6 +165,7 @@ Each tool has a specific domain. Know where your feature belongs:
151
165
  | `droid` | **Meta-tool only** - updates, discovery | NEVER add skills here - create new tool instead |
152
166
  | `project` | Personal project context | Project file management |
153
167
  | `tech-design` | Tech design authoring | Tech design workflows |
168
+ | `wrapup` | Session wrap-up and context capture | End-of-session persistence, context handoff |
154
169
 
155
170
  > **Important:** The `droid` tool is special. It only handles update awareness and tool discovery.
156
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,74 @@
1
1
  # @orderful/droid
2
2
 
3
+ ## 0.33.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#199](https://github.com/Orderful/droid/pull/199) [`9416b9c`](https://github.com/Orderful/droid/commit/9416b9c7a0a9f04f34295304fffee9d2d033ee55) Thanks [@frytyler](https://github.com/frytyler)! - feat(tools): add plan tool for task-scoped planning
8
+
9
+ New tool for creating structured, portable plans for PRs, tickets, and small features.
10
+ Lighter-weight than /tech-design, heavier than just doing.
11
+
12
+ Commands:
13
+ - `/plan new {topic}` - Create plan with context loading
14
+ - `/plan search {topic}` - Find and load existing plan
15
+ - `/plan check` - Address @droid comments
16
+ - `/plan ready` - Finalize and validate
17
+ - `/plan implement` - Execute the plan
18
+
19
+ ### Patch Changes
20
+
21
+ - [#195](https://github.com/Orderful/droid/pull/195) [`5a02a36`](https://github.com/Orderful/droid/commit/5a02a36b896e2cef5df56b4bbf03b9edf510287f) Thanks [@frytyler](https://github.com/frytyler)! - Add clarification for @mention directionality across all skills that reference comments
22
+
23
+ The @mention is the target, not the author:
24
+ - `> @droid ...` = User asking/telling the AI
25
+ - `> @user ...` = AI asking/telling the user
26
+
27
+ Updated: comments, brain, tech-design, code-review, coach
28
+
29
+ - [#197](https://github.com/Orderful/droid/pull/197) [`f9949b7`](https://github.com/Orderful/droid/commit/f9949b713602037ca9caa7e1f15b733bef60dadb) Thanks [@frytyler](https://github.com/frytyler)! - Add tech-design and wrapup tools to README
30
+
31
+ - [#200](https://github.com/Orderful/droid/pull/200) [`012efae`](https://github.com/Orderful/droid/commit/012efae265ef627ab4aaf26cd707c97e00f41570) Thanks [@frytyler](https://github.com/frytyler)! - fix: use `droid config` instead of reading overrides.yaml directly
32
+
33
+ All skills now use `droid config <tool>` to get merged configuration instead
34
+ of reading `~/.droid/skills/<tool>/overrides.yaml` directly. This provides:
35
+ - Consistent config access across all skills
36
+ - Global config values (user_mention, ai_mention) automatically included
37
+ - Single source of truth for configuration logic
38
+
39
+ **Updated tools:**
40
+ - wrapup (v0.1.1): Project file check uses `droid config project`
41
+ - project (v0.3.3): Removed unsafe defaults, requires explicit `projects_dir`
42
+ - brain (v0.3.5): All workflows use `droid config brain`
43
+ - codex (v0.1.10): Uses `droid config codex` for repo path
44
+ - comments (v0.3.3): Uses `droid config comments` for settings
45
+ - coach (v0.2.3): Uses `droid config coach` for settings
46
+ - tech-design (v0.2.3): Checks brain/codex config via `droid config`
47
+
48
+ Fixes #198
49
+
50
+ ## 0.32.0
51
+
52
+ ### Minor Changes
53
+
54
+ - [#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
55
+ - Detect all installed platforms (Claude Code, Cursor, OpenCode) on every install
56
+ - Add `ignored_platforms` config option to exclude specific platforms
57
+ - Install commands and agents to all active platforms simultaneously
58
+ - Show detected platforms with coloured icons in TUI header
59
+ - Setup wizard now shows all detected platforms and allows excluding some
60
+
61
+ - [#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
62
+
63
+ New standalone tool that captures decisions, learnings, and open items before closing a session.
64
+ Install with `droid install wrapup`.
65
+
66
+ Architecture: context lifeboat pattern
67
+ - Main agent quickly extracts session context (has conversation history)
68
+ - Built-in subagents analyse artifacts in fresh context windows
69
+ - Avoids context pressure / compaction at end of long sessions
70
+ - Writes to brain docs, project files, or codex on approval
71
+
3
72
  ## 0.31.2
4
73
 
5
74
  ### Patch Changes
package/README.md CHANGED
@@ -65,6 +65,8 @@ Browse available tools, see what's installed, and manage everything from one pla
65
65
  | **coach** | Learning-mode AI - scaffolds don't implement, questions don't fix | beta |
66
66
  | **codex** | Shared organizational knowledge - PRDs, tech designs, patterns | beta |
67
67
  | **code-review** | Multi-agent code review with specialized checkers | alpha |
68
+ | **tech-design** | Three-document approach for technical designs | beta |
69
+ | **wrapup** | Session wrap-up that captures decisions to persistent docs | alpha |
68
70
 
69
71
  ### Comments
70
72
 
@@ -106,6 +108,28 @@ Run comprehensive reviews with specialized agents:
106
108
  /code-review path/to/file # Review specific file
107
109
  ```
108
110
 
111
+ ### Tech Design
112
+
113
+ Three-document approach for technical designs (requires brain + codex):
114
+
115
+ ```bash
116
+ /tech-design start auth-refactor # Start a new tech design
117
+ /tech-design draft api # Draft a section
118
+ /tech-design publish # Publish roll-up to codex
119
+ ```
120
+
121
+ Creates: research doc (codebase discoveries) → thought doc (design workspace) → roll-up (clean summary).
122
+
123
+ ### Wrapup
124
+
125
+ Capture session context before ending:
126
+
127
+ ```bash
128
+ /wrapup # Run session wrap-up
129
+ ```
130
+
131
+ Extracts decisions, learnings, and open items to project files and brain docs.
132
+
109
133
  ## Configuration
110
134
 
111
135
  Config lives in `~/.droid/`: