@tickernelz/paperclip-pro-adapter-utils 2026.1009.2 → 2026.1010.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@agentclientprotocol/sdk/dist/acp.d.ts +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/acp.js +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/acp.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.d.ts +62 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js +94 -1
- package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/schema/index.d.ts +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/schema/index.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.d.ts +58 -75
- package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.d.ts +680 -1355
- package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js +88 -80
- package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js +19 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.d.ts +2 -2
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.d.ts +67 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js +158 -15
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.d.ts +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.d.ts +66 -55
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.d.ts +656 -870
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js +75 -69
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/package.json +1 -1
- package/node_modules/@agentclientprotocol/sdk/schema/schema.json +209 -67
- package/node_modules/@agentclientprotocol/sdk/schema/v2/schema.unstable.json +206 -89
- package/node_modules/bare-fs/binding.c +1 -1
- package/node_modules/bare-fs/package.json +1 -1
- package/node_modules/bare-fs/prebuilds/android-arm/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-ia32/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-x64/bare-fs.bare +0 -0
- package/package.json +2 -2
|
@@ -8008,20 +8008,12 @@ export declare const zAuthMethodTerminal: z.ZodObject<{
|
|
|
8008
8008
|
methodId: z.ZodString;
|
|
8009
8009
|
name: z.ZodString;
|
|
8010
8010
|
description: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
8011
|
-
args: z.
|
|
8012
|
-
env: z.
|
|
8011
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8012
|
+
env: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8013
8013
|
name: z.ZodString;
|
|
8014
8014
|
value: z.ZodString;
|
|
8015
8015
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
8016
|
-
}, z.core.$strip
|
|
8017
|
-
name: string;
|
|
8018
|
-
value: string;
|
|
8019
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
8020
|
-
}[], {
|
|
8021
|
-
name: string;
|
|
8022
|
-
value: string;
|
|
8023
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
8024
|
-
}[]>>>>;
|
|
8016
|
+
}, z.core.$strip>>>;
|
|
8025
8017
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
8026
8018
|
}, z.core.$strip>;
|
|
8027
8019
|
/**
|
|
@@ -9871,7 +9863,11 @@ export declare const zSetSessionConfigOptionResponse: z.ZodObject<{
|
|
|
9871
9863
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
9872
9864
|
}, z.core.$strip>;
|
|
9873
9865
|
/**
|
|
9874
|
-
*
|
|
9866
|
+
* Identifier for a message, unique among messages of the same type within a session.
|
|
9867
|
+
*
|
|
9868
|
+
* Each message type, such as user messages, agent messages, and agent thoughts,
|
|
9869
|
+
* has its own ID space: messages of different types may share an ID and remain
|
|
9870
|
+
* distinct messages.
|
|
9875
9871
|
*/
|
|
9876
9872
|
export declare const zMessageId: z.ZodString;
|
|
9877
9873
|
/**
|
|
@@ -13915,11 +13911,15 @@ export declare const zRunningStateUpdate: z.ZodObject<{
|
|
|
13915
13911
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
13916
13912
|
}, z.core.$strip>;
|
|
13917
13913
|
/**
|
|
13918
|
-
*
|
|
13919
|
-
*
|
|
13920
|
-
* See protocol docs: [Stop Reasons](https://agentclientprotocol.com/protocol/v2/draft/prompt-lifecycle#stop-reasons)
|
|
13914
|
+
* Details of a failure that ended active work.
|
|
13921
13915
|
*/
|
|
13922
|
-
export declare const
|
|
13916
|
+
export declare const zErrorStopReason: z.ZodObject<{
|
|
13917
|
+
error: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13918
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<-32700>, z.ZodLiteral<-32600>, z.ZodLiteral<-32601>, z.ZodLiteral<-32602>, z.ZodLiteral<-32603>, z.ZodLiteral<-32800>, z.ZodLiteral<-32000>, z.ZodLiteral<-32002>, z.ZodInt]>;
|
|
13919
|
+
message: z.ZodString;
|
|
13920
|
+
data: z.ZodCatch<z.ZodOptional<z.ZodUnknown>>;
|
|
13921
|
+
}, z.core.$strip>>>>;
|
|
13922
|
+
}, z.core.$strip>;
|
|
13923
13923
|
/**
|
|
13924
13924
|
* **UNSTABLE**
|
|
13925
13925
|
*
|
|
@@ -13940,20 +13940,152 @@ export declare const zUsage: z.ZodObject<{
|
|
|
13940
13940
|
}, z.core.$strip>;
|
|
13941
13941
|
/**
|
|
13942
13942
|
* The agent is ready to process a new prompt.
|
|
13943
|
+
*
|
|
13944
|
+
* Agents SHOULD include a `stopReason` when the idle transition ends foreground
|
|
13945
|
+
* work. An omitted, `null`, or malformed `stopReason` means the agent is not
|
|
13946
|
+
* reporting one.
|
|
13947
|
+
*
|
|
13948
|
+
* Custom variants (unknown `stopReason` values) keep their extra
|
|
13949
|
+
* properties exactly as received; unlike known variants, those keys
|
|
13950
|
+
* bypass lenient-field salvage and arrive unvalidated.
|
|
13943
13951
|
*/
|
|
13944
|
-
export declare const zIdleStateUpdate: z.
|
|
13945
|
-
stopReason:
|
|
13946
|
-
|
|
13947
|
-
|
|
13948
|
-
|
|
13949
|
-
|
|
13950
|
-
|
|
13951
|
-
|
|
13952
|
-
|
|
13953
|
-
|
|
13954
|
-
|
|
13955
|
-
|
|
13956
|
-
|
|
13952
|
+
export declare const zIdleStateUpdate: z.ZodPreprocess<z.ZodType<({
|
|
13953
|
+
stopReason: "end_turn";
|
|
13954
|
+
} | {
|
|
13955
|
+
stopReason: "max_tokens";
|
|
13956
|
+
} | {
|
|
13957
|
+
stopReason: "max_turn_requests";
|
|
13958
|
+
} | {
|
|
13959
|
+
stopReason: "refusal";
|
|
13960
|
+
} | {
|
|
13961
|
+
stopReason: "cancelled";
|
|
13962
|
+
} | ({
|
|
13963
|
+
error?: {
|
|
13964
|
+
code: number;
|
|
13965
|
+
message: string;
|
|
13966
|
+
data?: unknown;
|
|
13967
|
+
} | null | undefined;
|
|
13968
|
+
} & {
|
|
13969
|
+
stopReason: "error";
|
|
13970
|
+
}) | {
|
|
13971
|
+
stopReason: string;
|
|
13972
|
+
} | {
|
|
13973
|
+
stopReason?: null | undefined;
|
|
13974
|
+
}) & {
|
|
13975
|
+
usage?: {
|
|
13976
|
+
totalTokens: number;
|
|
13977
|
+
inputTokens: number;
|
|
13978
|
+
outputTokens: number;
|
|
13979
|
+
thoughtTokens?: number | null | undefined;
|
|
13980
|
+
cachedReadTokens?: number | null | undefined;
|
|
13981
|
+
cachedWriteTokens?: number | null | undefined;
|
|
13982
|
+
_meta?: Record<string, unknown> | null | undefined;
|
|
13983
|
+
} | null | undefined;
|
|
13984
|
+
_meta?: Record<string, unknown> | null | undefined;
|
|
13985
|
+
stopReason?: string | null | undefined;
|
|
13986
|
+
}, ({
|
|
13987
|
+
stopReason: "end_turn";
|
|
13988
|
+
} | {
|
|
13989
|
+
stopReason: "max_tokens";
|
|
13990
|
+
} | {
|
|
13991
|
+
stopReason: "max_turn_requests";
|
|
13992
|
+
} | {
|
|
13993
|
+
stopReason: "refusal";
|
|
13994
|
+
} | {
|
|
13995
|
+
stopReason: "cancelled";
|
|
13996
|
+
} | ({
|
|
13997
|
+
error?: {
|
|
13998
|
+
code: number;
|
|
13999
|
+
message: string;
|
|
14000
|
+
data?: unknown;
|
|
14001
|
+
} | null | undefined;
|
|
14002
|
+
} & {
|
|
14003
|
+
stopReason: "error";
|
|
14004
|
+
}) | {
|
|
14005
|
+
stopReason: string;
|
|
14006
|
+
} | {
|
|
14007
|
+
stopReason?: null | undefined;
|
|
14008
|
+
}) & {
|
|
14009
|
+
usage?: {
|
|
14010
|
+
totalTokens: number;
|
|
14011
|
+
inputTokens: number;
|
|
14012
|
+
outputTokens: number;
|
|
14013
|
+
thoughtTokens?: number | null | undefined;
|
|
14014
|
+
cachedReadTokens?: number | null | undefined;
|
|
14015
|
+
cachedWriteTokens?: number | null | undefined;
|
|
14016
|
+
_meta?: Record<string, unknown> | null | undefined;
|
|
14017
|
+
} | null | undefined;
|
|
14018
|
+
_meta?: Record<string, unknown> | null | undefined;
|
|
14019
|
+
stopReason?: string | null | undefined;
|
|
14020
|
+
}, z.core.$ZodTypeInternals<({
|
|
14021
|
+
stopReason: "end_turn";
|
|
14022
|
+
} | {
|
|
14023
|
+
stopReason: "max_tokens";
|
|
14024
|
+
} | {
|
|
14025
|
+
stopReason: "max_turn_requests";
|
|
14026
|
+
} | {
|
|
14027
|
+
stopReason: "refusal";
|
|
14028
|
+
} | {
|
|
14029
|
+
stopReason: "cancelled";
|
|
14030
|
+
} | ({
|
|
14031
|
+
error?: {
|
|
14032
|
+
code: number;
|
|
14033
|
+
message: string;
|
|
14034
|
+
data?: unknown;
|
|
14035
|
+
} | null | undefined;
|
|
14036
|
+
} & {
|
|
14037
|
+
stopReason: "error";
|
|
14038
|
+
}) | {
|
|
14039
|
+
stopReason: string;
|
|
14040
|
+
} | {
|
|
14041
|
+
stopReason?: null | undefined;
|
|
14042
|
+
}) & {
|
|
14043
|
+
usage?: {
|
|
14044
|
+
totalTokens: number;
|
|
14045
|
+
inputTokens: number;
|
|
14046
|
+
outputTokens: number;
|
|
14047
|
+
thoughtTokens?: number | null | undefined;
|
|
14048
|
+
cachedReadTokens?: number | null | undefined;
|
|
14049
|
+
cachedWriteTokens?: number | null | undefined;
|
|
14050
|
+
_meta?: Record<string, unknown> | null | undefined;
|
|
14051
|
+
} | null | undefined;
|
|
14052
|
+
_meta?: Record<string, unknown> | null | undefined;
|
|
14053
|
+
stopReason?: string | null | undefined;
|
|
14054
|
+
}, ({
|
|
14055
|
+
stopReason: "end_turn";
|
|
14056
|
+
} | {
|
|
14057
|
+
stopReason: "max_tokens";
|
|
14058
|
+
} | {
|
|
14059
|
+
stopReason: "max_turn_requests";
|
|
14060
|
+
} | {
|
|
14061
|
+
stopReason: "refusal";
|
|
14062
|
+
} | {
|
|
14063
|
+
stopReason: "cancelled";
|
|
14064
|
+
} | ({
|
|
14065
|
+
error?: {
|
|
14066
|
+
code: number;
|
|
14067
|
+
message: string;
|
|
14068
|
+
data?: unknown;
|
|
14069
|
+
} | null | undefined;
|
|
14070
|
+
} & {
|
|
14071
|
+
stopReason: "error";
|
|
14072
|
+
}) | {
|
|
14073
|
+
stopReason: string;
|
|
14074
|
+
} | {
|
|
14075
|
+
stopReason?: null | undefined;
|
|
14076
|
+
}) & {
|
|
14077
|
+
usage?: {
|
|
14078
|
+
totalTokens: number;
|
|
14079
|
+
inputTokens: number;
|
|
14080
|
+
outputTokens: number;
|
|
14081
|
+
thoughtTokens?: number | null | undefined;
|
|
14082
|
+
cachedReadTokens?: number | null | undefined;
|
|
14083
|
+
cachedWriteTokens?: number | null | undefined;
|
|
14084
|
+
_meta?: Record<string, unknown> | null | undefined;
|
|
14085
|
+
} | null | undefined;
|
|
14086
|
+
_meta?: Record<string, unknown> | null | undefined;
|
|
14087
|
+
stopReason?: string | null | undefined;
|
|
14088
|
+
}>>, unknown>;
|
|
13957
14089
|
/**
|
|
13958
14090
|
* Foreground work is blocked on user action.
|
|
13959
14091
|
*/
|
|
@@ -13994,8 +14126,29 @@ export declare const zStateUpdate: z.ZodType<({
|
|
|
13994
14126
|
_meta?: Record<string, unknown> | null | undefined;
|
|
13995
14127
|
} & {
|
|
13996
14128
|
state: "running";
|
|
13997
|
-
}) | ({
|
|
13998
|
-
stopReason
|
|
14129
|
+
}) | ((({
|
|
14130
|
+
stopReason: "end_turn";
|
|
14131
|
+
} | {
|
|
14132
|
+
stopReason: "max_tokens";
|
|
14133
|
+
} | {
|
|
14134
|
+
stopReason: "max_turn_requests";
|
|
14135
|
+
} | {
|
|
14136
|
+
stopReason: "refusal";
|
|
14137
|
+
} | {
|
|
14138
|
+
stopReason: "cancelled";
|
|
14139
|
+
} | ({
|
|
14140
|
+
error?: {
|
|
14141
|
+
code: number;
|
|
14142
|
+
message: string;
|
|
14143
|
+
data?: unknown;
|
|
14144
|
+
} | null | undefined;
|
|
14145
|
+
} & {
|
|
14146
|
+
stopReason: "error";
|
|
14147
|
+
}) | {
|
|
14148
|
+
stopReason: string;
|
|
14149
|
+
} | {
|
|
14150
|
+
stopReason?: null | undefined;
|
|
14151
|
+
}) & {
|
|
13999
14152
|
usage?: {
|
|
14000
14153
|
totalTokens: number;
|
|
14001
14154
|
inputTokens: number;
|
|
@@ -14006,7 +14159,8 @@ export declare const zStateUpdate: z.ZodType<({
|
|
|
14006
14159
|
_meta?: Record<string, unknown> | null | undefined;
|
|
14007
14160
|
} | null | undefined;
|
|
14008
14161
|
_meta?: Record<string, unknown> | null | undefined;
|
|
14009
|
-
|
|
14162
|
+
stopReason?: string | null | undefined;
|
|
14163
|
+
}) & {
|
|
14010
14164
|
state: "idle";
|
|
14011
14165
|
}) | ({
|
|
14012
14166
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -14022,21 +14176,9 @@ export declare const zStateUpdate: z.ZodType<({
|
|
|
14022
14176
|
_meta?: Record<string, unknown> | null | undefined;
|
|
14023
14177
|
} & {
|
|
14024
14178
|
state: "running";
|
|
14025
|
-
}) |
|
|
14026
|
-
stopReason?: string | null | undefined;
|
|
14027
|
-
usage?: {
|
|
14028
|
-
totalTokens: number;
|
|
14029
|
-
inputTokens: number;
|
|
14030
|
-
outputTokens: number;
|
|
14031
|
-
thoughtTokens?: number | null | undefined;
|
|
14032
|
-
cachedReadTokens?: number | null | undefined;
|
|
14033
|
-
cachedWriteTokens?: number | null | undefined;
|
|
14034
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
14035
|
-
} | null | undefined;
|
|
14036
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
14037
|
-
} & {
|
|
14179
|
+
}) | {
|
|
14038
14180
|
state: "idle";
|
|
14039
|
-
}
|
|
14181
|
+
} | ({
|
|
14040
14182
|
_meta?: Record<string, unknown> | null | undefined;
|
|
14041
14183
|
} & {
|
|
14042
14184
|
state: "requires_action";
|
|
@@ -14050,8 +14192,29 @@ export declare const zStateUpdate: z.ZodType<({
|
|
|
14050
14192
|
_meta?: Record<string, unknown> | null | undefined;
|
|
14051
14193
|
} & {
|
|
14052
14194
|
state: "running";
|
|
14053
|
-
}) | ({
|
|
14054
|
-
stopReason
|
|
14195
|
+
}) | ((({
|
|
14196
|
+
stopReason: "end_turn";
|
|
14197
|
+
} | {
|
|
14198
|
+
stopReason: "max_tokens";
|
|
14199
|
+
} | {
|
|
14200
|
+
stopReason: "max_turn_requests";
|
|
14201
|
+
} | {
|
|
14202
|
+
stopReason: "refusal";
|
|
14203
|
+
} | {
|
|
14204
|
+
stopReason: "cancelled";
|
|
14205
|
+
} | ({
|
|
14206
|
+
error?: {
|
|
14207
|
+
code: number;
|
|
14208
|
+
message: string;
|
|
14209
|
+
data?: unknown;
|
|
14210
|
+
} | null | undefined;
|
|
14211
|
+
} & {
|
|
14212
|
+
stopReason: "error";
|
|
14213
|
+
}) | {
|
|
14214
|
+
stopReason: string;
|
|
14215
|
+
} | {
|
|
14216
|
+
stopReason?: null | undefined;
|
|
14217
|
+
}) & {
|
|
14055
14218
|
usage?: {
|
|
14056
14219
|
totalTokens: number;
|
|
14057
14220
|
inputTokens: number;
|
|
@@ -14062,7 +14225,8 @@ export declare const zStateUpdate: z.ZodType<({
|
|
|
14062
14225
|
_meta?: Record<string, unknown> | null | undefined;
|
|
14063
14226
|
} | null | undefined;
|
|
14064
14227
|
_meta?: Record<string, unknown> | null | undefined;
|
|
14065
|
-
|
|
14228
|
+
stopReason?: string | null | undefined;
|
|
14229
|
+
}) & {
|
|
14066
14230
|
state: "idle";
|
|
14067
14231
|
}) | ({
|
|
14068
14232
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -14078,21 +14242,9 @@ export declare const zStateUpdate: z.ZodType<({
|
|
|
14078
14242
|
_meta?: Record<string, unknown> | null | undefined;
|
|
14079
14243
|
} & {
|
|
14080
14244
|
state: "running";
|
|
14081
|
-
}) |
|
|
14082
|
-
stopReason?: string | null | undefined;
|
|
14083
|
-
usage?: {
|
|
14084
|
-
totalTokens: number;
|
|
14085
|
-
inputTokens: number;
|
|
14086
|
-
outputTokens: number;
|
|
14087
|
-
thoughtTokens?: number | null | undefined;
|
|
14088
|
-
cachedReadTokens?: number | null | undefined;
|
|
14089
|
-
cachedWriteTokens?: number | null | undefined;
|
|
14090
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
14091
|
-
} | null | undefined;
|
|
14092
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
14093
|
-
} & {
|
|
14245
|
+
}) | {
|
|
14094
14246
|
state: "idle";
|
|
14095
|
-
}
|
|
14247
|
+
} | ({
|
|
14096
14248
|
_meta?: Record<string, unknown> | null | undefined;
|
|
14097
14249
|
} & {
|
|
14098
14250
|
state: "requires_action";
|
|
@@ -15235,29 +15387,17 @@ export declare const zUsageUpdate: z.ZodObject<{
|
|
|
15235
15387
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
15236
15388
|
}, z.core.$strip>;
|
|
15237
15389
|
/**
|
|
15238
|
-
* **UNSTABLE**
|
|
15239
|
-
*
|
|
15240
|
-
* This capability is not part of the spec yet, and may be removed or changed at any point.
|
|
15241
|
-
*
|
|
15242
15390
|
* Severity hint for a session notice.
|
|
15243
|
-
*
|
|
15244
|
-
* @experimental
|
|
15245
15391
|
*/
|
|
15246
15392
|
export declare const zNoticeSeverity: z.ZodUnion<readonly [z.ZodLiteral<"info">, z.ZodLiteral<"warning">, z.ZodLiteral<"error">, z.ZodString]>;
|
|
15247
15393
|
/**
|
|
15248
|
-
*
|
|
15249
|
-
*
|
|
15250
|
-
* This capability is not part of the spec yet, and may be removed or changed at any point.
|
|
15251
|
-
*
|
|
15252
|
-
* Fire-and-forget advisory information for the user.
|
|
15394
|
+
* Fire-and-forget information for the user.
|
|
15253
15395
|
*
|
|
15254
15396
|
* Notices are live events rather than session history. Agents must not rely on
|
|
15255
15397
|
* a notice being received, displayed, or seen by the user.
|
|
15256
15398
|
* No Client capability is required, and unsupported Clients may ignore notices.
|
|
15257
15399
|
*
|
|
15258
15400
|
* See RFD: [Session Notices](https://agentclientprotocol.com/rfds/session-notices)
|
|
15259
|
-
*
|
|
15260
|
-
* @experimental
|
|
15261
15401
|
*/
|
|
15262
15402
|
export declare const zNotice: z.ZodObject<{
|
|
15263
15403
|
severity: z.ZodUnion<readonly [z.ZodLiteral<"info">, z.ZodLiteral<"warning">, z.ZodLiteral<"error">, z.ZodString]>;
|
|
@@ -15266,39 +15406,20 @@ export declare const zNotice: z.ZodObject<{
|
|
|
15266
15406
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
15267
15407
|
}, z.core.$strip>;
|
|
15268
15408
|
/**
|
|
15269
|
-
* **UNSTABLE**
|
|
15270
|
-
*
|
|
15271
|
-
* This capability is not part of the spec yet, and may be removed or changed at any point.
|
|
15272
|
-
*
|
|
15273
15409
|
* Unique identifier for a context compaction within a session.
|
|
15274
|
-
*
|
|
15275
|
-
* @experimental
|
|
15276
15410
|
*/
|
|
15277
15411
|
export declare const zCompactionId: z.ZodString;
|
|
15278
15412
|
/**
|
|
15279
|
-
* **UNSTABLE**
|
|
15280
|
-
*
|
|
15281
|
-
* This capability is not part of the spec yet, and may be removed or changed at any point.
|
|
15282
|
-
*
|
|
15283
15413
|
* Lifecycle state of a context compaction.
|
|
15284
|
-
*
|
|
15285
|
-
* @experimental
|
|
15286
15414
|
*/
|
|
15287
15415
|
export declare const zCompactionStatus: z.ZodUnion<readonly [z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">, z.ZodLiteral<"cancelled">, z.ZodString]>;
|
|
15288
15416
|
/**
|
|
15289
|
-
*
|
|
15290
|
-
*
|
|
15291
|
-
* This capability is not part of the spec yet, and may be removed or changed at any point.
|
|
15292
|
-
*
|
|
15293
|
-
* A context compaction upsert. The first update fixes the compaction's
|
|
15417
|
+
* A context compaction upsert. The first notification fixes the compaction's
|
|
15294
15418
|
* timeline position. Later updates with the same ID patch that entity in place.
|
|
15295
15419
|
*
|
|
15296
15420
|
* `summary`, `error`, and `_meta` have patch semantics: omission leaves the
|
|
15297
15421
|
* stored value unchanged, `null` clears it, and a concrete value replaces it.
|
|
15298
|
-
* `summary: []` also clears the
|
|
15299
|
-
* valid with `completed`; `error` is only valid with `failed`.
|
|
15300
|
-
*
|
|
15301
|
-
* @experimental
|
|
15422
|
+
* `summary: []` also clears the summary.
|
|
15302
15423
|
*/
|
|
15303
15424
|
export declare const zCompactionUpdate: z.ZodObject<{
|
|
15304
15425
|
compactionId: z.ZodString;
|
|
@@ -15794,15 +15915,8 @@ export declare const zCompactionUpdate: z.ZodObject<{
|
|
|
15794
15915
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
15795
15916
|
}, z.core.$strip>;
|
|
15796
15917
|
/**
|
|
15797
|
-
*
|
|
15798
|
-
*
|
|
15799
|
-
* This capability is not part of the spec yet, and may be removed or changed at any point.
|
|
15800
|
-
*
|
|
15801
|
-
* A content block appended to the retained summary of an in-progress
|
|
15802
|
-
* compaction. Agents send chunks only after an `in_progress` update and before
|
|
15803
|
-
* the terminal update for the same ID.
|
|
15804
|
-
*
|
|
15805
|
-
* @experimental
|
|
15918
|
+
* A content block appended to a compaction's summary. A first-seen ID creates
|
|
15919
|
+
* an in-progress compaction. Chunks append in receive order.
|
|
15806
15920
|
*/
|
|
15807
15921
|
export declare const zCompactionSummaryChunk: z.ZodObject<{
|
|
15808
15922
|
compactionId: z.ZodString;
|
|
@@ -16216,8 +16330,29 @@ export declare const zSubagentUpdate: z.ZodObject<{
|
|
|
16216
16330
|
_meta?: Record<string, unknown> | null | undefined;
|
|
16217
16331
|
} & {
|
|
16218
16332
|
state: "running";
|
|
16219
|
-
}) | ({
|
|
16220
|
-
stopReason
|
|
16333
|
+
}) | ((({
|
|
16334
|
+
stopReason: "end_turn";
|
|
16335
|
+
} | {
|
|
16336
|
+
stopReason: "max_tokens";
|
|
16337
|
+
} | {
|
|
16338
|
+
stopReason: "max_turn_requests";
|
|
16339
|
+
} | {
|
|
16340
|
+
stopReason: "refusal";
|
|
16341
|
+
} | {
|
|
16342
|
+
stopReason: "cancelled";
|
|
16343
|
+
} | ({
|
|
16344
|
+
error?: {
|
|
16345
|
+
code: number;
|
|
16346
|
+
message: string;
|
|
16347
|
+
data?: unknown;
|
|
16348
|
+
} | null | undefined;
|
|
16349
|
+
} & {
|
|
16350
|
+
stopReason: "error";
|
|
16351
|
+
}) | {
|
|
16352
|
+
stopReason: string;
|
|
16353
|
+
} | {
|
|
16354
|
+
stopReason?: null | undefined;
|
|
16355
|
+
}) & {
|
|
16221
16356
|
usage?: {
|
|
16222
16357
|
totalTokens: number;
|
|
16223
16358
|
inputTokens: number;
|
|
@@ -16228,7 +16363,8 @@ export declare const zSubagentUpdate: z.ZodObject<{
|
|
|
16228
16363
|
_meta?: Record<string, unknown> | null | undefined;
|
|
16229
16364
|
} | null | undefined;
|
|
16230
16365
|
_meta?: Record<string, unknown> | null | undefined;
|
|
16231
|
-
|
|
16366
|
+
stopReason?: string | null | undefined;
|
|
16367
|
+
}) & {
|
|
16232
16368
|
state: "idle";
|
|
16233
16369
|
}) | ({
|
|
16234
16370
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -16244,21 +16380,9 @@ export declare const zSubagentUpdate: z.ZodObject<{
|
|
|
16244
16380
|
_meta?: Record<string, unknown> | null | undefined;
|
|
16245
16381
|
} & {
|
|
16246
16382
|
state: "running";
|
|
16247
|
-
}) |
|
|
16248
|
-
stopReason?: string | null | undefined;
|
|
16249
|
-
usage?: {
|
|
16250
|
-
totalTokens: number;
|
|
16251
|
-
inputTokens: number;
|
|
16252
|
-
outputTokens: number;
|
|
16253
|
-
thoughtTokens?: number | null | undefined;
|
|
16254
|
-
cachedReadTokens?: number | null | undefined;
|
|
16255
|
-
cachedWriteTokens?: number | null | undefined;
|
|
16256
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
16257
|
-
} | null | undefined;
|
|
16258
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
16259
|
-
} & {
|
|
16383
|
+
}) | {
|
|
16260
16384
|
state: "idle";
|
|
16261
|
-
}
|
|
16385
|
+
} | ({
|
|
16262
16386
|
_meta?: Record<string, unknown> | null | undefined;
|
|
16263
16387
|
} & {
|
|
16264
16388
|
state: "requires_action";
|
|
@@ -16272,10 +16396,31 @@ export declare const zSubagentUpdate: z.ZodObject<{
|
|
|
16272
16396
|
_meta?: Record<string, unknown> | null | undefined;
|
|
16273
16397
|
} & {
|
|
16274
16398
|
state: "running";
|
|
16275
|
-
}) | ({
|
|
16276
|
-
stopReason
|
|
16277
|
-
|
|
16278
|
-
|
|
16399
|
+
}) | ((({
|
|
16400
|
+
stopReason: "end_turn";
|
|
16401
|
+
} | {
|
|
16402
|
+
stopReason: "max_tokens";
|
|
16403
|
+
} | {
|
|
16404
|
+
stopReason: "max_turn_requests";
|
|
16405
|
+
} | {
|
|
16406
|
+
stopReason: "refusal";
|
|
16407
|
+
} | {
|
|
16408
|
+
stopReason: "cancelled";
|
|
16409
|
+
} | ({
|
|
16410
|
+
error?: {
|
|
16411
|
+
code: number;
|
|
16412
|
+
message: string;
|
|
16413
|
+
data?: unknown;
|
|
16414
|
+
} | null | undefined;
|
|
16415
|
+
} & {
|
|
16416
|
+
stopReason: "error";
|
|
16417
|
+
}) | {
|
|
16418
|
+
stopReason: string;
|
|
16419
|
+
} | {
|
|
16420
|
+
stopReason?: null | undefined;
|
|
16421
|
+
}) & {
|
|
16422
|
+
usage?: {
|
|
16423
|
+
totalTokens: number;
|
|
16279
16424
|
inputTokens: number;
|
|
16280
16425
|
outputTokens: number;
|
|
16281
16426
|
thoughtTokens?: number | null | undefined;
|
|
@@ -16284,7 +16429,8 @@ export declare const zSubagentUpdate: z.ZodObject<{
|
|
|
16284
16429
|
_meta?: Record<string, unknown> | null | undefined;
|
|
16285
16430
|
} | null | undefined;
|
|
16286
16431
|
_meta?: Record<string, unknown> | null | undefined;
|
|
16287
|
-
|
|
16432
|
+
stopReason?: string | null | undefined;
|
|
16433
|
+
}) & {
|
|
16288
16434
|
state: "idle";
|
|
16289
16435
|
}) | ({
|
|
16290
16436
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -16300,21 +16446,9 @@ export declare const zSubagentUpdate: z.ZodObject<{
|
|
|
16300
16446
|
_meta?: Record<string, unknown> | null | undefined;
|
|
16301
16447
|
} & {
|
|
16302
16448
|
state: "running";
|
|
16303
|
-
}) |
|
|
16304
|
-
stopReason?: string | null | undefined;
|
|
16305
|
-
usage?: {
|
|
16306
|
-
totalTokens: number;
|
|
16307
|
-
inputTokens: number;
|
|
16308
|
-
outputTokens: number;
|
|
16309
|
-
thoughtTokens?: number | null | undefined;
|
|
16310
|
-
cachedReadTokens?: number | null | undefined;
|
|
16311
|
-
cachedWriteTokens?: number | null | undefined;
|
|
16312
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
16313
|
-
} | null | undefined;
|
|
16314
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
16315
|
-
} & {
|
|
16449
|
+
}) | {
|
|
16316
16450
|
state: "idle";
|
|
16317
|
-
}
|
|
16451
|
+
} | ({
|
|
16318
16452
|
_meta?: Record<string, unknown> | null | undefined;
|
|
16319
16453
|
} & {
|
|
16320
16454
|
state: "requires_action";
|
|
@@ -17706,8 +17840,29 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
17706
17840
|
_meta?: Record<string, unknown> | null | undefined;
|
|
17707
17841
|
} & {
|
|
17708
17842
|
state: "running";
|
|
17709
|
-
}) | ({
|
|
17710
|
-
stopReason
|
|
17843
|
+
}) | ((({
|
|
17844
|
+
stopReason: "end_turn";
|
|
17845
|
+
} | {
|
|
17846
|
+
stopReason: "max_tokens";
|
|
17847
|
+
} | {
|
|
17848
|
+
stopReason: "max_turn_requests";
|
|
17849
|
+
} | {
|
|
17850
|
+
stopReason: "refusal";
|
|
17851
|
+
} | {
|
|
17852
|
+
stopReason: "cancelled";
|
|
17853
|
+
} | ({
|
|
17854
|
+
error?: {
|
|
17855
|
+
code: number;
|
|
17856
|
+
message: string;
|
|
17857
|
+
data?: unknown;
|
|
17858
|
+
} | null | undefined;
|
|
17859
|
+
} & {
|
|
17860
|
+
stopReason: "error";
|
|
17861
|
+
}) | {
|
|
17862
|
+
stopReason: string;
|
|
17863
|
+
} | {
|
|
17864
|
+
stopReason?: null | undefined;
|
|
17865
|
+
}) & {
|
|
17711
17866
|
usage?: {
|
|
17712
17867
|
totalTokens: number;
|
|
17713
17868
|
inputTokens: number;
|
|
@@ -17718,7 +17873,8 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
17718
17873
|
_meta?: Record<string, unknown> | null | undefined;
|
|
17719
17874
|
} | null | undefined;
|
|
17720
17875
|
_meta?: Record<string, unknown> | null | undefined;
|
|
17721
|
-
|
|
17876
|
+
stopReason?: string | null | undefined;
|
|
17877
|
+
}) & {
|
|
17722
17878
|
state: "idle";
|
|
17723
17879
|
}) | ({
|
|
17724
17880
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -18341,8 +18497,29 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
18341
18497
|
_meta?: Record<string, unknown> | null | undefined;
|
|
18342
18498
|
} & {
|
|
18343
18499
|
state: "running";
|
|
18344
|
-
}) | ({
|
|
18345
|
-
stopReason
|
|
18500
|
+
}) | ((({
|
|
18501
|
+
stopReason: "end_turn";
|
|
18502
|
+
} | {
|
|
18503
|
+
stopReason: "max_tokens";
|
|
18504
|
+
} | {
|
|
18505
|
+
stopReason: "max_turn_requests";
|
|
18506
|
+
} | {
|
|
18507
|
+
stopReason: "refusal";
|
|
18508
|
+
} | {
|
|
18509
|
+
stopReason: "cancelled";
|
|
18510
|
+
} | ({
|
|
18511
|
+
error?: {
|
|
18512
|
+
code: number;
|
|
18513
|
+
message: string;
|
|
18514
|
+
data?: unknown;
|
|
18515
|
+
} | null | undefined;
|
|
18516
|
+
} & {
|
|
18517
|
+
stopReason: "error";
|
|
18518
|
+
}) | {
|
|
18519
|
+
stopReason: string;
|
|
18520
|
+
} | {
|
|
18521
|
+
stopReason?: null | undefined;
|
|
18522
|
+
}) & {
|
|
18346
18523
|
usage?: {
|
|
18347
18524
|
totalTokens: number;
|
|
18348
18525
|
inputTokens: number;
|
|
@@ -18353,7 +18530,8 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
18353
18530
|
_meta?: Record<string, unknown> | null | undefined;
|
|
18354
18531
|
} | null | undefined;
|
|
18355
18532
|
_meta?: Record<string, unknown> | null | undefined;
|
|
18356
|
-
|
|
18533
|
+
stopReason?: string | null | undefined;
|
|
18534
|
+
}) & {
|
|
18357
18535
|
state: "idle";
|
|
18358
18536
|
}) | ({
|
|
18359
18537
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -19075,21 +19253,9 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
19075
19253
|
_meta?: Record<string, unknown> | null | undefined;
|
|
19076
19254
|
} & {
|
|
19077
19255
|
state: "running";
|
|
19078
|
-
}) |
|
|
19079
|
-
stopReason?: string | null | undefined;
|
|
19080
|
-
usage?: {
|
|
19081
|
-
totalTokens: number;
|
|
19082
|
-
inputTokens: number;
|
|
19083
|
-
outputTokens: number;
|
|
19084
|
-
thoughtTokens?: number | null | undefined;
|
|
19085
|
-
cachedReadTokens?: number | null | undefined;
|
|
19086
|
-
cachedWriteTokens?: number | null | undefined;
|
|
19087
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
19088
|
-
} | null | undefined;
|
|
19089
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
19090
|
-
} & {
|
|
19256
|
+
}) | {
|
|
19091
19257
|
state: "idle";
|
|
19092
|
-
}
|
|
19258
|
+
} | ({
|
|
19093
19259
|
_meta?: Record<string, unknown> | null | undefined;
|
|
19094
19260
|
} & {
|
|
19095
19261
|
state: "requires_action";
|
|
@@ -19710,21 +19876,9 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
19710
19876
|
_meta?: Record<string, unknown> | null | undefined;
|
|
19711
19877
|
} & {
|
|
19712
19878
|
state: "running";
|
|
19713
|
-
}) |
|
|
19714
|
-
stopReason?: string | null | undefined;
|
|
19715
|
-
usage?: {
|
|
19716
|
-
totalTokens: number;
|
|
19717
|
-
inputTokens: number;
|
|
19718
|
-
outputTokens: number;
|
|
19719
|
-
thoughtTokens?: number | null | undefined;
|
|
19720
|
-
cachedReadTokens?: number | null | undefined;
|
|
19721
|
-
cachedWriteTokens?: number | null | undefined;
|
|
19722
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
19723
|
-
} | null | undefined;
|
|
19724
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
19725
|
-
} & {
|
|
19879
|
+
}) | {
|
|
19726
19880
|
state: "idle";
|
|
19727
|
-
}
|
|
19881
|
+
} | ({
|
|
19728
19882
|
_meta?: Record<string, unknown> | null | undefined;
|
|
19729
19883
|
} & {
|
|
19730
19884
|
state: "requires_action";
|
|
@@ -20444,8 +20598,29 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
20444
20598
|
_meta?: Record<string, unknown> | null | undefined;
|
|
20445
20599
|
} & {
|
|
20446
20600
|
state: "running";
|
|
20447
|
-
}) | ({
|
|
20448
|
-
stopReason
|
|
20601
|
+
}) | ((({
|
|
20602
|
+
stopReason: "end_turn";
|
|
20603
|
+
} | {
|
|
20604
|
+
stopReason: "max_tokens";
|
|
20605
|
+
} | {
|
|
20606
|
+
stopReason: "max_turn_requests";
|
|
20607
|
+
} | {
|
|
20608
|
+
stopReason: "refusal";
|
|
20609
|
+
} | {
|
|
20610
|
+
stopReason: "cancelled";
|
|
20611
|
+
} | ({
|
|
20612
|
+
error?: {
|
|
20613
|
+
code: number;
|
|
20614
|
+
message: string;
|
|
20615
|
+
data?: unknown;
|
|
20616
|
+
} | null | undefined;
|
|
20617
|
+
} & {
|
|
20618
|
+
stopReason: "error";
|
|
20619
|
+
}) | {
|
|
20620
|
+
stopReason: string;
|
|
20621
|
+
} | {
|
|
20622
|
+
stopReason?: null | undefined;
|
|
20623
|
+
}) & {
|
|
20449
20624
|
usage?: {
|
|
20450
20625
|
totalTokens: number;
|
|
20451
20626
|
inputTokens: number;
|
|
@@ -20456,7 +20631,8 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
20456
20631
|
_meta?: Record<string, unknown> | null | undefined;
|
|
20457
20632
|
} | null | undefined;
|
|
20458
20633
|
_meta?: Record<string, unknown> | null | undefined;
|
|
20459
|
-
|
|
20634
|
+
stopReason?: string | null | undefined;
|
|
20635
|
+
}) & {
|
|
20460
20636
|
state: "idle";
|
|
20461
20637
|
}) | ({
|
|
20462
20638
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -21079,8 +21255,29 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
21079
21255
|
_meta?: Record<string, unknown> | null | undefined;
|
|
21080
21256
|
} & {
|
|
21081
21257
|
state: "running";
|
|
21082
|
-
}) | ({
|
|
21083
|
-
stopReason
|
|
21258
|
+
}) | ((({
|
|
21259
|
+
stopReason: "end_turn";
|
|
21260
|
+
} | {
|
|
21261
|
+
stopReason: "max_tokens";
|
|
21262
|
+
} | {
|
|
21263
|
+
stopReason: "max_turn_requests";
|
|
21264
|
+
} | {
|
|
21265
|
+
stopReason: "refusal";
|
|
21266
|
+
} | {
|
|
21267
|
+
stopReason: "cancelled";
|
|
21268
|
+
} | ({
|
|
21269
|
+
error?: {
|
|
21270
|
+
code: number;
|
|
21271
|
+
message: string;
|
|
21272
|
+
data?: unknown;
|
|
21273
|
+
} | null | undefined;
|
|
21274
|
+
} & {
|
|
21275
|
+
stopReason: "error";
|
|
21276
|
+
}) | {
|
|
21277
|
+
stopReason: string;
|
|
21278
|
+
} | {
|
|
21279
|
+
stopReason?: null | undefined;
|
|
21280
|
+
}) & {
|
|
21084
21281
|
usage?: {
|
|
21085
21282
|
totalTokens: number;
|
|
21086
21283
|
inputTokens: number;
|
|
@@ -21091,7 +21288,8 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
21091
21288
|
_meta?: Record<string, unknown> | null | undefined;
|
|
21092
21289
|
} | null | undefined;
|
|
21093
21290
|
_meta?: Record<string, unknown> | null | undefined;
|
|
21094
|
-
|
|
21291
|
+
stopReason?: string | null | undefined;
|
|
21292
|
+
}) & {
|
|
21095
21293
|
state: "idle";
|
|
21096
21294
|
}) | ({
|
|
21097
21295
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -21813,21 +22011,9 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
21813
22011
|
_meta?: Record<string, unknown> | null | undefined;
|
|
21814
22012
|
} & {
|
|
21815
22013
|
state: "running";
|
|
21816
|
-
}) |
|
|
21817
|
-
stopReason?: string | null | undefined;
|
|
21818
|
-
usage?: {
|
|
21819
|
-
totalTokens: number;
|
|
21820
|
-
inputTokens: number;
|
|
21821
|
-
outputTokens: number;
|
|
21822
|
-
thoughtTokens?: number | null | undefined;
|
|
21823
|
-
cachedReadTokens?: number | null | undefined;
|
|
21824
|
-
cachedWriteTokens?: number | null | undefined;
|
|
21825
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
21826
|
-
} | null | undefined;
|
|
21827
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
21828
|
-
} & {
|
|
22014
|
+
}) | {
|
|
21829
22015
|
state: "idle";
|
|
21830
|
-
}
|
|
22016
|
+
} | ({
|
|
21831
22017
|
_meta?: Record<string, unknown> | null | undefined;
|
|
21832
22018
|
} & {
|
|
21833
22019
|
state: "requires_action";
|
|
@@ -22448,21 +22634,9 @@ export declare const zSessionUpdate: z.ZodType<({
|
|
|
22448
22634
|
_meta?: Record<string, unknown> | null | undefined;
|
|
22449
22635
|
} & {
|
|
22450
22636
|
state: "running";
|
|
22451
|
-
}) |
|
|
22452
|
-
stopReason?: string | null | undefined;
|
|
22453
|
-
usage?: {
|
|
22454
|
-
totalTokens: number;
|
|
22455
|
-
inputTokens: number;
|
|
22456
|
-
outputTokens: number;
|
|
22457
|
-
thoughtTokens?: number | null | undefined;
|
|
22458
|
-
cachedReadTokens?: number | null | undefined;
|
|
22459
|
-
cachedWriteTokens?: number | null | undefined;
|
|
22460
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
22461
|
-
} | null | undefined;
|
|
22462
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
22463
|
-
} & {
|
|
22637
|
+
}) | {
|
|
22464
22638
|
state: "idle";
|
|
22465
|
-
}
|
|
22639
|
+
} | ({
|
|
22466
22640
|
_meta?: Record<string, unknown> | null | undefined;
|
|
22467
22641
|
} & {
|
|
22468
22642
|
state: "requires_action";
|
|
@@ -23192,8 +23366,29 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
23192
23366
|
_meta?: Record<string, unknown> | null | undefined;
|
|
23193
23367
|
} & {
|
|
23194
23368
|
state: "running";
|
|
23195
|
-
}) | ({
|
|
23196
|
-
stopReason
|
|
23369
|
+
}) | ((({
|
|
23370
|
+
stopReason: "end_turn";
|
|
23371
|
+
} | {
|
|
23372
|
+
stopReason: "max_tokens";
|
|
23373
|
+
} | {
|
|
23374
|
+
stopReason: "max_turn_requests";
|
|
23375
|
+
} | {
|
|
23376
|
+
stopReason: "refusal";
|
|
23377
|
+
} | {
|
|
23378
|
+
stopReason: "cancelled";
|
|
23379
|
+
} | ({
|
|
23380
|
+
error?: {
|
|
23381
|
+
code: number;
|
|
23382
|
+
message: string;
|
|
23383
|
+
data?: unknown;
|
|
23384
|
+
} | null | undefined;
|
|
23385
|
+
} & {
|
|
23386
|
+
stopReason: "error";
|
|
23387
|
+
}) | {
|
|
23388
|
+
stopReason: string;
|
|
23389
|
+
} | {
|
|
23390
|
+
stopReason?: null | undefined;
|
|
23391
|
+
}) & {
|
|
23197
23392
|
usage?: {
|
|
23198
23393
|
totalTokens: number;
|
|
23199
23394
|
inputTokens: number;
|
|
@@ -23204,7 +23399,8 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
23204
23399
|
_meta?: Record<string, unknown> | null | undefined;
|
|
23205
23400
|
} | null | undefined;
|
|
23206
23401
|
_meta?: Record<string, unknown> | null | undefined;
|
|
23207
|
-
|
|
23402
|
+
stopReason?: string | null | undefined;
|
|
23403
|
+
}) & {
|
|
23208
23404
|
state: "idle";
|
|
23209
23405
|
}) | ({
|
|
23210
23406
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -23827,8 +24023,29 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
23827
24023
|
_meta?: Record<string, unknown> | null | undefined;
|
|
23828
24024
|
} & {
|
|
23829
24025
|
state: "running";
|
|
23830
|
-
}) | ({
|
|
23831
|
-
stopReason
|
|
24026
|
+
}) | ((({
|
|
24027
|
+
stopReason: "end_turn";
|
|
24028
|
+
} | {
|
|
24029
|
+
stopReason: "max_tokens";
|
|
24030
|
+
} | {
|
|
24031
|
+
stopReason: "max_turn_requests";
|
|
24032
|
+
} | {
|
|
24033
|
+
stopReason: "refusal";
|
|
24034
|
+
} | {
|
|
24035
|
+
stopReason: "cancelled";
|
|
24036
|
+
} | ({
|
|
24037
|
+
error?: {
|
|
24038
|
+
code: number;
|
|
24039
|
+
message: string;
|
|
24040
|
+
data?: unknown;
|
|
24041
|
+
} | null | undefined;
|
|
24042
|
+
} & {
|
|
24043
|
+
stopReason: "error";
|
|
24044
|
+
}) | {
|
|
24045
|
+
stopReason: string;
|
|
24046
|
+
} | {
|
|
24047
|
+
stopReason?: null | undefined;
|
|
24048
|
+
}) & {
|
|
23832
24049
|
usage?: {
|
|
23833
24050
|
totalTokens: number;
|
|
23834
24051
|
inputTokens: number;
|
|
@@ -23839,7 +24056,8 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
23839
24056
|
_meta?: Record<string, unknown> | null | undefined;
|
|
23840
24057
|
} | null | undefined;
|
|
23841
24058
|
_meta?: Record<string, unknown> | null | undefined;
|
|
23842
|
-
|
|
24059
|
+
stopReason?: string | null | undefined;
|
|
24060
|
+
}) & {
|
|
23843
24061
|
state: "idle";
|
|
23844
24062
|
}) | ({
|
|
23845
24063
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -24561,21 +24779,9 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
24561
24779
|
_meta?: Record<string, unknown> | null | undefined;
|
|
24562
24780
|
} & {
|
|
24563
24781
|
state: "running";
|
|
24564
|
-
}) |
|
|
24565
|
-
stopReason?: string | null | undefined;
|
|
24566
|
-
usage?: {
|
|
24567
|
-
totalTokens: number;
|
|
24568
|
-
inputTokens: number;
|
|
24569
|
-
outputTokens: number;
|
|
24570
|
-
thoughtTokens?: number | null | undefined;
|
|
24571
|
-
cachedReadTokens?: number | null | undefined;
|
|
24572
|
-
cachedWriteTokens?: number | null | undefined;
|
|
24573
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
24574
|
-
} | null | undefined;
|
|
24575
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
24576
|
-
} & {
|
|
24782
|
+
}) | {
|
|
24577
24783
|
state: "idle";
|
|
24578
|
-
}
|
|
24784
|
+
} | ({
|
|
24579
24785
|
_meta?: Record<string, unknown> | null | undefined;
|
|
24580
24786
|
} & {
|
|
24581
24787
|
state: "requires_action";
|
|
@@ -25196,21 +25402,9 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
25196
25402
|
_meta?: Record<string, unknown> | null | undefined;
|
|
25197
25403
|
} & {
|
|
25198
25404
|
state: "running";
|
|
25199
|
-
}) |
|
|
25200
|
-
stopReason?: string | null | undefined;
|
|
25201
|
-
usage?: {
|
|
25202
|
-
totalTokens: number;
|
|
25203
|
-
inputTokens: number;
|
|
25204
|
-
outputTokens: number;
|
|
25205
|
-
thoughtTokens?: number | null | undefined;
|
|
25206
|
-
cachedReadTokens?: number | null | undefined;
|
|
25207
|
-
cachedWriteTokens?: number | null | undefined;
|
|
25208
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
25209
|
-
} | null | undefined;
|
|
25210
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
25211
|
-
} & {
|
|
25405
|
+
}) | {
|
|
25212
25406
|
state: "idle";
|
|
25213
|
-
}
|
|
25407
|
+
} | ({
|
|
25214
25408
|
_meta?: Record<string, unknown> | null | undefined;
|
|
25215
25409
|
} & {
|
|
25216
25410
|
state: "requires_action";
|
|
@@ -25930,8 +26124,29 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
25930
26124
|
_meta?: Record<string, unknown> | null | undefined;
|
|
25931
26125
|
} & {
|
|
25932
26126
|
state: "running";
|
|
25933
|
-
}) | ({
|
|
25934
|
-
stopReason
|
|
26127
|
+
}) | ((({
|
|
26128
|
+
stopReason: "end_turn";
|
|
26129
|
+
} | {
|
|
26130
|
+
stopReason: "max_tokens";
|
|
26131
|
+
} | {
|
|
26132
|
+
stopReason: "max_turn_requests";
|
|
26133
|
+
} | {
|
|
26134
|
+
stopReason: "refusal";
|
|
26135
|
+
} | {
|
|
26136
|
+
stopReason: "cancelled";
|
|
26137
|
+
} | ({
|
|
26138
|
+
error?: {
|
|
26139
|
+
code: number;
|
|
26140
|
+
message: string;
|
|
26141
|
+
data?: unknown;
|
|
26142
|
+
} | null | undefined;
|
|
26143
|
+
} & {
|
|
26144
|
+
stopReason: "error";
|
|
26145
|
+
}) | {
|
|
26146
|
+
stopReason: string;
|
|
26147
|
+
} | {
|
|
26148
|
+
stopReason?: null | undefined;
|
|
26149
|
+
}) & {
|
|
25935
26150
|
usage?: {
|
|
25936
26151
|
totalTokens: number;
|
|
25937
26152
|
inputTokens: number;
|
|
@@ -25942,7 +26157,8 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
25942
26157
|
_meta?: Record<string, unknown> | null | undefined;
|
|
25943
26158
|
} | null | undefined;
|
|
25944
26159
|
_meta?: Record<string, unknown> | null | undefined;
|
|
25945
|
-
|
|
26160
|
+
stopReason?: string | null | undefined;
|
|
26161
|
+
}) & {
|
|
25946
26162
|
state: "idle";
|
|
25947
26163
|
}) | ({
|
|
25948
26164
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -26565,8 +26781,29 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
26565
26781
|
_meta?: Record<string, unknown> | null | undefined;
|
|
26566
26782
|
} & {
|
|
26567
26783
|
state: "running";
|
|
26568
|
-
}) | ({
|
|
26569
|
-
stopReason
|
|
26784
|
+
}) | ((({
|
|
26785
|
+
stopReason: "end_turn";
|
|
26786
|
+
} | {
|
|
26787
|
+
stopReason: "max_tokens";
|
|
26788
|
+
} | {
|
|
26789
|
+
stopReason: "max_turn_requests";
|
|
26790
|
+
} | {
|
|
26791
|
+
stopReason: "refusal";
|
|
26792
|
+
} | {
|
|
26793
|
+
stopReason: "cancelled";
|
|
26794
|
+
} | ({
|
|
26795
|
+
error?: {
|
|
26796
|
+
code: number;
|
|
26797
|
+
message: string;
|
|
26798
|
+
data?: unknown;
|
|
26799
|
+
} | null | undefined;
|
|
26800
|
+
} & {
|
|
26801
|
+
stopReason: "error";
|
|
26802
|
+
}) | {
|
|
26803
|
+
stopReason: string;
|
|
26804
|
+
} | {
|
|
26805
|
+
stopReason?: null | undefined;
|
|
26806
|
+
}) & {
|
|
26570
26807
|
usage?: {
|
|
26571
26808
|
totalTokens: number;
|
|
26572
26809
|
inputTokens: number;
|
|
@@ -26577,7 +26814,8 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
26577
26814
|
_meta?: Record<string, unknown> | null | undefined;
|
|
26578
26815
|
} | null | undefined;
|
|
26579
26816
|
_meta?: Record<string, unknown> | null | undefined;
|
|
26580
|
-
|
|
26817
|
+
stopReason?: string | null | undefined;
|
|
26818
|
+
}) & {
|
|
26581
26819
|
state: "idle";
|
|
26582
26820
|
}) | ({
|
|
26583
26821
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -27299,21 +27537,9 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
27299
27537
|
_meta?: Record<string, unknown> | null | undefined;
|
|
27300
27538
|
} & {
|
|
27301
27539
|
state: "running";
|
|
27302
|
-
}) |
|
|
27303
|
-
stopReason?: string | null | undefined;
|
|
27304
|
-
usage?: {
|
|
27305
|
-
totalTokens: number;
|
|
27306
|
-
inputTokens: number;
|
|
27307
|
-
outputTokens: number;
|
|
27308
|
-
thoughtTokens?: number | null | undefined;
|
|
27309
|
-
cachedReadTokens?: number | null | undefined;
|
|
27310
|
-
cachedWriteTokens?: number | null | undefined;
|
|
27311
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
27312
|
-
} | null | undefined;
|
|
27313
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
27314
|
-
} & {
|
|
27540
|
+
}) | {
|
|
27315
27541
|
state: "idle";
|
|
27316
|
-
}
|
|
27542
|
+
} | ({
|
|
27317
27543
|
_meta?: Record<string, unknown> | null | undefined;
|
|
27318
27544
|
} & {
|
|
27319
27545
|
state: "requires_action";
|
|
@@ -27934,21 +28160,9 @@ export declare const zUpdateSessionNotification: z.ZodObject<{
|
|
|
27934
28160
|
_meta?: Record<string, unknown> | null | undefined;
|
|
27935
28161
|
} & {
|
|
27936
28162
|
state: "running";
|
|
27937
|
-
}) |
|
|
27938
|
-
stopReason?: string | null | undefined;
|
|
27939
|
-
usage?: {
|
|
27940
|
-
totalTokens: number;
|
|
27941
|
-
inputTokens: number;
|
|
27942
|
-
outputTokens: number;
|
|
27943
|
-
thoughtTokens?: number | null | undefined;
|
|
27944
|
-
cachedReadTokens?: number | null | undefined;
|
|
27945
|
-
cachedWriteTokens?: number | null | undefined;
|
|
27946
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
27947
|
-
} | null | undefined;
|
|
27948
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
27949
|
-
} & {
|
|
28163
|
+
}) | {
|
|
27950
28164
|
state: "idle";
|
|
27951
|
-
}
|
|
28165
|
+
} | ({
|
|
27952
28166
|
_meta?: Record<string, unknown> | null | undefined;
|
|
27953
28167
|
} & {
|
|
27954
28168
|
state: "requires_action";
|
|
@@ -28693,8 +28907,29 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
28693
28907
|
_meta?: Record<string, unknown> | null | undefined;
|
|
28694
28908
|
} & {
|
|
28695
28909
|
state: "running";
|
|
28696
|
-
}) | ({
|
|
28697
|
-
stopReason
|
|
28910
|
+
}) | ((({
|
|
28911
|
+
stopReason: "end_turn";
|
|
28912
|
+
} | {
|
|
28913
|
+
stopReason: "max_tokens";
|
|
28914
|
+
} | {
|
|
28915
|
+
stopReason: "max_turn_requests";
|
|
28916
|
+
} | {
|
|
28917
|
+
stopReason: "refusal";
|
|
28918
|
+
} | {
|
|
28919
|
+
stopReason: "cancelled";
|
|
28920
|
+
} | ({
|
|
28921
|
+
error?: {
|
|
28922
|
+
code: number;
|
|
28923
|
+
message: string;
|
|
28924
|
+
data?: unknown;
|
|
28925
|
+
} | null | undefined;
|
|
28926
|
+
} & {
|
|
28927
|
+
stopReason: "error";
|
|
28928
|
+
}) | {
|
|
28929
|
+
stopReason: string;
|
|
28930
|
+
} | {
|
|
28931
|
+
stopReason?: null | undefined;
|
|
28932
|
+
}) & {
|
|
28698
28933
|
usage?: {
|
|
28699
28934
|
totalTokens: number;
|
|
28700
28935
|
inputTokens: number;
|
|
@@ -28705,7 +28940,8 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
28705
28940
|
_meta?: Record<string, unknown> | null | undefined;
|
|
28706
28941
|
} | null | undefined;
|
|
28707
28942
|
_meta?: Record<string, unknown> | null | undefined;
|
|
28708
|
-
|
|
28943
|
+
stopReason?: string | null | undefined;
|
|
28944
|
+
}) & {
|
|
28709
28945
|
state: "idle";
|
|
28710
28946
|
}) | ({
|
|
28711
28947
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -29328,8 +29564,29 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
29328
29564
|
_meta?: Record<string, unknown> | null | undefined;
|
|
29329
29565
|
} & {
|
|
29330
29566
|
state: "running";
|
|
29331
|
-
}) | ({
|
|
29332
|
-
stopReason
|
|
29567
|
+
}) | ((({
|
|
29568
|
+
stopReason: "end_turn";
|
|
29569
|
+
} | {
|
|
29570
|
+
stopReason: "max_tokens";
|
|
29571
|
+
} | {
|
|
29572
|
+
stopReason: "max_turn_requests";
|
|
29573
|
+
} | {
|
|
29574
|
+
stopReason: "refusal";
|
|
29575
|
+
} | {
|
|
29576
|
+
stopReason: "cancelled";
|
|
29577
|
+
} | ({
|
|
29578
|
+
error?: {
|
|
29579
|
+
code: number;
|
|
29580
|
+
message: string;
|
|
29581
|
+
data?: unknown;
|
|
29582
|
+
} | null | undefined;
|
|
29583
|
+
} & {
|
|
29584
|
+
stopReason: "error";
|
|
29585
|
+
}) | {
|
|
29586
|
+
stopReason: string;
|
|
29587
|
+
} | {
|
|
29588
|
+
stopReason?: null | undefined;
|
|
29589
|
+
}) & {
|
|
29333
29590
|
usage?: {
|
|
29334
29591
|
totalTokens: number;
|
|
29335
29592
|
inputTokens: number;
|
|
@@ -29340,7 +29597,8 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
29340
29597
|
_meta?: Record<string, unknown> | null | undefined;
|
|
29341
29598
|
} | null | undefined;
|
|
29342
29599
|
_meta?: Record<string, unknown> | null | undefined;
|
|
29343
|
-
|
|
29600
|
+
stopReason?: string | null | undefined;
|
|
29601
|
+
}) & {
|
|
29344
29602
|
state: "idle";
|
|
29345
29603
|
}) | ({
|
|
29346
29604
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -30062,21 +30320,9 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
30062
30320
|
_meta?: Record<string, unknown> | null | undefined;
|
|
30063
30321
|
} & {
|
|
30064
30322
|
state: "running";
|
|
30065
|
-
}) |
|
|
30066
|
-
stopReason?: string | null | undefined;
|
|
30067
|
-
usage?: {
|
|
30068
|
-
totalTokens: number;
|
|
30069
|
-
inputTokens: number;
|
|
30070
|
-
outputTokens: number;
|
|
30071
|
-
thoughtTokens?: number | null | undefined;
|
|
30072
|
-
cachedReadTokens?: number | null | undefined;
|
|
30073
|
-
cachedWriteTokens?: number | null | undefined;
|
|
30074
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
30075
|
-
} | null | undefined;
|
|
30076
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
30077
|
-
} & {
|
|
30323
|
+
}) | {
|
|
30078
30324
|
state: "idle";
|
|
30079
|
-
}
|
|
30325
|
+
} | ({
|
|
30080
30326
|
_meta?: Record<string, unknown> | null | undefined;
|
|
30081
30327
|
} & {
|
|
30082
30328
|
state: "requires_action";
|
|
@@ -30697,21 +30943,9 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
30697
30943
|
_meta?: Record<string, unknown> | null | undefined;
|
|
30698
30944
|
} & {
|
|
30699
30945
|
state: "running";
|
|
30700
|
-
}) |
|
|
30701
|
-
stopReason?: string | null | undefined;
|
|
30702
|
-
usage?: {
|
|
30703
|
-
totalTokens: number;
|
|
30704
|
-
inputTokens: number;
|
|
30705
|
-
outputTokens: number;
|
|
30706
|
-
thoughtTokens?: number | null | undefined;
|
|
30707
|
-
cachedReadTokens?: number | null | undefined;
|
|
30708
|
-
cachedWriteTokens?: number | null | undefined;
|
|
30709
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
30710
|
-
} | null | undefined;
|
|
30711
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
30712
|
-
} & {
|
|
30946
|
+
}) | {
|
|
30713
30947
|
state: "idle";
|
|
30714
|
-
}
|
|
30948
|
+
} | ({
|
|
30715
30949
|
_meta?: Record<string, unknown> | null | undefined;
|
|
30716
30950
|
} & {
|
|
30717
30951
|
state: "requires_action";
|
|
@@ -31431,8 +31665,29 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
31431
31665
|
_meta?: Record<string, unknown> | null | undefined;
|
|
31432
31666
|
} & {
|
|
31433
31667
|
state: "running";
|
|
31434
|
-
}) | ({
|
|
31435
|
-
stopReason
|
|
31668
|
+
}) | ((({
|
|
31669
|
+
stopReason: "end_turn";
|
|
31670
|
+
} | {
|
|
31671
|
+
stopReason: "max_tokens";
|
|
31672
|
+
} | {
|
|
31673
|
+
stopReason: "max_turn_requests";
|
|
31674
|
+
} | {
|
|
31675
|
+
stopReason: "refusal";
|
|
31676
|
+
} | {
|
|
31677
|
+
stopReason: "cancelled";
|
|
31678
|
+
} | ({
|
|
31679
|
+
error?: {
|
|
31680
|
+
code: number;
|
|
31681
|
+
message: string;
|
|
31682
|
+
data?: unknown;
|
|
31683
|
+
} | null | undefined;
|
|
31684
|
+
} & {
|
|
31685
|
+
stopReason: "error";
|
|
31686
|
+
}) | {
|
|
31687
|
+
stopReason: string;
|
|
31688
|
+
} | {
|
|
31689
|
+
stopReason?: null | undefined;
|
|
31690
|
+
}) & {
|
|
31436
31691
|
usage?: {
|
|
31437
31692
|
totalTokens: number;
|
|
31438
31693
|
inputTokens: number;
|
|
@@ -31443,7 +31698,8 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
31443
31698
|
_meta?: Record<string, unknown> | null | undefined;
|
|
31444
31699
|
} | null | undefined;
|
|
31445
31700
|
_meta?: Record<string, unknown> | null | undefined;
|
|
31446
|
-
|
|
31701
|
+
stopReason?: string | null | undefined;
|
|
31702
|
+
}) & {
|
|
31447
31703
|
state: "idle";
|
|
31448
31704
|
}) | ({
|
|
31449
31705
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -32066,8 +32322,29 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
32066
32322
|
_meta?: Record<string, unknown> | null | undefined;
|
|
32067
32323
|
} & {
|
|
32068
32324
|
state: "running";
|
|
32069
|
-
}) | ({
|
|
32070
|
-
stopReason
|
|
32325
|
+
}) | ((({
|
|
32326
|
+
stopReason: "end_turn";
|
|
32327
|
+
} | {
|
|
32328
|
+
stopReason: "max_tokens";
|
|
32329
|
+
} | {
|
|
32330
|
+
stopReason: "max_turn_requests";
|
|
32331
|
+
} | {
|
|
32332
|
+
stopReason: "refusal";
|
|
32333
|
+
} | {
|
|
32334
|
+
stopReason: "cancelled";
|
|
32335
|
+
} | ({
|
|
32336
|
+
error?: {
|
|
32337
|
+
code: number;
|
|
32338
|
+
message: string;
|
|
32339
|
+
data?: unknown;
|
|
32340
|
+
} | null | undefined;
|
|
32341
|
+
} & {
|
|
32342
|
+
stopReason: "error";
|
|
32343
|
+
}) | {
|
|
32344
|
+
stopReason: string;
|
|
32345
|
+
} | {
|
|
32346
|
+
stopReason?: null | undefined;
|
|
32347
|
+
}) & {
|
|
32071
32348
|
usage?: {
|
|
32072
32349
|
totalTokens: number;
|
|
32073
32350
|
inputTokens: number;
|
|
@@ -32078,7 +32355,8 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
32078
32355
|
_meta?: Record<string, unknown> | null | undefined;
|
|
32079
32356
|
} | null | undefined;
|
|
32080
32357
|
_meta?: Record<string, unknown> | null | undefined;
|
|
32081
|
-
|
|
32358
|
+
stopReason?: string | null | undefined;
|
|
32359
|
+
}) & {
|
|
32082
32360
|
state: "idle";
|
|
32083
32361
|
}) | ({
|
|
32084
32362
|
_meta?: Record<string, unknown> | null | undefined;
|
|
@@ -32800,21 +33078,9 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
32800
33078
|
_meta?: Record<string, unknown> | null | undefined;
|
|
32801
33079
|
} & {
|
|
32802
33080
|
state: "running";
|
|
32803
|
-
}) |
|
|
32804
|
-
stopReason?: string | null | undefined;
|
|
32805
|
-
usage?: {
|
|
32806
|
-
totalTokens: number;
|
|
32807
|
-
inputTokens: number;
|
|
32808
|
-
outputTokens: number;
|
|
32809
|
-
thoughtTokens?: number | null | undefined;
|
|
32810
|
-
cachedReadTokens?: number | null | undefined;
|
|
32811
|
-
cachedWriteTokens?: number | null | undefined;
|
|
32812
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
32813
|
-
} | null | undefined;
|
|
32814
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
32815
|
-
} & {
|
|
33081
|
+
}) | {
|
|
32816
33082
|
state: "idle";
|
|
32817
|
-
}
|
|
33083
|
+
} | ({
|
|
32818
33084
|
_meta?: Record<string, unknown> | null | undefined;
|
|
32819
33085
|
} & {
|
|
32820
33086
|
state: "requires_action";
|
|
@@ -33435,21 +33701,9 @@ export declare const zAgentNotification: z.ZodObject<{
|
|
|
33435
33701
|
_meta?: Record<string, unknown> | null | undefined;
|
|
33436
33702
|
} & {
|
|
33437
33703
|
state: "running";
|
|
33438
|
-
}) |
|
|
33439
|
-
stopReason?: string | null | undefined;
|
|
33440
|
-
usage?: {
|
|
33441
|
-
totalTokens: number;
|
|
33442
|
-
inputTokens: number;
|
|
33443
|
-
outputTokens: number;
|
|
33444
|
-
thoughtTokens?: number | null | undefined;
|
|
33445
|
-
cachedReadTokens?: number | null | undefined;
|
|
33446
|
-
cachedWriteTokens?: number | null | undefined;
|
|
33447
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
33448
|
-
} | null | undefined;
|
|
33449
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
33450
|
-
} & {
|
|
33704
|
+
}) | {
|
|
33451
33705
|
state: "idle";
|
|
33452
|
-
}
|
|
33706
|
+
} | ({
|
|
33453
33707
|
_meta?: Record<string, unknown> | null | undefined;
|
|
33454
33708
|
} & {
|
|
33455
33709
|
state: "requires_action";
|
|
@@ -34085,8 +34339,8 @@ export declare const zMcpServer: z.ZodType<({
|
|
|
34085
34339
|
*/
|
|
34086
34340
|
export declare const zNewSessionRequest: z.ZodObject<{
|
|
34087
34341
|
cwd: z.ZodString;
|
|
34088
|
-
additionalDirectories: z.
|
|
34089
|
-
mcpServers: z.
|
|
34342
|
+
additionalDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34343
|
+
mcpServers: z.ZodOptional<z.ZodArray<z.ZodType<({
|
|
34090
34344
|
name: string;
|
|
34091
34345
|
url: string;
|
|
34092
34346
|
headers?: {
|
|
@@ -34210,69 +34464,7 @@ export declare const zNewSessionRequest: z.ZodObject<{
|
|
|
34210
34464
|
type: "stdio";
|
|
34211
34465
|
}) | {
|
|
34212
34466
|
type: string;
|
|
34213
|
-
}
|
|
34214
|
-
name: string;
|
|
34215
|
-
url: string;
|
|
34216
|
-
headers?: {
|
|
34217
|
-
name: string;
|
|
34218
|
-
value: string;
|
|
34219
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34220
|
-
}[] | undefined;
|
|
34221
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34222
|
-
} & {
|
|
34223
|
-
type: "http";
|
|
34224
|
-
}) | ({
|
|
34225
|
-
name: string;
|
|
34226
|
-
serverId: string;
|
|
34227
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34228
|
-
} & {
|
|
34229
|
-
type: "acp";
|
|
34230
|
-
}) | ({
|
|
34231
|
-
name: string;
|
|
34232
|
-
command: string;
|
|
34233
|
-
args?: string[] | undefined;
|
|
34234
|
-
env?: {
|
|
34235
|
-
name: string;
|
|
34236
|
-
value: string;
|
|
34237
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34238
|
-
}[] | undefined;
|
|
34239
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34240
|
-
} & {
|
|
34241
|
-
type: "stdio";
|
|
34242
|
-
}) | {
|
|
34243
|
-
type: string;
|
|
34244
|
-
})[], (({
|
|
34245
|
-
name: string;
|
|
34246
|
-
url: string;
|
|
34247
|
-
headers?: {
|
|
34248
|
-
name: string;
|
|
34249
|
-
value: string;
|
|
34250
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34251
|
-
}[] | undefined;
|
|
34252
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34253
|
-
} & {
|
|
34254
|
-
type: "http";
|
|
34255
|
-
}) | ({
|
|
34256
|
-
name: string;
|
|
34257
|
-
serverId: string;
|
|
34258
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34259
|
-
} & {
|
|
34260
|
-
type: "acp";
|
|
34261
|
-
}) | ({
|
|
34262
|
-
name: string;
|
|
34263
|
-
command: string;
|
|
34264
|
-
args?: string[] | undefined;
|
|
34265
|
-
env?: {
|
|
34266
|
-
name: string;
|
|
34267
|
-
value: string;
|
|
34268
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34269
|
-
}[] | undefined;
|
|
34270
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34271
|
-
} & {
|
|
34272
|
-
type: "stdio";
|
|
34273
|
-
}) | {
|
|
34274
|
-
type: string;
|
|
34275
|
-
})[]>>>>;
|
|
34467
|
+
}>>>>;
|
|
34276
34468
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
34277
34469
|
}, z.core.$strip>;
|
|
34278
34470
|
/**
|
|
@@ -34309,8 +34501,8 @@ export declare const zDeleteSessionRequest: z.ZodObject<{
|
|
|
34309
34501
|
export declare const zForkSessionRequest: z.ZodObject<{
|
|
34310
34502
|
sessionId: z.ZodString;
|
|
34311
34503
|
cwd: z.ZodString;
|
|
34312
|
-
additionalDirectories: z.
|
|
34313
|
-
mcpServers: z.
|
|
34504
|
+
additionalDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34505
|
+
mcpServers: z.ZodOptional<z.ZodArray<z.ZodType<({
|
|
34314
34506
|
name: string;
|
|
34315
34507
|
url: string;
|
|
34316
34508
|
headers?: {
|
|
@@ -34434,69 +34626,7 @@ export declare const zForkSessionRequest: z.ZodObject<{
|
|
|
34434
34626
|
type: "stdio";
|
|
34435
34627
|
}) | {
|
|
34436
34628
|
type: string;
|
|
34437
|
-
}
|
|
34438
|
-
name: string;
|
|
34439
|
-
url: string;
|
|
34440
|
-
headers?: {
|
|
34441
|
-
name: string;
|
|
34442
|
-
value: string;
|
|
34443
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34444
|
-
}[] | undefined;
|
|
34445
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34446
|
-
} & {
|
|
34447
|
-
type: "http";
|
|
34448
|
-
}) | ({
|
|
34449
|
-
name: string;
|
|
34450
|
-
serverId: string;
|
|
34451
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34452
|
-
} & {
|
|
34453
|
-
type: "acp";
|
|
34454
|
-
}) | ({
|
|
34455
|
-
name: string;
|
|
34456
|
-
command: string;
|
|
34457
|
-
args?: string[] | undefined;
|
|
34458
|
-
env?: {
|
|
34459
|
-
name: string;
|
|
34460
|
-
value: string;
|
|
34461
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34462
|
-
}[] | undefined;
|
|
34463
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34464
|
-
} & {
|
|
34465
|
-
type: "stdio";
|
|
34466
|
-
}) | {
|
|
34467
|
-
type: string;
|
|
34468
|
-
})[], (({
|
|
34469
|
-
name: string;
|
|
34470
|
-
url: string;
|
|
34471
|
-
headers?: {
|
|
34472
|
-
name: string;
|
|
34473
|
-
value: string;
|
|
34474
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34475
|
-
}[] | undefined;
|
|
34476
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34477
|
-
} & {
|
|
34478
|
-
type: "http";
|
|
34479
|
-
}) | ({
|
|
34480
|
-
name: string;
|
|
34481
|
-
serverId: string;
|
|
34482
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34483
|
-
} & {
|
|
34484
|
-
type: "acp";
|
|
34485
|
-
}) | ({
|
|
34486
|
-
name: string;
|
|
34487
|
-
command: string;
|
|
34488
|
-
args?: string[] | undefined;
|
|
34489
|
-
env?: {
|
|
34490
|
-
name: string;
|
|
34491
|
-
value: string;
|
|
34492
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34493
|
-
}[] | undefined;
|
|
34494
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34495
|
-
} & {
|
|
34496
|
-
type: "stdio";
|
|
34497
|
-
}) | {
|
|
34498
|
-
type: string;
|
|
34499
|
-
})[]>>>>;
|
|
34629
|
+
}>>>>;
|
|
34500
34630
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
34501
34631
|
}, z.core.$strip>;
|
|
34502
34632
|
/**
|
|
@@ -34552,8 +34682,8 @@ export declare const zReplayFrom: z.ZodType<({
|
|
|
34552
34682
|
export declare const zResumeSessionRequest: z.ZodObject<{
|
|
34553
34683
|
sessionId: z.ZodString;
|
|
34554
34684
|
cwd: z.ZodString;
|
|
34555
|
-
additionalDirectories: z.
|
|
34556
|
-
mcpServers: z.
|
|
34685
|
+
additionalDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34686
|
+
mcpServers: z.ZodOptional<z.ZodArray<z.ZodType<({
|
|
34557
34687
|
name: string;
|
|
34558
34688
|
url: string;
|
|
34559
34689
|
headers?: {
|
|
@@ -34677,70 +34807,8 @@ export declare const zResumeSessionRequest: z.ZodObject<{
|
|
|
34677
34807
|
type: "stdio";
|
|
34678
34808
|
}) | {
|
|
34679
34809
|
type: string;
|
|
34680
|
-
}
|
|
34681
|
-
|
|
34682
|
-
url: string;
|
|
34683
|
-
headers?: {
|
|
34684
|
-
name: string;
|
|
34685
|
-
value: string;
|
|
34686
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34687
|
-
}[] | undefined;
|
|
34688
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34689
|
-
} & {
|
|
34690
|
-
type: "http";
|
|
34691
|
-
}) | ({
|
|
34692
|
-
name: string;
|
|
34693
|
-
serverId: string;
|
|
34694
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34695
|
-
} & {
|
|
34696
|
-
type: "acp";
|
|
34697
|
-
}) | ({
|
|
34698
|
-
name: string;
|
|
34699
|
-
command: string;
|
|
34700
|
-
args?: string[] | undefined;
|
|
34701
|
-
env?: {
|
|
34702
|
-
name: string;
|
|
34703
|
-
value: string;
|
|
34704
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34705
|
-
}[] | undefined;
|
|
34706
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34707
|
-
} & {
|
|
34708
|
-
type: "stdio";
|
|
34709
|
-
}) | {
|
|
34710
|
-
type: string;
|
|
34711
|
-
})[], (({
|
|
34712
|
-
name: string;
|
|
34713
|
-
url: string;
|
|
34714
|
-
headers?: {
|
|
34715
|
-
name: string;
|
|
34716
|
-
value: string;
|
|
34717
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34718
|
-
}[] | undefined;
|
|
34719
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34720
|
-
} & {
|
|
34721
|
-
type: "http";
|
|
34722
|
-
}) | ({
|
|
34723
|
-
name: string;
|
|
34724
|
-
serverId: string;
|
|
34725
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34726
|
-
} & {
|
|
34727
|
-
type: "acp";
|
|
34728
|
-
}) | ({
|
|
34729
|
-
name: string;
|
|
34730
|
-
command: string;
|
|
34731
|
-
args?: string[] | undefined;
|
|
34732
|
-
env?: {
|
|
34733
|
-
name: string;
|
|
34734
|
-
value: string;
|
|
34735
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34736
|
-
}[] | undefined;
|
|
34737
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
34738
|
-
} & {
|
|
34739
|
-
type: "stdio";
|
|
34740
|
-
}) | {
|
|
34741
|
-
type: string;
|
|
34742
|
-
})[]>>>>;
|
|
34743
|
-
replayFrom: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodType<({
|
|
34810
|
+
}>>>>;
|
|
34811
|
+
replayFrom: z.ZodOptional<z.ZodNullable<z.ZodType<({
|
|
34744
34812
|
_meta?: Record<string, unknown> | null | undefined;
|
|
34745
34813
|
} & {
|
|
34746
34814
|
type: "start";
|
|
@@ -34768,7 +34836,7 @@ export declare const zResumeSessionRequest: z.ZodObject<{
|
|
|
34768
34836
|
}) | {
|
|
34769
34837
|
type: string;
|
|
34770
34838
|
_meta?: Record<string, unknown> | null | undefined;
|
|
34771
|
-
}
|
|
34839
|
+
}>>>>;
|
|
34772
34840
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
34773
34841
|
}, z.core.$strip>;
|
|
34774
34842
|
/**
|
|
@@ -35569,8 +35637,8 @@ export declare const zClientRequest: z.ZodObject<{
|
|
|
35569
35637
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
35570
35638
|
}, z.core.$strip>, z.ZodObject<{
|
|
35571
35639
|
cwd: z.ZodString;
|
|
35572
|
-
additionalDirectories: z.
|
|
35573
|
-
mcpServers: z.
|
|
35640
|
+
additionalDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35641
|
+
mcpServers: z.ZodOptional<z.ZodArray<z.ZodType<({
|
|
35574
35642
|
name: string;
|
|
35575
35643
|
url: string;
|
|
35576
35644
|
headers?: {
|
|
@@ -35694,69 +35762,7 @@ export declare const zClientRequest: z.ZodObject<{
|
|
|
35694
35762
|
type: "stdio";
|
|
35695
35763
|
}) | {
|
|
35696
35764
|
type: string;
|
|
35697
|
-
}
|
|
35698
|
-
name: string;
|
|
35699
|
-
url: string;
|
|
35700
|
-
headers?: {
|
|
35701
|
-
name: string;
|
|
35702
|
-
value: string;
|
|
35703
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35704
|
-
}[] | undefined;
|
|
35705
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35706
|
-
} & {
|
|
35707
|
-
type: "http";
|
|
35708
|
-
}) | ({
|
|
35709
|
-
name: string;
|
|
35710
|
-
serverId: string;
|
|
35711
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35712
|
-
} & {
|
|
35713
|
-
type: "acp";
|
|
35714
|
-
}) | ({
|
|
35715
|
-
name: string;
|
|
35716
|
-
command: string;
|
|
35717
|
-
args?: string[] | undefined;
|
|
35718
|
-
env?: {
|
|
35719
|
-
name: string;
|
|
35720
|
-
value: string;
|
|
35721
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35722
|
-
}[] | undefined;
|
|
35723
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35724
|
-
} & {
|
|
35725
|
-
type: "stdio";
|
|
35726
|
-
}) | {
|
|
35727
|
-
type: string;
|
|
35728
|
-
})[], (({
|
|
35729
|
-
name: string;
|
|
35730
|
-
url: string;
|
|
35731
|
-
headers?: {
|
|
35732
|
-
name: string;
|
|
35733
|
-
value: string;
|
|
35734
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35735
|
-
}[] | undefined;
|
|
35736
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35737
|
-
} & {
|
|
35738
|
-
type: "http";
|
|
35739
|
-
}) | ({
|
|
35740
|
-
name: string;
|
|
35741
|
-
serverId: string;
|
|
35742
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35743
|
-
} & {
|
|
35744
|
-
type: "acp";
|
|
35745
|
-
}) | ({
|
|
35746
|
-
name: string;
|
|
35747
|
-
command: string;
|
|
35748
|
-
args?: string[] | undefined;
|
|
35749
|
-
env?: {
|
|
35750
|
-
name: string;
|
|
35751
|
-
value: string;
|
|
35752
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35753
|
-
}[] | undefined;
|
|
35754
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35755
|
-
} & {
|
|
35756
|
-
type: "stdio";
|
|
35757
|
-
}) | {
|
|
35758
|
-
type: string;
|
|
35759
|
-
})[]>>>>;
|
|
35765
|
+
}>>>>;
|
|
35760
35766
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
35761
35767
|
}, z.core.$strip>, z.ZodObject<{
|
|
35762
35768
|
cwd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -35768,8 +35774,8 @@ export declare const zClientRequest: z.ZodObject<{
|
|
|
35768
35774
|
}, z.core.$strip>, z.ZodObject<{
|
|
35769
35775
|
sessionId: z.ZodString;
|
|
35770
35776
|
cwd: z.ZodString;
|
|
35771
|
-
additionalDirectories: z.
|
|
35772
|
-
mcpServers: z.
|
|
35777
|
+
additionalDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35778
|
+
mcpServers: z.ZodOptional<z.ZodArray<z.ZodType<({
|
|
35773
35779
|
name: string;
|
|
35774
35780
|
url: string;
|
|
35775
35781
|
headers?: {
|
|
@@ -35893,75 +35899,13 @@ export declare const zClientRequest: z.ZodObject<{
|
|
|
35893
35899
|
type: "stdio";
|
|
35894
35900
|
}) | {
|
|
35895
35901
|
type: string;
|
|
35896
|
-
}
|
|
35897
|
-
name: string;
|
|
35898
|
-
url: string;
|
|
35899
|
-
headers?: {
|
|
35900
|
-
name: string;
|
|
35901
|
-
value: string;
|
|
35902
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35903
|
-
}[] | undefined;
|
|
35904
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35905
|
-
} & {
|
|
35906
|
-
type: "http";
|
|
35907
|
-
}) | ({
|
|
35908
|
-
name: string;
|
|
35909
|
-
serverId: string;
|
|
35910
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35911
|
-
} & {
|
|
35912
|
-
type: "acp";
|
|
35913
|
-
}) | ({
|
|
35914
|
-
name: string;
|
|
35915
|
-
command: string;
|
|
35916
|
-
args?: string[] | undefined;
|
|
35917
|
-
env?: {
|
|
35918
|
-
name: string;
|
|
35919
|
-
value: string;
|
|
35920
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35921
|
-
}[] | undefined;
|
|
35922
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35923
|
-
} & {
|
|
35924
|
-
type: "stdio";
|
|
35925
|
-
}) | {
|
|
35926
|
-
type: string;
|
|
35927
|
-
})[], (({
|
|
35928
|
-
name: string;
|
|
35929
|
-
url: string;
|
|
35930
|
-
headers?: {
|
|
35931
|
-
name: string;
|
|
35932
|
-
value: string;
|
|
35933
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35934
|
-
}[] | undefined;
|
|
35935
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35936
|
-
} & {
|
|
35937
|
-
type: "http";
|
|
35938
|
-
}) | ({
|
|
35939
|
-
name: string;
|
|
35940
|
-
serverId: string;
|
|
35941
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35942
|
-
} & {
|
|
35943
|
-
type: "acp";
|
|
35944
|
-
}) | ({
|
|
35945
|
-
name: string;
|
|
35946
|
-
command: string;
|
|
35947
|
-
args?: string[] | undefined;
|
|
35948
|
-
env?: {
|
|
35949
|
-
name: string;
|
|
35950
|
-
value: string;
|
|
35951
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35952
|
-
}[] | undefined;
|
|
35953
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
35954
|
-
} & {
|
|
35955
|
-
type: "stdio";
|
|
35956
|
-
}) | {
|
|
35957
|
-
type: string;
|
|
35958
|
-
})[]>>>>;
|
|
35902
|
+
}>>>>;
|
|
35959
35903
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
35960
35904
|
}, z.core.$strip>, z.ZodObject<{
|
|
35961
35905
|
sessionId: z.ZodString;
|
|
35962
35906
|
cwd: z.ZodString;
|
|
35963
|
-
additionalDirectories: z.
|
|
35964
|
-
mcpServers: z.
|
|
35907
|
+
additionalDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35908
|
+
mcpServers: z.ZodOptional<z.ZodArray<z.ZodType<({
|
|
35965
35909
|
name: string;
|
|
35966
35910
|
url: string;
|
|
35967
35911
|
headers?: {
|
|
@@ -36085,70 +36029,8 @@ export declare const zClientRequest: z.ZodObject<{
|
|
|
36085
36029
|
type: "stdio";
|
|
36086
36030
|
}) | {
|
|
36087
36031
|
type: string;
|
|
36088
|
-
}
|
|
36089
|
-
|
|
36090
|
-
url: string;
|
|
36091
|
-
headers?: {
|
|
36092
|
-
name: string;
|
|
36093
|
-
value: string;
|
|
36094
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
36095
|
-
}[] | undefined;
|
|
36096
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
36097
|
-
} & {
|
|
36098
|
-
type: "http";
|
|
36099
|
-
}) | ({
|
|
36100
|
-
name: string;
|
|
36101
|
-
serverId: string;
|
|
36102
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
36103
|
-
} & {
|
|
36104
|
-
type: "acp";
|
|
36105
|
-
}) | ({
|
|
36106
|
-
name: string;
|
|
36107
|
-
command: string;
|
|
36108
|
-
args?: string[] | undefined;
|
|
36109
|
-
env?: {
|
|
36110
|
-
name: string;
|
|
36111
|
-
value: string;
|
|
36112
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
36113
|
-
}[] | undefined;
|
|
36114
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
36115
|
-
} & {
|
|
36116
|
-
type: "stdio";
|
|
36117
|
-
}) | {
|
|
36118
|
-
type: string;
|
|
36119
|
-
})[], (({
|
|
36120
|
-
name: string;
|
|
36121
|
-
url: string;
|
|
36122
|
-
headers?: {
|
|
36123
|
-
name: string;
|
|
36124
|
-
value: string;
|
|
36125
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
36126
|
-
}[] | undefined;
|
|
36127
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
36128
|
-
} & {
|
|
36129
|
-
type: "http";
|
|
36130
|
-
}) | ({
|
|
36131
|
-
name: string;
|
|
36132
|
-
serverId: string;
|
|
36133
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
36134
|
-
} & {
|
|
36135
|
-
type: "acp";
|
|
36136
|
-
}) | ({
|
|
36137
|
-
name: string;
|
|
36138
|
-
command: string;
|
|
36139
|
-
args?: string[] | undefined;
|
|
36140
|
-
env?: {
|
|
36141
|
-
name: string;
|
|
36142
|
-
value: string;
|
|
36143
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
36144
|
-
}[] | undefined;
|
|
36145
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
36146
|
-
} & {
|
|
36147
|
-
type: "stdio";
|
|
36148
|
-
}) | {
|
|
36149
|
-
type: string;
|
|
36150
|
-
})[]>>>>;
|
|
36151
|
-
replayFrom: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodType<({
|
|
36032
|
+
}>>>>;
|
|
36033
|
+
replayFrom: z.ZodOptional<z.ZodNullable<z.ZodType<({
|
|
36152
36034
|
_meta?: Record<string, unknown> | null | undefined;
|
|
36153
36035
|
} & {
|
|
36154
36036
|
type: "start";
|
|
@@ -36176,7 +36058,7 @@ export declare const zClientRequest: z.ZodObject<{
|
|
|
36176
36058
|
}) | {
|
|
36177
36059
|
type: string;
|
|
36178
36060
|
_meta?: Record<string, unknown> | null | undefined;
|
|
36179
|
-
}
|
|
36061
|
+
}>>>>;
|
|
36180
36062
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
36181
36063
|
}, z.core.$strip>, z.ZodObject<{
|
|
36182
36064
|
sessionId: z.ZodString;
|
|
@@ -37038,71 +36920,23 @@ export declare const zDidChangeDocumentNotification: z.ZodObject<{
|
|
|
37038
36920
|
sessionId: z.ZodString;
|
|
37039
36921
|
uri: z.ZodURL;
|
|
37040
36922
|
version: z.ZodNumber;
|
|
37041
|
-
contentChanges: z.
|
|
37042
|
-
|
|
37043
|
-
|
|
37044
|
-
|
|
37045
|
-
|
|
37046
|
-
|
|
37047
|
-
|
|
37048
|
-
|
|
37049
|
-
|
|
37050
|
-
|
|
37051
|
-
|
|
37052
|
-
|
|
37053
|
-
|
|
37054
|
-
|
|
37055
|
-
|
|
37056
|
-
_meta
|
|
37057
|
-
}
|
|
37058
|
-
text: string;
|
|
37059
|
-
range?: {
|
|
37060
|
-
start: {
|
|
37061
|
-
line: number;
|
|
37062
|
-
character: number;
|
|
37063
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37064
|
-
};
|
|
37065
|
-
end: {
|
|
37066
|
-
line: number;
|
|
37067
|
-
character: number;
|
|
37068
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37069
|
-
};
|
|
37070
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37071
|
-
} | null | undefined;
|
|
37072
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37073
|
-
}[], z.core.$ZodTypeInternals<{
|
|
37074
|
-
text: string;
|
|
37075
|
-
range?: {
|
|
37076
|
-
start: {
|
|
37077
|
-
line: number;
|
|
37078
|
-
character: number;
|
|
37079
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37080
|
-
};
|
|
37081
|
-
end: {
|
|
37082
|
-
line: number;
|
|
37083
|
-
character: number;
|
|
37084
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37085
|
-
};
|
|
37086
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37087
|
-
} | null | undefined;
|
|
37088
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37089
|
-
}[], {
|
|
37090
|
-
text: string;
|
|
37091
|
-
range?: {
|
|
37092
|
-
start: {
|
|
37093
|
-
line: number;
|
|
37094
|
-
character: number;
|
|
37095
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37096
|
-
};
|
|
37097
|
-
end: {
|
|
37098
|
-
line: number;
|
|
37099
|
-
character: number;
|
|
37100
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37101
|
-
};
|
|
37102
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37103
|
-
} | null | undefined;
|
|
37104
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37105
|
-
}[]>>;
|
|
36923
|
+
contentChanges: z.ZodArray<z.ZodObject<{
|
|
36924
|
+
range: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36925
|
+
start: z.ZodObject<{
|
|
36926
|
+
line: z.ZodInt;
|
|
36927
|
+
character: z.ZodInt;
|
|
36928
|
+
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
36929
|
+
}, z.core.$strip>;
|
|
36930
|
+
end: z.ZodObject<{
|
|
36931
|
+
line: z.ZodInt;
|
|
36932
|
+
character: z.ZodInt;
|
|
36933
|
+
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
36934
|
+
}, z.core.$strip>;
|
|
36935
|
+
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
36936
|
+
}, z.core.$strip>>>;
|
|
36937
|
+
text: z.ZodString;
|
|
36938
|
+
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
36939
|
+
}, z.core.$strip>>;
|
|
37106
36940
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
37107
36941
|
}, z.core.$strip>;
|
|
37108
36942
|
/**
|
|
@@ -37203,71 +37037,23 @@ export declare const zClientNotification: z.ZodObject<{
|
|
|
37203
37037
|
sessionId: z.ZodString;
|
|
37204
37038
|
uri: z.ZodURL;
|
|
37205
37039
|
version: z.ZodNumber;
|
|
37206
|
-
contentChanges: z.
|
|
37207
|
-
|
|
37208
|
-
|
|
37209
|
-
|
|
37210
|
-
|
|
37211
|
-
|
|
37212
|
-
|
|
37213
|
-
|
|
37214
|
-
|
|
37215
|
-
|
|
37216
|
-
|
|
37217
|
-
|
|
37218
|
-
|
|
37219
|
-
|
|
37220
|
-
|
|
37221
|
-
_meta
|
|
37222
|
-
}
|
|
37223
|
-
text: string;
|
|
37224
|
-
range?: {
|
|
37225
|
-
start: {
|
|
37226
|
-
line: number;
|
|
37227
|
-
character: number;
|
|
37228
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37229
|
-
};
|
|
37230
|
-
end: {
|
|
37231
|
-
line: number;
|
|
37232
|
-
character: number;
|
|
37233
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37234
|
-
};
|
|
37235
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37236
|
-
} | null | undefined;
|
|
37237
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37238
|
-
}[], z.core.$ZodTypeInternals<{
|
|
37239
|
-
text: string;
|
|
37240
|
-
range?: {
|
|
37241
|
-
start: {
|
|
37242
|
-
line: number;
|
|
37243
|
-
character: number;
|
|
37244
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37245
|
-
};
|
|
37246
|
-
end: {
|
|
37247
|
-
line: number;
|
|
37248
|
-
character: number;
|
|
37249
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37250
|
-
};
|
|
37251
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37252
|
-
} | null | undefined;
|
|
37253
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37254
|
-
}[], {
|
|
37255
|
-
text: string;
|
|
37256
|
-
range?: {
|
|
37257
|
-
start: {
|
|
37258
|
-
line: number;
|
|
37259
|
-
character: number;
|
|
37260
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37261
|
-
};
|
|
37262
|
-
end: {
|
|
37263
|
-
line: number;
|
|
37264
|
-
character: number;
|
|
37265
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37266
|
-
};
|
|
37267
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37268
|
-
} | null | undefined;
|
|
37269
|
-
_meta?: Record<string, unknown> | null | undefined;
|
|
37270
|
-
}[]>>;
|
|
37040
|
+
contentChanges: z.ZodArray<z.ZodObject<{
|
|
37041
|
+
range: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
37042
|
+
start: z.ZodObject<{
|
|
37043
|
+
line: z.ZodInt;
|
|
37044
|
+
character: z.ZodInt;
|
|
37045
|
+
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
37046
|
+
}, z.core.$strip>;
|
|
37047
|
+
end: z.ZodObject<{
|
|
37048
|
+
line: z.ZodInt;
|
|
37049
|
+
character: z.ZodInt;
|
|
37050
|
+
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
37051
|
+
}, z.core.$strip>;
|
|
37052
|
+
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
37053
|
+
}, z.core.$strip>>>;
|
|
37054
|
+
text: z.ZodString;
|
|
37055
|
+
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
37056
|
+
}, z.core.$strip>>;
|
|
37271
37057
|
_meta: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
37272
37058
|
}, z.core.$strip>, z.ZodObject<{
|
|
37273
37059
|
sessionId: z.ZodString;
|