chamba 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -7
- package/inject/annotate.js +18 -49
- package/package.json +6 -7
- package/skill/SKILL.md +67 -259
- package/web/assets/highlighted-body-OFNGDK62-Bn4Eu7CG.js +1 -0
- package/web/assets/index-B9DI4F1Z.js +202 -0
- package/web/assets/index-DK_n6CTo.css +2 -0
- package/web/assets/mermaid-GHXKKRXX-CEMduc-U.js +1 -0
- package/web/index.html +2 -2
- package/web/assets/abnfDiagram-VRR7QNED-C5V2hrtE.js +0 -1
- package/web/assets/arc-d7OTmxZy.js +0 -1
- package/web/assets/architectureDiagram-ZJ3FMSHR--CztaeAS.js +0 -36
- package/web/assets/blockDiagram-677ZJIJ3-DkA5Z_uK.js +0 -132
- package/web/assets/c4Diagram-LMCZKHZV-C78dI0l-.js +0 -10
- package/web/assets/channel-D9AxU8kk.js +0 -1
- package/web/assets/chunk-2Q5K7J3B-LBNP12XV.js +0 -1
- package/web/assets/chunk-32BRIVSS-DZoXrhCs.js +0 -1
- package/web/assets/chunk-5VM5RSS4-CPjoRxF_.js +0 -15
- package/web/assets/chunk-EX3LRPZG-DSlL8FE9.js +0 -231
- package/web/assets/chunk-JWPE2WC7-BjbBLYge.js +0 -1
- package/web/assets/chunk-MOJQB5TN-DCKqdaDr.js +0 -88
- package/web/assets/chunk-RYQCIY6F-D5yAURhE.js +0 -1
- package/web/assets/chunk-V7JOEXUC-DKY2sn06.js +0 -206
- package/web/assets/chunk-VR4S4FIN-DGiVMHh6.js +0 -1
- package/web/assets/chunk-XXDRQBXY-CUI1Tkrr.js +0 -1
- package/web/assets/classDiagram-OUVF2IWQ-D7gWuzIF.js +0 -1
- package/web/assets/classDiagram-v2-EOCWNBFH-D7gWuzIF.js +0 -1
- package/web/assets/cose-bilkent-JH36ORCC-Ao3LzalV.js +0 -1
- package/web/assets/cynefin-VYW2F7L2-7JQwpRwH.js +0 -178
- package/web/assets/cynefinDiagram-TSTJHNR4-BfuANy_V.js +0 -62
- package/web/assets/cytoscape.esm-DTSO7Bv0.js +0 -331
- package/web/assets/dagre-VKFMJZFB-DHVnVJCL.js +0 -4
- package/web/assets/defaultLocale-DX6XiGOO.js +0 -1
- package/web/assets/diagram-FQU43EPY-OYrtwA2f.js +0 -3
- package/web/assets/diagram-G47NLZAW-CbkLZxYp.js +0 -24
- package/web/assets/diagram-NH7WQ7WH-B0z_jTdi.js +0 -24
- package/web/assets/diagram-OA4YK3LP-BRu_2nwx.js +0 -30
- package/web/assets/diagram-WEI45ONY-B9cpw86D.js +0 -41
- package/web/assets/ebnfDiagram-CCIWWBDH-DaBQ7T4R.js +0 -1
- package/web/assets/erDiagram-Q63AITRT-D6PQiFj3.js +0 -85
- package/web/assets/flowDiagram-23GEKE2U-p_8Wj7It.js +0 -156
- package/web/assets/ganttDiagram-NO4QXBWP-BZBwuqu3.js +0 -292
- package/web/assets/gitGraphDiagram-IHSO6WYX-DyPcQ-91.js +0 -106
- package/web/assets/graph-C9eacEi8.js +0 -1
- package/web/assets/highlighted-body-OFNGDK62-Cq7RJZcn.js +0 -1
- package/web/assets/index-BN-QUr5b.js +0 -350
- package/web/assets/index-D6-LVQ5m.css +0 -1
- package/web/assets/infoDiagram-FWYZ7A6U-sAgBAeWC.js +0 -2
- package/web/assets/init-Gi6I4Gst.js +0 -1
- package/web/assets/ishikawaDiagram-FXEZZL3T-COEn9wCs.js +0 -70
- package/web/assets/journeyDiagram-5HDEW3XC-BPddPRXW.js +0 -139
- package/web/assets/kanban-definition-HUTT4EX6-B8TW97Oy.js +0 -89
- package/web/assets/katex-C5jXJg4s.js +0 -257
- package/web/assets/layout-DEXfKzaS.js +0 -1
- package/web/assets/linear-CnW5uQ_k.js +0 -1
- package/web/assets/map-Czzmt4hB.js +0 -1
- package/web/assets/mermaid.core-bOV5iNX_.js +0 -314
- package/web/assets/mindmap-definition-LN4V7U3C-Dtr4xW_-.js +0 -96
- package/web/assets/ordinal-Cboi1Yqb.js +0 -1
- package/web/assets/pegDiagram-2B236MQR-DqBITK5N.js +0 -1
- package/web/assets/pieDiagram-ENE6RG2P-DXjxZgy3.js +0 -39
- package/web/assets/quadrantDiagram-ABIIQ3AL-D4MXx3U7.js +0 -7
- package/web/assets/railroadDiagram-RFXS5EU6-LPfpHg4_.js +0 -1
- package/web/assets/requirementDiagram-TGXJPOKE-CiDswbjt.js +0 -84
- package/web/assets/sankeyDiagram-HTMAVEWB-VfN_qTEI.js +0 -40
- package/web/assets/sequenceDiagram-DBY2YBRQ-kJRIx4zm.js +0 -162
- package/web/assets/sizeCapture-X5ZJPWSS-D8vJbAt-.js +0 -1
- package/web/assets/stateDiagram-2N3HPSRC-9qku-qAj.js +0 -1
- package/web/assets/stateDiagram-v2-6OUMAXLB-DbOQICyv.js +0 -1
- package/web/assets/swimlanes-5IMT3BWC-Cdb5FDUM.js +0 -2
- package/web/assets/swimlanesDiagram-G3AALYLV-EDpLmqQv.js +0 -8
- package/web/assets/timeline-definition-FHXFAJF6-D0hyJCMm.js +0 -120
- package/web/assets/vennDiagram-L72KCM5P-KsCkGMtr.js +0 -34
- package/web/assets/wardleyDiagram-EHGQE667-B4jT_1ak.js +0 -78
- package/web/assets/xychartDiagram-FW5EYKEG-Bmy0rt8j.js +0 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# chamba
|
|
2
2
|
|
|
3
|
-
A browser workspace
|
|
3
|
+
A browser workspace beside your terminal coding agent - a rich parallel interface to the terminal chat.
|
|
4
4
|
|
|
5
5
|
## Quick start
|
|
6
6
|
|
|
@@ -10,11 +10,10 @@ Install the skill for your agent:
|
|
|
10
10
|
npx chamba@latest skill install
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Then, in your agent, run `/chamba` (or ask it to "open chamba").
|
|
13
|
+
Then, in your agent, run `/chamba` (or ask it to "open chamba").
|
|
14
|
+
It opens a browser workspace where you read rendered markdown, paste screenshots the agent can read, point at UI in the app tab, and view rich HTML pages the agent renders in the Illustration tab.
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
Pick **everyday** for open conversation beside your app, or **spec** for a structured interview that builds a spec package with Draft, Mock, and Diagram surfaces.
|
|
17
|
-
The choice sets up that same session; the agent then drives it accordingly.
|
|
16
|
+
The browser is a second conversation beside the terminal: a background `chamba poll` keeps the agent listening for browser input while it stays available in the terminal, and each channel is answered where it was asked.
|
|
18
17
|
|
|
19
18
|
Add `--global` to install the skill for every project (`~/.claude/skills`).
|
|
20
19
|
|
|
@@ -28,7 +27,7 @@ Add `--global` to install the skill for every project (`~/.claude/skills`).
|
|
|
28
27
|
| Path | Covers | Run by |
|
|
29
28
|
| --- | --- | --- |
|
|
30
29
|
| `packages/*/src/**/*.test.ts` | Unit tests colocated with each package (`shared`, `server`, `cli`, `inject`): pure schema and logic. | `pnpm test` (Vitest `unit` project, parallel). |
|
|
31
|
-
| `tests/integration/` | Integration: real server and CLI processes over real ports and the WebSocket transport (roundtrip, durability, annotations, attachments, issues,
|
|
30
|
+
| `tests/integration/` | Integration: real server and CLI processes over real ports and the WebSocket transport (roundtrip, durability, annotations, attachments, issues, pages, references, binding, init, lifecycle). Shared helpers live in `tests/support/`. | `pnpm test` (Vitest `integration` project, sequential forks with long timeouts, since parallel port binding would flake). |
|
|
32
31
|
| `tests/e2e/` | End-to-end: a real browser drives the production web build against a real server and CLI, proving the human and agent exchange renders live. | `pnpm test:e2e` (Playwright, serial; `pretest:e2e` installs the browser first). |
|
|
33
32
|
| `tests/fixtures/` | Sample apps for the "Your app" surface: a Vite + React app on port 4001 and a Next.js app on port 4002. The e2e suite drives the React app as a cross-origin annotation target; both are runnable by hand for manual exploration. | `pnpm fixture:react`, `pnpm fixture:next` (see `tests/fixtures/README.md`). |
|
|
34
33
|
|
|
@@ -61,7 +60,7 @@ Each runs from the repo root; add `-w` (`pnpm -w dev:next`) to run it from any s
|
|
|
61
60
|
- `pnpm -s chamba open` - inside the session, opens chamba and prints its URL.
|
|
62
61
|
|
|
63
62
|
Confirm the workspace publishes chamba's port with `CHAMBA_HOST=0.0.0.0` and `CHAMBA_PORT=4319`; the fixture's inject script targets `:4319`.
|
|
64
|
-
Then open the printed chamba URL, point the "Your app" tab at `:4002`, and do real work: paste a screenshot, annotate,
|
|
63
|
+
Then open the printed chamba URL, point the "Your app" tab at `:4002`, and do real work: paste a screenshot, annotate, ask the agent to show an illustration page.
|
|
65
64
|
|
|
66
65
|
---
|
|
67
66
|
|