markdowndeeb25a2 | 1 | # CASA act integration in Cascade IDE (v0) |
| 2 | |
| 3 | **Payload:** `casa-ontology-payload` |
| 4 | **Related:** [CASA-ADR-0008](../../casa-ontology-payload/design/CASA-ADR-0008-layout-parity-bilingual-t9.md) |
| 5 | |
| 6 | ## Data flow |
| 7 | |
| 8 | ```text |
| 9 | KeyEvent.code → PhysicalKeyEvent[] (Casa.Act.Core) |
| 10 | → L0_vk_map.ltm decode (field memory) |
| 11 | → layout_tick / cide_act_bridge_v0.py |
| 12 | → preview_chip JSON → CIDE UI |
| 13 | ``` |
| 14 | |
| 15 | ## Stdio bridge |
| 16 | |
| 17 | ```bash |
| 18 | python tools/cide_act_bridge_v0.py serve |
| 19 | ``` |
| 20 | |
| 21 | Request with physical keys: |
| 22 | |
| 23 | ```json |
| 24 | {"op":"tick","events":[{"key_id":"Slash","action":"down"},{"key_id":"KeyA","action":"down"}]} |
| 25 | ``` |
| 26 | |
| 27 | ## Core ltm boot |
| 28 | |
| 29 | Profile `bilingual-layout-parity.v0.json` references: |
| 30 | |
| 31 | ```json |
| 32 | "core_ltm": { "ltm_dir": "lab/agent-core/vk-layouts-v0/ltm" } |
| 33 | ``` |
| 34 | |
| 35 | See [agent-core README](../../casa-ontology-payload/lab/agent-core/README.md). |
| 36 | |
View only · write via MCP/CIDE