@niscorp/nova 0.1.1 → 0.1.3
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/ACTION_DOCS.md +121 -30
- package/ADAPTER.md +167 -12
- package/CHANGELOG.md +18 -0
- package/DESIGN.md +45 -22
- package/I18N_DOCS.md +4 -4
- package/LAYOUT_DOCS.md +55 -14
- package/REACT_DOCS.md +52 -16
- package/README.md +55 -20
- package/SHELL_DOCS.md +136 -16
- package/TERMINAL_DOCS.md +13 -7
- package/dist/adapters/dom/components/index.d.cts +2 -2
- package/dist/adapters/dom/components/index.d.ts +2 -2
- package/dist/adapters/dom/index.cjs +351 -53
- package/dist/adapters/dom/index.cjs.map +1 -1
- package/dist/adapters/dom/index.d.cts +4 -2
- package/dist/adapters/dom/index.d.ts +4 -2
- package/dist/adapters/dom/index.js +2 -2
- package/dist/adapters/dom/server.cjs +356 -55
- package/dist/adapters/dom/server.cjs.map +1 -1
- package/dist/adapters/dom/server.d.cts +2 -2
- package/dist/adapters/dom/server.d.ts +2 -2
- package/dist/adapters/dom/server.js +7 -4
- package/dist/adapters/dom/server.js.map +1 -1
- package/dist/adapters/react/components/index.d.cts +2 -2
- package/dist/adapters/react/components/index.d.ts +2 -2
- package/dist/adapters/react/index.d.cts +4 -4
- package/dist/adapters/react/index.d.ts +4 -4
- package/dist/adapters/tty/components/index.d.cts +2 -2
- package/dist/adapters/tty/components/index.d.ts +2 -2
- package/dist/adapters/tty/index.d.cts +2 -2
- package/dist/adapters/tty/index.d.ts +2 -2
- package/dist/adapters/vue/components/index.d.cts +5 -5
- package/dist/adapters/vue/components/index.d.ts +5 -5
- package/dist/adapters/vue/index.d.cts +4 -4
- package/dist/adapters/vue/index.d.ts +4 -4
- package/dist/adapters/vue/index.js +1 -1
- package/dist/agent/index.d.cts +2 -2
- package/dist/agent/index.d.ts +2 -2
- package/dist/{chunk-7B3RDENH.js → chunk-6N4WRC5V.js} +9 -4
- package/dist/chunk-6N4WRC5V.js.map +1 -0
- package/dist/chunk-FQAJ24KA.js +408 -0
- package/dist/chunk-FQAJ24KA.js.map +1 -0
- package/dist/devtools/index.d.cts +2 -2
- package/dist/devtools/index.d.ts +2 -2
- package/dist/i18n/index.d.cts +2 -2
- package/dist/i18n/index.d.ts +2 -2
- package/dist/index.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/{palette-CP0wd3bE.d.ts → palette-Mx7XHYC6.d.ts} +1 -1
- package/dist/{palette-lm0bU9i5.d.cts → palette-wbJB_svk.d.cts} +1 -1
- package/dist/reflect/index.d.cts +2 -2
- package/dist/reflect/index.d.ts +2 -2
- package/dist/{types-DdltMfw7.d.ts → types-B-rjaUX0.d.ts} +1 -1
- package/dist/{types-Boh9ckdG.d.ts → types-BB9RXel5.d.ts} +1 -1
- package/dist/{types-De0KpxfI.d.cts → types-BLVRduoz.d.cts} +11 -1
- package/dist/{types-DhHL0twe.d.ts → types-B_nOtkyt.d.ts} +1 -1
- package/dist/{types-Brc7v_pS.d.ts → types-DE77Jl2W.d.ts} +11 -1
- package/dist/{types-Dv6JLmgo.d.cts → types-PDXOkvtK.d.cts} +1 -1
- package/dist/{types-Q80YtOQt.d.cts → types-mRKXqZPX.d.cts} +1 -1
- package/dist/{types-ByNSwtUV.d.cts → types-uk19d6KC.d.cts} +1 -1
- package/package.json +7 -7
- package/dist/chunk-7B3RDENH.js.map +0 -1
- package/dist/chunk-OAMC6R6E.js +0 -121
- package/dist/chunk-OAMC6R6E.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { R as RenderContext, a as RenderOnError, b as RenderNode, D as DataStoreView, L as LayoutStore, C as ComponentRegistry } from './types-
|
|
2
|
-
export { c as ComponentEntry, d as ComponentMeta, e as ComponentNotFoundContext, f as ComponentNotFoundError, g as DefinitionValidationContext, h as DefinitionValidationError, i as DefinitionValidationFailure, E as ErrorCode, j as ErrorCodes, k as EventMeta, l as LayoutRefNotFoundContext, m as LayoutRefNotFoundError, n as LifecycleError, o as LifecycleErrorContext, p as LifecycleHook, M as ModelBindingDescriptor, N as NovaError,
|
|
3
|
-
import { S as ShellConfig, a as Shell, R as RenderApi } from './types-
|
|
4
|
-
export { A as ActionInstance, b as ActionStatus, C as CanvasConfig, c as CanvasInitialSeed, d as CanvasState, e as ChannelHandler, D as DataChangeHandler, E as EventBus, f as EventHandler, F as FetchFn, g as FetchInit, h as FetchResponse, i as FunctionHandler, I as IdFactory, M as MessageBus, N as NavigateHandler, j as NavigationEffect, P as PublicActionRuntime, k as PushOptions, l as ShellCanvasChangeHandler, m as ShellDataChangeEvent, n as ShellDataChangeHandler, o as ShellStateChangeHandler, p as ShellTelemetry, q as StateSnapshot, r as StatusChangeHandler, T as TransformFn, s as createIdFactory } from './types-
|
|
1
|
+
import { R as RenderContext, a as RenderOnError, b as RenderNode, D as DataStoreView, L as LayoutStore, C as ComponentRegistry } from './types-BLVRduoz.cjs';
|
|
2
|
+
export { c as ComponentEntry, d as ComponentMeta, e as ComponentNotFoundContext, f as ComponentNotFoundError, g as DefinitionValidationContext, h as DefinitionValidationError, i as DefinitionValidationFailure, E as ErrorCode, j as ErrorCodes, k as EventMeta, l as LayoutRefNotFoundContext, m as LayoutRefNotFoundError, n as LifecycleError, o as LifecycleErrorContext, p as LifecycleHook, M as ModelBindingDescriptor, q as MutationError, N as NovaError, r as NovaErrorContext, s as RegistrationInput, t as RenderComponentNode, u as RenderError, v as RenderErrorNode, w as RenderFragmentNode, x as RenderTextNode, S as ShellDisposedError, U as UnknownActionContext, y as UnknownActionError, z as UnknownFragmentContext, A as UnknownFragmentError, B as UnknownFunctionContext, F as UnknownFunctionError, G as Unsubscribe } from './types-BLVRduoz.cjs';
|
|
3
|
+
import { S as ShellConfig, a as Shell, R as RenderApi } from './types-PDXOkvtK.cjs';
|
|
4
|
+
export { A as ActionInstance, b as ActionStatus, C as CanvasConfig, c as CanvasInitialSeed, d as CanvasState, e as ChannelHandler, D as DataChangeHandler, E as EventBus, f as EventHandler, F as FetchFn, g as FetchInit, h as FetchResponse, i as FunctionHandler, I as IdFactory, M as MessageBus, N as NavigateHandler, j as NavigationEffect, P as PublicActionRuntime, k as PushOptions, l as ShellCanvasChangeHandler, m as ShellDataChangeEvent, n as ShellDataChangeHandler, o as ShellStateChangeHandler, p as ShellTelemetry, q as StateSnapshot, r as StatusChangeHandler, T as TransformFn, s as createIdFactory } from './types-PDXOkvtK.cjs';
|
|
5
5
|
import { N as NovaEvent } from './schemas-pMyyuXV7.cjs';
|
|
6
6
|
export { a as NovaEventSchema } from './schemas-pMyyuXV7.cjs';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { C as ComponentNode, a as ConditionalNode, L as LayoutNode, b as LayoutPrimitive, c as LayoutRefNode, d as LoopNode, S as SlotNode } from './schemas-DPdeFlCT.cjs';
|
|
9
9
|
export { e as ComponentNodeSchema, f as ConditionalNodeSchema, g as LayoutNodeSchema, h as LayoutPrimitiveSchema, i as LayoutRefNodeSchema, j as LoopNodeSchema, k as SlotNodeSchema } from './schemas-DPdeFlCT.cjs';
|
|
10
|
-
export { L as LayoutPaletteEntry, P as PaletteFromRegistryOptions, p as paletteEntryOf, a as paletteFromRegistry } from './palette-
|
|
10
|
+
export { L as LayoutPaletteEntry, P as PaletteFromRegistryOptions, p as paletteEntryOf, a as paletteFromRegistry } from './palette-wbJB_svk.cjs';
|
|
11
11
|
import { A as ActionDefinition, a as ActionFragment } from './index-caZoXSwr.cjs';
|
|
12
12
|
export { b as ActionDefinitionSchema, c as ActionFragmentSchema } from './index-caZoXSwr.cjs';
|
|
13
13
|
import { S as Step } from './effects-CndX9K7D.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { R as RenderContext, a as RenderOnError, b as RenderNode, D as DataStoreView, L as LayoutStore, C as ComponentRegistry } from './types-
|
|
2
|
-
export { c as ComponentEntry, d as ComponentMeta, e as ComponentNotFoundContext, f as ComponentNotFoundError, g as DefinitionValidationContext, h as DefinitionValidationError, i as DefinitionValidationFailure, E as ErrorCode, j as ErrorCodes, k as EventMeta, l as LayoutRefNotFoundContext, m as LayoutRefNotFoundError, n as LifecycleError, o as LifecycleErrorContext, p as LifecycleHook, M as ModelBindingDescriptor, N as NovaError,
|
|
3
|
-
import { S as ShellConfig, a as Shell, R as RenderApi } from './types-
|
|
4
|
-
export { A as ActionInstance, b as ActionStatus, C as CanvasConfig, c as CanvasInitialSeed, d as CanvasState, e as ChannelHandler, D as DataChangeHandler, E as EventBus, f as EventHandler, F as FetchFn, g as FetchInit, h as FetchResponse, i as FunctionHandler, I as IdFactory, M as MessageBus, N as NavigateHandler, j as NavigationEffect, P as PublicActionRuntime, k as PushOptions, l as ShellCanvasChangeHandler, m as ShellDataChangeEvent, n as ShellDataChangeHandler, o as ShellStateChangeHandler, p as ShellTelemetry, q as StateSnapshot, r as StatusChangeHandler, T as TransformFn, s as createIdFactory } from './types-
|
|
1
|
+
import { R as RenderContext, a as RenderOnError, b as RenderNode, D as DataStoreView, L as LayoutStore, C as ComponentRegistry } from './types-DE77Jl2W.js';
|
|
2
|
+
export { c as ComponentEntry, d as ComponentMeta, e as ComponentNotFoundContext, f as ComponentNotFoundError, g as DefinitionValidationContext, h as DefinitionValidationError, i as DefinitionValidationFailure, E as ErrorCode, j as ErrorCodes, k as EventMeta, l as LayoutRefNotFoundContext, m as LayoutRefNotFoundError, n as LifecycleError, o as LifecycleErrorContext, p as LifecycleHook, M as ModelBindingDescriptor, q as MutationError, N as NovaError, r as NovaErrorContext, s as RegistrationInput, t as RenderComponentNode, u as RenderError, v as RenderErrorNode, w as RenderFragmentNode, x as RenderTextNode, S as ShellDisposedError, U as UnknownActionContext, y as UnknownActionError, z as UnknownFragmentContext, A as UnknownFragmentError, B as UnknownFunctionContext, F as UnknownFunctionError, G as Unsubscribe } from './types-DE77Jl2W.js';
|
|
3
|
+
import { S as ShellConfig, a as Shell, R as RenderApi } from './types-BB9RXel5.js';
|
|
4
|
+
export { A as ActionInstance, b as ActionStatus, C as CanvasConfig, c as CanvasInitialSeed, d as CanvasState, e as ChannelHandler, D as DataChangeHandler, E as EventBus, f as EventHandler, F as FetchFn, g as FetchInit, h as FetchResponse, i as FunctionHandler, I as IdFactory, M as MessageBus, N as NavigateHandler, j as NavigationEffect, P as PublicActionRuntime, k as PushOptions, l as ShellCanvasChangeHandler, m as ShellDataChangeEvent, n as ShellDataChangeHandler, o as ShellStateChangeHandler, p as ShellTelemetry, q as StateSnapshot, r as StatusChangeHandler, T as TransformFn, s as createIdFactory } from './types-BB9RXel5.js';
|
|
5
5
|
import { N as NovaEvent } from './schemas-pMyyuXV7.js';
|
|
6
6
|
export { a as NovaEventSchema } from './schemas-pMyyuXV7.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { C as ComponentNode, a as ConditionalNode, L as LayoutNode, b as LayoutPrimitive, c as LayoutRefNode, d as LoopNode, S as SlotNode } from './schemas-DPdeFlCT.js';
|
|
9
9
|
export { e as ComponentNodeSchema, f as ConditionalNodeSchema, g as LayoutNodeSchema, h as LayoutPrimitiveSchema, i as LayoutRefNodeSchema, j as LoopNodeSchema, k as SlotNodeSchema } from './schemas-DPdeFlCT.js';
|
|
10
|
-
export { L as LayoutPaletteEntry, P as PaletteFromRegistryOptions, p as paletteEntryOf, a as paletteFromRegistry } from './palette-
|
|
10
|
+
export { L as LayoutPaletteEntry, P as PaletteFromRegistryOptions, p as paletteEntryOf, a as paletteFromRegistry } from './palette-Mx7XHYC6.js';
|
|
11
11
|
import { A as ActionDefinition, a as ActionFragment } from './index-CNfzSBe2.js';
|
|
12
12
|
export { b as ActionDefinitionSchema, c as ActionFragmentSchema } from './index-CNfzSBe2.js';
|
|
13
13
|
import { S as Step } from './effects-CndX9K7D.js';
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { paletteEntryOf, paletteFromRegistry } from './chunk-L5223LLX.js';
|
|
2
|
-
export { ACTION_SLOT_NAME, CANVAS_SLOT_NAME, DEFAULT_HISTORY_DEPTH, DEFAULT_SETTLE_WAIT_MS, MessageEnvelopeSchema, canvasTreeOf, createIdFactory, createShell, hasVisibleContent, navigatedChannel, reconcileCanvas, shellSettled, shellView } from './chunk-
|
|
2
|
+
export { ACTION_SLOT_NAME, CANVAS_SLOT_NAME, DEFAULT_HISTORY_DEPTH, DEFAULT_SETTLE_WAIT_MS, MessageEnvelopeSchema, canvasTreeOf, createIdFactory, createShell, hasVisibleContent, navigatedChannel, reconcileCanvas, shellSettled, shellView } from './chunk-6N4WRC5V.js';
|
|
3
3
|
export { auditAction, collectChannels, composeAction } from './chunk-RQB4PRPV.js';
|
|
4
4
|
import './chunk-OGD5CCMZ.js';
|
|
5
5
|
export { ActionDefinitionSchema, ActionFragmentSchema, EffectSchema, EndpointConfigSchema, LifecycleConfigSchema, MutationSchema, StepSchema, TriggerConfigSchema } from './chunk-GVBBL36G.js';
|
|
6
6
|
export { NovaEventSchema, scopeDispatch } from './chunk-ZITHBBF3.js';
|
|
7
7
|
export { NOVA_MODEL_PROP, NOVA_REF_PROP, createLayoutStore, fillSlots, isComponentNode, isConditionalNode, isLayoutNode, isLayoutPrimitive, isLayoutRefNode, isLoopNode, isSlotNode, render, renderLayout, renderLayoutFromStore, renderNodeKey } from './chunk-V32EVEVM.js';
|
|
8
8
|
import './chunk-7TS3YVQR.js';
|
|
9
|
-
export { ComponentNotFoundError, DefinitionValidationError, ErrorCodes, LayoutRefNotFoundError, LifecycleError, NovaError, RenderError, ShellDisposedError, UnknownActionError, UnknownFragmentError, UnknownFunctionError, getPath } from './chunk-PF4OJTYU.js';
|
|
9
|
+
export { ComponentNotFoundError, DefinitionValidationError, ErrorCodes, LayoutRefNotFoundError, LifecycleError, MutationError, NovaError, RenderError, ShellDisposedError, UnknownActionError, UnknownFragmentError, UnknownFunctionError, getPath } from './chunk-PF4OJTYU.js';
|
|
10
10
|
export { ComponentNodeSchema, ConditionalNodeSchema, LayoutNodeSchema, LayoutPrimitiveSchema, LayoutRefNodeSchema, LoopNodeSchema, SlotNodeSchema } from './chunk-JI7ZRESP.js';
|
|
11
11
|
import './chunk-RBU5PHN4.js';
|
|
12
12
|
export { createComponentRegistry } from './chunk-2MNLEL45.js';
|
package/dist/reflect/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as Shell } from '../types-
|
|
1
|
+
import { a as Shell } from '../types-PDXOkvtK.cjs';
|
|
2
2
|
import { L as LayoutNode } from '../schemas-DPdeFlCT.cjs';
|
|
3
3
|
import { E as EndpointConfig, T as TriggerConfig } from '../endpoints-Dem-EdRx.cjs';
|
|
4
4
|
import { A as ActionDefinition } from '../index-caZoXSwr.cjs';
|
|
5
|
-
import '../types-
|
|
5
|
+
import '../types-BLVRduoz.cjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../effects-CndX9K7D.cjs';
|
|
8
8
|
import '../schemas-pMyyuXV7.cjs';
|
package/dist/reflect/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as Shell } from '../types-
|
|
1
|
+
import { a as Shell } from '../types-BB9RXel5.js';
|
|
2
2
|
import { L as LayoutNode } from '../schemas-DPdeFlCT.js';
|
|
3
3
|
import { E as EndpointConfig, T as TriggerConfig } from '../endpoints-CD-6Jl-H.js';
|
|
4
4
|
import { A as ActionDefinition } from '../index-CNfzSBe2.js';
|
|
5
|
-
import '../types-
|
|
5
|
+
import '../types-DE77Jl2W.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../effects-CndX9K7D.js';
|
|
8
8
|
import '../schemas-pMyyuXV7.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType, ReactNode } from 'react';
|
|
2
|
-
import { d as ComponentMeta } from './types-
|
|
2
|
+
import { d as ComponentMeta } from './types-DE77Jl2W.js';
|
|
3
3
|
import { N as NovaEvent } from './schemas-pMyyuXV7.js';
|
|
4
4
|
|
|
5
5
|
type NovaDispatch = (event: NovaEvent) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as ActionDefinition, a as ActionFragment } from './index-CNfzSBe2.js';
|
|
2
|
-
import {
|
|
2
|
+
import { G as Unsubscribe, b as RenderNode, N as NovaError, C as ComponentRegistry, L as LayoutStore, P as Phrasebook, s as RegistrationInput, H as PhraseKeys } from './types-DE77Jl2W.js';
|
|
3
3
|
import { d as PushEffect, P as PopEffect, R as ReplaceEffect, f as PopToEffect, g as ResetToEffect, h as RemoveInstanceEffect, i as RemoveSelfEffect } from './effects-CndX9K7D.js';
|
|
4
4
|
import { L as LayoutNode } from './schemas-DPdeFlCT.js';
|
|
5
5
|
import { N as NovaEvent } from './schemas-pMyyuXV7.js';
|
|
@@ -97,6 +97,16 @@ declare class LifecycleError extends NovaError {
|
|
|
97
97
|
cause?: unknown;
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
|
+
type MutationErrorContext = NovaErrorContext & {
|
|
101
|
+
op: string;
|
|
102
|
+
path: string;
|
|
103
|
+
reason: 'missing' | 'wrong-type';
|
|
104
|
+
};
|
|
105
|
+
declare class MutationError extends NovaError {
|
|
106
|
+
constructor(message: string, context: MutationErrorContext, options?: {
|
|
107
|
+
cause?: unknown;
|
|
108
|
+
});
|
|
109
|
+
}
|
|
100
110
|
|
|
101
111
|
type DataStore<T extends Record<string, unknown> = Record<string, unknown>> = {
|
|
102
112
|
get: () => T;
|
|
@@ -195,4 +205,4 @@ type RenderContext = {
|
|
|
195
205
|
onPhraseMiss?: (phrase: string, where: string) => void;
|
|
196
206
|
};
|
|
197
207
|
|
|
198
|
-
export {
|
|
208
|
+
export { UnknownFragmentError as A, type UnknownFunctionContext as B, type ComponentRegistry as C, type DataStoreView as D, type ErrorCode as E, UnknownFunctionError as F, type Unsubscribe as G, type PhraseKeys as H, DEFAULT_PHRASE_KEYS as I, type PhraseKeyMatcher as J, isBinding as K, type LayoutStore as L, type ModelBindingDescriptor as M, NovaError as N, isPhrase as O, type Phrasebook as P, matcherFor as Q, type RenderContext as R, ShellDisposedError as S, type UnknownActionContext as U, type RenderOnError as a, type RenderNode as b, type ComponentEntry as c, type ComponentMeta as d, type ComponentNotFoundContext as e, ComponentNotFoundError as f, type DefinitionValidationContext as g, DefinitionValidationError as h, type DefinitionValidationFailure as i, ErrorCodes as j, type EventMeta as k, type LayoutRefNotFoundContext as l, LayoutRefNotFoundError as m, LifecycleError as n, type LifecycleErrorContext as o, type LifecycleHook as p, MutationError as q, type NovaErrorContext as r, type RegistrationInput as s, type RenderComponentNode as t, RenderError as u, type RenderErrorNode as v, type RenderFragmentNode as w, type RenderTextNode as x, UnknownActionError as y, type UnknownFragmentContext as z };
|
|
@@ -97,6 +97,16 @@ declare class LifecycleError extends NovaError {
|
|
|
97
97
|
cause?: unknown;
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
|
+
type MutationErrorContext = NovaErrorContext & {
|
|
101
|
+
op: string;
|
|
102
|
+
path: string;
|
|
103
|
+
reason: 'missing' | 'wrong-type';
|
|
104
|
+
};
|
|
105
|
+
declare class MutationError extends NovaError {
|
|
106
|
+
constructor(message: string, context: MutationErrorContext, options?: {
|
|
107
|
+
cause?: unknown;
|
|
108
|
+
});
|
|
109
|
+
}
|
|
100
110
|
|
|
101
111
|
type DataStore<T extends Record<string, unknown> = Record<string, unknown>> = {
|
|
102
112
|
get: () => T;
|
|
@@ -195,4 +205,4 @@ type RenderContext = {
|
|
|
195
205
|
onPhraseMiss?: (phrase: string, where: string) => void;
|
|
196
206
|
};
|
|
197
207
|
|
|
198
|
-
export {
|
|
208
|
+
export { UnknownFragmentError as A, type UnknownFunctionContext as B, type ComponentRegistry as C, type DataStoreView as D, type ErrorCode as E, UnknownFunctionError as F, type Unsubscribe as G, type PhraseKeys as H, DEFAULT_PHRASE_KEYS as I, type PhraseKeyMatcher as J, isBinding as K, type LayoutStore as L, type ModelBindingDescriptor as M, NovaError as N, isPhrase as O, type Phrasebook as P, matcherFor as Q, type RenderContext as R, ShellDisposedError as S, type UnknownActionContext as U, type RenderOnError as a, type RenderNode as b, type ComponentEntry as c, type ComponentMeta as d, type ComponentNotFoundContext as e, ComponentNotFoundError as f, type DefinitionValidationContext as g, DefinitionValidationError as h, type DefinitionValidationFailure as i, ErrorCodes as j, type EventMeta as k, type LayoutRefNotFoundContext as l, LayoutRefNotFoundError as m, LifecycleError as n, type LifecycleErrorContext as o, type LifecycleHook as p, MutationError as q, type NovaErrorContext as r, type RegistrationInput as s, type RenderComponentNode as t, RenderError as u, type RenderErrorNode as v, type RenderFragmentNode as w, type RenderTextNode as x, UnknownActionError as y, type UnknownFragmentContext as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as ActionDefinition, a as ActionFragment } from './index-caZoXSwr.cjs';
|
|
2
|
-
import {
|
|
2
|
+
import { G as Unsubscribe, b as RenderNode, N as NovaError, C as ComponentRegistry, L as LayoutStore, P as Phrasebook, s as RegistrationInput, H as PhraseKeys } from './types-BLVRduoz.cjs';
|
|
3
3
|
import { d as PushEffect, P as PopEffect, R as ReplaceEffect, f as PopToEffect, g as ResetToEffect, h as RemoveInstanceEffect, i as RemoveSelfEffect } from './effects-CndX9K7D.cjs';
|
|
4
4
|
import { L as LayoutNode } from './schemas-DPdeFlCT.cjs';
|
|
5
5
|
import { N as NovaEvent } from './schemas-pMyyuXV7.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType, ReactNode } from 'react';
|
|
2
|
-
import { d as ComponentMeta } from './types-
|
|
2
|
+
import { d as ComponentMeta } from './types-BLVRduoz.cjs';
|
|
3
3
|
import { N as NovaEvent } from './schemas-pMyyuXV7.cjs';
|
|
4
4
|
|
|
5
5
|
type NovaDispatch = (event: NovaEvent) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@niscorp/nova",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Declarative UI framework for AI agents — JSON layouts, shell orchestration, React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -194,9 +194,9 @@
|
|
|
194
194
|
"vitest": "^4.1.2",
|
|
195
195
|
"vue": "^3.5.43",
|
|
196
196
|
"zod": "^4.6.5",
|
|
197
|
-
"@niscorp/cortex": "^0.1.
|
|
198
|
-
"@niscorp/prism": "^0.1.
|
|
199
|
-
"@niscorp/strata": "^0.1.
|
|
197
|
+
"@niscorp/cortex": "^0.1.1",
|
|
198
|
+
"@niscorp/prism": "^0.1.2",
|
|
199
|
+
"@niscorp/strata": "^0.1.1"
|
|
200
200
|
},
|
|
201
201
|
"peerDependencies": {
|
|
202
202
|
"ink": "^7.1.1",
|
|
@@ -204,9 +204,9 @@
|
|
|
204
204
|
"react": "^19.2.4",
|
|
205
205
|
"zod": "^4.2.0",
|
|
206
206
|
"vue": "^3.5.0",
|
|
207
|
-
"@niscorp/
|
|
208
|
-
"@niscorp/
|
|
209
|
-
"@niscorp/strata": "^0.1.
|
|
207
|
+
"@niscorp/prism": "^0.1.2",
|
|
208
|
+
"@niscorp/cortex": "^0.1.1",
|
|
209
|
+
"@niscorp/strata": "^0.1.1"
|
|
210
210
|
},
|
|
211
211
|
"peerDependenciesMeta": {
|
|
212
212
|
"@niscorp/cortex": {
|