pixiboardjs 0.1.0-alpha.4 → 0.1.0-alpha.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Preserve original media resources, fit imported content to its natural dimensions, and provide Node media preparation for reliable image, video, and audio previews. Support non-history media updates and safer asset import contracts.
8
+
9
+ ## 0.1.0-alpha.5
10
+
11
+ ### Patch Changes
12
+
13
+ - Add native directed connections, bounded node-agent context, reversible metadata transactions, in-place node conversion, and public browser host runtime exports. Relationships use only metadata.connections.
14
+
3
15
  ## 0.1.0-alpha.4
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -17,12 +17,14 @@ single-node render commit does not create or scan a full document snapshot.
17
17
  Install target for SDK consumers:
18
18
 
19
19
  ```sh
20
- pnpm add pixiboardjs
20
+ pnpm add pixiboardjs@alpha
21
21
  ```
22
22
 
23
- The public surface is the package root. `./browser`, `./node` and `./types`
24
- are explicit subpath contracts so consumers can select platform ports without
25
- depending on internal workspace packages.
23
+ The public surface is the package root. `./browser`, `./node`, `./types` and
24
+ the Node-only `./node-media-provider` are explicit subpath contracts so
25
+ consumers can select platform ports without depending on internal workspace
26
+ packages. The media provider is not imported by the browser entries and must
27
+ only be loaded in Node.
26
28
 
27
29
  ```ts
28
30
  import { createPixiBoard } from "pixiboardjs";
@@ -43,6 +45,28 @@ await board.destroy();
43
45
  See [`VERSIONING.md`](VERSIONING.md) for the separate SDK, document, node,
44
46
  plugin and Agent-tool version dimensions.
45
47
 
48
+ ### Node media provider
49
+
50
+ The host injects `sharp`; install it in the Node application if it is not
51
+ already available. `ffmpeg` and `ffprobe` are executable dependencies used for
52
+ video/audio probing and previews. Pass their paths explicitly, or set
53
+ `FFMPEG_PATH` / `FFPROBE_PATH`:
54
+
55
+ ```ts
56
+ import sharp from "sharp";
57
+ import { createNodeMediaProvider } from "pixiboardjs/node-media-provider";
58
+
59
+ const media = createNodeMediaProvider({
60
+ sharp,
61
+ ffmpegPath: "/opt/homebrew/bin/ffmpeg",
62
+ ffprobePath: "/opt/homebrew/bin/ffprobe",
63
+ });
64
+ ```
65
+
66
+ If paths are omitted, the provider checks `FFMPEG_PATH` / `FFPROBE_PATH` and
67
+ common installation locations before falling back to the executable names on
68
+ `PATH`. Do not import this subpath from browser code.
69
+
46
70
  `pnpm build:release` reproducibly creates ESM JavaScript, source maps and
47
71
  declaration artifacts under `dist/`. The public facade bundles private workspace
48
72
  implementation packages and keeps `pixi.js` as its only registry runtime
@@ -52,3 +76,45 @@ dependency.
52
76
  requires those real artifacts, packs the facade, and installs the tarball into
53
77
  clean Node and Vite consumers outside the repository before checking API and
54
78
  bundle-size budgets. It never creates or substitutes release artifacts.
79
+
80
+ ## Connections and node agents (alpha.5)
81
+
82
+ ```ts
83
+ import { attachConnections, createNodeAgentController } from "pixiboardjs/browser";
84
+
85
+ const connections = await attachConnections(board, {
86
+ surface: container, enabled: true, persistSettings: false,
87
+ });
88
+ connections.create("source-node", "result-node");
89
+
90
+ const agent = createNodeAgentController(board, {
91
+ context: { scope: "upstream", maxDepth: 2, maxNodes: 20, maxChars: 24000 },
92
+ getNeighborIds: connections.getNeighborIds,
93
+ onSubmit: async ({ prompt, signal }) => sendToYourAgent(prompt, signal),
94
+ });
95
+ await agent.submit({ nodeId: "result-node" }, "Describe the sources and improve this result");
96
+ ```
97
+
98
+ Connections live in `document.metadata.connections` as `{ id, source, target }`.
99
+ They follow moving/rotating nodes, support selection/deletion, configurable
100
+ styles, viewport culling, and atomic copy/paste with nodes. Metadata edits and
101
+ node deletion participate in undo/redo. No relationship fields are read from
102
+ node props.
103
+
104
+ Node agents collect bounded node/selection/upstream/downstream context, resolve
105
+ assets through host callbacks, and reject cancelled or stale preparation. The
106
+ SDK supplies no AI provider, credentials or generation service.
107
+
108
+ Use `board.nodes.convert(id, { type, props, assetRefs })` to replace a placeholder
109
+ with a result while keeping its ID, geometry and connections. Register the target
110
+ node type first. Old content properties and assets are replaced.
111
+
112
+ Advanced browser hosts can import registry, geometry and Pixi renderer helpers
113
+ from `pixiboardjs/browser`; no private workspace imports are needed. See the
114
+ [connection and node-agent guide](https://github.com/xindong/pixiboardSDK/blob/main/docs/developers/connections-and-node-agent-local.md)
115
+ for lifecycle, style and host integration details. Call `destroy()` on controllers
116
+ when removing a host surface.
117
+
118
+ The browser ESM budget is 290,000 bytes (uncompressed) for the native connection
119
+ renderer, node-agent, and media import and preview runtime. The alpha.6 release
120
+ candidate measured 285,882 bytes in CI; the root and Node budgets are unchanged.
package/dist/browser.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- export { AssetUnavailableError, BoardDestroyedError, CapabilityError, CapabilityUnavailableError, DocumentValidationError, NodeNotFoundError, NodeTypeNotRegisteredError, NodeValidationError, PermissionDeniedError, RESIZE_HANDLES, TransactionConflictError, createPixiBoard, isAssetVariant, resizeHandleAxes, resizeHandleCursor } from './index.js';
2
- import { R as ResizeHandle, P as PixiBoard, B as BoardNode, J as JsonValue, W as WorldBounds, a as Point, V as ViewportSnapshot, A as AssetVariant, b as BoardDocument, c as AssetRecord } from './types-CZ0KxRlm.js';
3
- export { d as AssetRef, e as BoardCapabilities, f as BoardChangeEvent, g as BoardDocumentUpdate, h as BoardLifecycleState, i as BoardNodeCreateInput, j as BoardNodePatch, k as BoardRuntimePorts, l as BrowserEventPort, C as CaptureInput, m as CaptureResult, n as ChangeOrigin, o as CustomDisplayFactory, p as CustomDisplayObject, q as CustomNodeDataDefinition, r as CustomNodeDefinition, s as CustomNodeRenderer, t as CustomNodeRendererContext, u as CustomNodeRendererRegistry, v as CustomNodeView, w as CustomResizePolicy, x as CustomTextureLease, D as DocumentLoadOptions, y as DocumentPersistence, H as HistoryChangeEvent, N as NodeGeometry, z as NodeHandle, E as NodeHandleEventMap, F as NodeInput, G as NodeListFilter, I as NodePatch, K as NodeQuery, L as NodeResizeRequest, M as NodeTypeDefinition, O as NodeTypeRegistrationDisposer, Q as NodeTypeRegistrationOptions, S as PixiBoardOptions, T as PixiBoardRendererOptions, U as PreviewNode, X as PreviewQuality, Y as PreviewSpec, Z as PreviewSpecOptions, _ as PreviewState, $ as PreviewStatus, a0 as PublicBoardEventMap, a1 as PublicNodeTypeDefinition, a2 as PublicRendererOptions, a3 as RenderCompleteEvent, a4 as RendererApplyResult, a5 as ResizeObserverPort, a6 as RuntimeRenderer, a7 as SelectionChangeEvent, a8 as TickerPort, a9 as TransactionOptions, aa as TransactionOrigin, ab as TransformBounds, ac as TransformHandlePlacement, ad as TransformSession, ae as ViewportChangeEvent, af as createPreviewSpec, ag as isDocumentPreviewType, ah as isPreviewNodeType, ai as previewStatusLabel } from './types-CZ0KxRlm.js';
1
+ export { AssetUnavailableError, BoardDestroyedError, CapabilityError, CapabilityUnavailableError, DocumentValidationError, NodeNotFoundError, NodeTypeNotRegisteredError, NodeValidationError, PermissionDeniedError, RESIZE_HANDLES, TransactionConflictError, createMediaAssetRefs, createMediaMetadata, createPixiBoard, fitMediaRect, isAssetVariant, isContentFit, preferredMediaNodeSize, resizeHandleAxes, resizeHandleCursor, resolveTextureAssetRef } from './index.js';
2
+ import { B as BoardNode, W as WorldBounds, R as ResizeHandle, P as PixiBoard, J as JsonValue, a as Point, V as ViewportSnapshot, A as AssetVariant, b as BoardDocument, c as AssetRecord, d as BoardDocumentUpdate, e as BoardChangeSet, C as ConnectionStyle, f as ConnectionCurve } from './types-Cl2ogJCs.js';
3
+ export { g as AssetImportRequest, h as AssetImportService, i as AssetImportSource, j as AssetRef, k as BoardCapabilities, l as BoardChangeEvent, m as BoardLifecycleState, n as BoardNodeConvertInput, o as BoardNodeCreateInput, p as BoardNodePatch, q as BoardRuntimePorts, r as BrowserEventPort, s as CaptureInput, t as CaptureResult, u as ChangeOrigin, v as ConnectionLayer, w as ContentFit, x as CustomDisplayFactory, y as CustomDisplayObject, z as CustomNodeDataDefinition, D as CustomNodeDefinition, E as CustomNodeRenderer, F as CustomNodeRendererContext, G as CustomNodeRendererRegistry, H as CustomNodeView, I as CustomRendererResources, K as CustomResizePolicy, L as CustomTextureLease, M as DocumentLoadOptions, N as DocumentPersistence, O as HistoryChangeEvent, Q as ImportedAsset, S as MediaMetadata, T as NodeGeometry, U as NodeHandle, X as NodeHandleEventMap, Y as NodeInput, Z as NodeListFilter, _ as NodePatch, $ as NodeQuery, a0 as NodeResizeRequest, a1 as NodeTypeDefinition, a2 as NodeTypeRegistrationDisposer, a3 as NodeTypeRegistrationOptions, a4 as NodeTypeRegistry, a5 as PixiBoardOptions, a6 as PixiBoardRendererOptions, a7 as PreviewNode, a8 as PreviewQuality, a9 as PreviewSpec, aa as PreviewSpecOptions, ab as PreviewState, ac as PreviewStatus, ad as PublicBoardEventMap, ae as PublicNodeTypeDefinition, af as PublicRendererOptions, ag as RenderCompleteEvent, ah as RendererApplyResult, ai as ResizeObserverPort, aj as RuntimeRenderer, ak as SelectionChangeEvent, al as TickerPort, am as TransactionOptions, an as TransactionOrigin, ao as TransformBounds, ap as TransformHandlePlacement, aq as TransformSession, ar as ViewportChangeEvent, as as createPreviewSpec, at as isDocumentPreviewType, au as isPreviewNodeType, av as previewStatusLabel } from './types-Cl2ogJCs.js';
4
+
5
+ declare function rotatedRectBounds(node: BoardNode): WorldBounds;
4
6
 
5
7
  type DomTransformerOptions = {
6
8
  /**
@@ -268,6 +270,7 @@ type LabelOverlayOptions = {
268
270
  text?(node: Readonly<BoardNode<JsonValue>>): string | undefined;
269
271
  /** An optional icon or prefix element content, rendered before the text. */
270
272
  icon?(node: Readonly<BoardNode<JsonValue>>): string | undefined;
273
+ tooltip?(node: Readonly<BoardNode<JsonValue>>): string | undefined;
271
274
  classPrefix?: string;
272
275
  /** Defaults to `bottom-left`, i.e. hanging under the node. */
273
276
  anchor?: OverlayAnchor;
@@ -658,8 +661,232 @@ declare class NativeOpfsPort implements OpfsPort {
658
661
  delete(key: string, signal: AbortSignal): Promise<void>;
659
662
  }
660
663
 
664
+ type PixiDisplayObject = {
665
+ visible?: boolean;
666
+ x?: number;
667
+ y?: number;
668
+ rotation?: number;
669
+ zIndex?: number;
670
+ addChild?(child: PixiDisplayObject): void;
671
+ removeChild?(child: PixiDisplayObject): void;
672
+ destroy?(options?: unknown): void;
673
+ [key: string]: unknown;
674
+ };
675
+ type PixiTicker = {
676
+ add?(listener: (...args: unknown[]) => void): void;
677
+ remove?(listener: (...args: unknown[]) => void): void;
678
+ start?(): void;
679
+ stop?(): void;
680
+ count?: number;
681
+ };
682
+ type PixiApplication = {
683
+ stage: PixiDisplayObject;
684
+ init?(options?: Record<string, unknown>): Promise<void> | void;
685
+ initOptions?: Record<string, unknown>;
686
+ destroy?(rendererOptions?: boolean | Record<string, unknown>, stageOptions?: boolean | Record<string, unknown>): void;
687
+ canvas?: unknown;
688
+ view?: unknown;
689
+ ticker?: PixiTicker;
690
+ render?(): void;
691
+ renderer?: {
692
+ extract?: {
693
+ base64?(options: Record<string, unknown>): Promise<string> | string;
694
+ };
695
+ };
696
+ screen?: {
697
+ width: number;
698
+ height: number;
699
+ };
700
+ };
701
+ type PixiApplicationFactory = () => PixiApplication | Promise<PixiApplication>;
702
+ type PixiRuntimeModule = {
703
+ Application: new () => PixiApplication;
704
+ Container: new (options?: Record<string, unknown>) => PixiDisplayObject;
705
+ Graphics: new () => PixiDisplayObject & {
706
+ rect?(x: number, y: number, width: number, height: number): PixiDisplayObject;
707
+ fill?(color: number | string): PixiDisplayObject;
708
+ };
709
+ Sprite: new (texture?: unknown) => PixiDisplayObject;
710
+ Text: new (options?: unknown) => PixiDisplayObject;
711
+ Texture?: {
712
+ from(source: unknown): unknown;
713
+ };
714
+ };
715
+ type CaptureTarget = {
716
+ target: "viewport";
717
+ format?: "png";
718
+ scale?: number;
719
+ } | {
720
+ target: "node";
721
+ nodeId: string;
722
+ format?: "png";
723
+ scale?: number;
724
+ } | {
725
+ target: "bounds";
726
+ bounds: WorldBounds;
727
+ format?: "png";
728
+ scale?: number;
729
+ };
730
+ type CaptureRequest = CaptureTarget;
731
+ type RendererCaptureResult = {
732
+ dataUrl: string;
733
+ mimeType: string;
734
+ width?: number;
735
+ height?: number;
736
+ revision: number;
737
+ requestId?: string;
738
+ };
739
+
740
+ declare function loadPixiRuntime(): Promise<PixiRuntimeModule>;
741
+ type PixiRuntimeLoader = () => Promise<PixiRuntimeModule>;
742
+ declare function createPixiApplicationFactory(options?: Record<string, unknown>, runtimeLoader?: PixiRuntimeLoader): PixiApplicationFactory;
743
+
744
+ /** Public, host-agnostic renderer configuration. Internal renderer ports remain bundled implementation details. */
745
+ type PixiBoardRendererOptions = Readonly<Record<string, unknown>>;
746
+ /** Public drawing/query surface; the Pixi container remains an implementation detail. */
747
+ declare class ConnectionRenderLayer {
748
+ setEnabled(enabled: boolean): void;
749
+ setSelected(id?: string): void;
750
+ setStyle(style: Partial<ConnectionStyle>): void;
751
+ setVisibleBounds(bounds?: WorldBounds): void;
752
+ upsert(curve: ConnectionCurve): void;
753
+ remove(id: string): void;
754
+ hitTest(point: Point, tolerance: number): string | undefined;
755
+ destroy(): void;
756
+ }
757
+ /** Declaration-only shape used while bundling the public pixiboardjs API. */
758
+ declare class PixiBoardRenderer {
759
+ constructor(options: PixiBoardRendererOptions);
760
+ init(): Promise<void>;
761
+ rebuild(snapshot: Readonly<BoardDocument>): Promise<void>;
762
+ apply(update: BoardDocumentUpdate, changeSet: BoardChangeSet): Promise<"applied" | "rebuild-required">;
763
+ createConnectionLayer(): Promise<ConnectionRenderLayer>;
764
+ capture(input: CaptureRequest, options?: {
765
+ signal?: AbortSignal;
766
+ requestId?: string;
767
+ }): Promise<RendererCaptureResult>;
768
+ destroy(): Promise<void>;
769
+ }
770
+
771
+ type BoardConnection = {
772
+ id: string;
773
+ source: string;
774
+ target: string;
775
+ };
776
+ type ConnectionsOptions = {
777
+ surface: HTMLElement;
778
+ overlay?: HTMLElement;
779
+ enabled?: boolean;
780
+ style?: Partial<ConnectionStyle>;
781
+ /** Set false for host-owned preferences that must never enter document history. */
782
+ persistSettings?: boolean;
783
+ /** The host can restrict gestures to its current selection tool. */
784
+ canInteract?: () => boolean;
785
+ /** Native node media surfaces rendered outside the canvas element. */
786
+ interactionOverlays?: readonly HTMLElement[];
787
+ };
788
+ /** Native Pixi connections, with one reusable DOM source port. */
789
+ declare function attachConnections(board: PixiBoard, options: ConnectionsOptions): Promise<{
790
+ setEnabled(value: boolean): void;
791
+ setStyle(value: Partial<ConnectionStyle>): void;
792
+ getStyle: () => {
793
+ startColor: string;
794
+ endColor: string;
795
+ startOpacity: number;
796
+ endOpacity: number;
797
+ width: number;
798
+ lineType: "solid" | "dashed" | "dotted";
799
+ };
800
+ isEnabled: () => boolean;
801
+ list: () => {
802
+ id: string;
803
+ source: string;
804
+ target: string;
805
+ }[];
806
+ /** Copies only internal edges, independently of the rendering preference. */
807
+ copyWithin(nodeIds: Iterable<string>): BoardConnection[];
808
+ /** Call inside the node-paste transaction to undo nodes and edges together. */
809
+ pasteWithin(connections: readonly BoardConnection[], idMap: ReadonlyMap<string, string>): void;
810
+ /** Stored relationships remain queryable even when rendering is disabled. */
811
+ incoming: (nodeId: string) => BoardConnection[];
812
+ outgoing: (nodeId: string) => BoardConnection[];
813
+ /** Agent context follows the host's preference and requested edge direction. */
814
+ getNeighborIds(nodeId: string, direction: "incoming" | "outgoing"): string[];
815
+ create: (source: string, target: string) => BoardConnection | undefined;
816
+ remove: (id: string) => void;
817
+ destroy: () => void;
818
+ }>;
819
+ type ConnectionsController = Awaited<ReturnType<typeof attachConnections>>;
820
+
821
+ type NodeAgentTarget = {
822
+ nodeId: string;
823
+ boardId?: string;
824
+ };
825
+ type NodeAgentScope = "node" | "selection" | "upstream" | "downstream" | "connected";
826
+ type NodeAgentContextOptions = {
827
+ scope?: NodeAgentScope;
828
+ maxDepth?: number;
829
+ maxNodes?: number;
830
+ maxChars?: number;
831
+ maxResources?: number;
832
+ };
833
+ type NodeAgentContext = {
834
+ contextVersion: 1;
835
+ boardId?: string;
836
+ revision: number;
837
+ nodeIds: string[];
838
+ /** Primary node retained separately for host admission checks. */
839
+ node: BoardNode;
840
+ nodes: BoardNode[];
841
+ assets: AssetRecord[];
842
+ connections: Array<{
843
+ source: string;
844
+ target: string;
845
+ }>;
846
+ truncated: string[];
847
+ };
848
+ type NodeAgentResource = {
849
+ assetId: string;
850
+ [key: string]: unknown;
851
+ };
852
+ type NodeAgentRequest = {
853
+ requestId: string;
854
+ instruction: string;
855
+ context: NodeAgentContext;
856
+ resources: NodeAgentResource[];
857
+ prompt: string;
858
+ signal: AbortSignal;
859
+ };
860
+ type NodeAgentOperation = NodeAgentTarget & {
861
+ requestId: string;
862
+ signal: AbortSignal;
863
+ };
864
+ type NodeAgentOptions = {
865
+ enabled?: boolean;
866
+ context?: NodeAgentContextOptions;
867
+ /** Optional indexed-neighbor override. Defaults to metadata.connections. */
868
+ getNeighborIds?(nodeId: string, direction: "incoming" | "outgoing"): Iterable<string>;
869
+ validateTarget?(target: NodeAgentTarget): void;
870
+ beforeSubmit?(operation: NodeAgentOperation): void | Promise<void>;
871
+ resolveAsset?(asset: AssetRecord, operation: NodeAgentOperation): NodeAgentResource | undefined | Promise<NodeAgentResource | undefined>;
872
+ collectContext?(context: NodeAgentContext, operation: NodeAgentOperation): NodeAgentContext | Promise<NodeAgentContext>;
873
+ buildPrompt?(input: Omit<NodeAgentRequest, "prompt">): string | Promise<string>;
874
+ onSubmit?(request: NodeAgentRequest): unknown | Promise<unknown>;
875
+ };
876
+ /** Generic, provider-independent prompt. Node content is data, never an instruction. */
877
+ declare function buildNodeAgentPrompt(input: Omit<NodeAgentRequest, "prompt">): string;
878
+ /** Headless node-agent lifecycle, shared by native overlays and host-owned UI. */
879
+ declare function createNodeAgentController(board: PixiBoard, initial?: NodeAgentOptions): {
880
+ prepare: (target: NodeAgentTarget, instruction: string) => Promise<NodeAgentRequest>;
881
+ submit(target: NodeAgentTarget, instruction: string): Promise<unknown>;
882
+ cancel: () => void;
883
+ setEnabled(enabled: boolean): void;
884
+ configure(next: Partial<NodeAgentOptions>): void;
885
+ destroy(): void;
886
+ };
887
+
661
888
  declare function indexedDbPersistence(options?: {
662
889
  database?: string;
663
890
  }): BrowserPersistenceAdapter;
664
891
 
665
- export { type AdapterOperationOptions, type AssetBinaryVariant, type AssetGcOptions, type AssetGcResult, type AssetGcRoots, type AssetStorageLocation, AssetVariant, BoardDocument, BoardNode, type BrowserAdapterCapabilities, type BrowserAdapterContractEvidence, type BrowserAdapterContractHarness, type BrowserAsset, BrowserAssetBinaryMissingError, type BrowserAssetExport, BrowserAssetNotFoundError, type BrowserCleanupError, type BrowserCleanupOperation, type BrowserCommitImportOptions, BrowserDocumentConflictError, type BrowserDocumentMetadata, type BrowserDocumentRecord, type BrowserDownloadRequest, type BrowserExportOptions, type BrowserImportOptions, type BrowserImportResult, type BrowserImportSourceType, BrowserPersistenceAbortError, BrowserPersistenceAdapter, type BrowserPersistenceAdapterOptions, BrowserPersistenceDestroyedError, BrowserPersistenceError, type BrowserPrepareImportOptions, type BrowserPreparedImport, BrowserStorageCapabilityError, BrowserStorageKeyCollisionError, BrowserStorageQuotaError, DEFAULT_OPFS_THRESHOLD_BYTES, type DomTransformer, type DomTransformerOptions, type DownloadPort, type GetAssetOptions, type IndexedDbPort, JsonValue, type LabelOverlayOptions, NativeDownloadPort, type NativeDownloadPortOptions, NativeIndexedDbPort, type NativeIndexedDbPortOptions, NativeObjectUrlPort, NativeOpfsPort, type NativeOpfsPortOptions, type ObjectUrlLease, type ObjectUrlPort, type OpfsPort, type OverlayAnchor, type OverlayBoundsResolver, type OverlayDeclutter, type OverlayItem, type OverlayLayer, type OverlayLayerOptions, type OverlayPlacement, type OverlayRenderContext, type OverlayScaleMode, PixiBoard, Point, type PortLifecycle, type PutAssetOptions, ResizeHandle, type SaveBrowserDocumentInput, type SaveBrowserDocumentOptions, type SelectionOverlayOptions, type StoredAssetBinary, type StoredAssetEntry, ViewportSnapshot, WorldBounds, anchorRatio, anchorWorldPoint, attachDomTransformer, attachLabelOverlay, attachOverlayLayer, attachSelectionOverlay, indexedDbPersistence, isBrowserQuotaError, projectOverlayItem, resolveOverlayBounds, resolveScale, runBrowserAdapterContract };
892
+ export { type AdapterOperationOptions, type AssetBinaryVariant, type AssetGcOptions, type AssetGcResult, type AssetGcRoots, type AssetStorageLocation, AssetVariant, type BoardConnection, BoardDocument, BoardDocumentUpdate, BoardNode, type BrowserAdapterCapabilities, type BrowserAdapterContractEvidence, type BrowserAdapterContractHarness, type BrowserAsset, BrowserAssetBinaryMissingError, type BrowserAssetExport, BrowserAssetNotFoundError, type BrowserCleanupError, type BrowserCleanupOperation, type BrowserCommitImportOptions, BrowserDocumentConflictError, type BrowserDocumentMetadata, type BrowserDocumentRecord, type BrowserDownloadRequest, type BrowserExportOptions, type BrowserImportOptions, type BrowserImportResult, type BrowserImportSourceType, BrowserPersistenceAbortError, BrowserPersistenceAdapter, type BrowserPersistenceAdapterOptions, BrowserPersistenceDestroyedError, BrowserPersistenceError, type BrowserPrepareImportOptions, type BrowserPreparedImport, BrowserStorageCapabilityError, BrowserStorageKeyCollisionError, BrowserStorageQuotaError, ConnectionCurve, ConnectionStyle, type ConnectionsController, type ConnectionsOptions, DEFAULT_OPFS_THRESHOLD_BYTES, type DomTransformer, type DomTransformerOptions, type DownloadPort, type GetAssetOptions, type IndexedDbPort, JsonValue, type LabelOverlayOptions, NativeDownloadPort, type NativeDownloadPortOptions, NativeIndexedDbPort, type NativeIndexedDbPortOptions, NativeObjectUrlPort, NativeOpfsPort, type NativeOpfsPortOptions, type NodeAgentContext, type NodeAgentContextOptions, type NodeAgentOperation, type NodeAgentOptions, type NodeAgentRequest, type NodeAgentResource, type NodeAgentScope, type NodeAgentTarget, type ObjectUrlLease, type ObjectUrlPort, type OpfsPort, type OverlayAnchor, type OverlayBoundsResolver, type OverlayDeclutter, type OverlayItem, type OverlayLayer, type OverlayLayerOptions, type OverlayPlacement, type OverlayRenderContext, type OverlayScaleMode, PixiBoard, PixiBoardRenderer, Point, type PortLifecycle, type PutAssetOptions, ResizeHandle, type SaveBrowserDocumentInput, type SaveBrowserDocumentOptions, type SelectionOverlayOptions, type StoredAssetBinary, type StoredAssetEntry, ViewportSnapshot, WorldBounds, anchorRatio, anchorWorldPoint, attachConnections, attachDomTransformer, attachLabelOverlay, attachOverlayLayer, attachSelectionOverlay, buildNodeAgentPrompt, createNodeAgentController, createPixiApplicationFactory, indexedDbPersistence, isBrowserQuotaError, loadPixiRuntime, projectOverlayItem, resolveOverlayBounds, resolveScale, rotatedRectBounds, runBrowserAdapterContract };