sisi works for any agent in any harness: one hook-input normaliser, a table of tool classes, a table-driven installer for every tool installed, sisi update, XDG paths
The rulebook is delivered to every installed agent tool (a link, or a marked block in a real file, refreshed whenever it is rebuilt). Hooks are wired for tools whose hook files take Claude Code's shape: Claude Code, Codex and Qwen Code. The tools and tool classes are plain data in canon/harnesses.json and canon/tools.json. sisi uninstall takes out exactly what install put in. sisi release records its source remote, and sisi update fetches and releases the newest sisi from it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9173acf14b
commit
aecb666c86
11 files changed
+699
-97
No files matched your search
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
import os, sys
|
||||
# sisi never writes inside the product: compiled bytecode goes to the scratch dir instead of next to the code.
|
||||
_state = os.environ.get("SISI_STATE") or os.path.join(os.environ.get("SISI_HOME") or os.path.expanduser("~"),
|
||||
".local", "state", "sisi")
|
||||
_xdg = os.environ.get("XDG_STATE_HOME")
|
||||
_state = os.environ.get("SISI_STATE") or os.path.join(_xdg or os.path.join(os.path.expanduser("~"), ".local", "state"), "sisi")
|
||||
sys.pycache_prefix = os.path.join(_state, "pycache")
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
|
||||
from sisi.cli import main
|
||||
|
||||
Reference in new issue
Block a user