@xenosystem/blocks 0.13.33 → 0.13.35

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.
@@ -606,8 +606,8 @@ type AgentUiIntent = {
606
606
  /** The manifest the declaration validates against — the agent panel's id, its PRESENTATION ports. */
607
607
  /**
608
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.
609
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
610
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
611
611
  */
612
612
  declare const agentViewManifest: PanelManifest;
613
613
  declare const LANE_LABEL: Record<XenoAgentLane, string>;
@@ -1053,6 +1053,8 @@ import {
1053
1053
  // src/agent/agent/declaration.ts
1054
1054
  var agentViewManifest = {
1055
1055
  ...agentManifest,
1056
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
1057
+ capabilities: [],
1056
1058
  inputs: [{ id: "view", name: "View state", type: "object", description: "The AgentViewState the controller derives from the host ports." }],
1057
1059
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, id?, draft? } \u2014 applied by the controller." }],
1058
1060
  commands: []
@@ -644,8 +644,8 @@ type AccountUiIntent = {
644
644
  };
645
645
  /**
646
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.
647
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
648
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
649
649
  */
650
650
  declare const accountViewManifest: PanelManifest;
651
651
  declare const STATUS_LABEL: Record<XenoAccountStatus, string>;
@@ -450,6 +450,8 @@ function formatAge(ms) {
450
450
  // src/auth/account/declaration.ts
451
451
  var accountViewManifest = {
452
452
  ...accountManifest,
453
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
454
+ capabilities: [],
453
455
  inputs: [{ id: "view", name: "View state", type: "object", description: "The AccountViewState the controller derives from the host ports." }],
454
456
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, seatId?, collapsed? } \u2014 applied by the controller." }],
455
457
  commands: []
@@ -831,8 +831,8 @@ declare function tableViewState(c: TableController, options?: TableViewOptions):
831
831
  declare function applyTableUi(c: TableController, intent: TableUiIntent): void;
832
832
  /**
833
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.
834
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
835
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
836
836
  */
837
837
  declare const tableViewManifest: PanelManifest;
838
838
  declare const BEHAVIOURS$4: {
@@ -1333,8 +1333,8 @@ declare function chartViewState(c: ChartController, options?: ChartViewOptions):
1333
1333
  declare function applyChartUi(c: ChartController, intent: ChartUiIntent): void;
1334
1334
  /**
1335
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.
1336
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
1337
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
1338
1338
  */
1339
1339
  declare const chartViewManifest: PanelManifest;
1340
1340
  declare const BEHAVIOURS$3: {
@@ -1706,8 +1706,8 @@ declare function metricsViewState(c: MetricsController, options?: MetricsViewOpt
1706
1706
  declare function applyMetricsUi(c: MetricsController, intent: MetricsUiIntent): void;
1707
1707
  /**
1708
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.
1709
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
1710
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
1711
1711
  */
1712
1712
  declare const metricsViewManifest: PanelManifest;
1713
1713
  declare const BEHAVIOURS$2: {
@@ -2197,8 +2197,8 @@ declare function fieldsViewState(c: FieldsController, options?: FieldsViewOption
2197
2197
  declare function applyFieldsUi(c: FieldsController, intent: FieldsUiIntent): void;
2198
2198
  /**
2199
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.
2200
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
2201
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
2202
2202
  */
2203
2203
  declare const fieldsViewManifest: PanelManifest;
2204
2204
  declare const BEHAVIOURS$1: {
@@ -3758,8 +3758,8 @@ declare function connectorsViewState(c: ConnectorsController, options?: Connecto
3758
3758
  declare function applyConnectorsUi(c: ConnectorsController, intent: ConnectorsUiIntent): void;
3759
3759
  /**
3760
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.
3761
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
3762
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
3763
3763
  */
3764
3764
  declare const connectorsViewManifest: PanelManifest;
3765
3765
  declare const BEHAVIOURS: {
@@ -1165,6 +1165,8 @@ function applyTableUi(c, intent) {
1165
1165
  }
1166
1166
  var tableViewManifest = {
1167
1167
  ...tableManifest,
1168
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
1169
+ capabilities: [],
1168
1170
  inputs: [{ id: "view", name: "View state", type: "object", description: "The TableViewModel the runtime derives from the controller on every draw." }],
1169
1171
  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." }],
1170
1172
  commands: []
@@ -2314,6 +2316,8 @@ function applyChartUi(c, intent) {
2314
2316
  }
2315
2317
  var chartViewManifest = {
2316
2318
  ...chartManifest,
2319
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
2320
+ capabilities: [],
2317
2321
  inputs: [{ id: "view", name: "View state", type: "object", description: "The ChartViewModel the runtime derives from the controller on every draw." }],
2318
2322
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind: type | export, \u2026 } \u2014 applied by the runtime to the controller." }],
2319
2323
  commands: []
@@ -3027,6 +3031,8 @@ function applyMetricsUi(c, intent) {
3027
3031
  }
3028
3032
  var metricsViewManifest = {
3029
3033
  ...metricsManifest,
3034
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
3035
+ capabilities: [],
3030
3036
  inputs: [{ id: "view", name: "View state", type: "object", description: "The MetricsViewModel the runtime derives from the controller on every draw." }],
3031
3037
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind: range | activate, \u2026 } \u2014 applied by the runtime to the controller." }],
3032
3038
  commands: []
@@ -4103,6 +4109,8 @@ function applyFieldsUi(c, intent) {
4103
4109
  }
4104
4110
  var fieldsViewManifest = {
4105
4111
  ...fieldsManifest,
4112
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
4113
+ capabilities: [],
4106
4114
  inputs: [{ id: "view", name: "View state", type: "object", description: "The FieldsViewModel the runtime derives from the controller on every draw." }],
4107
4115
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
4108
4116
  commands: []
@@ -6738,6 +6746,8 @@ function applyConnectorsUi(c, intent) {
6738
6746
  }
6739
6747
  var connectorsViewManifest = {
6740
6748
  ...connectorsManifest,
6749
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
6750
+ capabilities: [],
6741
6751
  inputs: [{ id: "view", name: "View state", type: "object", description: "The ConnectorsViewModel the runtime derives from the controller on every draw." }],
6742
6752
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
6743
6753
  commands: []
@@ -828,8 +828,8 @@ declare function layersViewState(c: LayersPanelController): LayersViewState;
828
828
  declare function applyLayersUi(c: LayersPanelController, intent: LayersUiIntent): void;
829
829
  /**
830
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.
831
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
832
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
833
833
  */
834
834
  declare const layersViewManifest: PanelManifest;
835
835
  declare const BEHAVIOURS$9: {
@@ -1729,8 +1729,8 @@ declare function inspectorViewState(c: InspectorPanelController): InspectorViewS
1729
1729
  declare function applyInspectorUi(c: InspectorPanelController, intent: InspectorUiIntent): void;
1730
1730
  /**
1731
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.
1732
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
1733
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
1734
1734
  */
1735
1735
  declare const inspectorViewManifest: PanelManifest;
1736
1736
  declare const BEHAVIOURS$8: {
@@ -2345,8 +2345,8 @@ declare function historyViewState(c: HistoryPanelController): HistoryViewState;
2345
2345
  declare function applyHistoryUi(c: HistoryPanelController, intent: HistoryUiIntent): void;
2346
2346
  /**
2347
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.
2348
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
2349
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
2350
2350
  */
2351
2351
  declare const historyViewManifest: PanelManifest;
2352
2352
  declare const BEHAVIOURS$7: {
@@ -2912,8 +2912,8 @@ declare function colorViewState(c: ColorPanelController): ColorViewState;
2912
2912
  declare function applyColorUi(c: ColorPanelController, intent: ColorUiIntent): void;
2913
2913
  /**
2914
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.
2915
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
2916
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
2917
2917
  */
2918
2918
  declare const colorViewManifest: PanelManifest;
2919
2919
  declare const BEHAVIOURS$6: {
@@ -3977,8 +3977,8 @@ declare function curveViewState(c: CurveController, options?: CurveViewOptions):
3977
3977
  declare function applyCurveUi(c: CurveController, intent: CurveUiIntent): void;
3978
3978
  /**
3979
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.
3980
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
3981
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
3982
3982
  */
3983
3983
  declare const curveViewManifest: PanelManifest;
3984
3984
  declare const BEHAVIOURS$5: {
@@ -4425,8 +4425,8 @@ interface ViewportViewModel {
4425
4425
  declare function viewportViewState(c: ViewportController, options?: ViewportViewOptions): ViewportViewModel;
4426
4426
  /**
4427
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.
4428
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
4429
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
4430
4430
  */
4431
4431
  declare const viewportViewManifest: PanelManifest;
4432
4432
  declare const BEHAVIOURS$4: {
@@ -4973,8 +4973,8 @@ declare function findViewState(c: FindController, options?: FindViewOptions): Fi
4973
4973
  declare function applyFindUi(c: FindController, intent: FindUiIntent): void;
4974
4974
  /**
4975
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.
4976
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
4977
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
4978
4978
  */
4979
4979
  declare const findViewManifest: PanelManifest;
4980
4980
  declare const BEHAVIOURS$3: {
@@ -5568,8 +5568,8 @@ declare function commentsViewState(c: CommentsController, options?: CommentsView
5568
5568
  declare function applyCommentsUi(c: CommentsController, intent: CommentsUiIntent): void;
5569
5569
  /**
5570
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.
5571
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
5572
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
5573
5573
  */
5574
5574
  declare const commentsViewManifest: PanelManifest;
5575
5575
  declare const BEHAVIOURS$2: {
@@ -6552,8 +6552,8 @@ declare function nodegraphViewState(c: GraphController, _options?: NodeGraphView
6552
6552
  declare function applyNodeGraphUi(c: GraphController, intent: NodeGraphUiIntent): void;
6553
6553
  /**
6554
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.
6555
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
6556
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
6557
6557
  */
6558
6558
  declare const nodegraphViewManifest: PanelManifest;
6559
6559
  declare const BEHAVIOURS$1: {
@@ -7538,8 +7538,8 @@ declare function treeViewState(c: TreeController, options?: TreeViewOptions): Tr
7538
7538
  declare function applyTreeUi(c: TreeController, intent: TreeUiIntent, options?: TreeViewOptions): void;
7539
7539
  /**
7540
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.
7541
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
7542
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
7543
7543
  */
7544
7544
  declare const treeViewManifest: PanelManifest;
7545
7545
  declare const BEHAVIOURS: {
@@ -1303,6 +1303,8 @@ function applyLayersUi(c, intent) {
1303
1303
  }
1304
1304
  var layersViewManifest = {
1305
1305
  ...layersManifest,
1306
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
1307
+ capabilities: [],
1306
1308
  inputs: [{ id: "view", name: "View state", type: "object", description: "The LayersViewState the runtime derives from the controller on every draw." }],
1307
1309
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, id?, prop?, value?, x?, y? } \u2014 applied by the runtime to the controller." }],
1308
1310
  commands: []
@@ -3077,6 +3079,8 @@ function applyInspectorUi(c, intent) {
3077
3079
  }
3078
3080
  var inspectorViewManifest = {
3079
3081
  ...inspectorManifest,
3082
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
3083
+ capabilities: [],
3080
3084
  inputs: [{ id: "view", name: "View state", type: "object", description: "The InspectorViewState the runtime derives from the controller on every draw." }],
3081
3085
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, sectionId?, fieldId?, \u2026 } \u2014 applied by the runtime to the controller." }],
3082
3086
  commands: []
@@ -4739,6 +4743,8 @@ function applyHistoryUi(c, intent) {
4739
4743
  }
4740
4744
  var historyViewManifest = {
4741
4745
  ...historyManifest,
4746
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
4747
+ capabilities: [],
4742
4748
  inputs: [{ id: "view", name: "View state", type: "object", description: "The HistoryViewState the runtime derives from the controller on every draw." }],
4743
4749
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, entryId?, value?, x?, y? } \u2014 applied by the runtime to the controller." }],
4744
4750
  commands: []
@@ -6077,6 +6083,8 @@ function applyColorUi(c, intent) {
6077
6083
  }
6078
6084
  var colorViewManifest = {
6079
6085
  ...colorManifest,
6086
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
6087
+ capabilities: [],
6080
6088
  inputs: [{ id: "view", name: "View state", type: "object", description: "The ColorViewState the runtime derives from the controller on every draw." }],
6081
6089
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
6082
6090
  commands: []
@@ -7720,6 +7728,8 @@ function applyCurveUi(c, intent) {
7720
7728
  }
7721
7729
  var curveViewManifest = {
7722
7730
  ...curveManifest,
7731
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
7732
+ capabilities: [],
7723
7733
  inputs: [{ id: "view", name: "View state", type: "object", description: "The CurveViewModel the runtime derives from the controller on every draw." }],
7724
7734
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, mode?, id? } \u2014 applied by the runtime to the controller." }],
7725
7735
  commands: []
@@ -8629,6 +8639,8 @@ function viewportViewState(c, options = {}) {
8629
8639
  }
8630
8640
  var viewportViewManifest = {
8631
8641
  ...viewportManifest,
8642
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
8643
+ capabilities: [],
8632
8644
  inputs: [{ id: "view", name: "View state", type: "object", description: "The ViewportViewModel the runtime derives from the controller on every draw." }],
8633
8645
  outputs: [],
8634
8646
  commands: []
@@ -9504,6 +9516,8 @@ function applyFindUi(c, intent) {
9504
9516
  }
9505
9517
  var findViewManifest = {
9506
9518
  ...findManifest,
9519
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
9520
+ capabilities: [],
9507
9521
  inputs: [{ id: "view", name: "View state", type: "object", description: "The FindViewModel the runtime derives from the controller on every draw." }],
9508
9522
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, value?, option?, matchId?, x?, y? } \u2014 applied by the runtime to the controller." }],
9509
9523
  commands: []
@@ -10526,6 +10540,8 @@ function applyCommentsUi(c, intent) {
10526
10540
  }
10527
10541
  var commentsViewManifest = {
10528
10542
  ...commentsManifest,
10543
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
10544
+ capabilities: [],
10529
10545
  inputs: [{ id: "view", name: "View state", type: "object", description: "The CommentsViewModel the runtime derives from the controller on every draw." }],
10530
10546
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
10531
10547
  commands: []
@@ -11861,6 +11877,8 @@ function applyNodeGraphUi(c, intent) {
11861
11877
  }
11862
11878
  var nodegraphViewManifest = {
11863
11879
  ...nodegraphManifest,
11880
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
11881
+ capabilities: [],
11864
11882
  inputs: [{ id: "view", name: "View state", type: "object", description: "The NodeGraphViewModel the runtime derives from the controller on every draw." }],
11865
11883
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind } \u2014 applied by the runtime to the controller." }],
11866
11884
  commands: []
@@ -13582,6 +13600,8 @@ function applyTreeUi(c, intent, options = {}) {
13582
13600
  }
13583
13601
  var treeViewManifest = {
13584
13602
  ...treeManifest,
13603
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
13604
+ capabilities: [],
13585
13605
  inputs: [{ id: "view", name: "View state", type: "object", description: "The TreeViewModel the runtime derives from the controller on every draw." }],
13586
13606
  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." }],
13587
13607
  commands: []
@@ -608,8 +608,8 @@ declare function consoleViewState(c: ConsoleController, options?: ConsoleViewOpt
608
608
  declare function applyConsoleUi(c: ConsoleController, intent: ConsoleUiIntent): void;
609
609
  /**
610
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.
611
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
612
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
613
613
  */
614
614
  declare const consoleViewManifest: PanelManifest;
615
615
  declare const BEHAVIOURS$3: {
@@ -1524,8 +1524,8 @@ declare function runsViewState(c: RunsController, options?: RunsViewOptions): Ru
1524
1524
  declare function applyRunsUi(c: RunsController, intent: RunsUiIntent): void;
1525
1525
  /**
1526
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.
1527
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
1528
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
1529
1529
  */
1530
1530
  declare const runsViewManifest: PanelManifest;
1531
1531
  declare const BEHAVIOURS$2: {
@@ -2054,8 +2054,8 @@ declare function terminalViewState(c: TerminalController, options?: TerminalView
2054
2054
  declare function applyTerminalUi(c: TerminalController, intent: TerminalUiIntent): void;
2055
2055
  /**
2056
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.
2057
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
2058
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
2059
2059
  */
2060
2060
  declare const terminalViewManifest: PanelManifest;
2061
2061
  declare const BEHAVIOURS$1: {
@@ -2651,8 +2651,8 @@ declare function diffViewState(c: DiffController, options?: DiffViewOptions): Di
2651
2651
  declare function applyDiffUi(c: DiffController, intent: DiffUiIntent): void;
2652
2652
  /**
2653
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.
2654
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
2655
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
2656
2656
  */
2657
2657
  declare const diffViewManifest: PanelManifest;
2658
2658
  declare const BEHAVIOURS: {
package/dist/ops/index.js CHANGED
@@ -719,6 +719,8 @@ function applyConsoleUi(c, intent) {
719
719
  }
720
720
  var consoleViewManifest = {
721
721
  ...consoleManifest,
722
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
723
+ capabilities: [],
722
724
  inputs: [{ id: "view", name: "View state", type: "object", description: "The ConsoleViewModel the runtime derives from the controller on every draw." }],
723
725
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
724
726
  commands: []
@@ -1962,6 +1964,8 @@ function applyRunsUi(c, intent) {
1962
1964
  }
1963
1965
  var runsViewManifest = {
1964
1966
  ...runsManifest,
1967
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
1968
+ capabilities: [],
1965
1969
  inputs: [{ id: "view", name: "View state", type: "object", description: "The RunsViewModel the runtime derives from the controller on every draw." }],
1966
1970
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
1967
1971
  commands: []
@@ -2733,6 +2737,8 @@ function applyTerminalUi(c, intent) {
2733
2737
  }
2734
2738
  var terminalViewManifest = {
2735
2739
  ...terminalManifest,
2740
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
2741
+ capabilities: [],
2736
2742
  inputs: [{ id: "view", name: "View state", type: "object", description: "The TerminalViewModel the runtime derives from the controller on every draw." }],
2737
2743
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, id?, value?, direction? } \u2014 applied by the runtime to the controller." }],
2738
2744
  commands: []
@@ -3640,6 +3646,8 @@ function applyDiffUi(c, intent) {
3640
3646
  }
3641
3647
  var diffViewManifest = {
3642
3648
  ...diffManifest,
3649
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
3650
+ capabilities: [],
3643
3651
  inputs: [{ id: "view", name: "View state", type: "object", description: "The DiffViewModel the runtime derives from the controller on every draw." }],
3644
3652
  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." }],
3645
3653
  commands: []
@@ -415,8 +415,8 @@ declare function transportViewState(c: TransportPanelController): TransportViewS
415
415
  declare function applyTransportUi(c: TransportPanelController, intent: TransportUiIntent): void;
416
416
  /**
417
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.
418
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
419
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
420
420
  */
421
421
  declare const transportViewManifest: PanelManifest;
422
422
  /** The view model both renderers draw from: the state plus every derived label. */
@@ -2026,8 +2026,8 @@ declare function timelineViewState(c: TimelineController, _options?: TimelineVie
2026
2026
  declare function applyTimelineUi(c: TimelineController, intent: TimelineUiIntent): void;
2027
2027
  /**
2028
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.
2029
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
2030
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
2031
2031
  */
2032
2032
  declare const timelineViewManifest: PanelManifest;
2033
2033
  declare const BEHAVIOURS$1: {
@@ -2590,8 +2590,8 @@ declare function calendarViewState(c: CalendarController, options?: CalendarView
2590
2590
  declare function applyCalendarUi(c: CalendarController, intent: CalendarUiIntent): void;
2591
2591
  /**
2592
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.
2593
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
2594
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
2595
2595
  */
2596
2596
  declare const calendarViewManifest: PanelManifest;
2597
2597
  declare const BEHAVIOURS: {
@@ -889,6 +889,8 @@ function applyTransportUi(c, intent) {
889
889
  }
890
890
  var transportViewManifest = {
891
891
  ...transportManifest,
892
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
893
+ capabilities: [],
892
894
  inputs: [{ id: "view", name: "View state", type: "object", description: "The TransportViewState the runtime derives from the controller on every draw." }],
893
895
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, bpm?, fraction?, phase? } \u2014 applied by the runtime to the controller." }],
894
896
  commands: []
@@ -2853,7 +2855,7 @@ var timelineManifest = {
2853
2855
 
2854
2856
  // src/time/timeline/react/TimelinePanelView.tsx
2855
2857
  import { useCallback as useCallback2, useEffect as useEffect2, useRef as useRef2, useSyncExternalStore as useSyncExternalStore2 } from "react";
2856
- import { Column as Column2, DrawnSurface, EmptyState, FilterChip, SegmentedControl, StatusBar, Text, TextButton as TextButton2, Toolbar, ToolbarGroup } from "@xenosystem/components/chrome";
2858
+ import { Clip, Column as Column2, DrawnSurface, EmptyState, FilterChip, Lane, Marquee, Playhead, Ruler, SegmentedControl, StatusBar, Text, TextButton as TextButton2, Tick, Toolbar, ToolbarGroup } from "@xenosystem/components/chrome";
2857
2859
 
2858
2860
  // src/time/timeline/declaration.ts
2859
2861
  import { formatTick as formatTick4 } from "@xenosystem/time-core";
@@ -2891,6 +2893,8 @@ function applyTimelineUi(c, intent) {
2891
2893
  }
2892
2894
  var timelineViewManifest = {
2893
2895
  ...timelineManifest,
2896
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
2897
+ capabilities: [],
2894
2898
  inputs: [{ id: "view", name: "View state", type: "object", description: "The TimelineViewModel the runtime derives from the controller on every draw." }],
2895
2899
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, tool?, on? } \u2014 applied by the runtime to the controller." }],
2896
2900
  commands: []
@@ -3072,96 +3076,29 @@ function TimelineSurface({ controller }) {
3072
3076
  onPointerCancel: onPointerUp,
3073
3077
  onKeyDown,
3074
3078
  children: [
3075
- /* @__PURE__ */ jsx2("div", { style: { ...RULER, height: RULER_PX }, children: ticks.map((tick) => /* @__PURE__ */ jsx2(
3076
- "div",
3077
- {
3078
- style: {
3079
- position: "absolute",
3080
- left: Math.floor(tick.x),
3081
- bottom: 0,
3082
- width: 1,
3083
- height: tick.weight === "major" ? 8 : tick.weight === "medium" ? 5 : 3,
3084
- background: "var(--xeno-active)"
3085
- },
3086
- children: tick.label ? /* @__PURE__ */ jsx2("span", { style: TICK_LABEL, className: "tabular-nums", children: tick.label }) : null
3087
- },
3088
- tick.tick
3089
- )) }),
3079
+ /* @__PURE__ */ jsx2(Ruler, { height: RULER_PX, children: ticks.map((tick) => /* @__PURE__ */ jsx2(Tick, { x: tick.x, weight: tick.weight, label: tick.label ?? void 0 }, tick.tick)) }),
3090
3080
  /* @__PURE__ */ jsxs2("div", { style: { position: "absolute", inset: `${RULER_PX}px 0 0 0`, overflow: "hidden" }, children: [
3091
- state.visible.map((row) => {
3092
- const top = row.topPx - scale.scrollTopPx;
3093
- return /* @__PURE__ */ jsxs2("div", { style: { position: "absolute", left: 0, right: 0, top, height: row.heightPx }, children: [
3094
- /* @__PURE__ */ jsx2("div", { style: { ...GUTTER, width: scale.gutterPx }, children: /* @__PURE__ */ jsx2("span", { style: TRACK_NAME, children: row.track.name }) }),
3095
- /* @__PURE__ */ jsx2("div", { "data-canvas": "timeline-lane", style: { ...LANE, left: scale.gutterPx }, children: row.clips.map((clip) => {
3096
- const shown = preview?.clips[clip.id] ?? clip;
3097
- const x = scale.tickToX(shown.startTick);
3098
- const width = Math.max(1, scale.durationToPx(shown.endTick - shown.startTick));
3099
- return /* @__PURE__ */ jsx2(
3100
- ClipRect,
3101
- {
3102
- clip,
3103
- left: x - scale.gutterPx,
3104
- width,
3105
- selected: selected.has(clip.id)
3106
- },
3107
- clip.id
3108
- );
3109
- }) })
3110
- ] }, row.track.id);
3111
- }),
3081
+ state.visible.map((row) => /* @__PURE__ */ jsx2(Lane, { top: row.topPx - scale.scrollTopPx, height: row.heightPx, gutterWidth: scale.gutterPx, name: row.track.name, children: row.clips.map((clip) => {
3082
+ const shown = preview?.clips[clip.id] ?? clip;
3083
+ const x = scale.tickToX(shown.startTick);
3084
+ const width = Math.max(1, scale.durationToPx(shown.endTick - shown.startTick));
3085
+ return /* @__PURE__ */ jsx2(Clip, { id: clip.id, left: x - scale.gutterPx, width, selected: selected.has(clip.id), name: clip.name ?? clip.id, color: clip.color }, clip.id);
3086
+ }) }, row.track.id)),
3112
3087
  preview?.marquee ? /* @__PURE__ */ jsx2(
3113
- "div",
3088
+ Marquee,
3114
3089
  {
3115
- style: {
3116
- ...MARQUEE,
3117
- left: Math.min(scale.tickToX(preview.marquee.fromTick), scale.tickToX(preview.marquee.toTick)),
3118
- width: Math.abs(
3119
- scale.tickToX(preview.marquee.toTick) - scale.tickToX(preview.marquee.fromTick)
3120
- ),
3121
- top: Math.min(preview.marquee.fromY, preview.marquee.toY) - scale.scrollTopPx,
3122
- height: Math.abs(preview.marquee.toY - preview.marquee.fromY)
3123
- }
3090
+ left: Math.min(scale.tickToX(preview.marquee.fromTick), scale.tickToX(preview.marquee.toTick)),
3091
+ width: Math.abs(scale.tickToX(preview.marquee.toTick) - scale.tickToX(preview.marquee.fromTick)),
3092
+ top: Math.min(preview.marquee.fromY, preview.marquee.toY) - scale.scrollTopPx,
3093
+ height: Math.abs(preview.marquee.toY - preview.marquee.fromY)
3124
3094
  }
3125
3095
  ) : null
3126
3096
  ] }),
3127
- /* @__PURE__ */ jsx2("div", { style: { ...PLAYHEAD, left: Math.floor(scale.tickToX(state.playheadTick)) } })
3097
+ /* @__PURE__ */ jsx2(Playhead, { x: scale.tickToX(state.playheadTick) })
3128
3098
  ]
3129
3099
  }
3130
3100
  );
3131
3101
  }
3132
- function ClipRect({
3133
- clip,
3134
- left,
3135
- width,
3136
- selected
3137
- }) {
3138
- return /* @__PURE__ */ jsx2(
3139
- "div",
3140
- {
3141
- "data-clip-id": clip.id,
3142
- title: clip.name ?? clip.id,
3143
- style: {
3144
- position: "absolute",
3145
- left,
3146
- width,
3147
- top: 2,
3148
- bottom: 2,
3149
- // Rectangles with a corner radius. Never a circle.
3150
- borderRadius: 2,
3151
- background: selected ? "var(--xeno-control)" : "var(--xeno-border)",
3152
- border: `1px solid ${selected ? "var(--xeno-active)" : "var(--xeno-control)"}`,
3153
- overflow: "hidden",
3154
- fontSize: 10,
3155
- lineHeight: "14px",
3156
- padding: width >= 40 ? "0 4px" : 0,
3157
- whiteSpace: "nowrap",
3158
- color: "var(--xeno-text)",
3159
- boxSizing: "border-box"
3160
- },
3161
- children: width >= 40 ? clip.name ?? "" : null
3162
- }
3163
- );
3164
- }
3165
3102
  function hitTest(state, x, y) {
3166
3103
  const scale = state.scale;
3167
3104
  if (x < scale.gutterPx) return { target: { kind: "lane" }, trackIndex: -1 };
@@ -3186,61 +3123,6 @@ function hitTest(state, x, y) {
3186
3123
  }
3187
3124
  return { target: { kind: "lane" }, trackIndex: -1 };
3188
3125
  }
3189
- var RULER = {
3190
- position: "absolute",
3191
- top: 0,
3192
- left: 0,
3193
- right: 0,
3194
- borderBottom: "1px solid var(--xeno-border)"
3195
- };
3196
- var TICK_LABEL = {
3197
- position: "absolute",
3198
- left: 3,
3199
- top: -12,
3200
- fontSize: 9,
3201
- color: "var(--xeno-active)",
3202
- whiteSpace: "nowrap"
3203
- };
3204
- var GUTTER = {
3205
- position: "absolute",
3206
- left: 0,
3207
- top: 0,
3208
- bottom: 0,
3209
- borderRight: "1px solid var(--xeno-border)",
3210
- borderBottom: "1px solid var(--xeno-border-subtle)",
3211
- display: "flex",
3212
- alignItems: "center",
3213
- padding: "0 6px",
3214
- boxSizing: "border-box"
3215
- };
3216
- var TRACK_NAME = {
3217
- fontSize: 10,
3218
- color: "var(--xeno-text)",
3219
- overflow: "hidden",
3220
- textOverflow: "ellipsis",
3221
- whiteSpace: "nowrap"
3222
- };
3223
- var LANE = {
3224
- position: "absolute",
3225
- right: 0,
3226
- top: 0,
3227
- bottom: 0,
3228
- borderBottom: "1px solid var(--xeno-border-subtle)"
3229
- };
3230
- var MARQUEE = {
3231
- position: "absolute",
3232
- border: "1px solid var(--xeno-active)",
3233
- background: "var(--xeno-border-subtle)",
3234
- pointerEvents: "none"
3235
- };
3236
- var PLAYHEAD = {
3237
- position: "absolute",
3238
- top: 0,
3239
- bottom: 0,
3240
- width: 1,
3241
- background: "var(--xeno-text)",
3242
- pointerEvents: "none"
3243
- };
3244
3126
  var TIMELINE_RUNTIME_UNITS = ["timeline/Surface"];
3245
3127
  function timelineRuntimeComponents(controller) {
3246
3128
  return { "timeline/Surface": () => /* @__PURE__ */ jsx2(TimelineSurface, { controller }) };
@@ -4257,6 +4139,8 @@ function applyCalendarUi(c, intent) {
4257
4139
  }
4258
4140
  var calendarViewManifest = {
4259
4141
  ...calendarManifest,
4142
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
4143
+ capabilities: [],
4260
4144
  inputs: [{ id: "view", name: "View state", type: "object", description: "The CalendarViewModel the runtime derives from the controller on every draw." }],
4261
4145
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
4262
4146
  commands: []
@@ -858,8 +858,8 @@ declare function consentViewState(c: ConsentController, options?: ConsentViewOpt
858
858
  declare function applyConsentUi(c: ConsentController, intent: ConsentUiIntent): void;
859
859
  /**
860
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.
861
+ * sdk — a delivered block is mounted from THIS, so it must be complete) with the declaration's own
862
+ * two ports in place of the host contract's, and no capability claim: a declaration has no code.
863
863
  */
864
864
  declare const consentViewManifest: PanelManifest;
865
865
  declare const BEHAVIOURS: {
@@ -783,6 +783,8 @@ function applyConsentUi(c, intent) {
783
783
  }
784
784
  var consentViewManifest = {
785
785
  ...consentManifest,
786
+ // presentation only: a declaration has no code, so it asks for NO capability — the host's executor behind the view holds those
787
+ capabilities: [],
786
788
  inputs: [{ id: "view", name: "View state", type: "object", description: "The ConsentViewModel the runtime derives from the controller on every draw." }],
787
789
  outputs: [{ id: "ui", name: "UI intent", type: "object", description: "{ kind, \u2026 } \u2014 applied by the runtime to the controller." }],
788
790
  commands: []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xenosystem/blocks",
3
- "version": "0.13.33",
3
+ "version": "0.13.35",
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",
@@ -64,7 +64,7 @@
64
64
  "peerDependencies": {
65
65
  "@duckdb/duckdb-wasm": ">=1.28.0",
66
66
  "@xenosystem/block-sdk": ">=0.3.4 <1",
67
- "@xenosystem/components": ">=0.32.0 <1",
67
+ "@xenosystem/components": ">=0.33.0 <1",
68
68
  "@xenosystem/data-core": "^0.1.0",
69
69
  "@xenosystem/elements": ">=0.0.1",
70
70
  "@xenosystem/elements-react": ">=0.0.1",
@@ -81,7 +81,7 @@
81
81
  "@types/react": "^19.0.0",
82
82
  "@types/react-dom": "^19.0.0",
83
83
  "@xenosystem/block-sdk": "^0.3.4",
84
- "@xenosystem/components": "^0.32.0",
84
+ "@xenosystem/components": "^0.33.0",
85
85
  "@xenosystem/data-core": "^0.1.0",
86
86
  "@xenosystem/elements": "0.0.1",
87
87
  "@xenosystem/elements-react": "0.0.1",