@popmelt.com/core 0.38.1 → 0.40.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/README.md +5 -32
- package/claude-plugin/.claude-plugin/plugin.json +1 -1
- package/claude-plugin/skills/popmelt-core/SKILL.md +5 -1
- package/codex-plugin/.codex-plugin/plugin.json +1 -1
- package/codex-plugin/skills/popmelt-core/SKILL.md +5 -1
- package/dist/{ExploreAttachment-IIEORQP3.mjs → ExploreAttachment-DBMYVYWK.mjs} +1 -1
- package/dist/PagePreviewLayer-CVUA6CTQ.mjs +1 -0
- package/dist/ParticipantRuntime-PCBEG3Q2.mjs +1 -0
- package/dist/PhoneHostGate-FZLK4R6M.mjs +1 -0
- package/dist/PopmeltTasteConnectedPane-62LUNNWZ.mjs +1 -0
- package/dist/{PreviewRuntime-3ANAJNFO.mjs → PreviewRuntime-7EQNIOF5.mjs} +1 -1
- package/dist/SamplePlacementOverlay-LR7GZVYP.mjs +1 -0
- package/dist/ShareProjectPane-U47UTAOP.mjs +1 -0
- package/dist/SuppliedContext-F7WKJ5XO.mjs +1 -0
- package/dist/ThreadErrorCard-KPP7YUFC.mjs +1 -0
- package/dist/ThreadPanel-GOYQEF3I.mjs +1 -0
- package/dist/adapter-react-three-fiber.d.mts +4 -37
- package/dist/adapter-react-three-fiber.mjs +1 -1
- package/dist/adapter-three.d.mts +23 -228
- package/dist/adapter-three.mjs +1 -45
- package/dist/bridge-entry.mjs +1 -1
- package/dist/{bridgeSSEStream-HUFNXYPG.mjs → bridgeSSEStream-2KKFO64A.mjs} +1 -1
- package/dist/{bridgeWebSocketStream-AS22Y2FP.mjs → bridgeWebSocketStream-XTHQPBPI.mjs} +1 -1
- package/dist/browser-runtime-BBQQQLF7.mjs +1 -0
- package/dist/browser.d.mts +4 -4
- package/dist/browser.mjs +1 -1
- package/dist/canvas-chat-note-XMVKWL2J.mjs +1 -0
- package/dist/canvas-text.d.mts +38 -0
- package/dist/canvas-text.mjs +1 -0
- package/dist/{checkFixture-UNTXJKRN.mjs → checkFixture-VDRYDCUX.mjs} +1 -1
- package/dist/{chunk-UOK5LOPJ.mjs → chunk-27WBFE5X.mjs} +1 -1
- package/dist/{chunk-5F34UIKL.mjs → chunk-3EYAVOPH.mjs} +1 -1
- package/dist/chunk-4EDMISUV.mjs +1 -0
- package/dist/chunk-52OTX7DP.mjs +1 -0
- package/dist/chunk-53QOGFAT.mjs +1 -0
- package/dist/{chunk-3VOEPWRL.mjs → chunk-5TCWBNV4.mjs} +1 -1
- package/dist/chunk-6GS4BQVU.mjs +30 -0
- package/dist/{chunk-TXL2CR66.mjs → chunk-6U5JWZ4X.mjs} +1 -1
- package/dist/{chunk-WJVRGXOS.mjs → chunk-7D4BUDKG.mjs} +1 -1
- package/dist/chunk-7DXJSJCI.mjs +1 -0
- package/dist/chunk-AKUIREET.mjs +1 -0
- package/dist/chunk-B4RLDY5H.mjs +1 -0
- package/dist/{chunk-ZHXTB5IN.mjs → chunk-BDUWFDBP.mjs} +1 -1
- package/dist/chunk-C4AMAM3W.mjs +1 -0
- package/dist/{chunk-2WQXHUEQ.mjs → chunk-CR6TRUUV.mjs} +1 -1
- package/dist/{chunk-KHDXOXYF.mjs → chunk-DJFZGYX6.mjs} +1 -1
- package/dist/chunk-EHM2ZBQU.mjs +1 -0
- package/dist/{chunk-QXFBFKN6.mjs → chunk-EWTZVC7E.mjs} +1 -1
- package/dist/{chunk-BJUSVIDN.mjs → chunk-FFBBRCPC.mjs} +1 -1
- package/dist/chunk-FR6VIGJ2.mjs +1 -0
- package/dist/{chunk-GTVTUWGH.mjs → chunk-FSSHNWMO.mjs} +1 -1
- package/dist/{chunk-AEC67LMY.mjs → chunk-HC2SF7KE.mjs} +1 -1
- package/dist/chunk-HM6EBJVO.mjs +1 -0
- package/dist/chunk-HOWDQUPT.mjs +1 -0
- package/dist/{chunk-XJJDBMZI.mjs → chunk-HQVWOBYH.mjs} +1 -1
- package/dist/chunk-HTQEMKFA.mjs +1 -0
- package/dist/{chunk-GLF7Z5IR.mjs → chunk-K22VZV3V.mjs} +1 -1
- package/dist/chunk-KOHR4LAQ.mjs +1 -0
- package/dist/chunk-LLVF422C.mjs +1 -0
- package/dist/{chunk-F3VZQGPM.mjs → chunk-LUTP7QBD.mjs} +1 -1
- package/dist/chunk-MHTX52KW.mjs +1 -0
- package/dist/chunk-NC7YXD7Q.mjs +1 -0
- package/dist/{chunk-RJWFSAKE.mjs → chunk-NFO2CREV.mjs} +1 -1
- package/dist/{chunk-TCGXG7UA.mjs → chunk-OECEYJNK.mjs} +1 -1
- package/dist/{chunk-BEGAJYOY.mjs → chunk-OEJXPUAR.mjs} +1 -1
- package/dist/{chunk-FQLIJAUB.mjs → chunk-P2LMCRUN.mjs} +1 -1
- package/dist/{chunk-43BZCDGL.mjs → chunk-PQITT2QK.mjs} +1 -1
- package/dist/chunk-PQKSXNIZ.mjs +1 -0
- package/dist/chunk-RCY5N5KQ.mjs +1 -0
- package/dist/{chunk-W62YY5IT.mjs → chunk-RDB75FUD.mjs} +1 -1
- package/dist/chunk-RIGP4DAV.mjs +1 -0
- package/dist/chunk-RXC7B7SX.mjs +1 -0
- package/dist/{chunk-JAMYVQFC.mjs → chunk-T4WUQPBS.mjs} +1 -1
- package/dist/chunk-TTOCYOEH.mjs +1 -0
- package/dist/chunk-U5NROUVA.mjs +24 -0
- package/dist/chunk-UBPJIVWE.mjs +1 -0
- package/dist/{chunk-SKM4ZXV5.mjs → chunk-UFU5IA3G.mjs} +1 -1
- package/dist/chunk-UIADZXVT.mjs +1 -0
- package/dist/chunk-UPEEIAVJ.mjs +1 -0
- package/dist/{chunk-P2WAXWAZ.mjs → chunk-V5FCWXMN.mjs} +1 -1
- package/dist/chunk-VBH2YQLG.mjs +1 -0
- package/dist/chunk-VQ76TWRR.mjs +1 -0
- package/dist/chunk-WYQZ7DAK.mjs +1 -0
- package/dist/{chunk-N3MHDOMU.mjs → chunk-Y2BJZLYU.mjs} +1 -1
- package/dist/chunk-ZC2I35WD.mjs +1 -0
- package/dist/cli.mjs +1 -1
- package/dist/codex-note-context-2CHDGTG3.mjs +1 -0
- package/dist/codex-project-TIMWOCE5.mjs +1 -0
- package/dist/{codex-store-mount-WJAATWHT.mjs → codex-store-mount-MAQK6VEG.mjs} +1 -1
- package/dist/dev-server-ESGE6QNP.mjs +1 -0
- package/dist/{focus-inspection-LGIRFL2T.mjs → focus-inspection-BMDJJC5K.mjs} +1 -1
- package/dist/guest-admission.mjs +1 -1
- package/dist/guest-live-canvas.mjs +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +1 -1
- package/dist/media.d.mts +3 -3
- package/dist/memory-legacy.d.mts +43 -1
- package/dist/memory-legacy.mjs +1 -1
- package/dist/memory-store.d.mts +5 -162
- package/dist/memory-store.mjs +1 -1
- package/dist/memory.d.mts +3 -531
- package/dist/{page-interaction-TV3P6B3X.mjs → page-interaction-YXHXEYOT.mjs} +1 -1
- package/dist/{page-planes-2ZepTpen.d.mts → page-planes-Jz2yR_Wk.d.mts} +246 -2
- package/dist/{participantBootstrap-BTcD7XgB.d.mts → participantBootstrap-DDOxY-Cy.d.mts} +2 -2
- package/dist/peer-client-LPDWWFT4.mjs +1 -0
- package/dist/plugin-astro.d.mts +1 -1
- package/dist/plugin-astro.mjs +1 -1
- package/dist/plugin-nuxt.mjs +1 -1
- package/dist/plugin-vite.d.mts +1 -1
- package/dist/plugin-vite.mjs +1 -1
- package/dist/server.d.mts +6 -4
- package/dist/server.mjs +1 -1
- package/dist/shared-page-QN2XRXUE.mjs +1 -0
- package/dist/{subjects-D_yanOQ2.d.mts → subjects-cLtt9-iK.d.mts} +12 -0
- package/dist/{types-CggBG-H6.d.mts → types-XKO-uva0.d.mts} +1 -1
- package/dist/{index-CHp2bgs1.d.mts → validate-0kt2EgVe.d.mts} +7 -40
- package/dist/{video-adapter-CWpR4NSt.d.mts → video-adapter-xL95wukX.d.mts} +1 -1
- package/infra/phone-pairing/binding.mjs +105 -0
- package/infra/phone-pairing/machine-config.mjs +134 -0
- package/infra/phone-pairing/machine-service.mjs +159 -0
- package/infra/phone-pairing/machine.mjs +98 -0
- package/infra/phone-pairing/managed-install.mjs +179 -0
- package/package.json +12 -1
- package/dist/PagePreviewLayer-AFSRCBAX.mjs +0 -1
- package/dist/ParticipantRuntime-ZNEFG34O.mjs +0 -1
- package/dist/PhoneHostGate-OCIMKPLM.mjs +0 -1
- package/dist/PopmeltTasteConnectedPane-N2A5XPRO.mjs +0 -1
- package/dist/SamplePlacementOverlay-EOJW6XGE.mjs +0 -1
- package/dist/ShareProjectPane-VYWTF3FW.mjs +0 -1
- package/dist/SuppliedContext-3S4HT6U6.mjs +0 -1
- package/dist/ThreadErrorCard-CTMVMETS.mjs +0 -1
- package/dist/ThreadPanel-G7OKSWD4.mjs +0 -1
- package/dist/browser-runtime-Q26JF5EA.mjs +0 -1
- package/dist/canvas-chat-note-OLVVP55Y.mjs +0 -1
- package/dist/chunk-25EXQOPI.mjs +0 -1
- package/dist/chunk-2IWVTTYX.mjs +0 -1
- package/dist/chunk-3OGSLX4V.mjs +0 -1
- package/dist/chunk-AGCS65LT.mjs +0 -1
- package/dist/chunk-AYZUOBFI.mjs +0 -1
- package/dist/chunk-B3RA4XAR.mjs +0 -1
- package/dist/chunk-BOZVNUHJ.mjs +0 -1
- package/dist/chunk-DBCBG5J6.mjs +0 -1
- package/dist/chunk-EFWBHWHP.mjs +0 -1
- package/dist/chunk-FYURSPM3.mjs +0 -1
- package/dist/chunk-G6BN5TAZ.mjs +0 -1
- package/dist/chunk-IW7V7WNL.mjs +0 -1
- package/dist/chunk-JJK4LAN6.mjs +0 -1
- package/dist/chunk-JJRKR4X3.mjs +0 -1
- package/dist/chunk-KF73S7MG.mjs +0 -1
- package/dist/chunk-KL5ODVJA.mjs +0 -1
- package/dist/chunk-L356S4EY.mjs +0 -1
- package/dist/chunk-OZBMHEOD.mjs +0 -1
- package/dist/chunk-QQPUMPKU.mjs +0 -1
- package/dist/chunk-TEXVTTWA.mjs +0 -1
- package/dist/chunk-TSQEBZYO.mjs +0 -1
- package/dist/chunk-UTP56NCY.mjs +0 -1
- package/dist/chunk-VG4ZV2OT.mjs +0 -30
- package/dist/chunk-WC7B5NU3.mjs +0 -24
- package/dist/chunk-WNOLXY3Y.mjs +0 -1
- package/dist/codex-note-context-4X7I5AIJ.mjs +0 -1
- package/dist/codex-project-Q6YT5P37.mjs +0 -1
- package/dist/dev-server-NROXLQKM.mjs +0 -1
- package/dist/peer-client-DWC5F6JN.mjs +0 -1
- package/dist/shared-page-GO76UP7I.mjs +0 -1
- /package/dist/{chunk-L45FX4SU.mjs → chunk-ERPJ6LXX.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, 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-
|
|
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-
|
|
3
|
+
import { P as PopmeltOptions, C as CommentMeta } from './participantBootstrap-DDOxY-Cy.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-DDOxY-Cy.mjs';
|
|
5
|
+
import { f as ImageSubjectAdapterOptions, v as VideoSubjectAdapterOptions } from './video-adapter-xL95wukX.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-cLtt9-iK.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-cLtt9-iK.mjs';
|
|
8
8
|
|
|
9
9
|
/** Client-side envelope used for persisted and streaming bridge events. */
|
|
10
10
|
type BridgeEvent = {
|
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-HTQEMKFA.mjs";import"./chunk-3EYAVOPH.mjs";import"./chunk-ELKVFX2O.mjs";import"./chunk-AWWUJO3N.mjs";import"./chunk-Q6N77LIS.mjs";import"./chunk-U5NROUVA.mjs";import"./chunk-RXC7B7SX.mjs";import"./chunk-BDUWFDBP.mjs";import"./chunk-DJFZGYX6.mjs";import"./chunk-SOGN7S54.mjs";import"./chunk-AKUIREET.mjs";import"./chunk-PQITT2QK.mjs";import"./chunk-B4RLDY5H.mjs";import"./chunk-PH2MLB3T.mjs";import"./chunk-FFBBRCPC.mjs";import"./chunk-XTOCFTVW.mjs";import"./chunk-Q74FBX2I.mjs";export{a as isPopmeltPreview}from"./chunk-KCDHP4N3.mjs";import"./chunk-ZC2I35WD.mjs";import"./chunk-OVZ4CQGM.mjs";import"./chunk-FHCKFQBY.mjs";import"./chunk-APP5IYTE.mjs";import"./chunk-WIJSWSNF.mjs";import"./chunk-T4WUQPBS.mjs";import"./chunk-52OTX7DP.mjs";import"./chunk-4EDMISUV.mjs";import"./chunk-TMSGNHXH.mjs";import"./chunk-7DXJSJCI.mjs";import"./chunk-G2ZHJXHZ.mjs";import"./chunk-53SKVMWR.mjs";import"./chunk-RDB75FUD.mjs";import"./chunk-3LZQLRZ2.mjs";import"./chunk-NFO2CREV.mjs";import"./chunk-5IZHN3A7.mjs";import"./chunk-V5FCWXMN.mjs";import"./chunk-RK6UROPO.mjs";import"./chunk-AOTDTBQO.mjs";import"./chunk-2F2BVGFH.mjs";import"./chunk-RWZ7SVMO.mjs";import"./chunk-HAZXZ5TU.mjs";import"./chunk-TVIKC33M.mjs";import"./chunk-VBH2YQLG.mjs";import"./chunk-VXRRHXUP.mjs";import"./chunk-WP2SHSCG.mjs";import"./chunk-AAMUU2QA.mjs";import"./chunk-LH7HKUCK.mjs";import"./chunk-VQ76TWRR.mjs";import"./chunk-X6I6KQDG.mjs";import"./chunk-ATLUO4G7.mjs";import"./chunk-UPEEIAVJ.mjs";import"./chunk-C2ZSNUXQ.mjs";import"./chunk-TTOCYOEH.mjs";import"./chunk-FR6VIGJ2.mjs";import"./chunk-EILBHZDX.mjs";import"./chunk-ZVDKW7TO.mjs";import"./chunk-HQVWOBYH.mjs";import"./chunk-Q6C7ZA3H.mjs";import"./chunk-OREALBUO.mjs";import"./chunk-CK3CDA3L.mjs";import"./chunk-7D4BUDKG.mjs";import"./chunk-B4DYUYX4.mjs";import"./chunk-OEJXPUAR.mjs";import"./chunk-HM6EBJVO.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";
|
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-xL95wukX.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-xL95wukX.mjs';
|
|
3
|
+
import { a as PopmeltSubjectBounds } from './subjects-cLtt9-iK.mjs';
|
|
4
4
|
|
|
5
5
|
declare function unprojectImagePoint(image: HTMLImageElement, clientPoint: {
|
|
6
6
|
x: number;
|
package/dist/memory-legacy.d.mts
CHANGED
|
@@ -1 +1,43 @@
|
|
|
1
|
-
|
|
1
|
+
import { af as SchemaIssue, P as ProjectMemoryBundle } from './validate-0kt2EgVe.mjs';
|
|
2
|
+
|
|
3
|
+
type LegacyImportIssue = {
|
|
4
|
+
severity: 'info' | 'warning' | 'error';
|
|
5
|
+
code: string;
|
|
6
|
+
source?: string;
|
|
7
|
+
message: string;
|
|
8
|
+
};
|
|
9
|
+
type LegacyImportReport = {
|
|
10
|
+
projectRoot: string;
|
|
11
|
+
source: {
|
|
12
|
+
threads: number;
|
|
13
|
+
messages: number;
|
|
14
|
+
decisionEnvelopes: number;
|
|
15
|
+
modelEntries: number;
|
|
16
|
+
artifactsReferenced: number;
|
|
17
|
+
};
|
|
18
|
+
imported: Record<string, number>;
|
|
19
|
+
unresolvedAcceptance: number;
|
|
20
|
+
deferredModelEntries: number;
|
|
21
|
+
proofCases: Array<{
|
|
22
|
+
legacyId: string;
|
|
23
|
+
threadFound: boolean;
|
|
24
|
+
decisionEnvelopeFound: boolean;
|
|
25
|
+
recordIds: string[];
|
|
26
|
+
}>;
|
|
27
|
+
issues: LegacyImportIssue[];
|
|
28
|
+
schemaIssues: SchemaIssue[];
|
|
29
|
+
};
|
|
30
|
+
type LegacyImportResult = {
|
|
31
|
+
bundle: ProjectMemoryBundle;
|
|
32
|
+
report: LegacyImportReport;
|
|
33
|
+
};
|
|
34
|
+
type LegacyImportOptions = {
|
|
35
|
+
projectRoot: string;
|
|
36
|
+
projectKey?: string;
|
|
37
|
+
proofCaseIds?: string[];
|
|
38
|
+
writerVersion?: string;
|
|
39
|
+
};
|
|
40
|
+
declare function legacyUuidV7(namespace: string, kind: string, legacyId: string, occurredAt: number): string;
|
|
41
|
+
declare function importLegacyProject(options: LegacyImportOptions): Promise<LegacyImportResult>;
|
|
42
|
+
|
|
43
|
+
export { type LegacyImportIssue, type LegacyImportOptions, type LegacyImportReport, type LegacyImportResult, importLegacyProject, legacyUuidV7 };
|
package/dist/memory-legacy.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a,b as o}from"./chunk-KOHR4LAQ.mjs";export{o as importLegacyProject,a as legacyUuidV7};
|
package/dist/memory-store.d.mts
CHANGED
|
@@ -1,87 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ReviewProjectionUpdate, OwnerReviewActionPlan, selectContextualReviewPackets, ContextualReviewQuery, retrieveActionPacket, OwnerReviewCommand, OwnerReviewPlanResult } from './memory.mjs';
|
|
2
|
+
import { P as ProjectMemoryBundle, C as CanonicalRecord, L as LifecycleEvent, R as RelationshipRecord, A as ArtifactManifestEntry, T as Tombstone, D as DecisionKind, I as IterationOutcome, a as ProposalRecord, b as IterationRecord, c as DecisionRecord, M as ModelEntryRecord, J as JsonValue } from './validate-0kt2EgVe.mjs';
|
|
3
|
+
import { I as ImprintThreadSummary, a as ImprintGroundingAction, b as ImprintView } from './types-XKO-uva0.mjs';
|
|
4
|
+
import { M as MemoryReviewReceipt } from './page-planes-Jz2yR_Wk.mjs';
|
|
4
5
|
import './participantBootstrap-BuTrTQbo.mjs';
|
|
6
|
+
import { LegacyImportOptions, LegacyImportReport } from './memory-legacy.mjs';
|
|
5
7
|
import 'node:http';
|
|
6
8
|
import 'vite';
|
|
7
9
|
|
|
8
|
-
type ReviewCommandBase = {
|
|
9
|
-
proposalId: MemoryId;
|
|
10
|
-
participantId: MemoryId;
|
|
11
|
-
authority: AuthorityContext;
|
|
12
|
-
occurredAt: Timestamp;
|
|
13
|
-
sourceRefs?: SourceReference[];
|
|
14
|
-
};
|
|
15
|
-
type AcceptReviewCommand = ReviewCommandBase & {
|
|
16
|
-
action: 'accept';
|
|
17
|
-
eventId: MemoryId;
|
|
18
|
-
decisionId: MemoryId;
|
|
19
|
-
kind: DecisionKind;
|
|
20
|
-
rationale?: string;
|
|
21
|
-
reason: string;
|
|
22
|
-
};
|
|
23
|
-
type EditAndAcceptReviewCommand = ReviewCommandBase & {
|
|
24
|
-
action: 'edit_and_accept';
|
|
25
|
-
withdrawalEventId: MemoryId;
|
|
26
|
-
replacementProposalId: MemoryId;
|
|
27
|
-
acceptanceEventId: MemoryId;
|
|
28
|
-
decisionId: MemoryId;
|
|
29
|
-
relationshipId: MemoryId;
|
|
30
|
-
claim: string;
|
|
31
|
-
kind: DecisionKind;
|
|
32
|
-
subjects: DecisionSubject[];
|
|
33
|
-
subjectSemantics?: string;
|
|
34
|
-
rationale?: string;
|
|
35
|
-
reason: string;
|
|
36
|
-
};
|
|
37
|
-
type RejectReviewCommand = ReviewCommandBase & {
|
|
38
|
-
action: 'reject';
|
|
39
|
-
eventId: MemoryId;
|
|
40
|
-
reason: string;
|
|
41
|
-
};
|
|
42
|
-
type DeferReviewCommand = ReviewCommandBase & {
|
|
43
|
-
action: 'defer';
|
|
44
|
-
eventId: MemoryId;
|
|
45
|
-
reason?: string;
|
|
46
|
-
context: Omit<ProposalDeferralContext, 'kind'>;
|
|
47
|
-
};
|
|
48
|
-
type OwnerReviewCommand = AcceptReviewCommand | EditAndAcceptReviewCommand | RejectReviewCommand | DeferReviewCommand;
|
|
49
|
-
type ReviewProjectionUpdate = {
|
|
50
|
-
entityType: 'proposal';
|
|
51
|
-
entityId: MemoryId;
|
|
52
|
-
fromState: ProposalRecord['state'];
|
|
53
|
-
state: ProposalRecord['state'];
|
|
54
|
-
} | {
|
|
55
|
-
entityType: 'decision';
|
|
56
|
-
entityId: MemoryId;
|
|
57
|
-
fromState: DecisionRecord['state'];
|
|
58
|
-
state: DecisionRecord['state'];
|
|
59
|
-
};
|
|
60
|
-
type OwnerReviewActionPlan = {
|
|
61
|
-
action: OwnerReviewCommand['action'];
|
|
62
|
-
proposalId: MemoryId;
|
|
63
|
-
append: {
|
|
64
|
-
records: CanonicalRecord[];
|
|
65
|
-
events: LifecycleEvent[];
|
|
66
|
-
relationships: RelationshipRecord[];
|
|
67
|
-
};
|
|
68
|
-
projectionUpdates: ReviewProjectionUpdate[];
|
|
69
|
-
resultRefs: Array<{
|
|
70
|
-
entityType: 'proposal' | 'decision';
|
|
71
|
-
entityId: MemoryId;
|
|
72
|
-
}>;
|
|
73
|
-
};
|
|
74
|
-
type OwnerReviewPlanResult = {
|
|
75
|
-
ok: true;
|
|
76
|
-
plan: OwnerReviewActionPlan;
|
|
77
|
-
} | {
|
|
78
|
-
ok: false;
|
|
79
|
-
errors: Array<{
|
|
80
|
-
code: string;
|
|
81
|
-
message: string;
|
|
82
|
-
}>;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
10
|
type MemoryJournalMutation = {
|
|
86
11
|
records: CanonicalRecord[];
|
|
87
12
|
/** Targeted replacement for revisable advisory records; other truth stays event-driven. */
|
|
@@ -157,88 +82,6 @@ declare class MemoryJournalStore {
|
|
|
157
82
|
private withWriterLock;
|
|
158
83
|
}
|
|
159
84
|
|
|
160
|
-
type RetrievalQuery = {
|
|
161
|
-
action?: string;
|
|
162
|
-
text?: string;
|
|
163
|
-
subjectIds?: MemoryId[];
|
|
164
|
-
subjectHints?: string[];
|
|
165
|
-
maxEstimatedTokens?: number;
|
|
166
|
-
maxDecisions?: number;
|
|
167
|
-
retrievedAt?: string;
|
|
168
|
-
candidateDecisionIds?: MemoryId[];
|
|
169
|
-
};
|
|
170
|
-
declare function retrieveActionPacket(bundle: ProjectMemoryBundle, query: RetrievalQuery): RetrievalPacket;
|
|
171
|
-
|
|
172
|
-
type ContextualReviewQuery = {
|
|
173
|
-
action?: string;
|
|
174
|
-
text?: string;
|
|
175
|
-
subjectIds?: MemoryId[];
|
|
176
|
-
subjectHints?: string[];
|
|
177
|
-
maxPackets?: number;
|
|
178
|
-
maxEstimatedTokens?: number;
|
|
179
|
-
generatedAt?: Timestamp;
|
|
180
|
-
candidateProposalIds?: MemoryId[];
|
|
181
|
-
candidateDecisionIds?: MemoryId[];
|
|
182
|
-
resurface?: {
|
|
183
|
-
differentAction?: boolean;
|
|
184
|
-
newEvidence?: boolean;
|
|
185
|
-
newConflict?: boolean;
|
|
186
|
-
ownerRequested?: boolean;
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
type ContextualSubjectMatch = {
|
|
190
|
-
subjectId: MemoryId;
|
|
191
|
-
label: string;
|
|
192
|
-
confidence: 'exact' | 'strong' | 'weak';
|
|
193
|
-
matchedBy: 'id' | 'label' | 'alias' | 'locator' | 'query_text';
|
|
194
|
-
};
|
|
195
|
-
type OwnerReviewAction = 'accept' | 'edit_and_accept' | 'split' | 'bundle' | 'reject' | 'defer' | 'request_evidence';
|
|
196
|
-
type ContextualReviewPacket = {
|
|
197
|
-
contractVersion: 1;
|
|
198
|
-
packetId: string;
|
|
199
|
-
projectId: MemoryId;
|
|
200
|
-
generatedAt: Timestamp;
|
|
201
|
-
trigger: {
|
|
202
|
-
action?: string;
|
|
203
|
-
reason: string;
|
|
204
|
-
subjectMatches: ContextualSubjectMatch[];
|
|
205
|
-
};
|
|
206
|
-
proposal: {
|
|
207
|
-
id: MemoryId;
|
|
208
|
-
claim: string;
|
|
209
|
-
state: 'pending' | 'deferred';
|
|
210
|
-
proposedKind?: DecisionKind;
|
|
211
|
-
subjectIds: MemoryId[];
|
|
212
|
-
origin: ProposalRecord['origin']['mode'];
|
|
213
|
-
};
|
|
214
|
-
authority: 'unaccepted';
|
|
215
|
-
presentation: 'advisory' | 'surface_before_action';
|
|
216
|
-
implementation: {
|
|
217
|
-
state: 'none_found' | 'attempted' | 'completed' | 'mixed';
|
|
218
|
-
attemptIds: MemoryId[];
|
|
219
|
-
};
|
|
220
|
-
evidence: {
|
|
221
|
-
sourceCount: number;
|
|
222
|
-
sourceRefs: SourceReference[];
|
|
223
|
-
};
|
|
224
|
-
actions: OwnerReviewAction[];
|
|
225
|
-
expansionRefs: SourceReference[];
|
|
226
|
-
estimatedTokens: number;
|
|
227
|
-
};
|
|
228
|
-
type ContextualReviewSelection = {
|
|
229
|
-
packets: ContextualReviewPacket[];
|
|
230
|
-
subjectMatches: ContextualSubjectMatch[];
|
|
231
|
-
completeness: {
|
|
232
|
-
status: 'complete' | 'truncated';
|
|
233
|
-
consideredProposalCount: number;
|
|
234
|
-
omittedPacketCount: number;
|
|
235
|
-
maxEstimatedTokens: number;
|
|
236
|
-
estimatedTokens: number;
|
|
237
|
-
};
|
|
238
|
-
uncertainty?: 'subject_unresolved' | 'no_relevant_pending_proposal';
|
|
239
|
-
};
|
|
240
|
-
declare function selectContextualReviewPackets(bundle: ProjectMemoryBundle, query: ContextualReviewQuery): ContextualReviewSelection;
|
|
241
|
-
|
|
242
85
|
type ConversationalReviewIntent = {
|
|
243
86
|
proposalId: string;
|
|
244
87
|
action: 'accept' | 'edit_and_accept' | 'reject' | 'defer';
|
package/dist/memory-store.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f as a,g as e,h as s,i as r,j as o}from"./chunk-NC7YXD7Q.mjs";import"./chunk-KOHR4LAQ.mjs";export{e as MemoryJournalStore,s as MemoryService,a as computeTransactionHash,o as parseContextualReviewQuery,r as parseOwnerReviewCommand};
|