1- # refua-studio
1+ # clawcures-ui
22
3- ` refua-studio ` is the Refua web control plane for planning and running discovery campaigns.
3+ ` clawcures-ui ` is the ClawCures web control plane for planning and running discovery campaigns across the Refua workspace .
44
55It provides:
66
@@ -31,51 +31,57 @@ This project is designed to reuse existing workspace components:
3131## Install
3232
3333``` bash
34- cd path/to/refua-studio
34+ cd path/to/clawcures-ui
3535pip install -e .
3636```
3737
3838## Run
3939
4040``` bash
41- refua-studio --host 127.0.0.1 --port 8787 --open-browser
41+ clawcures-ui --host 127.0.0.1 --port 8787 --open-browser
4242```
4343
4444Or from source without install:
4545
4646``` bash
47- cd path/to/refua-studio
48- PYTHONPATH=src python -m refua_studio --host 127.0.0.1 --port 8787
47+ cd path/to/clawcures-ui
48+ PYTHONPATH=src python -m clawcures_ui --host 127.0.0.1 --port 8787
4949```
5050
51+ Legacy compatibility is still shipped for existing automation:
52+
53+ - ` refua-studio ` remains as a console-script alias
54+ - ` python -m refua_studio ` still works
55+ - legacy ` REFUA_STUDIO_* ` auth token env vars are still accepted
56+
5157## Podman
5258
5359Build image:
5460
5561``` bash
56- cd path/to/refua-studio
57- podman build -t refua-studio :local -f Containerfile .
62+ cd path/to/clawcures-ui
63+ podman build -t clawcures-ui :local -f Containerfile .
5864```
5965
6066Run container:
6167
6268``` bash
6369podman run --rm -p 8787:8787 \
6470 -e REFUA_CAMPAIGN_OPENCLAW_BASE_URL=http://host.containers.internal:18789 \
65- -v " $( pwd) /.refua-studio -data:/data" \
71+ -v " $( pwd) /.clawcures-ui -data:/data" \
6672 -v " $( pwd) /..:/workspace:ro" \
67- refua-studio :local
73+ clawcures-ui :local
6874```
6975
7076Notes:
7177
72- - The container starts ` refua-studio ` on ` 0.0.0.0:8787 ` .
78+ - The container starts ` clawcures-ui ` on ` 0.0.0.0:8787 ` .
7379- Mount the monorepo root at ` /workspace ` so Studio can integrate with ` ClawCures ` , ` refua-mcp ` , and other sibling projects.
74- - Persistent job database lives in ` .refua-studio -data/ ` .
80+ - Persistent job database lives in ` .clawcures-ui -data/ ` .
7581
7682## Podman Compose
7783
78- From ` refua-studio /` :
84+ From ` clawcures-ui /` :
7985
8086``` bash
8187podman compose -f docker-compose.yml up --build
@@ -96,7 +102,7 @@ CLI flags:
96102
97103- ` --host `
98104- ` --port `
99- - ` --data-dir ` (default: ` .refua-studio ` )
105+ - ` --data-dir ` (default: ` .clawcures-ui ` , with fallback to ` . refua-studio` when present )
100106- ` --workspace-root ` (defaults to parent workspace)
101107- ` --max-workers ` (background job concurrency)
102108
@@ -264,14 +270,14 @@ Each job records request payload, status transitions (`queued` -> `running` -> `
264270## Tests
265271
266272``` bash
267- cd path/to/refua-studio
273+ cd path/to/clawcures-ui
268274python -m unittest discover -s tests -v
269275```
270276
271277Playwright E2E suite:
272278
273279``` bash
274- cd path/to/refua-studio
280+ cd path/to/clawcures-ui
275281npm install
276282npx playwright install chromium
277283npm run test:e2e
@@ -284,7 +290,7 @@ command center, planning/jobs, clinical operations, and wet-lab/regulatory flows
284290## Build
285291
286292``` bash
287- cd path/to/refua-studio
293+ cd path/to/clawcures-ui
288294python -m build
289295```
290296
@@ -293,10 +299,10 @@ Build artifacts are written to `dist/` (`.tar.gz` and `.whl`).
293299## Project Layout
294300
295301``` text
296- refua-studio /
302+ clawcures-ui /
297303 Containerfile
298304 docker-compose.yml
299- src/refua_studio /
305+ src/clawcures_ui /
300306 app.py
301307 bridge.py
302308 cli.py
@@ -307,6 +313,8 @@ refua-studio/
307313 index.html
308314 app.js
309315 styles.css
316+ src/refua_studio/
317+ ...
310318 tests/
311319```
312320
0 commit comments