TypeScript
Banner (ASCII-hero), pipeline-loop diagram, OpenRouter models, `theseus view`
Claudea501542db4b5
diff --git a/.gitignore b/.gitignoreindex 1104e04..c7e4fcb 100644--- a/.gitignore+++ b/.gitignore@@ -5,3 +5,4 @@ site/coverage/*.log.DS_Store+assets/concepts/diff --git a/NOTES.md b/NOTES.mdindex e09e460..c95af58 100644--- a/NOTES.md+++ b/NOTES.md@@ -2,6 +2,17 @@비전문 감시자용 기록. 용어 최소화, AS-IS → TO-BE.+## 2026-06-29 — 배너·다이어그램·OpenRouter·view++- **배너**: 레퍼런스(ASCII-pixel 영웅 / HERMES 3B 듀오톤 카드)에 맞춰 `assets/theseus-banner.svg` 를+ ASCII-하프톤 영웅 흉상(번개·디졸브·"OLYMPUS RESEARCH PRESENTS — theseus")으로 교체. 생성기:+ `scripts/design-hero.mjs`(+ `design-banners.mjs` 탐색용, 출력은 gitignore).+- **README 다이어그램**: 파이프라인 **루프**(선택 → subset → 잡 실행 → 결과·메트릭 → 시각화 → 선택으로 환류).+- **OpenRouter('open' family)**: qwen3-coder/(:free)·glm4.6·kimi-k2·deepseek-v3.2 추가 — 멀티모델+ 에이전트가 `openrouter/<vendor>/<model>` 로 사용. `:free` 는 비용 $0.+- **`theseus view`**: 기록된 모든 트레이스를 localhost 갤러리로 시각화(파이프라인 이력 전체).+- README 4개 언어 + 데모 명령 전체 표기(축약 `…` 제거).+## 2026-06-24 (2) — TUI·시각화·브랜딩·하네스 확장 (PRD v2)**AS-IS**: 비교는 되지만 결과를 보는 길이 좁았다 — HTML 파일 경로만 출력, TUI 는 정적 표,diff --git a/README.ja.md b/README.ja.mdindex c29441f..5041138 100644--- a/README.ja.md+++ b/README.ja.md@@ -27,23 +27,16 @@ theseus は **同じタスク集合** を **モデル(L0) × エージェント(```mermaidflowchart LR- M["<b>L0 · モデル</b><br/>opus4.8 · gpt5.5 · …"]:::layer- A["<b>L1 · エージェント</b><br/>cc · codex · opencode<br/>openclaw · hermes"]:::layer- H["<b>L2 · ハーネス</b><br/>none · omc · omo<br/>ponytail · …"]:::layer-- M --> C; A --> C; H --> C- C["組合せ →<br/><b>有効な組合せ</b><br/><i>(非互換は理由付きで除外)</i>"]:::step- C --> S["<b>決定的サブセット</b><br/>sha256 · seed"]:::step- S --> R["<b>実行</b> · fail-soft<br/>mock · cc · codex · …"]:::step- R --> P["<b>トランスクリプト解析</b><br/>トークン · ツール · サブエージェント"]:::step- P --> X["<b>メトリクス</b><br/>正確性 · コスト · 時間 · フロー"]:::step- X --> O1(["📊 report.html<br/>パレートフロンティア"]):::out- X --> O2(["🌳 graph.html<br/>サブエージェントフロー"]):::out- X --> O3(["🖥️ TUI · --view term/serve"]):::out-- classDef layer fill:#15324f,stroke:#c08a3e,color:#f5f1e6;+ S(["<b>選択</b><br/>モデル × エージェント × ハーネス"]):::pick+ S --> SUB["<b>サブセット</b><br/>決定的 · seed"]:::step+ SUB --> J["<b>ジョブ実行</b><br/>組合せ × タスク · fail-soft"]:::step+ J --> RM["<b>結果 + メトリクス</b><br/>正確性 · コスト · 時間 · フロー"]:::step+ RM --> V(["<b>可視化</b><br/>report · graph · TUI · view"]):::out+ V -. "選択を見直して再実行" .-> S++ classDef pick fill:#c08a3e,stroke:#0b2942,color:#0b2942;classDef step fill:#0b2942,stroke:#7fb2c9,color:#f5f1e6;- classDef out fill:#c08a3e,stroke:#0b2942,color:#0b2942;+ classDef out fill:#15324f,stroke:#c08a3e,color:#f5f1e6;```実行ごとの成果物: 構造化データ(`results.jsonl` + 任意の `theseus.sqlite`)、**自己完結型** の@@ -71,8 +64,14 @@ theseus は、どの板が航海を実際に変えるのかを示す。```- **自分の実行結果から:**```bash- theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view open # ブラウザでレポートを開く- theseus … --view serve --port 7777 # 全 run を http://localhost:7777 で配信+ # run を記録し、そのレポートをブラウザで開く+ theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view open+ # run を記録し、全 run を http://localhost:7777 で配信+ theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view serve --port 7777+ ```+- **記録済みの全トレースを見る**(新規実行なし・パイプラインの全履歴):+ ```bash+ theseus view --open # 記録済みの全 run を localhost で配信しギャラリーを開く```> ホストページの有効化: リポジトリ **Settings → Pages → Source: GitHub Actions**(`Pages` ワークフローが処理)。@@ -98,8 +97,11 @@ theseus --model opus4.8,gpt5.5 --agent cc,opencode,codex \## マトリクス### L0 モデル-`opus4.8 / 4.7 / 4.6`, `sonnet4.6 / 4.5`, `haiku4.5`, `fable5`(claude 系) ·-`gpt5-codex`(アカウント既定), `gpt5.5`, `gpt5.1-codex`(gpt 系)。+- **claude 系** — `opus4.8 / 4.7 / 4.6`, `sonnet4.6 / 4.5`, `haiku4.5`, `fable5`+- **gpt 系** — `gpt5-codex`(アカウント既定), `gpt5.5`, `gpt5.1-codex`+- **open 系(OpenRouter)** — `qwen3-coder`, `qwen3-coder-free`(無料枠), `glm4.6`, `kimi-k2`,+ `deepseek-v3.2` … モデル非依存エージェントが `openrouter/<vendor>/<model>` として渡す。`src/config.ts` に+ OpenRouter id を足せば増える。`:free` は $0。### L1 エージェント| エージェント | バイナリ | モデル系 | ハーネス |@@ -110,8 +112,9 @@ theseus --model opus4.8,gpt5.5 --agent cc,opencode,codex \| `openclaw` | openclaw | claude + gpt | none, ponytail || `hermes` | hermes | claude + gpt | none, ponytail |-`opencode/openclaw/hermes` はモデル非依存 — theseus が `provider/id` 形式(`anthropic/…`, `openai/…`;-`default` は省略)でモデルを渡す。+`opencode/openclaw/hermes` はモデル非依存 — どの family も受け、theseus が `provider/id` 形式で渡す:+`anthropic/…`, `openai/…`, または `openrouter/<vendor>/<model>`(例: 無料の Qwen)。`default` は省略。+(`cc` は claude 専用、`codex` は gpt 専用。)### L2 ハーネス| ハーネス | 種別 | エージェント |@@ -132,6 +135,7 @@ theseus --model opus4.8,gpt5.5 --agent cc,opencode,codex \theseus [compare] --model … --agent … --harness … # 既定コマンドtheseus verify --model … --agent … --harness … # 組合せごとのサブエージェント呼び出し捕捉チェックtheseus results [--run <id>] # 記録済み run を表示+theseus view [--open] [--port 7777] # 記録済みの全トレースを配信・可視化theseus tui [--out runs] [--open] [--rich] # 対話型 ink UI(表フォールバック)theseus install <cc|codex|opencode|openclaw|hermes|tb|<harness>|all>theseus install --check # ステータス表diff --git a/README.ko.md b/README.ko.mdindex 1d0fe67..48258a1 100644--- a/README.ko.md+++ b/README.ko.md@@ -26,23 +26,16 @@ theseus 는 **같은 과제 묶음**을 **모델(L0) × 에이전트(L1) × 하```mermaidflowchart LR- M["<b>L0 · 모델</b><br/>opus4.8 · gpt5.5 · …"]:::layer- A["<b>L1 · 에이전트</b><br/>cc · codex · opencode<br/>openclaw · hermes"]:::layer- H["<b>L2 · 하네스</b><br/>none · omc · omo<br/>ponytail · …"]:::layer-- M --> C; A --> C; H --> C- C["조합 →<br/><b>유효 조합</b><br/><i>(비호환은 사유와 함께 제외)</i>"]:::step- C --> S["<b>결정적 subset</b><br/>sha256 · seed"]:::step- S --> R["<b>실행</b> · fail-soft<br/>mock · cc · codex · …"]:::step- R --> P["<b>트랜스크립트 파싱</b><br/>토큰 · 툴콜 · 서브에이전트"]:::step- P --> X["<b>메트릭</b><br/>정확도 · 비용 · 시간 · 흐름"]:::step- X --> O1(["📊 report.html<br/>파레토 경계"]):::out- X --> O2(["🌳 graph.html<br/>서브에이전트 흐름"]):::out- X --> O3(["🖥️ TUI · --view term/serve"]):::out-- classDef layer fill:#15324f,stroke:#c08a3e,color:#f5f1e6;+ S(["<b>선택</b><br/>모델 × 에이전트 × 하네스"]):::pick+ S --> SUB["<b>subset</b><br/>결정적 · seed"]:::step+ SUB --> J["<b>잡 실행</b><br/>조합 × 과제 · fail-soft"]:::step+ J --> RM["<b>결과 + 메트릭</b><br/>정확도 · 비용 · 시간 · 흐름"]:::step+ RM --> V(["<b>시각화</b><br/>report · graph · TUI · view"]):::out+ V -. "선택을 다듬어 다시 실행" .-> S++ classDef pick fill:#c08a3e,stroke:#0b2942,color:#0b2942;classDef step fill:#0b2942,stroke:#7fb2c9,color:#f5f1e6;- classDef out fill:#c08a3e,stroke:#0b2942,color:#0b2942;+ classDef out fill:#15324f,stroke:#c08a3e,color:#f5f1e6;```매 실행 산출물: 구조화 데이터(`results.jsonl` + 선택 `theseus.sqlite`), **자기완결형(self‑contained)**@@ -70,8 +63,14 @@ theseus 는 어떤 널빤지가 항해를 실제로 바꾸는지 보여준다.```- **내 실행 결과에서 바로:**```bash- theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view open # 브라우저로 리포트 열기- theseus … --view serve --port 7777 # 모든 run 을 http://localhost:7777 에 서빙+ # run 을 기록하고 그 리포트를 브라우저로 열기+ theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view open+ # run 을 기록하고 모든 run 을 http://localhost:7777 에 서빙+ theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view serve --port 7777+ ```+- **기록된 모든 트레이스 보기** (새 실행 없이 파이프라인 전체 이력):+ ```bash+ theseus view --open # 기록된 모든 run 을 localhost 에 서빙하고 갤러리 열기```> 호스팅 페이지 켜기: 저장소 **Settings → Pages → Source: GitHub Actions** (`Pages` 워크플로가 나머지를 처리).@@ -97,8 +96,11 @@ theseus --model opus4.8,gpt5.5 --agent cc,opencode,codex \## 매트릭스### L0 모델-`opus4.8 / 4.7 / 4.6`, `sonnet4.6 / 4.5`, `haiku4.5`, `fable5` (claude 계열) ·-`gpt5-codex`(계정 기본), `gpt5.5`, `gpt5.1-codex` (gpt 계열).+- **claude 계열** — `opus4.8 / 4.7 / 4.6`, `sonnet4.6 / 4.5`, `haiku4.5`, `fable5`+- **gpt 계열** — `gpt5-codex`(계정 기본), `gpt5.5`, `gpt5.1-codex`+- **open 계열 (OpenRouter)** — `qwen3-coder`, `qwen3-coder-free`(무료 예산), `glm4.6`, `kimi-k2`,+ `deepseek-v3.2` … 멀티모델 에이전트가 `openrouter/<vendor>/<model>` 로 전달. `src/config.ts` 에 OpenRouter+ id 를 추가하면 늘어나며, `:free` 모델은 $0 청구.### L1 에이전트| 에이전트 | 바이너리 | 모델 계열 | 하네스 |@@ -109,8 +111,9 @@ theseus --model opus4.8,gpt5.5 --agent cc,opencode,codex \| `openclaw` | openclaw | claude + gpt | none, ponytail || `hermes` | hermes | claude + gpt | none, ponytail |-`opencode/openclaw/hermes` 는 모델 불문 — theseus 가 `provider/id` 형식(`anthropic/…`, `openai/…`;-`default` 은 생략)으로 모델을 넘긴다.+`opencode/openclaw/hermes` 는 모델 불문 — 어떤 family 든 받아 theseus 가 `provider/id` 형식으로 넘긴다:+`anthropic/…`, `openai/…`, 또는 `openrouter/<vendor>/<model>`(예: 무료 Qwen). `default` 은 생략.+(`cc` 는 claude 전용, `codex` 는 gpt 전용.)### L2 하네스| 하네스 | 유형 | 에이전트 |@@ -131,6 +134,7 @@ theseus --model opus4.8,gpt5.5 --agent cc,opencode,codex \theseus [compare] --model … --agent … --harness … # 기본 명령theseus verify --model … --agent … --harness … # 조합별 서브에이전트 콜 포착 점검theseus results [--run <id>] # 기록된 run 보기+theseus view [--open] [--port 7777] # 기록된 모든 트레이스를 서빙·시각화theseus tui [--out runs] [--open] [--rich] # 인터랙티브 ink UI (표 폴백)theseus install <cc|codex|opencode|openclaw|hermes|tb|<harness>|all>theseus install --check # 상태표diff --git a/README.md b/README.mdindex be7e955..ed00dcf 100644--- a/README.md+++ b/README.md@@ -28,23 +28,16 @@ you understand the flow and pick the trade‑off that fits *you*. It is **not**```mermaidflowchart LR- M["<b>L0 · model</b><br/>opus4.8 · gpt5.5 · …"]:::layer- A["<b>L1 · agent</b><br/>cc · codex · opencode<br/>openclaw · hermes"]:::layer- H["<b>L2 · harness</b><br/>none · omc · omo<br/>ponytail · …"]:::layer-- M --> C; A --> C; H --> C- C["combine →<br/><b>valid combos</b><br/><i>(incompatibles excluded<br/>with a reason)</i>"]:::step- C --> S["<b>deterministic subset</b><br/>sha256 · seed"]:::step- S --> R["<b>run</b> · fail-soft<br/>mock · cc · codex · opencode · …"]:::step- R --> P["<b>parse transcripts</b><br/>tokens · tool calls · subagents"]:::step- P --> X["<b>metrics</b><br/>accuracy · cost · time · flow"]:::step- X --> O1(["📊 report.html<br/>Pareto frontier"]):::out- X --> O2(["🌳 graph.html<br/>subagent flow"]):::out- X --> O3(["🖥️ TUI · --view term/serve"]):::out-- classDef layer fill:#15324f,stroke:#c08a3e,color:#f5f1e6;+ S(["<b>select</b><br/>model × agent × harness"]):::pick+ S --> SUB["<b>subset</b><br/>deterministic · seed"]:::step+ SUB --> J["<b>run jobs</b><br/>per combo × task · fail-soft"]:::step+ J --> RM["<b>results + metrics</b><br/>accuracy · cost · time · flow"]:::step+ RM --> V(["<b>visualize</b><br/>report · graph · TUI · view"]):::out+ V -. "refine the selection — run again" .-> S++ classDef pick fill:#c08a3e,stroke:#0b2942,color:#0b2942;classDef step fill:#0b2942,stroke:#7fb2c9,color:#f5f1e6;- classDef out fill:#c08a3e,stroke:#0b2942,color:#0b2942;+ classDef out fill:#15324f,stroke:#c08a3e,color:#f5f1e6;```Every run emits: structured data (`results.jsonl` + optional `theseus.sqlite`), a **self‑contained**@@ -72,8 +65,14 @@ A self‑contained example report + flow graph, regenerated by CI on every push```- **From any of your own runs:**```bash- theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view open # pops the report in your browser- theseus … --view serve --port 7777 # serves all runs at http://localhost:7777+ # write a run and pop its report in your browser+ theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view open+ # write a run and serve all runs at http://localhost:7777+ theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view serve --port 7777+ ```+- **Visualize every trace you've recorded** (the whole pipeline's history, no new run):+ ```bash+ theseus view --open # serve all recorded runs at localhost and open the gallery```> Enabling the hosted page: repo **Settings → Pages → Source: GitHub Actions** (the `Pages` workflow does the rest).@@ -99,8 +98,11 @@ theseus --model opus4.8,gpt5.5 --agent cc,opencode,codex \## The matrix### L0 models-`opus4.8 / 4.7 / 4.6`, `sonnet4.6 / 4.5`, `haiku4.5`, `fable5` (claude family) ·-`gpt5-codex` (account default), `gpt5.5`, `gpt5.1-codex` (gpt family).+- **claude family** — `opus4.8 / 4.7 / 4.6`, `sonnet4.6 / 4.5`, `haiku4.5`, `fable5`+- **gpt family** — `gpt5-codex` (account default), `gpt5.5`, `gpt5.1-codex`+- **open family (OpenRouter)** — `qwen3-coder`, `qwen3-coder-free` (free budget), `glm4.6`, `kimi-k2`,+ `deepseek-v3.2` … passed as `openrouter/<vendor>/<model>` by the model-agnostic agents below. Add more by+ dropping any OpenRouter id into `src/config.ts`; `:free` models are billed at $0.### L1 agents| agent | binary | model families | harnesses |@@ -111,8 +113,9 @@ theseus --model opus4.8,gpt5.5 --agent cc,opencode,codex \| `openclaw` | openclaw | claude + gpt | none, ponytail || `hermes` | hermes | claude + gpt | none, ponytail |-`opencode/openclaw/hermes` are model‑agnostic; theseus passes the model as `provider/id` (`anthropic/…`,-`openai/…`; `default` omitted).+`opencode/openclaw/hermes` are model‑agnostic: they accept **any** family, so theseus passes the model as+`provider/id` — `anthropic/…`, `openai/…`, or `openrouter/<vendor>/<model>` (e.g. a free Qwen). `default` is+omitted. (`cc` stays claude-only, `codex` gpt-only.)### L2 harnesses| harness | type | agents |@@ -133,6 +136,7 @@ Incompatible combos are **excluded with a reason** (never silently dropped).theseus [compare] --model … --agent … --harness … # default commandtheseus verify --model … --agent … --harness … # per-combo subagent-call capture checktheseus results [--run <id>] # show a recorded run+theseus view [--open] [--port 7777] # serve & visualize EVERY recorded tracetheseus tui [--out runs] [--open] [--rich] # interactive ink UI (table fallback)theseus install <cc|codex|opencode|openclaw|hermes|tb|<harness>|all>theseus install --check # status tablediff --git a/README.zh.md b/README.zh.mdindex c857fa5..2988e60 100644--- a/README.zh.md+++ b/README.zh.md@@ -26,23 +26,16 @@ theseus 在 **同一任务子集** 上运行 **模型(L0) × 智能体(L1) ×```mermaidflowchart LR- M["<b>L0 · 模型</b><br/>opus4.8 · gpt5.5 · …"]:::layer- A["<b>L1 · 智能体</b><br/>cc · codex · opencode<br/>openclaw · hermes"]:::layer- H["<b>L2 · 框架</b><br/>none · omc · omo<br/>ponytail · …"]:::layer-- M --> C; A --> C; H --> C- C["组合 →<br/><b>有效组合</b><br/><i>(不兼容者附理由排除)</i>"]:::step- C --> S["<b>确定性子集</b><br/>sha256 · seed"]:::step- S --> R["<b>运行</b> · fail-soft<br/>mock · cc · codex · …"]:::step- R --> P["<b>解析转录</b><br/>令牌 · 工具调用 · 子智能体"]:::step- P --> X["<b>指标</b><br/>准确率 · 成本 · 时间 · 流程"]:::step- X --> O1(["📊 report.html<br/>帕累托前沿"]):::out- X --> O2(["🌳 graph.html<br/>子智能体流"]):::out- X --> O3(["🖥️ TUI · --view term/serve"]):::out-- classDef layer fill:#15324f,stroke:#c08a3e,color:#f5f1e6;+ S(["<b>选择</b><br/>模型 × 智能体 × 框架"]):::pick+ S --> SUB["<b>子集</b><br/>确定性 · seed"]:::step+ SUB --> J["<b>运行作业</b><br/>组合 × 任务 · fail-soft"]:::step+ J --> RM["<b>结果 + 指标</b><br/>准确率 · 成本 · 时间 · 流程"]:::step+ RM --> V(["<b>可视化</b><br/>report · graph · TUI · view"]):::out+ V -. "调整选择后再次运行" .-> S++ classDef pick fill:#c08a3e,stroke:#0b2942,color:#0b2942;classDef step fill:#0b2942,stroke:#7fb2c9,color:#f5f1e6;- classDef out fill:#c08a3e,stroke:#0b2942,color:#0b2942;+ classDef out fill:#15324f,stroke:#c08a3e,color:#f5f1e6;```每次运行产出:结构化数据(`results.jsonl` + 可选 `theseus.sqlite`)、**自包含(self‑contained)** 的@@ -68,8 +61,14 @@ flowchart LR```- **从你自己的运行结果:**```bash- theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view open # 在浏览器中打开报告- theseus … --view serve --port 7777 # 在 http://localhost:7777 提供全部运行+ # 记录一次运行并在浏览器中打开其报告+ theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view open+ # 记录一次运行并在 http://localhost:7777 提供全部运行+ theseus --model opus4.8 --agent cc --harness none,omc --bench subagent --runner mock --view serve --port 7777+ ```+- **查看已记录的全部轨迹**(无需新运行,整条流水线的历史):+ ```bash+ theseus view --open # 在 localhost 提供全部已记录运行并打开画廊```> 启用托管页面:仓库 **Settings → Pages → Source: GitHub Actions**(其余由 `Pages` 工作流完成)。@@ -95,8 +94,11 @@ theseus --model opus4.8,gpt5.5 --agent cc,opencode,codex \## 矩阵### L0 模型-`opus4.8 / 4.7 / 4.6`、`sonnet4.6 / 4.5`、`haiku4.5`、`fable5`(claude 系) ·-`gpt5-codex`(账号默认)、`gpt5.5`、`gpt5.1-codex`(gpt 系)。+- **claude 系** — `opus4.8 / 4.7 / 4.6`、`sonnet4.6 / 4.5`、`haiku4.5`、`fable5`+- **gpt 系** — `gpt5-codex`(账号默认)、`gpt5.5`、`gpt5.1-codex`+- **open 系(OpenRouter)** — `qwen3-coder`、`qwen3-coder-free`(免费额度)、`glm4.6`、`kimi-k2`、+ `deepseek-v3.2` … 由模型无关智能体以 `openrouter/<vendor>/<model>` 传入。向 `src/config.ts` 添加任意+ OpenRouter id 即可扩展;`:free` 模型按 $0 计费。### L1 智能体| 智能体 | 二进制 | 模型系 | 框架 |@@ -107,8 +109,9 @@ theseus --model opus4.8,gpt5.5 --agent cc,opencode,codex \| `openclaw` | openclaw | claude + gpt | none, ponytail || `hermes` | hermes | claude + gpt | none, ponytail |-`opencode/openclaw/hermes` 与模型无关 —— theseus 以 `provider/id` 形式传模型(`anthropic/…`、-`openai/…`;`default` 省略)。+`opencode/openclaw/hermes` 与模型无关 —— 接受任意 family,由 theseus 以 `provider/id` 形式传入:+`anthropic/…`、`openai/…`,或 `openrouter/<vendor>/<model>`(例如免费的 Qwen)。`default` 省略。+(`cc` 仅 claude,`codex` 仅 gpt。)### L2 框架| 框架 | 类型 | 智能体 |@@ -129,6 +132,7 @@ theseus --model opus4.8,gpt5.5 --agent cc,opencode,codex \theseus [compare] --model … --agent … --harness … # 默认命令theseus verify --model … --agent … --harness … # 逐组合的子智能体调用捕获检查theseus results [--run <id>] # 查看已记录的运行+theseus view [--open] [--port 7777] # 提供并可视化每一条已记录轨迹theseus tui [--out runs] [--open] [--rich] # 交互式 ink 界面(表格回退)theseus install <cc|codex|opencode|openclaw|hermes|tb|<harness>|all>theseus install --check # 状态表diff --git a/assets/theseus-banner.svg b/assets/theseus-banner.svgindex 51d885b..a8e76e2 100644--- a/assets/theseus-banner.svg+++ b/assets/theseus-banner.svg@@ -1,73 +1,17 @@-<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="360" viewBox="0 0 1280 360" role="img" aria-label="theseus — compare model × agent × harness, and judge the trade-offs">- <title>theseus</title>+<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="360" viewBox="0 0 1200 360" role="img" aria-label="theseus"><defs>- <linearGradient id="sea" x1="0" y1="0" x2="0" y2="1">- <stop offset="0" stop-color="#071d30"/>- <stop offset="1" stop-color="#0b2942"/>- </linearGradient>- <linearGradient id="sail" x1="0" y1="0" x2="1" y2="1">- <stop offset="0" stop-color="#f5f1e6"/>- <stop offset="1" stop-color="#cdd9df"/>- </linearGradient>- <pattern id="waves" width="80" height="26" patternUnits="userSpaceOnUse">- <path d="M0 18 q20 -14 40 0 t40 0" fill="none" stroke="#7fb2c9" stroke-width="2" opacity="0.14"/>- </pattern>+ <radialGradient id="g_gold" cx="42%" cy="34%" r="80%">+ <stop offset="0" stop-color="#0b1a2b"/><stop offset="1" stop-color="#04080f"/>+ </radialGradient></defs>-- <!-- sea -->- <rect width="1280" height="360" rx="20" fill="url(#sea)"/>- <rect y="210" width="1280" height="150" fill="url(#waves)"/>-- <!-- ship of theseus: hull · mast · sails · pennant -->- <g transform="translate(150 70)">- <!-- pennant -->- <path d="M150 6 L150 36 L196 21 Z" fill="#c08a3e"/>- <!-- mast -->- <line x1="150" y1="6" x2="150" y2="190" stroke="#f5f1e6" stroke-width="4"/>- <!-- main sail -->- <path d="M156 28 L156 178 L268 168 Z" fill="url(#sail)"/>- <!-- fore sail -->- <path d="M144 44 L144 174 L54 178 Z" fill="#7fb2c9" opacity="0.92"/>- <!-- plank seams on the main sail (ship of theseus: swappable planks) -->- <g stroke="#c08a3e" stroke-width="1.4" opacity="0.55">- <line x1="156" y1="66" x2="240" y2="60"/>- <line x1="156" y1="104" x2="252" y2="100"/>- <line x1="156" y1="142" x2="262" y2="138"/>- </g>- <!-- hull -->- <path d="M40 196 L296 196 L260 250 Q168 274 76 250 Z" fill="#15324f" stroke="#c08a3e" stroke-width="3"/>- <path d="M40 196 L296 196 L286 214 L50 214 Z" fill="#c08a3e" opacity="0.85"/>- </g>-- <!-- wordmark -->- <text x="470" y="178" font-family="ui-monospace, 'SF Mono', Menlo, Consolas, monospace" font-size="118" font-weight="800" fill="#f5f1e6" letter-spacing="2">theseus</text>- <rect x="474" y="196" width="430" height="6" rx="3" fill="#c08a3e"/>-- <!-- tagline -->- <text x="476" y="242" font-family="ui-sans-serif, system-ui, sans-serif" font-size="27" fill="#7fb2c9">compare model × agent × harness — and judge the trade-offs</text>-- <!-- layer chips -->- <g font-family="ui-monospace, monospace" font-size="20" fill="#f5f1e6">- <g transform="translate(476 270)">- <rect width="150" height="42" rx="21" fill="none" stroke="#c08a3e" stroke-width="1.6"/>- <text x="75" y="28" text-anchor="middle">L0 · model</text>- </g>- <g transform="translate(642 270)">- <rect width="150" height="42" rx="21" fill="none" stroke="#7fb2c9" stroke-width="1.6"/>- <text x="75" y="28" text-anchor="middle">L1 · agent</text>- </g>- <g transform="translate(808 270)">- <rect width="166" height="42" rx="21" fill="none" stroke="#f5f1e6" stroke-width="1.6"/>- <text x="83" y="28" text-anchor="middle">L2 · harness</text>- </g>- </g>-- <!-- design-system palette swatches (top-right) -->- <g transform="translate(1118 26)">- <rect x="0" y="0" width="26" height="26" rx="5" fill="#0b2942" stroke="#ffffff" stroke-opacity="0.15"/>- <rect x="32" y="0" width="26" height="26" rx="5" fill="#15324f"/>- <rect x="64" y="0" width="26" height="26" rx="5" fill="#7fb2c9"/>- <rect x="96" y="0" width="26" height="26" rx="5" fill="#c08a3e"/>- <rect x="128" y="0" width="26" height="26" rx="5" fill="#f5f1e6"/>+ <rect width="1200" height="360" rx="20" fill="url(#g_gold)"/>++ <path d="M250,0 L258,45 L281,83 L306,112 L319,156 L348,198 L344,233 L361,276" fill="none" stroke="#f5f1e6" stroke-width="2.2" opacity="0.55"/>+ <path d="M840,0 L830,32 L816,77 L845,124 L816,169 L815,207 L804,242 L803,271" fill="none" stroke="#f5f1e6" stroke-width="1.6" opacity="0.4"/>+ <g font-family="ui-monospace,'SF Mono',Menlo,Consolas,monospace" font-size="10" font-weight="700" text-anchor="middle">+ <text x="648" y="64" fill="#6b4f23" opacity="0.55">+</text><text x="531" y="73" fill="#f5f1e6" opacity="0.95">#</text><text x="540" y="73" fill="#f5f1e6" opacity="0.95">@</text><text x="549" y="73" fill="#f5f1e6" opacity="0.95">@</text><text x="558" y="73" fill="#c08a3e" opacity="0.95">c</text><text x="567" y="73" fill="#c08a3e" opacity="0.95">t</text><text x="576" y="73" fill="#c08a3e" opacity="0.95">o</text><text x="585" y="73" fill="#f5f1e6" opacity="0.95">%</text><text x="522" y="82" fill="#f5f1e6" opacity="0.95">@</text><text x="531" y="82" fill="#f5f1e6" opacity="0.95">#</text><text x="540" y="82" fill="#c08a3e" opacity="0.95">t</text><text x="549" y="82" fill="#f5f1e6" opacity="0.95">?</text><text x="558" y="82" fill="#f5f1e6" opacity="0.95">%</text><text x="567" y="82" fill="#f5f1e6" opacity="0.95">#</text><text x="576" y="82" fill="#f5f1e6" opacity="0.95">%</text><text x="585" y="82" fill="#f5f1e6" opacity="0.95">?</text><text x="594" y="82" fill="#c08a3e" opacity="0.95">t</text><text x="603" y="82" fill="#c08a3e" opacity="0.95">c</text><text x="648" y="82" fill="#6b4f23" opacity="0.55">=</text><text x="675" y="82" fill="#6b4f23" opacity="0.55">-</text><text x="513" y="91" fill="#f5f1e6" opacity="0.95">#</text><text x="522" y="91" fill="#f5f1e6" opacity="0.95">@</text><text x="531" y="91" fill="#f5f1e6" opacity="0.95">#</text><text x="540" y="91" fill="#f5f1e6" opacity="0.95">%</text><text x="549" y="91" fill="#c08a3e" opacity="0.95">t</text><text x="558" y="91" fill="#f5f1e6" opacity="0.95">?</text><text x="567" y="91" fill="#c08a3e" opacity="0.95">c</text><text x="576" y="91" fill="#c08a3e" opacity="0.95">o</text><text x="585" y="91" fill="#f5f1e6" opacity="0.95">%</text><text x="594" y="91" fill="#c08a3e" opacity="0.95">o</text><text x="603" y="91" fill="#c08a3e" opacity="0.95">c</text><text x="612" y="91" fill="#c08a3e" opacity="0.95">?</text><text x="504" y="100" fill="#f5f1e6" opacity="0.95">#</text><text x="513" y="100" fill="#f5f1e6" opacity="0.95">@</text><text x="522" y="100" fill="#f5f1e6" opacity="0.95">@</text><text x="531" y="100" fill="#f5f1e6" opacity="0.95">%</text><text x="540" y="100" fill="#f5f1e6" opacity="0.95">#</text><text x="549" y="100" fill="#f5f1e6" opacity="0.95">%</text><text x="558" y="100" fill="#c08a3e" opacity="0.95">t</text><text x="567" y="100" fill="#c08a3e" opacity="0.95">t</text><text x="576" y="100" fill="#f5f1e6" opacity="0.95">%</text><text x="585" y="100" fill="#c08a3e" opacity="0.95">c</text><text x="594" y="100" fill="#f5f1e6" opacity="0.95">?</text><text x="603" y="100" fill="#f5f1e6" opacity="0.95">%</text><text x="612" y="100" fill="#c08a3e" opacity="0.95">o</text><text x="504" y="109" fill="#f5f1e6" opacity="0.95">%</text><text x="513" y="109" fill="#f5f1e6" opacity="0.95">%</text><text x="522" y="109" fill="#f5f1e6" opacity="0.95">@</text><text x="531" y="109" fill="#f5f1e6" opacity="0.95">@</text><text x="540" y="109" fill="#f5f1e6" opacity="0.95">%</text><text x="549" y="109" fill="#f5f1e6" opacity="0.95">%</text><text x="558" y="109" fill="#c08a3e" opacity="0.95">t</text><text x="567" y="109" fill="#f5f1e6" opacity="0.95">#</text><text x="576" y="109" fill="#c08a3e" opacity="0.95">o</text><text x="585" y="109" fill="#f5f1e6" opacity="0.95">?</text><text x="594" y="109" fill="#c08a3e" opacity="0.95">o</text><text x="603" y="109" fill="#c08a3e" opacity="0.95">o</text><text x="612" y="109" fill="#c08a3e" opacity="0.95">o</text><text x="621" y="109" fill="#c08a3e" opacity="0.95">t</text><text x="504" y="118" fill="#f5f1e6" opacity="0.95">@</text><text x="513" y="118" fill="#f5f1e6" opacity="0.95">?</text><text x="522" y="118" fill="#c08a3e" opacity="0.95">t</text><text x="531" y="118" fill="#f5f1e6" opacity="0.95">?</text><text x="540" y="118" fill="#c08a3e" opacity="0.95">t</text><text x="549" y="118" fill="#c08a3e" opacity="0.95">t</text><text x="558" y="118" fill="#c08a3e" opacity="0.95">c</text><text x="567" y="118" fill="#c08a3e" opacity="0.95">o</text><text x="576" y="118" fill="#f5f1e6" opacity="0.95">%</text><text x="585" y="118" fill="#c08a3e" opacity="0.95">t</text><text x="594" y="118" fill="#f5f1e6" opacity="0.95">?</text><text x="603" y="118" fill="#c08a3e" opacity="0.95">c</text><text x="612" y="118" fill="#c08a3e" opacity="0.95">t</text><text x="621" y="118" fill="#c08a3e" opacity="0.95">t</text><text x="495" y="127" fill="#f5f1e6" opacity="0.95">#</text><text x="504" y="127" fill="#f5f1e6" opacity="0.95">%</text><text x="513" y="127" fill="#f5f1e6" opacity="0.95">#</text><text x="522" y="127" fill="#f5f1e6" opacity="0.95">%</text><text x="531" y="127" fill="#f5f1e6" opacity="0.95">%</text><text x="540" y="127" fill="#c08a3e" opacity="0.95">c</text><text x="549" y="127" fill="#f5f1e6" opacity="0.95">#</text><text x="558" y="127" fill="#f5f1e6" opacity="0.95">?</text><text x="567" y="127" fill="#c08a3e" opacity="0.95">c</text><text x="576" y="127" fill="#c08a3e" opacity="0.95">o</text><text x="585" y="127" fill="#c08a3e" opacity="0.95">t</text><text x="594" y="127" fill="#c08a3e" opacity="0.95">c</text><text x="603" y="127" fill="#f5f1e6" opacity="0.95">?</text><text x="612" y="127" fill="#c08a3e" opacity="0.95">c</text><text x="621" y="127" fill="#c08a3e" opacity="0.95">*</text><text x="702" y="127" fill="#6b4f23" opacity="0.55">-</text><text x="495" y="136" fill="#f5f1e6" opacity="0.95">#</text><text x="504" y="136" fill="#f5f1e6" opacity="0.95">#</text><text x="513" y="136" fill="#f5f1e6" opacity="0.95">#</text><text x="522" y="136" fill="#f5f1e6" opacity="0.95">%</text><text x="531" y="136" fill="#c08a3e" opacity="0.95">t</text><text x="540" y="136" fill="#c08a3e" opacity="0.95">c</text><text x="549" y="136" fill="#c08a3e" opacity="0.95">o</text><text x="558" y="136" fill="#c08a3e" opacity="0.95">t</text><text x="567" y="136" fill="#c08a3e" opacity="0.95">c</text><text x="576" y="136" fill="#c08a3e" opacity="0.95">c</text><text x="585" y="136" fill="#c08a3e" opacity="0.95">t</text><text x="594" y="136" fill="#c08a3e" opacity="0.95">*</text><text x="603" y="136" fill="#f5f1e6" opacity="0.95">?</text><text x="612" y="136" fill="#c08a3e" opacity="0.95">*</text><text x="621" y="136" fill="#c08a3e" opacity="0.95">t</text><text x="648" y="136" fill="#6b4f23" opacity="0.55">:</text><text x="504" y="145" fill="#c08a3e" opacity="0.95">c</text><text x="513" y="145" fill="#c08a3e" opacity="0.95">t</text><text x="522" y="145" fill="#f5f1e6" opacity="0.95">?</text><text x="531" y="145" fill="#f5f1e6" opacity="0.95">?</text><text x="540" y="145" fill="#c08a3e" opacity="0.95">o</text><text x="549" y="145" fill="#f5f1e6" opacity="0.95">?</text><text x="558" y="145" fill="#c08a3e" opacity="0.95">c</text><text x="567" y="145" fill="#c08a3e" opacity="0.95">t</text><text x="576" y="145" fill="#f5f1e6" opacity="0.95">?</text><text x="585" y="145" fill="#c08a3e" opacity="0.95">t</text><text x="594" y="145" fill="#f5f1e6" opacity="0.95">?</text><text x="603" y="145" fill="#f5f1e6" opacity="0.95">?</text><text x="612" y="145" fill="#c08a3e" opacity="0.95">t</text><text x="621" y="145" fill="#c08a3e" opacity="0.95">c</text><text x="774" y="145" fill="#6b4f23" opacity="0.55">.</text><text x="504" y="154" fill="#f5f1e6" opacity="0.95">#</text><text x="513" y="154" fill="#f5f1e6" opacity="0.95">#</text><text x="522" y="154" fill="#f5f1e6" opacity="0.95">?</text><text x="531" y="154" fill="#c08a3e" opacity="0.95">c</text><text x="540" y="154" fill="#f5f1e6" opacity="0.95">#</text><text x="549" y="154" fill="#c08a3e" opacity="0.95">c</text><text x="558" y="154" fill="#f5f1e6" opacity="0.95">?</text><text x="567" y="154" fill="#f5f1e6" opacity="0.95">?</text><text x="576" y="154" fill="#f5f1e6" opacity="0.95">?</text><text x="585" y="154" fill="#c08a3e" opacity="0.95">?</text><text x="594" y="154" fill="#c08a3e" opacity="0.95">*</text><text x="603" y="154" fill="#c08a3e" opacity="0.95">t</text><text x="612" y="154" fill="#c08a3e" opacity="0.95">o</text><text x="621" y="154" fill="#c08a3e" opacity="0.95">t</text><text x="504" y="163" fill="#c08a3e" opacity="0.95">c</text><text x="513" y="163" fill="#f5f1e6" opacity="0.95">#</text><text x="522" y="163" fill="#c08a3e" opacity="0.95">o</text><text x="531" y="163" fill="#f5f1e6" opacity="0.95">?</text><text x="540" y="163" fill="#c08a3e" opacity="0.95">c</text><text x="549" y="163" fill="#c08a3e" opacity="0.95">o</text><text x="558" y="163" fill="#c08a3e" opacity="0.95">c</text><text x="567" y="163" fill="#f5f1e6" opacity="0.95">%</text><text x="576" y="163" fill="#c08a3e" opacity="0.95">t</text><text x="585" y="163" fill="#c08a3e" opacity="0.95">o</text><text x="594" y="163" fill="#c08a3e" opacity="0.95">o</text><text x="603" y="163" fill="#c08a3e" opacity="0.95">c</text><text x="612" y="163" fill="#6b4f23" opacity="0.95">+</text><text x="513" y="172" fill="#c08a3e" opacity="0.95">t</text><text x="522" y="172" fill="#f5f1e6" opacity="0.95">%</text><text x="531" y="172" fill="#c08a3e" opacity="0.95">o</text><text x="540" y="172" fill="#f5f1e6" opacity="0.95">%</text><text x="549" y="172" fill="#f5f1e6" opacity="0.95">%</text><text x="558" y="172" fill="#c08a3e" opacity="0.95">c</text><text x="567" y="172" fill="#c08a3e" opacity="0.95">o</text><text x="576" y="172" fill="#c08a3e" opacity="0.95">c</text><text x="585" y="172" fill="#c08a3e" opacity="0.95">*</text><text x="594" y="172" fill="#c08a3e" opacity="0.95">o</text><text x="603" y="172" fill="#c08a3e" opacity="0.95">c</text><text x="522" y="181" fill="#f5f1e6" opacity="0.95">%</text><text x="531" y="181" fill="#c08a3e" opacity="0.95">*</text><text x="540" y="181" fill="#f5f1e6" opacity="0.95">%</text><text x="549" y="181" fill="#c08a3e" opacity="0.95">*</text><text x="558" y="181" fill="#c08a3e" opacity="0.95">o</text><text x="567" y="181" fill="#c08a3e" opacity="0.95">*</text><text x="576" y="181" fill="#c08a3e" opacity="0.95">t</text><text x="585" y="181" fill="#c08a3e" opacity="0.95">*</text><text x="594" y="181" fill="#c08a3e" opacity="0.95">t</text><text x="684" y="181" fill="#6b4f23" opacity="0.55">:</text><text x="810" y="181" fill="#6b4f23" opacity="0.55">.</text><text x="540" y="190" fill="#c08a3e" opacity="0.95">?</text><text x="549" y="190" fill="#c08a3e" opacity="0.95">*</text><text x="558" y="190" fill="#c08a3e" opacity="0.95">*</text><text x="567" y="190" fill="#6b4f23" opacity="0.95">+</text><text x="576" y="190" fill="#c08a3e" opacity="0.95">*</text><text x="585" y="190" fill="#6b4f23" opacity="0.95">+</text><text x="495" y="199" fill="#c08a3e" opacity="0.95">t</text><text x="504" y="199" fill="#c08a3e" opacity="0.95">o</text><text x="513" y="199" fill="#c08a3e" opacity="0.95">c</text><text x="522" y="199" fill="#f5f1e6" opacity="0.95">?</text><text x="531" y="199" fill="#c08a3e" opacity="0.95">t</text><text x="540" y="199" fill="#c08a3e" opacity="0.95">c</text><text x="549" y="199" fill="#c08a3e" opacity="0.95">*</text><text x="558" y="199" fill="#c08a3e" opacity="0.95">o</text><text x="567" y="199" fill="#c08a3e" opacity="0.95">c</text><text x="576" y="199" fill="#c08a3e" opacity="0.95">c</text><text x="585" y="199" fill="#c08a3e" opacity="0.95">t</text><text x="594" y="199" fill="#c08a3e" opacity="0.95">*</text><text x="603" y="199" fill="#c08a3e" opacity="0.95">o</text><text x="612" y="199" fill="#c08a3e" opacity="0.95">o</text><text x="621" y="199" fill="#6b4f23" opacity="0.95">=</text><text x="630" y="199" fill="#6b4f23" opacity="0.95">+</text><text x="477" y="208" fill="#c08a3e" opacity="0.95">+</text><text x="486" y="208" fill="#f5f1e6" opacity="0.95">?</text><text x="495" y="208" fill="#f5f1e6" opacity="0.95">?</text><text x="504" y="208" fill="#c08a3e" opacity="0.95">c</text><text x="513" y="208" fill="#c08a3e" opacity="0.95">t</text><text x="522" y="208" fill="#6b4f23" opacity="0.95">+</text><text x="531" y="208" fill="#f5f1e6" opacity="0.95">?</text><text x="540" y="208" fill="#c08a3e" opacity="0.95">c</text><text x="549" y="208" fill="#c08a3e" opacity="0.95">o</text><text x="558" y="208" fill="#c08a3e" opacity="0.95">c</text><text x="567" y="208" fill="#c08a3e" opacity="0.95">o</text><text x="576" y="208" fill="#c08a3e" opacity="0.95">o</text><text x="585" y="208" fill="#c08a3e" opacity="0.95">t</text><text x="594" y="208" fill="#c08a3e" opacity="0.95">c</text><text x="603" y="208" fill="#c08a3e" opacity="0.95">o</text><text x="612" y="208" fill="#c08a3e" opacity="0.95">+</text><text x="621" y="208" fill="#6b4f23" opacity="0.95">+</text><text x="630" y="208" fill="#c08a3e" opacity="0.95">*</text><text x="639" y="208" fill="#6b4f23" opacity="0.95">+</text><text x="468" y="217" fill="#c08a3e" opacity="0.95">*</text><text x="477" y="217" fill="#c08a3e" opacity="0.95">+</text><text x="486" y="217" fill="#c08a3e" opacity="0.95">c</text><text x="495" y="217" fill="#c08a3e" opacity="0.95">*</text><text x="504" y="217" fill="#c08a3e" opacity="0.95">c</text><text x="513" y="217" fill="#c08a3e" opacity="0.95">o</text><text x="522" y="217" fill="#6b4f23" opacity="0.95">+</text><text x="531" y="217" fill="#c08a3e" opacity="0.95">*</text><text x="540" y="217" fill="#c08a3e" opacity="0.95">t</text><text x="549" y="217" fill="#c08a3e" opacity="0.95">o</text><text x="558" y="217" fill="#c08a3e" opacity="0.95">o</text><text x="567" y="217" fill="#c08a3e" opacity="0.95">+</text><text x="576" y="217" fill="#c08a3e" opacity="0.95">o</text><text x="585" y="217" fill="#c08a3e" opacity="0.95">*</text><text x="594" y="217" fill="#c08a3e" opacity="0.95">c</text><text x="603" y="217" fill="#c08a3e" opacity="0.95">o</text><text x="612" y="217" fill="#6b4f23" opacity="0.95">+</text><text x="621" y="217" fill="#c08a3e" opacity="0.95">o</text><text x="630" y="217" fill="#6b4f23" opacity="0.95">-</text><text x="639" y="217" fill="#6b4f23" opacity="0.95">=</text><text x="648" y="217" fill="#6b4f23" opacity="0.95">+</text><text x="657" y="217" fill="#c08a3e" opacity="0.95">*</text><text x="459" y="226" fill="#c08a3e" opacity="0.95">c</text><text x="468" y="226" fill="#c08a3e" opacity="0.95">o</text><text x="477" y="226" fill="#c08a3e" opacity="0.95">*</text><text x="486" y="226" fill="#c08a3e" opacity="0.95">c</text><text x="495" y="226" fill="#c08a3e" opacity="0.95">o</text><text x="504" y="226" fill="#c08a3e" opacity="0.95">o</text><text x="513" y="226" fill="#c08a3e" opacity="0.95">t</text><text x="522" y="226" fill="#c08a3e" opacity="0.95">t</text><text x="531" y="226" fill="#6b4f23" opacity="0.95">+</text><text x="540" y="226" fill="#c08a3e" opacity="0.95">t</text><text x="549" y="226" fill="#6b4f23" opacity="0.95">+</text><text x="558" y="226" fill="#6b4f23" opacity="0.95">=</text><text x="567" y="226" fill="#c08a3e" opacity="0.95">c</text><text x="576" y="226" fill="#6b4f23" opacity="0.95">=</text><text x="585" y="226" fill="#c08a3e" opacity="0.95">+</text><text x="594" y="226" fill="#c08a3e" opacity="0.95">*</text><text x="603" y="226" fill="#6b4f23" opacity="0.95">+</text><text x="612" y="226" fill="#c08a3e" opacity="0.95">*</text><text x="621" y="226" fill="#c08a3e" opacity="0.95">*</text><text x="630" y="226" fill="#6b4f23" opacity="0.95">+</text><text x="639" y="226" fill="#6b4f23" opacity="0.95">-</text><text x="648" y="226" fill="#6b4f23" opacity="0.95">=</text><text x="657" y="226" fill="#c08a3e" opacity="0.95">*</text><text x="666" y="226" fill="#6b4f23" opacity="0.95">-</text><text x="450" y="235" fill="#6b4f23" opacity="0.95">+</text><text x="459" y="235" fill="#6b4f23" opacity="0.95">=</text><text x="468" y="235" fill="#c08a3e" opacity="0.95">c</text><text x="477" y="235" fill="#c08a3e" opacity="0.95">*</text><text x="486" y="235" fill="#c08a3e" opacity="0.95">c</text><text x="495" y="235" fill="#6b4f23" opacity="0.95">+</text><text x="504" y="235" fill="#6b4f23" opacity="0.95">=</text><text x="513" y="235" fill="#c08a3e" opacity="0.95">o</text><text x="522" y="235" fill="#6b4f23" opacity="0.95">+</text><text x="531" y="235" fill="#c08a3e" opacity="0.95">c</text><text x="540" y="235" fill="#c08a3e" opacity="0.95">o</text><text x="549" y="235" fill="#c08a3e" opacity="0.95">o</text><text x="558" y="235" fill="#c08a3e" opacity="0.95">o</text><text x="567" y="235" fill="#c08a3e" opacity="0.95">o</text><text x="576" y="235" fill="#6b4f23" opacity="0.95">+</text><text x="585" y="235" fill="#6b4f23" opacity="0.95">=</text><text x="594" y="235" fill="#c08a3e" opacity="0.95">*</text><text x="603" y="235" fill="#6b4f23" opacity="0.95">+</text><text x="612" y="235" fill="#c08a3e" opacity="0.95">o</text><text x="621" y="235" fill="#6b4f23" opacity="0.95">=</text><text x="630" y="235" fill="#c08a3e" opacity="0.95">*</text><text x="639" y="235" fill="#6b4f23" opacity="0.95">-</text><text x="648" y="235" fill="#6b4f23" opacity="0.95">=</text><text x="657" y="235" fill="#c08a3e" opacity="0.95">*</text><text x="666" y="235" fill="#6b4f23" opacity="0.95">=</text><text x="675" y="235" fill="#6b4f23" opacity="0.95">-</text><text x="441" y="244" fill="#c08a3e" opacity="0.95">o</text><text x="450" y="244" fill="#c08a3e" opacity="0.95">o</text><text x="459" y="244" fill="#c08a3e" opacity="0.95">*</text><text x="468" y="244" fill="#6b4f23" opacity="0.95">+</text><text x="477" y="244" fill="#6b4f23" opacity="0.95">=</text><text x="486" y="244" fill="#c08a3e" opacity="0.95">*</text><text x="495" y="244" fill="#6b4f23" opacity="0.95">=</text><text x="504" y="244" fill="#c08a3e" opacity="0.95">*</text><text x="513" y="244" fill="#6b4f23" opacity="0.95">+</text><text x="522" y="244" fill="#6b4f23" opacity="0.95">=</text><text x="531" y="244" fill="#6b4f23" opacity="0.95">+</text><text x="540" y="244" fill="#6b4f23" opacity="0.95">-</text><text x="549" y="244" fill="#6b4f23" opacity="0.95">+</text><text x="558" y="244" fill="#c08a3e" opacity="0.95">o</text><text x="567" y="244" fill="#c08a3e" opacity="0.95">+</text><text x="576" y="244" fill="#6b4f23" opacity="0.95">+</text><text x="585" y="244" fill="#6b4f23" opacity="0.95">=</text><text x="594" y="244" fill="#6b4f23" opacity="0.95">+</text><text x="603" y="244" fill="#c08a3e" opacity="0.95">*</text><text x="612" y="244" fill="#6b4f23" opacity="0.95">+</text><text x="621" y="244" fill="#6b4f23" opacity="0.95">:</text><text x="630" y="244" fill="#6b4f23" opacity="0.95">=</text><text x="639" y="244" fill="#c08a3e" opacity="0.95">+</text><text x="648" y="244" fill="#6b4f23" opacity="0.95">-</text><text x="657" y="244" fill="#6b4f23" opacity="0.95">.</text><text x="666" y="244" fill="#6b4f23" opacity="0.95">.</text><text x="675" y="244" fill="#6b4f23" opacity="0.95">=</text><text x="432" y="253" fill="#6b4f23" opacity="0.95">=</text><text x="441" y="253" fill="#c08a3e" opacity="0.95">o</text><text x="450" y="253" fill="#c08a3e" opacity="0.95">o</text><text x="459" y="253" fill="#c08a3e" opacity="0.95">*</text><text x="468" y="253" fill="#c08a3e" opacity="0.95">o</text><text x="477" y="253" fill="#c08a3e" opacity="0.95">o</text><text x="486" y="253" fill="#c08a3e" opacity="0.95">o</text><text x="495" y="253" fill="#c08a3e" opacity="0.95">*</text><text x="504" y="253" fill="#6b4f23" opacity="0.95">=</text><text x="513" y="253" fill="#6b4f23" opacity="0.95">+</text><text x="522" y="253" fill="#c08a3e" opacity="0.95">*</text><text x="531" y="253" fill="#6b4f23" opacity="0.95">-</text><text x="540" y="253" fill="#c08a3e" opacity="0.95">o</text><text x="549" y="253" fill="#c08a3e" opacity="0.95">*</text><text x="558" y="253" fill="#6b4f23" opacity="0.95">-</text><text x="567" y="253" fill="#6b4f23" opacity="0.95">+</text><text x="576" y="253" fill="#c08a3e" opacity="0.95">o</text><text x="585" y="253" fill="#6b4f23" opacity="0.95">:</text><text x="594" y="253" fill="#6b4f23" opacity="0.95">=</text><text x="603" y="253" fill="#c08a3e" opacity="0.95">*</text><text x="612" y="253" fill="#6b4f23" opacity="0.95">=</text><text x="621" y="253" fill="#6b4f23" opacity="0.95">:</text><text x="630" y="253" fill="#6b4f23" opacity="0.95">=</text><text x="639" y="253" fill="#6b4f23" opacity="0.95">-</text><text x="648" y="253" fill="#6b4f23" opacity="0.95">-</text><text x="657" y="253" fill="#6b4f23" opacity="0.95">+</text><text x="666" y="253" fill="#6b4f23" opacity="0.95">:</text><text x="675" y="253" fill="#6b4f23" opacity="0.95">.</text><text x="684" y="253" fill="#6b4f23" opacity="0.95">.</text><text x="432" y="262" fill="#6b4f23" opacity="0.95">+</text><text x="441" y="262" fill="#c08a3e" opacity="0.95">c</text><text x="450" y="262" fill="#c08a3e" opacity="0.95">o</text><text x="459" y="262" fill="#c08a3e" opacity="0.95">*</text><text x="468" y="262" fill="#6b4f23" opacity="0.95">+</text><text x="477" y="262" fill="#c08a3e" opacity="0.95">*</text><text x="486" y="262" fill="#6b4f23" opacity="0.95">+</text><text x="495" y="262" fill="#6b4f23" opacity="0.95">=</text><text x="504" y="262" fill="#6b4f23" opacity="0.95">-</text><text x="513" y="262" fill="#c08a3e" opacity="0.95">*</text><text x="522" y="262" fill="#c08a3e" opacity="0.95">*</text><text x="531" y="262" fill="#c08a3e" opacity="0.95">*</text><text x="540" y="262" fill="#6b4f23" opacity="0.95">-</text><text x="549" y="262" fill="#c08a3e" opacity="0.95">*</text><text x="558" y="262" fill="#6b4f23" opacity="0.95">+</text><text x="567" y="262" fill="#c08a3e" opacity="0.95">o</text><text x="576" y="262" fill="#6b4f23" opacity="0.95">:</text><text x="585" y="262" fill="#c08a3e" opacity="0.95">*</text><text x="594" y="262" fill="#c08a3e" opacity="0.95">*</text><text x="603" y="262" fill="#6b4f23" opacity="0.95">=</text><text x="612" y="262" fill="#6b4f23" opacity="0.95">:</text><text x="621" y="262" fill="#6b4f23" opacity="0.95">:</text><text x="630" y="262" fill="#6b4f23" opacity="0.95">-</text><text x="639" y="262" fill="#6b4f23" opacity="0.95">=</text><text x="648" y="262" fill="#6b4f23" opacity="0.95">-</text><text x="657" y="262" fill="#6b4f23" opacity="0.95">+</text><text x="666" y="262" fill="#6b4f23" opacity="0.95">=</text><text x="675" y="262" fill="#6b4f23" opacity="0.95">.</text><text x="693" y="262" fill="#6b4f23" opacity="0.95">.</text><text x="702" y="262" fill="#6b4f23" opacity="0.55">.</text><text x="423" y="271" fill="#c08a3e" opacity="0.95">o</text><text x="432" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="441" y="271" fill="#c08a3e" opacity="0.95">o</text><text x="450" y="271" fill="#6b4f23" opacity="0.95">=</text><text x="459" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="468" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="477" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="486" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="495" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="504" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="513" y="271" fill="#c08a3e" opacity="0.95">+</text><text x="522" y="271" fill="#c08a3e" opacity="0.95">o</text><text x="531" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="540" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="549" y="271" fill="#6b4f23" opacity="0.95">+</text><text x="558" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="567" y="271" fill="#6b4f23" opacity="0.95">=</text><text x="576" y="271" fill="#6b4f23" opacity="0.95">+</text><text x="585" y="271" fill="#c08a3e" opacity="0.95">*</text><text x="594" y="271" fill="#6b4f23" opacity="0.95">+</text><text x="603" y="271" fill="#6b4f23" opacity="0.95">.</text><text x="612" y="271" fill="#6b4f23" opacity="0.95">+</text><text x="621" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="630" y="271" fill="#6b4f23" opacity="0.95">=</text><text x="639" y="271" fill="#6b4f23" opacity="0.95">.</text><text x="648" y="271" fill="#6b4f23" opacity="0.95">+</text><text x="657" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="666" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="675" y="271" fill="#6b4f23" opacity="0.95">-</text><text x="684" y="271" fill="#6b4f23" opacity="0.95">.</text><text x="693" y="271" fill="#6b4f23" opacity="0.95">:</text><text x="423" y="280" fill="#6b4f23" opacity="0.95">-</text><text x="432" y="280" fill="#6b4f23" opacity="0.95">+</text><text x="441" y="280" fill="#c08a3e" opacity="0.95">o</text><text x="450" y="280" fill="#6b4f23" opacity="0.95">-</text><text x="459" y="280" fill="#6b4f23" opacity="0.95">=</text><text x="468" y="280" fill="#c08a3e" opacity="0.95">*</text><text x="477" y="280" fill="#6b4f23" opacity="0.95">+</text><text x="486" y="280" fill="#c08a3e" opacity="0.95">*</text><text x="495" y="280" fill="#6b4f23" opacity="0.95">=</text><text x="504" y="280" fill="#c08a3e" opacity="0.95">o</text><text x="513" y="280" fill="#6b4f23" opacity="0.95">-</text><text x="522" y="280" fill="#6b4f23" opacity="0.95">+</text><text x="531" y="280" fill="#c08a3e" opacity="0.95">+</text><text x="540" y="280" fill="#6b4f23" opacity="0.95">=</text><text x="549" y="280" fill="#6b4f23" opacity="0.95">=</text><text x="558" y="280" fill="#6b4f23" opacity="0.95">=</text><text x="567" y="280" fill="#6b4f23" opacity="0.95">+</text><text x="576" y="280" fill="#6b4f23" opacity="0.95">:</text><text x="585" y="280" fill="#6b4f23" opacity="0.95">-</text><text x="594" y="280" fill="#6b4f23" opacity="0.95">=</text><text x="603" y="280" fill="#6b4f23" opacity="0.95">+</text><text x="612" y="280" fill="#6b4f23" opacity="0.95">+</text><text x="621" y="280" fill="#6b4f23" opacity="0.95">+</text><text x="630" y="280" fill="#6b4f23" opacity="0.95">.</text><text x="639" y="280" fill="#6b4f23" opacity="0.95">+</text><text x="648" y="280" fill="#6b4f23" opacity="0.95">.</text><text x="657" y="280" fill="#6b4f23" opacity="0.95">.</text><text x="675" y="280" fill="#6b4f23" opacity="0.95">:</text><text x="684" y="280" fill="#6b4f23" opacity="0.95">.</text><text x="693" y="280" fill="#6b4f23" opacity="0.95">.</text><text x="423" y="289" fill="#c08a3e" opacity="0.95">*</text><text x="432" y="289" fill="#6b4f23" opacity="0.95">-</text><text x="441" y="289" fill="#6b4f23" opacity="0.95">-</text><text x="450" y="289" fill="#6b4f23" opacity="0.95">-</text><text x="459" y="289" fill="#6b4f23" opacity="0.95">=</text><text x="468" y="289" fill="#6b4f23" opacity="0.95">-</text><text x="477" y="289" fill="#6b4f23" opacity="0.95">-</text><text x="486" y="289" fill="#c08a3e" opacity="0.95">*</text><text x="495" y="289" fill="#6b4f23" opacity="0.95">+</text><text x="504" y="289" fill="#6b4f23" opacity="0.95">:</text><text x="513" y="289" fill="#c08a3e" opacity="0.95">o</text><text x="522" y="289" fill="#c08a3e" opacity="0.95">*</text><text x="531" y="289" fill="#6b4f23" opacity="0.95">:</text><text x="540" y="289" fill="#c08a3e" opacity="0.95">*</text><text x="549" y="289" fill="#6b4f23" opacity="0.95">:</text><text x="558" y="289" fill="#6b4f23" opacity="0.95">=</text><text x="567" y="289" fill="#6b4f23" opacity="0.95">.</text><text x="576" y="289" fill="#6b4f23" opacity="0.95">-</text><text x="585" y="289" fill="#6b4f23" opacity="0.95">.</text><text x="594" y="289" fill="#6b4f23" opacity="0.95">-</text><text x="603" y="289" fill="#6b4f23" opacity="0.95">.</text><text x="612" y="289" fill="#6b4f23" opacity="0.95">:</text><text x="621" y="289" fill="#6b4f23" opacity="0.95">=</text><text x="630" y="289" fill="#6b4f23" opacity="0.95">:</text><text x="639" y="289" fill="#6b4f23" opacity="0.95">-</text><text x="648" y="289" fill="#6b4f23" opacity="0.95">:</text><text x="666" y="289" fill="#6b4f23" opacity="0.95">:</text><text x="702" y="289" fill="#6b4f23" opacity="0.95">:</text><text x="414" y="298" fill="#6b4f23" opacity="0.95">=</text><text x="423" y="298" fill="#6b4f23" opacity="0.95">:</text><text x="432" y="298" fill="#6b4f23" opacity="0.95">+</text><text x="441" y="298" fill="#6b4f23" opacity="0.95">:</text><text x="450" y="298" fill="#6b4f23" opacity="0.95">=</text><text x="459" y="298" fill="#6b4f23" opacity="0.95">:</text><text x="468" y="298" fill="#c08a3e" opacity="0.95">+</text><text x="477" y="298" fill="#6b4f23" opacity="0.95">:</text><text x="486" y="298" fill="#c08a3e" opacity="0.95">*</text><text x="495" y="298" fill="#6b4f23" opacity="0.95">+</text><text x="504" y="298" fill="#6b4f23" opacity="0.95">-</text><text x="513" y="298" fill="#6b4f23" opacity="0.95">=</text><text x="522" y="298" fill="#6b4f23" opacity="0.95">=</text><text x="531" y="298" fill="#6b4f23" opacity="0.95">:</text><text x="540" y="298" fill="#6b4f23" opacity="0.95">:</text><text x="549" y="298" fill="#6b4f23" opacity="0.95">:</text><text x="558" y="298" fill="#6b4f23" opacity="0.95">.</text><text x="567" y="298" fill="#6b4f23" opacity="0.95">-</text><text x="576" y="298" fill="#6b4f23" opacity="0.95">:</text><text x="585" y="298" fill="#6b4f23" opacity="0.95">=</text><text x="594" y="298" fill="#6b4f23" opacity="0.95">=</text><text x="603" y="298" fill="#6b4f23" opacity="0.95">.</text><text x="612" y="298" fill="#6b4f23" opacity="0.95">:</text><text x="630" y="298" fill="#6b4f23" opacity="0.95">:</text><text x="639" y="298" fill="#6b4f23" opacity="0.95">-</text><text x="657" y="298" fill="#6b4f23" opacity="0.95">:</text><text x="666" y="298" fill="#6b4f23" opacity="0.95">-</text><text x="675" y="298" fill="#6b4f23" opacity="0.95">-</text><text x="684" y="298" fill="#6b4f23" opacity="0.95">-</text><text x="693" y="298" fill="#6b4f23" opacity="0.95">-</text><text x="702" y="298" fill="#6b4f23" opacity="0.95">-</text><text x="414" y="307" fill="#6b4f23" opacity="0.95">-</text><text x="423" y="307" fill="#6b4f23" opacity="0.95">-</text><text x="432" y="307" fill="#6b4f23" opacity="0.95">.</text><text x="441" y="307" fill="#6b4f23" opacity="0.95">.</text><text x="450" y="307" fill="#6b4f23" opacity="0.95">-</text><text x="459" y="307" fill="#6b4f23" opacity="0.95">:</text><text x="468" y="307" fill="#6b4f23" opacity="0.95">=</text><text x="477" y="307" fill="#c08a3e" opacity="0.95">*</text><text x="486" y="307" fill="#6b4f23" opacity="0.95">=</text><text x="495" y="307" fill="#6b4f23" opacity="0.95">-</text><text x="504" y="307" fill="#6b4f23" opacity="0.95">+</text><text x="513" y="307" fill="#6b4f23" opacity="0.95">=</text><text x="522" y="307" fill="#6b4f23" opacity="0.95">+</text><text x="531" y="307" fill="#6b4f23" opacity="0.95">=</text><text x="540" y="307" fill="#6b4f23" opacity="0.95">+</text><text x="549" y="307" fill="#6b4f23" opacity="0.95">:</text><text x="558" y="307" fill="#6b4f23" opacity="0.95">+</text><text x="567" y="307" fill="#6b4f23" opacity="0.95">-</text><text x="576" y="307" fill="#6b4f23" opacity="0.95">-</text><text x="585" y="307" fill="#6b4f23" opacity="0.95">:</text><text x="603" y="307" fill="#6b4f23" opacity="0.95">:</text><text x="612" y="307" fill="#6b4f23" opacity="0.95">:</text><text x="621" y="307" fill="#6b4f23" opacity="0.95">:</text><text x="648" y="307" fill="#6b4f23" opacity="0.95">-</text><text x="684" y="307" fill="#6b4f23" opacity="0.95">.</text><text x="702" y="307" fill="#6b4f23" opacity="0.95">:</text><text x="414" y="316" fill="#6b4f23" opacity="0.95">.</text><text x="423" y="316" fill="#6b4f23" opacity="0.95">=</text><text x="432" y="316" fill="#6b4f23" opacity="0.95">=</text><text x="441" y="316" fill="#6b4f23" opacity="0.95">-</text><text x="450" y="316" fill="#6b4f23" opacity="0.95">.</text><text x="459" y="316" fill="#6b4f23" opacity="0.95">=</text><text x="468" y="316" fill="#6b4f23" opacity="0.95">:</text><text x="477" y="316" fill="#6b4f23" opacity="0.95">+</text><text x="486" y="316" fill="#6b4f23" opacity="0.95">+</text><text x="495" y="316" fill="#6b4f23" opacity="0.95">.</text><text x="504" y="316" fill="#6b4f23" opacity="0.95">.</text><text x="513" y="316" fill="#6b4f23" opacity="0.95">.</text><text x="522" y="316" fill="#6b4f23" opacity="0.95">.</text><text x="531" y="316" fill="#6b4f23" opacity="0.95">-</text><text x="540" y="316" fill="#6b4f23" opacity="0.95">+</text><text x="549" y="316" fill="#6b4f23" opacity="0.95">=</text><text x="558" y="316" fill="#6b4f23" opacity="0.95">.</text><text x="567" y="316" fill="#6b4f23" opacity="0.95">+</text><text x="585" y="316" fill="#6b4f23" opacity="0.95">-</text><text x="594" y="316" fill="#6b4f23" opacity="0.95">=</text><text x="603" y="316" fill="#6b4f23" opacity="0.95">.</text><text x="621" y="316" fill="#6b4f23" opacity="0.95">-</text><text x="630" y="316" fill="#6b4f23" opacity="0.95">-</text><text x="639" y="316" fill="#6b4f23" opacity="0.95">:</text><text x="684" y="316" fill="#6b4f23" opacity="0.95">:</text><text x="423" y="325" fill="#6b4f23" opacity="0.95">:</text><text x="432" y="325" fill="#6b4f23" opacity="0.95">=</text><text x="441" y="325" fill="#6b4f23" opacity="0.95">=</text><text x="450" y="325" fill="#6b4f23" opacity="0.95">=</text><text x="459" y="325" fill="#6b4f23" opacity="0.95">-</text><text x="468" y="325" fill="#6b4f23" opacity="0.95">.</text><text x="477" y="325" fill="#6b4f23" opacity="0.95">.</text><text x="486" y="325" fill="#6b4f23" opacity="0.95">:</text><text x="495" y="325" fill="#6b4f23" opacity="0.95">=</text><text x="504" y="325" fill="#6b4f23" opacity="0.95">+</text><text x="513" y="325" fill="#6b4f23" opacity="0.95">-</text><text x="522" y="325" fill="#6b4f23" opacity="0.95">-</text><text x="531" y="325" fill="#6b4f23" opacity="0.95">:</text><text x="540" y="325" fill="#6b4f23" opacity="0.95">-</text><text x="549" y="325" fill="#6b4f23" opacity="0.95">:</text><text x="567" y="325" fill="#6b4f23" opacity="0.95">.</text><text x="603" y="325" fill="#6b4f23" opacity="0.95">-</text><text x="621" y="325" fill="#6b4f23" opacity="0.95">:</text><text x="648" y="325" fill="#6b4f23" opacity="0.95">.</text><text x="657" y="325" fill="#6b4f23" opacity="0.95">.</text></g>+ <text x="64" y="250" font-family="ui-sans-serif,system-ui,sans-serif" font-size="15" letter-spacing="4" fill="#c08a3e">OLYMPUS RESEARCH PRESENTS</text>+ <text x="60" y="312" font-family="ui-monospace,monospace" font-size="86" font-weight="800" fill="#f5f1e6" letter-spacing="1">theseus</text>+ <text x="66" y="340" font-family="ui-sans-serif,system-ui,sans-serif" font-size="16" fill="#c08a3e">compare model × agent × harness — and judge the trade-offs</text></svg>diff --git a/biome.json b/biome.jsonindex c1945b2..4ae0c0c 100644--- a/biome.json+++ b/biome.json@@ -2,7 +2,7 @@"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json","organizeImports": { "enabled": true },"files": {- "ignore": ["dist", "node_modules", "runs", "coverage"]+ "ignore": ["dist", "node_modules", "runs", "site", "coverage", "assets", "scripts/*.mjs"]},"formatter": {"enabled": true,diff --git a/scripts/design-banners.mjs b/scripts/design-banners.mjsnew file mode 100644index 0000000..c0c421a--- /dev/null+++ b/scripts/design-banners.mjs@@ -0,0 +1,287 @@+/**+ * Banner concept explorer (design spike). Generates 6 self-contained SVG banner+ * concepts in a spatial / universe / dot-pixel aesthetic for theseus, plus a+ * contact-sheet.html. Run: `node scripts/design-banners.mjs`. Pure (seeded RNG),+ * no deps. Outputs to assets/concepts/.+ */+import { mkdirSync, writeFileSync } from "node:fs";+import { join } from "node:path";++const OUT = "assets/concepts";+const W = 1200;+const H = 340;++// cosmic theseus palette+const C = {+ void: "#050a14",+ navy: "#0b2942",+ hull: "#15324f",+ foam: "#7fb2c9",+ rope: "#c08a3e",+ sail: "#f5f1e6",+ dim: "#33506e",+};++// deterministic RNG (mulberry32)+function rng(seed) {+ let a = seed >>> 0;+ return () => {+ a |= 0;+ a = (a + 0x6d2b79f5) | 0;+ let t = Math.imul(a ^ (a >>> 15), 1 | a);+ t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;+ return ((t ^ (t >>> 14)) >>> 0) / 4294967296;+ };+}++const bg = (extra = "") => `+ <defs>+ <radialGradient id="neb" cx="38%" cy="42%" r="75%">+ <stop offset="0" stop-color="${C.navy}"/>+ <stop offset="0.55" stop-color="#071d30"/>+ <stop offset="1" stop-color="${C.void}"/>+ </radialGradient>+ ${extra}+ </defs>+ <rect width="${W}" height="${H}" rx="20" fill="url(#neb)"/>`;++function starfield(seed, n, { maxR = 1.7, area = [0, 0, W, H] } = {}) {+ const r = rng(seed);+ const [x0, y0, x1, y1] = area;+ let s = "";+ for (let i = 0; i < n; i++) {+ const x = (x0 + r() * (x1 - x0)).toFixed(1);+ const y = (y0 + r() * (y1 - y0)).toFixed(1);+ const rad = (0.5 + r() * maxR).toFixed(2);+ const op = (0.25 + r() * 0.6).toFixed(2);+ const col = r() < 0.18 ? C.rope : r() < 0.5 ? C.foam : C.sail;+ s += `<circle cx="${x}" cy="${y}" r="${rad}" fill="${col}" opacity="${op}"/>`;+ }+ return s;+}++const wordmark = (x, y, size = 92, sub = true) => `+ <text x="${x}" y="${y}" font-family="ui-monospace,'SF Mono',Menlo,monospace" font-size="${size}" font-weight="800" fill="${C.sail}" letter-spacing="2">theseus</text>+ <rect x="${x + 4}" y="${y + 14}" width="${size * 3.6}" height="5" rx="2.5" fill="${C.rope}"/>+ ${sub ? `<text x="${x + 6}" y="${y + 48}" font-family="ui-sans-serif,system-ui,sans-serif" font-size="20" fill="${C.foam}">compare model × agent × harness — and judge the trade-offs</text>` : ""}`;++const svg = (inner) =>+ `<svg xmlns="http://www.w3.org/2000/svg" width="${W}" height="${H}" viewBox="0 0 ${W} ${H}" role="img" aria-label="theseus">${inner}</svg>\n`;++// ── C1 · constellation ship ──────────────────────────────+function c1() {+ // ship as a constellation of nodes joined by faint lines+ const P = {+ bowTop: [120, 150], stern: [330, 150], keel: [225, 210],+ mast: [225, 60], sailA: [225, 70], sailB: [225, 150], sailC: [310, 140],+ };+ const node = (p, r = 4) =>+ `<circle cx="${p[0]}" cy="${p[1]}" r="${r}" fill="${C.sail}"/><circle cx="${p[0]}" cy="${p[1]}" r="${r + 5}" fill="none" stroke="${C.foam}" stroke-width="0.8" opacity="0.5"/>`;+ const link = (a, b) =>+ `<line x1="${a[0]}" y1="${a[1]}" x2="${b[0]}" y2="${b[1]}" stroke="${C.rope}" stroke-width="1.3" opacity="0.7"/>`;+ return svg(+ bg() ++ starfield(11, 130) ++ link(P.bowTop, P.keel) + link(P.keel, P.stern) + link(P.bowTop, P.stern) ++ link(P.mast, P.keel) + link(P.sailC, P.mast) + link(P.sailC, P.keel) ++ Object.values(P).map((p) => node(p)).join("") ++ `<circle cx="225" cy="60" r="3" fill="${C.rope}"/>` ++ wordmark(430, 175),+ );+}++// ── C2 · 8-bit pixel ship ────────────────────────────────+function c2() {+ const cell = 13;+ const ox = 120;+ const oy = 70;+ // pixel map: .=empty s=sail m=mast h=hull w=wave+ const map = [+ "....s.....",+ "....ss....",+ "....sss...",+ "....ssss..",+ "....m.....",+ "....m.....",+ "..hhhhhhh.",+ "..hhhhhhh.",+ ".wwwwwwwww",+ ];+ const fill = { s: C.sail, m: C.rope, h: C.hull, w: C.foam };+ let px = "";+ map.forEach((row, y) => {+ [...row].forEach((ch, x) => {+ if (ch === ".") return;+ const op = ch === "w" ? 0.5 : 1;+ px += `<rect x="${ox + x * cell}" y="${oy + y * cell}" width="${cell - 1.5}" height="${cell - 1.5}" fill="${fill[ch]}" opacity="${op}"/>`;+ });+ });+ // pixel-ish starfield as tiny squares+ const r = rng(7);+ let st = "";+ for (let i = 0; i < 80; i++)+ st += `<rect x="${(r() * W).toFixed(0)}" y="${(r() * H).toFixed(0)}" width="2" height="2" fill="${r() < 0.3 ? C.rope : C.foam}" opacity="${(0.3 + r() * 0.5).toFixed(2)}"/>`;+ return svg(bg() + st + px + wordmark(430, 175));+}++// ── C3 · orbits (L0/L1/L2) ───────────────────────────────+function c3() {+ const cx = 235;+ const cy = 170;+ const orbit = (rx, ry, rot, col) =>+ `<ellipse cx="${cx}" cy="${cy}" rx="${rx}" ry="${ry}" fill="none" stroke="${col}" stroke-width="1.2" stroke-dasharray="3 5" opacity="0.7" transform="rotate(${rot} ${cx} ${cy})"/>`;+ const sat = (rx, ry, rot, ang, col, label) => {+ const a = (ang * Math.PI) / 180;+ const x = cx + rx * Math.cos(a) * Math.cos((rot * Math.PI) / 180) - ry * Math.sin(a) * Math.sin((rot * Math.PI) / 180);+ const y = cy + rx * Math.cos(a) * Math.sin((rot * Math.PI) / 180) + ry * Math.sin(a) * Math.cos((rot * Math.PI) / 180);+ return `<circle cx="${x.toFixed(1)}" cy="${y.toFixed(1)}" r="6" fill="${col}"/><text x="${x.toFixed(1)}" y="${(y - 12).toFixed(1)}" font-family="ui-monospace,monospace" font-size="13" fill="${col}" text-anchor="middle">${label}</text>`;+ };+ return svg(+ bg() ++ starfield(23, 90) ++ `<circle cx="${cx}" cy="${cy}" r="30" fill="${C.rope}" opacity="0.18"/><circle cx="${cx}" cy="${cy}" r="9" fill="${C.sail}"/>` ++ orbit(120, 48, -18, C.rope) + orbit(170, 66, 12, C.foam) + orbit(210, 86, -6, C.sail) ++ sat(120, 48, -18, 20, C.rope, "L0 · model") ++ sat(170, 66, 12, 200, C.foam, "L1 · agent") ++ sat(210, 86, -6, 110, C.sail, "L2 · harness") ++ wordmark(480, 175),+ );+}++// ── C4 · dot-matrix wordmark ─────────────────────────────+function c4() {+ const FONT = {+ t: ["00100", "00100", "11111", "00100", "00100", "00100", "00110"],+ h: ["10000", "10000", "10000", "11110", "10001", "10001", "10001"],+ e: ["01110", "10001", "10000", "11110", "10000", "10001", "01110"],+ s: ["01111", "10000", "10000", "01110", "00001", "00001", "11110"],+ u: ["10001", "10001", "10001", "10001", "10001", "10001", "01110"],+ };+ const word = "theseus";+ const pitch = 15;+ const ox = 150;+ const oy = 110;+ let dots = "";+ let col = 0;+ for (const ch of word) {+ const g = FONT[ch];+ for (let y = 0; y < 7; y++)+ for (let x = 0; x < 5; x++)+ if (g[y][x] === "1") {+ const on = C.sail;+ dots += `<circle cx="${ox + (col + x) * pitch}" cy="${oy + y * pitch}" r="5.4" fill="${on}"/>`;+ }+ col += 6; // 5 + 1 gap+ }+ // accent: last column gold+ return svg(+ bg() ++ starfield(31, 110) ++ dots ++ `<rect x="${ox - 4}" y="${oy + 7 * pitch + 6}" width="${6 * 7 * pitch - pitch}" height="4" rx="2" fill="${C.rope}" opacity="0.85"/>` ++ `<text x="${ox}" y="${oy + 7 * pitch + 44}" font-family="ui-sans-serif,system-ui,sans-serif" font-size="19" fill="${C.foam}">compare model × agent × harness — and judge the trade-offs</text>`,+ );+}++// ── C5 · pareto galaxy ───────────────────────────────────+function c5() {+ const r = rng(5);+ const x0 = 90;+ const y0 = 250;+ const x1 = 360;+ const y1 = 70;+ const pts = [];+ for (let i = 0; i < 46; i++) {+ const x = x0 + r() * (x1 - x0);+ const y = y0 - r() * (y0 - y1);+ pts.push([x, y]);+ }+ // frontier: sort by x asc, keep points with strictly increasing "accuracy" (lower y)+ const sorted = [...pts].sort((a, b) => a[0] - b[0]);+ const front = [];+ let bestY = Infinity;+ for (const p of sorted) {+ if (p[1] < bestY) {+ front.push(p);+ bestY = p[1];+ }+ }+ const dotsAll = pts+ .map((p) => `<circle cx="${p[0].toFixed(1)}" cy="${p[1].toFixed(1)}" r="2.6" fill="${C.foam}" opacity="0.55"/>`)+ .join("");+ const frontDots = front+ .map((p) => `<circle cx="${p[0].toFixed(1)}" cy="${p[1].toFixed(1)}" r="4.5" fill="${C.rope}"/>`)+ .join("");+ const path = front.map((p, i) => `${i ? "L" : "M"}${p[0].toFixed(1)},${p[1].toFixed(1)}`).join(" ");+ const axes = `<line x1="${x0}" y1="${y0}" x2="${x1 + 10}" y2="${y0}" stroke="${C.dim}" stroke-width="1"/><line x1="${x0}" y1="${y0}" x2="${x0}" y2="${y1 - 10}" stroke="${C.dim}" stroke-width="1"/>+ <text x="${x1}" y="${y0 + 20}" font-size="11" fill="${C.dim}" text-anchor="end">cost →</text>+ <text x="${x0 - 8}" y="${y1}" font-size="11" fill="${C.dim}" text-anchor="end" transform="rotate(-90 ${x0 - 8} ${y1})">accuracy →</text>`;+ return svg(+ bg() ++ starfield(99, 70) ++ axes ++ `<path d="${path}" fill="none" stroke="${C.rope}" stroke-width="2.4" opacity="0.85"/>` ++ dotsAll ++ frontDots ++ wordmark(470, 165),+ );+}++// ── C6 · minimal node constellation ──────────────────────+function c6() {+ const main = [150, 175];+ const subs = [+ [250, 110],+ [285, 200],+ [205, 250],+ [330, 150],+ ];+ const edges = subs+ .map((s) => `<line x1="${main[0]}" y1="${main[1]}" x2="${s[0]}" y2="${s[1]}" stroke="${C.foam}" stroke-width="1.1" opacity="0.55"/>`)+ .join("");+ const subDots = subs+ .map((s) => `<circle cx="${s[0]}" cy="${s[1]}" r="5" fill="${C.foam}"/>`)+ .join("");+ return svg(+ bg() ++ starfield(42, 60, { maxR: 1.2 }) ++ edges ++ subDots ++ `<circle cx="${main[0]}" cy="${main[1]}" r="26" fill="${C.rope}" opacity="0.16"/><circle cx="${main[0]}" cy="${main[1]}" r="9" fill="${C.rope}"/>` ++ wordmark(430, 175),+ );+}++const concepts = [+ ["c1-constellation-ship", c1()],+ ["c2-pixel-ship", c2()],+ ["c3-orbits", c3()],+ ["c4-dot-matrix", c4()],+ ["c5-pareto-galaxy", c5()],+ ["c6-node-constellation", c6()],+];++mkdirSync(OUT, { recursive: true });+for (const [name, s] of concepts) writeFileSync(join(OUT, `${name}.svg`), s);++// contact sheet (HTML) for one-shot visual compare+const cards = concepts+ .map(+ ([name, s]) =>+ `<figure><figcaption>${name}</figcaption><div class="frame">${s}</div></figure>`,+ )+ .join("\n");+writeFileSync(+ join(OUT, "contact-sheet.html"),+ `<!doctype html><html><head><meta charset="utf-8"><style>+ body{margin:0;background:#0a0f1a;font-family:ui-sans-serif,system-ui,sans-serif;color:#f5f1e6;padding:24px}+ h1{font-size:18px;margin:0 0 16px;opacity:.8}+ .grid{display:grid;grid-template-columns:1fr;gap:22px;max-width:760px}+ figure{margin:0}+ figcaption{font-family:ui-monospace,monospace;font-size:13px;color:#c08a3e;margin-bottom:6px}+ .frame svg{width:100%;height:auto;border:1px solid rgba(255,255,255,.08);border-radius:14px;display:block}+ </style></head><body><h1>theseus — banner concepts (spatial · universe · dot/pixel)</h1>+ <div class="grid">${cards}</div></body></html>`,+);++process.stdout.write(`wrote ${concepts.length} concepts + contact-sheet.html → ${OUT}/\n`);diff --git a/scripts/design-hero.mjs b/scripts/design-hero.mjsnew file mode 100644index 0000000..16f461e--- /dev/null+++ b/scripts/design-hero.mjs@@ -0,0 +1,124 @@+/**+ * Banner concept "ascii-hero" — matches the user's references: a classical hero+ * bust rendered as an ASCII/dot-pixel halftone, dissolving into a stormy spatial+ * field with lightning, duotone, bold "OLYMPUS RESEARCH PRESENTS — theseus"+ * lower-left (à la the HERMES 3B research card). Self-contained SVG.+ * Run: node scripts/design-hero.mjs → assets/concepts/c7-ascii-hero-*.svg+ */+import { mkdirSync, writeFileSync } from "node:fs";+import { join } from "node:path";++const OUT = "assets/concepts";+const W = 1200;+const H = 360;+const RAMP = " .:-=+*oct?%#@"; // dark → light++function rng(seed) {+ let a = seed >>> 0;+ return () => {+ a = (a + 0x6d2b79f5) | 0;+ let t = Math.imul(a ^ (a >>> 15), 1 | a);+ t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;+ return ((t ^ (t >>> 14)) >>> 0) / 4294967296;+ };+}++// bust silhouette test: head (circle) + shoulders (mound). figure faces forward.+const HEAD = { cx: 560, cy: 130, r: 66 };+function inFigure(x, y) {+ const dh = Math.hypot(x - HEAD.cx, y - HEAD.cy);+ if (dh <= HEAD.r) return true;+ // neck+ if (x > HEAD.cx - 26 && x < HEAD.cx + 26 && y > HEAD.cy && y < 210) return true;+ // shoulders mound: ellipse-ish cap+ const sx = (x - 560) / 150;+ const sy = (y - 330) / 150;+ if (y > 195 && sx * sx + sy * sy <= 1 && y < 332) return true;+ return false;+}++function build({ name, seed, bg, dim, mid, bright, bolt }) {+ const r = rng(seed);+ const step = 9;+ const cells = [];+ for (let y = 64; y < 336; y += step) {+ for (let x = 360; x < 900; x += step) {+ const inside = inFigure(x, y);+ // dissolve toward the right edge of the figure+ const edge = Math.max(0, (x - 660) / 220); // 0..1 past center-right+ const drop = inside ? edge * 0.9 : 0;+ // stray pixels trailing to the right (figure breaking into space)+ const stray = !inside && x > 640 && r() < 0.04 * Math.max(0, 1 - (x - 640) / 260);+ if ((!inside && !stray) || r() < drop) continue;+ // luminance: light from upper-left + dome falloff + noise+ const lx = (x - 470) / 320;+ const ly = (y - 80) / 300;+ let L = 1 - Math.min(1, Math.hypot(lx, ly) * 0.8) - ly * 0.15 + (r() - 0.5) * 0.35;+ if (stray) L *= 0.5;+ L = Math.max(0, Math.min(0.999, L));+ const ch = RAMP[Math.floor(L * RAMP.length)];+ if (ch === " ") continue;+ const col = L > 0.72 ? bright : L > 0.42 ? mid : dim;+ const op = stray ? 0.55 : 0.95;+ cells.push(+ `<text x="${x}" y="${y}" fill="${col}" opacity="${op}">${ch === "&" ? "&" : ch === "<" ? "<" : ch}</text>`,+ );+ }+ }++ // two lightning bolts (jagged polylines)+ const boltPath = (sx) => {+ let d = `M${sx},0`;+ let x = sx;+ let y = 0;+ while (y < 250) {+ y += 24 + r() * 26;+ x += (r() - 0.5) * 60;+ d += ` L${x.toFixed(0)},${y.toFixed(0)}`;+ }+ return d;+ };+ const bolts = `+ <path d="${boltPath(250)}" fill="none" stroke="${bolt}" stroke-width="2.2" opacity="0.55"/>+ <path d="${boltPath(840)}" fill="none" stroke="${bolt}" stroke-width="1.6" opacity="0.4"/>`;++ return `<svg xmlns="http://www.w3.org/2000/svg" width="${W}" height="${H}" viewBox="0 0 ${W} ${H}" role="img" aria-label="theseus">+ <defs>+ <radialGradient id="g_${name}" cx="42%" cy="34%" r="80%">+ <stop offset="0" stop-color="${bg[0]}"/><stop offset="1" stop-color="${bg[1]}"/>+ </radialGradient>+ </defs>+ <rect width="${W}" height="${H}" rx="20" fill="url(#g_${name})"/>+ ${bolts}+ <g font-family="ui-monospace,'SF Mono',Menlo,Consolas,monospace" font-size="10" font-weight="700" text-anchor="middle">+ ${cells.join("")}+ </g>+ <text x="64" y="250" font-family="ui-sans-serif,system-ui,sans-serif" font-size="15" letter-spacing="4" fill="${mid}">OLYMPUS RESEARCH PRESENTS</text>+ <text x="60" y="312" font-family="ui-monospace,monospace" font-size="86" font-weight="800" fill="${bright}" letter-spacing="1">theseus</text>+ <text x="66" y="340" font-family="ui-sans-serif,system-ui,sans-serif" font-size="16" fill="${mid}">compare model × agent × harness — and judge the trade-offs</text>+</svg>\n`;+}++mkdirSync(OUT, { recursive: true });+const variants = [+ {+ name: "gold",+ seed: 7,+ bg: ["#0b1a2b", "#04080f"],+ dim: "#6b4f23",+ mid: "#c08a3e",+ bright: "#f5f1e6",+ bolt: "#f5f1e6",+ },+ {+ name: "blue",+ seed: 19,+ bg: ["#0a2550", "#03060d"],+ dim: "#16467a",+ mid: "#3aa0ff",+ bright: "#dbeeff",+ bolt: "#bfe0ff",+ },+];+for (const v of variants) writeFileSync(join(OUT, `c7-ascii-hero-${v.name}.svg`), build(v));+process.stdout.write("wrote c7-ascii-hero-gold.svg, c7-ascii-hero-blue.svg\n");diff --git a/src/cli.ts b/src/cli.tsindex 5f1ff2c..bd4cc83 100644--- a/src/cli.ts+++ b/src/cli.ts@@ -22,7 +22,7 @@ import { getRunner } from "./runners/registry";import { commandExists } from "./runners/util";import { runTui } from "./tui";import { verifyCombos } from "./verify";-import { openInBrowser } from "./viz/open";+import { openInBrowser, openUrl } from "./viz/open";import { serveRuns } from "./viz/serve";import { renderTerminal } from "./viz/terminal";@@ -311,6 +311,36 @@ function buildProgram(): Command {}),);+ program+ .command("view")+ .description("visualize every recorded trace — serve all runs at localhost")+ .option("--out <dir>", "output dir", "runs")+ .option("--port <n>", "port", "7777")+ .option("--open", "open the gallery in your browser", false)+ .action(async (o) => {+ const out = o.out ?? "runs";+ const runs = listRuns(out);+ if (!runs.length) {+ console.log(pc.yellow(`no runs found in ${out}/ — run a comparison first`));+ return;+ }+ try {+ const handle = await serveRuns(out, Number.parseInt(o.port ?? "7777", 10));+ console.log(+ `${pc.green("⛵ theseus view")} — ${runs.length} run(s) at ${pc.bold(handle.url)} ${pc.dim("(Ctrl-C to stop)")}`,+ );+ if (o.open) openUrl(handle.url);+ await new Promise<void>((resolve) => {+ process.on("SIGINT", () => {+ handle.close();+ resolve();+ });+ });+ } catch (e) {+ console.log(pc.red(`view failed: ${(e as Error).message}`));+ }+ });+program.command("verify").description("check that each combo's subagent calls are actually captured")diff --git a/src/config.ts b/src/config.tsindex 510f716..9ad4395 100644--- a/src/config.ts+++ b/src/config.ts@@ -42,6 +42,18 @@ export const MODELS: Record<string, ModelDef> = {"gpt5-codex": { alias: "gpt5-codex", resolvedId: "default", family: "gpt" },"gpt5.5": { alias: "gpt5.5", resolvedId: "gpt-5.5", family: "gpt" },"gpt5.1-codex": { alias: "gpt5.1-codex", resolvedId: "gpt-5.1-codex", family: "gpt" },+ // open 계열 — OpenRouter 경유(멀티모델 에이전트 전용). resolvedId = <vendor>/<model>,+ // 최종 전달은 providerFor('open')='openrouter' 와 합쳐 `openrouter/<vendor>/<model>`.+ // ':free' 모델은 무료 예산(비용 0).+ "qwen3-coder": { alias: "qwen3-coder", resolvedId: "qwen/qwen3-coder", family: "open" },+ "qwen3-coder-free": {+ alias: "qwen3-coder-free",+ resolvedId: "qwen/qwen3-coder:free",+ family: "open",+ },+ "glm4.6": { alias: "glm4.6", resolvedId: "z-ai/glm-4.6", family: "open" },+ "kimi-k2": { alias: "kimi-k2", resolvedId: "moonshotai/kimi-k2", family: "open" },+ "deepseek-v3.2": { alias: "deepseek-v3.2", resolvedId: "deepseek/deepseek-v3.2", family: "open" },};// ── L1 에이전트 ──────────────────────────────────────────@@ -49,9 +61,19 @@ export const MODELS: Record<string, ModelDef> = {export const AGENTS: Record<string, AgentDef> = {cc: { name: "cc", families: ["claude"], bin: "claude", multiModel: false },codex: { name: "codex", families: ["gpt"], bin: "codex", multiModel: false },- opencode: { name: "opencode", families: ["claude", "gpt"], bin: "opencode", multiModel: true },- openclaw: { name: "openclaw", families: ["claude", "gpt"], bin: "openclaw", multiModel: true },- hermes: { name: "hermes", families: ["claude", "gpt"], bin: "hermes", multiModel: true },+ opencode: {+ name: "opencode",+ families: ["claude", "gpt", "open"],+ bin: "opencode",+ multiModel: true,+ },+ openclaw: {+ name: "openclaw",+ families: ["claude", "gpt", "open"],+ bin: "openclaw",+ multiModel: true,+ },+ hermes: { name: "hermes", families: ["claude", "gpt", "open"], bin: "hermes", multiModel: true },};// ── L2 하네스 ────────────────────────────────────────────@@ -97,6 +119,7 @@ export function modelFamily(model: string): Family {// resolved id 로 들어온 경우도 family 추정const byResolved = Object.values(MODELS).find((m) => m.resolvedId === model);if (byResolved) return byResolved.family;+ if (model.startsWith("openrouter/") || model.includes("/")) return "open";if (model === "default" || model.startsWith("gpt")) return "gpt";return "claude";}@@ -115,7 +138,9 @@ export function isMultiModelAgent(agent: string): boolean {/** 멀티모델 에이전트(opencode/openclaw/hermes)의 provider/model 형식 매핑. */export function providerFor(family: Family): string {- return family === "gpt" ? "openai" : "anthropic";+ if (family === "gpt") return "openai";+ if (family === "open") return "openrouter";+ return "anthropic";}export function harnessDef(name: string): HarnessDef | undefined {diff --git a/src/models.ts b/src/models.tsindex bd3d3a0..31243ea 100644--- a/src/models.ts+++ b/src/models.ts@@ -7,7 +7,9 @@ import { z } from "zod";// ─────────────────────────────────────────────────────────────// 공통// ─────────────────────────────────────────────────────────────-export type Family = "claude" | "gpt";+// 'open' = OpenRouter-hosted models (Qwen, GLM, DeepSeek, Kimi, …; incl. free tier),+// usable by model-agnostic agents (opencode/openclaw/hermes).+export type Family = "claude" | "gpt" | "open";export type Lang = "en" | "kr";export type CostSource = "actual" | "estimated" | "none";export type EventKind = "assistant" | "tool_use" | "subagent" | "result";diff --git a/src/pricing.ts b/src/pricing.tsindex 46d17ff..82ad2df 100644--- a/src/pricing.ts+++ b/src/pricing.ts@@ -24,6 +24,12 @@ const PRICES: Record<string, Rate> = {"gpt-5.5": { input: 1.25, output: 10, cacheRead: 0.125, cacheCreate: 1.25 },"gpt-5.1-codex": { input: 1.25, output: 10, cacheRead: 0.125, cacheCreate: 1.25 },// 'default'(gpt5-codex 계정 기본)·fable5 는 단가 미상 → null+ // open 계열(OpenRouter, 1M 토큰당 USD 근사). ':free' = 무료 예산 → 0(실제 0).+ "qwen/qwen3-coder": { input: 0.3, output: 1.2, cacheRead: 0, cacheCreate: 0 },+ "qwen/qwen3-coder:free": { input: 0, output: 0, cacheRead: 0, cacheCreate: 0 },+ "z-ai/glm-4.6": { input: 0.4, output: 1.75, cacheRead: 0, cacheCreate: 0 },+ "moonshotai/kimi-k2": { input: 0.5, output: 2, cacheRead: 0, cacheCreate: 0 },+ "deepseek/deepseek-v3.2": { input: 0.27, output: 1.1, cacheRead: 0, cacheCreate: 0 },};function rateFor(model: string): Rate | null {diff --git a/src/viz/open.ts b/src/viz/open.tsindex 61b9497..6ac5f1e 100644--- a/src/viz/open.ts+++ b/src/viz/open.ts@@ -4,12 +4,27 @@import { spawn } from "node:child_process";import { existsSync } from "node:fs";+function opener(): string {+ return process.platform === "darwin"+ ? "open"+ : process.platform === "win32"+ ? "start"+ : "xdg-open";+}+export function openInBrowser(file: string): boolean {if (!existsSync(file)) return false;- const opener =- process.platform === "darwin" ? "open" : process.platform === "win32" ? "start" : "xdg-open";+ return launch(file);+}++/** Open a URL (http://…) — no filesystem check. */+export function openUrl(url: string): boolean {+ return launch(url);+}++function launch(target: string): boolean {try {- spawn(opener, [file], { stdio: "ignore", detached: true }).unref();+ spawn(opener(), [target], { stdio: "ignore", detached: true }).unref();return true;} catch {return false;diff --git a/tests/agents.test.ts b/tests/agents.test.tsindex 7c47b56..af68bc7 100644--- a/tests/agents.test.ts+++ b/tests/agents.test.ts@@ -20,7 +20,7 @@ function tmp(): string {describe("multi-model agents accept any family", () => {it("opencode/openclaw/hermes support both claude and gpt; cc/codex stay single-family", () => {for (const a of ["opencode", "openclaw", "hermes"]) {- expect(agentFamilies(a).sort()).toEqual(["claude", "gpt"]);+ expect(agentFamilies(a).sort()).toEqual(["claude", "gpt", "open"]);expect(isMultiModelAgent(a)).toBe(true);}expect(agentFamilies("cc")).toEqual(["claude"]);diff --git a/tests/openrouter.test.ts b/tests/openrouter.test.tsnew file mode 100644index 0000000..1bbb048--- /dev/null+++ b/tests/openrouter.test.ts@@ -0,0 +1,88 @@+/**+ * OpenRouter ('open' family) models for the model-agnostic agents.+ * family mapping · provider mapping · combo validity · free-tier pricing.+ */+import { mkdtempSync } from "node:fs";+import { tmpdir } from "node:os";+import { join } from "node:path";+import { describe, expect, it } from "vitest";+import { expand } from "../src/combos";+import { agentFamilies, modelFamily, providerFor, resolveModelAlias } from "../src/config";+import { estimateCost, resolveCost } from "../src/pricing";+import { MockRunner } from "../src/runners/mock";+import { parserFor } from "../src/transcripts/index";++describe("open family + provider mapping", () => {+ it("OpenRouter models are family 'open' and map to the openrouter provider", () => {+ expect(modelFamily("qwen3-coder")).toBe("open");+ expect(modelFamily("glm4.6")).toBe("open");+ expect(providerFor("open")).toBe("openrouter");+ // resolved id is vendor/model; combined arg would be openrouter/<vendor>/<model>+ expect(resolveModelAlias("qwen3-coder")).toBe("qwen/qwen3-coder");+ expect(`${providerFor("open")}/${resolveModelAlias("qwen3-coder")}`).toBe(+ "openrouter/qwen/qwen3-coder",+ );+ });++ it("multi-model agents accept the open family; cc/codex do not", () => {+ expect(agentFamilies("opencode")).toContain("open");+ expect(agentFamilies("hermes")).toContain("open");+ expect(agentFamilies("cc")).not.toContain("open");+ expect(agentFamilies("codex")).not.toContain("open");+ });+});++describe("expand with OpenRouter models", () => {+ it("opencode+qwen valid; cc/codex+qwen excluded with reason", () => {+ const { valid, excluded } = expand(+ ["qwen3-coder", "qwen3-coder-free"],+ ["opencode", "openclaw", "hermes", "cc", "codex"],+ ["none"],+ );+ const ids = new Set(valid.map((c) => c.comboId));+ expect(ids.has("opencode+qwen3-coder+none")).toBe(true);+ expect(ids.has("hermes+qwen3-coder-free+none")).toBe(true);+ expect(excluded.find((c) => c.comboId === "cc+qwen3-coder+none")?.excludeReason).toMatch(+ /incompatible/,+ );+ expect(excluded.find((c) => c.comboId === "codex+qwen3-coder+none")?.excludeReason).toMatch(+ /incompatible/,+ );+ });+});++describe("free-tier pricing", () => {+ it(":free model costs $0 (estimated, not null)", () => {+ expect(estimateCost("qwen3-coder-free", 1_000_000, 1_000_000, 0, 0)).toBe(0);+ const r = resolveCost("qwen3-coder-free", 1000, 1000, 0, 0, null);+ expect(r.costSource).toBe("estimated");+ expect(r.costUsd).toBe(0);+ });+ it("paid OpenRouter model estimates > 0", () => {+ expect(estimateCost("qwen3-coder", 1_000_000, 0, 0, 0)).toBeCloseTo(0.3, 5);+ });+});++describe("opencode + OpenRouter via mock", () => {+ it("produces tokens and stays flat (no subagents) on none harness", async () => {+ const work = mkdtempSync(join(tmpdir(), "theseus-or-"));+ const art = await new MockRunner(0).run({+ combo: {+ comboId: "opencode+qwen3-coder+none",+ agent: "opencode",+ model: "qwen3-coder",+ harness: "none",+ valid: true,+ },+ taskId: "subagent-101",+ runIdx: 0,+ workDir: work,+ timeoutS: 5,+ seed: 1,+ bench: "subagent",+ });+ const parsed = parserFor("opencode").parse(art.transcriptPath, { model: "qwen/qwen3-coder" });+ expect(parsed.totalTokens).toBeGreaterThan(0);+ expect(parsed.subagentCount).toBe(0);+ });+});