Skip to content
Open
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
4 changes: 2 additions & 2 deletions crates/trios-ext/RING.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ crates/trios-ext/
│ └── claude.rs — claude_dispatch() в ProseMirror
├── extension/
│ ├── manifest.json — MV3, content_scripts, CSP
│ └── dist/ — wasm-pack output (НЕ КОММИТИТЬ .wasm вручную)
│ └── dist/ — wasm-bindgen-cli output (НЕ КОММИТИТЬ .wasm вручную)
└── xtask/ — build helpers
```

Expand All @@ -85,7 +85,7 @@ crates/trios-ext/
# Обязательно
cargo clippy --all-targets -p trios-ext # 0 warnings
cargo test -p trios-ext # все тесты зелёные
wasm-pack build --target web # сборка проходит
wasm-bindgen-cli build --target web # сборка проходит

# Проверка инвариантов
grep -r "WebSocket" crates/trios-ext/src/ # должно быть пусто
Expand Down
7 changes: 7 additions & 0 deletions crates/trios-mcp/rings/BR-XTASK/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# AGENTS.md — BR-XTASK

## Agent: ALPHA
- Primary developer for this ring

## Rules
- R1: Follow ring architecture from LAWS.md
7 changes: 7 additions & 0 deletions crates/trios-mcp/rings/BR-XTASK/TASK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# TASK.md — BR-XTASK

## Current
- [ ] See source code for implemented features

## Next
- [ ] Document public API
7 changes: 7 additions & 0 deletions crates/trios-mcp/rings/SR-00/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# AGENTS.md — SR-00

## Agent: ALPHA
- Primary developer for this ring

## Rules
- R1: Follow ring architecture from LAWS.md
7 changes: 7 additions & 0 deletions crates/trios-mcp/rings/SR-00/TASK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# TASK.md — SR-00

## Current
- [ ] See source code for implemented features

## Next
- [ ] Document public API
7 changes: 7 additions & 0 deletions crates/trios-mcp/rings/SR-01/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# AGENTS.md — SR-01

## Agent: ALPHA
- Primary developer for this ring

## Rules
- R1: Follow ring architecture from LAWS.md
7 changes: 7 additions & 0 deletions crates/trios-mcp/rings/SR-01/TASK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# TASK.md — SR-01

## Current
- [ ] See source code for implemented features

## Next
- [ ] Document public API
7 changes: 7 additions & 0 deletions crates/trios-mcp/rings/SR-02/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# AGENTS.md — SR-02

## Agent: ALPHA
- Primary developer for this ring

## Rules
- R1: Follow ring architecture from LAWS.md
7 changes: 7 additions & 0 deletions crates/trios-mcp/rings/SR-02/TASK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# TASK.md — SR-02

## Current
- [ ] See source code for implemented features

## Next
- [ ] Document public API
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cargo build -p trios-ui-br-app --target wasm32-unknown-unknown --release
# 2. Generate JS glue
wasm-bindgen --target web \
target/wasm32-unknown-unknown/release/trios_ui_br_app.wasm \
--out-dir crates/trios-ext/rings/BRONZE-RING-EXT/dist/
--out-dir dist/

# 3. Load in Chrome Extension
# BRONZE-RING-EXT/sidepanel.html loads ./dist/trios_ui_br_app.js
Expand Down
2 changes: 1 addition & 1 deletion crates/trios-ui/rings/BR-APP/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//! ## Usage
//!
//! ```rust,ignore
//! // From trios-ext:
//! // From Chrome Extension:
//! trios_ui::mount_app();
//! ```

Expand Down
2 changes: 1 addition & 1 deletion crates/trios-ui/rings/UR-08/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ fn render_route(route: Route) -> Element {
/// Mount the full TRIOS application.
///
/// This is the primary entry point called by the root `trios-ui` crate
/// and by `trios-ext` via `trios_ui::mount_app()`.
/// and by the Chrome Extension via `trios_ui::mount_app()`.
pub fn mount_app() {
let cfg = dioxus::Config::new();
let dom = VirtualDom::new(AppShell);
Expand Down
2 changes: 1 addition & 1 deletion crates/trios-ui/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub use trios_ui_ur08::*;

/// Mount the full TRIOS application.
///
/// This is the main entry point called by `trios-ext` via `trios_ui::mount_app()`.
/// This is the main entry point called by the Chrome Extension via `trios_ui::mount_app()`.
/// It delegates to UR-08 (App Shell) which wires all atoms and components.
pub fn mount_app() {
trios_ui_ur08::mount_app();
Expand Down
Loading