@orderful/droid 0.7.0 → 0.8.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 +37 -0
- package/README.md +80 -89
- package/assets/droid+claude.png +0 -0
- package/dist/commands/setup.d.ts +1 -0
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +77 -9
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/tui.d.ts.map +1 -1
- package/dist/commands/tui.js +111 -70
- package/dist/commands/tui.js.map +1 -1
- package/dist/lib/agents.d.ts +19 -4
- package/dist/lib/agents.d.ts.map +1 -1
- package/dist/lib/agents.js +121 -42
- package/dist/lib/agents.js.map +1 -1
- package/dist/lib/skills.d.ts.map +1 -1
- package/dist/lib/skills.js +55 -0
- package/dist/lib/skills.js.map +1 -1
- package/dist/lib/types.d.ts +1 -0
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/skills/brain/SKILL.md +11 -9
- package/dist/skills/brain/SKILL.yaml +1 -1
- package/dist/skills/brain/commands/brain.md +9 -4
- package/dist/skills/brain/references/workflows.md +14 -4
- package/dist/skills/code-review/SKILL.md +57 -0
- package/dist/skills/code-review/SKILL.yaml +22 -0
- package/dist/skills/code-review/agents/edi-standards-reviewer/AGENT.md +39 -0
- package/dist/skills/code-review/agents/edi-standards-reviewer/AGENT.yaml +14 -0
- package/dist/skills/code-review/agents/error-handling-reviewer/AGENT.md +51 -0
- package/dist/skills/code-review/agents/error-handling-reviewer/AGENT.yaml +14 -0
- package/dist/skills/code-review/agents/test-coverage-analyzer/AGENT.md +53 -0
- package/dist/skills/code-review/agents/test-coverage-analyzer/AGENT.yaml +14 -0
- package/dist/skills/code-review/agents/type-reviewer/AGENT.md +50 -0
- package/dist/skills/code-review/agents/type-reviewer/AGENT.yaml +13 -0
- package/dist/skills/code-review/commands/code-review.md +91 -0
- package/dist/skills/comments/SKILL.md +20 -5
- package/dist/skills/comments/SKILL.yaml +1 -1
- package/dist/skills/comments/commands/comments.md +1 -1
- package/dist/skills/project/SKILL.md +9 -7
- package/dist/skills/project/SKILL.yaml +1 -1
- package/dist/skills/project/commands/project.md +9 -4
- package/dist/skills/project/references/creating.md +9 -4
- package/dist/skills/project/references/loading.md +11 -5
- package/package.json +1 -1
- package/src/commands/setup.test.ts +276 -0
- package/src/commands/setup.ts +80 -10
- package/src/commands/tui.tsx +149 -82
- package/src/lib/agents.ts +134 -44
- package/src/lib/skills.ts +60 -0
- package/src/lib/types.ts +1 -0
- package/src/skills/brain/SKILL.md +11 -9
- package/src/skills/brain/SKILL.yaml +1 -1
- package/src/skills/brain/commands/brain.md +9 -4
- package/src/skills/brain/references/workflows.md +14 -4
- package/src/skills/code-review/SKILL.md +57 -0
- package/src/skills/code-review/SKILL.yaml +22 -0
- package/src/skills/code-review/agents/edi-standards-reviewer/AGENT.md +39 -0
- package/src/skills/code-review/agents/edi-standards-reviewer/AGENT.yaml +14 -0
- package/src/skills/code-review/agents/error-handling-reviewer/AGENT.md +51 -0
- package/src/skills/code-review/agents/error-handling-reviewer/AGENT.yaml +14 -0
- package/src/skills/code-review/agents/test-coverage-analyzer/AGENT.md +53 -0
- package/src/skills/code-review/agents/test-coverage-analyzer/AGENT.yaml +14 -0
- package/src/skills/code-review/agents/type-reviewer/AGENT.md +50 -0
- package/src/skills/code-review/agents/type-reviewer/AGENT.yaml +13 -0
- package/src/skills/code-review/commands/code-review.md +91 -0
- package/src/skills/comments/SKILL.md +20 -5
- package/src/skills/comments/SKILL.yaml +1 -1
- package/src/skills/comments/commands/comments.md +1 -1
- package/src/skills/project/SKILL.md +9 -7
- package/src/skills/project/SKILL.yaml +1 -1
- package/src/skills/project/commands/project.md +9 -4
- package/src/skills/project/references/creating.md +9 -4
- package/src/skills/project/references/loading.md +11 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @orderful/droid
|
|
2
2
|
|
|
3
|
+
## 0.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#34](https://github.com/Orderful/droid/pull/34) [`316f2c6`](https://github.com/Orderful/droid/commit/316f2c6d13a22ca872c39e15d284b341fd887e52) Thanks [@frytyler](https://github.com/frytyler)! - Add code-review skill with bundled agents
|
|
8
|
+
- New `/code-review` command for comprehensive PR reviews
|
|
9
|
+
- 4 specialized review agents: edi-standards-reviewer, test-coverage-analyzer, error-handling-reviewer, type-reviewer
|
|
10
|
+
- Skills can now bundle agents that install/uninstall together
|
|
11
|
+
- Added OpenCode agent format support
|
|
12
|
+
|
|
13
|
+
- [#33](https://github.com/Orderful/droid/pull/33) [`0790a1c`](https://github.com/Orderful/droid/commit/0790a1c22f487742e84b278cc7906d997b40ec61) Thanks [@frytyler](https://github.com/frytyler)! - Auto-install opencode-skills plugin for OpenCode users
|
|
14
|
+
|
|
15
|
+
When users select OpenCode during setup, droid now automatically adds the `opencode-skills` plugin to `~/.config/opencode/opencode.json`. This enables Claude Code-style skills to work in OpenCode without manual configuration.
|
|
16
|
+
- Detects OpenCode selection during setup
|
|
17
|
+
- Creates/modifies OpenCode config to add plugin
|
|
18
|
+
- Preserves existing OpenCode configuration
|
|
19
|
+
- Shows user-friendly messaging about the plugin
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- [#37](https://github.com/Orderful/droid/pull/37) [`c4b4b5e`](https://github.com/Orderful/droid/commit/c4b4b5ea961da7d951761dd8c27ae7f5b385bb13) Thanks [@frytyler](https://github.com/frytyler)! - fix(comments): clarify @mention convention in skill docs
|
|
24
|
+
|
|
25
|
+
The tag convention table was misleading - "Who's Speaking" column made it seem like
|
|
26
|
+
the @mention identifies the speaker. Updated to make it crystal clear that @mention
|
|
27
|
+
is who you're talking TO (the addressee), not who wrote the comment.
|
|
28
|
+
|
|
29
|
+
- [#32](https://github.com/Orderful/droid/pull/32) [`8e23681`](https://github.com/Orderful/droid/commit/8e23681af503eaff00b6ad654ab34400d92d10ba) Thanks [@frytyler](https://github.com/frytyler)! - Fix OpenCode compatibility and TUI issues from UAT:
|
|
30
|
+
- Fix YAML frontmatter parsing: quote argument-hint values in commands
|
|
31
|
+
- Fix OpenCode default path: ~/.opencode/ → ~/.config/opencode/
|
|
32
|
+
- Fix missing reference files: copy references/ during skill install
|
|
33
|
+
- Fix /project {keywords} creating instead of searching
|
|
34
|
+
- Add config-first instructions to all skill workflows
|
|
35
|
+
- Add TUI configure screen scrolling for short terminals
|
|
36
|
+
- Add nodenv/nvm/asdf rehash note to README
|
|
37
|
+
- Bump project skill to v0.1.1 (triggers update for existing users to get references)
|
|
38
|
+
- Bump brain skill to v0.1.1 (triggers update for existing users to get references)
|
|
39
|
+
|
|
3
40
|
## 0.7.0
|
|
4
41
|
|
|
5
42
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,151 +1,142 @@
|
|
|
1
1
|
# @orderful/droid
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
**"Teaching your droid new tricks"**
|
|
4
6
|
|
|
5
7
|
AI workflow toolkit for sharing skills, commands, and agents across the engineering team.
|
|
6
8
|
|
|
7
9
|
### Why Droid?
|
|
8
10
|
|
|
9
|
-
- **Lower the barrier to entry** - Get started with AI coding tools (Claude Code, OpenCode) without configuring
|
|
11
|
+
- **Lower the barrier to entry** - Get started with AI coding tools (Claude Code, OpenCode) without configuring from scratch
|
|
10
12
|
- **Share what works** - Power users discover great workflows, everyone benefits
|
|
11
13
|
- **Consistent experience** - Common patterns like `@droid`/`@user` comments work the same across the team
|
|
12
14
|
|
|
13
|
-
##
|
|
15
|
+
## Quick Start
|
|
14
16
|
|
|
15
17
|
```bash
|
|
16
18
|
npm install -g @orderful/droid
|
|
19
|
+
droid
|
|
17
20
|
```
|
|
18
21
|
|
|
19
|
-
|
|
22
|
+
That's it. The TUI guides you through setup and skill installation.
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
# Initial setup - configure your AI tool and preferences
|
|
23
|
-
droid setup
|
|
24
|
+
> **Note for nodenv/nvm/asdf users:** After global install, run `nodenv rehash` (or equivalent) to update your shims.
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
droid skills
|
|
26
|
+
## The TUI
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
droid install comments
|
|
28
|
+
Run `droid` to launch the interactive dashboard:
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
droid
|
|
30
|
+
```
|
|
31
|
+
┌─────────────────────────────────────────┐
|
|
32
|
+
│ @orderful/droid │
|
|
33
|
+
│ "Teaching your droid new tricks" │
|
|
34
|
+
├─────────────────────────────────────────┤
|
|
35
|
+
│ > Skills Browse and install skills │
|
|
36
|
+
│ Config View/edit configuration │
|
|
37
|
+
│ Update Check for updates │
|
|
38
|
+
│ Setup Re-run setup wizard │
|
|
39
|
+
└─────────────────────────────────────────┘
|
|
34
40
|
```
|
|
35
41
|
|
|
36
|
-
|
|
42
|
+
Browse available skills, see what's installed, and manage everything from one place.
|
|
37
43
|
|
|
38
|
-
|
|
44
|
+
## Available Skills
|
|
39
45
|
|
|
40
|
-
|
|
46
|
+
| Skill | Description | Status |
|
|
47
|
+
|-------|-------------|--------|
|
|
48
|
+
| **comments** | Inline `@droid`/`@user` conversations in any file | beta |
|
|
49
|
+
| **project** | Persistent project context across sessions | beta |
|
|
50
|
+
| **brain** | Collaborative scratch pad for planning & research | beta |
|
|
51
|
+
| **code-review** | Multi-agent code review with specialized checkers | alpha |
|
|
41
52
|
|
|
42
|
-
|
|
43
|
-
- **Commands** - Slash commands that invoke skill functionality (e.g., `/comments check`)
|
|
44
|
-
- **Config** - Global and per-skill configuration stored in `~/.droid/`
|
|
53
|
+
### Comments
|
|
45
54
|
|
|
46
|
-
|
|
55
|
+
Leave notes for your AI with `@droid`, get responses addressed to you:
|
|
47
56
|
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
└── {skill}/
|
|
53
|
-
└── overrides.yaml # Per-skill config overrides
|
|
57
|
+
```markdown
|
|
58
|
+
> @droid Should we cache this query?
|
|
59
|
+
|
|
60
|
+
> @fry Yes, add Redis caching. The query runs on every request.
|
|
54
61
|
```
|
|
55
62
|
|
|
56
|
-
|
|
57
|
-
- **Claude Code**: `~/.claude/skills/` and `~/.claude/commands/`
|
|
58
|
-
- **OpenCode**: `~/.config/opencode/skills/` and `~/.config/opencode/command/`
|
|
63
|
+
### Project
|
|
59
64
|
|
|
60
|
-
|
|
65
|
+
Maintain context across sessions for long-running work:
|
|
61
66
|
|
|
62
|
-
|
|
67
|
+
```bash
|
|
68
|
+
/project myfeature # Load project context
|
|
69
|
+
/project update # Capture new learnings
|
|
70
|
+
/project create auth # Start a new project
|
|
71
|
+
```
|
|
63
72
|
|
|
64
|
-
|
|
73
|
+
### Brain
|
|
65
74
|
|
|
66
|
-
|
|
67
|
-
> @droid What do you think of this approach?
|
|
75
|
+
Collaborative thinking space for planning and research:
|
|
68
76
|
|
|
69
|
-
|
|
77
|
+
```bash
|
|
78
|
+
/brain plan auth refactor # Create planning doc
|
|
79
|
+
/brain research caching # Research doc
|
|
80
|
+
/brain check # Check for @mentions
|
|
70
81
|
```
|
|
71
82
|
|
|
72
|
-
|
|
73
|
-
- `/comments check` - Address all `@droid` comments
|
|
74
|
-
- `/comments cleanup` - Remove resolved comment threads
|
|
83
|
+
### Code Review
|
|
75
84
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
### Global Config (`~/.droid/config.yaml`)
|
|
85
|
+
Run comprehensive reviews with specialized agents:
|
|
79
86
|
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
git_username: "frytyler"
|
|
85
|
-
skills: {} # Installed skills with versions
|
|
87
|
+
```bash
|
|
88
|
+
/code-review #123 # Review a PR
|
|
89
|
+
/code-review staged # Review staged changes
|
|
90
|
+
/code-review path/to/file # Review specific file
|
|
86
91
|
```
|
|
87
92
|
|
|
88
|
-
|
|
93
|
+
## Configuration
|
|
89
94
|
|
|
90
|
-
|
|
95
|
+
Config lives in `~/.droid/`:
|
|
91
96
|
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
|
|
97
|
+
```
|
|
98
|
+
~/.droid/
|
|
99
|
+
├── config.yaml # Global config
|
|
100
|
+
└── skills/
|
|
101
|
+
└── {skill}/
|
|
102
|
+
└── overrides.yaml # Per-skill overrides
|
|
95
103
|
```
|
|
96
104
|
|
|
97
|
-
|
|
105
|
+
Skills install to your AI tool's location:
|
|
106
|
+
- **Claude Code**: `~/.claude/skills/` and `~/.claude/commands/`
|
|
107
|
+
- **OpenCode**: `~/.config/opencode/skills/` and `~/.config/opencode/commands/`
|
|
108
|
+
|
|
109
|
+
## CLI Reference
|
|
110
|
+
|
|
111
|
+
While the TUI is the primary interface, direct commands are available:
|
|
98
112
|
|
|
99
113
|
| Command | Description |
|
|
100
114
|
|---------|-------------|
|
|
101
|
-
| `droid
|
|
102
|
-
| `droid
|
|
103
|
-
| `droid config -e` | Edit config in $EDITOR |
|
|
104
|
-
| `droid config --get <key>` | Get a config value |
|
|
105
|
-
| `droid config --set <key=value>` | Set a config value |
|
|
106
|
-
| `droid skills` | Interactive skill browser |
|
|
115
|
+
| `droid` | Launch TUI dashboard |
|
|
116
|
+
| `droid setup` | Run setup wizard |
|
|
107
117
|
| `droid install <skill>` | Install a skill |
|
|
118
|
+
| `droid uninstall <skill>` | Remove a skill |
|
|
108
119
|
| `droid update` | Update droid and skills |
|
|
120
|
+
| `droid config` | View/edit config |
|
|
109
121
|
|
|
110
122
|
## Development
|
|
111
123
|
|
|
112
124
|
```bash
|
|
113
|
-
# Clone and install
|
|
114
125
|
git clone https://github.com/orderful/droid.git
|
|
115
|
-
cd droid
|
|
116
|
-
|
|
126
|
+
cd droid && bun install
|
|
127
|
+
bun run build
|
|
128
|
+
bun dist/bin/droid.js
|
|
117
129
|
|
|
118
|
-
#
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
# Run locally
|
|
122
|
-
node dist/bin/droid.js --help
|
|
130
|
+
# to test
|
|
131
|
+
bun link
|
|
132
|
+
bun unlink
|
|
123
133
|
```
|
|
124
134
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
### Phase 1: Foundation (Current)
|
|
128
|
-
- [x] CLI structure
|
|
129
|
-
- [x] Config management
|
|
130
|
-
- [x] `comments` skill
|
|
131
|
-
|
|
132
|
-
### Phase 2: Core Skills
|
|
133
|
-
- [ ] `pr` - PR workflow with configurable output
|
|
134
|
-
- [ ] `brain` - Collaborative thinking space (Obsidian vault)
|
|
135
|
-
- [ ] `playwright` - UI testing with Playwright MCP
|
|
136
|
-
|
|
137
|
-
### Phase 3: Polish
|
|
138
|
-
- [ ] `droid update` with version checks
|
|
139
|
-
- [ ] `droid feedback` - Slack the skill author
|
|
140
|
-
- [ ] Contributor tooling
|
|
141
|
-
|
|
142
|
-
## Contributing
|
|
143
|
-
|
|
144
|
-
Skills are bundled with the package. To add a new skill:
|
|
135
|
+
### Adding Skills
|
|
145
136
|
|
|
146
137
|
1. Create `src/skills/{name}/SKILL.yaml` (manifest)
|
|
147
|
-
2. Create `src/skills/{name}/SKILL.md` (
|
|
148
|
-
3.
|
|
138
|
+
2. Create `src/skills/{name}/SKILL.md` (instructions)
|
|
139
|
+
3. Add commands in `src/skills/{name}/commands/*.md`
|
|
149
140
|
4. Submit a PR
|
|
150
141
|
|
|
151
142
|
## License
|
|
Binary file
|
package/dist/commands/setup.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { AITool } from '../lib/types.js';
|
|
|
5
5
|
export declare function configureAIToolPermissions(aiTool: AITool): {
|
|
6
6
|
added: string[];
|
|
7
7
|
alreadyPresent: boolean;
|
|
8
|
+
error?: string;
|
|
8
9
|
};
|
|
9
10
|
export declare function setupCommand(): Promise<void>;
|
|
10
11
|
//# sourceMappingURL=setup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/commands/setup.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,MAAM,EAA0D,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/commands/setup.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,MAAM,EAA0D,MAAM,iBAAiB,CAAC;AAoDjG;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,EAAE,CAAC;IAAC,cAAc,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAmGvH;AAyBD,wBAAsB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CA4GlD"}
|
package/dist/commands/setup.js
CHANGED
|
@@ -48,6 +48,12 @@ function detectGitUsername() {
|
|
|
48
48
|
return '';
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* The opencode-skills plugin name for OpenCode
|
|
53
|
+
* This plugin enables Claude Code-style skills in OpenCode
|
|
54
|
+
* @see https://github.com/malhashemi/opencode-skills
|
|
55
|
+
*/
|
|
56
|
+
const OPENCODE_SKILLS_PLUGIN = 'opencode-skills';
|
|
51
57
|
/**
|
|
52
58
|
* Configure AI tool permissions for droid
|
|
53
59
|
*/
|
|
@@ -67,7 +73,7 @@ export function configureAIToolPermissions(aiTool) {
|
|
|
67
73
|
settings = JSON.parse(readFileSync(settingsPath, 'utf-8'));
|
|
68
74
|
}
|
|
69
75
|
catch {
|
|
70
|
-
|
|
76
|
+
console.warn(chalk.yellow('⚠ Claude Code settings.json appears corrupted, resetting permissions'));
|
|
71
77
|
settings = {};
|
|
72
78
|
}
|
|
73
79
|
}
|
|
@@ -87,11 +93,57 @@ export function configureAIToolPermissions(aiTool) {
|
|
|
87
93
|
}
|
|
88
94
|
// Save if we added anything
|
|
89
95
|
if (added.length > 0) {
|
|
90
|
-
|
|
96
|
+
try {
|
|
97
|
+
writeFileSync(settingsPath, JSON.stringify(settings, null, 2) + '\n', 'utf-8');
|
|
98
|
+
}
|
|
99
|
+
catch (e) {
|
|
100
|
+
const message = e instanceof Error ? e.message : 'Unknown error';
|
|
101
|
+
return { added: [], alreadyPresent: false, error: `Failed to update Claude Code settings: ${message}` };
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return { added, alreadyPresent: added.length === 0 };
|
|
105
|
+
}
|
|
106
|
+
if (aiTool === AITool.OpenCode) {
|
|
107
|
+
// OpenCode uses opencode.json for config
|
|
108
|
+
// Check global config location: ~/.config/opencode/opencode.json
|
|
109
|
+
const globalConfigDir = join(homedir(), '.config', 'opencode');
|
|
110
|
+
const globalConfigPath = join(globalConfigDir, 'opencode.json');
|
|
111
|
+
// Ensure config directory exists
|
|
112
|
+
if (!existsSync(globalConfigDir)) {
|
|
113
|
+
mkdirSync(globalConfigDir, { recursive: true });
|
|
114
|
+
}
|
|
115
|
+
// Load or create config
|
|
116
|
+
let config = {};
|
|
117
|
+
if (existsSync(globalConfigPath)) {
|
|
118
|
+
try {
|
|
119
|
+
config = JSON.parse(readFileSync(globalConfigPath, 'utf-8'));
|
|
120
|
+
}
|
|
121
|
+
catch {
|
|
122
|
+
console.warn(chalk.yellow('⚠ OpenCode config appears corrupted, resetting'));
|
|
123
|
+
config = {};
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
// Ensure plugin array exists
|
|
127
|
+
if (!Array.isArray(config.plugin)) {
|
|
128
|
+
config.plugin = [];
|
|
129
|
+
}
|
|
130
|
+
// Add opencode-skills plugin if not present
|
|
131
|
+
if (!config.plugin.includes(OPENCODE_SKILLS_PLUGIN)) {
|
|
132
|
+
config.plugin.push(OPENCODE_SKILLS_PLUGIN);
|
|
133
|
+
added.push(OPENCODE_SKILLS_PLUGIN);
|
|
134
|
+
}
|
|
135
|
+
// Save if we added anything
|
|
136
|
+
if (added.length > 0) {
|
|
137
|
+
try {
|
|
138
|
+
writeFileSync(globalConfigPath, JSON.stringify(config, null, 2) + '\n', 'utf-8');
|
|
139
|
+
}
|
|
140
|
+
catch (e) {
|
|
141
|
+
const message = e instanceof Error ? e.message : 'Unknown error';
|
|
142
|
+
return { added: [], alreadyPresent: false, error: `Failed to update OpenCode config: ${message}` };
|
|
143
|
+
}
|
|
91
144
|
}
|
|
92
145
|
return { added, alreadyPresent: added.length === 0 };
|
|
93
146
|
}
|
|
94
|
-
// OpenCode - TODO: implement when we know the settings path
|
|
95
147
|
return { added: [], alreadyPresent: true };
|
|
96
148
|
}
|
|
97
149
|
/**
|
|
@@ -186,13 +238,29 @@ export async function setupCommand() {
|
|
|
186
238
|
};
|
|
187
239
|
saveConfig(config);
|
|
188
240
|
console.log(chalk.green('\n✓ Config saved to ~/.droid/config.yaml'));
|
|
189
|
-
// Configure AI tool permissions
|
|
190
|
-
const { added, alreadyPresent } = configureAIToolPermissions(answers.ai_tool);
|
|
191
|
-
if (
|
|
192
|
-
console.log(chalk.
|
|
241
|
+
// Configure AI tool permissions/plugins
|
|
242
|
+
const { added, alreadyPresent, error } = configureAIToolPermissions(answers.ai_tool);
|
|
243
|
+
if (error) {
|
|
244
|
+
console.log(chalk.red(`✗ ${error}`));
|
|
245
|
+
console.log(chalk.yellow(' You may need to manually configure your AI tool'));
|
|
193
246
|
}
|
|
194
|
-
else if (
|
|
195
|
-
|
|
247
|
+
else if (answers.ai_tool === AITool.ClaudeCode) {
|
|
248
|
+
if (added.length > 0) {
|
|
249
|
+
console.log(chalk.green(`✓ Added droid permissions to Claude Code settings`));
|
|
250
|
+
}
|
|
251
|
+
else if (alreadyPresent) {
|
|
252
|
+
console.log(chalk.gray(` Droid permissions already configured in Claude Code`));
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
else if (answers.ai_tool === AITool.OpenCode) {
|
|
256
|
+
if (added.length > 0) {
|
|
257
|
+
console.log(chalk.green(`✓ Added opencode-skills plugin to OpenCode config`));
|
|
258
|
+
console.log(chalk.gray(` This enables Claude Code-style skills in OpenCode`));
|
|
259
|
+
console.log(chalk.gray(` Restart OpenCode to activate the plugin`));
|
|
260
|
+
}
|
|
261
|
+
else if (alreadyPresent) {
|
|
262
|
+
console.log(chalk.gray(` opencode-skills plugin already configured in OpenCode`));
|
|
263
|
+
}
|
|
196
264
|
}
|
|
197
265
|
console.log(chalk.gray('\nRun `droid skills` to browse and install skills.'));
|
|
198
266
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../src/commands/setup.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,aAAa,EAA2C,MAAM,iBAAiB,CAAC;AAEjG;;GAEG;AACH,MAAM,iBAAiB,GAAG;IACxB,mBAAmB;IACnB,oBAAoB;IACpB,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;CACpB,CAAC;AAEF;;GAEG;AACH,SAAS,YAAY;IACnB,IAAI,CAAC;QACH,QAAQ,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;QAClD,OAAO,MAAM,CAAC,UAAU,CAAC;IAC3B,CAAC;IAAC,MAAM,CAAC;QACP,wBAAwB;IAC1B,CAAC;IAED,IAAI,CAAC;QACH,QAAQ,CAAC,oBAAoB,EAAE,EA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,KAAK,CAAC,KAAK,CAAC,mDAAmD,CAAC,CAAC,CAAC;YAC9E,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,qDAAqD,CAAC,CAAC,CAAC;YAC/E,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,2CAA2C,CAAC,CAAC,CAAC;QACvE,CAAC;aAAM,IAAI,cAAc,EAAE,CAAC;YAC1B,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,yDAAyD,CAAC,CAAC,CAAC;QACrF,CAAC;IACH,CAAC;IAED,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,oDAAoD,CAAC,CAAC,CAAC;AAChF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tui.d.ts","sourceRoot":"","sources":["../../src/commands/tui.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tui.d.ts","sourceRoot":"","sources":["../../src/commands/tui.tsx"],"names":[],"mappings":"AAkwDA,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAWhD"}
|