@pihanga2/shadcn 0.2.23 → 0.2.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cards/chart/chart.types.d.ts +21 -3
- package/cards/slider/slider.component.js +47 -37
- package/cards/slider/slider.component.js.map +1 -1
- package/cards/slider/slider.types.d.ts +15 -7
- package/cards/slider/slider.types.js.map +1 -1
- package/cards/swimlane/index.js +7 -7
- package/cards/swimlane/swimlane.component.js +280 -230
- package/cards/swimlane/swimlane.component.js.map +1 -1
- package/cards/swimlane/swimlane.css +1 -1
- package/cards/swimlane/swimlane.model.d.ts +22 -2
- package/cards/swimlane/swimlane.model.js +83 -51
- package/cards/swimlane/swimlane.model.js.map +1 -1
- package/cards/swimlane/swimlane.types.d.ts +124 -6
- package/cards/swimlane/swimlane.types.js.map +1 -1
- package/cards.schema.json +193 -14
- package/package.json +1 -1
package/cards.schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"library": "@pihanga2/shadcn",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.25",
|
|
4
4
|
"generatedBy": "scripts/schema/extract-card-schemas.mjs",
|
|
5
5
|
"cards": {
|
|
6
6
|
"empty-card": {
|
|
@@ -4861,8 +4861,8 @@
|
|
|
4861
4861
|
"description": "Field name, mirrors the `name` prop if provided."
|
|
4862
4862
|
},
|
|
4863
4863
|
"value": {
|
|
4864
|
-
"
|
|
4865
|
-
"description": "New
|
|
4864
|
+
"$ref": "#/definitions/PiSliderValue",
|
|
4865
|
+
"description": "New scalar or range value after the change."
|
|
4866
4866
|
}
|
|
4867
4867
|
},
|
|
4868
4868
|
"required": [
|
|
@@ -4877,8 +4877,8 @@
|
|
|
4877
4877
|
"description": "Field name, mirrors the `name` prop if provided."
|
|
4878
4878
|
},
|
|
4879
4879
|
"value": {
|
|
4880
|
-
"
|
|
4881
|
-
"description": "Final settled value when the user released
|
|
4880
|
+
"$ref": "#/definitions/PiSliderValue",
|
|
4881
|
+
"description": "Final settled scalar or range value when the user released a thumb."
|
|
4882
4882
|
}
|
|
4883
4883
|
},
|
|
4884
4884
|
"required": [
|
|
@@ -4893,11 +4893,11 @@
|
|
|
4893
4893
|
"description": "Field name used to bind to FormContext when inside a pi/form card. When provided the component reads its value from form data and writes back via form.handleChange."
|
|
4894
4894
|
},
|
|
4895
4895
|
"value": {
|
|
4896
|
-
"
|
|
4897
|
-
"description": "Controlled
|
|
4896
|
+
"$ref": "#/definitions/PiSliderValue",
|
|
4897
|
+
"description": "Controlled value. A number renders one thumb; a tuple renders two thumbs with the selected range highlighted between them. Ignored when `name` is set and the component is inside a pi/form, and also ignored when `selfManaged` is true (use `defaultValue` instead)."
|
|
4898
4898
|
},
|
|
4899
4899
|
"defaultValue": {
|
|
4900
|
-
"
|
|
4900
|
+
"$ref": "#/definitions/PiSliderValue",
|
|
4901
4901
|
"description": "Initial value used when `selfManaged` is true. Falls back to `value` → `min` → 0 if not provided."
|
|
4902
4902
|
},
|
|
4903
4903
|
"selfManaged": {
|
|
@@ -4916,6 +4916,10 @@
|
|
|
4916
4916
|
"type": "number",
|
|
4917
4917
|
"description": "Stepping interval between selectable values. Defaults to 1."
|
|
4918
4918
|
},
|
|
4919
|
+
"minStepsBetweenThumbs": {
|
|
4920
|
+
"type": "number",
|
|
4921
|
+
"description": "Minimum permitted distance between two thumbs, measured in `step` increments. Only applies when `value` is a range."
|
|
4922
|
+
},
|
|
4919
4923
|
"disabled": {
|
|
4920
4924
|
"type": "boolean",
|
|
4921
4925
|
"description": "When true, the slider is disabled and non-interactive."
|
|
@@ -4961,6 +4965,22 @@
|
|
|
4961
4965
|
}
|
|
4962
4966
|
}
|
|
4963
4967
|
},
|
|
4968
|
+
"PiSliderValue": {
|
|
4969
|
+
"anyOf": [
|
|
4970
|
+
{
|
|
4971
|
+
"type": "number"
|
|
4972
|
+
},
|
|
4973
|
+
{
|
|
4974
|
+
"type": "array",
|
|
4975
|
+
"items": {
|
|
4976
|
+
"type": "number"
|
|
4977
|
+
},
|
|
4978
|
+
"minItems": 2,
|
|
4979
|
+
"maxItems": 2
|
|
4980
|
+
}
|
|
4981
|
+
],
|
|
4982
|
+
"description": "A single selected value or an inclusive two-thumb range."
|
|
4983
|
+
},
|
|
4964
4984
|
"PiSliderValueProps": {
|
|
4965
4985
|
"type": "object",
|
|
4966
4986
|
"properties": {
|
|
@@ -6044,6 +6064,16 @@
|
|
|
6044
6064
|
"type": "string",
|
|
6045
6065
|
"description": "For a hovered transition: call id of the caller-side process (activity) that sent the call and receives its reply. That activity is highlighted."
|
|
6046
6066
|
},
|
|
6067
|
+
"steps": {
|
|
6068
|
+
"type": "array",
|
|
6069
|
+
"items": {
|
|
6070
|
+
"$ref": "#/definitions/SwimlaneRow"
|
|
6071
|
+
},
|
|
6072
|
+
"description": "For `target.kind === \"step\"`: every row belonging to that step."
|
|
6073
|
+
},
|
|
6074
|
+
"meta": {
|
|
6075
|
+
"description": "Caller `meta` for the target, if any was set on the originating event: the `call`'s `meta` for `transition`/`activity`/`pending`, the `state` event's `meta` for `state`, the `lane` event's `meta` for `lane`. Not set for `step` (see `steps`, which carries each row's own event/meta)."
|
|
6076
|
+
},
|
|
6047
6077
|
"clientX": {
|
|
6048
6078
|
"type": "number"
|
|
6049
6079
|
},
|
|
@@ -6076,6 +6106,16 @@
|
|
|
6076
6106
|
},
|
|
6077
6107
|
"process": {
|
|
6078
6108
|
"type": "string"
|
|
6109
|
+
},
|
|
6110
|
+
"steps": {
|
|
6111
|
+
"type": "array",
|
|
6112
|
+
"items": {
|
|
6113
|
+
"$ref": "#/definitions/SwimlaneRow"
|
|
6114
|
+
},
|
|
6115
|
+
"description": "For `target.kind === \"step\"`: every row belonging to that step."
|
|
6116
|
+
},
|
|
6117
|
+
"meta": {
|
|
6118
|
+
"description": "See `SwimlaneHoverChangedEvent.meta`."
|
|
6079
6119
|
}
|
|
6080
6120
|
},
|
|
6081
6121
|
"required": [
|
|
@@ -6125,6 +6165,25 @@
|
|
|
6125
6165
|
},
|
|
6126
6166
|
"description": "Optional display names."
|
|
6127
6167
|
},
|
|
6168
|
+
"laneMeta": {
|
|
6169
|
+
"type": "object",
|
|
6170
|
+
"additionalProperties": {},
|
|
6171
|
+
"description": "Caller `meta` from each lane's `lane` event(s), most recent wins."
|
|
6172
|
+
},
|
|
6173
|
+
"laneActivityClassName": {
|
|
6174
|
+
"type": "object",
|
|
6175
|
+
"additionalProperties": {
|
|
6176
|
+
"type": "string"
|
|
6177
|
+
},
|
|
6178
|
+
"description": "`activityClassName` from each lane's `lane` event(s)/seed, most recent wins."
|
|
6179
|
+
},
|
|
6180
|
+
"laneActivityStyle": {
|
|
6181
|
+
"type": "object",
|
|
6182
|
+
"additionalProperties": {
|
|
6183
|
+
"$ref": "#/definitions/ReactValue"
|
|
6184
|
+
},
|
|
6185
|
+
"description": "`activityStyle` from each lane's `lane` event(s)/seed, most recent wins."
|
|
6186
|
+
},
|
|
6128
6187
|
"current": {
|
|
6129
6188
|
"$ref": "#/definitions/SwimlaneLanesSnapshot",
|
|
6130
6189
|
"description": "Current snapshot (== `post` of the last row)."
|
|
@@ -6159,6 +6218,9 @@
|
|
|
6159
6218
|
"required": [
|
|
6160
6219
|
"laneOrder",
|
|
6161
6220
|
"laneLabels",
|
|
6221
|
+
"laneMeta",
|
|
6222
|
+
"laneActivityClassName",
|
|
6223
|
+
"laneActivityStyle",
|
|
6162
6224
|
"current",
|
|
6163
6225
|
"rows",
|
|
6164
6226
|
"pending",
|
|
@@ -6195,6 +6257,9 @@
|
|
|
6195
6257
|
},
|
|
6196
6258
|
"timeoutMs": {
|
|
6197
6259
|
"type": "number"
|
|
6260
|
+
},
|
|
6261
|
+
"meta": {
|
|
6262
|
+
"description": "Copied from the originating `call` (implied reply) or `expect` event."
|
|
6198
6263
|
}
|
|
6199
6264
|
},
|
|
6200
6265
|
"required": [
|
|
@@ -6254,8 +6319,20 @@
|
|
|
6254
6319
|
"type": "number",
|
|
6255
6320
|
"description": "Clock (epoch ms) used for \"waiting …\" timers and overdue detection of outstanding messages. When omitted the card ticks its own wall clock (4×/s, only while something is outstanding). Pass it to drive the card entirely from props — e.g. for replaying a recorded trace or for tests."
|
|
6256
6321
|
},
|
|
6322
|
+
"formatTs": {
|
|
6323
|
+
"not": {},
|
|
6324
|
+
"description": "Formats the timestamp column (`ts`, epoch ms). Defaults to `formatTs` from `swimlane.model` (local wall-clock `HH:MM:SS.mmm`). Override to show a different clock — e.g. a virtual time derived from `ts`, or both virtual and wall-clock time in one string."
|
|
6325
|
+
},
|
|
6326
|
+
"formatWait": {
|
|
6327
|
+
"not": {},
|
|
6328
|
+
"description": "Formats the \"waiting …\" duration (ms) shown on outstanding messages below the \"now\" line. Defaults to `${(ms / 1000).toFixed(1)}s`."
|
|
6329
|
+
},
|
|
6257
6330
|
"className": {
|
|
6258
6331
|
"type": "string"
|
|
6332
|
+
},
|
|
6333
|
+
"style": {
|
|
6334
|
+
"$ref": "#/definitions/ReactValue",
|
|
6335
|
+
"description": "Inline styles for the card's root element, alongside `className`."
|
|
6259
6336
|
}
|
|
6260
6337
|
},
|
|
6261
6338
|
"required": [
|
|
@@ -6266,7 +6343,8 @@
|
|
|
6266
6343
|
"type": "object",
|
|
6267
6344
|
"properties": {
|
|
6268
6345
|
"id": {
|
|
6269
|
-
"
|
|
6346
|
+
"$ref": "#/definitions/SwimlaneRowId",
|
|
6347
|
+
"description": "The event's own `rowId` when it was set and did not collide with an existing row; an internally assigned number otherwise. See `SwimlaneEventBase.rowId`."
|
|
6270
6348
|
},
|
|
6271
6349
|
"event": {
|
|
6272
6350
|
"$ref": "#/definitions/SwimlaneRowEvent"
|
|
@@ -6330,9 +6408,35 @@
|
|
|
6330
6408
|
"type": "string",
|
|
6331
6409
|
"description": "Display name (defaults to `lane`)."
|
|
6332
6410
|
},
|
|
6411
|
+
"activityClassName": {
|
|
6412
|
+
"type": "string",
|
|
6413
|
+
"description": "Extra class(es) added to this lane's activity bar (the `<g className=\"swl-act\">` drawn on the lifeline while the lane is handling a call), alongside the default `swl-act`/highlight classes. Use this to give different lane\n*types* their own themed colour via CSS (e.g. `.swl-act-tool rect { fill: var(--my-tool-color); }`) instead of hard-coding colours per lane. Most recent `lane` event for a lane wins, same as `label`/`meta`."
|
|
6414
|
+
},
|
|
6415
|
+
"activityStyle": {
|
|
6416
|
+
"$ref": "#/definitions/ReactValue",
|
|
6417
|
+
"description": "Inline style merged onto the activity bar's `<rect>` (fill) and `<path>` (border) elements, for one-off colours that don't warrant a CSS class. Takes precedence over `activityClassName`'s rules for any property it sets. Most recent `lane` event for a lane wins, same as `label`/`meta`."
|
|
6418
|
+
},
|
|
6419
|
+
"announce": {
|
|
6420
|
+
"type": "boolean",
|
|
6421
|
+
"description": "When `false`, this event still registers the lane (and updates its label/meta/activity style exactly as usual) but produces no row — as if the lane had been present from the start via `createSwimlaneModel({lanes})`. Only has an effect the first time a lane is seen: a later `lane` event for an already-known lane never produces a row regardless of `announce` (same as today), so there is no way to retroactively force a \"joined\" row to appear for a lane once it is known. Default `true`."
|
|
6422
|
+
},
|
|
6333
6423
|
"fulfils": {
|
|
6334
6424
|
"type": "string",
|
|
6335
6425
|
"description": "Id of an `expect` event that this real event resolves."
|
|
6426
|
+
},
|
|
6427
|
+
"rowId": {
|
|
6428
|
+
"$ref": "#/definitions/SwimlaneRowId",
|
|
6429
|
+
"description": "Use this as the resulting row's id instead of the model's internal counter. Lets a caller that rebuilds the whole model from scratch on every refresh (e.g. to replay a run, or after a rollback to an earlier point) keep row ids stable across rebuilds, instead of them being renumbered each time.\n\nContract: must be unique among the model's current rows (an id freed by ring-buffer trimming may be reused). If it collides with an existing row, the card falls back to an internal id for that row rather than producing two rows with the same id — check `SwimlaneRow.id` if you need to confirm which id was actually used.\n\nDistinct from a `call`/`reply`/`done` event's own `id` (the call id, shared between its call and reply rows) — `rowId` identifies one row."
|
|
6430
|
+
},
|
|
6431
|
+
"step": {
|
|
6432
|
+
"type": [
|
|
6433
|
+
"string",
|
|
6434
|
+
"number"
|
|
6435
|
+
],
|
|
6436
|
+
"description": "Groups events that belong to one logical step (for example several calls and a state change produced by a single engine tick). Rows are grouped only when adjacent in `rows` (ingest order): the card draws the timestamp for the first row of a run of same-`step` rows and replaces it with a connecting mark on the rest, joining them into one block. Comparison is `===`; omit it to draw every row on its own line as before."
|
|
6437
|
+
},
|
|
6438
|
+
"meta": {
|
|
6439
|
+
"description": "Arbitrary caller data, opaque to the card. Carried onto the row (and, for `call`/`expect` events, the resulting span/pending message) and echoed back verbatim in `onHoverChanged` / `onItemClicked` for that target — so the caller does not need a side table to recover context (e.g. which domain object a row/span id stands for) on every hover or click. Not interpreted or serialised specially by the card."
|
|
6336
6440
|
}
|
|
6337
6441
|
},
|
|
6338
6442
|
"required": [
|
|
@@ -6358,9 +6462,27 @@
|
|
|
6358
6462
|
"state": {
|
|
6359
6463
|
"$ref": "#/definitions/SwimlaneRunState"
|
|
6360
6464
|
},
|
|
6465
|
+
"showLabel": {
|
|
6466
|
+
"type": "boolean",
|
|
6467
|
+
"description": "Draw the \"→ state\" text beside the dot. Default `true`."
|
|
6468
|
+
},
|
|
6361
6469
|
"fulfils": {
|
|
6362
6470
|
"type": "string",
|
|
6363
6471
|
"description": "Id of an `expect` event that this real event resolves."
|
|
6472
|
+
},
|
|
6473
|
+
"rowId": {
|
|
6474
|
+
"$ref": "#/definitions/SwimlaneRowId",
|
|
6475
|
+
"description": "Use this as the resulting row's id instead of the model's internal counter. Lets a caller that rebuilds the whole model from scratch on every refresh (e.g. to replay a run, or after a rollback to an earlier point) keep row ids stable across rebuilds, instead of them being renumbered each time.\n\nContract: must be unique among the model's current rows (an id freed by ring-buffer trimming may be reused). If it collides with an existing row, the card falls back to an internal id for that row rather than producing two rows with the same id — check `SwimlaneRow.id` if you need to confirm which id was actually used.\n\nDistinct from a `call`/`reply`/`done` event's own `id` (the call id, shared between its call and reply rows) — `rowId` identifies one row."
|
|
6476
|
+
},
|
|
6477
|
+
"step": {
|
|
6478
|
+
"type": [
|
|
6479
|
+
"string",
|
|
6480
|
+
"number"
|
|
6481
|
+
],
|
|
6482
|
+
"description": "Groups events that belong to one logical step (for example several calls and a state change produced by a single engine tick). Rows are grouped only when adjacent in `rows` (ingest order): the card draws the timestamp for the first row of a run of same-`step` rows and replaces it with a connecting mark on the rest, joining them into one block. Comparison is `===`; omit it to draw every row on its own line as before."
|
|
6483
|
+
},
|
|
6484
|
+
"meta": {
|
|
6485
|
+
"description": "Arbitrary caller data, opaque to the card. Carried onto the row (and, for `call`/`expect` events, the resulting span/pending message) and echoed back verbatim in `onHoverChanged` / `onItemClicked` for that target — so the caller does not need a side table to recover context (e.g. which domain object a row/span id stands for) on every hover or click. Not interpreted or serialised specially by the card."
|
|
6364
6486
|
}
|
|
6365
6487
|
},
|
|
6366
6488
|
"required": [
|
|
@@ -6408,6 +6530,20 @@
|
|
|
6408
6530
|
"fulfils": {
|
|
6409
6531
|
"type": "string",
|
|
6410
6532
|
"description": "Id of an `expect` event that this real event resolves."
|
|
6533
|
+
},
|
|
6534
|
+
"rowId": {
|
|
6535
|
+
"$ref": "#/definitions/SwimlaneRowId",
|
|
6536
|
+
"description": "Use this as the resulting row's id instead of the model's internal counter. Lets a caller that rebuilds the whole model from scratch on every refresh (e.g. to replay a run, or after a rollback to an earlier point) keep row ids stable across rebuilds, instead of them being renumbered each time.\n\nContract: must be unique among the model's current rows (an id freed by ring-buffer trimming may be reused). If it collides with an existing row, the card falls back to an internal id for that row rather than producing two rows with the same id — check `SwimlaneRow.id` if you need to confirm which id was actually used.\n\nDistinct from a `call`/`reply`/`done` event's own `id` (the call id, shared between its call and reply rows) — `rowId` identifies one row."
|
|
6537
|
+
},
|
|
6538
|
+
"step": {
|
|
6539
|
+
"type": [
|
|
6540
|
+
"string",
|
|
6541
|
+
"number"
|
|
6542
|
+
],
|
|
6543
|
+
"description": "Groups events that belong to one logical step (for example several calls and a state change produced by a single engine tick). Rows are grouped only when adjacent in `rows` (ingest order): the card draws the timestamp for the first row of a run of same-`step` rows and replaces it with a connecting mark on the rest, joining them into one block. Comparison is `===`; omit it to draw every row on its own line as before."
|
|
6544
|
+
},
|
|
6545
|
+
"meta": {
|
|
6546
|
+
"description": "Arbitrary caller data, opaque to the card. Carried onto the row (and, for `call`/`expect` events, the resulting span/pending message) and echoed back verbatim in `onHoverChanged` / `onItemClicked` for that target — so the caller does not need a side table to recover context (e.g. which domain object a row/span id stands for) on every hover or click. Not interpreted or serialised specially by the card."
|
|
6411
6547
|
}
|
|
6412
6548
|
},
|
|
6413
6549
|
"required": [
|
|
@@ -6444,6 +6580,20 @@
|
|
|
6444
6580
|
"fulfils": {
|
|
6445
6581
|
"type": "string",
|
|
6446
6582
|
"description": "Id of an `expect` event that this real event resolves."
|
|
6583
|
+
},
|
|
6584
|
+
"rowId": {
|
|
6585
|
+
"$ref": "#/definitions/SwimlaneRowId",
|
|
6586
|
+
"description": "Use this as the resulting row's id instead of the model's internal counter. Lets a caller that rebuilds the whole model from scratch on every refresh (e.g. to replay a run, or after a rollback to an earlier point) keep row ids stable across rebuilds, instead of them being renumbered each time.\n\nContract: must be unique among the model's current rows (an id freed by ring-buffer trimming may be reused). If it collides with an existing row, the card falls back to an internal id for that row rather than producing two rows with the same id — check `SwimlaneRow.id` if you need to confirm which id was actually used.\n\nDistinct from a `call`/`reply`/`done` event's own `id` (the call id, shared between its call and reply rows) — `rowId` identifies one row."
|
|
6587
|
+
},
|
|
6588
|
+
"step": {
|
|
6589
|
+
"type": [
|
|
6590
|
+
"string",
|
|
6591
|
+
"number"
|
|
6592
|
+
],
|
|
6593
|
+
"description": "Groups events that belong to one logical step (for example several calls and a state change produced by a single engine tick). Rows are grouped only when adjacent in `rows` (ingest order): the card draws the timestamp for the first row of a run of same-`step` rows and replaces it with a connecting mark on the rest, joining them into one block. Comparison is `===`; omit it to draw every row on its own line as before."
|
|
6594
|
+
},
|
|
6595
|
+
"meta": {
|
|
6596
|
+
"description": "Arbitrary caller data, opaque to the card. Carried onto the row (and, for `call`/`expect` events, the resulting span/pending message) and echoed back verbatim in `onHoverChanged` / `onItemClicked` for that target — so the caller does not need a side table to recover context (e.g. which domain object a row/span id stands for) on every hover or click. Not interpreted or serialised specially by the card."
|
|
6447
6597
|
}
|
|
6448
6598
|
},
|
|
6449
6599
|
"required": [
|
|
@@ -6471,6 +6621,20 @@
|
|
|
6471
6621
|
"fulfils": {
|
|
6472
6622
|
"type": "string",
|
|
6473
6623
|
"description": "Id of an `expect` event that this real event resolves."
|
|
6624
|
+
},
|
|
6625
|
+
"rowId": {
|
|
6626
|
+
"$ref": "#/definitions/SwimlaneRowId",
|
|
6627
|
+
"description": "Use this as the resulting row's id instead of the model's internal counter. Lets a caller that rebuilds the whole model from scratch on every refresh (e.g. to replay a run, or after a rollback to an earlier point) keep row ids stable across rebuilds, instead of them being renumbered each time.\n\nContract: must be unique among the model's current rows (an id freed by ring-buffer trimming may be reused). If it collides with an existing row, the card falls back to an internal id for that row rather than producing two rows with the same id — check `SwimlaneRow.id` if you need to confirm which id was actually used.\n\nDistinct from a `call`/`reply`/`done` event's own `id` (the call id, shared between its call and reply rows) — `rowId` identifies one row."
|
|
6628
|
+
},
|
|
6629
|
+
"step": {
|
|
6630
|
+
"type": [
|
|
6631
|
+
"string",
|
|
6632
|
+
"number"
|
|
6633
|
+
],
|
|
6634
|
+
"description": "Groups events that belong to one logical step (for example several calls and a state change produced by a single engine tick). Rows are grouped only when adjacent in `rows` (ingest order): the card draws the timestamp for the first row of a run of same-`step` rows and replaces it with a connecting mark on the rest, joining them into one block. Comparison is `===`; omit it to draw every row on its own line as before."
|
|
6635
|
+
},
|
|
6636
|
+
"meta": {
|
|
6637
|
+
"description": "Arbitrary caller data, opaque to the card. Carried onto the row (and, for `call`/`expect` events, the resulting span/pending message) and echoed back verbatim in `onHoverChanged` / `onItemClicked` for that target — so the caller does not need a side table to recover context (e.g. which domain object a row/span id stands for) on every hover or click. Not interpreted or serialised specially by the card."
|
|
6474
6638
|
}
|
|
6475
6639
|
},
|
|
6476
6640
|
"required": [
|
|
@@ -6482,6 +6646,13 @@
|
|
|
6482
6646
|
],
|
|
6483
6647
|
"description": "A row event is any stream event except `expect` (which never makes a row)."
|
|
6484
6648
|
},
|
|
6649
|
+
"SwimlaneRowId": {
|
|
6650
|
+
"type": [
|
|
6651
|
+
"string",
|
|
6652
|
+
"number"
|
|
6653
|
+
],
|
|
6654
|
+
"description": "Row id: either an internal counter value, or a caller-supplied value (see `rowId`)."
|
|
6655
|
+
},
|
|
6485
6656
|
"SwimlaneRunState": {
|
|
6486
6657
|
"type": "string",
|
|
6487
6658
|
"enum": [
|
|
@@ -6489,9 +6660,12 @@
|
|
|
6489
6660
|
"starting",
|
|
6490
6661
|
"running",
|
|
6491
6662
|
"degraded",
|
|
6492
|
-
"stopped"
|
|
6663
|
+
"stopped",
|
|
6664
|
+
"in_progress",
|
|
6665
|
+
"succeeded",
|
|
6666
|
+
"failed"
|
|
6493
6667
|
],
|
|
6494
|
-
"description": "Run state of a service, drawn on its lifeline."
|
|
6668
|
+
"description": "Run state of a service, drawn on its lifeline.\n\n`created` … `stopped` describe a long-running service's lifecycle. `in_progress` / `succeeded` / `failed` are first-class outcome states for one-shot work (e.g. a tool call or task) that does not fit that lifecycle — use these instead of borrowing `running` / `stopped` / `degraded`."
|
|
6495
6669
|
},
|
|
6496
6670
|
"SwimlaneSpan": {
|
|
6497
6671
|
"type": "object",
|
|
@@ -6532,6 +6706,9 @@
|
|
|
6532
6706
|
"parent": {
|
|
6533
6707
|
"type": "string",
|
|
6534
6708
|
"description": "Call whose processing caused this one (explicit `parentId` or inferred)."
|
|
6709
|
+
},
|
|
6710
|
+
"meta": {
|
|
6711
|
+
"description": "Copied from the originating `call` event."
|
|
6535
6712
|
}
|
|
6536
6713
|
},
|
|
6537
6714
|
"required": [
|
|
@@ -6553,13 +6730,13 @@
|
|
|
6553
6730
|
},
|
|
6554
6731
|
"id": {
|
|
6555
6732
|
"type": "string",
|
|
6556
|
-
"description": "Call id (transition
|
|
6733
|
+
"description": "Call id (`transition`/`activity`/`pending`), `state-<rowId>` (`state`), the row's `step` value stringified (`step`), or the lane id (`lane`)."
|
|
6557
6734
|
},
|
|
6558
6735
|
"lane": {
|
|
6559
6736
|
"type": "string"
|
|
6560
6737
|
},
|
|
6561
6738
|
"rowId": {
|
|
6562
|
-
"
|
|
6739
|
+
"$ref": "#/definitions/SwimlaneRowId"
|
|
6563
6740
|
}
|
|
6564
6741
|
},
|
|
6565
6742
|
"required": [
|
|
@@ -6573,7 +6750,9 @@
|
|
|
6573
6750
|
"transition",
|
|
6574
6751
|
"activity",
|
|
6575
6752
|
"state",
|
|
6576
|
-
"pending"
|
|
6753
|
+
"pending",
|
|
6754
|
+
"step",
|
|
6755
|
+
"lane"
|
|
6577
6756
|
],
|
|
6578
6757
|
"description": "What the pointer is over."
|
|
6579
6758
|
},
|