gsd-opencode 1.3.31 → 1.3.32
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 +14 -3
- package/package.json +2 -2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gsd-opencode",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.32",
|
|
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": {
|