mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
Migrate memory plugin to standalone repository and remove Kasm files (#182)
Remove packages/memory from monorepo - plugin now lives at chriswritescode-dev/opencode-memory and is installed from npm. Update Dockerfile, docs, and workspace config to reflect the change. Remove Dockerfile.kasm, kasm-startup.sh, and Kasm CI workflow.
This commit is contained in:
1 parent
55ec3440f8
commit
0f9caad98d
101 files changed
+47
-19683
No files matched your search
@@ -57,14 +57,6 @@ if [ "$OPENCODE_VERSION" != "unknown" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "🔍 Checking memory plugin..."
|
||||
|
||||
if [ -d "$NODE_PATH/@opencode-manager/memory" ]; then
|
||||
echo "✅ Memory plugin found at $NODE_PATH/@opencode-manager/memory"
|
||||
else
|
||||
echo "⚠️ Memory plugin not found at $NODE_PATH/@opencode-manager/memory"
|
||||
fi
|
||||
|
||||
echo "🚀 Starting OpenCode Manager Backend..."
|
||||
|
||||
if [ -z "$AUTH_SECRET" ]; then
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
export PATH="/opt/bun/bin:/opt/opencode/bin:/usr/local/bin:$PATH"
|
||||
export BUN_INSTALL="/opt/bun"
|
||||
|
||||
START_COMMAND="bun backend/src/index.ts"
|
||||
WORK_DIR="/opt/opencode-manager"
|
||||
export MAXIMIZE="true"
|
||||
export MAXIMIZE_NAME="Chromium"
|
||||
MAXIMIZE_SCRIPT=$STARTUPDIR/maximize_window.sh
|
||||
|
||||
/usr/bin/desktop_ready
|
||||
|
||||
if [ -z "$AUTH_SECRET" ]; then
|
||||
export AUTH_SECRET=$(openssl rand -base64 32)
|
||||
fi
|
||||
|
||||
BROWSER=$(which chromium-browser || which chromium || which google-chrome || echo "")
|
||||
|
||||
set +e
|
||||
while true; do
|
||||
if ! pgrep -f "$START_COMMAND" > /dev/null; then
|
||||
cd "$WORK_DIR"
|
||||
$START_COMMAND > /tmp/opencode-manager.log 2>&1 &
|
||||
sleep 3
|
||||
if [ -n "$BROWSER" ]; then
|
||||
if ! pgrep -f "$BROWSER" > /dev/null; then
|
||||
bash ${MAXIMIZE_SCRIPT} 2>/dev/null &
|
||||
$BROWSER \
|
||||
--no-first-run \
|
||||
--no-default-browser-check \
|
||||
--disable-gpu \
|
||||
--start-maximized \
|
||||
--window-position=0,0 \
|
||||
"http://localhost:5003" &
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
Reference in new issue
Block a user