quickstart.ja.md
docs/i18n/quickstart.ja.md
クイックスタート
<!-- translations:start -->
English · 한국어 · 中文 · 日本語 · Русский · Español · Français · Deutsch
<!-- translations:end --> このページは、既存のプロジェクトディレクトリから閲覧可能な Tesserae までの最短ルートを示します。
1. セットアップウィザードを実行
インデックスしたいプロジェクトで:
cd /path/to/my-project
tesserae project setup
ウィザードは README.md、docs、src、lib、app、packages、data などの一般的な source を検出し、.tesserae/config.json を書き込みます。またデフォルトの Cognee backend を設定し、project ask が Cognee を試してから compiled wiki search に fallback できるようにします。
Understand Anything と Cognee runtime memory を有効にした完全自動セットアップ:
tesserae project setup \
--yes \
--with-understand-anything \
--install-understand-anything \
--understand-anything-platform codex \
--run-cognee \
--install-cognee
実行内容:
| Flag | Effect |
|---|---|
--with-understand-anything | UA graph projection を source として追加します。 |
--install-understand-anything | UA companion skills をインストール/更新します。 |
--understand-anything-platform codex | Codex を使って Tesserae の managed UA refresh wrapper を実行します。 |
--run-cognee | compile 中に best-effort の Cognee runtime cognify を実行します。 |
--install-cognee | Cognee がない場合、現在の Python でインストールします。 |
ユーザーは UA install path を知る必要も /understand と入力する必要もありません。UA graph がない、または古い場合、project compile が project refresh-understand-anything を実行します。
2. グラフと projections をコンパイル
tesserae project compile
project compile は durable artifacts を書き込みます。
.tesserae/
config.json
graph.json
manifest.json
sqlite.db
temporal_facts.jsonl
graphiti_episodes.jsonl
report.md
competitive_report.md
markdown_projection/
obsidian_vault/
agent_harness/
harness_sessions/
site/
cognee_bundle/
初回実行後は --changed-only を使うと、変更されていない markdown ファイルをスキップしつつ、ファイル変更がない場合に以前の graph を保持できます。Understand Anything が有効な場合、compile は最初に .tesserae/external/understand-anything.md を refresh/materialize します。Cognee runtime が有効な場合は、.tesserae/cognee_bundle/ の書き込み後に Cognee も best-effort で更新します。
3. 静的 frontend をビルドして配信
tesserae project build-site
tesserae project serve --port 8765
開く:
http://127.0.0.1:8765/
<!-- BEGIN: subagent-r-watch -->
保存時の自動リビルド
開発サーバーと polling watcher を組み合わせると、data/ と docs/ 以下の編集で incremental recompile がトリガーされます。
# terminal 1
python3 -m http.server 56821 --directory .tesserae/site
# terminal 2
tesserae project watch
project watch は 2 秒ごとに polling し、1 秒 debounce してから compile --changed-only を実行します。cron 風の rebuild には --once(snapshots vs .tesserae/.watch-cache.json)、custom watch dirs の追加には --paths <dir>、cadence の調整には --interval / --debounce を使います。 <!-- END: subagent-r-watch -->
表示されるすべての route(home、sources、concepts、entities、papers、repos、topics、syntheses、questions、timeline、graph、さらに AI siblings)の注釈付き tour は