@popmelt.com/core 0.20.1 → 0.20.2
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 +11 -0
- package/codex-plugin/.codex-plugin/plugin.json +1 -1
- package/dist/adapter-react-three-fiber.d.mts +1 -1
- package/dist/adapter-three.d.mts +8 -0
- package/dist/bridge-entry.mjs +67 -66
- package/dist/{chunk-TSGRYKAU.mjs → chunk-SB4JX76T.mjs} +1 -1
- package/dist/cli.mjs +88 -87
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +42 -42
- package/dist/media.d.mts +3 -3
- package/dist/plugin-astro.mjs +1 -1
- package/dist/plugin-vite.mjs +1 -1
- package/dist/server-JNKM4OLH.mjs +212 -0
- package/dist/server.mjs +68 -67
- package/dist/{subjects-C6Bu8uSX.d.mts → subjects-DzjWdlAk.d.mts} +8 -0
- package/dist/{video-adapter-UZ8OqP0O.d.mts → video-adapter-C5qDzl4Q.d.mts} +1 -1
- package/package.json +19 -19
- package/dist/server-PGVJ54IR.mjs +0 -211
package/README.md
CHANGED
|
@@ -51,6 +51,8 @@ A handoff can contain several comments and changes, including work on different
|
|
|
51
51
|
|
|
52
52
|
Chat pins a comment to a specific element. Click the element, type the comment, and press Enter to finish the draft. Use Shift+Enter for a new line or Command/Control+Enter to send the full pending bundle.
|
|
53
53
|
|
|
54
|
+
Paste images into a comment to attach visual references. An image-count chip keeps attachments visible in the draft rail; after sending, the images remain in the thread without the extra rail chip.
|
|
55
|
+
|
|
54
56
|
Double-click visible text to edit it directly. Popmelt records the text change so it can be handed off alongside comments and Steer changes.
|
|
55
57
|
|
|
56
58
|
### Steer
|
|
@@ -81,6 +83,7 @@ Imprint opens the project's shared understanding. Use its filters to review grou
|
|
|
81
83
|
- Press Escape to close the open thread
|
|
82
84
|
- Press Backspace or Delete with a thread open, or with one of its historical annotations selected, to archive that thread
|
|
83
85
|
- Right-click a draft comment or staged Steer change in its annotation rail to remove only that draft item
|
|
86
|
+
- When a reply is queued, use its pencil or trash button to edit or delete that individual message before it starts. Save an edit with the checkmark or Command/Control+Enter; Escape cancels the edit
|
|
84
87
|
|
|
85
88
|
Archiving hides a thread from the active canvas without deleting its stored conversation. Delete shortcuts are disabled while a text field is focused.
|
|
86
89
|
|
|
@@ -111,6 +114,14 @@ Restart Codex completely, then begin a new conversation in the project. Popmelt
|
|
|
111
114
|
|
|
112
115
|
Ambient capture stays out of toolbar-owned runs, so opening a thread from the in-page toolbar still produces exactly one toolbar job. Popmelt tools remain available for intentional context expansion, decision review, and Imprint grounding.
|
|
113
116
|
|
|
117
|
+
### Point and discuss
|
|
118
|
+
|
|
119
|
+
With your app running and the Popmelt canvas active, point at an element and ask Codex, “What am I pointing at?” You can also ask it to inspect a comment or explain what was discussed in an existing thread, without pointing at that item first.
|
|
120
|
+
|
|
121
|
+
Popmelt supplies the canvas target and lets Codex read saved threads, unsent drafts, and staged changes as separate kinds of context. A small animated eye appears beside the target or its visible annotation rail during targeted tool access—even if the element itself is offscreen. It indicates access to that item, not the full time the agent spends thinking about it. Reading context does not submit your drafts or start another agent run.
|
|
122
|
+
|
|
123
|
+
When several copies of the app are open, recent canvas interaction helps select the intended page. If the target is still ambiguous, Codex can ask which page you mean instead of guessing. Focus is a timestamped snapshot, so keep the intended target selected or point again when needed.
|
|
124
|
+
|
|
114
125
|
Useful diagnostics:
|
|
115
126
|
|
|
116
127
|
```bash
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Camera, Object3D, Raycaster } from 'three';
|
|
2
|
-
import { P as PopmeltSubjectAdapter } from './subjects-
|
|
2
|
+
import { P as PopmeltSubjectAdapter } from './subjects-DzjWdlAk.mjs';
|
|
3
3
|
|
|
4
4
|
type ThreeSubjectAdapterOptions = {
|
|
5
5
|
/** Unique adapter identity when a page owns more than one Three.js surface. */
|
package/dist/adapter-three.d.mts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { Camera, Object3D, Raycaster, WebGLRenderer } from 'three';
|
|
2
2
|
|
|
3
|
+
type TargetFingerprint = {
|
|
4
|
+
tag: string;
|
|
5
|
+
attributes?: Record<string, string>;
|
|
6
|
+
heading?: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
3
10
|
type AnnotationRevealStep = {
|
|
4
11
|
triggerSelector: string;
|
|
5
12
|
targetSelector?: string;
|
|
@@ -56,6 +63,7 @@ type VideoObjectContext = {
|
|
|
56
63
|
trackEnd: number;
|
|
57
64
|
};
|
|
58
65
|
type ElementInfo = {
|
|
66
|
+
targetFingerprint?: TargetFingerprint;
|
|
59
67
|
selector: string;
|
|
60
68
|
tagName: string;
|
|
61
69
|
/** Adapter-owned semantic name for a non-DOM subject. */
|