gsd-opencode 1.3.31 → 1.3.33
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/bin/install.js
CHANGED
|
@@ -10,6 +10,8 @@ const cyan = "\x1b[36m";
|
|
|
10
10
|
const green = "\x1b[32m";
|
|
11
11
|
const yellow = "\x1b[33m";
|
|
12
12
|
const dim = "\x1b[2m";
|
|
13
|
+
const gray = "\x1b[90m";
|
|
14
|
+
const white = "\x1b[37m";
|
|
13
15
|
const reset = "\x1b[0m";
|
|
14
16
|
|
|
15
17
|
// Get version from package.json
|
|
@@ -23,9 +25,16 @@ ${cyan} ██████╗ ███████╗██████╗
|
|
|
23
25
|
╚██████╔╝███████║██████╔╝
|
|
24
26
|
╚═════╝ ╚══════╝╚═════╝${reset}
|
|
25
27
|
|
|
28
|
+
${white}▄${reset}
|
|
29
|
+
${gray}█▀▀█${reset} ${gray}█▀▀█${reset} ${gray}█▀▀█${reset} ${gray}█▀▀▄${reset} ${white}█▀▀▀${reset} ${white}█▀▀█${reset} ${white}█▀▀█${reset} ${white}█▀▀█${reset}
|
|
30
|
+
${gray}█░░█${reset} ${gray}█░░█${reset} ${gray}█▀▀▀${reset} ${gray}█░░█${reset} ${white}█░░░${reset} ${white}█░░█${reset} ${white}█░░█${reset} ${white}█▀▀▀${reset}
|
|
31
|
+
${gray}▀▀▀▀${reset} ${gray}█▀▀▀${reset} ${gray}▀▀▀▀${reset} ${gray}▀ ▀${reset} ${white}▀▀▀▀${reset} ${white}▀▀▀▀${reset} ${white}▀▀▀▀${reset} ${white}▀▀▀▀${reset}
|
|
32
|
+
|
|
26
33
|
Get Shit Done ${dim}v${pkg.version}${reset}
|
|
27
34
|
A meta-prompting, context engineering and spec-driven
|
|
28
|
-
development system for
|
|
35
|
+
development system for Cloude Code by TÂCHES
|
|
36
|
+
(adopted for OpenCode by rokicool and GLM4.7)
|
|
37
|
+
|
|
29
38
|
`;
|
|
30
39
|
|
|
31
40
|
// Parse args
|
|
@@ -137,7 +146,8 @@ function install(isGlobal) {
|
|
|
137
146
|
const configDir =
|
|
138
147
|
expandTilde(explicitConfigDir) ||
|
|
139
148
|
expandTilde(process.env.OPENCODE_CONFIG_DIR);
|
|
140
|
-
const defaultGlobalDir =
|
|
149
|
+
const defaultGlobalDir =
|
|
150
|
+
configDir || path.join(os.homedir(), ".config", "opencode");
|
|
141
151
|
const opencodeDir = isGlobal
|
|
142
152
|
? defaultGlobalDir
|
|
143
153
|
: path.join(process.cwd(), ".opencode");
|
|
@@ -189,7 +199,8 @@ function promptLocation() {
|
|
|
189
199
|
const configDir =
|
|
190
200
|
expandTilde(explicitConfigDir) ||
|
|
191
201
|
expandTilde(process.env.OPENCODE_CONFIG_DIR);
|
|
192
|
-
const globalPath =
|
|
202
|
+
const globalPath =
|
|
203
|
+
configDir || path.join(os.homedir(), ".config", "opencode");
|
|
193
204
|
const globalLabel = globalPath.replace(os.homedir(), "~");
|
|
194
205
|
|
|
195
206
|
console.log(` ${yellow}Where would you like to install?${reset}
|
package/command/gsd/add-phase.md
CHANGED
|
@@ -25,7 +25,7 @@ Purpose: Add planned work discovered during execution that belongs at the end of
|
|
|
25
25
|
|
|
26
26
|
<step name="parse_arguments">
|
|
27
27
|
Parse the command arguments:
|
|
28
|
-
- All arguments become the phase description
|
|
28
|
+
- All arguments ($ARGUMENTS) become the phase description
|
|
29
29
|
- Example: `/gsd:add-phase Add authentication` → description = "Add authentication"
|
|
30
30
|
- Example: `/gsd:add-phase Fix critical performance issues` → description = "Fix critical performance issues"
|
|
31
31
|
|
|
@@ -25,8 +25,8 @@ Purpose: Handle urgent work discovered during execution without renumbering enti
|
|
|
25
25
|
|
|
26
26
|
<step name="parse_arguments">
|
|
27
27
|
Parse the command arguments:
|
|
28
|
-
- First argument: integer phase number to insert after
|
|
29
|
-
- Remaining arguments: phase description
|
|
28
|
+
- First argument ($1) : integer phase number to insert after
|
|
29
|
+
- Remaining arguments ($2 $3 $4 $5 $6 $7 $8 $9 $10 $11): phase description
|
|
30
30
|
|
|
31
31
|
Example: `/gsd:insert-phase 7 Fix critical auth bug`
|
|
32
32
|
→ after = 7
|
|
@@ -25,7 +25,7 @@ Output: Phase deleted, all subsequent phases renumbered, git commit as historica
|
|
|
25
25
|
|
|
26
26
|
<step name="parse_arguments">
|
|
27
27
|
Parse command arguments:
|
|
28
|
-
- Argument is phase number to remove (integer or decimal)
|
|
28
|
+
- Argument ($ARGUMENTS) is phase number to remove (integer or decimal)
|
|
29
29
|
- Example: `/gsd:remove-phase 17` → phase = 17
|
|
30
30
|
- Example: `/gsd:remove-phase 16.1` → phase = 16.1
|
|
31
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gsd-opencode",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.33",
|
|
4
4
|
"description": "A meta-prompting, context engineering and spec-driven development system for OpenCode by TÂCHES.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"opencode",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"url": "git+https://github.com/rokicool/gsd-opencode.git"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
|
-
"author": "TÂCHES &
|
|
21
|
+
"author": "TÂCHES & rokicool",
|
|
22
22
|
"type": "commonjs",
|
|
23
23
|
"main": "index.js",
|
|
24
24
|
"bin": {
|