@praxisui/core 10.0.0-rc.43 → 10.0.0-rc.45

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 CHANGED
@@ -4,6 +4,19 @@ Shared contracts, tokens, services, metadata models, widget runtime primitives,
4
4
 
5
5
  Use this package directly when a host application or library needs Praxis UI types, global actions, metadata registries, schema clients, resource discovery, i18n, theme bridge, dynamic widget contracts, or shared runtime services.
6
6
 
7
+ `DomainRuleSnapshotGovernanceState` includes `WITHDRAWN`. A withdrawn head is
8
+ not executable (`executionReady=false`); its last selected snapshot key and
9
+ current ETag/revision are audit and concurrency information. Consumers must not
10
+ infer activation from the presence of that key. `DomainRuleService.withdrawSnapshotHead`
11
+ (`POST /api/praxis/config/domain-rules/snapshots/withdrawals`) submits a strong
12
+ `If-Match` precondition and an auditable `reason` (`1..1000` characters) to
13
+ record a tombstone head (`DomainRuleSnapshotWithdrawalResponse`), while
14
+ `DomainRuleService.getSnapshotHeadSet` (`GET /api/praxis/config/domain-rules/snapshots/head-set`)
15
+ reads a consistent, non-withdrawn multi-operation head bundle (`1..64` unique
16
+ `operationKeys`). Reentry after withdrawal requires the backend's governed
17
+ `REQUIRED` rollout (`createRollout` with the withdrawn head's `If-Match`) and
18
+ fresh preload quorum (`DomainRuleCandidateProbeResponse`).
19
+
7
20
  ## Global dynamic pages defaults (`GlobalConfig.pages`)
8
21
 
9
22
  `GlobalConfigService` supports `pages.defaults` (`GlobalDynamicPagesDefaultsConfig`) through `provideGlobalConfig` and runtime overrides:
@@ -800,6 +813,8 @@ it must not infer authorization from a `canonicalOperations` boolean or discard
800
813
 
801
814
  `ResourceRecordOpenService` materializes the minimal `ResourceRecordOpenRef` published by governed analytics. It resolves the target resource catalog, loads the real item, follows its HATEOAS `surfaces` relation, requires the exact item surface to be available for the current context, and only then delegates to `ResourceSurfaceOpenAdapterService`. Consumers must not replace this flow with `${item.id}`, a copied surface path, a label match, or a prebuilt `surface.open` payload.
802
815
 
816
+ When a readable item surface (`VIEW` or `READ_PROJECTION` with `scope === 'ITEM'` and no `relatedResource` of its own) is materialized from a contextual surface catalog, `ResourceSurfaceOpenAdapterService.extractRelatedSurfaces` filters the sibling `ITEM` surfaces that are authorized (`availability.allowed === true`) and publish a complete `relatedResource` contract (`childResourceKey`, `childResourcePath`, `childParentField`), sorted by `order`, and attaches them to `payload.context.relatedSurfaces`. `PraxisSurfaceHostComponent` automatically composes a `[data-testid="surface-related-resources"]` section containing `<praxis-related-resource-outlet>` cards in `mode="open-action"` (`compact: true`) by default so opening a 360° dossier with multiple `1:N` child collections never triggers an N-table HTTP prefetch storm. Activating any card dispatches `surface.open` with the parent `surfaceRuntime`, pushing the child `<praxis-table>` onto the `SurfaceDrawerComponent` navigation stack (`pushFrame`/`backFrame`). Callers may opt into inline tables (`context.relatedResourcesMode = 'inline'`) or suppress the section (`context.relatedResourcesMode = 'off'`).
817
+
803
818
  When a discovered item surface publishes `relatedResource`, `ResourceSurfaceOpenAdapterService` delegates to `RelatedResourceSurfaceResolverService`. The resulting table targets the canonical child resource and receives the parent identity through `queryContext.filters`; it does not prefetch the item projection and rebuild a host-local table before opening. When the child surface publishes `childParentField`, related create actions seed that field through `actions[].form.initialValue`, and both create/update command policies project it into `groupedCommand.contextFields`. The field therefore remains in the schema-backed form and submit payload without rendering a redundant lookup for context the dossier already established. The generated related-resource empty state is informational: CREATE remains the stable, capability-governed toolbar action instead of being duplicated inside the empty state. An explicit host `emptyState.actions` declaration is preserved when the product journey intentionally needs a different contextual action. The materializer declares `openMode: "drawer"` but does not redefine drawer geometry: positioning, viewport height, focus, and close behavior remain owned by `@praxisui/crud`. This keeps the drawer responsive and preserves child operations, empty states, endpoint routing, and resource identity from the backend contract.
804
819
 
805
820
  The outlet's `ComponentDocMeta.configEditor` intentionally owns presentation only: `title`, `subtitle`, `icon`, `mode`, `presentation`, `compact`, and the closed copy/layout subset of `emptyState`. Opening it does not resolve runtime/materialized inputs. Apply and Save preserve every other persisted input opaquely, including Table-owned `tableConfig` and behavior-bearing empty-state fields. The relationship path, parent field/id, operation, filters, query context, surface and runtime state remain metadata/runtime-owned and cannot be authored by this editor or its AI manifest.
@@ -849,7 +864,7 @@ For governed analytics cross-filtering, `bindings.primaryDimension.keyFilterFiel
849
864
  `valuePresentation` is the shared display contract for scalar read-only values such as currency, number, date, datetime, time, percentage, and boolean.
850
865
  `presentation` is the shared semantic wrapper contract for presentation-capable consumers. It can request chip, badge, status or iconValue rendering while preserving the raw value used for filtering, sorting and export.
851
866
 
852
- `FieldPresentationConfig` is the shared semantic presentation contract for read-only surfaces that need a visual primitive around the value, such as `chip`, `badge`, `status`, `iconValue`, or `microVisualization`. It keeps business data in the original field and lets consumers map `tone`, `appearance`, `icon`, `tooltip`, and optional fixed `label` values to their own renderer and theme tokens.
867
+ `FieldPresentationConfig` is the shared semantic presentation contract for read-only surfaces that need a visual primitive around the value, such as `chip`, `badge`, `status`, `iconValue`, or `microVisualization`. It keeps business data in the original field and lets consumers map `tone`, `appearance`, `icon`, `tooltip`, and optional fixed `label` values to their own renderer and theme tokens. For `microVisualization` (`PraxisPresentationVisualizationConfig`), `@praxisui/core` also publishes canonical normalization (`title`, `legend`, `targetLabel`, over-capacity `>100%` readouts, deterministic per-instance SVG gradient IDs) and `PraxisMicroTooltipOverlayService`, a `document.body` / HTML Top Layer singleton portal that renders unclipped floating telemetry readouts (`data-micro-readout`) across tables, cards, dynamic fields, and analytical drawers.
853
868
 
854
869
  ## Global Actions
855
870
 
@@ -943,7 +958,7 @@ Snapshot publication returns `DomainRuleSnapshotStored` (immutable content/hash)
943
958
  Core exports:
944
959
 
945
960
  - shared services such as `GenericCrudService`, `GlobalConfigService`, `GlobalActionService`, `ResourceDiscoveryService`, `ComponentMetadataRegistry`, `PraxisJsonLogicService`, `LoadingOrchestratorService`
946
- - governed submit-error normalization through `ErrorMessageService`, preserving public `code`, `target`, `category`, and safe messages while keeping transport details out of UI fallbacks
961
+ - governed submit-error normalization through `ErrorMessageService`, preserving public `code`, `target`, `category`, `decision`, and safe messages while keeping transport details out of UI fallbacks; unknown decisions retain safe summary copy without implying a field correction
947
962
  - tokens and providers for API URLs, global config, global actions, loading, i18n, settings panel bridge, surface drawer bridge, collection export, field selector registry, overlay/layer scale, the shared collection-search visual contract (`PRAXIS_COLLECTION_SEARCH_DEFAULTS`, `PRAXIS_COLLECTION_SEARCH_VARS`, `buildPraxisCollectionSearchCss`), and the shared action-control geometry contract (`PRAXIS_ACTION_CONTROL_DEFAULTS`, `PRAXIS_ACTION_CONTROL_VARS`, `buildPraxisActionControlCss`)
948
963
  - models for table config, fields, forms, rich content, editorial content, widget pages, global actions, resource discovery, domain knowledge/rules, analytics, query context, loading, and collection export
949
964
  - helpers for schema ids, ETag fetch, field mapping, config merge, validation, IDs, inline filter controls, global action refs, and form hooks
@@ -1352,24 +1367,43 @@ canonical hover/focus/click contextual dossier across `@praxisui/table`,
1352
1367
  - **Metadata synthesis (`resolveFieldQuickViewBinding` & `reconcileFieldQuickViewBinding`)**:
1353
1368
  Synthesizes `ResourceQuickViewBinding` from explicit `field.quickView`,
1354
1369
  backend `x-ui.resourceReference` (`@ResourceReference`) or
1355
- `x-ui.optionSource.detail` (`OptionSourceDescriptor.detail`) when
1356
- `detailHrefTemplate` or `resourcePath` is present. Reconciling a persisted user
1357
- override preserves server-owned `resourcePath`, `detailHrefTemplate`,
1358
- `valueField`, `displayField` and `recordOpen` while allowing safe presentation
1359
- customizations (`previewSurfaceId`, `detailPresentation`, `triggerMode`,
1360
- `hoverOpenDelayMs`).
1370
+ `x-ui.optionSource.detail` when it declares a `resourceKey`. The binding reuses
1371
+ `recordOpen.sourceIdentityField` and `recordOpen.target.resourceKey/surfaceId`;
1372
+ `previewSurfaceId` can select a separate read projection. Persisted presentation
1373
+ preferences must preserve the server-owned record target and identity field.
1361
1374
  - **Context resolution (`resolveResourceQuickViewTarget`)**:
1362
- Resolves `valuePath` and `labelPath` across direct row objects, nested `row`,
1363
- `record`, `item`, `data`, `values` or `context` envelopes, and extracts
1375
+ Resolves `recordOpen.sourceIdentityField` from direct records or nested `row`,
1376
+ `item` and `values` envelopes, including dotted field paths, and extracts
1364
1377
  scalar IDs (`id`, `value`, `key`) when a form control holds an entity-lookup
1365
1378
  selection object.
1366
- - **Enterprise security & cache isolation**:
1367
- `ResourceQuickViewService` partitions its LRU cache by tenant, user, locale and
1368
- sorted authority fingerprint from `EnterpriseRuntimeContextService`, clearing
1369
- active caches and closing any open popover on identity or tenant switches.
1379
+ - **Enterprise security and request lifetime**:
1380
+ `ResourceQuickViewService` coalesces matching in-flight projections and invalidates
1381
+ the active generation on context changes; it does not retain a completed-record
1382
+ LRU cache. Every fresh open resolves the current item surface. Surface, action,
1383
+ capability and schema discovery share requests within the current runtime context
1384
+ generation. A context change cancels the whole record opening and invalidates
1385
+ late discovery responses, including a return to the same context. The hover trigger
1386
+ waits 280 ms by default; explicit activation starts immediately. Discovery reads
1387
+ the resource catalog, the item and its contextual surfaces before resolving the
1388
+ filtered response schema and projection. A pending HTTP request can therefore
1389
+ outlive dismissal even though its obsolete result cannot update that popover.
1370
1390
  Fields restricted by `x-ui.fieldAccess` are filtered or masked (`•••`) before
1371
1391
  rendering, and `recordOpen` actions are validated against the item's
1372
1392
  authorized `_links` / `surfaces` / `actions` snapshot.
1393
+ - **Metadata presentation**:
1394
+ Summary labels come from normalized domain metadata (`x-ui.label`), not field-name
1395
+ humanization. Explicit numeric `valuePresentation` uses the shared resolver and
1396
+ formatter for `currency`, `number` and `percentage`, including `currency.code`,
1397
+ zero precision and fractional `digitsInfo`. A presentation-level value config
1398
+ takes precedence over the field config. Existing field currency/decimal defaults
1399
+ remain the fallback when the explicit config omits them. Options, masking and
1400
+ presentation affixes retain their precedence. This numeric correction does not
1401
+ add support for compact notation or change the existing date/time formatting path.
1402
+
1403
+ Hosts must install `providePraxisQuickViewDialogPresenter()` from `@praxisui/dialog`.
1404
+ Bindings with `contentRef` also require the rich-content body renderer; the standard
1405
+ summary does not. Source changes require publication and consumer adoption before
1406
+ they can be claimed for an installed package.
1373
1407
 
1374
1408
  ### Optional editing highlight
1375
1409
 
@@ -1412,6 +1446,14 @@ the complete saved document. Explicit `standard` disables the gradient but remai
1412
1446
  an override. Resetting an existing override to inherited styling through this AI
1413
1447
  operation remains unsupported; this option does not imply full editor/AI parity.
1414
1448
 
1449
+
1450
+
1451
+ ### Domain Rules: identidade explícita de operação (candidato G3)
1452
+
1453
+ As leituras `listSnapshotVersions`, `getSnapshotHeadStatus`, `getSnapshotHead`, `getSnapshotHostStatusSummary` e `getRolloutCatalog` exigem `operationKey` após `ruleSetKey`. A inspeção de lifecycle recebe `{ ruleSetKey, operationKey }` quando incluir snapshots. Nenhum método escolhe o primeiro perfil. As projeções de versão, head, rollout, status e publicação preservam essa identidade retornada pelo servidor.
1454
+
1455
+ O consumidor deve invalidar cache, requisições tardias e confirmações ao mudar de operação. Políticas de rollout permanecem familiares. Preparação neutra de candidato continua limitada ao endpoint host que resolve uma única operação registrada; não inventar um campo ou capacidade no cliente para compor famílias múltiplas. O corte público exige release coordenado do Core, bibliotecas dependentes e consumidores, seguido de instalação a partir do registry; tarball local só comprova candidato.
1456
+
1415
1457
  <!-- praxis-npm-catalog-links:start -->
1416
1458
  ## Official documentation and examples
1417
1459
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-11-01T16:17:35.480Z",
3
+ "generatedAt": "2026-11-14T23:14:13.846Z",
4
4
  "packageName": "@praxisui/core",
5
- "packageVersion": "10.0.0-rc.43",
5
+ "packageVersion": "10.0.0-rc.45",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 4,
@@ -5701,11 +5701,26 @@
5701
5701
  {
5702
5702
  "kind": "relatedResourceOutletPresentation",
5703
5703
  "resolver": "component-config",
5704
+ "resolutionSpec": {
5705
+ "strategy": "root-path",
5706
+ "paths": [
5707
+ ""
5708
+ ],
5709
+ "allowIndex": false
5710
+ },
5704
5711
  "description": "Persisted visual shell inputs owned by the Related Resource Outlet config editor."
5705
5712
  },
5706
5713
  {
5707
5714
  "kind": "relatedResourceOutletEmptyStatePresentation",
5708
5715
  "resolver": "component-config",
5716
+ "resolutionSpec": {
5717
+ "strategy": "root-path",
5718
+ "paths": [
5719
+ "emptyState",
5720
+ ""
5721
+ ],
5722
+ "allowIndex": false
5723
+ },
5709
5724
  "description": "Persisted presentation-only emptyState subset; opaque empty-state fields are preserved unchanged."
5710
5725
  }
5711
5726
  ],
@@ -5719,6 +5734,13 @@
5719
5734
  "target": {
5720
5735
  "kind": "relatedResourceOutletPresentation",
5721
5736
  "resolver": "component-config",
5737
+ "resolutionSpec": {
5738
+ "strategy": "root-path",
5739
+ "paths": [
5740
+ ""
5741
+ ],
5742
+ "allowIndex": false
5743
+ },
5722
5744
  "ambiguityPolicy": "fail",
5723
5745
  "required": false
5724
5746
  },
@@ -5771,6 +5793,13 @@
5771
5793
  "target": {
5772
5794
  "kind": "relatedResourceOutletPresentation",
5773
5795
  "resolver": "component-config",
5796
+ "resolutionSpec": {
5797
+ "strategy": "root-path",
5798
+ "paths": [
5799
+ ""
5800
+ ],
5801
+ "allowIndex": false
5802
+ },
5774
5803
  "ambiguityPolicy": "fail",
5775
5804
  "required": false
5776
5805
  },
@@ -5823,6 +5852,13 @@
5823
5852
  "target": {
5824
5853
  "kind": "relatedResourceOutletPresentation",
5825
5854
  "resolver": "component-config",
5855
+ "resolutionSpec": {
5856
+ "strategy": "root-path",
5857
+ "paths": [
5858
+ ""
5859
+ ],
5860
+ "allowIndex": false
5861
+ },
5826
5862
  "ambiguityPolicy": "fail",
5827
5863
  "required": false
5828
5864
  },
@@ -5875,6 +5911,13 @@
5875
5911
  "target": {
5876
5912
  "kind": "relatedResourceOutletPresentation",
5877
5913
  "resolver": "component-config",
5914
+ "resolutionSpec": {
5915
+ "strategy": "root-path",
5916
+ "paths": [
5917
+ ""
5918
+ ],
5919
+ "allowIndex": false
5920
+ },
5878
5921
  "ambiguityPolicy": "fail",
5879
5922
  "required": false
5880
5923
  },
@@ -5923,6 +5966,13 @@
5923
5966
  "target": {
5924
5967
  "kind": "relatedResourceOutletPresentation",
5925
5968
  "resolver": "component-config",
5969
+ "resolutionSpec": {
5970
+ "strategy": "root-path",
5971
+ "paths": [
5972
+ ""
5973
+ ],
5974
+ "allowIndex": false
5975
+ },
5926
5976
  "ambiguityPolicy": "fail",
5927
5977
  "required": false
5928
5978
  },
@@ -5971,6 +6021,13 @@
5971
6021
  "target": {
5972
6022
  "kind": "relatedResourceOutletPresentation",
5973
6023
  "resolver": "component-config",
6024
+ "resolutionSpec": {
6025
+ "strategy": "root-path",
6026
+ "paths": [
6027
+ ""
6028
+ ],
6029
+ "allowIndex": false
6030
+ },
5974
6031
  "ambiguityPolicy": "fail",
5975
6032
  "required": false
5976
6033
  },
@@ -6016,6 +6073,14 @@
6016
6073
  "target": {
6017
6074
  "kind": "relatedResourceOutletEmptyStatePresentation",
6018
6075
  "resolver": "component-config",
6076
+ "resolutionSpec": {
6077
+ "strategy": "root-path",
6078
+ "paths": [
6079
+ "emptyState",
6080
+ ""
6081
+ ],
6082
+ "allowIndex": false
6083
+ },
6019
6084
  "ambiguityPolicy": "fail",
6020
6085
  "required": false
6021
6086
  },
@@ -6322,9 +6387,9 @@
6322
6387
  {
6323
6388
  "chunkIndex": 10,
6324
6389
  "chunkKind": "authoring_manifest",
6325
- "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-related-resource-outlet\",\"ownerPackage\":\"@praxisui/core\",\"configSchemaId\":\"PraxisRelatedResourceOutletPresentationInputs\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"description\":\"Persisted visual shell inputs owned by the Related Resource Outlet config editor.\"},{\"kind\":\"relatedResourceOutletEmptyStatePresentation\",\"resolver\":\"component-config\",\"description\":\"Persisted presentation-only emptyState subset; opaque empty-state fields are preserved unchanged.\"}]}",
6390
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-related-resource-outlet\",\"ownerPackage\":\"@praxisui/core\",\"configSchemaId\":\"PraxisRelatedResourceOutletPresentationInputs\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"\"],\"allowIndex\":false},\"description\":\"Persisted visual shell inputs owned by the Related Resource Outlet config editor.\"},{\"kind\":\"relatedResourceOutletEmptyStatePresentation\",\"resolver\":\"component-config\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"emptyState\",\"\"],\"allowIndex\":false},\"description\":\"Persisted presentation-only emptyState subset; opaque empty-state fields are preserved unchanged.\"}]}",
6326
6391
  "sourcePointer": "projects/praxis-core/src/lib/ai/praxis-related-resource-outlet-authoring-manifest.ts",
6327
- "contentHash": "d6e859708fc704d82fe5ac8adff7f29b13163cc180e26e7a3b0d58f5a5eda88c",
6392
+ "contentHash": "0c11ac9490a9f36af1f047d2b1fb0173ec7f011028131e4ae8677cd60e5b53c9",
6328
6393
  "sourceKind": "component_definition",
6329
6394
  "sourceId": "praxis-related-resource-outlet",
6330
6395
  "corpusVersion": "1.0.0"
@@ -6332,9 +6397,9 @@
6332
6397
  {
6333
6398
  "chunkIndex": 11,
6334
6399
  "chunkKind": "authoring_manifest",
6335
- "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-related-resource-outlet\",\"ownerPackage\":\"@praxisui/core\",\"configSchemaId\":\"PraxisRelatedResourceOutletPresentationInputs\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"related-resource-outlet.presentation.set-title\",\"title\":\"Set related-resource title\",\"description\":\"Sets only the persisted visual title; relationship metadata and runtime context remain unchanged.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"title\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"title\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.set-subtitle\",\"title\":\"Set related-resource subtitle\",\"description\":\"Sets only the persisted visual subtitle; relationship metadata and runtime context remain unchanged.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"subtitle\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"subtitle\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.set-icon\",\"title\":\"Set related-resource icon\",\"description\":\"Sets only the persisted visual icon; relationship metadata and runtime context remain unchanged.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"icon\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"icon\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.set-mode\",\"title\":\"Set related-resource display mode\",\"description\":\"Selects inline rendering or a host-mediated open action without changing the relationship or its operation.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"enum\":[\"inline\",\"open-action\"]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"mode\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"mode\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.set-open-presentation\",\"title\":\"Set related-resource open presentation\",\"description\":\"Selects drawer or modal for the host-mediated open payload without changing target resource semantics.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"enum\":[\"drawer\",\"modal\"]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"presentation\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"presentation\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.set-compact\",\"title\":\"Set compact related-resource states\",\"description\":\"Changes only the visual density of non-materialized outlet states.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"compact\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"compact\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.configure-empty-state\",\"title\":\"Configure related-resource empty-state presentation\",\"description\":\"Merges only the closed presentation subset; actions, contexts, images, templates and unknown fields remain opaque.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletEmptyStatePresentation\",\"target\":{\"kind\":\"relatedResourceOutletEmptyStatePresentation\",\"resolver\":\"component-config\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"minProperties\":1,\"properties\":{\"title\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"message\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"description\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"icon\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"tone\":{\"oneOf\":[{\"enum\":[\"neutral\",\"primary\",\"secondary\"]},{\"type\":\"null\"}]},\"variant\":{\"oneOf\":[{\"enum\":[\"card\",\"inline\",\"panel\",\"transparent\"]},{\"type\":\"null\"}]},\"alignment\":{\"oneOf\":[{\"enum\":[\"start\",\"center\"]},{\"type\":\"null\"}]},\"density\":{\"oneOf\":[{\"enum\":[\"compact\",\"comfortable\"]},{\"type\":\"null\"}]},\"iconContainer\":{\"oneOf\":[{\"enum\":[\"none\",\"circle\",\"soft\"]},{\"type\":\"null\"}]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"emptyState\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"emptyState.title\",\"emptyState.message\",\"emptyState.description\",\"emptyState.icon\",\"emptyState.tone\",\"emptyState.variant\",\"emptyState.alignment\",\"emptyState.density\",\"emptyState.iconContainer\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]}]}",
6400
+ "content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-related-resource-outlet\",\"ownerPackage\":\"@praxisui/core\",\"configSchemaId\":\"PraxisRelatedResourceOutletPresentationInputs\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"related-resource-outlet.presentation.set-title\",\"title\":\"Set related-resource title\",\"description\":\"Sets only the persisted visual title; relationship metadata and runtime context remain unchanged.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"title\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"title\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.set-subtitle\",\"title\":\"Set related-resource subtitle\",\"description\":\"Sets only the persisted visual subtitle; relationship metadata and runtime context remain unchanged.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"subtitle\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"subtitle\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.set-icon\",\"title\":\"Set related-resource icon\",\"description\":\"Sets only the persisted visual icon; relationship metadata and runtime context remain unchanged.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"icon\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"icon\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.set-mode\",\"title\":\"Set related-resource display mode\",\"description\":\"Selects inline rendering or a host-mediated open action without changing the relationship or its operation.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"enum\":[\"inline\",\"open-action\"]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"mode\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"mode\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.set-open-presentation\",\"title\":\"Set related-resource open presentation\",\"description\":\"Selects drawer or modal for the host-mediated open payload without changing target resource semantics.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"enum\":[\"drawer\",\"modal\"]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"presentation\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"presentation\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.set-compact\",\"title\":\"Set compact related-resource states\",\"description\":\"Changes only the visual density of non-materialized outlet states.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletPresentation\",\"target\":{\"kind\":\"relatedResourceOutletPresentation\",\"resolver\":\"component-config\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"value\"],\"properties\":{\"value\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"compact\",\"inputPath\":\"value\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"compact\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]},{\"operationId\":\"related-resource-outlet.presentation.configure-empty-state\",\"title\":\"Configure related-resource empty-state presentation\",\"description\":\"Merges only the closed presentation subset; actions, contexts, images, templates and unknown fields remain opaque.\",\"scope\":\"global\",\"targetKind\":\"relatedResourceOutletEmptyStatePresentation\",\"target\":{\"kind\":\"relatedResourceOutletEmptyStatePresentation\",\"resolver\":\"component-config\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"emptyState\",\"\"],\"allowIndex\":false},\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"additionalProperties\":false,\"minProperties\":1,\"properties\":{\"title\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"message\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"description\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"icon\":{\"oneOf\":[{\"type\":\"string\"},{\"type\":\"null\"}]},\"tone\":{\"oneOf\":[{\"enum\":[\"neutral\",\"primary\",\"secondary\"]},{\"type\":\"null\"}]},\"variant\":{\"oneOf\":[{\"enum\":[\"card\",\"inline\",\"panel\",\"transparent\"]},{\"type\":\"null\"}]},\"alignment\":{\"oneOf\":[{\"enum\":[\"start\",\"center\"]},{\"type\":\"null\"}]},\"density\":{\"oneOf\":[{\"enum\":[\"compact\",\"comfortable\"]},{\"type\":\"null\"}]},\"iconContainer\":{\"oneOf\":[{\"enum\":[\"none\",\"circle\",\"soft\"]},{\"type\":\"null\"}]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"emptyState\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"component-config-editor-respected\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"emptyState.title\",\"emptyState.message\",\"emptyState.description\",\"emptyState.icon\",\"emptyState.tone\",\"emptyState.variant\",\"emptyState.alignment\",\"emptyState.density\",\"emptyState.iconContainer\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"component-config-loaded\"]}]}",
6336
6401
  "sourcePointer": "projects/praxis-core/src/lib/ai/praxis-related-resource-outlet-authoring-manifest.ts",
6337
- "contentHash": "82326b632ac4e0f138cb68b3318a88b5e1a0d0dab267adea9c58af61857569eb",
6402
+ "contentHash": "2278cc1d395ef7c460d459766968c8e8ec0b0b3b6fe249013acd885f05001d7b",
6338
6403
  "sourceKind": "component_definition",
6339
6404
  "sourceId": "praxis-related-resource-outlet",
6340
6405
  "corpusVersion": "1.0.0"