@popmelt.com/core 0.37.1 → 0.38.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/THIRD_PARTY_NOTICES.md +236 -0
- package/claude-plugin/.claude-plugin/plugin.json +1 -1
- package/codex-plugin/.codex-plugin/plugin.json +1 -1
- package/dist/ExploreAttachment-IIEORQP3.mjs +1 -0
- package/dist/{PagePreviewLayer-SIH7DDBF.mjs → PagePreviewLayer-AFSRCBAX.mjs} +1 -1
- package/dist/ParticipantRuntime-CGJH7YZL.mjs +1 -0
- package/dist/PhoneHostGate-OCIMKPLM.mjs +1 -0
- package/dist/PopmeltTasteConnectedPane-N2A5XPRO.mjs +1 -0
- package/dist/PreviewRuntime-3ANAJNFO.mjs +1 -0
- package/dist/QueuedReplies-5YG2DN3W.mjs +1 -0
- package/dist/SamplePlacementOverlay-EOJW6XGE.mjs +1 -0
- package/dist/ShareProjectPane-VYWTF3FW.mjs +1 -0
- package/dist/SuppliedContext-3S4HT6U6.mjs +1 -0
- package/dist/ThreadErrorCard-CTMVMETS.mjs +1 -0
- package/dist/ThreadPanel-G7OKSWD4.mjs +1 -0
- package/dist/adapter-react-three-fiber.d.mts +1 -1
- package/dist/adapter-react-three-fiber.mjs +1 -1
- package/dist/adapter-three.d.mts +2 -0
- package/dist/adapter-three.mjs +3 -3
- package/dist/bridge-entry.mjs +1 -1
- package/dist/bridge-recovery-NUYIGCFV.mjs +1 -0
- package/dist/bridgeSSEStream-HUFNXYPG.mjs +1 -0
- package/dist/bridgeWebSocketStream-AS22Y2FP.mjs +1 -0
- package/dist/browser-runtime-WXDKC4TL.mjs +1 -0
- package/dist/browser.d.mts +4 -4
- package/dist/browser.mjs +1 -1
- package/dist/canvas-chat-note-OLVVP55Y.mjs +1 -0
- package/dist/checkFixture-UNTXJKRN.mjs +1 -0
- package/dist/{chunk-YYODLRV3.mjs → chunk-25EXQOPI.mjs} +1 -1
- package/dist/{chunk-L6S66APQ.mjs → chunk-2F2BVGFH.mjs} +1 -1
- package/dist/chunk-2GICKLUW.mjs +1 -0
- package/dist/chunk-3DUTQ6GY.mjs +1 -0
- package/dist/{chunk-76WRZ2NH.mjs → chunk-3LZQLRZ2.mjs} +1 -1
- package/dist/{chunk-IAXSC2ZN.mjs → chunk-43BZCDGL.mjs} +1 -1
- package/dist/{chunk-7EISKUU7.mjs → chunk-5F34UIKL.mjs} +1 -1
- package/dist/{chunk-ECMLCGAM.mjs → chunk-6RMM7JB6.mjs} +1 -1
- package/dist/{chunk-3PSB5BST.mjs → chunk-6V4Q2JFN.mjs} +1 -1
- package/dist/{chunk-CVVD2OMQ.mjs → chunk-7MYZEG74.mjs} +1 -1
- package/dist/{chunk-JSNK6NX7.mjs → chunk-ACBGA4NT.mjs} +1 -1
- package/dist/{chunk-B22WBEQC.mjs → chunk-B3RA4XAR.mjs} +1 -1
- package/dist/{chunk-FON4QY7P.mjs → chunk-BEGAJYOY.mjs} +1 -1
- package/dist/{chunk-6XEEXK3U.mjs → chunk-BJUSVIDN.mjs} +1 -1
- package/dist/chunk-BOZVNUHJ.mjs +1 -0
- package/dist/chunk-BRAEIDNX.mjs +30 -0
- package/dist/chunk-CRZEJJI6.mjs +1 -0
- package/dist/{chunk-O2ZQFLNV.mjs → chunk-DBCBG5J6.mjs} +1 -1
- package/dist/{chunk-RUJC32MA.mjs → chunk-EFWBHWHP.mjs} +1 -1
- package/dist/{chunk-EZVFCJEG.mjs → chunk-FYURSPM3.mjs} +1 -1
- package/dist/{chunk-HPU2UMVE.mjs → chunk-G6BN5TAZ.mjs} +1 -1
- package/dist/chunk-GTVTUWGH.mjs +1 -0
- package/dist/{chunk-SKKHZBOJ.mjs → chunk-JAMYVQFC.mjs} +1 -1
- package/dist/{chunk-SOT33EQ4.mjs → chunk-JJRKR4X3.mjs} +1 -1
- package/dist/{chunk-EFGQKWSZ.mjs → chunk-KHDXOXYF.mjs} +1 -1
- package/dist/chunk-KL5ODVJA.mjs +1 -0
- package/dist/{chunk-WF3YGZPI.mjs → chunk-L356S4EY.mjs} +1 -1
- package/dist/{chunk-WJHYEACV.mjs → chunk-O2OYVEL7.mjs} +1 -1
- package/dist/{chunk-QV5G3XRE.mjs → chunk-P2WAXWAZ.mjs} +1 -1
- package/dist/{chunk-EUFR7R5Q.mjs → chunk-QXFBFKN6.mjs} +1 -1
- package/dist/{chunk-KXVXWEN4.mjs → chunk-RJWFSAKE.mjs} +1 -1
- package/dist/{chunk-FJWWBKCQ.mjs → chunk-RWZ7SVMO.mjs} +1 -1
- package/dist/{chunk-GAUQZAW6.mjs → chunk-SKM4ZXV5.mjs} +1 -1
- package/dist/{chunk-EBJ23A7F.mjs → chunk-TEXVTTWA.mjs} +1 -1
- package/dist/{chunk-QXVMGZFP.mjs → chunk-TSQEBZYO.mjs} +1 -1
- package/dist/{chunk-JEGBAHYK.mjs → chunk-TVIKC33M.mjs} +1 -1
- package/dist/{chunk-4LVGVKSS.mjs → chunk-TXL2CR66.mjs} +1 -1
- package/dist/{chunk-SBD7GQDN.mjs → chunk-W62YY5IT.mjs} +1 -1
- package/dist/{chunk-BYASSHKJ.mjs → chunk-WIJSWSNF.mjs} +1 -1
- package/dist/{chunk-NI77Y3WC.mjs → chunk-WJVRGXOS.mjs} +1 -1
- package/dist/{chunk-HAN6CUNB.mjs → chunk-WNOLXY3Y.mjs} +1 -1
- package/dist/{chunk-HBFSPXIC.mjs → chunk-X56HNVHF.mjs} +1 -1
- package/dist/{chunk-UX3DTCHL.mjs → chunk-Y3WTPLDG.mjs} +1 -1
- package/dist/chunk-YGP6PPOZ.mjs +1 -0
- package/dist/{chunk-LOUWY55X.mjs → chunk-ZHXTB5IN.mjs} +1 -1
- package/dist/chunk-ZSTKAPV5.mjs +24 -0
- package/dist/cli.mjs +1 -1
- package/dist/codex-note-context-WYH7D6SS.mjs +1 -0
- package/dist/{codex-project-3GJPU63O.mjs → codex-project-Q4CKTDOH.mjs} +1 -1
- package/dist/{codex-store-mount-F6RBC77X.mjs → codex-store-mount-RSRKEV2B.mjs} +1 -1
- package/dist/dev-server-SDS67665.mjs +1 -0
- package/dist/focus-inspection-LGIRFL2T.mjs +1 -0
- package/dist/guest-admission.mjs +1 -1
- package/dist/guest-live-canvas.mjs +1 -1
- package/dist/index.d.mts +27 -6
- package/dist/index.mjs +1 -1
- package/dist/inviteQr-YK3JAR6U.mjs +1 -0
- package/dist/media.d.mts +3 -3
- package/dist/media.mjs +1 -1
- package/dist/memory-legacy.mjs +1 -1
- package/dist/memory-store.mjs +1 -1
- package/dist/{participantBootstrap-CSLsiQ-C.d.mts → participantBootstrap-BTcD7XgB.d.mts} +2 -2
- package/dist/{peer-client-7X52EKMX.mjs → peer-client-HYSUL7UZ.mjs} +1 -1
- package/dist/plugin-astro.mjs +1 -1
- package/dist/plugin-nuxt.mjs +1 -1
- package/dist/plugin-vite.mjs +1 -1
- package/dist/server.mjs +1 -1
- package/dist/{subjects-BQFCkehy.d.mts → subjects-D_yanOQ2.d.mts} +2 -0
- package/dist/taste-proposal-session-AAXK4CFL.mjs +1 -0
- package/dist/toolbarFonts-JAGSN3DN.mjs +1 -0
- package/dist/{video-adapter-C0kSwUir.d.mts → video-adapter-CWpR4NSt.d.mts} +1 -1
- package/dist/webpEncoder-MTPCVDOG.mjs +1 -0
- package/dist/workspace-snapshot-RUGPDEYJ.mjs +1 -0
- package/package.json +26 -35
- package/dist/ExploreAttachment-6AIMXC2K.mjs +0 -1
- package/dist/ParticipantRuntime-RTMEFDKF.mjs +0 -1
- package/dist/PhoneHostGate-RZRGWS2E.mjs +0 -1
- package/dist/PopmeltTasteConnectedPane-FAJXJEQQ.mjs +0 -1
- package/dist/PreviewRuntime-MW33PLMV.mjs +0 -1
- package/dist/QueuedReplies-4APDDNQX.mjs +0 -1
- package/dist/SamplePlacementOverlay-2VLBRDPZ.mjs +0 -1
- package/dist/ShareProjectPane-OR2LS2A3.mjs +0 -1
- package/dist/SuppliedContext-SAQKEDWW.mjs +0 -1
- package/dist/ThreadErrorCard-OSHIWSHR.mjs +0 -1
- package/dist/ThreadPanel-CMC5Q6WM.mjs +0 -1
- package/dist/bridge-recovery-3IQN3U6D.mjs +0 -1
- package/dist/bridgeSSEStream-6OMAFDFW.mjs +0 -1
- package/dist/bridgeWebSocketStream-WIOGOPJW.mjs +0 -1
- package/dist/browser-runtime-5W2ZKUCZ.mjs +0 -1
- package/dist/canvas-chat-note-O3USBECW.mjs +0 -1
- package/dist/checkFixture-DQPLFEUL.mjs +0 -1
- package/dist/chunk-3QYA5LGF.mjs +0 -1
- package/dist/chunk-5GEBVPTA.mjs +0 -1
- package/dist/chunk-7JWADHTH.mjs +0 -1
- package/dist/chunk-CCFTIBCJ.mjs +0 -1
- package/dist/chunk-OIKFQ2FV.mjs +0 -1
- package/dist/chunk-QE5XGXIA.mjs +0 -30
- package/dist/chunk-ROKRMYFR.mjs +0 -1
- package/dist/chunk-VVNZ5IEG.mjs +0 -24
- package/dist/codex-note-context-6QGJT2V3.mjs +0 -1
- package/dist/dev-server-KWVIMLLL.mjs +0 -1
- package/dist/focus-inspection-F25RXWZV.mjs +0 -1
- package/dist/inviteQr-U77MLSEQ.mjs +0 -1
- package/dist/taste-proposal-session-DBOUA54V.mjs +0 -1
- package/dist/toolbarFonts-GVPRHJGB.mjs +0 -1
- package/dist/workspace-snapshot-6LN7U2NJ.mjs +0 -1
- /package/dist/{chunk-PWQB3FIW.mjs → chunk-AWWUJO3N.mjs} +0 -0
- /package/dist/{chunk-TIAPJGX2.mjs → chunk-FIOGWEZA.mjs} +0 -0
- /package/dist/{chunk-W2QQVB2H.mjs → chunk-VXRRHXUP.mjs} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
|
-
import { P as PopmeltOptions, C as CommentMeta } from './participantBootstrap-
|
|
4
|
-
export { a as CommentMetaContext, b as CommentMetaNote, c as CommentMetaValue, G as GetCommentMeta, d as PopmeltExtension, e as PopmeltExtensionRuntime, i as isPopmeltPreview } from './participantBootstrap-
|
|
5
|
-
import { f as ImageSubjectAdapterOptions, v as VideoSubjectAdapterOptions } from './video-adapter-
|
|
6
|
-
import { P as PopmeltSubjectAdapter, A as Annotation, E as ElementInfo, f as AnnotationAttachment, S as SubjectFeedbackAttachment, g as StyleModification, T as TextModification, D as DomModification, h as SpacingTokenChange } from './subjects-
|
|
7
|
-
export { i as AnnotationRegion, j as AnnotationType, B as BridgeStatus, k as ClaudeResponse, I as ImageObjectContext,
|
|
3
|
+
import { P as PopmeltOptions, C as CommentMeta } from './participantBootstrap-BTcD7XgB.mjs';
|
|
4
|
+
export { a as CommentMetaContext, b as CommentMetaNote, c as CommentMetaValue, G as GetCommentMeta, d as PopmeltExtension, e as PopmeltExtensionRuntime, i as isPopmeltPreview } from './participantBootstrap-BTcD7XgB.mjs';
|
|
5
|
+
import { f as ImageSubjectAdapterOptions, v as VideoSubjectAdapterOptions } from './video-adapter-CWpR4NSt.mjs';
|
|
6
|
+
import { P as PopmeltSubjectAdapter, O as OpaqueTargetReference, A as Annotation, E as ElementInfo, f as AnnotationAttachment, S as SubjectFeedbackAttachment, g as StyleModification, T as TextModification, D as DomModification, h as SpacingTokenChange } from './subjects-D_yanOQ2.mjs';
|
|
7
|
+
export { i as AnnotationRegion, j as AnnotationType, B as BridgeStatus, k as ClaudeResponse, I as ImageObjectContext, l as Point, b as PopmeltSubject, a as PopmeltSubjectBounds, c as PopmeltSubjectCreationSession, d as PopmeltSubjectOutlinePoint, e as PopmeltSubjectTrackingAnchor, m as PopmeltSurfaceSnapshot, R as ReactSourceLocation, n as StyleChange, o as ToolType, V as VideoObjectContext } from './subjects-D_yanOQ2.mjs';
|
|
8
8
|
|
|
9
9
|
/** Client-side envelope used for persisted and streaming bridge events. */
|
|
10
10
|
type BridgeEvent = {
|
|
@@ -57,6 +57,26 @@ type OriginalCapture = {
|
|
|
57
57
|
still?: string;
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
+
/** Framing shared by the two observations. Coordinates are CSS pixels. */
|
|
61
|
+
type ComparisonView = {
|
|
62
|
+
route: string;
|
|
63
|
+
width: number;
|
|
64
|
+
height: number;
|
|
65
|
+
scrollX: number;
|
|
66
|
+
scrollY: number;
|
|
67
|
+
targets: {
|
|
68
|
+
id: string;
|
|
69
|
+
selector?: string;
|
|
70
|
+
subject?: OpaqueTargetReference;
|
|
71
|
+
}[];
|
|
72
|
+
cameras: string[];
|
|
73
|
+
};
|
|
74
|
+
type ComparisonBaseline = {
|
|
75
|
+
view: ComparisonView;
|
|
76
|
+
capturedAt: number;
|
|
77
|
+
image: string;
|
|
78
|
+
};
|
|
79
|
+
|
|
60
80
|
type AnnotationData = {
|
|
61
81
|
id: string;
|
|
62
82
|
type: string;
|
|
@@ -72,6 +92,7 @@ type AnnotationData = {
|
|
|
72
92
|
interactionEpisode?: Annotation['interactionEpisode'];
|
|
73
93
|
};
|
|
74
94
|
type FeedbackData = {
|
|
95
|
+
visualBaseline?: ComparisonBaseline;
|
|
75
96
|
exploreCapture?: OriginalCapture;
|
|
76
97
|
timestamp: string;
|
|
77
98
|
url: string;
|
|
@@ -92,4 +113,4 @@ type FeedbackData = {
|
|
|
92
113
|
meta?: CommentMeta;
|
|
93
114
|
};
|
|
94
115
|
|
|
95
|
-
export { Annotation, type BridgeEvent, CommentMeta, ElementInfo, type FeedbackData, type ImageAnnotationOptions, PopmeltProvider, type PopmeltProviderProps, PopmeltSubjectAdapter, StyleModification, type VideoAnnotationOptions, usePopmelt };
|
|
116
|
+
export { Annotation, type BridgeEvent, CommentMeta, ElementInfo, type FeedbackData, type ImageAnnotationOptions, OpaqueTargetReference, PopmeltProvider, type PopmeltProviderProps, PopmeltSubjectAdapter, StyleModification, type VideoAnnotationOptions, usePopmelt };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";export{b as PopmeltProvider}from"./chunk-
|
|
1
|
+
"use client";export{b as PopmeltProvider}from"./chunk-2GICKLUW.mjs";import"./chunk-5F34UIKL.mjs";import"./chunk-ZSTKAPV5.mjs";import"./chunk-ZHXTB5IN.mjs";import"./chunk-FYURSPM3.mjs";import"./chunk-43BZCDGL.mjs";import"./chunk-PH2MLB3T.mjs";import"./chunk-ELKVFX2O.mjs";import"./chunk-AWWUJO3N.mjs";import"./chunk-Q6N77LIS.mjs";import"./chunk-ZVDKW7TO.mjs";import"./chunk-XTOCFTVW.mjs";import"./chunk-Q74FBX2I.mjs";import"./chunk-KHDXOXYF.mjs";import"./chunk-SOGN7S54.mjs";import"./chunk-BJUSVIDN.mjs";export{a as isPopmeltPreview}from"./chunk-KCDHP4N3.mjs";import"./chunk-BOZVNUHJ.mjs";import"./chunk-OVZ4CQGM.mjs";import"./chunk-WIJSWSNF.mjs";import"./chunk-JAMYVQFC.mjs";import"./chunk-FHCKFQBY.mjs";import"./chunk-APP5IYTE.mjs";import"./chunk-W62YY5IT.mjs";import"./chunk-G6BN5TAZ.mjs";import"./chunk-B3RA4XAR.mjs";import"./chunk-DBCBG5J6.mjs";import"./chunk-G2ZHJXHZ.mjs";import"./chunk-TMSGNHXH.mjs";import"./chunk-53SKVMWR.mjs";import"./chunk-3LZQLRZ2.mjs";import"./chunk-RJWFSAKE.mjs";import"./chunk-P2WAXWAZ.mjs";import"./chunk-2F2BVGFH.mjs";import"./chunk-RWZ7SVMO.mjs";import"./chunk-RK6UROPO.mjs";import"./chunk-5IZHN3A7.mjs";import"./chunk-AOTDTBQO.mjs";import"./chunk-HAZXZ5TU.mjs";import"./chunk-TVIKC33M.mjs";import"./chunk-25EXQOPI.mjs";import"./chunk-VXRRHXUP.mjs";import"./chunk-WP2SHSCG.mjs";import"./chunk-AAMUU2QA.mjs";import"./chunk-LH7HKUCK.mjs";import"./chunk-X56HNVHF.mjs";import"./chunk-X6I6KQDG.mjs";import"./chunk-ATLUO4G7.mjs";import"./chunk-JJRKR4X3.mjs";import"./chunk-C2ZSNUXQ.mjs";import"./chunk-TEXVTTWA.mjs";import"./chunk-Q6C7ZA3H.mjs";import"./chunk-EILBHZDX.mjs";import"./chunk-XJJDBMZI.mjs";import"./chunk-OREALBUO.mjs";import"./chunk-B4DYUYX4.mjs";import"./chunk-CK3CDA3L.mjs";import"./chunk-WJVRGXOS.mjs";import"./chunk-BEGAJYOY.mjs";import"./chunk-AGCS65LT.mjs";import"./chunk-OA63PYHZ.mjs";import"./chunk-6RMM7JB6.mjs";import"./chunk-SUAHDXJZ.mjs";import"./chunk-N2ZEZCHO.mjs";export{b as usePopmelt}from"./chunk-J3UIBBU2.mjs";import"./chunk-PRPXMDZ7.mjs";import"./chunk-A4GARXVQ.mjs";import"./chunk-YGP6PPOZ.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";import"./chunk-YGP6PPOZ.mjs";import r from"./qr-encoder.mjs";function t(t){let e=r(0,"M");return e.addData(t),e.make(),e.createDataURL(4,16)}export{t as inviteQr};
|
package/dist/media.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as ImageObjectBox, V as VideoSubjectStore, a as VideoObjectBox } from './video-adapter-
|
|
2
|
-
export { B as BrowserImageSubjectStoreOptions, b as ImageContentHasher, c as ImageObjectObservation, d as ImageRecognitionProvider, e as ImageSubjectAdapter, f as ImageSubjectAdapterOptions, g as ImageSubjectStore, P as PersistedImageAnalysis, h as PersistedImageSubject, i as PersistedImageSuppression, j as PersistedVideoAnalysis, k as PersistedVideoTrack, l as VideoBackwardAnalysisOptions, m as VideoBackwardAnalysisResult, n as VideoMotionAttempt, o as VideoMotionPolicy, p as VideoMotionPresenceDecision, q as VideoMotionState, r as VideoSegmentationObservation, s as VideoSegmentationPoint, t as VideoSegmentationProvider, u as VideoSubjectAdapter, v as VideoSubjectAdapterOptions, w as VideoTrackKeyframe, x as VideoTrackObservation, y as VideoTrackSegment, z as VideoTrackSmoother, A as VideoTrackingAnchor, C as VideoTrackingAttempt, D as VideoTrackingProvider, E as VideoTrackingSeed, F as VideoTrackingSession, G as createBrowserImageSubjectStore, H as createImageSubjectAdapter, J as createMemoryImageSubjectStore, K as createVideoSubjectAdapter } from './video-adapter-
|
|
3
|
-
import { a as PopmeltSubjectBounds } from './subjects-
|
|
1
|
+
import { I as ImageObjectBox, V as VideoSubjectStore, a as VideoObjectBox } from './video-adapter-CWpR4NSt.mjs';
|
|
2
|
+
export { B as BrowserImageSubjectStoreOptions, b as ImageContentHasher, c as ImageObjectObservation, d as ImageRecognitionProvider, e as ImageSubjectAdapter, f as ImageSubjectAdapterOptions, g as ImageSubjectStore, P as PersistedImageAnalysis, h as PersistedImageSubject, i as PersistedImageSuppression, j as PersistedVideoAnalysis, k as PersistedVideoTrack, l as VideoBackwardAnalysisOptions, m as VideoBackwardAnalysisResult, n as VideoMotionAttempt, o as VideoMotionPolicy, p as VideoMotionPresenceDecision, q as VideoMotionState, r as VideoSegmentationObservation, s as VideoSegmentationPoint, t as VideoSegmentationProvider, u as VideoSubjectAdapter, v as VideoSubjectAdapterOptions, w as VideoTrackKeyframe, x as VideoTrackObservation, y as VideoTrackSegment, z as VideoTrackSmoother, A as VideoTrackingAnchor, C as VideoTrackingAttempt, D as VideoTrackingProvider, E as VideoTrackingSeed, F as VideoTrackingSession, G as createBrowserImageSubjectStore, H as createImageSubjectAdapter, J as createMemoryImageSubjectStore, K as createVideoSubjectAdapter } from './video-adapter-CWpR4NSt.mjs';
|
|
3
|
+
import { a as PopmeltSubjectBounds } from './subjects-D_yanOQ2.mjs';
|
|
4
4
|
|
|
5
5
|
declare function unprojectImagePoint(image: HTMLImageElement, clientPoint: {
|
|
6
6
|
x: number;
|
package/dist/media.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";export{f as ImageSubjectAdapter,k as VideoSubjectAdapter,d as createBrowserImageSubjectStore,m as createBrowserVideoSubjectStore,g as createImageSubjectAdapter,e as createMemoryImageSubjectStore,n as createMemoryVideoSubjectStore,l as createVideoSubjectAdapter,c as projectImageObjectBox,i as projectVideoObjectBox,b as unprojectImageObjectBounds,a as unprojectImagePoint,j as unprojectVideoObjectBounds,h as unprojectVideoPoint}from"./chunk-N2ZEZCHO.mjs";
|
|
1
|
+
"use client";export{f as ImageSubjectAdapter,k as VideoSubjectAdapter,d as createBrowserImageSubjectStore,m as createBrowserVideoSubjectStore,g as createImageSubjectAdapter,e as createMemoryImageSubjectStore,n as createMemoryVideoSubjectStore,l as createVideoSubjectAdapter,c as projectImageObjectBox,i as projectVideoObjectBox,b as unprojectImageObjectBounds,a as unprojectImagePoint,j as unprojectVideoObjectBounds,h as unprojectVideoPoint}from"./chunk-N2ZEZCHO.mjs";import"./chunk-YGP6PPOZ.mjs";
|
package/dist/memory-legacy.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a,d as c}from"./chunk-
|
|
1
|
+
import{c as a,d as c}from"./chunk-TSQEBZYO.mjs";export{c as importLegacyProject,a as legacyUuidV7};
|
package/dist/memory-store.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as a,h as e,i as s,j as r,k as o}from"./chunk-
|
|
1
|
+
import{g as a,h as e,i as s,j as r,k as o}from"./chunk-EFWBHWHP.mjs";import"./chunk-TSQEBZYO.mjs";export{e as MemoryJournalStore,s as MemoryService,a as computeTransactionHash,o as parseContextualReviewQuery,r as parseOwnerReviewCommand};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Annotation, P as PopmeltSubjectAdapter } from './subjects-
|
|
2
|
-
import { d as ImageRecognitionProvider, D as VideoTrackingProvider, t as VideoSegmentationProvider, f as ImageSubjectAdapterOptions, v as VideoSubjectAdapterOptions } from './video-adapter-
|
|
1
|
+
import { A as Annotation, P as PopmeltSubjectAdapter } from './subjects-D_yanOQ2.mjs';
|
|
2
|
+
import { d as ImageRecognitionProvider, D as VideoTrackingProvider, t as VideoSegmentationProvider, f as ImageSubjectAdapterOptions, v as VideoSubjectAdapterOptions } from './video-adapter-CWpR4NSt.mjs';
|
|
3
3
|
|
|
4
4
|
type CommentMetaValue = null | boolean | number | string | CommentMetaValue[] | {
|
|
5
5
|
[key: string]: CommentMetaValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m,b as n,c as s,d as r,e as t,f as o}from"./chunk-
|
|
1
|
+
import{a as m,b as n,c as s,d as r,e as t,f as o}from"./chunk-ACBGA4NT.mjs";import"./chunk-O2OYVEL7.mjs";import"./chunk-7MYZEG74.mjs";import"./chunk-TCGXG7UA.mjs";import"./chunk-MPEVFQ43.mjs";import"./chunk-AYZUOBFI.mjs";import"./chunk-BRAEIDNX.mjs";import"./chunk-PYGRFSUU.mjs";import"./chunk-6EO73WJN.mjs";import"./chunk-EFWBHWHP.mjs";import"./chunk-TSQEBZYO.mjs";import"./chunk-JJK4LAN6.mjs";import"./chunk-IW7V7WNL.mjs";import"./chunk-HKHZBKAN.mjs";import"./chunk-CIKFUS7J.mjs";import"./chunk-UTP56NCY.mjs";import"./chunk-GLF7Z5IR.mjs";import"./chunk-YMWXWXPV.mjs";import"./chunk-KF73S7MG.mjs";import"./chunk-NOHXTT24.mjs";export{m as agentCredentialFile,t as callPeer,r as canvasChatRequest,s as enrolledCanvasEndpoint,o as runPeerCommand,n as sendThreadNote};
|
package/dist/plugin-astro.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as t}from"./chunk-
|
|
1
|
+
import{b as t}from"./chunk-Y3WTPLDG.mjs";import"./chunk-F3VZQGPM.mjs";import"./chunk-JJK4LAN6.mjs";import"./chunk-IW7V7WNL.mjs";import"./chunk-HKHZBKAN.mjs";import"./chunk-CIKFUS7J.mjs";import"./chunk-UTP56NCY.mjs";import"./chunk-GLF7Z5IR.mjs";import"./chunk-YMWXWXPV.mjs";import"./chunk-KF73S7MG.mjs";import"./chunk-FIOGWEZA.mjs";import"./chunk-NOHXTT24.mjs";import{fileURLToPath as e}from"url";function n(n={}){return{name:"popmelt",hooks:{"astro:config:setup"({command:r,config:i,updateConfig:s,injectScript:a}){if("dev"!==r||"1"===process.env.POPMELT_PLANE_RENDERER)return;let{client:m=!0,...d}=n;s({vite:{plugins:[t({...d,projectRoot:n.projectRoot??e(i.root)},"astro")],optimizeDeps:{include:m?["react","react/jsx-runtime","react/jsx-dev-runtime","react-dom","react-dom/client"]:[]}}}),a("page",m?o:"\nimport { bridgeUrl, projectId } from 'virtual:popmelt/bridge';\nif (bridgeUrl) window.__POPMELT_BRIDGE_URL__ = bridgeUrl;\nif (projectId) window.__POPMELT_PROJECT_ID__ = projectId;\n")}}}}var o="\nimport { bridgeUrl, projectId } from 'virtual:popmelt/bridge';\nimport { navigate } from 'astro:transitions/client';\nlet disposed = false;\nlet mounting;\nconst start = () => {\n if (disposed || mounting || !bridgeUrl || !projectId) return;\n mounting = Promise.resolve(import.meta.hot?.data.cleanup).then(async () => {\n if (disposed) return;\n const { mountPopmelt } = await import('@popmelt.com/core/browser');\n if (disposed) return;\n const handle = await mountPopmelt({ enabled: true, bridgeUrl, projectId, navigate });\n return handle;\n }).catch(error => { console.warn('[popmelt] startup failed:', error); });\n};\n// The standalone hosts live outside body, so Astro's body swaps retain them.\ndocument.addEventListener('astro:page-load', start);\nif (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', start, { once: true });\nelse start();\nimport.meta.hot?.dispose(data => {\n if (disposed) return;\n disposed = true;\n document.removeEventListener('astro:page-load', start);\n document.removeEventListener('DOMContentLoaded', start);\n data.cleanup = mounting?.then(handle => handle?.unmount());\n});\n";export{n as popmelt};
|
package/dist/plugin-nuxt.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as e,c as t}from"./chunk-
|
|
1
|
+
import{b as e,c as t}from"./chunk-FIOGWEZA.mjs";import{b as o}from"./chunk-NOHXTT24.mjs";import{addPluginTemplate as n,defineNuxtModule as r}from"nuxt/kit";var p=r({meta:{name:"@popmelt.com/core/nuxt",configKey:"popmelt"},async setup(r,p){if(!p.options.dev||"1"===process.env.POPMELT_PLANE_RENDERER)return;let s={config:{server:p.options.devServer},middlewares:{use(){}}},i=await e({...r,projectRoot:r.projectRoot??p.options.rootDir},s,3e3,void 0,"nuxt");if(null===i.port)return;i.updateOrigin&&p.hook("listen",async(e,t)=>{let o=e.address();if(!o||"string"==typeof o)return;let n="127.0.0.1"===o.address?"127.0.0.1":"::1"===o.address?"[::1]":"localhost";await i.updateOrigin(`${t.https?"https":"http"}://${n}:${o.port}`)}),p.hook("nitro:config",e=>{e.routeRules??={},Object.assign(e.routeRules,{...i.bootstrap?.planeApps&&{"/__popmelt/planes/**":{proxy:{to:`http://127.0.0.1:${i.port}/__popmelt/planes/**`,headers:{"x-popmelt-project-id":i.projectId}}}},...i.bootstrap&&{"/__popmelt/host":{proxy:`http://127.0.0.1:${i.port}/__popmelt/host?projectId=${encodeURIComponent(i.projectId)}`}},"/popmelt/phone":{proxy:`http://127.0.0.1:${i.port}/phone-host`}})}),p.hook("vite:extend",({config:e})=>{e.server??={},e.server.fs??={},e.server.fs.strict=!0,e.server.fs.deny=[...e.server.fs.deny??[".env",".env.*","*.{crt,pem}","**/.git/**"],"**/.popmelt","**/.popmelt/**"],e.server.watch??={};let t=e.server.watch.ignored;e.server.watch.ignored=[...Array.isArray(t)?t:t?[t]:[],"**/.popmelt/**"],e.optimizeDeps??={},e.optimizeDeps.include=[...new Set([...e.optimizeDeps.include??[],"react","react/jsx-runtime","react/jsx-dev-runtime","react-dom","react-dom/client"])]});let d=await t(i,s),a=d?o(d):void 0;p.hook("close",async()=>{a?.(),await(d?.release())}),n({filename:"popmelt.client.mjs",mode:"client",getContents:()=>`import { defineNuxtPlugin } from '#app';\nexport default defineNuxtPlugin((nuxtApp) => {\n let disposed = false;\n let mounting;\n const bridgeUrl = ${JSON.stringify(`http://localhost:${i.port}`)};\n const projectId = ${JSON.stringify(i.projectId)};\n ${i.bootstrap?`window.__POPMELT_PARTICIPANTS__=${JSON.stringify(i.bootstrap)};`:""}\n const dispose = () => {\n if (disposed) return;\n disposed = true;\n void mounting?.then(handle => handle?.unmount());\n };\n nuxtApp.hook('app:mounted', () => {\n if (disposed || mounting) return;\n mounting = import('@popmelt.com/core/browser').then(({ mountPopmelt }) => {\n if (disposed) return;\n return mountPopmelt({\n enabled: true,\n bridgeUrl,\n projectId,\n navigate: (url) => nuxtApp.$router.push(url),\n });\n }).then(handle => {\n if (disposed) handle?.unmount();\n return handle;\n }).catch(error => { console.warn('[popmelt] startup failed:', error); });\n });\n nuxtApp.vueApp.onUnmount(dispose);\n import.meta.hot?.dispose(dispose);\n});`})}});export{p as default};
|
package/dist/plugin-vite.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m,b as p}from"./chunk-
|
|
1
|
+
import{a as m,b as p}from"./chunk-Y3WTPLDG.mjs";import"./chunk-F3VZQGPM.mjs";import"./chunk-JJK4LAN6.mjs";import"./chunk-IW7V7WNL.mjs";import"./chunk-HKHZBKAN.mjs";import"./chunk-CIKFUS7J.mjs";import"./chunk-UTP56NCY.mjs";import"./chunk-GLF7Z5IR.mjs";import"./chunk-YMWXWXPV.mjs";import"./chunk-KF73S7MG.mjs";import"./chunk-FIOGWEZA.mjs";import"./chunk-NOHXTT24.mjs";export{m as participantPlanes,p as popmelt};
|
package/dist/server.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s,b as t,c as a}from"./chunk-
|
|
1
|
+
import{a as s,b as t,c as a}from"./chunk-7MYZEG74.mjs";import"./chunk-TCGXG7UA.mjs";import"./chunk-MPEVFQ43.mjs";import"./chunk-AYZUOBFI.mjs";import{i as m,j as r,k as i,l as p}from"./chunk-BRAEIDNX.mjs";import"./chunk-PYGRFSUU.mjs";import"./chunk-6EO73WJN.mjs";import{b as n,c as o}from"./chunk-EFWBHWHP.mjs";import"./chunk-TSQEBZYO.mjs";import{b as c,d as e,e as u}from"./chunk-JJK4LAN6.mjs";import{d as j}from"./chunk-IW7V7WNL.mjs";import"./chunk-HKHZBKAN.mjs";import"./chunk-CIKFUS7J.mjs";import"./chunk-UTP56NCY.mjs";import"./chunk-GLF7Z5IR.mjs";import"./chunk-YMWXWXPV.mjs";import"./chunk-KF73S7MG.mjs";import"./chunk-NOHXTT24.mjs";export{p as ImprintService,m as ImprintStore,u as createParticipantDevBootstrap,c as createParticipantGuestAccess,e as createParticipantHostEntry,j as createParticipantPlaneApps,i as formatImprintPrompt,n as imprintExplanationRef,s as managedParticipantBrowser,r as parseImprintDraft,o as qualifyImprintRelation,a as startDevelopmentSession,t as startPopmelt};
|
|
@@ -534,6 +534,8 @@ type PopmeltSubjectAdapter = {
|
|
|
534
534
|
restoreSubject?(key: string, elementInfo: ElementInfo): PopmeltSubject | null;
|
|
535
535
|
/** Paint a live hover accent on this subject. Release it when hover ends. */
|
|
536
536
|
highlightHover?(key: string, color: string): (() => void) | undefined;
|
|
537
|
+
/** Stable camera/projection identity for comparing two rendered observations. */
|
|
538
|
+
getViewKey?(): string;
|
|
537
539
|
/** Optional clean subject crop, without Popmelt's overlay. */
|
|
538
540
|
captureSubject?(key: string): Blob | null | Promise<Blob | null>;
|
|
539
541
|
/** Optional bitmap capture for renderer surfaces that DOM cloning cannot read. */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";export{M as createProposalSession,N as tasteProposalSession}from"./chunk-CRZEJJI6.mjs";import"./chunk-XTOCFTVW.mjs";import"./chunk-YGP6PPOZ.mjs";
|