@oneharness/sdk 0.6.10 → 0.6.11
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/contracts.d.ts +14 -7
- package/dist/generated/history-line.d.ts +22 -15
- package/dist/generated/history-records.d.ts +20 -13
- package/dist/generated/history-stream-envelope.d.ts +21 -14
- package/dist/generated/history.d.ts +20 -13
- package/dist/generated/run-stream-envelope.d.ts +14 -7
- package/dist/generated/schemas.json +228 -39
- package/dist/generated/zod.js +144 -40
- package/package.json +2 -2
|
@@ -320,6 +320,10 @@
|
|
|
320
320
|
"type": "string",
|
|
321
321
|
"const": "served"
|
|
322
322
|
},
|
|
323
|
+
"redirected": {
|
|
324
|
+
"description": "Whether a redirection was committed with the abort. Omitted when it\nwas a plain stop, so an older consumer reads the same record it\nalways did.",
|
|
325
|
+
"type": "boolean"
|
|
326
|
+
},
|
|
323
327
|
"verb": {
|
|
324
328
|
"description": "The verb requested.",
|
|
325
329
|
"$ref": "#/$defs/ControlVerb"
|
|
@@ -540,7 +544,7 @@
|
|
|
540
544
|
]
|
|
541
545
|
},
|
|
542
546
|
"FailureKind": {
|
|
543
|
-
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `tool_deferred`), so the
|
|
547
|
+
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `session_not_found`,\n`tool_deferred`), so the wire shape is unchanged — modeling it as an enum\nkeeps a misspelled or invalid kind unrepresentable and gives every\nproducer/consumer (classifier, `is_failure`, the fallback fall-through rule,\nthe report, history) one definition to share instead of scattered string\nliterals.",
|
|
544
548
|
"oneOf": [
|
|
545
549
|
{
|
|
546
550
|
"description": "Authentication / authorization rejected the request (401/403, missing or\ninvalid credentials).",
|
|
@@ -562,6 +566,11 @@
|
|
|
562
566
|
"type": "string",
|
|
563
567
|
"const": "quota"
|
|
564
568
|
},
|
|
569
|
+
{
|
|
570
|
+
"description": "The session this run asked to continue does not exist for the identity it\nran as, so the harness refused before doing any work (see\n[`unknown_session_rejection`]). Distinct from every other kind because the\ntask itself is fine: another identity — or a fresh session on this one —\ncan still run it.",
|
|
571
|
+
"type": "string",
|
|
572
|
+
"const": "session_not_found"
|
|
573
|
+
},
|
|
565
574
|
{
|
|
566
575
|
"description": "The harness deferred a builtin tool call instead of executing it, so a\nclean-exit run did no useful work (Claude Code bridge deployments; issue\n#1114). The only kind that can appear on a `status: ok` run.",
|
|
567
576
|
"type": "string",
|
|
@@ -727,7 +736,7 @@
|
|
|
727
736
|
"format": "int32"
|
|
728
737
|
},
|
|
729
738
|
"failure_kind": {
|
|
730
|
-
"description": "Best-effort failure reason; `null` when unclassified. Distinct from\n`status`, which records oneharness's relationship to the process. Two\nfamilies: coarse reasons for a non-zero run (`auth`, `rate_limit`,\n`model_not_found`, `quota`), and `tool_deferred` — a run that exited\n*cleanly* but only deferred a builtin tool call instead of executing it\n(Claude Code bridge/managed deployments), so it did no useful work. The\ndeferred case is the only `failure_kind` that can appear on a `status: ok`\nrun, and it also marks the run as failed for exit-code purposes.\nSerialized as its snake_case token (see [`FailureKind`]).",
|
|
739
|
+
"description": "Best-effort failure reason; `null` when unclassified. Distinct from\n`status`, which records oneharness's relationship to the process. Two\nfamilies: coarse reasons for a non-zero run (`auth`, `rate_limit`,\n`model_not_found`, `quota`, `session_not_found`), and `tool_deferred` — a run that exited\n*cleanly* but only deferred a builtin tool call instead of executing it\n(Claude Code bridge/managed deployments), so it did no useful work. The\ndeferred case is the only `failure_kind` that can appear on a `status: ok`\nrun, and it also marks the run as failed for exit-code purposes.\nSerialized as its snake_case token (see [`FailureKind`]).",
|
|
731
740
|
"anyOf": [
|
|
732
741
|
{
|
|
733
742
|
"$ref": "#/$defs/FailureKind"
|
|
@@ -1262,6 +1271,10 @@
|
|
|
1262
1271
|
"type": "string",
|
|
1263
1272
|
"const": "served"
|
|
1264
1273
|
},
|
|
1274
|
+
"redirected": {
|
|
1275
|
+
"description": "Whether a redirection was committed with the abort. Omitted when it\nwas a plain stop, so an older consumer reads the same record it\nalways did.",
|
|
1276
|
+
"type": "boolean"
|
|
1277
|
+
},
|
|
1265
1278
|
"verb": {
|
|
1266
1279
|
"description": "The verb requested.",
|
|
1267
1280
|
"$ref": "#/$defs/ControlVerb"
|
|
@@ -1482,7 +1495,7 @@
|
|
|
1482
1495
|
]
|
|
1483
1496
|
},
|
|
1484
1497
|
"FailureKind": {
|
|
1485
|
-
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `tool_deferred`), so the
|
|
1498
|
+
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `session_not_found`,\n`tool_deferred`), so the wire shape is unchanged — modeling it as an enum\nkeeps a misspelled or invalid kind unrepresentable and gives every\nproducer/consumer (classifier, `is_failure`, the fallback fall-through rule,\nthe report, history) one definition to share instead of scattered string\nliterals.",
|
|
1486
1499
|
"oneOf": [
|
|
1487
1500
|
{
|
|
1488
1501
|
"description": "Authentication / authorization rejected the request (401/403, missing or\ninvalid credentials).",
|
|
@@ -1504,6 +1517,11 @@
|
|
|
1504
1517
|
"type": "string",
|
|
1505
1518
|
"const": "quota"
|
|
1506
1519
|
},
|
|
1520
|
+
{
|
|
1521
|
+
"description": "The session this run asked to continue does not exist for the identity it\nran as, so the harness refused before doing any work (see\n[`unknown_session_rejection`]). Distinct from every other kind because the\ntask itself is fine: another identity — or a fresh session on this one —\ncan still run it.",
|
|
1522
|
+
"type": "string",
|
|
1523
|
+
"const": "session_not_found"
|
|
1524
|
+
},
|
|
1507
1525
|
{
|
|
1508
1526
|
"description": "The harness deferred a builtin tool call instead of executing it, so a\nclean-exit run did no useful work (Claude Code bridge deployments; issue\n#1114). The only kind that can appear on a `status: ok` run.",
|
|
1509
1527
|
"type": "string",
|
|
@@ -1833,7 +1851,7 @@
|
|
|
1833
1851
|
"format": "int32"
|
|
1834
1852
|
},
|
|
1835
1853
|
"failure_kind": {
|
|
1836
|
-
"description": "Best-effort failure reason; `null` when unclassified. Distinct from\n`status`, which records oneharness's relationship to the process. Two\nfamilies: coarse reasons for a non-zero run (`auth`, `rate_limit`,\n`model_not_found`, `quota`), and `tool_deferred` — a run that exited\n*cleanly* but only deferred a builtin tool call instead of executing it\n(Claude Code bridge/managed deployments), so it did no useful work. The\ndeferred case is the only `failure_kind` that can appear on a `status: ok`\nrun, and it also marks the run as failed for exit-code purposes.\nSerialized as its snake_case token (see [`FailureKind`]).",
|
|
1854
|
+
"description": "Best-effort failure reason; `null` when unclassified. Distinct from\n`status`, which records oneharness's relationship to the process. Two\nfamilies: coarse reasons for a non-zero run (`auth`, `rate_limit`,\n`model_not_found`, `quota`, `session_not_found`), and `tool_deferred` — a run that exited\n*cleanly* but only deferred a builtin tool call instead of executing it\n(Claude Code bridge/managed deployments), so it did no useful work. The\ndeferred case is the only `failure_kind` that can appear on a `status: ok`\nrun, and it also marks the run as failed for exit-code purposes.\nSerialized as its snake_case token (see [`FailureKind`]).",
|
|
1837
1855
|
"anyOf": [
|
|
1838
1856
|
{
|
|
1839
1857
|
"$ref": "#/$defs/FailureKind"
|
|
@@ -2490,7 +2508,8 @@
|
|
|
2490
2508
|
"enum": [
|
|
2491
2509
|
"1.2",
|
|
2492
2510
|
"1.3",
|
|
2493
|
-
"1.4"
|
|
2511
|
+
"1.4",
|
|
2512
|
+
"1.5"
|
|
2494
2513
|
]
|
|
2495
2514
|
},
|
|
2496
2515
|
"type": {
|
|
@@ -2606,7 +2625,8 @@
|
|
|
2606
2625
|
"type": "string",
|
|
2607
2626
|
"enum": [
|
|
2608
2627
|
"1.3",
|
|
2609
|
-
"1.4"
|
|
2628
|
+
"1.4",
|
|
2629
|
+
"1.5"
|
|
2610
2630
|
]
|
|
2611
2631
|
}
|
|
2612
2632
|
},
|
|
@@ -2672,7 +2692,38 @@
|
|
|
2672
2692
|
"schema_version": {
|
|
2673
2693
|
"type": "string",
|
|
2674
2694
|
"enum": [
|
|
2675
|
-
"1.4"
|
|
2695
|
+
"1.4",
|
|
2696
|
+
"1.5"
|
|
2697
|
+
]
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
}
|
|
2701
|
+
]
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
"anyOf": [
|
|
2705
|
+
{
|
|
2706
|
+
"type": "object",
|
|
2707
|
+
"properties": {
|
|
2708
|
+
"failure_kind": {
|
|
2709
|
+
"enum": [
|
|
2710
|
+
"auth",
|
|
2711
|
+
"rate_limit",
|
|
2712
|
+
"model_not_found",
|
|
2713
|
+
"quota",
|
|
2714
|
+
"tool_deferred",
|
|
2715
|
+
null
|
|
2716
|
+
]
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"type": "object",
|
|
2722
|
+
"properties": {
|
|
2723
|
+
"schema_version": {
|
|
2724
|
+
"type": "string",
|
|
2725
|
+
"enum": [
|
|
2726
|
+
"1.5"
|
|
2676
2727
|
]
|
|
2677
2728
|
}
|
|
2678
2729
|
}
|
|
@@ -2768,7 +2819,8 @@
|
|
|
2768
2819
|
"1.1",
|
|
2769
2820
|
"1.2",
|
|
2770
2821
|
"1.3",
|
|
2771
|
-
"1.4"
|
|
2822
|
+
"1.4",
|
|
2823
|
+
"1.5"
|
|
2772
2824
|
]
|
|
2773
2825
|
},
|
|
2774
2826
|
"session": {
|
|
@@ -2950,7 +3002,8 @@
|
|
|
2950
3002
|
"1.1",
|
|
2951
3003
|
"1.2",
|
|
2952
3004
|
"1.3",
|
|
2953
|
-
"1.4"
|
|
3005
|
+
"1.4",
|
|
3006
|
+
"1.5"
|
|
2954
3007
|
]
|
|
2955
3008
|
},
|
|
2956
3009
|
"session": {
|
|
@@ -3130,7 +3183,8 @@
|
|
|
3130
3183
|
"enum": [
|
|
3131
3184
|
"1.2",
|
|
3132
3185
|
"1.3",
|
|
3133
|
-
"1.4"
|
|
3186
|
+
"1.4",
|
|
3187
|
+
"1.5"
|
|
3134
3188
|
]
|
|
3135
3189
|
},
|
|
3136
3190
|
"session": {
|
|
@@ -3291,7 +3345,8 @@
|
|
|
3291
3345
|
"1.1",
|
|
3292
3346
|
"1.2",
|
|
3293
3347
|
"1.3",
|
|
3294
|
-
"1.4"
|
|
3348
|
+
"1.4",
|
|
3349
|
+
"1.5"
|
|
3295
3350
|
]
|
|
3296
3351
|
},
|
|
3297
3352
|
"session": {
|
|
@@ -3451,7 +3506,8 @@
|
|
|
3451
3506
|
"type": "string",
|
|
3452
3507
|
"enum": [
|
|
3453
3508
|
"1.3",
|
|
3454
|
-
"1.4"
|
|
3509
|
+
"1.4",
|
|
3510
|
+
"1.5"
|
|
3455
3511
|
]
|
|
3456
3512
|
},
|
|
3457
3513
|
"session": {
|
|
@@ -3628,7 +3684,8 @@
|
|
|
3628
3684
|
"1.1",
|
|
3629
3685
|
"1.2",
|
|
3630
3686
|
"1.3",
|
|
3631
|
-
"1.4"
|
|
3687
|
+
"1.4",
|
|
3688
|
+
"1.5"
|
|
3632
3689
|
]
|
|
3633
3690
|
},
|
|
3634
3691
|
"session": {
|
|
@@ -3807,7 +3864,7 @@
|
|
|
3807
3864
|
]
|
|
3808
3865
|
},
|
|
3809
3866
|
"FailureKind": {
|
|
3810
|
-
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `tool_deferred`), so the
|
|
3867
|
+
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `session_not_found`,\n`tool_deferred`), so the wire shape is unchanged — modeling it as an enum\nkeeps a misspelled or invalid kind unrepresentable and gives every\nproducer/consumer (classifier, `is_failure`, the fallback fall-through rule,\nthe report, history) one definition to share instead of scattered string\nliterals.",
|
|
3811
3868
|
"oneOf": [
|
|
3812
3869
|
{
|
|
3813
3870
|
"description": "Authentication / authorization rejected the request (401/403, missing or\ninvalid credentials).",
|
|
@@ -3829,6 +3886,11 @@
|
|
|
3829
3886
|
"type": "string",
|
|
3830
3887
|
"const": "quota"
|
|
3831
3888
|
},
|
|
3889
|
+
{
|
|
3890
|
+
"description": "The session this run asked to continue does not exist for the identity it\nran as, so the harness refused before doing any work (see\n[`unknown_session_rejection`]). Distinct from every other kind because the\ntask itself is fine: another identity — or a fresh session on this one —\ncan still run it.",
|
|
3891
|
+
"type": "string",
|
|
3892
|
+
"const": "session_not_found"
|
|
3893
|
+
},
|
|
3832
3894
|
{
|
|
3833
3895
|
"description": "The harness deferred a builtin tool call instead of executing it, so a\nclean-exit run did no useful work (Claude Code bridge deployments; issue\n#1114). The only kind that can appear on a `status: ok` run.",
|
|
3834
3896
|
"type": "string",
|
|
@@ -4040,7 +4102,8 @@
|
|
|
4040
4102
|
"type": "string",
|
|
4041
4103
|
"enum": [
|
|
4042
4104
|
"1.3",
|
|
4043
|
-
"1.4"
|
|
4105
|
+
"1.4",
|
|
4106
|
+
"1.5"
|
|
4044
4107
|
]
|
|
4045
4108
|
}
|
|
4046
4109
|
},
|
|
@@ -4106,7 +4169,38 @@
|
|
|
4106
4169
|
"schema_version": {
|
|
4107
4170
|
"type": "string",
|
|
4108
4171
|
"enum": [
|
|
4109
|
-
"1.4"
|
|
4172
|
+
"1.4",
|
|
4173
|
+
"1.5"
|
|
4174
|
+
]
|
|
4175
|
+
}
|
|
4176
|
+
}
|
|
4177
|
+
}
|
|
4178
|
+
]
|
|
4179
|
+
},
|
|
4180
|
+
{
|
|
4181
|
+
"anyOf": [
|
|
4182
|
+
{
|
|
4183
|
+
"type": "object",
|
|
4184
|
+
"properties": {
|
|
4185
|
+
"failure_kind": {
|
|
4186
|
+
"enum": [
|
|
4187
|
+
"auth",
|
|
4188
|
+
"rate_limit",
|
|
4189
|
+
"model_not_found",
|
|
4190
|
+
"quota",
|
|
4191
|
+
"tool_deferred",
|
|
4192
|
+
null
|
|
4193
|
+
]
|
|
4194
|
+
}
|
|
4195
|
+
}
|
|
4196
|
+
},
|
|
4197
|
+
{
|
|
4198
|
+
"type": "object",
|
|
4199
|
+
"properties": {
|
|
4200
|
+
"schema_version": {
|
|
4201
|
+
"type": "string",
|
|
4202
|
+
"enum": [
|
|
4203
|
+
"1.5"
|
|
4110
4204
|
]
|
|
4111
4205
|
}
|
|
4112
4206
|
}
|
|
@@ -4383,7 +4477,8 @@
|
|
|
4383
4477
|
"enum": [
|
|
4384
4478
|
"1.2",
|
|
4385
4479
|
"1.3",
|
|
4386
|
-
"1.4"
|
|
4480
|
+
"1.4",
|
|
4481
|
+
"1.5"
|
|
4387
4482
|
]
|
|
4388
4483
|
},
|
|
4389
4484
|
"session": {
|
|
@@ -4983,7 +5078,8 @@
|
|
|
4983
5078
|
"enum": [
|
|
4984
5079
|
"1.2",
|
|
4985
5080
|
"1.3",
|
|
4986
|
-
"1.4"
|
|
5081
|
+
"1.4",
|
|
5082
|
+
"1.5"
|
|
4987
5083
|
]
|
|
4988
5084
|
},
|
|
4989
5085
|
"session": {
|
|
@@ -5158,7 +5254,8 @@
|
|
|
5158
5254
|
"enum": [
|
|
5159
5255
|
"1.2",
|
|
5160
5256
|
"1.3",
|
|
5161
|
-
"1.4"
|
|
5257
|
+
"1.4",
|
|
5258
|
+
"1.5"
|
|
5162
5259
|
]
|
|
5163
5260
|
},
|
|
5164
5261
|
"session": {
|
|
@@ -5331,7 +5428,8 @@
|
|
|
5331
5428
|
"enum": [
|
|
5332
5429
|
"1.2",
|
|
5333
5430
|
"1.3",
|
|
5334
|
-
"1.4"
|
|
5431
|
+
"1.4",
|
|
5432
|
+
"1.5"
|
|
5335
5433
|
]
|
|
5336
5434
|
},
|
|
5337
5435
|
"session": {
|
|
@@ -5505,7 +5603,8 @@
|
|
|
5505
5603
|
"type": "string",
|
|
5506
5604
|
"enum": [
|
|
5507
5605
|
"1.3",
|
|
5508
|
-
"1.4"
|
|
5606
|
+
"1.4",
|
|
5607
|
+
"1.5"
|
|
5509
5608
|
]
|
|
5510
5609
|
},
|
|
5511
5610
|
"session": {
|
|
@@ -6348,7 +6447,7 @@
|
|
|
6348
6447
|
]
|
|
6349
6448
|
},
|
|
6350
6449
|
"FailureKind": {
|
|
6351
|
-
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `tool_deferred`), so the
|
|
6450
|
+
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `session_not_found`,\n`tool_deferred`), so the wire shape is unchanged — modeling it as an enum\nkeeps a misspelled or invalid kind unrepresentable and gives every\nproducer/consumer (classifier, `is_failure`, the fallback fall-through rule,\nthe report, history) one definition to share instead of scattered string\nliterals.",
|
|
6352
6451
|
"oneOf": [
|
|
6353
6452
|
{
|
|
6354
6453
|
"description": "Authentication / authorization rejected the request (401/403, missing or\ninvalid credentials).",
|
|
@@ -6370,6 +6469,11 @@
|
|
|
6370
6469
|
"type": "string",
|
|
6371
6470
|
"const": "quota"
|
|
6372
6471
|
},
|
|
6472
|
+
{
|
|
6473
|
+
"description": "The session this run asked to continue does not exist for the identity it\nran as, so the harness refused before doing any work (see\n[`unknown_session_rejection`]). Distinct from every other kind because the\ntask itself is fine: another identity — or a fresh session on this one —\ncan still run it.",
|
|
6474
|
+
"type": "string",
|
|
6475
|
+
"const": "session_not_found"
|
|
6476
|
+
},
|
|
6373
6477
|
{
|
|
6374
6478
|
"description": "The harness deferred a builtin tool call instead of executing it, so a\nclean-exit run did no useful work (Claude Code bridge deployments; issue\n#1114). The only kind that can appear on a `status: ok` run.",
|
|
6375
6479
|
"type": "string",
|
|
@@ -6692,7 +6796,7 @@
|
|
|
6692
6796
|
]
|
|
6693
6797
|
},
|
|
6694
6798
|
"FailureKind": {
|
|
6695
|
-
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `tool_deferred`), so the
|
|
6799
|
+
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `session_not_found`,\n`tool_deferred`), so the wire shape is unchanged — modeling it as an enum\nkeeps a misspelled or invalid kind unrepresentable and gives every\nproducer/consumer (classifier, `is_failure`, the fallback fall-through rule,\nthe report, history) one definition to share instead of scattered string\nliterals.",
|
|
6696
6800
|
"oneOf": [
|
|
6697
6801
|
{
|
|
6698
6802
|
"description": "Authentication / authorization rejected the request (401/403, missing or\ninvalid credentials).",
|
|
@@ -6714,6 +6818,11 @@
|
|
|
6714
6818
|
"type": "string",
|
|
6715
6819
|
"const": "quota"
|
|
6716
6820
|
},
|
|
6821
|
+
{
|
|
6822
|
+
"description": "The session this run asked to continue does not exist for the identity it\nran as, so the harness refused before doing any work (see\n[`unknown_session_rejection`]). Distinct from every other kind because the\ntask itself is fine: another identity — or a fresh session on this one —\ncan still run it.",
|
|
6823
|
+
"type": "string",
|
|
6824
|
+
"const": "session_not_found"
|
|
6825
|
+
},
|
|
6717
6826
|
{
|
|
6718
6827
|
"description": "The harness deferred a builtin tool call instead of executing it, so a\nclean-exit run did no useful work (Claude Code bridge deployments; issue\n#1114). The only kind that can appear on a `status: ok` run.",
|
|
6719
6828
|
"type": "string",
|
|
@@ -6752,7 +6861,8 @@
|
|
|
6752
6861
|
"enum": [
|
|
6753
6862
|
"1.2",
|
|
6754
6863
|
"1.3",
|
|
6755
|
-
"1.4"
|
|
6864
|
+
"1.4",
|
|
6865
|
+
"1.5"
|
|
6756
6866
|
]
|
|
6757
6867
|
},
|
|
6758
6868
|
"variant": {
|
|
@@ -6874,7 +6984,8 @@
|
|
|
6874
6984
|
"type": "string",
|
|
6875
6985
|
"enum": [
|
|
6876
6986
|
"1.3",
|
|
6877
|
-
"1.4"
|
|
6987
|
+
"1.4",
|
|
6988
|
+
"1.5"
|
|
6878
6989
|
]
|
|
6879
6990
|
}
|
|
6880
6991
|
},
|
|
@@ -6940,7 +7051,38 @@
|
|
|
6940
7051
|
"schema_version": {
|
|
6941
7052
|
"type": "string",
|
|
6942
7053
|
"enum": [
|
|
6943
|
-
"1.4"
|
|
7054
|
+
"1.4",
|
|
7055
|
+
"1.5"
|
|
7056
|
+
]
|
|
7057
|
+
}
|
|
7058
|
+
}
|
|
7059
|
+
}
|
|
7060
|
+
]
|
|
7061
|
+
},
|
|
7062
|
+
{
|
|
7063
|
+
"anyOf": [
|
|
7064
|
+
{
|
|
7065
|
+
"type": "object",
|
|
7066
|
+
"properties": {
|
|
7067
|
+
"failure_kind": {
|
|
7068
|
+
"enum": [
|
|
7069
|
+
"auth",
|
|
7070
|
+
"rate_limit",
|
|
7071
|
+
"model_not_found",
|
|
7072
|
+
"quota",
|
|
7073
|
+
"tool_deferred",
|
|
7074
|
+
null
|
|
7075
|
+
]
|
|
7076
|
+
}
|
|
7077
|
+
}
|
|
7078
|
+
},
|
|
7079
|
+
{
|
|
7080
|
+
"type": "object",
|
|
7081
|
+
"properties": {
|
|
7082
|
+
"schema_version": {
|
|
7083
|
+
"type": "string",
|
|
7084
|
+
"enum": [
|
|
7085
|
+
"1.5"
|
|
6944
7086
|
]
|
|
6945
7087
|
}
|
|
6946
7088
|
}
|
|
@@ -7217,7 +7359,8 @@
|
|
|
7217
7359
|
"enum": [
|
|
7218
7360
|
"1.2",
|
|
7219
7361
|
"1.3",
|
|
7220
|
-
"1.4"
|
|
7362
|
+
"1.4",
|
|
7363
|
+
"1.5"
|
|
7221
7364
|
]
|
|
7222
7365
|
},
|
|
7223
7366
|
"session": {
|
|
@@ -7817,7 +7960,8 @@
|
|
|
7817
7960
|
"enum": [
|
|
7818
7961
|
"1.2",
|
|
7819
7962
|
"1.3",
|
|
7820
|
-
"1.4"
|
|
7963
|
+
"1.4",
|
|
7964
|
+
"1.5"
|
|
7821
7965
|
]
|
|
7822
7966
|
},
|
|
7823
7967
|
"session": {
|
|
@@ -7992,7 +8136,8 @@
|
|
|
7992
8136
|
"enum": [
|
|
7993
8137
|
"1.2",
|
|
7994
8138
|
"1.3",
|
|
7995
|
-
"1.4"
|
|
8139
|
+
"1.4",
|
|
8140
|
+
"1.5"
|
|
7996
8141
|
]
|
|
7997
8142
|
},
|
|
7998
8143
|
"session": {
|
|
@@ -8165,7 +8310,8 @@
|
|
|
8165
8310
|
"enum": [
|
|
8166
8311
|
"1.2",
|
|
8167
8312
|
"1.3",
|
|
8168
|
-
"1.4"
|
|
8313
|
+
"1.4",
|
|
8314
|
+
"1.5"
|
|
8169
8315
|
]
|
|
8170
8316
|
},
|
|
8171
8317
|
"session": {
|
|
@@ -8339,7 +8485,8 @@
|
|
|
8339
8485
|
"type": "string",
|
|
8340
8486
|
"enum": [
|
|
8341
8487
|
"1.3",
|
|
8342
|
-
"1.4"
|
|
8488
|
+
"1.4",
|
|
8489
|
+
"1.5"
|
|
8343
8490
|
]
|
|
8344
8491
|
},
|
|
8345
8492
|
"session": {
|
|
@@ -9348,7 +9495,7 @@
|
|
|
9348
9495
|
]
|
|
9349
9496
|
},
|
|
9350
9497
|
"FailureKind": {
|
|
9351
|
-
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `tool_deferred`), so the
|
|
9498
|
+
"description": "The normalized, closed set of failure reasons oneharness can classify from a\nharness's output. It is the single source for the `failure_kind` contract\nvalue: serialized as the snake_case token a consumer reads in the report\n(`auth`, `rate_limit`, `model_not_found`, `quota`, `session_not_found`,\n`tool_deferred`), so the wire shape is unchanged — modeling it as an enum\nkeeps a misspelled or invalid kind unrepresentable and gives every\nproducer/consumer (classifier, `is_failure`, the fallback fall-through rule,\nthe report, history) one definition to share instead of scattered string\nliterals.",
|
|
9352
9499
|
"oneOf": [
|
|
9353
9500
|
{
|
|
9354
9501
|
"description": "Authentication / authorization rejected the request (401/403, missing or\ninvalid credentials).",
|
|
@@ -9370,6 +9517,11 @@
|
|
|
9370
9517
|
"type": "string",
|
|
9371
9518
|
"const": "quota"
|
|
9372
9519
|
},
|
|
9520
|
+
{
|
|
9521
|
+
"description": "The session this run asked to continue does not exist for the identity it\nran as, so the harness refused before doing any work (see\n[`unknown_session_rejection`]). Distinct from every other kind because the\ntask itself is fine: another identity — or a fresh session on this one —\ncan still run it.",
|
|
9522
|
+
"type": "string",
|
|
9523
|
+
"const": "session_not_found"
|
|
9524
|
+
},
|
|
9373
9525
|
{
|
|
9374
9526
|
"description": "The harness deferred a builtin tool call instead of executing it, so a\nclean-exit run did no useful work (Claude Code bridge deployments; issue\n#1114). The only kind that can appear on a `status: ok` run.",
|
|
9375
9527
|
"type": "string",
|
|
@@ -9421,7 +9573,8 @@
|
|
|
9421
9573
|
"type": "string",
|
|
9422
9574
|
"enum": [
|
|
9423
9575
|
"1.3",
|
|
9424
|
-
"1.4"
|
|
9576
|
+
"1.4",
|
|
9577
|
+
"1.5"
|
|
9425
9578
|
]
|
|
9426
9579
|
}
|
|
9427
9580
|
},
|
|
@@ -9487,7 +9640,38 @@
|
|
|
9487
9640
|
"schema_version": {
|
|
9488
9641
|
"type": "string",
|
|
9489
9642
|
"enum": [
|
|
9490
|
-
"1.4"
|
|
9643
|
+
"1.4",
|
|
9644
|
+
"1.5"
|
|
9645
|
+
]
|
|
9646
|
+
}
|
|
9647
|
+
}
|
|
9648
|
+
}
|
|
9649
|
+
]
|
|
9650
|
+
},
|
|
9651
|
+
{
|
|
9652
|
+
"anyOf": [
|
|
9653
|
+
{
|
|
9654
|
+
"type": "object",
|
|
9655
|
+
"properties": {
|
|
9656
|
+
"failure_kind": {
|
|
9657
|
+
"enum": [
|
|
9658
|
+
"auth",
|
|
9659
|
+
"rate_limit",
|
|
9660
|
+
"model_not_found",
|
|
9661
|
+
"quota",
|
|
9662
|
+
"tool_deferred",
|
|
9663
|
+
null
|
|
9664
|
+
]
|
|
9665
|
+
}
|
|
9666
|
+
}
|
|
9667
|
+
},
|
|
9668
|
+
{
|
|
9669
|
+
"type": "object",
|
|
9670
|
+
"properties": {
|
|
9671
|
+
"schema_version": {
|
|
9672
|
+
"type": "string",
|
|
9673
|
+
"enum": [
|
|
9674
|
+
"1.5"
|
|
9491
9675
|
]
|
|
9492
9676
|
}
|
|
9493
9677
|
}
|
|
@@ -9764,7 +9948,8 @@
|
|
|
9764
9948
|
"enum": [
|
|
9765
9949
|
"1.2",
|
|
9766
9950
|
"1.3",
|
|
9767
|
-
"1.4"
|
|
9951
|
+
"1.4",
|
|
9952
|
+
"1.5"
|
|
9768
9953
|
]
|
|
9769
9954
|
},
|
|
9770
9955
|
"session": {
|
|
@@ -10364,7 +10549,8 @@
|
|
|
10364
10549
|
"enum": [
|
|
10365
10550
|
"1.2",
|
|
10366
10551
|
"1.3",
|
|
10367
|
-
"1.4"
|
|
10552
|
+
"1.4",
|
|
10553
|
+
"1.5"
|
|
10368
10554
|
]
|
|
10369
10555
|
},
|
|
10370
10556
|
"session": {
|
|
@@ -10539,7 +10725,8 @@
|
|
|
10539
10725
|
"enum": [
|
|
10540
10726
|
"1.2",
|
|
10541
10727
|
"1.3",
|
|
10542
|
-
"1.4"
|
|
10728
|
+
"1.4",
|
|
10729
|
+
"1.5"
|
|
10543
10730
|
]
|
|
10544
10731
|
},
|
|
10545
10732
|
"session": {
|
|
@@ -10712,7 +10899,8 @@
|
|
|
10712
10899
|
"enum": [
|
|
10713
10900
|
"1.2",
|
|
10714
10901
|
"1.3",
|
|
10715
|
-
"1.4"
|
|
10902
|
+
"1.4",
|
|
10903
|
+
"1.5"
|
|
10716
10904
|
]
|
|
10717
10905
|
},
|
|
10718
10906
|
"session": {
|
|
@@ -10886,7 +11074,8 @@
|
|
|
10886
11074
|
"type": "string",
|
|
10887
11075
|
"enum": [
|
|
10888
11076
|
"1.3",
|
|
10889
|
-
"1.4"
|
|
11077
|
+
"1.4",
|
|
11078
|
+
"1.5"
|
|
10890
11079
|
]
|
|
10891
11080
|
},
|
|
10892
11081
|
"session": {
|