gesso-framework 0.4.1 → 0.5.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/CHANGELOG.md +114 -0
- package/README.md +2 -0
- package/dist/ChannelProtocol-ByNoHujM.d.ts +247 -0
- package/dist/{FunctionComponent-CgwLKE5d.d.ts → FunctionComponent-fYMdePtH.d.ts} +3 -247
- package/dist/agent/index.d.ts +317 -0
- package/dist/agent/index.js +184 -0
- package/dist/agent/index.js.map +1 -0
- package/dist/app-BvlIO1G9.js +326 -0
- package/dist/app-BvlIO1G9.js.map +1 -0
- package/dist/{index-C9FAI_Kt.d.ts → index-BDM_gzzZ.d.ts} +377 -268
- package/dist/index.d.ts +5 -3
- package/dist/index.js +974 -92
- package/dist/index.js.map +1 -1
- package/dist/jsx/jsx-runtime.d.ts +1 -1
- package/dist/{persisted-CsTPnjkc.js → persisted-pix1fS1D.js} +6 -1
- package/dist/{persisted-CsTPnjkc.js.map → persisted-pix1fS1D.js.map} +1 -1
- package/dist/remote-xxij8zXe.js +600 -0
- package/dist/remote-xxij8zXe.js.map +1 -0
- package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
- package/dist/ui-U39HjNFA.d.ts +517 -0
- package/dist/webmcp-CJVFvAHe.js +77 -0
- package/dist/webmcp-CJVFvAHe.js.map +1 -0
- package/dist/worker/index.d.ts +4 -2
- package/dist/worker/index.js +1 -1
- package/package.json +12 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as ComponentType, i as ComponentProps, m as InputCell, r as ComponentContext, t as ClassComponent, w as Component } from "../FunctionComponent-fYMdePtH.js";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { BoxProps, ButtonProps, ColumnProps, ComponentLikeElement, EditableTextProps, GridProps, PaintElementProps, RowProps, ScrollViewProps, StackProps, TextProps, UiChild, UiElement, UiNodeType } from "gesso-core";
|
|
4
4
|
//#region src/jsx/jsx-runtime.d.ts
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { a as agentSurface, i as serveAgentPort } from "./remote-xxij8zXe.js";
|
|
1
2
|
import { BehaviorSubject, Observable, Subject, Subscription, combineLatest, debounceTime, distinctUntilChanged, map, of, skip, tap, throttleTime } from "rxjs";
|
|
2
3
|
//#region src/Input.ts
|
|
3
4
|
/**
|
|
@@ -1864,6 +1865,10 @@ function serveChannels(channels, host) {
|
|
|
1864
1865
|
for (const served of channels) byName.set(served.token.name, served);
|
|
1865
1866
|
const provided = [];
|
|
1866
1867
|
const stop = servePorts((key, port) => {
|
|
1868
|
+
if (key === "gesso:agent") {
|
|
1869
|
+
serveAgentPort(port, (confirm) => agentSurface(channels, { confirm }));
|
|
1870
|
+
return true;
|
|
1871
|
+
}
|
|
1867
1872
|
const served = byName.get(key);
|
|
1868
1873
|
if (served === void 0) return false;
|
|
1869
1874
|
provided.push(provide(served.token, served.source, port));
|
|
@@ -2672,4 +2677,4 @@ function persisted(adapter, key, options) {
|
|
|
2672
2677
|
//#endregion
|
|
2673
2678
|
export { structurallyEqual as $, printPropValue as A, channel as B, captureConsole as C, formatNodePath as D, formatAge as E, applyPatch as F, mutate as G, viewKeys as H, applyPatches as I, select as J, Resource as K, diffProjection as L, provide as M, findUnplainPath as N, formatNodeReport as O, requirePlainData as P, equalityOf as Q, isChannelClientMessage as R, workerHandle as S, describeStream as T, debounced as U, defineChannel as V, throttled as W, computed as X, ComputedCell as Y, derive as Z, isHubMessage as _, undoable as a, isOutputTarget as at, portHandle as b, classifyStorageError as c, trackRead as ct, storageReadValue as d, InternalState as et, pick as f, APPLICATION_WORKER as g, serveChannels as h, OpfsStorage as i, into as it, ProvidedChannel as j, formatStream as k, storageErrorMessage as l, withBodyOf as lt, serve as m, persisted as n, InputCell as nt, UndoStack as o, output as ot, pickKeys as p, resource as q, IndexedDbStorage as r, input as rt, MemoryStorage as s, outputTargetOf as st, PersistedState as t, internalState as tt, storageReadFailure as u, isPortErrorMessage as v, isConsoleEntryMessage as w, servePorts as x, isPortHandshake as y, isChannelHostMessage as z };
|
|
2674
2679
|
|
|
2675
|
-
//# sourceMappingURL=persisted-
|
|
2680
|
+
//# sourceMappingURL=persisted-pix1fS1D.js.map
|