Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
src-tauri/target
crates/mcp-config/target
key: rust-${{ runner.os }}-${{ hashFiles('src-tauri/Cargo.lock') }}
restore-keys: rust-${{ runner.os }}-

Expand All @@ -39,10 +40,27 @@ jobs:

- run: npm ci

- name: Type-check and build the frontend
run: npm run build

- name: Type-check the sidecar
run: npm run sidecar:check

- name: Test the sidecar round trip
run: npm run sidecar:test

- name: Check Rust compilation
working-directory: src-tauri
run: cargo check --target x86_64-pc-windows-gnu

# Not in src-tauri: a test binary that links the tauri dependency tree
# does not load on the GNU target (STATUS_ENTRYPOINT_NOT_FOUND). The
# logic that most needs covering lives in a tauri-free crate for that
# reason. See docs/0-requirements.md.
- name: Test the mcp-config crate
working-directory: crates/mcp-config
run: cargo test

# Gate job: single Required status check for branch protection.
# Add new jobs to `needs` when CI grows. No Settings change needed.
CI:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules/
# Build output
dist/
src-tauri/target/
crates/*/target/

# Environment
.env
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ liplus-chat は、人間と複数の独立した AI / Li+ セッションが、

- 複数の AI セッションを同一の部屋へ参加させる運用(同時発話の抑制を含む)
- 会話ログの永続化と観測 UI
- `cargo test` と `npm run sidecar:test` の CI 実行
- plugin としての allowlist 掲載(配布の第二段階)

## 部屋を動かす
Expand Down Expand Up @@ -132,6 +131,7 @@ docs/0-requirements.md 要求仕様(設計の source of truth)
sidecar/ 部屋の MCP channel サーバ(Node)
src/ チャットルーム UI(TypeScript)
src-tauri/src/ Tauri、部屋ソケット、PTY、設定・セッション保存の Rust 実装
crates/mcp-config/ .mcp.json 登録と起動フラグ検査(tauri 非依存、テスト対象)
portable-pty-patch/ Windows 対応を含む portable-pty のローカルパッチ
.github/workflows/ Windows CI とリリース用 CD
```
Expand Down
267 changes: 267 additions & 0 deletions crates/mcp-config/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions crates/mcp-config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "mcp-config"
version = "0.1.0"
description = "Registration of the liplus-chat room sidecar in a project's .mcp.json"
authors = ["Liplus Project Contributors"]
license = "Apache-2.0"
edition = "2021"

# Deliberately free of tauri. This crate writes into the user's own project
# directory, which is the part of liplus-chat that most needs test coverage,
# and a test binary that links the tauri dependency tree does not load on the
# GNU target (see the CI note in docs/0-requirements.md).

[dependencies]
serde_json = "1"

[dev-dependencies]
uuid = { version = "1", features = ["v4"] }
Loading
Loading