@xenosystem/blocks 0.13.32 → 0.13.33

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.
@@ -604,6 +604,11 @@ type AgentUiIntent = {
604
604
  kind: 'cancel';
605
605
  };
606
606
  /** The manifest the declaration validates against — the agent panel's id, its PRESENTATION ports. */
607
+ /**
608
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
609
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
610
+ * declaration's own two ports in place of the host contract's.
611
+ */
607
612
  declare const agentViewManifest: PanelManifest;
608
613
  declare const LANE_LABEL: Record<XenoAgentLane, string>;
609
614
  declare const TURN: Record<XenoAgentTurnState, {
@@ -1052,13 +1052,9 @@ import {
1052
1052
 
1053
1053
  // src/agent/agent/declaration.ts
1054
1054
  var agentViewManifest = {
1055
- id: AGENT_PANEL_ID,
1056
- version: "1.0.0",
1057
- title: "Agent",
1058
- category: "agent",
1059
- layout: { slot: "main" },
1060
- inputs: [{ id: "view", type: "object", label: "View state", description: "The AgentViewState the controller derives from the host ports." }],
1061
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, id?, draft? } \u2014 applied by the controller." }],
1055
+ ...agentManifest,
1056
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The AgentViewState the controller derives from the host ports." }],
1057
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, id?, draft? } \u2014 applied by the controller." }],
1062
1058
  commands: []
1063
1059
  };
1064
1060
  var LANE_LABEL = { cloud: "Cloud", local: "Local", acp: "ACP" };
@@ -642,6 +642,11 @@ type AccountUiIntent = {
642
642
  kind: 'ledgerCollapsed';
643
643
  collapsed: boolean;
644
644
  };
645
+ /**
646
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
647
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
648
+ * declaration's own two ports in place of the host contract's.
649
+ */
645
650
  declare const accountViewManifest: PanelManifest;
646
651
  declare const STATUS_LABEL: Record<XenoAccountStatus, string>;
647
652
  declare const STATUS_TONE: Record<XenoAccountStatus, PanelTone>;
@@ -449,13 +449,9 @@ function formatAge(ms) {
449
449
 
450
450
  // src/auth/account/declaration.ts
451
451
  var accountViewManifest = {
452
- id: ACCOUNT_PANEL_ID,
453
- version: "1.0.0",
454
- title: "Account",
455
- category: "account",
456
- layout: { slot: "side" },
457
- inputs: [{ id: "view", type: "object", label: "View state", description: "The AccountViewState the controller derives from the host ports." }],
458
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, seatId?, collapsed? } \u2014 applied by the controller." }],
452
+ ...accountManifest,
453
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The AccountViewState the controller derives from the host ports." }],
454
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, seatId?, collapsed? } \u2014 applied by the controller." }],
459
455
  commands: []
460
456
  };
461
457
  var STATUS_LABEL = {
@@ -829,6 +829,11 @@ type TableUiIntent = {
829
829
  declare function tableViewState(c: TableController, options?: TableViewOptions): TableViewModel;
830
830
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
831
831
  declare function applyTableUi(c: TableController, intent: TableUiIntent): void;
832
+ /**
833
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
834
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
835
+ * declaration's own two ports in place of the host contract's.
836
+ */
832
837
  declare const tableViewManifest: PanelManifest;
833
838
  declare const BEHAVIOURS$4: {
834
839
  'data/tablePanelView': (inputs: Record<string, unknown>) => TableViewModel;
@@ -1326,6 +1331,11 @@ interface ChartViewOptions {
1326
1331
  /** Derive the view from the live controller — the runtime calls this on every draw. */
1327
1332
  declare function chartViewState(c: ChartController, options?: ChartViewOptions): ChartViewModel;
1328
1333
  declare function applyChartUi(c: ChartController, intent: ChartUiIntent): void;
1334
+ /**
1335
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
1336
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
1337
+ * declaration's own two ports in place of the host contract's.
1338
+ */
1329
1339
  declare const chartViewManifest: PanelManifest;
1330
1340
  declare const BEHAVIOURS$3: {
1331
1341
  'data/chartPanelView': (inputs: Record<string, unknown>) => ChartViewModel;
@@ -1694,6 +1704,11 @@ interface MetricsViewOptions {
1694
1704
  /** Derive the view from the live controller — the runtime calls this on every draw. */
1695
1705
  declare function metricsViewState(c: MetricsController, options?: MetricsViewOptions): MetricsViewModel;
1696
1706
  declare function applyMetricsUi(c: MetricsController, intent: MetricsUiIntent): void;
1707
+ /**
1708
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
1709
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
1710
+ * declaration's own two ports in place of the host contract's.
1711
+ */
1697
1712
  declare const metricsViewManifest: PanelManifest;
1698
1713
  declare const BEHAVIOURS$2: {
1699
1714
  'data/metricsPanelView': (inputs: Record<string, unknown>) => MetricsViewModel;
@@ -2180,6 +2195,11 @@ interface FieldsViewOptions {
2180
2195
  declare function fieldsViewState(c: FieldsController, options?: FieldsViewOptions): FieldsViewModel;
2181
2196
  /** Apply a `ui` intent to the controller. */
2182
2197
  declare function applyFieldsUi(c: FieldsController, intent: FieldsUiIntent): void;
2198
+ /**
2199
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
2200
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
2201
+ * declaration's own two ports in place of the host contract's.
2202
+ */
2183
2203
  declare const fieldsViewManifest: PanelManifest;
2184
2204
  declare const BEHAVIOURS$1: {
2185
2205
  'data/fieldsPanelView': (inputs: Record<string, unknown>) => FieldsViewModel;
@@ -3736,6 +3756,11 @@ interface ConnectorsViewOptions {
3736
3756
  /** Derive the view from the live controller — the runtime calls this on every draw. */
3737
3757
  declare function connectorsViewState(c: ConnectorsController, options?: ConnectorsViewOptions): ConnectorsViewModel;
3738
3758
  declare function applyConnectorsUi(c: ConnectorsController, intent: ConnectorsUiIntent): void;
3759
+ /**
3760
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
3761
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
3762
+ * declaration's own two ports in place of the host contract's.
3763
+ */
3739
3764
  declare const connectorsViewManifest: PanelManifest;
3740
3765
  declare const BEHAVIOURS: {
3741
3766
  'data/connectorsPanelView': (inputs: Record<string, unknown>) => ConnectorsViewModel;
@@ -1164,13 +1164,9 @@ function applyTableUi(c, intent) {
1164
1164
  }
1165
1165
  }
1166
1166
  var tableViewManifest = {
1167
- id: tableManifest.id,
1168
- version: "1.0.0",
1169
- title: "Table",
1170
- category: "data",
1171
- layout: { slot: "center" },
1172
- inputs: [{ id: "view", type: "object", label: "View state", description: "The TableViewModel the runtime derives from the controller on every draw." }],
1173
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, mode?, columnId?, id?, rowId?, value?, key?, shiftKey?, ctrlKey?, metaKey? } \u2014 applied by the runtime to the controller." }],
1167
+ ...tableManifest,
1168
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The TableViewModel the runtime derives from the controller on every draw." }],
1169
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, mode?, columnId?, id?, rowId?, value?, key?, shiftKey?, ctrlKey?, metaKey? } \u2014 applied by the runtime to the controller." }],
1174
1170
  commands: []
1175
1171
  };
1176
1172
  var EMPTY = {
@@ -2317,13 +2313,9 @@ function applyChartUi(c, intent) {
2317
2313
  }
2318
2314
  }
2319
2315
  var chartViewManifest = {
2320
- id: chartManifest.id,
2321
- version: "1.0.0",
2322
- title: "Chart",
2323
- category: "data",
2324
- layout: { slot: "center" },
2325
- inputs: [{ id: "view", type: "object", label: "View state", description: "The ChartViewModel the runtime derives from the controller on every draw." }],
2326
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind: type | export, \u2026 } \u2014 applied by the runtime to the controller." }],
2316
+ ...chartManifest,
2317
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The ChartViewModel the runtime derives from the controller on every draw." }],
2318
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind: type | export, \u2026 } \u2014 applied by the runtime to the controller." }],
2327
2319
  commands: []
2328
2320
  };
2329
2321
  var EMPTY2 = { types: [], type: "bar", partial: false, aggregating: false, errored: false, empty: true, emptyHint: "Wire a result into this chart to plot it.", unplottable: false, noRenderer: false, plot: false };
@@ -3034,13 +3026,9 @@ function applyMetricsUi(c, intent) {
3034
3026
  }
3035
3027
  }
3036
3028
  var metricsViewManifest = {
3037
- id: metricsManifest.id,
3038
- version: "1.0.0",
3039
- title: "Metrics",
3040
- category: "data",
3041
- layout: { slot: "center" },
3042
- inputs: [{ id: "view", type: "object", label: "View state", description: "The MetricsViewModel the runtime derives from the controller on every draw." }],
3043
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind: range | activate, \u2026 } \u2014 applied by the runtime to the controller." }],
3029
+ ...metricsManifest,
3030
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The MetricsViewModel the runtime derives from the controller on every draw." }],
3031
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind: range | activate, \u2026 } \u2014 applied by the runtime to the controller." }],
3044
3032
  commands: []
3045
3033
  };
3046
3034
  var EMPTY3 = { hasRanges: false, ranges: [], rangeId: "", partial: false, partialHint: "", errored: false, empty: true, emptyHint: "Configure a metric, or wire a result into this panel.", ready: false, layout: "grid", columns: 4, tiles: [], countLabel: "0 metrics" };
@@ -4114,13 +4102,9 @@ function applyFieldsUi(c, intent) {
4114
4102
  }
4115
4103
  }
4116
4104
  var fieldsViewManifest = {
4117
- id: fieldsManifest.id,
4118
- version: "1.0.0",
4119
- title: "Fields",
4120
- category: "data",
4121
- layout: { slot: "side" },
4122
- inputs: [{ id: "view", type: "object", label: "View state", description: "The FieldsViewModel the runtime derives from the controller on every draw." }],
4123
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
4105
+ ...fieldsManifest,
4106
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The FieldsViewModel the runtime derives from the controller on every draw." }],
4107
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
4124
4108
  commands: []
4125
4109
  };
4126
4110
  var EMPTY4 = { hasColumns: false, noColumns: true, sampled: false, manualApply: false, applyDisabled: true, columns: [], shelves: [], filters: [], filterCount: 0, hasFilters: false, noFilters: true, combinator: "and", countLabel: "0 fields" };
@@ -6753,13 +6737,9 @@ function applyConnectorsUi(c, intent) {
6753
6737
  }
6754
6738
  }
6755
6739
  var connectorsViewManifest = {
6756
- id: connectorsManifest.id,
6757
- version: "1.0.0",
6758
- title: "Connectors",
6759
- category: "data",
6760
- layout: { slot: "side" },
6761
- inputs: [{ id: "view", type: "object", label: "View state", description: "The ConnectorsViewModel the runtime derives from the controller on every draw." }],
6762
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
6740
+ ...connectorsManifest,
6741
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The ConnectorsViewModel the runtime derives from the controller on every draw." }],
6742
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
6763
6743
  commands: []
6764
6744
  };
6765
6745
  var EMPTY5 = { listing: true, sources: [], empty: true, emptyHint: "Paste CSV or JSON to start with an inline source \u2014 no setup needed.", listed: false, countLabel: "0 sources", form: false, formTitle: "", formBroken: false, formReady: false, fields: [], submitDisabled: true };
@@ -826,6 +826,11 @@ type LayersUiIntent = {
826
826
  declare function layersViewState(c: LayersPanelController): LayersViewState;
827
827
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
828
828
  declare function applyLayersUi(c: LayersPanelController, intent: LayersUiIntent): void;
829
+ /**
830
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
831
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
832
+ * declaration's own two ports in place of the host contract's.
833
+ */
829
834
  declare const layersViewManifest: PanelManifest;
830
835
  declare const BEHAVIOURS$9: {
831
836
  'edit/layersPanelView': (inputs: Record<string, unknown>) => LayersViewState;
@@ -1722,6 +1727,11 @@ type InspectorUiIntent = {
1722
1727
  declare function inspectorViewState(c: InspectorPanelController): InspectorViewState;
1723
1728
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
1724
1729
  declare function applyInspectorUi(c: InspectorPanelController, intent: InspectorUiIntent): void;
1730
+ /**
1731
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
1732
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
1733
+ * declaration's own two ports in place of the host contract's.
1734
+ */
1725
1735
  declare const inspectorViewManifest: PanelManifest;
1726
1736
  declare const BEHAVIOURS$8: {
1727
1737
  'edit/inspectorPanelView': (inputs: Record<string, unknown>) => InspectorViewState;
@@ -2333,6 +2343,11 @@ type HistoryUiIntent = {
2333
2343
  declare function historyViewState(c: HistoryPanelController): HistoryViewState;
2334
2344
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
2335
2345
  declare function applyHistoryUi(c: HistoryPanelController, intent: HistoryUiIntent): void;
2346
+ /**
2347
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
2348
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
2349
+ * declaration's own two ports in place of the host contract's.
2350
+ */
2336
2351
  declare const historyViewManifest: PanelManifest;
2337
2352
  declare const BEHAVIOURS$7: {
2338
2353
  'edit/historyPanelView': (inputs: Record<string, unknown>) => HistoryViewState;
@@ -2895,6 +2910,11 @@ type ColorUiIntent = {
2895
2910
  declare function colorViewState(c: ColorPanelController): ColorViewState;
2896
2911
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
2897
2912
  declare function applyColorUi(c: ColorPanelController, intent: ColorUiIntent): void;
2913
+ /**
2914
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
2915
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
2916
+ * declaration's own two ports in place of the host contract's.
2917
+ */
2898
2918
  declare const colorViewManifest: PanelManifest;
2899
2919
  declare const BEHAVIOURS$6: {
2900
2920
  'edit/colorPanelView': (inputs: Record<string, unknown>) => ColorViewState;
@@ -3955,6 +3975,11 @@ type CurveUiIntent = {
3955
3975
  declare function curveViewState(c: CurveController, options?: CurveViewOptions): CurveViewModel;
3956
3976
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
3957
3977
  declare function applyCurveUi(c: CurveController, intent: CurveUiIntent): void;
3978
+ /**
3979
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
3980
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
3981
+ * declaration's own two ports in place of the host contract's.
3982
+ */
3958
3983
  declare const curveViewManifest: PanelManifest;
3959
3984
  declare const BEHAVIOURS$5: {
3960
3985
  'edit/curvePanelView': (inputs: Record<string, unknown>) => CurveViewModel;
@@ -4398,6 +4423,11 @@ interface ViewportViewModel {
4398
4423
  }
4399
4424
  /** Derive the view model from the live controller — the runtime calls this on every draw. */
4400
4425
  declare function viewportViewState(c: ViewportController, options?: ViewportViewOptions): ViewportViewModel;
4426
+ /**
4427
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
4428
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
4429
+ * declaration's own two ports in place of the host contract's.
4430
+ */
4401
4431
  declare const viewportViewManifest: PanelManifest;
4402
4432
  declare const BEHAVIOURS$4: {
4403
4433
  'edit/viewportPanelView': (inputs: Record<string, unknown>) => ViewportViewModel;
@@ -4941,6 +4971,11 @@ interface FindViewOptions {
4941
4971
  declare function findViewState(c: FindController, options?: FindViewOptions): FindViewModel;
4942
4972
  /** Apply a `ui` intent to the controller — the runtime's one job besides drawing. */
4943
4973
  declare function applyFindUi(c: FindController, intent: FindUiIntent): void;
4974
+ /**
4975
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
4976
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
4977
+ * declaration's own two ports in place of the host contract's.
4978
+ */
4944
4979
  declare const findViewManifest: PanelManifest;
4945
4980
  declare const BEHAVIOURS$3: {
4946
4981
  'edit/findPanelView': (inputs: Record<string, unknown>) => FindViewModel;
@@ -5531,6 +5566,11 @@ interface CommentsViewOptions {
5531
5566
  /** Derive the view from the live controller — the runtime calls this on every draw. */
5532
5567
  declare function commentsViewState(c: CommentsController, options?: CommentsViewOptions): CommentsViewModel;
5533
5568
  declare function applyCommentsUi(c: CommentsController, intent: CommentsUiIntent): void;
5569
+ /**
5570
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
5571
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
5572
+ * declaration's own two ports in place of the host contract's.
5573
+ */
5534
5574
  declare const commentsViewManifest: PanelManifest;
5535
5575
  declare const BEHAVIOURS$2: {
5536
5576
  'edit/commentsPanelView': (inputs: Record<string, unknown>) => CommentsViewModel;
@@ -6510,6 +6550,11 @@ type NodeGraphUiIntent = {
6510
6550
  declare function nodegraphViewState(c: GraphController, _options?: NodeGraphViewOptions): NodeGraphViewModel;
6511
6551
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
6512
6552
  declare function applyNodeGraphUi(c: GraphController, intent: NodeGraphUiIntent): void;
6553
+ /**
6554
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
6555
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
6556
+ * declaration's own two ports in place of the host contract's.
6557
+ */
6513
6558
  declare const nodegraphViewManifest: PanelManifest;
6514
6559
  declare const BEHAVIOURS$1: {
6515
6560
  'edit/nodegraphPanelView': (inputs: Record<string, unknown>) => NodeGraphViewModel;
@@ -7491,6 +7536,11 @@ type TreeUiIntent = {
7491
7536
  declare function treeViewState(c: TreeController, options?: TreeViewOptions): TreeViewModel;
7492
7537
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
7493
7538
  declare function applyTreeUi(c: TreeController, intent: TreeUiIntent, options?: TreeViewOptions): void;
7539
+ /**
7540
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
7541
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
7542
+ * declaration's own two ports in place of the host contract's.
7543
+ */
7494
7544
  declare const treeViewManifest: PanelManifest;
7495
7545
  declare const BEHAVIOURS: {
7496
7546
  'edit/treePanelView': (inputs: Record<string, unknown>) => TreeViewModel;
@@ -1302,13 +1302,9 @@ function applyLayersUi(c, intent) {
1302
1302
  }
1303
1303
  }
1304
1304
  var layersViewManifest = {
1305
- id: layersManifest.id,
1306
- version: "1.0.0",
1307
- title: "Layers",
1308
- category: "edit",
1309
- layout: { slot: "side" },
1310
- inputs: [{ id: "view", type: "object", label: "View state", description: "The LayersViewState the runtime derives from the controller on every draw." }],
1311
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, id?, prop?, value?, x?, y? } \u2014 applied by the runtime to the controller." }],
1305
+ ...layersManifest,
1306
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The LayersViewState the runtime derives from the controller on every draw." }],
1307
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, id?, prop?, value?, x?, y? } \u2014 applied by the runtime to the controller." }],
1312
1308
  commands: []
1313
1309
  };
1314
1310
  var EMPTY = { searchShown: true, filter: "", totalHeight: 0, offsetTop: 0, rows: [], empty: true, count: "0 layers", thumbnailSize: 24 };
@@ -3080,13 +3076,9 @@ function applyInspectorUi(c, intent) {
3080
3076
  }
3081
3077
  }
3082
3078
  var inspectorViewManifest = {
3083
- id: inspectorManifest.id,
3084
- version: "1.0.0",
3085
- title: "Inspector",
3086
- category: "edit",
3087
- layout: { slot: "side" },
3088
- inputs: [{ id: "view", type: "object", label: "View state", description: "The InspectorViewState the runtime derives from the controller on every draw." }],
3089
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, sectionId?, fieldId?, \u2026 } \u2014 applied by the runtime to the controller." }],
3079
+ ...inspectorManifest,
3080
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The InspectorViewState the runtime derives from the controller on every draw." }],
3081
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, sectionId?, fieldId?, \u2026 } \u2014 applied by the runtime to the controller." }],
3090
3082
  commands: []
3091
3083
  };
3092
3084
  var EMPTY2 = { searchShown: true, filter: "", hasTarget: false, targetLabel: "", multi: false, banner: "", sections: [], empty: true, emptyTitle: "Nothing selected" };
@@ -4746,13 +4738,9 @@ function applyHistoryUi(c, intent) {
4746
4738
  }
4747
4739
  }
4748
4740
  var historyViewManifest = {
4749
- id: historyManifest.id,
4750
- version: "1.0.0",
4751
- title: "History",
4752
- category: "edit",
4753
- layout: { slot: "side" },
4754
- inputs: [{ id: "view", type: "object", label: "View state", description: "The HistoryViewState the runtime derives from the controller on every draw." }],
4755
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, entryId?, value?, x?, y? } \u2014 applied by the runtime to the controller." }],
4741
+ ...historyManifest,
4742
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The HistoryViewState the runtime derives from the controller on every draw." }],
4743
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, entryId?, value?, x?, y? } \u2014 applied by the runtime to the controller." }],
4756
4744
  commands: []
4757
4745
  };
4758
4746
  var EMPTY3 = { canUndo: false, canRedo: false, searchShown: true, filter: "", counter: "0 / 0", clearAllowed: false, confirmingClear: false, pruned: false, totalHeight: 0, offsetTop: 0, rows: [], empty: true, hasMemory: false, memoryText: "" };
@@ -6088,13 +6076,9 @@ function applyColorUi(c, intent) {
6088
6076
  }
6089
6077
  }
6090
6078
  var colorViewManifest = {
6091
- id: colorManifest.id,
6092
- version: "1.0.0",
6093
- title: "Color",
6094
- category: "edit",
6095
- layout: { slot: "side" },
6096
- inputs: [{ id: "view", type: "object", label: "View state", description: "The ColorViewState the runtime derives from the controller on every draw." }],
6097
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
6079
+ ...colorManifest,
6080
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The ColorViewState the runtime derives from the controller on every draw." }],
6081
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
6098
6082
  commands: []
6099
6083
  };
6100
6084
  var EMPTY4 = { hex: "", bound: false, fgBg: false, fgActive: true, bgActive: false, space: "hex", spaceOptions: EDIT_SPACES.map((sp) => ({ value: sp, label: SPACE_LABEL[sp] })), isHex: true, isComponents: false, components: [], alphaShown: false, alphaPercent: 100, hasTokens: false, boundTokenId: "", tokenOptions: [], swatches: [], hasRecent: false, recent: [] };
@@ -7735,13 +7719,9 @@ function applyCurveUi(c, intent) {
7735
7719
  }
7736
7720
  }
7737
7721
  var curveViewManifest = {
7738
- id: curveManifest.id,
7739
- version: "1.0.0",
7740
- title: "Curve",
7741
- category: "edit",
7742
- layout: { slot: "bottom" },
7743
- inputs: [{ id: "view", type: "object", label: "View state", description: "The CurveViewModel the runtime derives from the controller on every draw." }],
7744
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, mode?, id? } \u2014 applied by the runtime to the controller." }],
7722
+ ...curveManifest,
7723
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The CurveViewModel the runtime derives from the controller on every draw." }],
7724
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, mode?, id? } \u2014 applied by the runtime to the controller." }],
7745
7725
  commands: []
7746
7726
  };
7747
7727
  var EMPTY5 = { interpolations: INTERPOLATIONS, tangentModes: TANGENT_MODES, presetsShown: true, presets: PRESETS, empty: true, drawn: false, channelsLabel: "0 channels", playheadLabel: "" };
@@ -8648,12 +8628,8 @@ function viewportViewState(c, options = {}) {
8648
8628
  };
8649
8629
  }
8650
8630
  var viewportViewManifest = {
8651
- id: viewportManifest.id,
8652
- version: "1.0.0",
8653
- title: "Viewport",
8654
- category: "edit",
8655
- layout: { slot: "center" },
8656
- inputs: [{ id: "view", type: "object", label: "View state", description: "The ViewportViewModel the runtime derives from the controller on every draw." }],
8631
+ ...viewportManifest,
8632
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The ViewportViewModel the runtime derives from the controller on every draw." }],
8657
8633
  outputs: [],
8658
8634
  commands: []
8659
8635
  };
@@ -9527,13 +9503,9 @@ function applyFindUi(c, intent) {
9527
9503
  }
9528
9504
  }
9529
9505
  var findViewManifest = {
9530
- id: findManifest.id,
9531
- version: "1.0.0",
9532
- title: "Find",
9533
- category: "edit",
9534
- layout: { slot: "side" },
9535
- inputs: [{ id: "view", type: "object", label: "View state", description: "The FindViewModel the runtime derives from the controller on every draw." }],
9536
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, value?, option?, matchId?, x?, y? } \u2014 applied by the runtime to the controller." }],
9506
+ ...findManifest,
9507
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The FindViewModel the runtime derives from the controller on every draw." }],
9508
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, value?, option?, matchId?, x?, y? } \u2014 applied by the runtime to the controller." }],
9537
9509
  commands: []
9538
9510
  };
9539
9511
  var EMPTY7 = {
@@ -10553,13 +10525,9 @@ function applyCommentsUi(c, intent) {
10553
10525
  }
10554
10526
  }
10555
10527
  var commentsViewManifest = {
10556
- id: commentsManifest.id,
10557
- version: "1.0.0",
10558
- title: "Comments",
10559
- category: "edit",
10560
- layout: { slot: "side" },
10561
- inputs: [{ id: "view", type: "object", label: "View state", description: "The CommentsViewModel the runtime derives from the controller on every draw." }],
10562
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
10528
+ ...commentsManifest,
10529
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The CommentsViewModel the runtime derives from the controller on every draw." }],
10530
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
10563
10531
  commands: []
10564
10532
  };
10565
10533
  var EMPTY8 = { show: "open", shows: [], sort: "document", sorts: [], orphanedHidden: false, filteredEmpty: false, filteredHint: "", empty: true, emptyHint: "Select something and add a comment.", listed: false, open: [], hasResolved: false, resolvedTitle: "", resolved: [], draft: "", placeholder: "", composerDisabled: true, commentDisabled: true, countLabel: "0 open" };
@@ -11892,13 +11860,9 @@ function applyNodeGraphUi(c, intent) {
11892
11860
  }
11893
11861
  }
11894
11862
  var nodegraphViewManifest = {
11895
- id: nodegraphManifest.id,
11896
- version: "1.0.0",
11897
- title: "Node Graph",
11898
- category: "edit",
11899
- layout: { slot: "center" },
11900
- inputs: [{ id: "view", type: "object", label: "View state", description: "The NodeGraphViewModel the runtime derives from the controller on every draw." }],
11901
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind } \u2014 applied by the runtime to the controller." }],
11863
+ ...nodegraphManifest,
11864
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The NodeGraphViewModel the runtime derives from the controller on every draw." }],
11865
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind } \u2014 applied by the runtime to the controller." }],
11902
11866
  commands: []
11903
11867
  };
11904
11868
  var EMPTY9 = { empty: true, drawn: false, nodesLabel: "0 nodes", zoomLabel: "100%" };
@@ -13617,13 +13581,9 @@ function applyTreeUi(c, intent, options = {}) {
13617
13581
  }
13618
13582
  }
13619
13583
  var treeViewManifest = {
13620
- id: treeManifest.id,
13621
- version: "1.0.0",
13622
- title: "Tree",
13623
- category: "edit",
13624
- layout: { slot: "side" },
13625
- inputs: [{ id: "view", type: "object", label: "View state", description: "The TreeViewModel the runtime derives from the controller on every draw." }],
13626
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, id?, value?, key?, actionId?, x?, y?, ctrlKey?, metaKey?, shiftKey?, altKey? } \u2014 applied by the runtime to the controller." }],
13584
+ ...treeManifest,
13585
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The TreeViewModel the runtime derives from the controller on every draw." }],
13586
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, id?, value?, key?, actionId?, x?, y?, ctrlKey?, metaKey?, shiftKey?, altKey? } \u2014 applied by the runtime to the controller." }],
13627
13587
  commands: []
13628
13588
  };
13629
13589
  var EMPTY10 = {
@@ -606,6 +606,11 @@ interface ConsoleViewOptions {
606
606
  /** Derive the view from the live controller — the runtime calls this on every draw. */
607
607
  declare function consoleViewState(c: ConsoleController, options?: ConsoleViewOptions): ConsoleViewModel;
608
608
  declare function applyConsoleUi(c: ConsoleController, intent: ConsoleUiIntent): void;
609
+ /**
610
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
611
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
612
+ * declaration's own two ports in place of the host contract's.
613
+ */
609
614
  declare const consoleViewManifest: PanelManifest;
610
615
  declare const BEHAVIOURS$3: {
611
616
  'ops/consolePanelView': (inputs: Record<string, unknown>) => ConsoleViewModel;
@@ -1517,6 +1522,11 @@ interface RunsViewOptions {
1517
1522
  /** Derive the view from the live controller — the runtime calls this on every draw. */
1518
1523
  declare function runsViewState(c: RunsController, options?: RunsViewOptions): RunsViewModel;
1519
1524
  declare function applyRunsUi(c: RunsController, intent: RunsUiIntent): void;
1525
+ /**
1526
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
1527
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
1528
+ * declaration's own two ports in place of the host contract's.
1529
+ */
1520
1530
  declare const runsViewManifest: PanelManifest;
1521
1531
  declare const BEHAVIOURS$2: {
1522
1532
  'ops/runsPanelView': (inputs: Record<string, unknown>) => RunsViewModel;
@@ -2042,6 +2052,11 @@ type TerminalUiIntent = {
2042
2052
  declare function terminalViewState(c: TerminalController, options?: TerminalViewOptions): TerminalViewModel;
2043
2053
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
2044
2054
  declare function applyTerminalUi(c: TerminalController, intent: TerminalUiIntent): void;
2055
+ /**
2056
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
2057
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
2058
+ * declaration's own two ports in place of the host contract's.
2059
+ */
2045
2060
  declare const terminalViewManifest: PanelManifest;
2046
2061
  declare const BEHAVIOURS$1: {
2047
2062
  'ops/terminalPanelView': (inputs: Record<string, unknown>) => TerminalViewModel;
@@ -2634,6 +2649,11 @@ type DiffUiIntent = {
2634
2649
  declare function diffViewState(c: DiffController, options?: DiffViewOptions): DiffViewModel;
2635
2650
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
2636
2651
  declare function applyDiffUi(c: DiffController, intent: DiffUiIntent): void;
2652
+ /**
2653
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
2654
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
2655
+ * declaration's own two ports in place of the host contract's.
2656
+ */
2637
2657
  declare const diffViewManifest: PanelManifest;
2638
2658
  declare const BEHAVIOURS: {
2639
2659
  'ops/diffPanelView': (inputs: Record<string, unknown>) => DiffViewModel;
package/dist/ops/index.js CHANGED
@@ -718,13 +718,9 @@ function applyConsoleUi(c, intent) {
718
718
  }
719
719
  }
720
720
  var consoleViewManifest = {
721
- id: consoleManifest.id,
722
- version: "1.0.0",
723
- title: "Console",
724
- category: "ops",
725
- layout: { slot: "bottom" },
726
- inputs: [{ id: "view", type: "object", label: "View state", description: "The ConsoleViewModel the runtime derives from the controller on every draw." }],
727
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
721
+ ...consoleManifest,
722
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The ConsoleViewModel the runtime derives from the controller on every draw." }],
723
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
728
724
  commands: []
729
725
  };
730
726
  var EMPTY = { search: "", levels: [], level: "trace", multiSource: false, sources: [], empty: true, emptyTitle: "No output", emptyHint: "Run something to see its output here.", listed: false, rowHeight: 20, totalHeight: 0, offsetTop: 0, rows: [], countLabel: "0 of 0" };
@@ -1965,13 +1961,9 @@ function applyRunsUi(c, intent) {
1965
1961
  }
1966
1962
  }
1967
1963
  var runsViewManifest = {
1968
- id: runsManifest.id,
1969
- version: "1.0.0",
1970
- title: "Runs",
1971
- category: "ops",
1972
- layout: { slot: "side" },
1973
- inputs: [{ id: "view", type: "object", label: "View state", description: "The RunsViewModel the runtime derives from the controller on every draw." }],
1974
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
1964
+ ...runsManifest,
1965
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The RunsViewModel the runtime derives from the controller on every draw." }],
1966
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
1975
1967
  commands: []
1976
1968
  };
1977
1969
  var EMPTY2 = { search: "", statuses: [], multiSource: false, sources: [], hasChips: false, empty: true, emptyTitle: "No runs yet", emptyHint: "Run something to see it here.", listed: false, rows: [], countLabel: "0 of 0" };
@@ -2740,13 +2732,9 @@ function applyTerminalUi(c, intent) {
2740
2732
  }
2741
2733
  }
2742
2734
  var terminalViewManifest = {
2743
- id: terminalManifest.id,
2744
- version: "1.0.0",
2745
- title: "Terminal",
2746
- category: "ops",
2747
- layout: { slot: "bottom" },
2748
- inputs: [{ id: "view", type: "object", label: "View state", description: "The TerminalViewModel the runtime derives from the controller on every draw." }],
2749
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, id?, value?, direction? } \u2014 applied by the runtime to the controller." }],
2735
+ ...terminalManifest,
2736
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The TerminalViewModel the runtime derives from the controller on every draw." }],
2737
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, id?, value?, direction? } \u2014 applied by the runtime to the controller." }],
2750
2738
  commands: []
2751
2739
  };
2752
2740
  var EMPTY3 = { noEmulator: false, ready: true, stripShown: true, tabs: [], tabIds: [], activeId: "", findShown: false, find: "", empty: true, surfacesShown: false };
@@ -3651,13 +3639,9 @@ function applyDiffUi(c, intent) {
3651
3639
  }
3652
3640
  }
3653
3641
  var diffViewManifest = {
3654
- id: diffManifest.id,
3655
- version: "1.0.0",
3656
- title: "Diff",
3657
- category: "ops",
3658
- layout: { slot: "center" },
3659
- inputs: [{ id: "view", type: "object", label: "View state", description: "The DiffViewModel the runtime derives from the controller on every draw." }],
3660
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, view?, path?, id?, collapsed?, action?, x?, y? } \u2014 applied by the runtime to the controller." }],
3642
+ ...diffManifest,
3643
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The DiffViewModel the runtime derives from the controller on every draw." }],
3644
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, view?, path?, id?, collapsed?, action?, x?, y? } \u2014 applied by the runtime to the controller." }],
3661
3645
  commands: []
3662
3646
  };
3663
3647
  var EMPTY5 = {
@@ -413,6 +413,11 @@ type TransportUiIntent = {
413
413
  declare function transportViewState(c: TransportPanelController): TransportViewState;
414
414
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
415
415
  declare function applyTransportUi(c: TransportPanelController, intent: TransportUiIntent): void;
416
+ /**
417
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
418
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
419
+ * declaration's own two ports in place of the host contract's.
420
+ */
416
421
  declare const transportViewManifest: PanelManifest;
417
422
  /** The view model both renderers draw from: the state plus every derived label. */
418
423
  interface TransportPanelViewModel extends TransportViewState {
@@ -2019,6 +2024,11 @@ type TimelineUiIntent = {
2019
2024
  declare function timelineViewState(c: TimelineController, _options?: TimelineViewOptions): TimelineViewModel;
2020
2025
  /** Apply a `ui` intent to the controller — the runtime's half of the contract. */
2021
2026
  declare function applyTimelineUi(c: TimelineController, intent: TimelineUiIntent): void;
2027
+ /**
2028
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
2029
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
2030
+ * declaration's own two ports in place of the host contract's.
2031
+ */
2022
2032
  declare const timelineViewManifest: PanelManifest;
2023
2033
  declare const BEHAVIOURS$1: {
2024
2034
  'time/timelinePanelView': (inputs: Record<string, unknown>) => TimelineViewModel;
@@ -2578,6 +2588,11 @@ declare function formatMinutes(minutes: number | null): string;
2578
2588
  declare function calendarViewState(c: CalendarController, options?: CalendarViewOptions): CalendarViewModel;
2579
2589
  /** Apply a `ui` intent to the controller. */
2580
2590
  declare function applyCalendarUi(c: CalendarController, intent: CalendarUiIntent): void;
2591
+ /**
2592
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
2593
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
2594
+ * declaration's own two ports in place of the host contract's.
2595
+ */
2581
2596
  declare const calendarViewManifest: PanelManifest;
2582
2597
  declare const BEHAVIOURS: {
2583
2598
  'time/calendarPanelView': (inputs: Record<string, unknown>) => CalendarViewModel;
@@ -888,13 +888,9 @@ function applyTransportUi(c, intent) {
888
888
  }
889
889
  }
890
890
  var transportViewManifest = {
891
- id: transportManifest.id,
892
- version: "1.0.0",
893
- title: "Transport",
894
- category: "time",
895
- layout: { slot: "bottom" },
896
- inputs: [{ id: "view", type: "object", label: "View state", description: "The TransportViewState the runtime derives from the controller on every draw." }],
897
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, bpm?, fraction?, phase? } \u2014 applied by the runtime to the controller." }],
891
+ ...transportManifest,
892
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The TransportViewState the runtime derives from the controller on every draw." }],
893
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, bpm?, fraction?, phase? } \u2014 applied by the runtime to the controller." }],
898
894
  commands: []
899
895
  };
900
896
  function transportPanelView(state) {
@@ -2894,13 +2890,9 @@ function applyTimelineUi(c, intent) {
2894
2890
  }
2895
2891
  }
2896
2892
  var timelineViewManifest = {
2897
- id: timelineManifest.id,
2898
- version: "1.0.0",
2899
- title: "Timeline",
2900
- category: "time",
2901
- layout: { slot: "bottom" },
2902
- inputs: [{ id: "view", type: "object", label: "View state", description: "The TimelineViewModel the runtime derives from the controller on every draw." }],
2903
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, tool?, on? } \u2014 applied by the runtime to the controller." }],
2893
+ ...timelineManifest,
2894
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The TimelineViewModel the runtime derives from the controller on every draw." }],
2895
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, tool?, on? } \u2014 applied by the runtime to the controller." }],
2904
2896
  commands: []
2905
2897
  };
2906
2898
  var EMPTY2 = { tools: TOOLS, tool: "select", snapOn: true, empty: true, drawn: false, playheadLabel: "" };
@@ -4264,13 +4256,9 @@ function applyCalendarUi(c, intent) {
4264
4256
  }
4265
4257
  }
4266
4258
  var calendarViewManifest = {
4267
- id: calendarManifest.id,
4268
- version: "1.0.0",
4269
- title: "Calendar",
4270
- category: "time",
4271
- layout: { slot: "center" },
4272
- inputs: [{ id: "view", type: "object", label: "View state", description: "The CalendarViewModel the runtime derives from the controller on every draw." }],
4273
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
4259
+ ...calendarManifest,
4260
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The CalendarViewModel the runtime derives from the controller on every draw." }],
4261
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
4274
4262
  commands: []
4275
4263
  };
4276
4264
  var EMPTY3 = {
@@ -856,6 +856,11 @@ interface ConsentViewOptions {
856
856
  /** Derive the view from the live controller — the runtime calls this on every draw. */
857
857
  declare function consentViewState(c: ConsentController, options?: ConsentViewOptions): ConsentViewModel;
858
858
  declare function applyConsentUi(c: ConsentController, intent: ConsentUiIntent): void;
859
+ /**
860
+ * The presentation manifest: the block's REAL manifest (id, title, icon, description, config,
861
+ * capabilities, sdk — a delivered block is mounted from THIS, so it must be complete) with the
862
+ * declaration's own two ports in place of the host contract's.
863
+ */
859
864
  declare const consentViewManifest: PanelManifest;
860
865
  declare const BEHAVIOURS: {
861
866
  'trust/consentPanelView': (inputs: Record<string, unknown>) => ConsentViewModel;
@@ -782,13 +782,9 @@ function applyConsentUi(c, intent) {
782
782
  }
783
783
  }
784
784
  var consentViewManifest = {
785
- id: consentManifest.id,
786
- version: "1.0.0",
787
- title: "Consent",
788
- category: "trust",
789
- layout: { slot: "side" },
790
- inputs: [{ id: "view", type: "object", label: "View state", description: "The ConsentViewModel the runtime derives from the controller on every draw." }],
791
- outputs: [{ id: "ui", type: "object", label: "UI intent", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
785
+ ...consentManifest,
786
+ inputs: [{ id: "view", name: "View state", type: "object", description: "The ConsentViewModel the runtime derives from the controller on every draw." }],
787
+ outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
792
788
  commands: []
793
789
  };
794
790
  var EMPTY = { idle: true, emptyHint: "Requests needing your approval appear here.", active: false, riskLabel: "", riskTone: "neutral", kindLabel: "", title: "", facts: [], permission: false, scopes: [], durations: [], duration: "once", unrememberable: false, allowDisabled: true, question: false, hasOptions: false, options: [], wantsText: false, multiline: false, placeholder: "", draft: "", hasCounter: false, counter: "", overLimit: false, submitLabel: "Submit", submitDisabled: true, pendingLabel: "0 pending" };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenosystem/blocks",
3
- "version": "0.13.32",
3
+ "version": "0.13.33",
4
4
  "description": "XENO Blocks — rung 3 of the front ladder: components composed into a contract-bearing unit (manifest: ports, intents, commands, agent surface), rendered by @xenosystem/workbench. ONE package, one subpath per family (/auth, /edit, /data, /time, /ops, /trust, /agent), one named export per block — XENO PACKAGE NAMING - STANDARD.md.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",