terse-types 0.0.20 → 0.0.22

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.
@@ -134,6 +134,7 @@ export declare const ApiRoutes: {
134
134
  SDK: {
135
135
  ME: string;
136
136
  SAMPLE_EVENTS: string;
137
+ HYDRATE_SAMPLE_EVENT: string;
137
138
  VERIFY_JOB_SERVER: string;
138
139
  TOOL_EXECUTE: string;
139
140
  TOOL_DEFINITIONS: string;
@@ -134,6 +134,7 @@
134
134
  "SDK": {
135
135
  "ME": "/sdk/me",
136
136
  "SAMPLE_EVENTS": "/sdk/sample-events",
137
+ "HYDRATE_SAMPLE_EVENT": "/sdk/sample-events/hydrate",
137
138
  "VERIFY_JOB_SERVER": "/sdk/agents/:agentId/verify-job-server",
138
139
  "TOOL_EXECUTE": "/sdk/tool-execute",
139
140
  "TOOL_DEFINITIONS": "/sdk/tool-definitions",
@@ -1813,13 +1813,7 @@
1813
1813
  "eventType": {
1814
1814
  "$ref": "#/$defs/WebhookTriggerType"
1815
1815
  },
1816
- "body": {
1817
- "type": "object",
1818
- "propertyNames": {
1819
- "type": "string"
1820
- },
1821
- "additionalProperties": {}
1822
- },
1816
+ "body": {},
1823
1817
  "headers": {
1824
1818
  "type": "object",
1825
1819
  "propertyNames": {
@@ -3606,8 +3600,15 @@
3606
3600
  "text": {
3607
3601
  "type": "string"
3608
3602
  },
3609
- "jobUrl": {
3610
- "type": "string"
3603
+ "remoteServerUrl": {
3604
+ "anyOf": [
3605
+ {
3606
+ "type": "string"
3607
+ },
3608
+ {
3609
+ "type": "null"
3610
+ }
3611
+ ]
3611
3612
  }
3612
3613
  },
3613
3614
  "required": [
@@ -3756,6 +3757,72 @@
3756
3757
  ],
3757
3758
  "additionalProperties": false
3758
3759
  },
3760
+ "AgentFileContentResponse": {
3761
+ "type": "object",
3762
+ "properties": {
3763
+ "path": {
3764
+ "type": "string"
3765
+ },
3766
+ "fileName": {
3767
+ "type": "string"
3768
+ },
3769
+ "contentBase64": {
3770
+ "type": "string"
3771
+ },
3772
+ "mimeType": {
3773
+ "type": "string"
3774
+ }
3775
+ },
3776
+ "required": [
3777
+ "path",
3778
+ "fileName",
3779
+ "contentBase64"
3780
+ ],
3781
+ "additionalProperties": false
3782
+ },
3783
+ "AgentFilesResponse": {
3784
+ "type": "object",
3785
+ "properties": {
3786
+ "id": {
3787
+ "type": "string"
3788
+ },
3789
+ "files": {
3790
+ "type": "array",
3791
+ "items": {
3792
+ "$ref": "#/$defs/__schema0"
3793
+ }
3794
+ }
3795
+ },
3796
+ "required": [
3797
+ "id",
3798
+ "files"
3799
+ ],
3800
+ "additionalProperties": false,
3801
+ "$defs": {
3802
+ "__schema0": {
3803
+ "type": "object",
3804
+ "properties": {
3805
+ "id": {
3806
+ "type": "string"
3807
+ },
3808
+ "name": {
3809
+ "type": "string"
3810
+ },
3811
+ "children": {
3812
+ "type": "array",
3813
+ "items": {
3814
+ "$ref": "#/$defs/__schema0"
3815
+ }
3816
+ }
3817
+ },
3818
+ "required": [
3819
+ "id",
3820
+ "name"
3821
+ ],
3822
+ "additionalProperties": false
3823
+ }
3824
+ }
3825
+ },
3759
3826
  "AgentIdParams": {
3760
3827
  "type": "object",
3761
3828
  "properties": {
@@ -5037,6 +5104,9 @@
5037
5104
  "type": "string",
5038
5105
  "const": "Cancelled"
5039
5106
  },
5107
+ "id": {
5108
+ "type": "string"
5109
+ },
5040
5110
  "reason": {
5041
5111
  "type": "string"
5042
5112
  },
@@ -5859,6 +5929,9 @@
5859
5929
  "type": "string",
5860
5930
  "const": "FilterResult"
5861
5931
  },
5932
+ "id": {
5933
+ "type": "string"
5934
+ },
5862
5935
  "timestamp": {
5863
5936
  "type": "number"
5864
5937
  }
@@ -10000,6 +10073,9 @@
10000
10073
  "type": "string",
10001
10074
  "const": "Snippet"
10002
10075
  },
10076
+ "id": {
10077
+ "type": "string"
10078
+ },
10003
10079
  "timestamp": {
10004
10080
  "type": "number"
10005
10081
  },
@@ -10014,6 +10090,42 @@
10014
10090
  ],
10015
10091
  "additionalProperties": false
10016
10092
  },
10093
+ "ProcessOutput": {
10094
+ "type": "object",
10095
+ "properties": {
10096
+ "type": {
10097
+ "type": "string",
10098
+ "const": "ProcessOutput"
10099
+ },
10100
+ "id": {
10101
+ "type": "string"
10102
+ },
10103
+ "stream": {
10104
+ "type": "string",
10105
+ "enum": [
10106
+ "stdout",
10107
+ "stderr"
10108
+ ]
10109
+ },
10110
+ "content": {
10111
+ "type": "string"
10112
+ },
10113
+ "label": {
10114
+ "type": "string"
10115
+ },
10116
+ "timestamp": {
10117
+ "type": "number"
10118
+ }
10119
+ },
10120
+ "required": [
10121
+ "type",
10122
+ "stream",
10123
+ "content",
10124
+ "label",
10125
+ "timestamp"
10126
+ ],
10127
+ "additionalProperties": false
10128
+ },
10017
10129
  "Thinking": {
10018
10130
  "type": "object",
10019
10131
  "properties": {
@@ -10024,6 +10136,9 @@
10024
10136
  "type": "string",
10025
10137
  "const": "Thinking"
10026
10138
  },
10139
+ "id": {
10140
+ "type": "string"
10141
+ },
10027
10142
  "timestamp": {
10028
10143
  "type": "number"
10029
10144
  }
@@ -10042,6 +10157,9 @@
10042
10157
  "type": "string",
10043
10158
  "const": "UserMessage"
10044
10159
  },
10160
+ "id": {
10161
+ "type": "string"
10162
+ },
10045
10163
  "message": {
10046
10164
  "type": "string"
10047
10165
  },
@@ -10074,6 +10192,9 @@
10074
10192
  "type": "string",
10075
10193
  "const": "NaturalStop"
10076
10194
  },
10195
+ "id": {
10196
+ "type": "string"
10197
+ },
10077
10198
  "timestamp": {
10078
10199
  "type": "number"
10079
10200
  }
@@ -10092,6 +10213,9 @@
10092
10213
  "type": "string",
10093
10214
  "const": "RunError"
10094
10215
  },
10216
+ "id": {
10217
+ "type": "string"
10218
+ },
10095
10219
  "error": {
10096
10220
  "type": "string"
10097
10221
  },
@@ -10122,6 +10246,9 @@
10122
10246
  "type": "string",
10123
10247
  "const": "TextDelta"
10124
10248
  },
10249
+ "id": {
10250
+ "type": "string"
10251
+ },
10125
10252
  "timestamp": {
10126
10253
  "type": "number"
10127
10254
  }
@@ -10172,6 +10299,9 @@
10172
10299
  "type": "string",
10173
10300
  "const": "ToolCallComplete"
10174
10301
  },
10302
+ "id": {
10303
+ "type": "string"
10304
+ },
10175
10305
  "changed_items": {
10176
10306
  "type": "array",
10177
10307
  "items": {
@@ -10215,6 +10345,9 @@
10215
10345
  "type": "string",
10216
10346
  "const": "ToolCall"
10217
10347
  },
10348
+ "id": {
10349
+ "type": "string"
10350
+ },
10218
10351
  "parameters": {
10219
10352
  "type": "string"
10220
10353
  },
@@ -10248,6 +10381,9 @@
10248
10381
  "type": "string",
10249
10382
  "const": "ToolCallGenerating"
10250
10383
  },
10384
+ "id": {
10385
+ "type": "string"
10386
+ },
10251
10387
  "timestamp": {
10252
10388
  "type": "number"
10253
10389
  }
@@ -10270,6 +10406,9 @@
10270
10406
  "type": "string",
10271
10407
  "const": "ToolApprovalRequest"
10272
10408
  },
10409
+ "id": {
10410
+ "type": "string"
10411
+ },
10273
10412
  "name": {
10274
10413
  "type": "string"
10275
10414
  },
@@ -10299,6 +10438,9 @@
10299
10438
  "type": "string",
10300
10439
  "const": "ToolApprovalResponse"
10301
10440
  },
10441
+ "id": {
10442
+ "type": "string"
10443
+ },
10302
10444
  "approved": {
10303
10445
  "type": "boolean"
10304
10446
  },
@@ -10357,6 +10499,9 @@
10357
10499
  },
10358
10500
  {
10359
10501
  "$ref": "#/$defs/ModelEventChatSnippet"
10502
+ },
10503
+ {
10504
+ "$ref": "#/$defs/ProcessOutput"
10360
10505
  }
10361
10506
  ]
10362
10507
  },
@@ -10367,6 +10512,9 @@
10367
10512
  "type": "string",
10368
10513
  "const": "SendModelRequest"
10369
10514
  },
10515
+ "id": {
10516
+ "type": "string"
10517
+ },
10370
10518
  "user_message": {
10371
10519
  "type": "string"
10372
10520
  },
@@ -12763,8 +12911,8 @@
12763
12911
  "prompt": {
12764
12912
  "type": "string"
12765
12913
  },
12766
- "event": {
12767
- "$ref": "#/$defs/Trigger"
12914
+ "message": {
12915
+ "type": "string"
12768
12916
  },
12769
12917
  "skills": {
12770
12918
  "type": "array",
@@ -12782,6 +12930,9 @@
12782
12930
  }
12783
12931
  }
12784
12932
  },
12933
+ "required": [
12934
+ "message"
12935
+ ],
12785
12936
  "additionalProperties": false
12786
12937
  },
12787
12938
  "SdkAgentRunResponseContract": {
@@ -13023,25 +13174,11 @@
13023
13174
  "items": {
13024
13175
  "$ref": "#/$defs/TriggerConfigData"
13025
13176
  }
13026
- },
13027
- "outputs": {
13028
- "type": "array",
13029
- "items": {
13030
- "$ref": "#/$defs/SkillConfigData"
13031
- }
13032
- },
13033
- "toolApprovals": {
13034
- "type": "array",
13035
- "items": {
13036
- "type": "string"
13037
- }
13038
13177
  }
13039
13178
  },
13040
13179
  "required": [
13041
13180
  "jobName",
13042
- "triggers",
13043
- "outputs",
13044
- "toolApprovals"
13181
+ "triggers"
13045
13182
  ],
13046
13183
  "additionalProperties": false
13047
13184
  },
@@ -13070,7 +13207,7 @@
13070
13207
  "$ref": "#/$defs/SdkDeployJob"
13071
13208
  }
13072
13209
  },
13073
- "jobUrl": {
13210
+ "remoteServerUrl": {
13074
13211
  "type": "string"
13075
13212
  },
13076
13213
  "sourceZipBase64": {
@@ -13094,6 +13231,9 @@
13094
13231
  "isUpdate": {
13095
13232
  "type": "boolean"
13096
13233
  },
13234
+ "signingSecret": {
13235
+ "type": "string"
13236
+ },
13097
13237
  "triggers": {
13098
13238
  "type": "array",
13099
13239
  "items": {
@@ -13158,8 +13298,8 @@
13158
13298
  "http",
13159
13299
  "json",
13160
13300
  "response_schema",
13161
- "token",
13162
- "org"
13301
+ "challenge_echo",
13302
+ "challenge_signature"
13163
13303
  ]
13164
13304
  },
13165
13305
  "SdkJobServerCheckResponse": {
@@ -13187,6 +13327,46 @@
13187
13327
  ],
13188
13328
  "additionalProperties": false
13189
13329
  },
13330
+ "SerializedEvent": {
13331
+ "type": "object",
13332
+ "properties": {
13333
+ "integrationType": {
13334
+ "$ref": "#/$defs/IntegrationTypeEnum"
13335
+ },
13336
+ "eventType": {
13337
+ "$ref": "#/$defs/TriggerType"
13338
+ },
13339
+ "formattedContent": {
13340
+ "type": "string"
13341
+ },
13342
+ "debugLog": {
13343
+ "type": "string"
13344
+ },
13345
+ "data": {
13346
+ "$ref": "#/$defs/Trigger"
13347
+ }
13348
+ },
13349
+ "required": [
13350
+ "integrationType",
13351
+ "eventType",
13352
+ "formattedContent",
13353
+ "debugLog",
13354
+ "data"
13355
+ ],
13356
+ "additionalProperties": false
13357
+ },
13358
+ "SdkRunTriggerEventResponse": {
13359
+ "type": "object",
13360
+ "properties": {
13361
+ "event": {
13362
+ "$ref": "#/$defs/SerializedEvent"
13363
+ }
13364
+ },
13365
+ "required": [
13366
+ "event"
13367
+ ],
13368
+ "additionalProperties": false
13369
+ },
13190
13370
  "SdkSampleEventsRequest": {
13191
13371
  "type": "object",
13192
13372
  "properties": {
@@ -14187,34 +14367,6 @@
14187
14367
  ],
14188
14368
  "additionalProperties": false
14189
14369
  },
14190
- "SerializedEvent": {
14191
- "type": "object",
14192
- "properties": {
14193
- "integrationType": {
14194
- "$ref": "#/$defs/IntegrationTypeEnum"
14195
- },
14196
- "eventType": {
14197
- "$ref": "#/$defs/TriggerType"
14198
- },
14199
- "formattedContent": {
14200
- "type": "string"
14201
- },
14202
- "debugLog": {
14203
- "type": "string"
14204
- },
14205
- "data": {
14206
- "$ref": "#/$defs/Trigger"
14207
- }
14208
- },
14209
- "required": [
14210
- "integrationType",
14211
- "eventType",
14212
- "formattedContent",
14213
- "debugLog",
14214
- "data"
14215
- ],
14216
- "additionalProperties": false
14217
- },
14218
14370
  "SlackChannelListItem": {
14219
14371
  "type": "object",
14220
14372
  "properties": {
@@ -15680,16 +15832,39 @@
15680
15832
  "WebhookJobChallengeRequest": {
15681
15833
  "type": "object",
15682
15834
  "properties": {
15835
+ "type": {
15836
+ "type": "string",
15837
+ "const": "challenge"
15838
+ },
15683
15839
  "challenge": {
15684
- "type": "boolean",
15685
- "const": true
15840
+ "type": "string",
15841
+ "minLength": 1
15686
15842
  }
15687
15843
  },
15688
15844
  "required": [
15845
+ "type",
15689
15846
  "challenge"
15690
15847
  ],
15691
15848
  "additionalProperties": false
15692
15849
  },
15850
+ "WebhookJobChallengeResponse": {
15851
+ "type": "object",
15852
+ "properties": {
15853
+ "challenge": {
15854
+ "type": "string",
15855
+ "minLength": 1
15856
+ },
15857
+ "signature": {
15858
+ "type": "string",
15859
+ "minLength": 1
15860
+ }
15861
+ },
15862
+ "required": [
15863
+ "challenge",
15864
+ "signature"
15865
+ ],
15866
+ "additionalProperties": false
15867
+ },
15693
15868
  "WebhookJobTriggerRequest": {
15694
15869
  "type": "object",
15695
15870
  "properties": {
@@ -15716,17 +15891,10 @@
15716
15891
  "status": {
15717
15892
  "type": "string"
15718
15893
  },
15719
- "apiKey": {
15720
- "type": "string",
15721
- "minLength": 1
15722
- },
15723
15894
  "filtered": {
15724
15895
  "type": "boolean"
15725
15896
  }
15726
15897
  },
15727
- "required": [
15728
- "apiKey"
15729
- ],
15730
15898
  "additionalProperties": false
15731
15899
  },
15732
15900
  "WebhookWorkOSTriggerParams": {