@oneharness/sdk 0.17.1 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/capabilities.d.ts +16 -11
- package/dist/generated/capabilities.js +17 -11
- package/dist/generated/config-options.d.ts +9 -1
- package/dist/generated/contracts.d.ts +11 -5
- package/dist/generated/detect-options.d.ts +9 -1
- package/dist/generated/history-clear-options.d.ts +9 -1
- package/dist/generated/history-line.d.ts +27 -5
- package/dist/generated/history-list-options.d.ts +5 -4
- package/dist/generated/history-list.d.ts +13 -3
- package/dist/generated/history-lookup.d.ts +10 -8
- package/dist/generated/history-migrate-options.d.ts +9 -1
- package/dist/generated/history-records.d.ts +17 -5
- package/dist/generated/history-stream-envelope.d.ts +33 -5
- package/dist/generated/history-watch-options.d.ts +11 -4
- package/dist/generated/history.d.ts +17 -5
- package/dist/generated/options.d.ts +9 -1
- package/dist/generated/run-stream-envelope.d.ts +11 -5
- package/dist/generated/schemas.json +270 -43
- package/dist/generated/sync-options.d.ts +9 -1
- package/dist/generated/usage-options.d.ts +9 -1
- package/dist/generated/zod.js +74 -11
- package/package.json +2 -2
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
{
|
|
197
197
|
"option": "config",
|
|
198
198
|
"flag": "--config",
|
|
199
|
-
"kind": "
|
|
199
|
+
"kind": "repeated",
|
|
200
200
|
"unless": "noConfig",
|
|
201
201
|
"unless_resolution": "refuse"
|
|
202
202
|
},
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
{
|
|
496
496
|
"option": "config",
|
|
497
497
|
"flag": "--config",
|
|
498
|
-
"kind": "
|
|
498
|
+
"kind": "repeated",
|
|
499
499
|
"unless": "noConfig",
|
|
500
500
|
"unless_resolution": "refuse"
|
|
501
501
|
},
|
|
@@ -666,7 +666,7 @@
|
|
|
666
666
|
{
|
|
667
667
|
"option": "config",
|
|
668
668
|
"flag": "--config",
|
|
669
|
-
"kind": "
|
|
669
|
+
"kind": "repeated",
|
|
670
670
|
"unless": "noConfig",
|
|
671
671
|
"unless_resolution": "refuse"
|
|
672
672
|
},
|
|
@@ -710,7 +710,7 @@
|
|
|
710
710
|
{
|
|
711
711
|
"option": "config",
|
|
712
712
|
"flag": "--config",
|
|
713
|
-
"kind": "
|
|
713
|
+
"kind": "repeated",
|
|
714
714
|
"unless": "noConfig",
|
|
715
715
|
"unless_resolution": "refuse"
|
|
716
716
|
},
|
|
@@ -772,7 +772,7 @@
|
|
|
772
772
|
{
|
|
773
773
|
"option": "config",
|
|
774
774
|
"flag": "--config",
|
|
775
|
-
"kind": "
|
|
775
|
+
"kind": "repeated",
|
|
776
776
|
"unless": "noConfig",
|
|
777
777
|
"unless_resolution": "refuse"
|
|
778
778
|
},
|
|
@@ -868,7 +868,7 @@
|
|
|
868
868
|
{
|
|
869
869
|
"option": "config",
|
|
870
870
|
"flag": "--config",
|
|
871
|
-
"kind": "
|
|
871
|
+
"kind": "repeated",
|
|
872
872
|
"unless": "noConfig",
|
|
873
873
|
"unless_resolution": "refuse"
|
|
874
874
|
},
|
|
@@ -1048,7 +1048,7 @@
|
|
|
1048
1048
|
{
|
|
1049
1049
|
"option": "config",
|
|
1050
1050
|
"flag": "--config",
|
|
1051
|
-
"kind": "
|
|
1051
|
+
"kind": "repeated",
|
|
1052
1052
|
"unless": "noConfig",
|
|
1053
1053
|
"unless_resolution": "refuse"
|
|
1054
1054
|
},
|
|
@@ -1106,7 +1106,7 @@
|
|
|
1106
1106
|
{
|
|
1107
1107
|
"option": "config",
|
|
1108
1108
|
"flag": "--config",
|
|
1109
|
-
"kind": "
|
|
1109
|
+
"kind": "repeated",
|
|
1110
1110
|
"unless": "noConfig",
|
|
1111
1111
|
"unless_resolution": "refuse"
|
|
1112
1112
|
},
|
|
@@ -1153,6 +1153,12 @@
|
|
|
1153
1153
|
"kind": "value",
|
|
1154
1154
|
"unless": null
|
|
1155
1155
|
},
|
|
1156
|
+
{
|
|
1157
|
+
"option": "session",
|
|
1158
|
+
"flag": "--session",
|
|
1159
|
+
"kind": "value",
|
|
1160
|
+
"unless": null
|
|
1161
|
+
},
|
|
1156
1162
|
{
|
|
1157
1163
|
"option": "project",
|
|
1158
1164
|
"flag": "--project",
|
|
@@ -1181,7 +1187,7 @@
|
|
|
1181
1187
|
{
|
|
1182
1188
|
"option": "config",
|
|
1183
1189
|
"flag": "--config",
|
|
1184
|
-
"kind": "
|
|
1190
|
+
"kind": "repeated",
|
|
1185
1191
|
"unless": "noConfig",
|
|
1186
1192
|
"unless_resolution": "refuse"
|
|
1187
1193
|
},
|
|
@@ -1239,7 +1245,7 @@
|
|
|
1239
1245
|
{
|
|
1240
1246
|
"option": "config",
|
|
1241
1247
|
"flag": "--config",
|
|
1242
|
-
"kind": "
|
|
1248
|
+
"kind": "repeated",
|
|
1243
1249
|
"unless": "noConfig",
|
|
1244
1250
|
"unless_resolution": "refuse"
|
|
1245
1251
|
},
|
|
@@ -1278,7 +1284,7 @@
|
|
|
1278
1284
|
{
|
|
1279
1285
|
"option": "config",
|
|
1280
1286
|
"flag": "--config",
|
|
1281
|
-
"kind": "
|
|
1287
|
+
"kind": "repeated",
|
|
1282
1288
|
"unless": "noConfig",
|
|
1283
1289
|
"unless_resolution": "refuse"
|
|
1284
1290
|
},
|
|
@@ -1508,7 +1514,7 @@
|
|
|
1508
1514
|
]
|
|
1509
1515
|
},
|
|
1510
1516
|
"index": {
|
|
1511
|
-
"description": "Position of this event within the run, so \"
|
|
1517
|
+
"description": "Position of this event within the run, so \"did X before Y\" is\nexpressible from a stable ordering (also array order). It counts every\nkind, so tool calls interleaved with `message`/`reasoning` events do not\ncarry contiguous indexes; count tool calls by `kind`, not by `index`.",
|
|
1512
1518
|
"type": "integer",
|
|
1513
1519
|
"format": "uint",
|
|
1514
1520
|
"minimum": 0
|
|
@@ -1517,7 +1523,7 @@
|
|
|
1517
1523
|
"description": "Structured, tool-shaped arguments (the command string, the file path),\nso a consumer asserts on specific args without re-parsing; `null` when the\nevent carries none (e.g. a `tool_result`)."
|
|
1518
1524
|
},
|
|
1519
1525
|
"kind": {
|
|
1520
|
-
"description": "The kind of event: `tool_call` (the model invoked a tool)
|
|
1526
|
+
"description": "The kind of event: `tool_call` (the model invoked a tool),\n`tool_result` (the observation returned to the model), `message` (the\nagent's own text, in `output`) or `reasoning` (its reasoning text, in\n`output`). A `message` or `reasoning` event is one finished item, never\na token delta. Left open for future kinds rather than an enum, so a new\nshape never breaks the field — a consumer counting tool calls filters on\nit (see [`ActionEvent::is_tool_activity`]).",
|
|
1521
1527
|
"type": "string"
|
|
1522
1528
|
},
|
|
1523
1529
|
"name": {
|
|
@@ -2589,7 +2595,7 @@
|
|
|
2589
2595
|
]
|
|
2590
2596
|
},
|
|
2591
2597
|
"index": {
|
|
2592
|
-
"description": "Position of this event within the run, so \"
|
|
2598
|
+
"description": "Position of this event within the run, so \"did X before Y\" is\nexpressible from a stable ordering (also array order). It counts every\nkind, so tool calls interleaved with `message`/`reasoning` events do not\ncarry contiguous indexes; count tool calls by `kind`, not by `index`.",
|
|
2593
2599
|
"type": "integer",
|
|
2594
2600
|
"format": "uint",
|
|
2595
2601
|
"minimum": 0
|
|
@@ -2598,7 +2604,7 @@
|
|
|
2598
2604
|
"description": "Structured, tool-shaped arguments (the command string, the file path),\nso a consumer asserts on specific args without re-parsing; `null` when the\nevent carries none (e.g. a `tool_result`)."
|
|
2599
2605
|
},
|
|
2600
2606
|
"kind": {
|
|
2601
|
-
"description": "The kind of event: `tool_call` (the model invoked a tool)
|
|
2607
|
+
"description": "The kind of event: `tool_call` (the model invoked a tool),\n`tool_result` (the observation returned to the model), `message` (the\nagent's own text, in `output`) or `reasoning` (its reasoning text, in\n`output`). A `message` or `reasoning` event is one finished item, never\na token delta. Left open for future kinds rather than an enum, so a new\nshape never breaks the field — a consumer counting tool calls filters on\nit (see [`ActionEvent::is_tool_activity`]).",
|
|
2602
2608
|
"type": "string"
|
|
2603
2609
|
},
|
|
2604
2610
|
"name": {
|
|
@@ -3796,7 +3802,11 @@
|
|
|
3796
3802
|
}
|
|
3797
3803
|
},
|
|
3798
3804
|
"config": {
|
|
3799
|
-
"
|
|
3805
|
+
"description": "Load configuration from exactly these files, in order, skipping\nuser/project discovery; each later file overrides the earlier ones.",
|
|
3806
|
+
"type": "array",
|
|
3807
|
+
"items": {
|
|
3808
|
+
"type": "string"
|
|
3809
|
+
}
|
|
3800
3810
|
},
|
|
3801
3811
|
"control": {
|
|
3802
3812
|
"description": "Open the out-of-band turn-control socket, so a separate `interrupt()`\ncan abort the in-flight turn without killing this run.",
|
|
@@ -3874,6 +3884,7 @@
|
|
|
3874
3884
|
}
|
|
3875
3885
|
},
|
|
3876
3886
|
"noConfig": {
|
|
3887
|
+
"description": "Ignore every configuration file and `ONEHARNESS_*` override. `true`\nbeside a non-empty `config` is refused before anything runs.",
|
|
3877
3888
|
"type": "boolean"
|
|
3878
3889
|
},
|
|
3879
3890
|
"noHistory": {
|
|
@@ -4105,8 +4116,11 @@
|
|
|
4105
4116
|
"type": "boolean"
|
|
4106
4117
|
},
|
|
4107
4118
|
"config": {
|
|
4108
|
-
"description": "Load configuration from exactly
|
|
4109
|
-
"type": "
|
|
4119
|
+
"description": "Load configuration from exactly these files, in order, skipping\nuser/project discovery; each later file overrides the earlier ones.",
|
|
4120
|
+
"type": "array",
|
|
4121
|
+
"items": {
|
|
4122
|
+
"type": "string"
|
|
4123
|
+
}
|
|
4110
4124
|
},
|
|
4111
4125
|
"historyDir": {
|
|
4112
4126
|
"type": "string"
|
|
@@ -4117,7 +4131,7 @@
|
|
|
4117
4131
|
"const": true
|
|
4118
4132
|
},
|
|
4119
4133
|
"noConfig": {
|
|
4120
|
-
"description": "Ignore every configuration file.",
|
|
4134
|
+
"description": "Ignore every configuration file and `ONEHARNESS_*` override. `true`\nbeside a non-empty `config` is refused before anything runs.",
|
|
4121
4135
|
"type": "boolean"
|
|
4122
4136
|
},
|
|
4123
4137
|
"project": {
|
|
@@ -4145,8 +4159,11 @@
|
|
|
4145
4159
|
"type": "boolean"
|
|
4146
4160
|
},
|
|
4147
4161
|
"config": {
|
|
4148
|
-
"description": "Load configuration from exactly
|
|
4149
|
-
"type": "
|
|
4162
|
+
"description": "Load configuration from exactly these files, in order, skipping\nuser/project discovery; each later file overrides the earlier ones.",
|
|
4163
|
+
"type": "array",
|
|
4164
|
+
"items": {
|
|
4165
|
+
"type": "string"
|
|
4166
|
+
}
|
|
4150
4167
|
},
|
|
4151
4168
|
"historyDir": {
|
|
4152
4169
|
"type": "string"
|
|
@@ -4156,7 +4173,7 @@
|
|
|
4156
4173
|
"type": "boolean"
|
|
4157
4174
|
},
|
|
4158
4175
|
"noConfig": {
|
|
4159
|
-
"description": "Ignore every configuration file.",
|
|
4176
|
+
"description": "Ignore every configuration file and `ONEHARNESS_*` override. `true`\nbeside a non-empty `config` is refused before anything runs.",
|
|
4160
4177
|
"type": "boolean"
|
|
4161
4178
|
},
|
|
4162
4179
|
"project": {
|
|
@@ -4185,14 +4202,17 @@
|
|
|
4185
4202
|
"type": "boolean"
|
|
4186
4203
|
},
|
|
4187
4204
|
"config": {
|
|
4188
|
-
"description": "Load configuration from exactly
|
|
4189
|
-
"type": "
|
|
4205
|
+
"description": "Load configuration from exactly these files, in order, skipping\nuser/project discovery; each later file overrides the earlier ones.",
|
|
4206
|
+
"type": "array",
|
|
4207
|
+
"items": {
|
|
4208
|
+
"type": "string"
|
|
4209
|
+
}
|
|
4190
4210
|
},
|
|
4191
4211
|
"historyDir": {
|
|
4192
4212
|
"type": "string"
|
|
4193
4213
|
},
|
|
4194
4214
|
"noConfig": {
|
|
4195
|
-
"description": "Ignore every configuration file.",
|
|
4215
|
+
"description": "Ignore every configuration file and `ONEHARNESS_*` override. `true`\nbeside a non-empty `config` is refused before anything runs.",
|
|
4196
4216
|
"type": "boolean"
|
|
4197
4217
|
},
|
|
4198
4218
|
"project": {
|
|
@@ -4221,8 +4241,11 @@
|
|
|
4221
4241
|
"type": "boolean"
|
|
4222
4242
|
},
|
|
4223
4243
|
"config": {
|
|
4224
|
-
"description": "Load configuration from exactly
|
|
4225
|
-
"type": "
|
|
4244
|
+
"description": "Load configuration from exactly these files, in order, skipping\nuser/project discovery; each later file overrides the earlier ones.",
|
|
4245
|
+
"type": "array",
|
|
4246
|
+
"items": {
|
|
4247
|
+
"type": "string"
|
|
4248
|
+
}
|
|
4226
4249
|
},
|
|
4227
4250
|
"events": {
|
|
4228
4251
|
"type": "boolean"
|
|
@@ -4234,12 +4257,24 @@
|
|
|
4234
4257
|
"$ref": "#/$defs/HistoryLabels"
|
|
4235
4258
|
},
|
|
4236
4259
|
"noConfig": {
|
|
4237
|
-
"description": "Ignore every configuration file.",
|
|
4260
|
+
"description": "Ignore every configuration file and `ONEHARNESS_*` override. `true`\nbeside a non-empty `config` is refused before anything runs.",
|
|
4238
4261
|
"type": "boolean"
|
|
4239
4262
|
},
|
|
4240
4263
|
"project": {
|
|
4241
4264
|
"type": "string"
|
|
4242
4265
|
},
|
|
4266
|
+
"session": {
|
|
4267
|
+
"description": "Follow one session: its id, or its name (the newest session so named\nwhose labels match every label filter, including one still running, or\nthe first to appear).",
|
|
4268
|
+
"type": [
|
|
4269
|
+
"string",
|
|
4270
|
+
"null"
|
|
4271
|
+
],
|
|
4272
|
+
"minLength": 1,
|
|
4273
|
+
"not": {
|
|
4274
|
+
"pattern": "[^A-Za-z0-9-]|^-|-$|--"
|
|
4275
|
+
},
|
|
4276
|
+
"pattern": "^(?:[a-z0-9-]+|[a-z0-9-]+-(?:[0-9]{4}(?:(?:0[13578]|1[02])(?:0[1-9]|[12][0-9]|3[01])|(?:0[469]|11)(?:0[1-9]|[12][0-9]|30)|02(?:0[1-9]|1[0-9]|2[0-8]))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00)0229)T(?:[01][0-9]|2[0-3])[0-5][0-9][0-5][0-9]Z-[0-9]+)$"
|
|
4277
|
+
},
|
|
4243
4278
|
"variant": {
|
|
4244
4279
|
"description": "Narrow to one configured harness identity (`claude-code:work`).",
|
|
4245
4280
|
"type": "string"
|
|
@@ -4314,6 +4349,17 @@
|
|
|
4314
4349
|
"1.9"
|
|
4315
4350
|
]
|
|
4316
4351
|
},
|
|
4352
|
+
"session_name": {
|
|
4353
|
+
"description": "The name of the session this line belongs to — the `name` its run's\nclosing `run` line will carry — so a run still in progress (events but\nno closing line yet) can be listed and followed by name. Omitted when\nabsent: lines written before it existed carry none, and every reader\nthat predates it ignores it.",
|
|
4354
|
+
"type": [
|
|
4355
|
+
"string",
|
|
4356
|
+
"null"
|
|
4357
|
+
],
|
|
4358
|
+
"minLength": 1,
|
|
4359
|
+
"not": {
|
|
4360
|
+
"pattern": "[^a-z0-9-]|^-|-$|--"
|
|
4361
|
+
}
|
|
4362
|
+
},
|
|
4317
4363
|
"type": {
|
|
4318
4364
|
"type": "string",
|
|
4319
4365
|
"const": "event"
|
|
@@ -4376,6 +4422,17 @@
|
|
|
4376
4422
|
"1.1"
|
|
4377
4423
|
]
|
|
4378
4424
|
},
|
|
4425
|
+
"session_name": {
|
|
4426
|
+
"description": "The name of the session this line belongs to — the `name` its run's\nclosing `run` line will carry — so a run still in progress (events but\nno closing line yet) can be listed and followed by name. Omitted when\nabsent: lines written before it existed carry none, and every reader\nthat predates it ignores it.",
|
|
4427
|
+
"type": [
|
|
4428
|
+
"string",
|
|
4429
|
+
"null"
|
|
4430
|
+
],
|
|
4431
|
+
"minLength": 1,
|
|
4432
|
+
"not": {
|
|
4433
|
+
"pattern": "[^a-z0-9-]|^-|-$|--"
|
|
4434
|
+
}
|
|
4435
|
+
},
|
|
4379
4436
|
"type": {
|
|
4380
4437
|
"type": "string",
|
|
4381
4438
|
"const": "event"
|
|
@@ -5923,7 +5980,7 @@
|
|
|
5923
5980
|
]
|
|
5924
5981
|
},
|
|
5925
5982
|
"index": {
|
|
5926
|
-
"description": "Position of this event within the run, so \"
|
|
5983
|
+
"description": "Position of this event within the run, so \"did X before Y\" is\nexpressible from a stable ordering (also array order). It counts every\nkind, so tool calls interleaved with `message`/`reasoning` events do not\ncarry contiguous indexes; count tool calls by `kind`, not by `index`.",
|
|
5927
5984
|
"type": "integer",
|
|
5928
5985
|
"format": "uint",
|
|
5929
5986
|
"minimum": 0
|
|
@@ -5932,7 +5989,7 @@
|
|
|
5932
5989
|
"description": "Structured, tool-shaped arguments (the command string, the file path),\nso a consumer asserts on specific args without re-parsing; `null` when the\nevent carries none (e.g. a `tool_result`)."
|
|
5933
5990
|
},
|
|
5934
5991
|
"kind": {
|
|
5935
|
-
"description": "The kind of event: `tool_call` (the model invoked a tool)
|
|
5992
|
+
"description": "The kind of event: `tool_call` (the model invoked a tool),\n`tool_result` (the observation returned to the model), `message` (the\nagent's own text, in `output`) or `reasoning` (its reasoning text, in\n`output`). A `message` or `reasoning` event is one finished item, never\na token delta. Left open for future kinds rather than an enum, so a new\nshape never breaks the field — a consumer counting tool calls filters on\nit (see [`ActionEvent::is_tool_activity`]).",
|
|
5936
5993
|
"type": "string"
|
|
5937
5994
|
},
|
|
5938
5995
|
"name": {
|
|
@@ -6771,6 +6828,25 @@
|
|
|
6771
6828
|
}
|
|
6772
6829
|
}
|
|
6773
6830
|
]
|
|
6831
|
+
},
|
|
6832
|
+
{
|
|
6833
|
+
"allOf": [
|
|
6834
|
+
{
|
|
6835
|
+
"$ref": "#/$defs/ActionEvent"
|
|
6836
|
+
},
|
|
6837
|
+
{
|
|
6838
|
+
"type": "object",
|
|
6839
|
+
"properties": {
|
|
6840
|
+
"kind": {
|
|
6841
|
+
"type": "string",
|
|
6842
|
+
"enum": [
|
|
6843
|
+
"message",
|
|
6844
|
+
"reasoning"
|
|
6845
|
+
]
|
|
6846
|
+
}
|
|
6847
|
+
}
|
|
6848
|
+
}
|
|
6849
|
+
]
|
|
6774
6850
|
}
|
|
6775
6851
|
]
|
|
6776
6852
|
}
|
|
@@ -7153,6 +7229,25 @@
|
|
|
7153
7229
|
}
|
|
7154
7230
|
}
|
|
7155
7231
|
]
|
|
7232
|
+
},
|
|
7233
|
+
{
|
|
7234
|
+
"allOf": [
|
|
7235
|
+
{
|
|
7236
|
+
"$ref": "#/$defs/ActionEvent"
|
|
7237
|
+
},
|
|
7238
|
+
{
|
|
7239
|
+
"type": "object",
|
|
7240
|
+
"properties": {
|
|
7241
|
+
"kind": {
|
|
7242
|
+
"type": "string",
|
|
7243
|
+
"enum": [
|
|
7244
|
+
"message",
|
|
7245
|
+
"reasoning"
|
|
7246
|
+
]
|
|
7247
|
+
}
|
|
7248
|
+
}
|
|
7249
|
+
}
|
|
7250
|
+
]
|
|
7156
7251
|
}
|
|
7157
7252
|
]
|
|
7158
7253
|
},
|
|
@@ -8925,7 +9020,7 @@
|
|
|
8925
9020
|
]
|
|
8926
9021
|
},
|
|
8927
9022
|
"index": {
|
|
8928
|
-
"description": "Position of this event within the run, so \"
|
|
9023
|
+
"description": "Position of this event within the run, so \"did X before Y\" is\nexpressible from a stable ordering (also array order). It counts every\nkind, so tool calls interleaved with `message`/`reasoning` events do not\ncarry contiguous indexes; count tool calls by `kind`, not by `index`.",
|
|
8929
9024
|
"type": "integer",
|
|
8930
9025
|
"format": "uint",
|
|
8931
9026
|
"minimum": 0
|
|
@@ -8934,7 +9029,7 @@
|
|
|
8934
9029
|
"description": "Structured, tool-shaped arguments (the command string, the file path),\nso a consumer asserts on specific args without re-parsing; `null` when the\nevent carries none (e.g. a `tool_result`)."
|
|
8935
9030
|
},
|
|
8936
9031
|
"kind": {
|
|
8937
|
-
"description": "The kind of event: `tool_call` (the model invoked a tool)
|
|
9032
|
+
"description": "The kind of event: `tool_call` (the model invoked a tool),\n`tool_result` (the observation returned to the model), `message` (the\nagent's own text, in `output`) or `reasoning` (its reasoning text, in\n`output`). A `message` or `reasoning` event is one finished item, never\na token delta. Left open for future kinds rather than an enum, so a new\nshape never breaks the field — a consumer counting tool calls filters on\nit (see [`ActionEvent::is_tool_activity`]).",
|
|
8938
9033
|
"type": "string"
|
|
8939
9034
|
},
|
|
8940
9035
|
"name": {
|
|
@@ -9309,7 +9404,7 @@
|
|
|
9309
9404
|
]
|
|
9310
9405
|
},
|
|
9311
9406
|
"index": {
|
|
9312
|
-
"description": "Position of this event within the run, so \"
|
|
9407
|
+
"description": "Position of this event within the run, so \"did X before Y\" is\nexpressible from a stable ordering (also array order). It counts every\nkind, so tool calls interleaved with `message`/`reasoning` events do not\ncarry contiguous indexes; count tool calls by `kind`, not by `index`.",
|
|
9313
9408
|
"type": "integer",
|
|
9314
9409
|
"format": "uint",
|
|
9315
9410
|
"minimum": 0
|
|
@@ -9318,7 +9413,7 @@
|
|
|
9318
9413
|
"description": "Structured, tool-shaped arguments (the command string, the file path),\nso a consumer asserts on specific args without re-parsing; `null` when the\nevent carries none (e.g. a `tool_result`)."
|
|
9319
9414
|
},
|
|
9320
9415
|
"kind": {
|
|
9321
|
-
"description": "The kind of event: `tool_call` (the model invoked a tool)
|
|
9416
|
+
"description": "The kind of event: `tool_call` (the model invoked a tool),\n`tool_result` (the observation returned to the model), `message` (the\nagent's own text, in `output`) or `reasoning` (its reasoning text, in\n`output`). A `message` or `reasoning` event is one finished item, never\na token delta. Left open for future kinds rather than an enum, so a new\nshape never breaks the field — a consumer counting tool calls filters on\nit (see [`ActionEvent::is_tool_activity`]).",
|
|
9322
9417
|
"type": "string"
|
|
9323
9418
|
},
|
|
9324
9419
|
"name": {
|
|
@@ -9479,6 +9574,17 @@
|
|
|
9479
9574
|
"1.9"
|
|
9480
9575
|
]
|
|
9481
9576
|
},
|
|
9577
|
+
"session_name": {
|
|
9578
|
+
"description": "The name of the session this line belongs to — the `name` its run's\nclosing `run` line will carry — so a run still in progress (events but\nno closing line yet) can be listed and followed by name. Omitted when\nabsent: lines written before it existed carry none, and every reader\nthat predates it ignores it.",
|
|
9579
|
+
"type": [
|
|
9580
|
+
"string",
|
|
9581
|
+
"null"
|
|
9582
|
+
],
|
|
9583
|
+
"minLength": 1,
|
|
9584
|
+
"not": {
|
|
9585
|
+
"pattern": "[^a-z0-9-]|^-|-$|--"
|
|
9586
|
+
}
|
|
9587
|
+
},
|
|
9482
9588
|
"variant": {
|
|
9483
9589
|
"type": [
|
|
9484
9590
|
"string",
|
|
@@ -9536,6 +9642,17 @@
|
|
|
9536
9642
|
"1.1"
|
|
9537
9643
|
]
|
|
9538
9644
|
},
|
|
9645
|
+
"session_name": {
|
|
9646
|
+
"description": "The name of the session this line belongs to — the `name` its run's\nclosing `run` line will carry — so a run still in progress (events but\nno closing line yet) can be listed and followed by name. Omitted when\nabsent: lines written before it existed carry none, and every reader\nthat predates it ignores it.",
|
|
9647
|
+
"type": [
|
|
9648
|
+
"string",
|
|
9649
|
+
"null"
|
|
9650
|
+
],
|
|
9651
|
+
"minLength": 1,
|
|
9652
|
+
"not": {
|
|
9653
|
+
"pattern": "[^a-z0-9-]|^-|-$|--"
|
|
9654
|
+
}
|
|
9655
|
+
},
|
|
9539
9656
|
"variant": {
|
|
9540
9657
|
"type": [
|
|
9541
9658
|
"string",
|
|
@@ -10096,6 +10213,25 @@
|
|
|
10096
10213
|
}
|
|
10097
10214
|
}
|
|
10098
10215
|
]
|
|
10216
|
+
},
|
|
10217
|
+
{
|
|
10218
|
+
"allOf": [
|
|
10219
|
+
{
|
|
10220
|
+
"$ref": "#/$defs/ActionEvent"
|
|
10221
|
+
},
|
|
10222
|
+
{
|
|
10223
|
+
"type": "object",
|
|
10224
|
+
"properties": {
|
|
10225
|
+
"kind": {
|
|
10226
|
+
"type": "string",
|
|
10227
|
+
"enum": [
|
|
10228
|
+
"message",
|
|
10229
|
+
"reasoning"
|
|
10230
|
+
]
|
|
10231
|
+
}
|
|
10232
|
+
}
|
|
10233
|
+
}
|
|
10234
|
+
]
|
|
10099
10235
|
}
|
|
10100
10236
|
]
|
|
10101
10237
|
}
|
|
@@ -10478,6 +10614,25 @@
|
|
|
10478
10614
|
}
|
|
10479
10615
|
}
|
|
10480
10616
|
]
|
|
10617
|
+
},
|
|
10618
|
+
{
|
|
10619
|
+
"allOf": [
|
|
10620
|
+
{
|
|
10621
|
+
"$ref": "#/$defs/ActionEvent"
|
|
10622
|
+
},
|
|
10623
|
+
{
|
|
10624
|
+
"type": "object",
|
|
10625
|
+
"properties": {
|
|
10626
|
+
"kind": {
|
|
10627
|
+
"type": "string",
|
|
10628
|
+
"enum": [
|
|
10629
|
+
"message",
|
|
10630
|
+
"reasoning"
|
|
10631
|
+
]
|
|
10632
|
+
}
|
|
10633
|
+
}
|
|
10634
|
+
}
|
|
10635
|
+
]
|
|
10481
10636
|
}
|
|
10482
10637
|
]
|
|
10483
10638
|
},
|
|
@@ -12431,7 +12586,7 @@
|
|
|
12431
12586
|
]
|
|
12432
12587
|
},
|
|
12433
12588
|
"index": {
|
|
12434
|
-
"description": "Position of this event within the run, so \"
|
|
12589
|
+
"description": "Position of this event within the run, so \"did X before Y\" is\nexpressible from a stable ordering (also array order). It counts every\nkind, so tool calls interleaved with `message`/`reasoning` events do not\ncarry contiguous indexes; count tool calls by `kind`, not by `index`.",
|
|
12435
12590
|
"type": "integer",
|
|
12436
12591
|
"format": "uint",
|
|
12437
12592
|
"minimum": 0
|
|
@@ -12440,7 +12595,7 @@
|
|
|
12440
12595
|
"description": "Structured, tool-shaped arguments (the command string, the file path),\nso a consumer asserts on specific args without re-parsing; `null` when the\nevent carries none (e.g. a `tool_result`)."
|
|
12441
12596
|
},
|
|
12442
12597
|
"kind": {
|
|
12443
|
-
"description": "The kind of event: `tool_call` (the model invoked a tool)
|
|
12598
|
+
"description": "The kind of event: `tool_call` (the model invoked a tool),\n`tool_result` (the observation returned to the model), `message` (the\nagent's own text, in `output`) or `reasoning` (its reasoning text, in\n`output`). A `message` or `reasoning` event is one finished item, never\na token delta. Left open for future kinds rather than an enum, so a new\nshape never breaks the field — a consumer counting tool calls filters on\nit (see [`ActionEvent::is_tool_activity`]).",
|
|
12444
12599
|
"type": "string"
|
|
12445
12600
|
},
|
|
12446
12601
|
"name": {
|
|
@@ -13104,6 +13259,25 @@
|
|
|
13104
13259
|
}
|
|
13105
13260
|
}
|
|
13106
13261
|
]
|
|
13262
|
+
},
|
|
13263
|
+
{
|
|
13264
|
+
"allOf": [
|
|
13265
|
+
{
|
|
13266
|
+
"$ref": "#/$defs/ActionEvent"
|
|
13267
|
+
},
|
|
13268
|
+
{
|
|
13269
|
+
"type": "object",
|
|
13270
|
+
"properties": {
|
|
13271
|
+
"kind": {
|
|
13272
|
+
"type": "string",
|
|
13273
|
+
"enum": [
|
|
13274
|
+
"message",
|
|
13275
|
+
"reasoning"
|
|
13276
|
+
]
|
|
13277
|
+
}
|
|
13278
|
+
}
|
|
13279
|
+
}
|
|
13280
|
+
]
|
|
13107
13281
|
}
|
|
13108
13282
|
]
|
|
13109
13283
|
}
|
|
@@ -13486,6 +13660,25 @@
|
|
|
13486
13660
|
}
|
|
13487
13661
|
}
|
|
13488
13662
|
]
|
|
13663
|
+
},
|
|
13664
|
+
{
|
|
13665
|
+
"allOf": [
|
|
13666
|
+
{
|
|
13667
|
+
"$ref": "#/$defs/ActionEvent"
|
|
13668
|
+
},
|
|
13669
|
+
{
|
|
13670
|
+
"type": "object",
|
|
13671
|
+
"properties": {
|
|
13672
|
+
"kind": {
|
|
13673
|
+
"type": "string",
|
|
13674
|
+
"enum": [
|
|
13675
|
+
"message",
|
|
13676
|
+
"reasoning"
|
|
13677
|
+
]
|
|
13678
|
+
}
|
|
13679
|
+
}
|
|
13680
|
+
}
|
|
13681
|
+
]
|
|
13489
13682
|
}
|
|
13490
13683
|
]
|
|
13491
13684
|
},
|
|
@@ -15439,7 +15632,7 @@
|
|
|
15439
15632
|
}
|
|
15440
15633
|
},
|
|
15441
15634
|
"HistorySessionSummary": {
|
|
15442
|
-
"description": "A one-line summary of a session, for `oneharness history list
|
|
15635
|
+
"description": "A one-line summary of a session, for `oneharness history list`, read from\nboth its closing `run` records and its event lines. `name`/`project`/\n`started` come from the first record; a session still in its first turn has\nnone yet, so they fall back to the events' `session_name`, the project\ndirectory's slug, and the instant in the session id. `harnesses` is the\ndistinct set across records and events, and `running` says an event's run\nhas no closing record yet.",
|
|
15443
15636
|
"type": "object",
|
|
15444
15637
|
"properties": {
|
|
15445
15638
|
"harnesses": {
|
|
@@ -15475,6 +15668,10 @@
|
|
|
15475
15668
|
"format": "uint",
|
|
15476
15669
|
"minimum": 0
|
|
15477
15670
|
},
|
|
15671
|
+
"running": {
|
|
15672
|
+
"description": "Whether a harness run in this session has written events but not yet\nits closing record — the run is still going (or ended without one: a\nkilled process leaves the same file). Omitted when false.",
|
|
15673
|
+
"type": "boolean"
|
|
15674
|
+
},
|
|
15478
15675
|
"started": {
|
|
15479
15676
|
"description": "The RFC3339 UTC start time (first record's timestamp); empty if unknown.",
|
|
15480
15677
|
"type": "string"
|
|
@@ -15907,7 +16104,11 @@
|
|
|
15907
16104
|
}
|
|
15908
16105
|
},
|
|
15909
16106
|
"config": {
|
|
15910
|
-
"
|
|
16107
|
+
"description": "Load configuration from exactly these files, in order, skipping\nuser/project discovery; each later file overrides the earlier ones.",
|
|
16108
|
+
"type": "array",
|
|
16109
|
+
"items": {
|
|
16110
|
+
"type": "string"
|
|
16111
|
+
}
|
|
15911
16112
|
},
|
|
15912
16113
|
"exclude": {
|
|
15913
16114
|
"type": "array",
|
|
@@ -15922,6 +16123,7 @@
|
|
|
15922
16123
|
}
|
|
15923
16124
|
},
|
|
15924
16125
|
"noConfig": {
|
|
16126
|
+
"description": "Ignore every configuration file and `ONEHARNESS_*` override. `true`\nbeside a non-empty `config` is refused before anything runs.",
|
|
15925
16127
|
"type": "boolean"
|
|
15926
16128
|
},
|
|
15927
16129
|
"requireAvailable": {
|
|
@@ -15938,12 +16140,17 @@
|
|
|
15938
16140
|
"type": "object",
|
|
15939
16141
|
"properties": {
|
|
15940
16142
|
"config": {
|
|
15941
|
-
"
|
|
16143
|
+
"description": "Load configuration from exactly these files, in order, skipping\nuser/project discovery; each later file overrides the earlier ones.",
|
|
16144
|
+
"type": "array",
|
|
16145
|
+
"items": {
|
|
16146
|
+
"type": "string"
|
|
16147
|
+
}
|
|
15942
16148
|
},
|
|
15943
16149
|
"cwd": {
|
|
15944
16150
|
"type": "string"
|
|
15945
16151
|
},
|
|
15946
16152
|
"noConfig": {
|
|
16153
|
+
"description": "Ignore every configuration file and `ONEHARNESS_*` override. `true`\nbeside a non-empty `config` is refused before anything runs.",
|
|
15947
16154
|
"type": "boolean"
|
|
15948
16155
|
}
|
|
15949
16156
|
},
|
|
@@ -16593,7 +16800,11 @@
|
|
|
16593
16800
|
"type": "boolean"
|
|
16594
16801
|
},
|
|
16595
16802
|
"config": {
|
|
16596
|
-
"
|
|
16803
|
+
"description": "Load configuration from exactly these files, in order, skipping\nuser/project discovery; each later file overrides the earlier ones.",
|
|
16804
|
+
"type": "array",
|
|
16805
|
+
"items": {
|
|
16806
|
+
"type": "string"
|
|
16807
|
+
}
|
|
16597
16808
|
},
|
|
16598
16809
|
"cwd": {
|
|
16599
16810
|
"type": "string"
|
|
@@ -16612,6 +16823,7 @@
|
|
|
16612
16823
|
}
|
|
16613
16824
|
},
|
|
16614
16825
|
"noConfig": {
|
|
16826
|
+
"description": "Ignore every configuration file and `ONEHARNESS_*` override. `true`\nbeside a non-empty `config` is refused before anything runs.",
|
|
16615
16827
|
"type": "boolean"
|
|
16616
16828
|
}
|
|
16617
16829
|
},
|
|
@@ -16872,7 +17084,11 @@
|
|
|
16872
17084
|
}
|
|
16873
17085
|
},
|
|
16874
17086
|
"config": {
|
|
16875
|
-
"
|
|
17087
|
+
"description": "Load configuration from exactly these files, in order, skipping\nuser/project discovery; each later file overrides the earlier ones.",
|
|
17088
|
+
"type": "array",
|
|
17089
|
+
"items": {
|
|
17090
|
+
"type": "string"
|
|
17091
|
+
}
|
|
16876
17092
|
},
|
|
16877
17093
|
"cwd": {
|
|
16878
17094
|
"type": "string"
|
|
@@ -16890,6 +17106,7 @@
|
|
|
16890
17106
|
}
|
|
16891
17107
|
},
|
|
16892
17108
|
"noConfig": {
|
|
17109
|
+
"description": "Ignore every configuration file and `ONEHARNESS_*` override. `true`\nbeside a non-empty `config` is refused before anything runs.",
|
|
16893
17110
|
"type": "boolean"
|
|
16894
17111
|
},
|
|
16895
17112
|
"timeoutSeconds": {
|
|
@@ -17612,12 +17829,17 @@
|
|
|
17612
17829
|
"type": "boolean"
|
|
17613
17830
|
},
|
|
17614
17831
|
"config": {
|
|
17615
|
-
"
|
|
17832
|
+
"description": "Load configuration from exactly these files, in order, skipping\nuser/project discovery; each later file overrides the earlier ones.",
|
|
17833
|
+
"type": "array",
|
|
17834
|
+
"items": {
|
|
17835
|
+
"type": "string"
|
|
17836
|
+
}
|
|
17616
17837
|
},
|
|
17617
17838
|
"historyDir": {
|
|
17618
17839
|
"type": "string"
|
|
17619
17840
|
},
|
|
17620
17841
|
"noConfig": {
|
|
17842
|
+
"description": "Ignore every configuration file and `ONEHARNESS_*` override. `true`\nbeside a non-empty `config` is refused before anything runs.",
|
|
17621
17843
|
"type": "boolean"
|
|
17622
17844
|
},
|
|
17623
17845
|
"project": {
|
|
@@ -17710,12 +17932,17 @@
|
|
|
17710
17932
|
"type": "object",
|
|
17711
17933
|
"properties": {
|
|
17712
17934
|
"config": {
|
|
17713
|
-
"
|
|
17935
|
+
"description": "Load configuration from exactly these files, in order, skipping\nuser/project discovery; each later file overrides the earlier ones.",
|
|
17936
|
+
"type": "array",
|
|
17937
|
+
"items": {
|
|
17938
|
+
"type": "string"
|
|
17939
|
+
}
|
|
17714
17940
|
},
|
|
17715
17941
|
"historyDir": {
|
|
17716
17942
|
"type": "string"
|
|
17717
17943
|
},
|
|
17718
17944
|
"noConfig": {
|
|
17945
|
+
"description": "Ignore every configuration file and `ONEHARNESS_*` override. `true`\nbeside a non-empty `config` is refused before anything runs.",
|
|
17719
17946
|
"type": "boolean"
|
|
17720
17947
|
}
|
|
17721
17948
|
},
|