@popmelt.com/core 0.23.0 → 0.24.1
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 +30 -0
- package/claude-plugin/.claude-plugin/plugin.json +1 -1
- package/claude-plugin/skills/popmelt-core/SKILL.md +1 -0
- package/codex-plugin/.codex-plugin/plugin.json +1 -1
- package/codex-plugin/skills/popmelt-core/SKILL.md +1 -0
- package/dist/ParticipantRuntime-SS2IDRLA.mjs +139 -0
- package/dist/PreviewRuntime-NGTLOEX3.mjs +2 -0
- package/dist/adapter-react-three-fiber.d.mts +1 -1
- package/dist/adapter-react-three-fiber.mjs +1 -1
- package/dist/bridge-entry.mjs +88 -86
- package/dist/browser-runtime-HYKTQV6Q.mjs +2 -0
- package/dist/browser.d.mts +4 -3
- package/dist/browser.mjs +1 -1
- package/dist/{chunk-4IUZX7YN.mjs → chunk-3MO7Z4DV.mjs} +1 -1
- package/dist/chunk-3XSTOVWX.mjs +2 -0
- package/dist/{chunk-EXYZQ76K.mjs → chunk-4WAFUF5Y.mjs} +1 -1
- package/dist/chunk-7W3RBRFM.mjs +301 -0
- package/dist/chunk-B5KUI32Q.mjs +413 -0
- package/dist/chunk-ENERPQJN.mjs +2 -0
- package/dist/chunk-EX63NVDN.mjs +2 -0
- package/dist/chunk-J3UIBBU2.mjs +1 -1
- package/dist/chunk-N2ZEZCHO.mjs +1 -1
- package/dist/cli.mjs +101 -97
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +1 -1
- package/dist/media.d.mts +3 -3
- package/dist/media.mjs +1 -1
- package/dist/{options-5yRxW1AX.d.mts → participantBootstrap-BQHbHI4r.d.mts} +24 -3
- package/dist/plugin-astro.d.mts +2 -0
- package/dist/plugin-astro.mjs +3 -3
- package/dist/plugin-nuxt.d.mts +3 -1
- package/dist/plugin-nuxt.mjs +2 -1
- package/dist/plugin-vite.mjs +1 -1
- package/dist/server-OPX7SKA7.mjs +228 -0
- package/dist/server.d.mts +121 -1
- package/dist/server.mjs +98 -87
- package/dist/{subjects-DzjWdlAk.d.mts → subjects-BM3Smdow.d.mts} +6 -1
- package/dist/{video-adapter-CCLbp86L.d.mts → video-adapter-Gm5gmoiz.d.mts} +1 -1
- package/package.json +25 -23
- package/dist/browser-runtime-FWYFRPVT.mjs +0 -2
- package/dist/chunk-VHUJQWVP.mjs +0 -453
- package/dist/server-7AUQAYVY.mjs +0 -217
|
@@ -31,7 +31,7 @@ type TargetFingerprint = {
|
|
|
31
31
|
text?: string;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
type AnnotationLifecycleStatus = 'pending' | 'sending' | 'in_flight' | 'resolved' | 'needs_review' | 'dismissed' | 'waiting_input' | 'failed';
|
|
34
|
+
type AnnotationLifecycleStatus = 'pending' | 'sending' | 'awaiting_review' | 'in_flight' | 'resolved' | 'needs_review' | 'dismissed' | 'waiting_input' | 'failed';
|
|
35
35
|
type ScopeBreadth = 'instance' | 'pattern';
|
|
36
36
|
type ScopeTarget = 'element' | 'component' | 'token';
|
|
37
37
|
type Scope = {
|
|
@@ -148,6 +148,11 @@ type StyleChange = {
|
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
150
|
type StyleModification = {
|
|
151
|
+
/** Receipt-derived presentation only; never written to the editable draft. */
|
|
152
|
+
awaitingReview?: {
|
|
153
|
+
submissionId: string;
|
|
154
|
+
threadId: string;
|
|
155
|
+
};
|
|
151
156
|
selector: string;
|
|
152
157
|
durableSelector?: string;
|
|
153
158
|
element: ElementInfo;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PopmeltSubjectAdapter, f as PopmeltSubject, E as ElementInfo, h as PopmeltSubjectCreationSession, g as PopmeltSubjectBounds, i as PopmeltSubjectOutlinePoint, j as PopmeltSubjectTrackingAnchor } from './subjects-
|
|
1
|
+
import { P as PopmeltSubjectAdapter, f as PopmeltSubject, E as ElementInfo, h as PopmeltSubjectCreationSession, g as PopmeltSubjectBounds, i as PopmeltSubjectOutlinePoint, j as PopmeltSubjectTrackingAnchor } from './subjects-BM3Smdow.mjs';
|
|
2
2
|
|
|
3
3
|
/** Geometry is normalized against the loaded image, not its rendered size. */
|
|
4
4
|
type ImageObjectBox = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popmelt.com/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.1",
|
|
4
4
|
"description": "A tiny, powerful design layer for humans and AI",
|
|
5
5
|
"license": "PolyForm-Shield-1.0.0",
|
|
6
6
|
"author": "Popmelt <reb@popmelt.com> (https://popmelt.com)",
|
|
@@ -24,9 +24,30 @@
|
|
|
24
24
|
"popmelt": "dist/cli.mjs"
|
|
25
25
|
},
|
|
26
26
|
"sideEffects": false,
|
|
27
|
+
"packageManager": "pnpm@9.12.0",
|
|
27
28
|
"engines": {
|
|
28
29
|
"node": ">=18.0.0"
|
|
29
30
|
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "tsup",
|
|
33
|
+
"clean": "git clean -xdf .turbo node_modules dist",
|
|
34
|
+
"format": "prettier --check \"**/*.{ts,tsx}\"",
|
|
35
|
+
"lint": "eslint . && node scripts/check-eslint-suppressions.mjs",
|
|
36
|
+
"pack:smoke": "node scripts/pack-smoke.mjs",
|
|
37
|
+
"peer:smoke": "node scripts/peer-compat-smoke.mjs",
|
|
38
|
+
"vue:smoke": "pnpm run build && node scripts/vue-install-smoke.mjs",
|
|
39
|
+
"nuxt:smoke": "pnpm run build && node scripts/nuxt-install-smoke.mjs",
|
|
40
|
+
"astro:smoke": "pnpm run build && node scripts/framework-install-smoke.mjs astro",
|
|
41
|
+
"svelte:smoke": "pnpm run build && node scripts/framework-install-smoke.mjs svelte && node scripts/framework-install-smoke.mjs sveltekit",
|
|
42
|
+
"prepublishOnly": "pnpm run verify",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"test:coverage": "vitest run --coverage.enabled",
|
|
45
|
+
"test:browser": "pnpm run build && tsc --noEmit -p tsconfig.browser.json && vitest run --config vitest.browser.config.ts",
|
|
46
|
+
"test:browser:mutation": "node e2e/check-lifecycle-mutation.mjs",
|
|
47
|
+
"test:watch": "vitest",
|
|
48
|
+
"typecheck": "tsc --noEmit --incremental false",
|
|
49
|
+
"verify": "pnpm run typecheck && pnpm run format && pnpm run lint && pnpm run test:coverage && pnpm run build && pnpm run pack:smoke"
|
|
50
|
+
},
|
|
30
51
|
"exports": {
|
|
31
52
|
".": {
|
|
32
53
|
"types": "./dist/index.d.mts",
|
|
@@ -129,6 +150,7 @@
|
|
|
129
150
|
},
|
|
130
151
|
"devDependencies": {
|
|
131
152
|
"nuxt": "4.5.2",
|
|
153
|
+
"@kit/eslint-config": "workspace:^",
|
|
132
154
|
"@react-three/fiber": "9.7.0",
|
|
133
155
|
"@tanstack/react-router": "1.120.5",
|
|
134
156
|
"@types/react": "19.1.0",
|
|
@@ -152,26 +174,6 @@
|
|
|
152
174
|
"vite": "7.3.6",
|
|
153
175
|
"vitest": "3.2.4",
|
|
154
176
|
"vue": "3.5.42",
|
|
155
|
-
"vue-router": "5.3.1"
|
|
156
|
-
"@kit/eslint-config": "^0.2.0"
|
|
157
|
-
},
|
|
158
|
-
"scripts": {
|
|
159
|
-
"build": "tsup",
|
|
160
|
-
"clean": "git clean -xdf .turbo node_modules dist",
|
|
161
|
-
"format": "prettier --check \"**/*.{ts,tsx}\"",
|
|
162
|
-
"lint": "eslint . && node scripts/check-eslint-suppressions.mjs",
|
|
163
|
-
"pack:smoke": "node scripts/pack-smoke.mjs",
|
|
164
|
-
"peer:smoke": "node scripts/peer-compat-smoke.mjs",
|
|
165
|
-
"vue:smoke": "pnpm run build && node scripts/vue-install-smoke.mjs",
|
|
166
|
-
"nuxt:smoke": "pnpm run build && node scripts/nuxt-install-smoke.mjs",
|
|
167
|
-
"astro:smoke": "pnpm run build && node scripts/framework-install-smoke.mjs astro",
|
|
168
|
-
"svelte:smoke": "pnpm run build && node scripts/framework-install-smoke.mjs svelte && node scripts/framework-install-smoke.mjs sveltekit",
|
|
169
|
-
"test": "vitest run",
|
|
170
|
-
"test:coverage": "vitest run --coverage.enabled",
|
|
171
|
-
"test:browser": "pnpm run build && tsc --noEmit -p tsconfig.browser.json && vitest run --config vitest.browser.config.ts",
|
|
172
|
-
"test:browser:mutation": "node e2e/check-lifecycle-mutation.mjs",
|
|
173
|
-
"test:watch": "vitest",
|
|
174
|
-
"typecheck": "tsc --noEmit --incremental false",
|
|
175
|
-
"verify": "pnpm run typecheck && pnpm run format && pnpm run lint && pnpm run test:coverage && pnpm run build && pnpm run pack:smoke"
|
|
177
|
+
"vue-router": "5.3.1"
|
|
176
178
|
}
|
|
177
|
-
}
|
|
179
|
+
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import{a as t,b as e}from"./chunk-VHUJQWVP.mjs";import"./chunk-N2ZEZCHO.mjs";import"./chunk-J3UIBBU2.mjs";import{createElement as m}from"react";import{createRoot as i}from"react-dom/client";function f(r,n){let o=i(r);return o.render(m(e,n)),()=>{o.unmount(),t()}}export{f as mountBrowserRuntime};
|