@ai-sdk/harness-claude-code 1.0.183 → 1.0.185
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/CHANGELOG.md +16 -0
- package/dist/bridge/index.mjs +18 -4
- package/dist/bridge/index.mjs.map +1 -1
- package/dist/index.d.ts +87 -80
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/bridge/create-emit-stream-event.ts +20 -0
- package/src/bridge/index.ts +31 -19
- package/src/claude-code-bridge-protocol.ts +1 -0
- package/src/claude-code-harness.ts +13 -0
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,13 @@ type ClaudeCodeThinkingConfig = {
|
|
|
16
16
|
//#region src/claude-code-harness.d.ts
|
|
17
17
|
type ClaudeCodeHarnessSettings = {
|
|
18
18
|
readonly auth?: ClaudeCodeAuthenticationMode;
|
|
19
|
+
/**
|
|
20
|
+
* Requests Claude Code's classifier-based `auto` permission mode for
|
|
21
|
+
* `allow-reads` and `allow-edits`. Only escalated calls ask the host.
|
|
22
|
+
* Defaults to false; `allow-all` continues to bypass permissions.
|
|
23
|
+
* Observe raw init/status parts for the effective permission mode.
|
|
24
|
+
*/
|
|
25
|
+
readonly autoMode?: boolean;
|
|
19
26
|
/**
|
|
20
27
|
* Customizes each credential value before it is forwarded into a sandbox
|
|
21
28
|
* process. This does not restrict which credentials the harness adapter can
|
|
@@ -9047,13 +9054,13 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9047
9054
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
9048
9055
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
9049
9056
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
9050
|
-
action: "
|
|
9057
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9051
9058
|
trigger_id?: string | undefined;
|
|
9052
9059
|
body?: Record<string, unknown> | undefined;
|
|
9053
9060
|
}>;
|
|
9054
9061
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9055
9062
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
9056
|
-
action: "
|
|
9063
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9057
9064
|
trigger_id?: string | undefined;
|
|
9058
9065
|
body?: Record<string, unknown> | undefined;
|
|
9059
9066
|
}, any> | undefined;
|
|
@@ -9063,7 +9070,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9063
9070
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
9064
9071
|
readonly onInputAvailable?: ((options: {
|
|
9065
9072
|
input: {
|
|
9066
|
-
action: "
|
|
9073
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9067
9074
|
trigger_id?: string | undefined;
|
|
9068
9075
|
body?: Record<string, unknown> | undefined;
|
|
9069
9076
|
};
|
|
@@ -9071,7 +9078,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9071
9078
|
readonly toModelOutput?: ((options: {
|
|
9072
9079
|
toolCallId: string;
|
|
9073
9080
|
input: {
|
|
9074
|
-
action: "
|
|
9081
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9075
9082
|
trigger_id?: string | undefined;
|
|
9076
9083
|
body?: Record<string, unknown> | undefined;
|
|
9077
9084
|
};
|
|
@@ -9086,7 +9093,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9086
9093
|
readonly strict?: boolean;
|
|
9087
9094
|
readonly inputExamples?: {
|
|
9088
9095
|
input: NoInfer<{
|
|
9089
|
-
action: "
|
|
9096
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9090
9097
|
trigger_id?: string | undefined;
|
|
9091
9098
|
body?: Record<string, unknown> | undefined;
|
|
9092
9099
|
}>;
|
|
@@ -9103,13 +9110,13 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9103
9110
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
9104
9111
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
9105
9112
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
9106
|
-
action: "
|
|
9113
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9107
9114
|
trigger_id?: string | undefined;
|
|
9108
9115
|
body?: Record<string, unknown> | undefined;
|
|
9109
9116
|
}>;
|
|
9110
9117
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9111
9118
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
9112
|
-
action: "
|
|
9119
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9113
9120
|
trigger_id?: string | undefined;
|
|
9114
9121
|
body?: Record<string, unknown> | undefined;
|
|
9115
9122
|
}, any> | undefined;
|
|
@@ -9119,7 +9126,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9119
9126
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
9120
9127
|
readonly onInputAvailable?: ((options: {
|
|
9121
9128
|
input: {
|
|
9122
|
-
action: "
|
|
9129
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9123
9130
|
trigger_id?: string | undefined;
|
|
9124
9131
|
body?: Record<string, unknown> | undefined;
|
|
9125
9132
|
};
|
|
@@ -9127,7 +9134,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9127
9134
|
readonly toModelOutput?: ((options: {
|
|
9128
9135
|
toolCallId: string;
|
|
9129
9136
|
input: {
|
|
9130
|
-
action: "
|
|
9137
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9131
9138
|
trigger_id?: string | undefined;
|
|
9132
9139
|
body?: Record<string, unknown> | undefined;
|
|
9133
9140
|
};
|
|
@@ -9135,7 +9142,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9135
9142
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
9136
9143
|
readonly outputSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9137
9144
|
readonly execute?: import("@ai-sdk/provider-utils").ToolExecuteFunction<{
|
|
9138
|
-
action: "
|
|
9145
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9139
9146
|
trigger_id?: string | undefined;
|
|
9140
9147
|
body?: Record<string, unknown> | undefined;
|
|
9141
9148
|
}, any, any> | undefined;
|
|
@@ -9146,7 +9153,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9146
9153
|
readonly strict?: boolean;
|
|
9147
9154
|
readonly inputExamples?: {
|
|
9148
9155
|
input: NoInfer<{
|
|
9149
|
-
action: "
|
|
9156
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9150
9157
|
trigger_id?: string | undefined;
|
|
9151
9158
|
body?: Record<string, unknown> | undefined;
|
|
9152
9159
|
}>;
|
|
@@ -9163,13 +9170,13 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9163
9170
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
9164
9171
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
9165
9172
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
9166
|
-
action: "
|
|
9173
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9167
9174
|
trigger_id?: string | undefined;
|
|
9168
9175
|
body?: Record<string, unknown> | undefined;
|
|
9169
9176
|
}>;
|
|
9170
9177
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9171
9178
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
9172
|
-
action: "
|
|
9179
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9173
9180
|
trigger_id?: string | undefined;
|
|
9174
9181
|
body?: Record<string, unknown> | undefined;
|
|
9175
9182
|
}, any> | undefined;
|
|
@@ -9179,7 +9186,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9179
9186
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
9180
9187
|
readonly onInputAvailable?: ((options: {
|
|
9181
9188
|
input: {
|
|
9182
|
-
action: "
|
|
9189
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9183
9190
|
trigger_id?: string | undefined;
|
|
9184
9191
|
body?: Record<string, unknown> | undefined;
|
|
9185
9192
|
};
|
|
@@ -9187,7 +9194,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9187
9194
|
readonly toModelOutput?: ((options: {
|
|
9188
9195
|
toolCallId: string;
|
|
9189
9196
|
input: {
|
|
9190
|
-
action: "
|
|
9197
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9191
9198
|
trigger_id?: string | undefined;
|
|
9192
9199
|
body?: Record<string, unknown> | undefined;
|
|
9193
9200
|
};
|
|
@@ -9202,7 +9209,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9202
9209
|
readonly strict?: boolean;
|
|
9203
9210
|
readonly inputExamples?: {
|
|
9204
9211
|
input: NoInfer<{
|
|
9205
|
-
action: "
|
|
9212
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9206
9213
|
trigger_id?: string | undefined;
|
|
9207
9214
|
body?: Record<string, unknown> | undefined;
|
|
9208
9215
|
}>;
|
|
@@ -9219,13 +9226,13 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9219
9226
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
9220
9227
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
9221
9228
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
9222
|
-
action: "
|
|
9229
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9223
9230
|
trigger_id?: string | undefined;
|
|
9224
9231
|
body?: Record<string, unknown> | undefined;
|
|
9225
9232
|
}>;
|
|
9226
9233
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9227
9234
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
9228
|
-
action: "
|
|
9235
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9229
9236
|
trigger_id?: string | undefined;
|
|
9230
9237
|
body?: Record<string, unknown> | undefined;
|
|
9231
9238
|
}, any> | undefined;
|
|
@@ -9235,7 +9242,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9235
9242
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
9236
9243
|
readonly onInputAvailable?: ((options: {
|
|
9237
9244
|
input: {
|
|
9238
|
-
action: "
|
|
9245
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9239
9246
|
trigger_id?: string | undefined;
|
|
9240
9247
|
body?: Record<string, unknown> | undefined;
|
|
9241
9248
|
};
|
|
@@ -9243,7 +9250,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9243
9250
|
readonly toModelOutput?: ((options: {
|
|
9244
9251
|
toolCallId: string;
|
|
9245
9252
|
input: {
|
|
9246
|
-
action: "
|
|
9253
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9247
9254
|
trigger_id?: string | undefined;
|
|
9248
9255
|
body?: Record<string, unknown> | undefined;
|
|
9249
9256
|
};
|
|
@@ -9251,7 +9258,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9251
9258
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
9252
9259
|
readonly outputSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9253
9260
|
readonly execute?: import("@ai-sdk/provider-utils").ToolExecuteFunction<{
|
|
9254
|
-
action: "
|
|
9261
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9255
9262
|
trigger_id?: string | undefined;
|
|
9256
9263
|
body?: Record<string, unknown> | undefined;
|
|
9257
9264
|
}, any, any> | undefined;
|
|
@@ -9262,7 +9269,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9262
9269
|
readonly strict?: boolean;
|
|
9263
9270
|
readonly inputExamples?: {
|
|
9264
9271
|
input: NoInfer<{
|
|
9265
|
-
action: "
|
|
9272
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9266
9273
|
trigger_id?: string | undefined;
|
|
9267
9274
|
body?: Record<string, unknown> | undefined;
|
|
9268
9275
|
}>;
|
|
@@ -9279,13 +9286,13 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9279
9286
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
9280
9287
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
9281
9288
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
9282
|
-
action: "
|
|
9289
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9283
9290
|
trigger_id?: string | undefined;
|
|
9284
9291
|
body?: Record<string, unknown> | undefined;
|
|
9285
9292
|
}>;
|
|
9286
9293
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9287
9294
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
9288
|
-
action: "
|
|
9295
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9289
9296
|
trigger_id?: string | undefined;
|
|
9290
9297
|
body?: Record<string, unknown> | undefined;
|
|
9291
9298
|
}, any> | undefined;
|
|
@@ -9295,7 +9302,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9295
9302
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
9296
9303
|
readonly onInputAvailable?: ((options: {
|
|
9297
9304
|
input: {
|
|
9298
|
-
action: "
|
|
9305
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9299
9306
|
trigger_id?: string | undefined;
|
|
9300
9307
|
body?: Record<string, unknown> | undefined;
|
|
9301
9308
|
};
|
|
@@ -9303,7 +9310,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9303
9310
|
readonly toModelOutput?: ((options: {
|
|
9304
9311
|
toolCallId: string;
|
|
9305
9312
|
input: {
|
|
9306
|
-
action: "
|
|
9313
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9307
9314
|
trigger_id?: string | undefined;
|
|
9308
9315
|
body?: Record<string, unknown> | undefined;
|
|
9309
9316
|
};
|
|
@@ -9326,13 +9333,13 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9326
9333
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
9327
9334
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
9328
9335
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
9329
|
-
action: "
|
|
9336
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9330
9337
|
trigger_id?: string | undefined;
|
|
9331
9338
|
body?: Record<string, unknown> | undefined;
|
|
9332
9339
|
}>;
|
|
9333
9340
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9334
9341
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
9335
|
-
action: "
|
|
9342
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9336
9343
|
trigger_id?: string | undefined;
|
|
9337
9344
|
body?: Record<string, unknown> | undefined;
|
|
9338
9345
|
}, any> | undefined;
|
|
@@ -9342,7 +9349,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9342
9349
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
9343
9350
|
readonly onInputAvailable?: ((options: {
|
|
9344
9351
|
input: {
|
|
9345
|
-
action: "
|
|
9352
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9346
9353
|
trigger_id?: string | undefined;
|
|
9347
9354
|
body?: Record<string, unknown> | undefined;
|
|
9348
9355
|
};
|
|
@@ -9350,7 +9357,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9350
9357
|
readonly toModelOutput?: ((options: {
|
|
9351
9358
|
toolCallId: string;
|
|
9352
9359
|
input: {
|
|
9353
|
-
action: "
|
|
9360
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9354
9361
|
trigger_id?: string | undefined;
|
|
9355
9362
|
body?: Record<string, unknown> | undefined;
|
|
9356
9363
|
};
|
|
@@ -9358,7 +9365,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9358
9365
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
9359
9366
|
readonly outputSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9360
9367
|
readonly execute?: import("@ai-sdk/provider-utils").ToolExecuteFunction<{
|
|
9361
|
-
action: "
|
|
9368
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9362
9369
|
trigger_id?: string | undefined;
|
|
9363
9370
|
body?: Record<string, unknown> | undefined;
|
|
9364
9371
|
}, any, any> | undefined;
|
|
@@ -9377,13 +9384,13 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9377
9384
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
9378
9385
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
9379
9386
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
9380
|
-
action: "
|
|
9387
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9381
9388
|
trigger_id?: string | undefined;
|
|
9382
9389
|
body?: Record<string, unknown> | undefined;
|
|
9383
9390
|
}>;
|
|
9384
9391
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9385
9392
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
9386
|
-
action: "
|
|
9393
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9387
9394
|
trigger_id?: string | undefined;
|
|
9388
9395
|
body?: Record<string, unknown> | undefined;
|
|
9389
9396
|
}, any> | undefined;
|
|
@@ -9393,7 +9400,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9393
9400
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
9394
9401
|
readonly onInputAvailable?: ((options: {
|
|
9395
9402
|
input: {
|
|
9396
|
-
action: "
|
|
9403
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9397
9404
|
trigger_id?: string | undefined;
|
|
9398
9405
|
body?: Record<string, unknown> | undefined;
|
|
9399
9406
|
};
|
|
@@ -9401,7 +9408,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9401
9408
|
readonly toModelOutput?: ((options: {
|
|
9402
9409
|
toolCallId: string;
|
|
9403
9410
|
input: {
|
|
9404
|
-
action: "
|
|
9411
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9405
9412
|
trigger_id?: string | undefined;
|
|
9406
9413
|
body?: Record<string, unknown> | undefined;
|
|
9407
9414
|
};
|
|
@@ -9424,13 +9431,13 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9424
9431
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
9425
9432
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
9426
9433
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
9427
|
-
action: "
|
|
9434
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9428
9435
|
trigger_id?: string | undefined;
|
|
9429
9436
|
body?: Record<string, unknown> | undefined;
|
|
9430
9437
|
}>;
|
|
9431
9438
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9432
9439
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
9433
|
-
action: "
|
|
9440
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9434
9441
|
trigger_id?: string | undefined;
|
|
9435
9442
|
body?: Record<string, unknown> | undefined;
|
|
9436
9443
|
}, any> | undefined;
|
|
@@ -9440,7 +9447,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9440
9447
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
9441
9448
|
readonly onInputAvailable?: ((options: {
|
|
9442
9449
|
input: {
|
|
9443
|
-
action: "
|
|
9450
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9444
9451
|
trigger_id?: string | undefined;
|
|
9445
9452
|
body?: Record<string, unknown> | undefined;
|
|
9446
9453
|
};
|
|
@@ -9448,7 +9455,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9448
9455
|
readonly toModelOutput?: ((options: {
|
|
9449
9456
|
toolCallId: string;
|
|
9450
9457
|
input: {
|
|
9451
|
-
action: "
|
|
9458
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9452
9459
|
trigger_id?: string | undefined;
|
|
9453
9460
|
body?: Record<string, unknown> | undefined;
|
|
9454
9461
|
};
|
|
@@ -9456,7 +9463,7 @@ declare const CLAUDE_CODE_BUILTIN_TOOLS: {
|
|
|
9456
9463
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
9457
9464
|
readonly outputSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
9458
9465
|
readonly execute?: import("@ai-sdk/provider-utils").ToolExecuteFunction<{
|
|
9459
|
-
action: "
|
|
9466
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
9460
9467
|
trigger_id?: string | undefined;
|
|
9461
9468
|
body?: Record<string, unknown> | undefined;
|
|
9462
9469
|
}, any, any> | undefined;
|
|
@@ -22378,13 +22385,13 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22378
22385
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
22379
22386
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
22380
22387
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
22381
|
-
action: "
|
|
22388
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22382
22389
|
trigger_id?: string | undefined;
|
|
22383
22390
|
body?: Record<string, unknown> | undefined;
|
|
22384
22391
|
}>;
|
|
22385
22392
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22386
22393
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
22387
|
-
action: "
|
|
22394
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22388
22395
|
trigger_id?: string | undefined;
|
|
22389
22396
|
body?: Record<string, unknown> | undefined;
|
|
22390
22397
|
}, any> | undefined;
|
|
@@ -22394,7 +22401,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22394
22401
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
22395
22402
|
readonly onInputAvailable?: ((options: {
|
|
22396
22403
|
input: {
|
|
22397
|
-
action: "
|
|
22404
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22398
22405
|
trigger_id?: string | undefined;
|
|
22399
22406
|
body?: Record<string, unknown> | undefined;
|
|
22400
22407
|
};
|
|
@@ -22402,7 +22409,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22402
22409
|
readonly toModelOutput?: ((options: {
|
|
22403
22410
|
toolCallId: string;
|
|
22404
22411
|
input: {
|
|
22405
|
-
action: "
|
|
22412
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22406
22413
|
trigger_id?: string | undefined;
|
|
22407
22414
|
body?: Record<string, unknown> | undefined;
|
|
22408
22415
|
};
|
|
@@ -22417,7 +22424,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22417
22424
|
readonly strict?: boolean;
|
|
22418
22425
|
readonly inputExamples?: {
|
|
22419
22426
|
input: NoInfer<{
|
|
22420
|
-
action: "
|
|
22427
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22421
22428
|
trigger_id?: string | undefined;
|
|
22422
22429
|
body?: Record<string, unknown> | undefined;
|
|
22423
22430
|
}>;
|
|
@@ -22434,13 +22441,13 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22434
22441
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
22435
22442
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
22436
22443
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
22437
|
-
action: "
|
|
22444
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22438
22445
|
trigger_id?: string | undefined;
|
|
22439
22446
|
body?: Record<string, unknown> | undefined;
|
|
22440
22447
|
}>;
|
|
22441
22448
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22442
22449
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
22443
|
-
action: "
|
|
22450
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22444
22451
|
trigger_id?: string | undefined;
|
|
22445
22452
|
body?: Record<string, unknown> | undefined;
|
|
22446
22453
|
}, any> | undefined;
|
|
@@ -22450,7 +22457,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22450
22457
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
22451
22458
|
readonly onInputAvailable?: ((options: {
|
|
22452
22459
|
input: {
|
|
22453
|
-
action: "
|
|
22460
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22454
22461
|
trigger_id?: string | undefined;
|
|
22455
22462
|
body?: Record<string, unknown> | undefined;
|
|
22456
22463
|
};
|
|
@@ -22458,7 +22465,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22458
22465
|
readonly toModelOutput?: ((options: {
|
|
22459
22466
|
toolCallId: string;
|
|
22460
22467
|
input: {
|
|
22461
|
-
action: "
|
|
22468
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22462
22469
|
trigger_id?: string | undefined;
|
|
22463
22470
|
body?: Record<string, unknown> | undefined;
|
|
22464
22471
|
};
|
|
@@ -22466,7 +22473,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22466
22473
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
22467
22474
|
readonly outputSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22468
22475
|
readonly execute?: import("@ai-sdk/provider-utils").ToolExecuteFunction<{
|
|
22469
|
-
action: "
|
|
22476
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22470
22477
|
trigger_id?: string | undefined;
|
|
22471
22478
|
body?: Record<string, unknown> | undefined;
|
|
22472
22479
|
}, any, any> | undefined;
|
|
@@ -22477,7 +22484,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22477
22484
|
readonly strict?: boolean;
|
|
22478
22485
|
readonly inputExamples?: {
|
|
22479
22486
|
input: NoInfer<{
|
|
22480
|
-
action: "
|
|
22487
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22481
22488
|
trigger_id?: string | undefined;
|
|
22482
22489
|
body?: Record<string, unknown> | undefined;
|
|
22483
22490
|
}>;
|
|
@@ -22494,13 +22501,13 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22494
22501
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
22495
22502
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
22496
22503
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
22497
|
-
action: "
|
|
22504
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22498
22505
|
trigger_id?: string | undefined;
|
|
22499
22506
|
body?: Record<string, unknown> | undefined;
|
|
22500
22507
|
}>;
|
|
22501
22508
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22502
22509
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
22503
|
-
action: "
|
|
22510
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22504
22511
|
trigger_id?: string | undefined;
|
|
22505
22512
|
body?: Record<string, unknown> | undefined;
|
|
22506
22513
|
}, any> | undefined;
|
|
@@ -22510,7 +22517,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22510
22517
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
22511
22518
|
readonly onInputAvailable?: ((options: {
|
|
22512
22519
|
input: {
|
|
22513
|
-
action: "
|
|
22520
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22514
22521
|
trigger_id?: string | undefined;
|
|
22515
22522
|
body?: Record<string, unknown> | undefined;
|
|
22516
22523
|
};
|
|
@@ -22518,7 +22525,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22518
22525
|
readonly toModelOutput?: ((options: {
|
|
22519
22526
|
toolCallId: string;
|
|
22520
22527
|
input: {
|
|
22521
|
-
action: "
|
|
22528
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22522
22529
|
trigger_id?: string | undefined;
|
|
22523
22530
|
body?: Record<string, unknown> | undefined;
|
|
22524
22531
|
};
|
|
@@ -22533,7 +22540,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22533
22540
|
readonly strict?: boolean;
|
|
22534
22541
|
readonly inputExamples?: {
|
|
22535
22542
|
input: NoInfer<{
|
|
22536
|
-
action: "
|
|
22543
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22537
22544
|
trigger_id?: string | undefined;
|
|
22538
22545
|
body?: Record<string, unknown> | undefined;
|
|
22539
22546
|
}>;
|
|
@@ -22550,13 +22557,13 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22550
22557
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
22551
22558
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
22552
22559
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
22553
|
-
action: "
|
|
22560
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22554
22561
|
trigger_id?: string | undefined;
|
|
22555
22562
|
body?: Record<string, unknown> | undefined;
|
|
22556
22563
|
}>;
|
|
22557
22564
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22558
22565
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
22559
|
-
action: "
|
|
22566
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22560
22567
|
trigger_id?: string | undefined;
|
|
22561
22568
|
body?: Record<string, unknown> | undefined;
|
|
22562
22569
|
}, any> | undefined;
|
|
@@ -22566,7 +22573,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22566
22573
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
22567
22574
|
readonly onInputAvailable?: ((options: {
|
|
22568
22575
|
input: {
|
|
22569
|
-
action: "
|
|
22576
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22570
22577
|
trigger_id?: string | undefined;
|
|
22571
22578
|
body?: Record<string, unknown> | undefined;
|
|
22572
22579
|
};
|
|
@@ -22574,7 +22581,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22574
22581
|
readonly toModelOutput?: ((options: {
|
|
22575
22582
|
toolCallId: string;
|
|
22576
22583
|
input: {
|
|
22577
|
-
action: "
|
|
22584
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22578
22585
|
trigger_id?: string | undefined;
|
|
22579
22586
|
body?: Record<string, unknown> | undefined;
|
|
22580
22587
|
};
|
|
@@ -22582,7 +22589,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22582
22589
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
22583
22590
|
readonly outputSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22584
22591
|
readonly execute?: import("@ai-sdk/provider-utils").ToolExecuteFunction<{
|
|
22585
|
-
action: "
|
|
22592
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22586
22593
|
trigger_id?: string | undefined;
|
|
22587
22594
|
body?: Record<string, unknown> | undefined;
|
|
22588
22595
|
}, any, any> | undefined;
|
|
@@ -22593,7 +22600,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22593
22600
|
readonly strict?: boolean;
|
|
22594
22601
|
readonly inputExamples?: {
|
|
22595
22602
|
input: NoInfer<{
|
|
22596
|
-
action: "
|
|
22603
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22597
22604
|
trigger_id?: string | undefined;
|
|
22598
22605
|
body?: Record<string, unknown> | undefined;
|
|
22599
22606
|
}>;
|
|
@@ -22610,13 +22617,13 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22610
22617
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
22611
22618
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
22612
22619
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
22613
|
-
action: "
|
|
22620
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22614
22621
|
trigger_id?: string | undefined;
|
|
22615
22622
|
body?: Record<string, unknown> | undefined;
|
|
22616
22623
|
}>;
|
|
22617
22624
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22618
22625
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
22619
|
-
action: "
|
|
22626
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22620
22627
|
trigger_id?: string | undefined;
|
|
22621
22628
|
body?: Record<string, unknown> | undefined;
|
|
22622
22629
|
}, any> | undefined;
|
|
@@ -22626,7 +22633,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22626
22633
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
22627
22634
|
readonly onInputAvailable?: ((options: {
|
|
22628
22635
|
input: {
|
|
22629
|
-
action: "
|
|
22636
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22630
22637
|
trigger_id?: string | undefined;
|
|
22631
22638
|
body?: Record<string, unknown> | undefined;
|
|
22632
22639
|
};
|
|
@@ -22634,7 +22641,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22634
22641
|
readonly toModelOutput?: ((options: {
|
|
22635
22642
|
toolCallId: string;
|
|
22636
22643
|
input: {
|
|
22637
|
-
action: "
|
|
22644
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22638
22645
|
trigger_id?: string | undefined;
|
|
22639
22646
|
body?: Record<string, unknown> | undefined;
|
|
22640
22647
|
};
|
|
@@ -22657,13 +22664,13 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22657
22664
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
22658
22665
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
22659
22666
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
22660
|
-
action: "
|
|
22667
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22661
22668
|
trigger_id?: string | undefined;
|
|
22662
22669
|
body?: Record<string, unknown> | undefined;
|
|
22663
22670
|
}>;
|
|
22664
22671
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22665
22672
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
22666
|
-
action: "
|
|
22673
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22667
22674
|
trigger_id?: string | undefined;
|
|
22668
22675
|
body?: Record<string, unknown> | undefined;
|
|
22669
22676
|
}, any> | undefined;
|
|
@@ -22673,7 +22680,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22673
22680
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
22674
22681
|
readonly onInputAvailable?: ((options: {
|
|
22675
22682
|
input: {
|
|
22676
|
-
action: "
|
|
22683
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22677
22684
|
trigger_id?: string | undefined;
|
|
22678
22685
|
body?: Record<string, unknown> | undefined;
|
|
22679
22686
|
};
|
|
@@ -22681,7 +22688,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22681
22688
|
readonly toModelOutput?: ((options: {
|
|
22682
22689
|
toolCallId: string;
|
|
22683
22690
|
input: {
|
|
22684
|
-
action: "
|
|
22691
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22685
22692
|
trigger_id?: string | undefined;
|
|
22686
22693
|
body?: Record<string, unknown> | undefined;
|
|
22687
22694
|
};
|
|
@@ -22689,7 +22696,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22689
22696
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
22690
22697
|
readonly outputSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22691
22698
|
readonly execute?: import("@ai-sdk/provider-utils").ToolExecuteFunction<{
|
|
22692
|
-
action: "
|
|
22699
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22693
22700
|
trigger_id?: string | undefined;
|
|
22694
22701
|
body?: Record<string, unknown> | undefined;
|
|
22695
22702
|
}, any, any> | undefined;
|
|
@@ -22708,13 +22715,13 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22708
22715
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
22709
22716
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
22710
22717
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
22711
|
-
action: "
|
|
22718
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22712
22719
|
trigger_id?: string | undefined;
|
|
22713
22720
|
body?: Record<string, unknown> | undefined;
|
|
22714
22721
|
}>;
|
|
22715
22722
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22716
22723
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
22717
|
-
action: "
|
|
22724
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22718
22725
|
trigger_id?: string | undefined;
|
|
22719
22726
|
body?: Record<string, unknown> | undefined;
|
|
22720
22727
|
}, any> | undefined;
|
|
@@ -22724,7 +22731,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22724
22731
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
22725
22732
|
readonly onInputAvailable?: ((options: {
|
|
22726
22733
|
input: {
|
|
22727
|
-
action: "
|
|
22734
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22728
22735
|
trigger_id?: string | undefined;
|
|
22729
22736
|
body?: Record<string, unknown> | undefined;
|
|
22730
22737
|
};
|
|
@@ -22732,7 +22739,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22732
22739
|
readonly toModelOutput?: ((options: {
|
|
22733
22740
|
toolCallId: string;
|
|
22734
22741
|
input: {
|
|
22735
|
-
action: "
|
|
22742
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22736
22743
|
trigger_id?: string | undefined;
|
|
22737
22744
|
body?: Record<string, unknown> | undefined;
|
|
22738
22745
|
};
|
|
@@ -22755,13 +22762,13 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22755
22762
|
readonly providerOptions?: import("@ai-sdk/provider-utils").ProviderOptions;
|
|
22756
22763
|
readonly metadata?: import("@ai-sdk/provider").JSONObject;
|
|
22757
22764
|
readonly inputSchema: import("@ai-sdk/provider-utils").FlexibleSchema<{
|
|
22758
|
-
action: "
|
|
22765
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22759
22766
|
trigger_id?: string | undefined;
|
|
22760
22767
|
body?: Record<string, unknown> | undefined;
|
|
22761
22768
|
}>;
|
|
22762
22769
|
readonly contextSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22763
22770
|
readonly needsApproval?: boolean | import("@ai-sdk/provider-utils").ToolNeedsApprovalFunction<{
|
|
22764
|
-
action: "
|
|
22771
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22765
22772
|
trigger_id?: string | undefined;
|
|
22766
22773
|
body?: Record<string, unknown> | undefined;
|
|
22767
22774
|
}, any> | undefined;
|
|
@@ -22771,7 +22778,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22771
22778
|
} & import("@ai-sdk/provider-utils").ToolExecutionOptions<any>) => void | PromiseLike<void>) | undefined;
|
|
22772
22779
|
readonly onInputAvailable?: ((options: {
|
|
22773
22780
|
input: {
|
|
22774
|
-
action: "
|
|
22781
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22775
22782
|
trigger_id?: string | undefined;
|
|
22776
22783
|
body?: Record<string, unknown> | undefined;
|
|
22777
22784
|
};
|
|
@@ -22779,7 +22786,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22779
22786
|
readonly toModelOutput?: ((options: {
|
|
22780
22787
|
toolCallId: string;
|
|
22781
22788
|
input: {
|
|
22782
|
-
action: "
|
|
22789
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22783
22790
|
trigger_id?: string | undefined;
|
|
22784
22791
|
body?: Record<string, unknown> | undefined;
|
|
22785
22792
|
};
|
|
@@ -22787,7 +22794,7 @@ export declare const claudeCode: import("@ai-sdk/harness").HarnessV1<{
|
|
|
22787
22794
|
}) => import("@ai-sdk/provider-utils").ToolResultOutput | PromiseLike<import("@ai-sdk/provider-utils").ToolResultOutput>) | undefined;
|
|
22788
22795
|
readonly outputSchema?: import("@ai-sdk/provider-utils").FlexibleSchema<any> | undefined;
|
|
22789
22796
|
readonly execute?: import("@ai-sdk/provider-utils").ToolExecuteFunction<{
|
|
22790
|
-
action: "
|
|
22797
|
+
action: "list" | "get" | "create" | "update" | "run";
|
|
22791
22798
|
trigger_id?: string | undefined;
|
|
22792
22799
|
body?: Record<string, unknown> | undefined;
|
|
22793
22800
|
}, any, any> | undefined;
|