Skip to content

[feat] SDK api.pointerRay + MODULES.md drag recipe (190 prerequisite) - #37

Merged
AlexZ005 merged 1 commit into
mainfrom
feature/sdk-pointer-ray
Jul 21, 2026
Merged

[feat] SDK api.pointerRay + MODULES.md drag recipe (190 prerequisite)#37
AlexZ005 merged 1 commit into
mainfrom
feature/sdk-pointer-ray

Conversation

@AlexZ005

Copy link
Copy Markdown
Collaborator

Adds the one SDK surface the 190 untangle test-flight needed: a world-space pointer ray for modules (desktop mouse / VR pointer hand, fresh Raycaster per call, handedness-resolved). MODULES.md drag recipe + 4-check e2e, svelte-check 499/77 held. The untangle module itself lives in theprototype-app/modules.

🤖 Generated with Claude Code

@AlexZ005
AlexZ005 merged commit a9a6c58 into main Jul 21, 2026
- moduleSDK.pointerRay(): desktop = the mouse over the viewport (window-wide
  NDC tracking, same math as the Scene selection raycast); VR = the pointer
  hand ray via the new vrControls.pointerHandRay export (handedness-resolved,
  never raw slots). A FRESH Raycaster per call (the shared-temp gotcha);
  null before the first pointer event. vrControls reached via the primed
  dynamic import (static edge = cycle).
- the drag recipe for modules (190/untangle): click to pick, follow
  pointerRay() in a frame task, click to drop - works desktop + VR.
- MODULES.md section; e2e sdk-pointer-ray (4 checks, all pass); build green;
  svelte-check 499/77 held.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
AlexZ005 added a commit that referenced this pull request Jul 22, 2026
…itions, modules repo

- CLAUDE.md map rewritten for flow v2: flowGraphs source-of-truth + editor-view
  mirror (and WHY it lives in the leaf store), flowGraphs.js/objectFlow.js libs,
  graph-routed nodesHandler, implicit-owner runtime rule, embed inject/harvest,
  resolvedInputType/replaceableInputEdges socket rules
- new gotchas: the history.js TDZ-cycle family (flowRuntime imports must not
  reach history/shortcuts statically), NodeWrapper flex-ROW slot + padded-box
  handle anchoring, autosave GLTF restore re-uuid (userData.__uuid stamp),
  deselect clears only the selectedObjects SET
- Module SDK section: registerNodeDefs + pointerRay (drag recipe) + the
  theprototype-app/modules repo (flow-toolkit, untangle)
- status 2026-07-22: PR #36 + #37 merged, 190 untangle shipped as-built,
  svelte-check baseline now 499/77, remaining H4 + open PRs #33/#34
- e2e skill: npx vite dev (npm eats --port flags), __stores additions
  (flowGraphs/flowGraphsCtl/objectFlow/pointerRayNow/applyModuleMessage),
  repo-external module verification recipe (manager zip install)
- peer-feature skill: per-object graph replication rules (graphId, allNodes,
  prune invariants, flowgraph history kind, single-connection inputs) + SDK
  additions + untangle as the worked game example

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@AlexZ005
AlexZ005 deleted the feature/sdk-pointer-ray branch August 5, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant