inspect-ai 0.3.93__py3-none-any.whl → 0.3.95__py3-none-any.whl
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.
- inspect_ai/_display/textual/widgets/samples.py +3 -3
- inspect_ai/_display/textual/widgets/transcript.py +3 -29
- inspect_ai/_eval/loader.py +1 -1
- inspect_ai/_eval/task/run.py +21 -12
- inspect_ai/_util/answer.py +26 -0
- inspect_ai/_util/constants.py +0 -1
- inspect_ai/_util/exception.py +4 -0
- inspect_ai/_util/hash.py +39 -0
- inspect_ai/_util/local_server.py +51 -21
- inspect_ai/_util/path.py +22 -0
- inspect_ai/_util/trace.py +1 -1
- inspect_ai/_util/working.py +4 -0
- inspect_ai/_view/www/dist/assets/index.css +23 -22
- inspect_ai/_view/www/dist/assets/index.js +517 -204
- inspect_ai/_view/www/log-schema.json +375 -0
- inspect_ai/_view/www/package.json +1 -1
- inspect_ai/_view/www/src/@types/log.d.ts +90 -12
- inspect_ai/_view/www/src/app/log-view/navbar/SecondaryBar.tsx +2 -2
- inspect_ai/_view/www/src/app/log-view/tabs/SamplesTab.tsx +1 -4
- inspect_ai/_view/www/src/app/samples/SamplesTools.tsx +3 -13
- inspect_ai/_view/www/src/app/samples/sample-tools/SelectScorer.tsx +45 -48
- inspect_ai/_view/www/src/app/samples/sample-tools/filters.ts +16 -15
- inspect_ai/_view/www/src/app/samples/sample-tools/sample-filter/SampleFilter.tsx +47 -75
- inspect_ai/_view/www/src/app/samples/sample-tools/sample-filter/completions.ts +9 -9
- inspect_ai/_view/www/src/app/samples/transcript/SandboxEventView.module.css +2 -1
- inspect_ai/_view/www/src/app/samples/transcript/SpanEventView.tsx +174 -0
- inspect_ai/_view/www/src/app/samples/transcript/ToolEventView.tsx +8 -8
- inspect_ai/_view/www/src/app/samples/transcript/TranscriptView.tsx +12 -2
- inspect_ai/_view/www/src/app/samples/transcript/TranscriptVirtualListComponent.module.css +1 -1
- inspect_ai/_view/www/src/app/samples/transcript/event/EventPanel.tsx +0 -3
- inspect_ai/_view/www/src/app/samples/transcript/transform/fixups.ts +87 -25
- inspect_ai/_view/www/src/app/samples/transcript/transform/treeify.ts +229 -17
- inspect_ai/_view/www/src/app/samples/transcript/transform/utils.ts +11 -0
- inspect_ai/_view/www/src/app/samples/transcript/types.ts +5 -1
- inspect_ai/_view/www/src/app/types.ts +12 -2
- inspect_ai/_view/www/src/components/ExpandablePanel.module.css +1 -1
- inspect_ai/_view/www/src/components/ExpandablePanel.tsx +5 -5
- inspect_ai/_view/www/src/state/hooks.ts +19 -3
- inspect_ai/_view/www/src/state/logSlice.ts +23 -5
- inspect_ai/_view/www/yarn.lock +9 -9
- inspect_ai/agent/_as_solver.py +3 -1
- inspect_ai/agent/_as_tool.py +6 -4
- inspect_ai/agent/_bridge/patch.py +1 -3
- inspect_ai/agent/_handoff.py +5 -1
- inspect_ai/agent/_react.py +4 -3
- inspect_ai/agent/_run.py +6 -1
- inspect_ai/agent/_types.py +9 -0
- inspect_ai/analysis/__init__.py +0 -0
- inspect_ai/analysis/beta/__init__.py +57 -0
- inspect_ai/analysis/beta/_dataframe/__init__.py +0 -0
- inspect_ai/analysis/beta/_dataframe/columns.py +145 -0
- inspect_ai/analysis/beta/_dataframe/evals/__init__.py +0 -0
- inspect_ai/analysis/beta/_dataframe/evals/columns.py +132 -0
- inspect_ai/analysis/beta/_dataframe/evals/extract.py +23 -0
- inspect_ai/analysis/beta/_dataframe/evals/table.py +140 -0
- inspect_ai/analysis/beta/_dataframe/events/__init__.py +0 -0
- inspect_ai/analysis/beta/_dataframe/events/columns.py +37 -0
- inspect_ai/analysis/beta/_dataframe/events/table.py +14 -0
- inspect_ai/analysis/beta/_dataframe/extract.py +54 -0
- inspect_ai/analysis/beta/_dataframe/messages/__init__.py +0 -0
- inspect_ai/analysis/beta/_dataframe/messages/columns.py +60 -0
- inspect_ai/analysis/beta/_dataframe/messages/extract.py +21 -0
- inspect_ai/analysis/beta/_dataframe/messages/table.py +87 -0
- inspect_ai/analysis/beta/_dataframe/record.py +377 -0
- inspect_ai/analysis/beta/_dataframe/samples/__init__.py +0 -0
- inspect_ai/analysis/beta/_dataframe/samples/columns.py +73 -0
- inspect_ai/analysis/beta/_dataframe/samples/extract.py +82 -0
- inspect_ai/analysis/beta/_dataframe/samples/table.py +329 -0
- inspect_ai/analysis/beta/_dataframe/util.py +157 -0
- inspect_ai/analysis/beta/_dataframe/validate.py +171 -0
- inspect_ai/dataset/_dataset.py +6 -3
- inspect_ai/log/__init__.py +10 -0
- inspect_ai/log/_convert.py +4 -9
- inspect_ai/log/_file.py +1 -1
- inspect_ai/log/_log.py +21 -1
- inspect_ai/log/_samples.py +14 -17
- inspect_ai/log/_transcript.py +77 -35
- inspect_ai/log/_tree.py +118 -0
- inspect_ai/model/_call_tools.py +44 -35
- inspect_ai/model/_model.py +51 -44
- inspect_ai/model/_openai_responses.py +17 -18
- inspect_ai/model/_providers/anthropic.py +30 -5
- inspect_ai/model/_providers/hf.py +27 -1
- inspect_ai/model/_providers/providers.py +1 -1
- inspect_ai/model/_providers/sglang.py +8 -2
- inspect_ai/model/_providers/vllm.py +6 -2
- inspect_ai/scorer/_choice.py +1 -2
- inspect_ai/solver/_chain.py +1 -1
- inspect_ai/solver/_fork.py +1 -1
- inspect_ai/solver/_multiple_choice.py +9 -23
- inspect_ai/solver/_plan.py +2 -2
- inspect_ai/solver/_task_state.py +7 -3
- inspect_ai/solver/_transcript.py +6 -7
- inspect_ai/tool/_mcp/_context.py +3 -5
- inspect_ai/tool/_mcp/_mcp.py +6 -5
- inspect_ai/tool/_mcp/server.py +1 -1
- inspect_ai/tool/_tools/_execute.py +4 -1
- inspect_ai/tool/_tools/_think.py +1 -1
- inspect_ai/tool/_tools/_web_search/__init__.py +3 -0
- inspect_ai/tool/_tools/{_web_search.py → _web_search/_google.py} +56 -103
- inspect_ai/tool/_tools/_web_search/_tavily.py +77 -0
- inspect_ai/tool/_tools/_web_search/_web_search.py +85 -0
- inspect_ai/util/__init__.py +4 -0
- inspect_ai/util/_anyio.py +11 -0
- inspect_ai/util/_collect.py +50 -0
- inspect_ai/util/_sandbox/events.py +3 -2
- inspect_ai/util/_span.py +58 -0
- inspect_ai/util/_subtask.py +27 -42
- {inspect_ai-0.3.93.dist-info → inspect_ai-0.3.95.dist-info}/METADATA +8 -1
- {inspect_ai-0.3.93.dist-info → inspect_ai-0.3.95.dist-info}/RECORD +114 -82
- {inspect_ai-0.3.93.dist-info → inspect_ai-0.3.95.dist-info}/WHEEL +1 -1
- inspect_ai/_display/core/group.py +0 -79
- {inspect_ai-0.3.93.dist-info → inspect_ai-0.3.95.dist-info}/entry_points.txt +0 -0
- {inspect_ai-0.3.93.dist-info → inspect_ai-0.3.95.dist-info}/licenses/LICENSE +0 -0
- {inspect_ai-0.3.93.dist-info → inspect_ai-0.3.95.dist-info}/top_level.txt +0 -0
@@ -3,6 +3,18 @@
|
|
3
3
|
"ApprovalEvent": {
|
4
4
|
"description": "Tool approval.",
|
5
5
|
"properties": {
|
6
|
+
"span_id": {
|
7
|
+
"anyOf": [
|
8
|
+
{
|
9
|
+
"type": "string"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"type": "null"
|
13
|
+
}
|
14
|
+
],
|
15
|
+
"default": null,
|
16
|
+
"title": "Span Id"
|
17
|
+
},
|
6
18
|
"timestamp": {
|
7
19
|
"format": "date-time",
|
8
20
|
"title": "Timestamp",
|
@@ -88,6 +100,7 @@
|
|
88
100
|
}
|
89
101
|
},
|
90
102
|
"required": [
|
103
|
+
"span_id",
|
91
104
|
"timestamp",
|
92
105
|
"working_start",
|
93
106
|
"pending",
|
@@ -815,6 +828,18 @@
|
|
815
828
|
"ErrorEvent": {
|
816
829
|
"description": "Event with sample error.",
|
817
830
|
"properties": {
|
831
|
+
"span_id": {
|
832
|
+
"anyOf": [
|
833
|
+
{
|
834
|
+
"type": "string"
|
835
|
+
},
|
836
|
+
{
|
837
|
+
"type": "null"
|
838
|
+
}
|
839
|
+
],
|
840
|
+
"default": null,
|
841
|
+
"title": "Span Id"
|
842
|
+
},
|
818
843
|
"timestamp": {
|
819
844
|
"format": "date-time",
|
820
845
|
"title": "Timestamp",
|
@@ -847,6 +872,7 @@
|
|
847
872
|
}
|
848
873
|
},
|
849
874
|
"required": [
|
875
|
+
"span_id",
|
850
876
|
"timestamp",
|
851
877
|
"working_start",
|
852
878
|
"pending",
|
@@ -1784,6 +1810,12 @@
|
|
1784
1810
|
{
|
1785
1811
|
"$ref": "#/$defs/InfoEvent"
|
1786
1812
|
},
|
1813
|
+
{
|
1814
|
+
"$ref": "#/$defs/SpanBeginEvent"
|
1815
|
+
},
|
1816
|
+
{
|
1817
|
+
"$ref": "#/$defs/SpanEndEvent"
|
1818
|
+
},
|
1787
1819
|
{
|
1788
1820
|
"$ref": "#/$defs/StepEvent"
|
1789
1821
|
},
|
@@ -2902,6 +2934,18 @@
|
|
2902
2934
|
"InfoEvent": {
|
2903
2935
|
"description": "Event with custom info/data.",
|
2904
2936
|
"properties": {
|
2937
|
+
"span_id": {
|
2938
|
+
"anyOf": [
|
2939
|
+
{
|
2940
|
+
"type": "string"
|
2941
|
+
},
|
2942
|
+
{
|
2943
|
+
"type": "null"
|
2944
|
+
}
|
2945
|
+
],
|
2946
|
+
"default": null,
|
2947
|
+
"title": "Span Id"
|
2948
|
+
},
|
2905
2949
|
"timestamp": {
|
2906
2950
|
"format": "date-time",
|
2907
2951
|
"title": "Timestamp",
|
@@ -2946,6 +2990,7 @@
|
|
2946
2990
|
}
|
2947
2991
|
},
|
2948
2992
|
"required": [
|
2993
|
+
"span_id",
|
2949
2994
|
"timestamp",
|
2950
2995
|
"working_start",
|
2951
2996
|
"pending",
|
@@ -2960,6 +3005,18 @@
|
|
2960
3005
|
"InputEvent": {
|
2961
3006
|
"description": "Input screen interaction.",
|
2962
3007
|
"properties": {
|
3008
|
+
"span_id": {
|
3009
|
+
"anyOf": [
|
3010
|
+
{
|
3011
|
+
"type": "string"
|
3012
|
+
},
|
3013
|
+
{
|
3014
|
+
"type": "null"
|
3015
|
+
}
|
3016
|
+
],
|
3017
|
+
"default": null,
|
3018
|
+
"title": "Span Id"
|
3019
|
+
},
|
2963
3020
|
"timestamp": {
|
2964
3021
|
"format": "date-time",
|
2965
3022
|
"title": "Timestamp",
|
@@ -2997,6 +3054,7 @@
|
|
2997
3054
|
}
|
2998
3055
|
},
|
2999
3056
|
"required": [
|
3057
|
+
"span_id",
|
3000
3058
|
"timestamp",
|
3001
3059
|
"working_start",
|
3002
3060
|
"pending",
|
@@ -3216,6 +3274,18 @@
|
|
3216
3274
|
"LoggerEvent": {
|
3217
3275
|
"description": "Log message recorded with Python logger.",
|
3218
3276
|
"properties": {
|
3277
|
+
"span_id": {
|
3278
|
+
"anyOf": [
|
3279
|
+
{
|
3280
|
+
"type": "string"
|
3281
|
+
},
|
3282
|
+
{
|
3283
|
+
"type": "null"
|
3284
|
+
}
|
3285
|
+
],
|
3286
|
+
"default": null,
|
3287
|
+
"title": "Span Id"
|
3288
|
+
},
|
3219
3289
|
"timestamp": {
|
3220
3290
|
"format": "date-time",
|
3221
3291
|
"title": "Timestamp",
|
@@ -3248,6 +3318,7 @@
|
|
3248
3318
|
}
|
3249
3319
|
},
|
3250
3320
|
"required": [
|
3321
|
+
"span_id",
|
3251
3322
|
"timestamp",
|
3252
3323
|
"working_start",
|
3253
3324
|
"pending",
|
@@ -3436,6 +3507,18 @@
|
|
3436
3507
|
"ModelEvent": {
|
3437
3508
|
"description": "Call to a language model.",
|
3438
3509
|
"properties": {
|
3510
|
+
"span_id": {
|
3511
|
+
"anyOf": [
|
3512
|
+
{
|
3513
|
+
"type": "string"
|
3514
|
+
},
|
3515
|
+
{
|
3516
|
+
"type": "null"
|
3517
|
+
}
|
3518
|
+
],
|
3519
|
+
"default": null,
|
3520
|
+
"title": "Span Id"
|
3521
|
+
},
|
3439
3522
|
"timestamp": {
|
3440
3523
|
"format": "date-time",
|
3441
3524
|
"title": "Timestamp",
|
@@ -3528,6 +3611,18 @@
|
|
3528
3611
|
"output": {
|
3529
3612
|
"$ref": "#/$defs/ModelOutput"
|
3530
3613
|
},
|
3614
|
+
"retries": {
|
3615
|
+
"anyOf": [
|
3616
|
+
{
|
3617
|
+
"type": "integer"
|
3618
|
+
},
|
3619
|
+
{
|
3620
|
+
"type": "null"
|
3621
|
+
}
|
3622
|
+
],
|
3623
|
+
"default": null,
|
3624
|
+
"title": "Retries"
|
3625
|
+
},
|
3531
3626
|
"error": {
|
3532
3627
|
"anyOf": [
|
3533
3628
|
{
|
@@ -3594,6 +3689,7 @@
|
|
3594
3689
|
}
|
3595
3690
|
},
|
3596
3691
|
"required": [
|
3692
|
+
"span_id",
|
3597
3693
|
"timestamp",
|
3598
3694
|
"working_start",
|
3599
3695
|
"pending",
|
@@ -3605,6 +3701,7 @@
|
|
3605
3701
|
"tool_choice",
|
3606
3702
|
"config",
|
3607
3703
|
"output",
|
3704
|
+
"retries",
|
3608
3705
|
"error",
|
3609
3706
|
"cache",
|
3610
3707
|
"call",
|
@@ -3946,6 +4043,18 @@
|
|
3946
4043
|
"SampleInitEvent": {
|
3947
4044
|
"description": "Beginning of processing a Sample.",
|
3948
4045
|
"properties": {
|
4046
|
+
"span_id": {
|
4047
|
+
"anyOf": [
|
4048
|
+
{
|
4049
|
+
"type": "string"
|
4050
|
+
},
|
4051
|
+
{
|
4052
|
+
"type": "null"
|
4053
|
+
}
|
4054
|
+
],
|
4055
|
+
"default": null,
|
4056
|
+
"title": "Span Id"
|
4057
|
+
},
|
3949
4058
|
"timestamp": {
|
3950
4059
|
"format": "date-time",
|
3951
4060
|
"title": "Timestamp",
|
@@ -3981,6 +4090,7 @@
|
|
3981
4090
|
}
|
3982
4091
|
},
|
3983
4092
|
"required": [
|
4093
|
+
"span_id",
|
3984
4094
|
"timestamp",
|
3985
4095
|
"working_start",
|
3986
4096
|
"pending",
|
@@ -3995,6 +4105,18 @@
|
|
3995
4105
|
"SampleLimitEvent": {
|
3996
4106
|
"description": "The sample was unable to finish processing due to a limit",
|
3997
4107
|
"properties": {
|
4108
|
+
"span_id": {
|
4109
|
+
"anyOf": [
|
4110
|
+
{
|
4111
|
+
"type": "string"
|
4112
|
+
},
|
4113
|
+
{
|
4114
|
+
"type": "null"
|
4115
|
+
}
|
4116
|
+
],
|
4117
|
+
"default": null,
|
4118
|
+
"title": "Span Id"
|
4119
|
+
},
|
3998
4120
|
"timestamp": {
|
3999
4121
|
"format": "date-time",
|
4000
4122
|
"title": "Timestamp",
|
@@ -4052,6 +4174,7 @@
|
|
4052
4174
|
}
|
4053
4175
|
},
|
4054
4176
|
"required": [
|
4177
|
+
"span_id",
|
4055
4178
|
"timestamp",
|
4056
4179
|
"working_start",
|
4057
4180
|
"pending",
|
@@ -4087,6 +4210,18 @@
|
|
4087
4210
|
"SandboxEvent": {
|
4088
4211
|
"description": "Sandbox execution or I/O",
|
4089
4212
|
"properties": {
|
4213
|
+
"span_id": {
|
4214
|
+
"anyOf": [
|
4215
|
+
{
|
4216
|
+
"type": "string"
|
4217
|
+
},
|
4218
|
+
{
|
4219
|
+
"type": "null"
|
4220
|
+
}
|
4221
|
+
],
|
4222
|
+
"default": null,
|
4223
|
+
"title": "Span Id"
|
4224
|
+
},
|
4090
4225
|
"timestamp": {
|
4091
4226
|
"format": "date-time",
|
4092
4227
|
"title": "Timestamp",
|
@@ -4213,6 +4348,7 @@
|
|
4213
4348
|
}
|
4214
4349
|
},
|
4215
4350
|
"required": [
|
4351
|
+
"span_id",
|
4216
4352
|
"timestamp",
|
4217
4353
|
"working_start",
|
4218
4354
|
"pending",
|
@@ -4342,6 +4478,18 @@
|
|
4342
4478
|
"ScoreEvent": {
|
4343
4479
|
"description": "Event with score.\n\nCan be the final score for a `Sample`, or can be an intermediate score\nresulting from a call to `score`.",
|
4344
4480
|
"properties": {
|
4481
|
+
"span_id": {
|
4482
|
+
"anyOf": [
|
4483
|
+
{
|
4484
|
+
"type": "string"
|
4485
|
+
},
|
4486
|
+
{
|
4487
|
+
"type": "null"
|
4488
|
+
}
|
4489
|
+
],
|
4490
|
+
"default": null,
|
4491
|
+
"title": "Span Id"
|
4492
|
+
},
|
4345
4493
|
"timestamp": {
|
4346
4494
|
"format": "date-time",
|
4347
4495
|
"title": "Timestamp",
|
@@ -4397,6 +4545,7 @@
|
|
4397
4545
|
}
|
4398
4546
|
},
|
4399
4547
|
"required": [
|
4548
|
+
"span_id",
|
4400
4549
|
"timestamp",
|
4401
4550
|
"working_start",
|
4402
4551
|
"pending",
|
@@ -4409,9 +4558,170 @@
|
|
4409
4558
|
"type": "object",
|
4410
4559
|
"additionalProperties": false
|
4411
4560
|
},
|
4561
|
+
"SpanBeginEvent": {
|
4562
|
+
"description": "Mark the beginning of a transcript span.",
|
4563
|
+
"properties": {
|
4564
|
+
"span_id": {
|
4565
|
+
"anyOf": [
|
4566
|
+
{
|
4567
|
+
"type": "string"
|
4568
|
+
},
|
4569
|
+
{
|
4570
|
+
"type": "null"
|
4571
|
+
}
|
4572
|
+
],
|
4573
|
+
"default": null,
|
4574
|
+
"title": "Span Id"
|
4575
|
+
},
|
4576
|
+
"timestamp": {
|
4577
|
+
"format": "date-time",
|
4578
|
+
"title": "Timestamp",
|
4579
|
+
"type": "string"
|
4580
|
+
},
|
4581
|
+
"working_start": {
|
4582
|
+
"title": "Working Start",
|
4583
|
+
"type": "number"
|
4584
|
+
},
|
4585
|
+
"pending": {
|
4586
|
+
"anyOf": [
|
4587
|
+
{
|
4588
|
+
"type": "boolean"
|
4589
|
+
},
|
4590
|
+
{
|
4591
|
+
"type": "null"
|
4592
|
+
}
|
4593
|
+
],
|
4594
|
+
"default": null,
|
4595
|
+
"title": "Pending"
|
4596
|
+
},
|
4597
|
+
"event": {
|
4598
|
+
"const": "span_begin",
|
4599
|
+
"default": "span_begin",
|
4600
|
+
"title": "Event",
|
4601
|
+
"type": "string"
|
4602
|
+
},
|
4603
|
+
"id": {
|
4604
|
+
"title": "Id",
|
4605
|
+
"type": "string"
|
4606
|
+
},
|
4607
|
+
"parent_id": {
|
4608
|
+
"anyOf": [
|
4609
|
+
{
|
4610
|
+
"type": "string"
|
4611
|
+
},
|
4612
|
+
{
|
4613
|
+
"type": "null"
|
4614
|
+
}
|
4615
|
+
],
|
4616
|
+
"default": null,
|
4617
|
+
"title": "Parent Id"
|
4618
|
+
},
|
4619
|
+
"type": {
|
4620
|
+
"anyOf": [
|
4621
|
+
{
|
4622
|
+
"type": "string"
|
4623
|
+
},
|
4624
|
+
{
|
4625
|
+
"type": "null"
|
4626
|
+
}
|
4627
|
+
],
|
4628
|
+
"default": null,
|
4629
|
+
"title": "Type"
|
4630
|
+
},
|
4631
|
+
"name": {
|
4632
|
+
"title": "Name",
|
4633
|
+
"type": "string"
|
4634
|
+
}
|
4635
|
+
},
|
4636
|
+
"required": [
|
4637
|
+
"span_id",
|
4638
|
+
"timestamp",
|
4639
|
+
"working_start",
|
4640
|
+
"pending",
|
4641
|
+
"event",
|
4642
|
+
"id",
|
4643
|
+
"parent_id",
|
4644
|
+
"type",
|
4645
|
+
"name"
|
4646
|
+
],
|
4647
|
+
"title": "SpanBeginEvent",
|
4648
|
+
"type": "object",
|
4649
|
+
"additionalProperties": false
|
4650
|
+
},
|
4651
|
+
"SpanEndEvent": {
|
4652
|
+
"description": "Mark the end of a transcript span.",
|
4653
|
+
"properties": {
|
4654
|
+
"span_id": {
|
4655
|
+
"anyOf": [
|
4656
|
+
{
|
4657
|
+
"type": "string"
|
4658
|
+
},
|
4659
|
+
{
|
4660
|
+
"type": "null"
|
4661
|
+
}
|
4662
|
+
],
|
4663
|
+
"default": null,
|
4664
|
+
"title": "Span Id"
|
4665
|
+
},
|
4666
|
+
"timestamp": {
|
4667
|
+
"format": "date-time",
|
4668
|
+
"title": "Timestamp",
|
4669
|
+
"type": "string"
|
4670
|
+
},
|
4671
|
+
"working_start": {
|
4672
|
+
"title": "Working Start",
|
4673
|
+
"type": "number"
|
4674
|
+
},
|
4675
|
+
"pending": {
|
4676
|
+
"anyOf": [
|
4677
|
+
{
|
4678
|
+
"type": "boolean"
|
4679
|
+
},
|
4680
|
+
{
|
4681
|
+
"type": "null"
|
4682
|
+
}
|
4683
|
+
],
|
4684
|
+
"default": null,
|
4685
|
+
"title": "Pending"
|
4686
|
+
},
|
4687
|
+
"event": {
|
4688
|
+
"const": "span_end",
|
4689
|
+
"default": "span_end",
|
4690
|
+
"title": "Event",
|
4691
|
+
"type": "string"
|
4692
|
+
},
|
4693
|
+
"id": {
|
4694
|
+
"title": "Id",
|
4695
|
+
"type": "string"
|
4696
|
+
}
|
4697
|
+
},
|
4698
|
+
"required": [
|
4699
|
+
"span_id",
|
4700
|
+
"timestamp",
|
4701
|
+
"working_start",
|
4702
|
+
"pending",
|
4703
|
+
"event",
|
4704
|
+
"id"
|
4705
|
+
],
|
4706
|
+
"title": "SpanEndEvent",
|
4707
|
+
"type": "object",
|
4708
|
+
"additionalProperties": false
|
4709
|
+
},
|
4412
4710
|
"StateEvent": {
|
4413
4711
|
"description": "Change to the current `TaskState`",
|
4414
4712
|
"properties": {
|
4713
|
+
"span_id": {
|
4714
|
+
"anyOf": [
|
4715
|
+
{
|
4716
|
+
"type": "string"
|
4717
|
+
},
|
4718
|
+
{
|
4719
|
+
"type": "null"
|
4720
|
+
}
|
4721
|
+
],
|
4722
|
+
"default": null,
|
4723
|
+
"title": "Span Id"
|
4724
|
+
},
|
4415
4725
|
"timestamp": {
|
4416
4726
|
"format": "date-time",
|
4417
4727
|
"title": "Timestamp",
|
@@ -4448,6 +4758,7 @@
|
|
4448
4758
|
}
|
4449
4759
|
},
|
4450
4760
|
"required": [
|
4761
|
+
"span_id",
|
4451
4762
|
"timestamp",
|
4452
4763
|
"working_start",
|
4453
4764
|
"pending",
|
@@ -4461,6 +4772,18 @@
|
|
4461
4772
|
"StepEvent": {
|
4462
4773
|
"description": "Step within current sample or subtask.",
|
4463
4774
|
"properties": {
|
4775
|
+
"span_id": {
|
4776
|
+
"anyOf": [
|
4777
|
+
{
|
4778
|
+
"type": "string"
|
4779
|
+
},
|
4780
|
+
{
|
4781
|
+
"type": "null"
|
4782
|
+
}
|
4783
|
+
],
|
4784
|
+
"default": null,
|
4785
|
+
"title": "Span Id"
|
4786
|
+
},
|
4464
4787
|
"timestamp": {
|
4465
4788
|
"format": "date-time",
|
4466
4789
|
"title": "Timestamp",
|
@@ -4514,6 +4837,7 @@
|
|
4514
4837
|
}
|
4515
4838
|
},
|
4516
4839
|
"required": [
|
4840
|
+
"span_id",
|
4517
4841
|
"timestamp",
|
4518
4842
|
"working_start",
|
4519
4843
|
"pending",
|
@@ -4529,6 +4853,18 @@
|
|
4529
4853
|
"StoreEvent": {
|
4530
4854
|
"description": "Change to data within the current `Store`.",
|
4531
4855
|
"properties": {
|
4856
|
+
"span_id": {
|
4857
|
+
"anyOf": [
|
4858
|
+
{
|
4859
|
+
"type": "string"
|
4860
|
+
},
|
4861
|
+
{
|
4862
|
+
"type": "null"
|
4863
|
+
}
|
4864
|
+
],
|
4865
|
+
"default": null,
|
4866
|
+
"title": "Span Id"
|
4867
|
+
},
|
4532
4868
|
"timestamp": {
|
4533
4869
|
"format": "date-time",
|
4534
4870
|
"title": "Timestamp",
|
@@ -4565,6 +4901,7 @@
|
|
4565
4901
|
}
|
4566
4902
|
},
|
4567
4903
|
"required": [
|
4904
|
+
"span_id",
|
4568
4905
|
"timestamp",
|
4569
4906
|
"working_start",
|
4570
4907
|
"pending",
|
@@ -4578,6 +4915,18 @@
|
|
4578
4915
|
"SubtaskEvent": {
|
4579
4916
|
"description": "Subtask spawned.",
|
4580
4917
|
"properties": {
|
4918
|
+
"span_id": {
|
4919
|
+
"anyOf": [
|
4920
|
+
{
|
4921
|
+
"type": "string"
|
4922
|
+
},
|
4923
|
+
{
|
4924
|
+
"type": "null"
|
4925
|
+
}
|
4926
|
+
],
|
4927
|
+
"default": null,
|
4928
|
+
"title": "Span Id"
|
4929
|
+
},
|
4581
4930
|
"timestamp": {
|
4582
4931
|
"format": "date-time",
|
4583
4932
|
"title": "Timestamp",
|
@@ -4672,6 +5021,12 @@
|
|
4672
5021
|
{
|
4673
5022
|
"$ref": "#/$defs/InfoEvent"
|
4674
5023
|
},
|
5024
|
+
{
|
5025
|
+
"$ref": "#/$defs/SpanBeginEvent"
|
5026
|
+
},
|
5027
|
+
{
|
5028
|
+
"$ref": "#/$defs/SpanEndEvent"
|
5029
|
+
},
|
4675
5030
|
{
|
4676
5031
|
"$ref": "#/$defs/StepEvent"
|
4677
5032
|
},
|
@@ -4710,6 +5065,7 @@
|
|
4710
5065
|
}
|
4711
5066
|
},
|
4712
5067
|
"required": [
|
5068
|
+
"span_id",
|
4713
5069
|
"timestamp",
|
4714
5070
|
"working_start",
|
4715
5071
|
"pending",
|
@@ -4906,6 +5262,18 @@
|
|
4906
5262
|
"ToolEvent": {
|
4907
5263
|
"description": "Call to a tool.",
|
4908
5264
|
"properties": {
|
5265
|
+
"span_id": {
|
5266
|
+
"anyOf": [
|
5267
|
+
{
|
5268
|
+
"type": "string"
|
5269
|
+
},
|
5270
|
+
{
|
5271
|
+
"type": "null"
|
5272
|
+
}
|
5273
|
+
],
|
5274
|
+
"default": null,
|
5275
|
+
"title": "Span Id"
|
5276
|
+
},
|
4909
5277
|
"timestamp": {
|
4910
5278
|
"format": "date-time",
|
4911
5279
|
"title": "Timestamp",
|
@@ -5105,6 +5473,12 @@
|
|
5105
5473
|
{
|
5106
5474
|
"$ref": "#/$defs/InfoEvent"
|
5107
5475
|
},
|
5476
|
+
{
|
5477
|
+
"$ref": "#/$defs/SpanBeginEvent"
|
5478
|
+
},
|
5479
|
+
{
|
5480
|
+
"$ref": "#/$defs/SpanEndEvent"
|
5481
|
+
},
|
5108
5482
|
{
|
5109
5483
|
"$ref": "#/$defs/StepEvent"
|
5110
5484
|
},
|
@@ -5167,6 +5541,7 @@
|
|
5167
5541
|
}
|
5168
5542
|
},
|
5169
5543
|
"required": [
|
5544
|
+
"span_id",
|
5170
5545
|
"timestamp",
|
5171
5546
|
"working_start",
|
5172
5547
|
"pending",
|