feat(sproutclaw): modularize webui, extensions, and agent config layout
Some checks failed
CI / build-check-test (push) Has been cancelled
Some checks failed
CI / build-check-test (push) Has been cancelled
Restructure local extensions into per-feature directories, split WebUI into backend modules with slash commands and systemd support, and track prompts/skills under .pi/agent for portable Gitea deployment. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
10
.pi/agent/extensions/webui/scripts/webui-run.sh
Executable file
10
.pi/agent/extensions/webui/scripts/webui-run.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
: "${REPO_ROOT:?REPO_ROOT required}"
|
||||
: "${EXTENSION_DIR:?EXTENSION_DIR required}"
|
||||
: "${NODE_BIN:?NODE_BIN required}"
|
||||
: "${TSX_CLI:?TSX_CLI required}"
|
||||
: "${PI_CODING_AGENT_DIR:?PI_CODING_AGENT_DIR required}"
|
||||
PORT="${PORT:-19133}"
|
||||
cd "$REPO_ROOT"
|
||||
exec "$NODE_BIN" "$TSX_CLI" "$EXTENSION_DIR/backend/main.ts" --port "$PORT"
|
||||
Reference in New Issue
Block a user