get-shit-done-cc-ui 0.2.2 → 0.2.6
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/get-shit-done-cc-ui +11 -4
- package/bin/get-shit-done-cc-ui.cmd +12 -2
- package/package.json +3 -3
package/bin/get-shit-done-cc-ui
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
#!/bin/sh
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
# Resolve the actual package directory (not .bin symlink)
|
|
3
|
+
PACKAGE_DIR="$(dirname "$(dirname "$(readlink -f "$0" 2>/dev/null || realpath "$0" 2>/dev/null || echo "$0")")")"
|
|
4
|
+
|
|
5
|
+
# If still in .bin, find the actual package
|
|
6
|
+
if echo "$PACKAGE_DIR" | grep -q "node_modules$"; then
|
|
7
|
+
PACKAGE_DIR="$PACKAGE_DIR/get-shit-done-cc-ui"
|
|
8
|
+
fi
|
|
9
|
+
|
|
10
|
+
BINARY="$PACKAGE_DIR/bin/gsd-ui-web"
|
|
11
|
+
DOWNLOAD_SCRIPT="$PACKAGE_DIR/lib/download.js"
|
|
4
12
|
|
|
5
13
|
# Check if binary exists
|
|
6
14
|
if [ ! -f "$BINARY" ]; then
|
|
7
15
|
echo "Binary not found. Downloading for your platform..."
|
|
8
|
-
|
|
9
|
-
node "$SCRIPT_DIR/../lib/download.js"
|
|
16
|
+
node "$DOWNLOAD_SCRIPT"
|
|
10
17
|
DOWNLOAD_EXIT=$?
|
|
11
18
|
if [ $DOWNLOAD_EXIT -ne 0 ]; then
|
|
12
19
|
exit $DOWNLOAD_EXIT
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
@echo off
|
|
2
2
|
setlocal
|
|
3
|
+
|
|
4
|
+
:: Find the package directory (resolve symlinks)
|
|
3
5
|
set "SCRIPT_DIR=%~dp0"
|
|
4
|
-
set "
|
|
6
|
+
set "PACKAGE_DIR=%SCRIPT_DIR%.."
|
|
7
|
+
|
|
8
|
+
:: If we're in node_modules/.bin, find the actual package
|
|
9
|
+
if exist "%PACKAGE_DIR%\get-shit-done-cc-ui\package.json" (
|
|
10
|
+
set "PACKAGE_DIR=%PACKAGE_DIR%\get-shit-done-cc-ui"
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
set "BINARY=%PACKAGE_DIR%\bin\gsd-ui-web.exe"
|
|
14
|
+
set "DOWNLOAD_SCRIPT=%PACKAGE_DIR%\lib\download.js"
|
|
5
15
|
|
|
6
16
|
if not exist "%BINARY%" (
|
|
7
17
|
echo Binary not found. Downloading for your platform...
|
|
8
|
-
node "%
|
|
18
|
+
node "%DOWNLOAD_SCRIPT%"
|
|
9
19
|
if errorlevel 1 exit /b 1
|
|
10
20
|
echo.
|
|
11
21
|
echo Download complete! Run 'npx get-shit-done-cc-ui' again to start.
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "get-shit-done-cc-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "GSD-UI - Visual panel for Claude Code terminal workflows",
|
|
5
5
|
"bin": {
|
|
6
6
|
"get-shit-done-cc-ui": "./bin/get-shit-done-cc-ui"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"ora": "^
|
|
10
|
-
"supports-color": "^
|
|
9
|
+
"ora": "^5.4.1",
|
|
10
|
+
"supports-color": "^7.2.0"
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|