@almadar/core 10.97.0 → 10.100.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 +25 -0
- package/dist/builders.d.ts +5 -4
- package/dist/builders.js +62 -34
- package/dist/builders.js.map +1 -1
- package/dist/bus-D69s_77B.d.ts +588 -0
- package/dist/domain-Ds_7wZIL.d.ts +16213 -0
- package/dist/{effect-Bw8T4qh5.d.ts → effect-Hm_QDaSI.d.ts} +65 -4
- package/dist/{entityAccess-DfoXs9mc.d.ts → entityAccess-DdcKps16.d.ts} +3 -3
- package/dist/{expression-WfTp2arD.d.ts → expression-DRwzVnMu.d.ts} +5 -1
- package/dist/factory/index.d.ts +5 -5
- package/dist/factory/index.js +36 -1
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +5 -4
- package/dist/factory-runtime/index.js +189 -34
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +45 -0
- package/dist/fixtures.js +704 -0
- package/dist/fixtures.js.map +1 -0
- package/dist/{index-H0bOi9oP.d.ts → index-DPdJPQZe.d.ts} +8 -375
- package/dist/index.d.ts +19 -15
- package/dist/index.js +9112 -45
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +6 -5
- package/dist/mock/index.js +14 -0
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +44 -9
- package/dist/patterns/index.js +29 -5
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +15 -2
- package/dist/patterns/registry.json +15 -2
- package/dist/{schema-DPpES4qj.d.ts → schema-TqLV2wlK.d.ts} +411 -21713
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/themes/index.d.ts +19 -0
- package/dist/themes/index.js +9251 -0
- package/dist/themes/index.js.map +1 -0
- package/dist/{trait-DXXRrRMP.d.ts → trait-YlNXc4H3.d.ts} +62 -26
- package/dist/types/index.d.ts +8 -6
- package/dist/types/index.js +236 -41
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BMaTUGyk.d.ts → types-Ug92oza4.d.ts} +2 -2
- package/fixtures/events-wire/cascade-emitted-events/request.json +9 -0
- package/fixtures/events-wire/cascade-emitted-events/response.json +30 -0
- package/fixtures/events-wire/client-effects-by-trait/request.json +4 -0
- package/fixtures/events-wire/client-effects-by-trait/response.json +52 -0
- package/fixtures/events-wire/effect-results/request.json +9 -0
- package/fixtures/events-wire/effect-results/response.json +42 -0
- package/fixtures/events-wire/effect-results-every-kind/request.json +9 -0
- package/fixtures/events-wire/effect-results-every-kind/response.json +70 -0
- package/fixtures/events-wire/guard-rejected/request.json +6 -0
- package/fixtures/events-wire/guard-rejected/response.json +11 -0
- package/fixtures/events-wire/live-push/live-push.json +12 -0
- package/fixtures/events-wire/live-push/request.json +9 -0
- package/fixtures/events-wire/live-push/response.json +33 -0
- package/fixtures/events-wire/navigate-1/request.json +5 -0
- package/fixtures/events-wire/navigate-1/response.json +16 -0
- package/fixtures/events-wire/navigate-2/request.json +8 -0
- package/fixtures/events-wire/navigate-2/response.json +19 -0
- package/fixtures/events-wire/navigate-3/request.json +8 -0
- package/fixtures/events-wire/navigate-3/response.json +22 -0
- package/fixtures/events-wire/navigate-back/request.json +5 -0
- package/fixtures/events-wire/navigate-back/response.json +15 -0
- package/fixtures/events-wire/render-ui-3/request.json +5 -0
- package/fixtures/events-wire/render-ui-3/response.json +20 -0
- package/fixtures/events-wire/render-ui-4/request.json +5 -0
- package/fixtures/events-wire/render-ui-4/response.json +41 -0
- package/fixtures/events-wire/render-ui-5/request.json +9 -0
- package/fixtures/events-wire/render-ui-5/response.json +52 -0
- package/fixtures/events-wire/render-ui-clear/request.json +5 -0
- package/fixtures/events-wire/render-ui-clear/response.json +27 -0
- package/fixtures/events-wire/sse-stream/request.json +9 -0
- package/fixtures/events-wire/sse-stream/response.json +79 -0
- package/fixtures/events-wire/sse-stream/stream.json +131 -0
- package/fixtures/events-wire/stateless-traits/request.json +27 -0
- package/fixtures/events-wire/stateless-traits/response.json +15 -0
- package/fixtures/theme-tokens/every-key.json +43 -0
- package/package.json +18 -3
- package/themes/almadar-website.json +207 -0
- package/themes/almadar.json +203 -0
- package/themes/atelier.json +459 -0
- package/themes/bloomberg-dense.json +459 -0
- package/themes/clay.json +445 -0
- package/themes/comic.json +457 -0
- package/themes/corporate.json +445 -0
- package/themes/game-adventure.json +229 -0
- package/themes/game-rpg.json +230 -0
- package/themes/game-sci-fi.json +229 -0
- package/themes/game-ui-pack.json +230 -0
- package/themes/gazette.json +445 -0
- package/themes/glass.json +445 -0
- package/themes/kiosk.json +441 -0
- package/themes/linear-clean.json +459 -0
- package/themes/minimalist.json +445 -0
- package/themes/neon.json +445 -0
- package/themes/notion-editorial.json +459 -0
- package/themes/prism.json +203 -0
- package/themes/retro.json +445 -0
- package/themes/terminal.json +457 -0
- package/themes/trait-wars.json +493 -0
- package/themes/wireframe.json +445 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { S as SExpr,
|
|
1
|
+
import { R as PageTraitRef, O as OrbitalSchema, s as Orbital, c as Page, a as OrbitalDefinition } from './schema-TqLV2wlK.js';
|
|
2
|
+
import { E as EntityField, a as EntityPersistence, bY as ServiceParams, F as FieldValue, f as Entity, g as EntityRow, A as AnyPatternConfig, c as Effect } from './effect-Hm_QDaSI.js';
|
|
3
|
+
import { S as SExpr, a as EventPayloadValue, b as EventPayload, L as LogMeta, d as EvalContext } from './expression-DRwzVnMu.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { R as RuntimeValue, J as JsonValue, a as JsonObject, T as ToolArgs } from './json-D8gmyK3l.js';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { c as BusEventSource } from './bus-D69s_77B.js';
|
|
7
|
+
import { a as TraitReference, h as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ah as Transition, s as Event, g as TraitConfigValue, $ as TraitCategory, ax as TraitScope } from './trait-YlNXc4H3.js';
|
|
8
|
+
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from './types-Ug92oza4.js';
|
|
9
|
+
import { T as ThemeDefinition, D as DomainContext } from './domain-Ds_7wZIL.js';
|
|
8
10
|
import { MakeTraitRefOpts, EventWiringEntry, LayoutStrategy } from './builders.js';
|
|
9
11
|
|
|
10
12
|
/**
|
|
@@ -226,148 +228,6 @@ declare function isTraitFieldRef(value: RuntimeValue): value is TraitFieldRef;
|
|
|
226
228
|
* JSON or recipe overrides at runtime boundaries. */
|
|
227
229
|
declare const TraitFieldRefSchema: z.ZodString;
|
|
228
230
|
|
|
229
|
-
/**
|
|
230
|
-
* Authenticated user context — what `@user.x` resolves against.
|
|
231
|
-
*
|
|
232
|
-
* The canonical shape for the `user` binding root, shared by both execution
|
|
233
|
-
* paths: the JS interpreter resolves `@user.id` through
|
|
234
|
-
* `EvaluationContext.user`, and the compiled shell emits `user?.id` against the
|
|
235
|
-
* `UserContext` its `@app/shared` re-exports from here.
|
|
236
|
-
*
|
|
237
|
-
* `id` is the field the behavior library reads for ownership scoping and `role`
|
|
238
|
-
* the field it reads for capability gating. Auth providers that name the subject
|
|
239
|
-
* `uid` must normalize at their boundary — {@link normalizeUserContext} does that.
|
|
240
|
-
*
|
|
241
|
-
* @packageDocumentation
|
|
242
|
-
*/
|
|
243
|
-
|
|
244
|
-
/** Authenticated user / agent identity behind `@user.x` bindings. */
|
|
245
|
-
interface UserContext {
|
|
246
|
-
/** Stable subject identifier. `@user.id` — the ownership key. */
|
|
247
|
-
id: string;
|
|
248
|
-
/** `@user.email` */
|
|
249
|
-
email?: string;
|
|
250
|
-
/** `@user.name` — display name. */
|
|
251
|
-
name?: string;
|
|
252
|
-
/** `@user.role` — single role string, compared against a policy's allowed list. */
|
|
253
|
-
role?: string;
|
|
254
|
-
/** `@user.permissions` — fine-grained capability strings. */
|
|
255
|
-
permissions?: string[];
|
|
256
|
-
/** Additional provider claims, readable as `@user.<claim>`. */
|
|
257
|
-
[key: string]: FieldValue | undefined;
|
|
258
|
-
}
|
|
259
|
-
/**
|
|
260
|
-
* The identity of an unauthenticated viewer. A resolvable object rather than
|
|
261
|
-
* `undefined` so a role predicate evaluates to a definite `false` instead of
|
|
262
|
-
* comparing against nothing.
|
|
263
|
-
*/
|
|
264
|
-
declare const ANONYMOUS_USER: UserContext;
|
|
265
|
-
/** Provider-shaped identity claims, before normalization. */
|
|
266
|
-
interface RawUserClaims {
|
|
267
|
-
id?: string;
|
|
268
|
-
uid?: string;
|
|
269
|
-
email?: string | null;
|
|
270
|
-
name?: string;
|
|
271
|
-
displayName?: string | null;
|
|
272
|
-
role?: string;
|
|
273
|
-
permissions?: string[];
|
|
274
|
-
[key: string]: FieldValue | undefined;
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* Normalize provider claims into a {@link UserContext}.
|
|
278
|
-
*
|
|
279
|
-
* Firebase (and most OIDC providers) name the subject `uid` and the display name
|
|
280
|
-
* `displayName`, while every `.lolo` behavior reads `@user.id` / `@user.name`.
|
|
281
|
-
* Without this normalization `@user.id` is `undefined` against a fully
|
|
282
|
-
* authenticated request and every ownership filter silently matches no rows.
|
|
283
|
-
* `uid` is preserved so `@user.uid` keeps working.
|
|
284
|
-
*
|
|
285
|
-
* Returns `undefined` for absent or subject-less claims so callers can
|
|
286
|
-
* distinguish "no auth ran" from "anonymous"; use {@link ANONYMOUS_USER} where a
|
|
287
|
-
* definite identity is required.
|
|
288
|
-
*/
|
|
289
|
-
declare function normalizeUserContext(claims: RawUserClaims | null | undefined): UserContext | undefined;
|
|
290
|
-
/**
|
|
291
|
-
* Turn a row of an app's `[identity]` entity into a viewer.
|
|
292
|
-
*
|
|
293
|
-
* There is no separate persona shape: an identity row IS the persona
|
|
294
|
-
* (`Almadar_LOLO_Identity.md` §4.3), so this only guards the one field the
|
|
295
|
-
* behavior library requires — a non-empty string `id` — and passes every other
|
|
296
|
-
* declared field through as a `@user.<field>` claim. Rows without a usable id
|
|
297
|
-
* yield `undefined` rather than a persona nobody can own rows as.
|
|
298
|
-
*/
|
|
299
|
-
declare function personaFromIdentityRow(row: Record<string, FieldValue | undefined>): UserContext | undefined;
|
|
300
|
-
/**
|
|
301
|
-
* The viewer a host presents when nothing named one.
|
|
302
|
-
*
|
|
303
|
-
* Without this, `@user` is `Null` in headless verify and preview, so every
|
|
304
|
-
* `viewerName: @user.name` binding renders blank and the account menu never
|
|
305
|
-
* appears — an app that cannot say who you are. Worse, an ownership filter that
|
|
306
|
-
* works and one that is broken both render an empty table.
|
|
307
|
-
*
|
|
308
|
-
* `role` is deliberately EMPTY, not a guess. A default of `admin` would silently
|
|
309
|
-
* flip which branch renders at the 38 `@user.role` comparisons in the corpus;
|
|
310
|
-
* an empty role matches no literal, exactly as `Null` did, so this fixes
|
|
311
|
-
* "undefined at runtime" without changing a single guard outcome.
|
|
312
|
-
*/
|
|
313
|
-
declare const DEFAULT_VIEWER: UserContext;
|
|
314
|
-
/**
|
|
315
|
-
* The viewer to present an app as when nothing named one.
|
|
316
|
-
*
|
|
317
|
-
* `DEFAULT_VIEWER` is synthetic — `viewer-1` is in no app's roster — so under it
|
|
318
|
-
* every ownership predicate (`@entity.<owner> == @user.id`) matches zero rows and
|
|
319
|
-
* a correctly-scoped app renders empty tables everywhere. That is indistinguishable
|
|
320
|
-
* on screen from a broken filter, which is exactly the failure DEFAULT_VIEWER's own
|
|
321
|
-
* comment warns about.
|
|
322
|
-
*
|
|
323
|
-
* So when the app declares an `[identity]` roster, the default viewer is a REAL
|
|
324
|
-
* member of it. `DEFAULT_VIEWER` remains the fallback for apps that declare no
|
|
325
|
-
* identity entity, where there is nobody to be.
|
|
326
|
-
*
|
|
327
|
-
* Both execution paths share this rule; the Rust twin is
|
|
328
|
-
* `orbital-core::runtime::persona::resolve_default_viewer`.
|
|
329
|
-
*/
|
|
330
|
-
declare function resolveDefaultViewer(roster: readonly UserContext[]): UserContext;
|
|
331
|
-
/** Look a persona up in a roster by id, or by role when no id matches. */
|
|
332
|
-
declare function findPersonaInRoster(roster: readonly UserContext[], idOrRole: string): UserContext | undefined;
|
|
333
|
-
/**
|
|
334
|
-
* Resolve a persona spec — a bare id/role (`Person Id 3`, `moderator`) or a full
|
|
335
|
-
* JSON `UserContext` — into a viewer. This is the `ALMADAR_PERSONA` contract,
|
|
336
|
-
* shared by every host that presents an app as somebody.
|
|
337
|
-
*
|
|
338
|
-
* The roster is the app's OWN declared personas — the seeded rows of its
|
|
339
|
-
* `[identity]` entity (`Almadar_LOLO_Identity.md` §4.3) — supplied by the host
|
|
340
|
-
* that has them in hand (the runtime's live store on the interpreter path, the
|
|
341
|
-
* schema-derived seed rows on the compiled path). There is no global roster:
|
|
342
|
-
* an app without an `[identity]` entity resolves only JSON-form specs.
|
|
343
|
-
*
|
|
344
|
-
* Throws on anything unresolvable rather than returning `undefined`: "no persona"
|
|
345
|
-
* and "persona silently ignored" look identical on screen, so a bad spec must
|
|
346
|
-
* fail at boot instead of rendering as nobody.
|
|
347
|
-
*/
|
|
348
|
-
declare function resolvePersonaSpec(spec: string, roster: readonly UserContext[]): UserContext;
|
|
349
|
-
/**
|
|
350
|
-
* Marks a bearer token as a mocked dev identity rather than a real ID token.
|
|
351
|
-
* The prefix is deliberately unmistakable: a server accepts these ONLY behind an
|
|
352
|
-
* explicit dev opt-in, so a production deployment rejects them like any other
|
|
353
|
-
* malformed token.
|
|
354
|
-
*/
|
|
355
|
-
declare const DEV_TOKEN_PREFIX = "almadar-dev.";
|
|
356
|
-
/**
|
|
357
|
-
* Encode a viewer as a dev bearer token.
|
|
358
|
-
*
|
|
359
|
-
* Carries the WHOLE identity, not just the subject: real Firebase claims have no
|
|
360
|
-
* `role`, so a server that only reads `uid` leaves every `@user.role` gate inert
|
|
361
|
-
* even for a signed-in user. URI-encoded JSON keeps the token header-safe (no
|
|
362
|
-
* spaces or delimiters) and works unchanged in Node and the browser.
|
|
363
|
-
*/
|
|
364
|
-
declare function encodeDevIdentityToken(user: UserContext): string;
|
|
365
|
-
/**
|
|
366
|
-
* Decode a dev bearer token back into a viewer, or `undefined` if it is not one
|
|
367
|
-
* / is malformed — callers fail closed rather than inventing an identity.
|
|
368
|
-
*/
|
|
369
|
-
declare function decodeDevIdentityToken(token: string): UserContext | undefined;
|
|
370
|
-
|
|
371
231
|
/**
|
|
372
232
|
* Validation error types — the shape emitted by every
|
|
373
233
|
* `.orb` / `.lolo` validator pass.
|
|
@@ -2006,233 +1866,6 @@ declare function isResolvedIR(ir: RuntimeValue): ir is ResolvedIR;
|
|
|
2006
1866
|
interface ContextExtensions {
|
|
2007
1867
|
}
|
|
2008
1868
|
|
|
2009
|
-
/**
|
|
2010
|
-
* Bus Event Types (framework concept)
|
|
2011
|
-
*
|
|
2012
|
-
* Canonical event shape for Almadar's cross-package event bus. Hoisted into
|
|
2013
|
-
* `@almadar/core` so `@almadar/ui`, `@almadar/runtime`, and generated code
|
|
2014
|
-
* all agree on the same structure. Replaces the previously divergent
|
|
2015
|
-
* `KFlowEvent` (ui) and `RuntimeEvent` (runtime) definitions.
|
|
2016
|
-
*
|
|
2017
|
-
* @packageDocumentation
|
|
2018
|
-
*/
|
|
2019
|
-
|
|
2020
|
-
/**
|
|
2021
|
-
* Declared event key. A trait's event names (INIT, SAVE, CLOSE,
|
|
2022
|
-
* CONFIRM_REMOVE, ...) flow through the orbital schema and the UI as
|
|
2023
|
-
* strings; this alias marks "this string is a declared event key, not
|
|
2024
|
-
* arbitrary text."
|
|
2025
|
-
*
|
|
2026
|
-
* Component props typed as `EventKey` are detected by the pattern-sync
|
|
2027
|
-
* tool (`tools/almadar-pattern-sync/parser.ts`) via a TS-type lookup and
|
|
2028
|
-
* marked as `kind: "event"` in the patterns registry
|
|
2029
|
-
* (`@almadar/patterns`). Consumers of the registry — the Rust compiler's
|
|
2030
|
-
* inline phase and the `@almadar/runtime` preprocess — read that marker
|
|
2031
|
-
* to apply call-site `events: { OLD: NEW }` renames to render-ui trees
|
|
2032
|
-
* without name-matching heuristics.
|
|
2033
|
-
*
|
|
2034
|
-
* Plain alias over `string`. Not branded because event keys originate
|
|
2035
|
-
* from user data at runtime (orb schema literals, bus emits), so cast
|
|
2036
|
-
* friction would buy nothing. The value of the alias is at the type
|
|
2037
|
-
* surface — it's a marker the pattern-sync tool can find via
|
|
2038
|
-
* `getSymbolAtLocation`.
|
|
2039
|
-
*/
|
|
2040
|
-
type EventKey = string;
|
|
2041
|
-
/**
|
|
2042
|
-
* Phantom-typed brand for declarative bus-emit props on UI components.
|
|
2043
|
-
*
|
|
2044
|
-
* Used by component authors to BOTH mark a prop as a bus-event reference
|
|
2045
|
-
* AND document the payload shape that the component will fire onto the
|
|
2046
|
-
* bus when that prop is bound. Authors write:
|
|
2047
|
-
*
|
|
2048
|
-
* // Tabs.tsx
|
|
2049
|
-
* export interface TabsProps {
|
|
2050
|
-
* tabChangeEvent?: EventEmit<{ tabId: string }>;
|
|
2051
|
-
* }
|
|
2052
|
-
*
|
|
2053
|
-
* Consumers see only the structural `string` (no UX impact: passing a
|
|
2054
|
-
* literal `"TAB_CHANGED"` keeps working). The phantom `P` parameter
|
|
2055
|
-
* carries the bus-payload schema at the type level for pattern-sync to
|
|
2056
|
-
* extract.
|
|
2057
|
-
*
|
|
2058
|
-
* Pattern-sync (`tools/almadar-pattern-sync/parser.ts`) detects this
|
|
2059
|
-
* brand via TS type-lookup (mirrors how it detects `EventKey`) and
|
|
2060
|
-
* writes two registry fields per prop:
|
|
2061
|
-
* - `kind: "event-ref"` — the discriminant rules read in lolo / orb
|
|
2062
|
-
* validator to know "this prop's string value is a bus event name."
|
|
2063
|
-
* - `emitPayloadSchema` — the structural shape of `P`, serialized as
|
|
2064
|
-
* the same JSON-Schema-shaped record Almadar uses for trait
|
|
2065
|
-
* `payloadSchema`. Validator rules cross-check this against the
|
|
2066
|
-
* trait's declared `emits { EVENT { ... } }` payload to catch mismatches
|
|
2067
|
-
* at parse / validate time instead of runtime.
|
|
2068
|
-
*
|
|
2069
|
-
* Example payload bus emission inside the component (no wrapper —
|
|
2070
|
-
* `EventEmit<P>` erases to `string`):
|
|
2071
|
-
*
|
|
2072
|
-
* if (tabChangeEvent) eventBus.emit(`UI:${tabChangeEvent}`, { tabId });
|
|
2073
|
-
*
|
|
2074
|
-
* The brand is structurally an unused optional readonly property; TS
|
|
2075
|
-
* never asks for it at construction, so authors and consumers never
|
|
2076
|
-
* see it.
|
|
2077
|
-
*/
|
|
2078
|
-
type EventEmit<P> = string & {
|
|
2079
|
-
readonly __emitPayload?: P;
|
|
2080
|
-
};
|
|
2081
|
-
/**
|
|
2082
|
-
* Phantom-typed brand for declarative bus-listen props on UI components.
|
|
2083
|
-
*
|
|
2084
|
-
* Mirror of `EventEmit<P>`. Used by future patterns where a UI component
|
|
2085
|
-
* subscribes to a bus event and forwards its payload upward via prop
|
|
2086
|
-
* (e.g. an editor pattern that listens for `EXTERNAL_RESET` and exposes
|
|
2087
|
-
* the consumed payload to the parent). Pattern-sync detects this brand
|
|
2088
|
-
* the same way as `EventEmit<P>` and writes:
|
|
2089
|
-
* - `kind: "event-listen"` (or a sub-discriminant of `event-ref`)
|
|
2090
|
-
* - `listenPayloadSchema` with the structural shape of `P`
|
|
2091
|
-
*
|
|
2092
|
-
* Validator rules use this to verify the trait the prop is bound to
|
|
2093
|
-
* actually emits a payload of the expected shape.
|
|
2094
|
-
*
|
|
2095
|
-
* Reserved for symmetry; no @almadar/ui component uses it as of this
|
|
2096
|
-
* commit. Add usages incrementally as patterns require them.
|
|
2097
|
-
*/
|
|
2098
|
-
type EventListen<P> = string & {
|
|
2099
|
-
readonly __listenPayload?: P;
|
|
2100
|
-
};
|
|
2101
|
-
/**
|
|
2102
|
-
* Identifies the origin of a bus event. Used by cross-trait listeners to
|
|
2103
|
-
* filter emits from specific orbitals, traits, transitions, or ticks.
|
|
2104
|
-
*
|
|
2105
|
-
* `transition` and `tick` are optional runtime-internal details; most
|
|
2106
|
-
* consumers only care about `orbital` and `trait`.
|
|
2107
|
-
*/
|
|
2108
|
-
interface BusEventSource {
|
|
2109
|
-
orbital?: string;
|
|
2110
|
-
/** V4 dual-carry id sibling of `orbital` — stable across an orbital rename. */
|
|
2111
|
-
orbitalId?: OrbitalId;
|
|
2112
|
-
trait?: string;
|
|
2113
|
-
/** V4 dual-carry id sibling of `trait` — stable across a trait rename. */
|
|
2114
|
-
traitId?: TraitId;
|
|
2115
|
-
/** V4 dual-carry id of the emitted event — stable across an event rename. */
|
|
2116
|
-
eventId?: EventId;
|
|
2117
|
-
transition?: string;
|
|
2118
|
-
tick?: string;
|
|
2119
|
-
/**
|
|
2120
|
-
* True when the orbital bridge re-broadcasts an event onto the bus
|
|
2121
|
-
* (any source — both echoes of the dispatched event and server-side
|
|
2122
|
-
* cascade emits via `(emit X)` / `fetch.emit.success`). Cross-trait
|
|
2123
|
-
* listeners filter on this flag so the click-time qualified emit
|
|
2124
|
-
* (which has no `fromBridge`) doesn't double-fire alongside the
|
|
2125
|
-
* post-server bridge confirmation. See `dispatched` for the narrower
|
|
2126
|
-
* "echo of the just-dispatched event" signal.
|
|
2127
|
-
*/
|
|
2128
|
-
fromBridge?: boolean;
|
|
2129
|
-
/**
|
|
2130
|
-
* True ONLY for bridge echoes the receiving tab already processed, so
|
|
2131
|
-
* the originating trait's self-subscription skips them instead of
|
|
2132
|
-
* re-dispatching its own echo (infinite loop / double execution).
|
|
2133
|
-
* Set by path 1 of useOrbitalBridge (compiled shell — echo of the
|
|
2134
|
-
* just-dispatched event; server-side cascade emits there carry
|
|
2135
|
-
* `fromBridge: true` but NOT `dispatched`, so they still reach the
|
|
2136
|
-
* source trait's transition handler, e.g. `loading -> browsing` on a
|
|
2137
|
-
* fetch's `emit.success`) and by ServerBridge (runtime path — stamped
|
|
2138
|
-
* on exactly one response-cascade echo per event the dispatch delivered
|
|
2139
|
-
* locally on the bare key, `stampLocallyDeliveredEchoes`; server-only
|
|
2140
|
-
* results stay unstamped). Cross-trait `listens` never filter on this
|
|
2141
|
-
* flag, so their delivery is unaffected. Push-leg events from OTHER
|
|
2142
|
-
* tabs (multiplayer) are never stamped.
|
|
2143
|
-
*/
|
|
2144
|
-
dispatched?: boolean;
|
|
2145
|
-
/**
|
|
2146
|
-
* The client that originated the dispatch whose effects emitted this
|
|
2147
|
-
* event (from `OrbitalEventRequest.clientId`); absent for headless
|
|
2148
|
-
* dispatches (ticks, circuit-router probes, walkers). The server-side
|
|
2149
|
-
* listens fan-out skips client-originated cascade emits — under dual
|
|
2150
|
-
* execution the originating client relays every cascade hop through the
|
|
2151
|
-
* bridge itself, so the server dispatching the same hop double-ran it
|
|
2152
|
-
* (one Send persisted two rows). Headless topology keeps the fan-out:
|
|
2153
|
-
* there is no client to drive the circuit.
|
|
2154
|
-
*/
|
|
2155
|
-
originClientId?: string;
|
|
2156
|
-
}
|
|
2157
|
-
/**
|
|
2158
|
-
* An event flowing on the bus.
|
|
2159
|
-
*
|
|
2160
|
-
* The `source` field is structured so cross-trait listeners can match
|
|
2161
|
-
* `event.source?.orbital === 'X' && event.source?.trait === 'Y'` without
|
|
2162
|
-
* parsing a delimiter.
|
|
2163
|
-
*/
|
|
2164
|
-
interface BusEvent {
|
|
2165
|
-
/** Event type identifier (e.g., 'CartItemLoaded', 'TASK_COMPLETED') */
|
|
2166
|
-
type: EventKey;
|
|
2167
|
-
/** Optional structured payload */
|
|
2168
|
-
payload?: EventPayload;
|
|
2169
|
-
/** Timestamp when the event was emitted */
|
|
2170
|
-
timestamp: number;
|
|
2171
|
-
/** Optional origin info for filtering */
|
|
2172
|
-
source?: BusEventSource;
|
|
2173
|
-
}
|
|
2174
|
-
/** Bus event listener callback. */
|
|
2175
|
-
type BusEventListener = (event: BusEvent) => void;
|
|
2176
|
-
/** Returned by `on()` / `once()` to detach a listener. */
|
|
2177
|
-
type Unsubscribe = () => void;
|
|
2178
|
-
/**
|
|
2179
|
-
* One event a transition's effects emitted, carried back to the client to
|
|
2180
|
-
* re-dispatch (in order) so the state machine advances through the
|
|
2181
|
-
* cascade without server-side recursion. Named/shaped to match the
|
|
2182
|
-
* generated compiled-path `EmittedEvent` (orbital-shell-typescript's
|
|
2183
|
-
* `shared/types.ts`) so the two execution paths agree on one shape.
|
|
2184
|
-
*/
|
|
2185
|
-
interface EmittedEvent {
|
|
2186
|
-
event: string;
|
|
2187
|
-
payload?: EventPayload;
|
|
2188
|
-
source?: BusEventSource;
|
|
2189
|
-
}
|
|
2190
|
-
/**
|
|
2191
|
-
* Client → server event dispatch request. The single upstream owner of
|
|
2192
|
-
* this shape — both the JS interpreter and the compiled path's generated
|
|
2193
|
-
* `EventRequest` (orbital-shell-typescript's `shared/types.ts`) carry the
|
|
2194
|
-
* same fields, so the two execution paths cannot drift.
|
|
2195
|
-
*/
|
|
2196
|
-
interface EventDispatchRequest {
|
|
2197
|
-
event: string;
|
|
2198
|
-
payload?: EventPayload;
|
|
2199
|
-
/** Current client state, for validation. */
|
|
2200
|
-
currentState?: string;
|
|
2201
|
-
/** Per-tab client id — the live-broadcast origin-exclusion key. */
|
|
2202
|
-
clientId?: string;
|
|
2203
|
-
/**
|
|
2204
|
-
* The dispatching trait's current `@entity` frame (declared defaults <
|
|
2205
|
-
* fetched row < `[shared]` frame). The server layers it over the row it
|
|
2206
|
-
* resolves via `resolveEntityView` so guards and effects read the same
|
|
2207
|
-
* values the client does.
|
|
2208
|
-
*/
|
|
2209
|
-
fields?: EntityRow;
|
|
2210
|
-
}
|
|
2211
|
-
/**
|
|
2212
|
-
* Server → client event dispatch response. Mirrors the compiled path's
|
|
2213
|
-
* generated `EventResponse` (orbital-shell-typescript's `shared/types.ts`);
|
|
2214
|
-
* kept field-for-field in sync except `effectResults`, which core has no
|
|
2215
|
-
* canonical shape for yet (the per-app generated `EffectResult` is
|
|
2216
|
-
* distinct from core's `EffectResult` in `types/living.ts` — reusing that
|
|
2217
|
-
* one would misdescribe this field, so it is intentionally omitted here).
|
|
2218
|
-
*/
|
|
2219
|
-
interface EventDispatchResponse {
|
|
2220
|
-
success: boolean;
|
|
2221
|
-
newState?: string;
|
|
2222
|
-
data?: Record<string, EntityRow[]>;
|
|
2223
|
-
/** Events emitted while running this transition's effects, in order. */
|
|
2224
|
-
emittedEvents?: EmittedEvent[];
|
|
2225
|
-
/**
|
|
2226
|
-
* `@entity` fields this transition's server-side `set` effects wrote,
|
|
2227
|
-
* post-effect. The client merges them over its own effect results
|
|
2228
|
-
* (server wins).
|
|
2229
|
-
*/
|
|
2230
|
-
fields?: EntityRow;
|
|
2231
|
-
error?: string;
|
|
2232
|
-
/** Guard that failed, for debugging. */
|
|
2233
|
-
guardFailed?: string;
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
1869
|
/**
|
|
2237
1870
|
* Verification Types (framework concept)
|
|
2238
1871
|
*
|
|
@@ -3275,4 +2908,4 @@ interface RenderOverlayResult {
|
|
|
3275
2908
|
*/
|
|
3276
2909
|
declare function applyRenderOverlay(orbital: OrbitalDefinition, patches: readonly RenderUiPatch[]): RenderOverlayResult;
|
|
3277
2910
|
|
|
3278
|
-
export {
|
|
2911
|
+
export { type EdgeType as $, type AgentCodeSearchResult as A, BINDING_CONTEXT_RULES as B, type ChangesetValue as C, type BuilderResult as D, type CancelledEvent as E, type ChangeAuthor as F, type ChangeSetDocument as G, type ChangeSummary as H, type ChangesetRecordedEvent as I, type CheckStatus as J, type Clarification as K, type ClarificationCandidate as L, type ClarificationLevel as M, type CompleteEvent as N, type ComplexityAssessment as O, type PageContentReduction as P, type ComposeAllResult as Q, type ResolvedIR as R, type SchemaChange as S, type ComposeChildrenResult as T, type ComposeOptions as U, type ContextExtensions as V, type CreateFlow as W, DEFAULT_INTERACTION_MODELS as X, type DeleteFlow as Y, type DispatchUpdatesResult as Z, type DrawableDescriptor as _, type ResolvedEntity as a, type ParsedOrbital as a$, type EditFlow as a0, type EditFocus as a1, type EditFocusLevel as a2, type EffectPayload as a3, type EffectResult as a4, type EffectTrace as a5, type ErrorEvent as a6, type EventLogEntry as a7, type EvolutionDelta as a8, type ExecutePlanResult as a9, type LivingOrbital as aA, type LivingOrbitalSchema as aB, type LivingPage as aC, type LivingState as aD, type LivingTrait as aE, type LivingTransition as aF, type LivingValue as aG, type LivingVertex as aH, type LlmCallToolsResult as aI, type LlmContext as aJ, type LlmMessage as aK, type LlmTokenUsage as aL, type LlmToolCall as aM, type LlmToolDef as aN, type LoloEmitResult as aO, type MemoryContext as aP, type MessageEvent as aQ, type OrbitalAddedEvent as aR, type OrbitalSchemaCompleteEvent as aS, type OrbitalVerificationAPI as aT, type ParamsRepairEmittedEvent as aU, type ParsedDesign as aV, type ParsedDomainContext as aW, type ParsedEmitDeclaration as aX, type ParsedEntity as aY, type ParsedEvent as aZ, type ParsedListenDeclaration as a_, type ExtraTraitRef as aa, type FileOperationEvent as ab, type FileWrittenEvent as ac, type GateState as ad, type GenerationLogEvent as ae, type GitHubIssue as af, type GitHubLink as ag, type GitHubRepo as ah, type HistoryMeta as ai, type IntegrationContext as aj, type InteractionModel as ak, type InteractionModelInput as al, InteractionModelSchema as am, type InterruptEvent as an, KNOWN_VALIDATION_ERROR_CODES as ao, type KnobPayload as ap, type KnownValidationErrorCode as aq, type LLMErrorContext as ar, type LazyService as as, type LineageEntry as at, type ListInteraction as au, type LivingEdge as av, type LivingEffect as aw, type LivingEntity as ax, type LivingEvent as ay, type LivingField as az, type ResolvedPage as b, type StartEvent as b$, type ParsedPage as b0, type ParsedState as b1, type ParsedStateMachine as b2, type ParsedTrait as b3, type ParsedTraitConfig as b4, type ParsedTransition as b5, type PatternNode as b6, PatternTypeSchema as b7, type PatternValue as b8, type PersistActionName as b9, type ResolvedTraitListener as bA, type ResolvedTraitState as bB, type ResolvedTraitTick as bC, type ResolvedTraitTransition as bD, type ResolvedTraitUIBinding as bE, type SSEEvent as bF, type SSEEventBase as bG, type SSEEventType as bH, type SaveOptions as bI, type SaveResult as bJ, type SchemaPhaseUpdateEvent as bK, type SchemaPhaseValidatedEvent as bL, type SchemaUpdateEvent as bM, type SemanticAnnotation as bN, type SemanticChangeKind as bO, type SemanticVector as bP, type ServerResponseTrace as bQ, type ServiceAction as bR, type ServiceActionName as bS, type ServiceCallResult as bT, type ServiceContract as bU, type ServiceEvents as bV, type SessionContext as bW, type SessionHistoryEntry as bX, type SnapshotCreatedEvent as bY, type SnapshotDocument as bZ, type SpawnResult as b_, type PlanSnapshot as ba, type PlanSnapshotStatus as bb, type PlannerResult as bc, type Probability as bd, type ProcessCompleteEvent as be, type ProcessErrorEvent as bf, type ProcessRepairCompleteEvent as bg, type ProcessRepairEvent as bh, type ProcessStartEvent as bi, RENDER_BINDING_MARKER as bj, type RenderBindingMarker as bk, type RenderOverlayResult as bl, type RenderUiPatch as bm, type RenderUiPatchAddress as bn, type RenderUiPatchOp as bo, type RepairResult as bp, type ResolvedEntityBinding as bq, type ResolvedField as br, type ResolvedNavigation as bs, type ResolvedPattern as bt, type ResolvedSection as bu, type ResolvedSectionEvent as bv, type ResolvedTraitBinding as bw, type ResolvedTraitDataEntity as bx, type ResolvedTraitEvent as by, type ResolvedTraitGuard as bz, type ResolvedTrait as c, type StatsView as c0, type StoreContract as c1, type StoreFilter as c2, type StoreFilterOp as c3, type SubagentCompleteEvent as c4, type SubagentEvent as c5, type SubagentProgressEvent as c6, type SubagentStartEvent as c7, type TodoActivityType as c8, type TodoDetailEvent as c9, containsEntityBinding as cA, containsPayloadBinding as cB, createEmptyResolvedPage as cC, createEmptyResolvedTrait as cD, createLazyService as cE, createResolvedField as cF, createTypedEventBus as cG, fingerprintNode as cH, getBindingExamples as cI, getInteractionModelForDomain as cJ, inferTsType as cK, insertChildAtPath as cL, isKnownValidationErrorCode as cM, isPlanSnapshot as cN, isRenderBindingMarker as cO, isResolvedIR as cP, isSessionHistoryEntry as cQ, isTraitFieldRef as cR, navigatePatternPath as cS, removeChildAtPath as cT, replaceChildAtPath as cU, setPropAtPath as cV, toBindingRoot as cW, validateBindingInContext as cX, widenTier as cY, type TodoUpdateEvent as ca, type ToolCallEvent as cb, type ToolResultEvent as cc, type TraceContext as cd, type TraitFieldRef as ce, TraitFieldRefSchema as cf, type TraitStateSnapshot as cg, type TransitionFrom as ch, type TransitionTrace as ci, type ValidateResult as cj, type ValidationDocument as ck, type ValidationError as cl, type ValidationErrorCode as cm, type ValidationIssue as cn, type ValidationMeta as co, type ValidationResult as cp, type ValidationResults as cq, type VerificationCheck as cr, type VerificationSnapshot as cs, type VerificationSummary as ct, type VertexId as cu, type VertexPayload as cv, type VertexType as cw, type ViewFlow as cx, type WorkspaceContext as cy, applyRenderOverlay as cz, type CategorizedRemovals as d, type SemanticSchemaChange as e, type AgentCompactResult as f, type AgentCompactStrategy as g, type AgentContext as h, type AgentGenerateOptions as i, type AgentMemoryCategory as j, type AgentMemoryRecord as k, type AnalysisOrbital as l, type AnalysisOrbitalParams as m, type AnalysisPageOverride as n, type AnalysisRename as o, type AnalysisResult as p, type AnnotationTier as q, type AppCreatedEvent as r, type AppSummary as s, type AssetLoadStatus as t, BINDING_DOCS as u, BINDING_ROOTS as v, type BindingContext as w, type BindingRoot as x, BindingSchema as y, type BridgeHealth as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
import { O as OrbitalSchema, a as OrbitalDefinition, b as ExpectDeclaration } from './schema-
|
|
2
|
-
export {
|
|
3
|
-
import { F as FieldValue, g as EntityRow } from './effect-
|
|
4
|
-
export {
|
|
5
|
-
import {
|
|
6
|
-
export { C as CORE_BINDINGS, c as CoreBinding, d as EvalContext, E as Expression,
|
|
7
|
-
import { R as ResolvedIR, a as ResolvedEntity, b as ResolvedPage, c as ResolvedTrait, C as ChangesetValue, S as SchemaChange, d as CategorizedRemovals, P as PageContentReduction, e as SemanticSchemaChange } from './index-
|
|
8
|
-
export { A as
|
|
9
|
-
import {
|
|
10
|
-
export {
|
|
1
|
+
import { O as OrbitalSchema, a as OrbitalDefinition, b as ExpectDeclaration } from './schema-TqLV2wlK.js';
|
|
2
|
+
export { C as ComputedEventContract, e as ComputedEventContractSchema, f as ComputedEventListener, g as ComputedEventListenerSchema, h as ConfigProvenanceRecord, i as ConfigProvenanceRecordSchema, j as EntityCall, k as EntityCallSchema, E as EntityRef, l as EntityRefSchema, m as EntityRefStringSchema, n as EventListener, o as EventListenerSchema, p as EventSource, q as EventSourceSchema, r as ExpectDeclarationSchema, s as FullOrbitalUnit, s as Orbital, t as OrbitalDefinitionSchema, u as OrbitalInput, v as OrbitalPage, w as OrbitalPageInput, x as OrbitalPageSchema, y as OrbitalPageStrictInput, z as OrbitalPageStrictSchema, A as OrbitalRefObject, B as OrbitalRefObjectSchema, D as OrbitalRefStringSchema, F as OrbitalSchemaInput, G as OrbitalSchemaSchema, H as OrbitalSchemaWithTraits, I as OrbitalUnit, J as OrbitalUnitSchema, K as OrbitalZodSchema, c as Page, P as PageRef, d as PageRefObject, L as PageRefObjectSchema, M as PageRefSchema, N as PageRefStringSchema, Q as PageSchema, R as PageTraitRef, S as PageTraitRefSchema, T as SchemaMetadata, V as SchemaMetadataSchema, U as UseDeclaration, W as UseDeclarationSchema, X as ViewType, Y as ViewTypeSchema, Z as expectedEntityName, _ as isEntityCall, $ as isEntityReference, a0 as isEntityReferenceAny, a1 as isImportedTraitRef, a2 as isOrbitalDefinition, a3 as isPageReference, a4 as isPageReferenceObject, a5 as isPageReferenceString, a6 as parseEntityRef, a7 as parseImportedTraitRef, a8 as parseOrbitalRef, a9 as parseOrbitalSchema, aa as parsePageRef, ab as safeParseOrbitalSchema } from './schema-TqLV2wlK.js';
|
|
3
|
+
import { F as FieldValue, g as EntityRow } from './effect-Hm_QDaSI.js';
|
|
4
|
+
export { n as ANIMATION_NAMES, o as ASSET_ASPECTS, p as ASSET_DIMENSIONS, q as AgentEffect, r as AnimationDef, s as AnimationDefInput, t as AnimationDefSchema, u as AnimationName, v as AnimationNameSchema, A as AnyPatternConfig, w as ApplicationEffect, x as ArrayEntityField, y as Asset, z as AssetAspect, B as AssetAspectSchema, C as AssetCatalog, D as AssetCatalogEntry, G as AssetCatalogEntryInput, H as AssetCatalogEntrySchema, J as AssetCatalogSchema, K as AssetDimension, L as AssetDimensionSchema, M as AssetSchema, Q as AssetUrl, V as AtomicEffect, W as AudioManifest, X as AudioManifestSchema, Y as BehaviorEffect, Z as CAMERA_MODES, _ as CallServiceConfig, $ as CallServiceEffect, a0 as Camera, a1 as CameraMode, a2 as CameraModeSchema, a3 as CameraSchema, a4 as CheckpointLoadEffect, a5 as CheckpointSaveEffect, a6 as ComposeEffect, a7 as ControlValue, a8 as DEFAULT_UNIT_ANIMATION_ROWS, a9 as DerefEffect, aa as DespawnEffect, ab as DoEffect, ac as ENTITY_ROLES, c as Effect, ad as EffectInput, ae as EffectSchema, af as EmitConfig, ag as EmitEffect, f as Entity, ah as EntityData, E as EntityField, ai as EntityFieldInput, aj as EntityFieldSchema, e as EntityId, ak as EntityIdSchema, a as EntityPersistence, al as EntityPersistenceSchema, am as EntityRole, an as EntityRoleSchema, ao as EntityRowSchema, ap as EntitySchema, aq as EntityWith, ar as EnumEntityField, as as EvaluateConfig, at as EvaluateEffect, b as EventId, au as EventIdSchema, av as FIELD_TYPES, aw as FetchEffect, ax as FetchOptions, ay as FetchResult, az as FetchStreamEffect, aA as FetchStreamOptions, aB as Field, aC as FieldSchema, aD as FieldType, aE as FieldTypeSchema, aF as FieldValueSchema, aG as FileValue, aH as FileValueSchema, aI as ForwardConfig, aJ as ForwardEffect, aK as IdForKind, aL as IdKind, I as IdentityLedger, aM as IdentityLedgerSchema, aN as LedgerEntry, aO as LedgerEntrySchema, aP as LedgerKind, aQ as LedgerKindSchema, aR as LlmEffect, aS as LogEffect, aT as MANIFEST_ASSET_LICENSES, aU as MANIFEST_CANVAS_AFFINITIES, aV as MANIFEST_ENTRY_KINDS, aW as MANIFEST_SOURCE_CATALOGS, aX as ManifestAssetLicense, aY as ManifestAssetLicenseSchema, aZ as ManifestCanvasAffinity, a_ as ManifestCanvasAffinitySchema, a$ as ManifestEntry, b0 as ManifestEntryInput, b1 as ManifestEntryKind, b2 as ManifestEntryKindSchema, b3 as ManifestEntrySchema, b4 as ManifestFrameSpec, b5 as ManifestFrameSpecSchema, b6 as ManifestSourceCatalog, b7 as ManifestSourceCatalogSchema, b8 as McpServiceDef, b9 as McpServiceDefSchema, ba as MemoryEffect, N as NamespacedEffectName, bb as NavigateBackEffect, bc as NavigateEffect, bd as NavigateOptions, be as NnConfig, bf as NnLayer, bg as ObjectEntityField, O as OrbitalEntity, bh as OrbitalEntityInput, bi as OrbitalEntitySchema, d as OrbitalId, bj as OrbitalIdSchema, bk as OsEffect, bl as PATTERN_TYPES, P as PageId, bm as PageIdSchema, bn as PaletteEntryId, bo as PaletteEntryIdSchema, h as PatternConfig, bp as PatternConfigSchema, bq as PatternProps, br as PatternPropsMap, bs as PatternType, bt as PersistBatchOperation, bu as PersistData, bv as PersistEffect, bw as PersistEmitConfig, bx as RefEffect, R as RelationConfig, by as RelationConfigSchema, bz as RelationEntityField, l as RenderBinding, bA as RenderChildrenMap, bB as RenderItemLambda, m as RenderUIEffect, bC as RenderUINode, i as ResolvedPatternProps, bD as ResolvedPatternPropsSchema, bE as RestAuthConfig, bF as RestAuthConfigSchema, bG as RestServiceDef, bH as RestServiceDefSchema, bI as SEMANTIC_STRING_TYPES, bJ as SERVER_REPORTED_EFFECTS, bK as SERVICE_TYPES, bL as SHEET_PROJECTIONS, bM as SPRITE_DIRECTIONS, bN as SPRITE_SHEET_LAYOUT, bO as ScalarEntityField, bP as ScenePos, bQ as ScenePosSchema, bR as SemanticAssetRef, bS as SemanticAssetRefInput, bT as SemanticAssetRefSchema, bU as SemanticStringType, S as ServerReportedEffect, k as ServiceDefinition, bV as ServiceDefinitionSchema, bW as ServiceId, bX as ServiceIdSchema, bY as ServiceParams, bZ as ServiceParamsValue, j as ServiceRef, b_ as ServiceRefObject, b$ as ServiceRefObjectSchema, c0 as ServiceRefSchema, c1 as ServiceRefStringSchema, c2 as ServiceType, c3 as ServiceTypeSchema, c4 as SessionEffect, c5 as SetEffect, c6 as SheetProjection, c7 as SheetProjectionSchema, c8 as SocketEvents, c9 as SocketEventsSchema, ca as SocketServiceDef, cb as SocketServiceDefSchema, cc as SoundEntry, cd as SoundEntrySchema, ce as SpawnEffect, cf as SpriteDirection, cg as SpriteDirectionSchema, ch as SpriteSheetAtlas, ci as SpriteSheetAtlasInput, cj as SpriteSheetAtlasSchema, ck as SpriteSheetLayout, cl as SubTexture, cm as SubTextureSchema, cn as SwapEffect, co as TYPE_POSITION_ONLY, cp as TemplatePatternConfig, cq as TextureAtlas, cr as TextureAtlasSchema, cs as ThemeId, ct as ThemeIdSchema, cu as Tilesheet, cv as TilesheetSchema, cw as TraceEffect, cx as TrainConfig, cy as TrainEffect, T as TraitId, cz as TraitIdSchema, cA as TypedEffect, U as UISlot, cB as UISlotSchema, cC as UI_SLOTS, cD as VISUAL_STYLES, cE as ValidateEffect, cF as VisualStyle, cG as VisualStyleSchema, cH as WatchEffect, cI as WatchOptions, cJ as asEntityId, cK as asEventId, cL as asOrbitalId, cM as asPageId, cN as asPaletteEntryId, cO as asServiceId, cP as asThemeId, cQ as asTraitId, cR as atomic, cS as callService, cT as createAssetKey, cU as defaultUnitAtlas, cV as deref, cW as deriveCollection, cX as deriveId, cY as despawn, cZ as doEffects, c_ as emit, c$ as findService, d0 as getDefaultAnimationsForRole, d1 as getServiceNames, d2 as hasService, d3 as idKindOf, d4 as idPrefix, d5 as isEffect, d6 as isEmailValue, d7 as isEntityId, d8 as isEventId, d9 as isFieldValue, da as isFileValue, db as isMcpService, dc as isOrbitalId, dd as isPageId, de as isPaletteEntryId, df as isPersistBatchOperation, dg as isPhoneValue, dh as isRestService, di as isRuntimeEntity, dj as isSExprEffect, dk as isSemanticStringType, dl as isSemanticStringValue, dm as isServiceId, dn as isServiceReference, dp as isServiceReferenceObject, dq as isSocketService, dr as isThemeId, ds as isTraitId, dt as isUrlValue, du as isUuidValue, dv as isValidPatternType, dw as ledgerCurName, dx as ledgerRename, dy as ledgerResolveName, dz as manifestToAssetCatalog, dA as matchAssetQuery, dB as mintId, dC as navigate, dD as navigateBack, dE as parseAssetKey, dF as parseAssetQuery, dG as parseServiceRef, dH as persist, dI as persistenceModeAllowsOverrides, dJ as ref, dK as renderUI, dL as set, dM as spawn, dN as swap, dO as validateAssetAnimations, dP as watch } from './effect-Hm_QDaSI.js';
|
|
5
|
+
import { b as EventPayload, a as EventPayloadValue, S as SExpr } from './expression-DRwzVnMu.js';
|
|
6
|
+
export { C as CORE_BINDINGS, c as CoreBinding, d as EvalContext, e as EventPayloadSchema, f as EventPayloadValueSchema, E as Expression, g as ExpressionInput, h as ExpressionSchema, L as LogMeta, i as LogMetaValue, P as ParsedBinding, j as SExprAtom, k as SExprAtomSchema, l as SExprDataSchema, m as SExprInput, n as SExprObject, o as SExprSchema, p as collectBindings, q as getArgs, r as getOperator, s as isBinding, t as isEventPayloadValue, u as isSExpr, v as isSExprAtom, w as isSExprCall, x as isValidBinding, y as parseBinding, z as sexpr, A as walkSExpr } from './expression-DRwzVnMu.js';
|
|
7
|
+
import { R as ResolvedIR, a as ResolvedEntity, b as ResolvedPage, c as ResolvedTrait, C as ChangesetValue, S as SchemaChange, d as CategorizedRemovals, P as PageContentReduction, e as SemanticSchemaChange } from './index-DPdJPQZe.js';
|
|
8
|
+
export { A as AgentCodeSearchResult, f as AgentCompactResult, g as AgentCompactStrategy, h as AgentContext, i as AgentGenerateOptions, j as AgentMemoryCategory, k as AgentMemoryRecord, l as AnalysisOrbital, m as AnalysisOrbitalParams, n as AnalysisPageOverride, o as AnalysisRename, p as AnalysisResult, q as AnnotationTier, r as AppCreatedEvent, s as AppSummary, t as AssetLoadStatus, B as BINDING_CONTEXT_RULES, u as BINDING_DOCS, v as BINDING_ROOTS, w as BindingContext, x as BindingRoot, y as BindingSchema, z as BridgeHealth, D as BuilderResult, E as CancelledEvent, F as ChangeAuthor, G as ChangeSetDocument, H as ChangeSummary, I as ChangesetRecordedEvent, J as CheckStatus, K as Clarification, L as ClarificationCandidate, M as ClarificationLevel, N as CompleteEvent, O as ComplexityAssessment, Q as ComposeAllResult, T as ComposeChildrenResult, U as ComposeOptions, V as ContextExtensions, W as CreateFlow, X as DEFAULT_INTERACTION_MODELS, Y as DeleteFlow, Z as DispatchUpdatesResult, _ as DrawableDescriptor, $ as EdgeType, a0 as EditFlow, a1 as EditFocus, a2 as EditFocusLevel, a3 as EffectPayload, a4 as EffectResult, a5 as EffectTrace, a6 as ErrorEvent, a7 as EventLogEntry, a8 as EvolutionDelta, a9 as ExecutePlanResult, aa as ExtraTraitRef, ab as FileOperationEvent, ac as FileWrittenEvent, ad as GateState, ae as GenerationLogEvent, af as GitHubIssue, ag as GitHubLink, ah as GitHubRepo, ai as HistoryMeta, aj as IntegrationContext, ak as InteractionModel, al as InteractionModelInput, am as InteractionModelSchema, an as InterruptEvent, ao as KNOWN_VALIDATION_ERROR_CODES, ap as KnobPayload, aq as KnownValidationErrorCode, ar as LLMErrorContext, as as LazyService, at as LineageEntry, au as ListInteraction, av as LivingEdge, aw as LivingEffect, ax as LivingEntity, ay as LivingEvent, az as LivingField, aA as LivingOrbital, aB as LivingOrbitalSchema, aC as LivingPage, aD as LivingState, aE as LivingTrait, aF as LivingTransition, aG as LivingValue, aH as LivingVertex, aI as LlmCallToolsResult, aJ as LlmContext, aK as LlmMessage, aL as LlmTokenUsage, aM as LlmToolCall, aN as LlmToolDef, aO as LoloEmitResult, aP as MemoryContext, aQ as MessageEvent, aR as OrbitalAddedEvent, aS as OrbitalSchemaCompleteEvent, aT as OrbitalVerificationAPI, aU as ParamsRepairEmittedEvent, aV as ParsedDesign, aW as ParsedDomainContext, aX as ParsedEmitDeclaration, aY as ParsedEntity, aZ as ParsedEvent, a_ as ParsedListenDeclaration, a$ as ParsedOrbital, b0 as ParsedPage, b1 as ParsedState, b2 as ParsedStateMachine, b3 as ParsedTrait, b4 as ParsedTraitConfig, b5 as ParsedTransition, b6 as PatternNode, b7 as PatternTypeSchema, b8 as PatternValue, b9 as PersistActionName, ba as PlanSnapshot, bb as PlanSnapshotStatus, bc as PlannerResult, bd as Probability, be as ProcessCompleteEvent, bf as ProcessErrorEvent, bg as ProcessRepairCompleteEvent, bh as ProcessRepairEvent, bi as ProcessStartEvent, bj as RENDER_BINDING_MARKER, bk as RenderBindingMarker, bl as RenderOverlayResult, bm as RenderUiPatch, bn as RenderUiPatchAddress, bo as RenderUiPatchOp, bp as RepairResult, bq as ResolvedEntityBinding, br as ResolvedField, bs as ResolvedNavigation, bt as ResolvedPattern, bu as ResolvedSection, bv as ResolvedSectionEvent, bw as ResolvedTraitBinding, bx as ResolvedTraitDataEntity, by as ResolvedTraitEvent, bz as ResolvedTraitGuard, bA as ResolvedTraitListener, bB as ResolvedTraitState, bC as ResolvedTraitTick, bD as ResolvedTraitTransition, bE as ResolvedTraitUIBinding, bF as SSEEvent, bG as SSEEventBase, bH as SSEEventType, bI as SaveOptions, bJ as SaveResult, bK as SchemaPhaseUpdateEvent, bL as SchemaPhaseValidatedEvent, bM as SchemaUpdateEvent, bN as SemanticAnnotation, bO as SemanticChangeKind, bP as SemanticVector, bQ as ServerResponseTrace, bR as ServiceAction, bS as ServiceActionName, bT as ServiceCallResult, bU as ServiceContract, bV as ServiceEvents, bW as SessionContext, bX as SessionHistoryEntry, bY as SnapshotCreatedEvent, bZ as SnapshotDocument, b_ as SpawnResult, b$ as StartEvent, c0 as StatsView, c1 as StoreContract, c2 as StoreFilter, c3 as StoreFilterOp, c4 as SubagentCompleteEvent, c5 as SubagentEvent, c6 as SubagentProgressEvent, c7 as SubagentStartEvent, c8 as TodoActivityType, c9 as TodoDetailEvent, ca as TodoUpdateEvent, cb as ToolCallEvent, cc as ToolResultEvent, cd as TraceContext, ce as TraitFieldRef, cf as TraitFieldRefSchema, cg as TraitStateSnapshot, ch as TransitionFrom, ci as TransitionTrace, cj as ValidateResult, ck as ValidationDocument, cl as ValidationError, cm as ValidationErrorCode, cn as ValidationIssue, co as ValidationMeta, cp as ValidationResult, cq as ValidationResults, cr as VerificationCheck, cs as VerificationSnapshot, ct as VerificationSummary, cu as VertexId, cv as VertexPayload, cw as VertexType, cx as ViewFlow, cy as WorkspaceContext, cz as applyRenderOverlay, cA as containsEntityBinding, cB as containsPayloadBinding, cC as createEmptyResolvedPage, cD as createEmptyResolvedTrait, cE as createLazyService, cF as createResolvedField, cG as createTypedEventBus, cH as fingerprintNode, cI as getBindingExamples, cJ as getInteractionModelForDomain, cK as inferTsType, cL as insertChildAtPath, cM as isKnownValidationErrorCode, cN as isPlanSnapshot, cO as isRenderBindingMarker, cP as isResolvedIR, cQ as isSessionHistoryEntry, cR as isTraitFieldRef, cS as navigatePatternPath, cT as removeChildAtPath, cU as replaceChildAtPath, cV as setPropAtPath, cW as toBindingRoot, cX as validateBindingInContext, cY as widenTier } from './index-DPdJPQZe.js';
|
|
9
|
+
import { U as UserContext } from './bus-D69s_77B.js';
|
|
10
|
+
export { A as ANONYMOUS_USER, B as BusEvent, b as BusEventListener, c as BusEventSource, d as BusEventSourceSchema, C as ClientEffectTuple, e as ClientEffectTupleSchema, f as ClientNavigateBackTuple, g as ClientNavigateBackTupleSchema, h as ClientNavigateTuple, i as ClientNavigateTupleSchema, j as ClientRenderUITuple, k as ClientRenderUITupleSchema, D as DEFAULT_VIEWER, l as DEV_TOKEN_PREFIX, E as EmittedEvent, m as EmittedEventSchema, n as EventDispatchRequest, o as EventDispatchRequestSchema, p as EventDispatchResponse, q as EventDispatchResponseSchema, r as EventEmit, s as EventKey, t as EventListen, L as LiveBroadcastItem, u as LiveBroadcastItemSchema, O as OrbitalEventRequest, v as OrbitalEventRequestSchema, a as OrbitalEventResponse, w as OrbitalEventResponseSchema, R as RawUserClaims, x as RawUserClaimsSchema, S as ServerBatchSummary, y as ServerBatchSummarySchema, z as ServerEffectResult, F as ServerEffectResultSchema, T as TransitionRejection, G as TransitionRejectionCode, H as Unsubscribe, I as decodeDevIdentityToken, J as encodeDevIdentityToken, K as findPersonaInRoster, M as normalizeUserContext, N as personaFromIdentityRow, P as resolveDefaultViewer, Q as resolvePersonaSpec } from './bus-D69s_77B.js';
|
|
11
|
+
import { b as TraitConfig, h as Trait, S as State } from './trait-YlNXc4H3.js';
|
|
12
|
+
export { l as CONFIG_REF_EVENT_PATTERN, i as CallSiteConfig, j as CallSiteConfigEntry, C as ConfigFieldDeclaration, m as ConfigFieldDeclarationSchema, n as ConfigFieldItemsDeclaration, o as ConfigRefEventError, D as DeclaredTraitConfig, p as DeclaredTraitConfigSchema, q as EntityFieldContract, r as EntityFieldContractSchema, s as Event, t as EventInput, E as EventPayloadField, u as EventPayloadFieldSchema, v as EventSchema, w as EventScope, x as EventScopeSchema, G as Guard, y as GuardInput, z as GuardSchema, L as ListenSource, A as ListenSourceSchema, O as OrbitalTraitRef, B as OrbitalTraitRefSchema, P as PayloadField, F as PayloadFieldSchema, H as PayloadTypeWhen, I as PayloadTypeWhenSchema, J as PresentationType, R as REFERENCE_CONFIG_TYPES, K as ReferenceConfigType, M as RequiredField, N as RequiredFieldSchema, Q as SECRET_CONFIG_TYPES, U as SecretConfigType, V as StateInput, W as StateMachine, X as StateMachineInput, Y as StateMachineSchema, Z as StateSchema, _ as TickIntervalSchema, $ as TraitCategory, a0 as TraitCategorySchema, c as TraitConfigObject, a1 as TraitConfigSchema, g as TraitConfigValue, a2 as TraitConfigValueSchema, a3 as TraitDataEntity, a4 as TraitDataEntitySchema, e as TraitEntityField, a5 as TraitEntityFieldSchema, k as TraitEventContract, a6 as TraitEventContractSchema, T as TraitEventListener, a7 as TraitEventListenerSchema, a8 as TraitInput, d as TraitRef, a9 as TraitRefSchema, a as TraitReference, aa as TraitReferenceInput, ab as TraitReferenceSchema, ac as TraitSchema, ad as TraitTick, ae as TraitTickSchema, af as TraitUIBinding, ag as TraitUIBindingSchema, ah as Transition, ai as TransitionInput, aj as TransitionSchema, ak as configRefEventKnob, al as getTraitConfig, am as getTraitName, an as isCallSiteConfigDeclaration, ao as isCircuitEvent, ap as isInlineTrait, aq as isReferenceConfigType, ar as isSecretConfigType, as as maskSecretConfigValues, at as normalizeCallSiteConfigToValues, au as normalizeTraitRef, av as overrideDeclaredKnobs, aw as resolveConfigRefEventName } from './trait-YlNXc4H3.js';
|
|
13
|
+
export { A as AGENT_DOMAIN_CATEGORIES, e as ALLOWED_CUSTOM_COMPONENTS, f as AgentDomainCategory, g as AgentDomainCategorySchema, h as AllowedCustomComponent, i as COLOR_TOKEN_KEYS, j as ColorSlice, k as ColorSliceSchema, l as ColorTokenKey, C as ColorTokens, m as ColorTokensSchema, n as CustomPatternDefinition, o as CustomPatternDefinitionInput, p as CustomPatternDefinitionSchema, d as CustomPatternMap, q as CustomPatternMapInput, r as CustomPatternMapSchema, s as DensitySlice, t as DensitySliceSchema, u as DensityTokens, v as DensityTokensSchema, b as DesignPreferences, w as DesignPreferencesInput, x as DesignPreferencesSchema, c as DesignTokens, y as DesignTokensInput, z as DesignTokensSchema, B as DomainCategory, E as DomainCategorySchema, D as DomainContext, F as DomainContextInput, G as DomainContextSchema, H as DomainVocabulary, I as DomainVocabularySchema, J as ElevationSlice, K as ElevationSliceSchema, L as ElevationTokens, M as ElevationTokensSchema, N as EntitySemanticRole, O as EntitySemanticRoleSchema, P as EventSemanticRole, Q as EventSemanticRoleSchema, R as GameSubCategory, U as GameSubCategorySchema, V as GeometrySlice, W as GeometrySliceSchema, X as GeometryTokens, Y as GeometryTokensSchema, Z as ILLUSTRATION_TOKEN_KEYS, _ as IconFamily, $ as IconFamilySchema, a0 as IconographySlice, a1 as IconographySliceSchema, a2 as IconographyTokens, a3 as IconographyTokensSchema, a4 as IllustrationSlice, a5 as IllustrationSliceSchema, a6 as IllustrationStyle, a7 as IllustrationStyleSchema, a8 as IllustrationTokenKey, a9 as IllustrationTokens, aa as IllustrationTokensSchema, ab as KeysComplete, ac as MotionDurationKey, ad as MotionDurationKeySchema, ae as MotionDurationPalette, af as MotionDurationPaletteSchema, ag as MotionEasingKey, ah as MotionEasingKeySchema, ai as MotionEasingPalette, aj as MotionEasingPaletteSchema, ak as MotionIntent, al as MotionIntentMap, am as MotionIntentMapSchema, an as MotionIntentSchema, ao as MotionSlice, ap as MotionSliceSchema, aq as MotionTokens, ar as MotionTokensSchema, as as NavItem, at as NavStackEntry, au as NodeClassification, av as NodeClassificationSchema, aw as RelatedLink, ax as RelatedLinkSchema, ay as SkinSpec, az as SkinSpecSchema, aA as SpacingScale, aB as SpacingScaleSchema, aC as StateSemanticRole, aD as StateSemanticRoleSchema, S as SuggestedGuard, aE as SuggestedGuardSchema, T as ThemeDefinition, aF as ThemeDefinitionSchema, a as ThemeRef, aG as ThemeRefSchema, aH as ThemeRefStringSchema, aI as ThemeTokens, aJ as ThemeTokensSchema, aK as ThemeVariant, aL as ThemeVariantSchema, aM as TypeIntent, aN as TypeIntentMap, aO as TypeIntentMapSchema, aP as TypeIntentSchema, aQ as TypeScale, aR as TypeScaleEntry, aS as TypeScaleEntrySchema, aT as TypeScaleSchema, aU as TypeScaleTokens, aV as TypeScaleTokensSchema, aW as TypeSizeKey, aX as TypeSizeKeySchema, aY as TypeSlice, aZ as TypeSliceSchema, a_ as TypeSlot, a$ as TypeSlotSchema, b0 as TypeWeight, b1 as TypeWeightSchema, b2 as UXHints, b3 as UXHintsSchema, b4 as UserPersona, b5 as UserPersonaInput, b6 as UserPersonaSchema, b7 as isThemeReference } from './domain-Ds_7wZIL.js';
|
|
11
14
|
import { T as ToolArgs, J as JsonValue, R as RuntimeValue } from './json-D8gmyK3l.js';
|
|
12
15
|
export { a as JsonObject, i as isJsonArray, b as isJsonObject, c as isJsonPrimitive } from './json-D8gmyK3l.js';
|
|
13
|
-
export { F as FactoryCallSite, a as FactoryCallSiteParams, b as FactoryConfigParam, c as FactoryConfigTier, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, h as FactoryParamValue, i as FactoryProvenance, j as FactorySignature, k as FactorySignatureCatalog, l as FactorySignatureEntityField, m as FactoryTraitSignature, J as JsonSchema, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, o as PresentationOverlay, R as RuleOverlay, p as RuleOverlayEntry, S as SchemaFieldType, T as TraitOverlay, q as TraitOverlayEntry, r as TraitOverlayListener } from './types-
|
|
16
|
+
export { F as FactoryCallSite, a as FactoryCallSiteParams, b as FactoryConfigParam, c as FactoryConfigTier, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, h as FactoryParamValue, i as FactoryProvenance, j as FactorySignature, k as FactorySignatureCatalog, l as FactorySignatureEntityField, m as FactoryTraitSignature, J as JsonSchema, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, o as PresentationOverlay, R as RuleOverlay, p as RuleOverlayEntry, S as SchemaFieldType, T as TraitOverlay, q as TraitOverlayEntry, r as TraitOverlayListener } from './types-Ug92oza4.js';
|
|
14
17
|
export { CallSiteDiff, DomainQuestion, DomainQuestionAnswer, DomainQuestionAnswers, DomainQuestionInputType, FactoryCallPlanMutation, FactoryCallPlanMutationTemplate, FactoryCallPlanState, OrbitalCallInput, TranslationBinding, TranslationResult, TranslationWarning, answerToMutations, answersToMutations, applyFactoryCallPlanMutation, assertNoUnsatisfiableEnum, deriveInputType, diffFactoryCalls, generateQuestions, rehydrateKnobDefs, signatureToParamsSchema, translateOverlaysToParams } from './factory/index.js';
|
|
15
18
|
export { ComposeBehaviorsInput, ComposeBehaviorsResult, EventWiringEntry, LayoutStrategy, applyEventWiring, composeBehaviors, detectLayoutStrategy } from './builders.js';
|
|
16
|
-
export { COMPONENT_MAPPING, EVENT_CONTRACTS, EmojiPickPayload, FormSubmitPayload, INTEGRATORS_REGISTRY, ItemActionPayload, LoadMoreRequestPayload, PATTERN_REGISTRY, PatternCallbackArg, PatternEntry, PatternPayloadField, PatternPropDef, PatternRecommendation, PatternSwapGate, PropKind, RecommendationContext, RenderUiPayload, SELF_OVERLAY_PATTERN_TYPES, SelectionChangePayload, buildRecommendationContext, collectRenderUiPatternTypes, componentMapping, eventContracts, eventKeyPropsOf, eventListPropsOf, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValueInputPattern, patternsRegistry, recommendPatterns, registry, renderUiPatternTypesOf } from './patterns/index.js';
|
|
19
|
+
export { COMPONENT_MAPPING, EVENT_CONTRACTS, EmojiPickPayload, FormSubmitPayload, INTEGRATORS_REGISTRY, ItemActionPayload, LoadMoreRequestPayload, PATTERN_REGISTRY, PROP_KINDS, PatternCallbackArg, PatternEntry, PatternPayloadField, PatternPropDef, PatternPropTypeSchema, PatternRecommendation, PatternSwapGate, PropKind, RecommendationContext, RenderUiPayload, SELF_OVERLAY_PATTERN_TYPES, SelectionChangePayload, buildRecommendationContext, collectRenderUiPatternTypes, componentMapping, eventContracts, eventKeyPropsOf, eventListPropsOf, findCompatiblePatterns, formatRecommendationsForPrompt, generatePatternDescription, getAllPatternTypes, getComponentForPattern, getEmittedEvents, getEntityCardinality, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, integratorsRegistry, isContentBodyPattern, isContentBodyPatternType, isDrawHostPattern, isDrawablePattern, isEntityAwarePattern, isMainSlotRenderUi, isValueInputPattern, patternsRegistry, recommendPatterns, registry, renderUiPatternTypesOf } from './patterns/index.js';
|
|
17
20
|
export { BFSNode, BFSPathNode, EdgeWalkTransition, GraphTransition, GuardPayload, ReplayStep, ReplayTransition, StateEdge, WalkStep, buildEdgeCoveringWalk, buildGuardPayloads, buildReplayPaths, buildStateGraph, collectReachableStates, constTruth, extractPayloadFieldRef, walkStatePairs } from './state-machine/index.js';
|
|
18
|
-
export { E as EntityAccessPolicies, e as entityAccessPolicies, b as entityAccessTable, o as orbitalInlineEntities } from './entityAccess-
|
|
21
|
+
export { E as EntityAccessPolicies, e as entityAccessPolicies, b as entityAccessTable, o as orbitalInlineEntities } from './entityAccess-DdcKps16.js';
|
|
19
22
|
export { I18N_SECTIONS, I18nCoverageInput, I18nMeta, I18nProblem, I18nProblemKind, I18nSection, I18nTables, LANGUAGE_CODES, LOLO_FIRST_TOKEN_KEYWORDS, LanguageCode, LocalizeLoloOptions, LoloToken, LoloTokenKind, ORB_NOTATION_KEYS, OperatorTables, aliasMap, checkI18nCoverage, coreTables, getVocabulary, languageOfLoloFirstToken, languageOfOrbTopLevelKeys, lexLolo, localizeLoloSource, localizeMap, localizeOrbValue, parseI18nTables, parseOperatorTables, reportIdenticalToEnglish } from './i18n/index.js';
|
|
23
|
+
export { THEME_PRESETS } from './themes/index.js';
|
|
20
24
|
import 'zod';
|
|
21
25
|
|
|
22
26
|
/**
|
|
@@ -440,7 +444,7 @@ declare function collectCallsiteCaptureChildren(orbital: OrbitalDefinition): Rea
|
|
|
440
444
|
* @packageDocumentation
|
|
441
445
|
*/
|
|
442
446
|
|
|
443
|
-
type NestedValueInput = EventPayload | EventPayloadValue | FieldValue | Record<string, FieldValue | undefined> | null | undefined;
|
|
447
|
+
type NestedValueInput = EventPayload | EventPayloadValue | FieldValue | Record<string, FieldValue | undefined> | UserContext | null | undefined;
|
|
444
448
|
/**
|
|
445
449
|
* Get a nested value from an object using a dot-notation path.
|
|
446
450
|
*
|
|
@@ -844,4 +848,4 @@ declare function resolveEntityView(input: {
|
|
|
844
848
|
*/
|
|
845
849
|
declare function omitFrameFields(row: EntityRow, frameKeys: readonly string[]): EntityRow;
|
|
846
850
|
|
|
847
|
-
export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, type ContractFieldEntry, type ContractFieldSpec, type ContractRange, type ContractSpec, type ContractValidationResult, type ContractViolation, type DeriveExpectationsResult, type EntityFieldWrite, type EntityFrameState, EntityRow, EventPayload, EventPayloadValue, ExpectDeclaration, type ExpectationDiagnostic, FieldValue, JsonValue, type ListenPayloadEvaluator, OrbitalDefinition, OrbitalSchema, PageContentReduction, ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, RuntimeValue, SExpr, SchemaChange, type SchemaDiff, type SchemaDiffAuthor, type SchemaDiffChange, type SchemaDiffChangeset, type SchemaDiffMode, type SchemaDiffOptions, type SchemaDiffSource, type SchemaDiffSummary, SemanticSchemaChange, State, type TensorValue, ToolArgs, type TraceActivity, type TraceActivityItem, type TraceAvatarRole, type TraceChatMessage, type TraceChatMessageToolCall, type TraceDiffHunk, type TraceDiffLine, type TraceFileOperation, type TraceSubagent, type TraceSubagentMessage, Trait, TraitConfig, OrbitalDefinition as ValidatedOrbital, applyListenPayloadMapping, buildResolvedTraitConfigs, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectCallsiteCaptureChildren, collectEmbeddedTraitReferrers, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, contractFieldName, deriveExpectations, describeTensorMismatch, detectPageContentReduction, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, gatherTensorLastDim, getEntity, getNestedValue, getPage, getPages, getRemovals, getSchemaCacheStats, getTrait, hasSignificantPageReduction, isDestructiveChange, isTensorValue, mapTensorLastDim, mergeEntityFrame, omitFrameFields, requiresConfirmation, resolveEntityView, schemaToIR, summarizeOrbital, summarizeSchema, tensorLastDimSize, tensorShape, traitDeclaresConfigForward, traitReferencesCallsitePayload, validateContract };
|
|
851
|
+
export { OrbitalSchema as AppSchema, CategorizedRemovals, ChangesetValue, type ContractFieldEntry, type ContractFieldSpec, type ContractRange, type ContractSpec, type ContractValidationResult, type ContractViolation, type DeriveExpectationsResult, type EntityFieldWrite, type EntityFrameState, EntityRow, EventPayload, EventPayloadValue, ExpectDeclaration, type ExpectationDiagnostic, FieldValue, JsonValue, type ListenPayloadEvaluator, OrbitalDefinition, OrbitalSchema, PageContentReduction, ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, RuntimeValue, SExpr, SchemaChange, type SchemaDiff, type SchemaDiffAuthor, type SchemaDiffChange, type SchemaDiffChangeset, type SchemaDiffMode, type SchemaDiffOptions, type SchemaDiffSource, type SchemaDiffSummary, SemanticSchemaChange, State, type TensorValue, ToolArgs, type TraceActivity, type TraceActivityItem, type TraceAvatarRole, type TraceChatMessage, type TraceChatMessageToolCall, type TraceDiffHunk, type TraceDiffLine, type TraceFileOperation, type TraceSubagent, type TraceSubagentMessage, Trait, TraitConfig, UserContext, OrbitalDefinition as ValidatedOrbital, applyListenPayloadMapping, buildResolvedTraitConfigs, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectCallsiteCaptureChildren, collectEmbeddedTraitReferrers, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, contractFieldName, deriveExpectations, describeTensorMismatch, detectPageContentReduction, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, gatherTensorLastDim, getEntity, getNestedValue, getPage, getPages, getRemovals, getSchemaCacheStats, getTrait, hasSignificantPageReduction, isDestructiveChange, isTensorValue, mapTensorLastDim, mergeEntityFrame, omitFrameFields, requiresConfirmation, resolveEntityView, schemaToIR, summarizeOrbital, summarizeSchema, tensorLastDimSize, tensorShape, traitDeclaresConfigForward, traitReferencesCallsitePayload, validateContract };
|