reactor(cli): move memoh cli to tui

1. Split the oversized `cmd/agent` entrypoint into a multi-file package and update dev/build scripts to use the package path instead of compiling `main.go` directly.
2. Add a new `memoh` terminal UI for local bot chat, with Bubble Tea
This commit is contained in:
晨苒
2026-04-14 00:39:34 +08:00
parent 8c9f222783
commit d50eeea114
32 changed files with 2140 additions and 1962 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
çç#!/usr/bin/env bash
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
@@ -23,8 +23,8 @@ Usage: scripts/release.sh [options]
Options:
--os <os> Target OS (default: current GOOS)
--arch <arch> Target ARCH (default: current GOARCH)
--version <version> Version string injected into memoh binary
--commit-hash <sha> Commit hash injected into memoh binary
--version <version> Version string injected into the memoh CLI
--commit-hash <sha> Commit hash injected into the memoh CLI
--output-dir <dir> Output directory for release artifacts
--prepare-assets Only prepare embedded assets, do not build archive
EOF