@encoredigitalgroup/opencode 0.1.2 → 0.1.3
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/README.md +2 -2
- package/dist/lib/SkillCommands.d.ts +0 -4
- package/dist/server/index.js +11 -4
- package/dist/tui/index.js +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
`@encoredigitalgroup/opencode` adds file pickers for OpenCode planning commands.
|
|
4
4
|
|
|
5
|
-
The TUI provides `/plan-review`, `/plan-split`, and `/plan-execute` commands. Each command opens a picker for plans in `docs/_planning` and inserts the
|
|
6
|
-
into the prompt. The server entry expands the selected plan into the matching installed skill prompt.
|
|
5
|
+
The TUI provides `/plan-review`, `/plan-resync`, `/plan-split`, and `/plan-execute` commands. Each command opens a picker for plans in `docs/_planning` and inserts the
|
|
6
|
+
selected plan into the prompt. The server entry expands the selected plan into the matching installed skill prompt.
|
|
7
7
|
|
|
8
8
|
## Install
|
|
9
9
|
|
|
@@ -5,10 +5,6 @@ export declare class SkillCommands {
|
|
|
5
5
|
description: string;
|
|
6
6
|
skill: string;
|
|
7
7
|
};
|
|
8
|
-
"plan-resync": {
|
|
9
|
-
description: string;
|
|
10
|
-
skill: string;
|
|
11
|
-
};
|
|
12
8
|
};
|
|
13
9
|
static commandTemplate(skillName: string): string;
|
|
14
10
|
static getTemplate(serverUrl: URL, directory: string, skillName: string): Promise<string>;
|
package/dist/server/index.js
CHANGED
|
@@ -193,6 +193,17 @@ class FilePickerCommands {
|
|
|
193
193
|
skill: skillMappings["plan-review"],
|
|
194
194
|
title: "Select a plan to review"
|
|
195
195
|
},
|
|
196
|
+
{
|
|
197
|
+
argumentPlaceholder: "$ARGUMENTS",
|
|
198
|
+
command: "plan-resync",
|
|
199
|
+
description: "Select a plan to resync",
|
|
200
|
+
emptyMessage: noPlansMessage,
|
|
201
|
+
matchesSelection: (argument, filePath) => argument === filePath && FilePickerCommands.isPlanPath(argument, planDirectory),
|
|
202
|
+
options: (root, excludesPlanningDirectory) => FilePickerCommands.planOptions(root, planDirectory, excludesPlanningDirectory),
|
|
203
|
+
retainsSelectedFileInPrompt: true,
|
|
204
|
+
skill: skillMappings["plan-resync"],
|
|
205
|
+
title: "Select a plan to resync"
|
|
206
|
+
},
|
|
196
207
|
{
|
|
197
208
|
argumentPlaceholder: "$ARGUMENTS",
|
|
198
209
|
command: "plan-split",
|
|
@@ -394,10 +405,6 @@ class SkillCommands {
|
|
|
394
405
|
"feature-planning": {
|
|
395
406
|
description: "Create a feature implementation plan.",
|
|
396
407
|
skill: config.skillMappings["feature-planning"]
|
|
397
|
-
},
|
|
398
|
-
"plan-resync": {
|
|
399
|
-
description: "Reconcile an implementation plan with the current codebase.",
|
|
400
|
-
skill: config.skillMappings["plan-resync"]
|
|
401
408
|
}
|
|
402
409
|
};
|
|
403
410
|
}
|
package/dist/tui/index.js
CHANGED
|
@@ -193,6 +193,17 @@ class FilePickerCommands {
|
|
|
193
193
|
skill: skillMappings["plan-review"],
|
|
194
194
|
title: "Select a plan to review"
|
|
195
195
|
},
|
|
196
|
+
{
|
|
197
|
+
argumentPlaceholder: "$ARGUMENTS",
|
|
198
|
+
command: "plan-resync",
|
|
199
|
+
description: "Select a plan to resync",
|
|
200
|
+
emptyMessage: noPlansMessage,
|
|
201
|
+
matchesSelection: (argument, filePath) => argument === filePath && FilePickerCommands.isPlanPath(argument, planDirectory),
|
|
202
|
+
options: (root, excludesPlanningDirectory) => FilePickerCommands.planOptions(root, planDirectory, excludesPlanningDirectory),
|
|
203
|
+
retainsSelectedFileInPrompt: true,
|
|
204
|
+
skill: skillMappings["plan-resync"],
|
|
205
|
+
title: "Select a plan to resync"
|
|
206
|
+
},
|
|
196
207
|
{
|
|
197
208
|
argumentPlaceholder: "$ARGUMENTS",
|
|
198
209
|
command: "plan-split",
|