mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 00:40:45 +08:00
重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。
本次迁移将网关/通道/工具/技能/脚本与协议资源集中到新结构,统一路径常量与脚本转发机制,减少顶层噪音并保证运行与测试行为一致。 Made-with: Cursor
This commit is contained in:
parent
ba3836f00f
commit
4a23b715a2
498 changed files with 2760 additions and 2200 deletions
|
|
@ -1,13 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
cd "$ROOT_DIR"
|
||||
REAL_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")/../runtime/operations/scripts" && pwd)/stop_ops.sh"
|
||||
if [[ ! -f "$REAL_PATH" ]]; then
|
||||
echo "[ERROR] Forward script target not found: $REAL_PATH" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf '==> Project root: %s\n' "$ROOT_DIR"
|
||||
printf '==> Stopping stack services...\n'
|
||||
python -m oclaw.ops stack down || true
|
||||
|
||||
printf '\n==> Current status\n'
|
||||
python -m oclaw.ops stack status || true
|
||||
exec bash "$REAL_PATH" "$@"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue