@unoverse-platform/studio 0.1.26 → 0.1.28

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.
Files changed (42) hide show
  1. package/package.json +1 -1
  2. package/screens/AtomsView.tsx +40 -2
  3. package/screens/ComponentsView.tsx +112 -21
  4. package/screens/NativeAppHost.tsx +8 -4
  5. package/screens/TemplatesView.tsx +51 -21
  6. package/screens/states.ts +27 -4
  7. package/vendor/sdk/appEngine.tsx +20 -4
  8. package/vendor/sdk/lib/UnoverseComponent.tsx +8 -2
  9. package/vendor/sdk/lib/core/actions.ts +10 -6
  10. package/vendor/sdk/lib/core/client.ts +39 -12
  11. package/vendor/sdk/lib/core/index.ts +21 -0
  12. package/vendor/sdk/lib/core/refs.ts +117 -0
  13. package/vendor/sdk/lib/core/store.ts +65 -38
  14. package/vendor/sdk/lib/core/templates.ts +270 -0
  15. package/vendor/sdk/lib/core/types.ts +27 -7
  16. package/vendor/sdk/lib/orb/ThinkingOrb.tsx +131 -0
  17. package/vendor/sdk/lib/orb/engine/braid.ts +50 -0
  18. package/vendor/sdk/lib/orb/engine/core.ts +167 -0
  19. package/vendor/sdk/lib/orb/engine/lattice.ts +205 -0
  20. package/vendor/sdk/lib/orb/engine/morph.ts +138 -0
  21. package/vendor/sdk/lib/orb/engine/orbits.ts +80 -0
  22. package/vendor/sdk/lib/orb/engine/profiles.ts +162 -0
  23. package/vendor/sdk/lib/orb/engine/registry.ts +31 -0
  24. package/vendor/sdk/lib/orb/engine/ribbon.ts +93 -0
  25. package/vendor/sdk/lib/orb/engine/rings.ts +239 -0
  26. package/vendor/sdk/lib/orb/engine/types.ts +14 -0
  27. package/vendor/sdk/lib/orb/engine/web.ts +98 -0
  28. package/vendor/sdk/lib/orb/index.ts +20 -0
  29. package/vendor/sdk/lib/orb/presets.ts +181 -0
  30. package/vendor/sdk/lib/orb/theme.ts +83 -0
  31. package/vendor/sdk/lib/orb/types.ts +84 -0
  32. package/vendor/sdk/lib/primitives.tsx +116 -2
  33. package/vendor/sdk/lib/render.tsx +32 -8
  34. package/vendor/sdk/lib/style.ts +6 -2
  35. package/vendor/sdk/lib/template.tsx +86 -224
  36. package/vendor/skills/unoverse-create/SKILL.md +18 -18
  37. package/vendor/skills/unoverse-create/references/agent-skill.md +12 -12
  38. package/vendor/skills/unoverse-create/references/block.md +5 -5
  39. package/vendor/skills/unoverse-create/references/component.md +150 -75
  40. package/vendor/skills/unoverse-create/references/node.md +1 -1
  41. package/vendor/skills/unoverse-create/references/template.md +142 -82
  42. package/vendor/skills/unoverse-create/references/workflow.md +15 -15
@@ -1,6 +1,6 @@
1
1
  # Playbook: Build a workflow (via the builder MCP)
2
2
 
3
- Workflows are NOT files in the carve-out — they live in the platform and are built
3
+ Workflows are NOT files in the carve-out. They live in the platform and are built
4
4
  through the **builder MCP** (`canvas`, auto-registered by this repo's
5
5
  `.mcp.json`). You drive the platform's own authoring tools; the canvas updates live
6
6
  in the developer's browser as you build.
@@ -8,15 +8,15 @@ in the developer's browser as you build.
8
8
  ## Prerequisites (check before starting)
9
9
 
10
10
  1. **The platform is running** (`unoverse start`, or `npm run dev` in the platform
11
- repo). The builder listens on `localhost:4106` — local machine only, by design.
11
+ repo). The builder listens on `localhost:4106`, local machine only, by design.
12
12
  2. **The MCP is connected**: `canvas` should show connected with 14 tools.
13
- If it shows failed, the platform wasn't up when the session started — reconnect
13
+ If it shows failed, the platform wasn't up when the session started. Reconnect
14
14
  via `/mcp` after starting it.
15
15
  3. **The developer gives you a pairing code.** Ask them to open a **new empty
16
16
  workflow in Canvas** (http://localhost:3001), click **"Connect agent"** in the
17
17
  toolbar, and paste the short code it shows (e.g. `FW9D-6QKA`). The code binds you
18
- to that one workflow — single use, expires in 10 minutes. There is deliberately no
19
- way to list or discover workflows from here — the code must come from the developer.
18
+ to that one workflow: single use, expires in 10 minutes. There is deliberately no
19
+ way to list or discover workflows from here. The code must come from the developer.
20
20
  Prefer a fresh workflow: saves are provenance-scoped, so wiring into nodes you
21
21
  didn't create may be rejected.
22
22
 
@@ -25,19 +25,19 @@ in the developer's browser as you build.
25
25
  1. **`bindWorkflow` first.** Every other tool refuses until the session is bound,
26
26
  and every call after is pinned server-side to that one canvas.
27
27
  2. **Read the in-band guides before building.** The deep how-to is served by the
28
- platform itself via `readBuilderSkill` — always current, never duplicated here:
29
- - `solution-design` — read FIRST on any new goal
30
- - `workflow-building` — the build protocol + response-field semantics
31
- - `workflow-testing` — runTest / stepNode / reading traces
32
- - `template-references` — the `{{...}}` grammar + fixing lint errors
28
+ platform itself via `readBuilderSkill`, always current, never duplicated here:
29
+ - `solution-design`: read FIRST on any new goal
30
+ - `workflow-building`: the build protocol + response-field semantics
31
+ - `workflow-testing`: runTest / stepNode / reading traces
32
+ - `template-references`: the `{{...}}` grammar + fixing lint errors
33
33
  3. **Build ONE stage at a time.** The loop is: `saveWorkflow` one stage → `runTest`
34
34
  → read the trace → add the next stage based on that evidence. Never design or
35
- pre-wire the whole graph up front — you learn a node's real output fields by
35
+ pre-wire the whole graph up front. You learn a node's real output fields by
36
36
  running it, not by planning.
37
37
  4. **Ground truth rules:** `getCanvas` is the real graph; a nodeType is valid only
38
38
  if `getNodeCatalog` returned it (search it fresh per step, with a one-line
39
39
  `task`); layout and node ids are not yours to set.
40
- 5. **The developer judges the result — never self-certify.** When the workflow runs
40
+ 5. **The developer judges the result. Never self-certify.** When the workflow runs
41
41
  end-to-end with real, non-empty output, report what you built and what the test
42
42
  showed. They watch the canvas live and accept, or ask for changes (which continue
43
43
  on the same bound canvas).
@@ -47,6 +47,6 @@ in the developer's browser as you build.
47
47
  | Symptom | Cause / fix |
48
48
  |---|---|
49
49
  | Every tool returns "No workflow bound" | Call `bindWorkflow` with the pairing code from Canvas "Connect agent" |
50
- | Bind fails "invalid or expired pairing code" | Codes are single-use + 10-min TTL — ask the developer to click "Connect agent" again for a fresh one |
51
- | Tool calls error after working earlier | The platform restarted mid-session — `/mcp` → reconnect |
52
- | saveWorkflow rejects an edge into an existing node | Provenance guard: that node wasn't built this session — build on a fresh workflow, or recreate the stage yourself |
50
+ | Bind fails "invalid or expired pairing code" | Codes are single-use + 10-min TTL: ask the developer to click "Connect agent" again for a fresh one |
51
+ | Tool calls error after working earlier | The platform restarted mid-session: `/mcp` → reconnect |
52
+ | saveWorkflow rejects an edge into an existing node | Provenance guard: that node wasn't built this session. Build on a fresh workflow, or recreate the stage yourself |