@ai-matrx/content-ir-react 0.19.1 → 0.20.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 +32 -0
- package/dist/{directive-host-Bw2_PrgL.d.cts → directive-host-B1hcjJxS.d.cts} +16 -1
- package/dist/{directive-host-Bw2_PrgL.d.ts → directive-host-B1hcjJxS.d.ts} +16 -1
- package/dist/directives.cjs +64 -35
- package/dist/directives.cjs.map +1 -1
- package/dist/directives.d.cts +38 -7
- package/dist/directives.d.ts +38 -7
- package/dist/directives.js +64 -35
- package/dist/directives.js.map +1 -1
- package/dist/{host-types-eSjFmXyF.d.ts → host-types-BOWu99zI.d.ts} +1 -1
- package/dist/{host-types-YP_l_Q_t.d.cts → host-types-Cn2lf8q3.d.cts} +1 -1
- package/dist/host.cjs.map +1 -1
- package/dist/host.d.cts +3 -3
- package/dist/host.d.ts +3 -3
- package/dist/host.js.map +1 -1
- package/dist/index.cjs +64 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -7
- package/dist/index.d.ts +38 -7
- package/dist/index.js +64 -35
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +59 -33
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +59 -33
- package/dist/react.js.map +1 -1
- package/dist/{route-CtYw2cTN.d.ts → route-CDATmjfp.d.ts} +16 -1
- package/dist/{route-KoRMp3Qn.d.cts → route-DVfjdUYy.d.cts} +16 -1
- package/dist/route.d.cts +1 -1
- package/dist/route.d.ts +1 -1
- package/package.json +3 -3
|
@@ -175,6 +175,15 @@ interface DirectiveHost {
|
|
|
175
175
|
openItem?: (options: DirectiveOpenItemOptions) => void;
|
|
176
176
|
/** Host copy controls. */
|
|
177
177
|
renderCopy?: (props: DirectiveCopyProps) => ReactNode;
|
|
178
|
+
/**
|
|
179
|
+
* The app's word for one stored value of one pick-list field — the SAME word
|
|
180
|
+
* the record's own screens and the write forms show ("incomplete" on a task
|
|
181
|
+
* reads "Inbox"). One value, one display word everywhere (G8A review,
|
|
182
|
+
* 2026-10-02: the card said "Status incomplete → completed"). Return null for
|
|
183
|
+
* a field that is not a pick-list: its value is shown as written. Absent →
|
|
184
|
+
* every value is shown as stored.
|
|
185
|
+
*/
|
|
186
|
+
valueLabel?: (ref: DirectiveValueRef) => string | null;
|
|
178
187
|
/** The mirrored noun catalog (label / family / title column). */
|
|
179
188
|
nouns?: DirectiveNounCatalog;
|
|
180
189
|
/** slug → the kind ONE item is (THE DIRECTIVE⇄KIND SEAM), or null. */
|
|
@@ -190,6 +199,12 @@ interface DirectiveHost {
|
|
|
190
199
|
*/
|
|
191
200
|
explainFailure?: (failure: DirectiveFailure) => DirectiveFailureWords | null;
|
|
192
201
|
}
|
|
202
|
+
/** One stored value of one field of one record type. */
|
|
203
|
+
interface DirectiveValueRef {
|
|
204
|
+
noun: string;
|
|
205
|
+
field: string;
|
|
206
|
+
value: string;
|
|
207
|
+
}
|
|
193
208
|
/** One failed apply, as the card knows it. */
|
|
194
209
|
interface DirectiveFailure {
|
|
195
210
|
/** The server's / host's own text — technical; shown only behind Details. */
|
|
@@ -722,4 +737,4 @@ interface KindRouteBinding {
|
|
|
722
737
|
/** Bind the pure routes to one host's env + owned block types. */
|
|
723
738
|
declare function createKindRouteBinding(env: KindRouteEnv, options?: KindRouteOptions): KindRouteBinding;
|
|
724
739
|
|
|
725
|
-
export { type
|
|
740
|
+
export { type ProvisionalKindRender as A, type SupersededKindRender as B, type ContentIrHost as C, type DirectiveHost as D, applyIrKindRoute as E, createKindRouteBinding as F, GENERIC_STRUCTURED_COMPONENT_KEY as G, envelopeFromPartialKind as H, IR_PROVISIONAL_KEY as I, isPartialReadyKind as J, type KindRouteEnv as K, isProvisionalBlock as L, kindServerDataFromStoredValue as M, markKindPartialUnsafe as N, readIrRouteMarker as O, type PartialRenderOptions as P, resetPartialUnsafeKinds as Q, resetSourcelessDbRowReports as R, type StructuredValueRenderProps as S, resolveAnnouncedKindLoading as T, resolveProvisionalKindRender as U, resolveSupersededKindRender as V, routeEnvOf as W, useDirectiveHost as X, useDirectiveScope as Y, type KindDefinitionSource as a, type DirectiveFailure as b, type DirectiveFailureWords as c, type DirectiveRecordRef as d, type ContentIrRenderSeams as e, DB_KIND_COMPONENT_KEY as f, DIRECTIVE_BLOCK_TYPE as g, type DirectiveApplyResult as h, type DirectiveApplyState as i, type DirectiveAskRequest as j, type DirectiveCopyProps as k, DirectiveHostProvider as l, type DirectiveHostProviderProps as m, type DirectiveOpenItemOptions as n, type DirectiveRecordProps as o, type DirectiveScope as p, DirectiveScopeProvider as q, type DirectiveShell as r, type DirectiveValueRef as s, type GenericFallbackReason as t, IR_ROUTE_KEY as u, type IrRenderBlock as v, type IrRoutableBlock as w, type IrRouteMarker as x, type KindRouteBinding as y, type KindRouteOptions as z };
|
|
@@ -175,6 +175,15 @@ interface DirectiveHost {
|
|
|
175
175
|
openItem?: (options: DirectiveOpenItemOptions) => void;
|
|
176
176
|
/** Host copy controls. */
|
|
177
177
|
renderCopy?: (props: DirectiveCopyProps) => ReactNode;
|
|
178
|
+
/**
|
|
179
|
+
* The app's word for one stored value of one pick-list field — the SAME word
|
|
180
|
+
* the record's own screens and the write forms show ("incomplete" on a task
|
|
181
|
+
* reads "Inbox"). One value, one display word everywhere (G8A review,
|
|
182
|
+
* 2026-10-02: the card said "Status incomplete → completed"). Return null for
|
|
183
|
+
* a field that is not a pick-list: its value is shown as written. Absent →
|
|
184
|
+
* every value is shown as stored.
|
|
185
|
+
*/
|
|
186
|
+
valueLabel?: (ref: DirectiveValueRef) => string | null;
|
|
178
187
|
/** The mirrored noun catalog (label / family / title column). */
|
|
179
188
|
nouns?: DirectiveNounCatalog;
|
|
180
189
|
/** slug → the kind ONE item is (THE DIRECTIVE⇄KIND SEAM), or null. */
|
|
@@ -190,6 +199,12 @@ interface DirectiveHost {
|
|
|
190
199
|
*/
|
|
191
200
|
explainFailure?: (failure: DirectiveFailure) => DirectiveFailureWords | null;
|
|
192
201
|
}
|
|
202
|
+
/** One stored value of one field of one record type. */
|
|
203
|
+
interface DirectiveValueRef {
|
|
204
|
+
noun: string;
|
|
205
|
+
field: string;
|
|
206
|
+
value: string;
|
|
207
|
+
}
|
|
193
208
|
/** One failed apply, as the card knows it. */
|
|
194
209
|
interface DirectiveFailure {
|
|
195
210
|
/** The server's / host's own text — technical; shown only behind Details. */
|
|
@@ -722,4 +737,4 @@ interface KindRouteBinding {
|
|
|
722
737
|
/** Bind the pure routes to one host's env + owned block types. */
|
|
723
738
|
declare function createKindRouteBinding(env: KindRouteEnv, options?: KindRouteOptions): KindRouteBinding;
|
|
724
739
|
|
|
725
|
-
export { type
|
|
740
|
+
export { type ProvisionalKindRender as A, type SupersededKindRender as B, type ContentIrHost as C, type DirectiveHost as D, applyIrKindRoute as E, createKindRouteBinding as F, GENERIC_STRUCTURED_COMPONENT_KEY as G, envelopeFromPartialKind as H, IR_PROVISIONAL_KEY as I, isPartialReadyKind as J, type KindRouteEnv as K, isProvisionalBlock as L, kindServerDataFromStoredValue as M, markKindPartialUnsafe as N, readIrRouteMarker as O, type PartialRenderOptions as P, resetPartialUnsafeKinds as Q, resetSourcelessDbRowReports as R, type StructuredValueRenderProps as S, resolveAnnouncedKindLoading as T, resolveProvisionalKindRender as U, resolveSupersededKindRender as V, routeEnvOf as W, useDirectiveHost as X, useDirectiveScope as Y, type KindDefinitionSource as a, type DirectiveFailure as b, type DirectiveFailureWords as c, type DirectiveRecordRef as d, type ContentIrRenderSeams as e, DB_KIND_COMPONENT_KEY as f, DIRECTIVE_BLOCK_TYPE as g, type DirectiveApplyResult as h, type DirectiveApplyState as i, type DirectiveAskRequest as j, type DirectiveCopyProps as k, DirectiveHostProvider as l, type DirectiveHostProviderProps as m, type DirectiveOpenItemOptions as n, type DirectiveRecordProps as o, type DirectiveScope as p, DirectiveScopeProvider as q, type DirectiveShell as r, type DirectiveValueRef as s, type GenericFallbackReason as t, IR_ROUTE_KEY as u, type IrRenderBlock as v, type IrRoutableBlock as w, type IrRouteMarker as x, type KindRouteBinding as y, type KindRouteOptions as z };
|
package/dist/route.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { f as DB_KIND_COMPONENT_KEY, g as DIRECTIVE_BLOCK_TYPE, G as GENERIC_STRUCTURED_COMPONENT_KEY, t as GenericFallbackReason, I as IR_PROVISIONAL_KEY, u as IR_ROUTE_KEY, x as IrRouteMarker, y as KindRouteBinding, z as KindRouteOptions, P as PartialRenderOptions, A as ProvisionalKindRender, B as SupersededKindRender, E as applyIrKindRoute, F as createKindRouteBinding, H as envelopeFromPartialKind, J as isPartialReadyKind, L as isProvisionalBlock, M as kindServerDataFromStoredValue, N as markKindPartialUnsafe, O as readIrRouteMarker, Q as resetPartialUnsafeKinds, R as resetSourcelessDbRowReports, T as resolveAnnouncedKindLoading, U as resolveProvisionalKindRender, V as resolveSupersededKindRender } from './route-DVfjdUYy.cjs';
|
|
2
2
|
import './component-resolution.types-DY4pGymy.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@ai-matrx/content-ir';
|
package/dist/route.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { f as DB_KIND_COMPONENT_KEY, g as DIRECTIVE_BLOCK_TYPE, G as GENERIC_STRUCTURED_COMPONENT_KEY, t as GenericFallbackReason, I as IR_PROVISIONAL_KEY, u as IR_ROUTE_KEY, x as IrRouteMarker, y as KindRouteBinding, z as KindRouteOptions, P as PartialRenderOptions, A as ProvisionalKindRender, B as SupersededKindRender, E as applyIrKindRoute, F as createKindRouteBinding, H as envelopeFromPartialKind, J as isPartialReadyKind, L as isProvisionalBlock, M as kindServerDataFromStoredValue, N as markKindPartialUnsafe, O as readIrRouteMarker, Q as resetPartialUnsafeKinds, R as resetSourcelessDbRowReports, T as resolveAnnouncedKindLoading, U as resolveProvisionalKindRender, V as resolveSupersededKindRender } from './route-CDATmjfp.js';
|
|
2
2
|
import './component-resolution.types-DY4pGymy.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@ai-matrx/content-ir';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/content-ir-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "The shared AI Matrx Content IR RENDER layer: kind routing, the component resolver, provisional (streaming) rendering, the runtime-wrapper chrome, and the generic structured floor — as portable React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -124,8 +124,8 @@
|
|
|
124
124
|
"react": ">=19.0.0"
|
|
125
125
|
},
|
|
126
126
|
"dependencies": {
|
|
127
|
-
"@ai-matrx/
|
|
128
|
-
"@ai-matrx/
|
|
127
|
+
"@ai-matrx/content-ir": "latest",
|
|
128
|
+
"@ai-matrx/kit": "latest"
|
|
129
129
|
},
|
|
130
130
|
"devDependencies": {
|
|
131
131
|
"@arethetypeswrong/cli": "^0.18.5",
|