@tickernelz/paperclip-pro-adapter-utils 2026.1002.4 → 2026.1002.5
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/README.md +7 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js +23 -12
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js +95 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.d.ts +84 -27
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.d.ts +289 -38
- package/node_modules/@agentclientprotocol/sdk/package.json +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
declare const unknownVariant: unique symbol;
|
|
2
|
+
/**
|
|
3
|
+
* A variant of an extensible union that this SDK does not know, as received
|
|
4
|
+
* from a peer, for example one added by a newer ACP version.
|
|
5
|
+
*
|
|
6
|
+
* Only received values have this type. A value you build is a known variant,
|
|
7
|
+
* checked field by field, or a custom variant whose tag starts with `_`, so
|
|
8
|
+
* a misspelled or missing field on a known variant is a compile error.
|
|
9
|
+
* Received values keep the type, so passing them on needs no conversion. The
|
|
10
|
+
* brand exists only in the types.
|
|
11
|
+
*
|
|
12
|
+
* @experimental
|
|
13
|
+
*/
|
|
14
|
+
export type UnknownVariant<T> = T & {
|
|
15
|
+
readonly [unknownVariant]: true;
|
|
16
|
+
};
|
|
1
17
|
/**
|
|
2
18
|
* A JSON-RPC request object.
|
|
3
19
|
*/
|
|
@@ -92,7 +108,17 @@ export type RequestPermissionSubject = (ToolCallPermissionSubject & {
|
|
|
92
108
|
type: "tool_call";
|
|
93
109
|
}) | (CommandPermissionSubject & {
|
|
94
110
|
type: "command";
|
|
95
|
-
}) | {
|
|
111
|
+
}) | ({
|
|
112
|
+
/**
|
|
113
|
+
* Custom or future permission subject type.
|
|
114
|
+
*
|
|
115
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
116
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
117
|
+
* future ACP variants.
|
|
118
|
+
*/
|
|
119
|
+
type: `_${string}`;
|
|
120
|
+
[key: string]: unknown;
|
|
121
|
+
} | UnknownVariant<{
|
|
96
122
|
/**
|
|
97
123
|
* Custom or future permission subject type.
|
|
98
124
|
*
|
|
@@ -102,7 +128,7 @@ export type RequestPermissionSubject = (ToolCallPermissionSubject & {
|
|
|
102
128
|
*/
|
|
103
129
|
type: string;
|
|
104
130
|
[key: string]: unknown;
|
|
105
|
-
};
|
|
131
|
+
}>);
|
|
106
132
|
/**
|
|
107
133
|
* Represents an upsert for a tool call that the language model has requested.
|
|
108
134
|
*
|
|
@@ -208,7 +234,17 @@ export type ToolCallContent = (Content & {
|
|
|
208
234
|
type: "diff";
|
|
209
235
|
}) | (Terminal & {
|
|
210
236
|
type: "terminal";
|
|
211
|
-
}) | {
|
|
237
|
+
}) | ({
|
|
238
|
+
/**
|
|
239
|
+
* Custom or future tool call content type.
|
|
240
|
+
*
|
|
241
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
242
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
243
|
+
* future ACP variants.
|
|
244
|
+
*/
|
|
245
|
+
type: `_${string}`;
|
|
246
|
+
[key: string]: unknown;
|
|
247
|
+
} | UnknownVariant<{
|
|
212
248
|
/**
|
|
213
249
|
* Custom or future tool call content type.
|
|
214
250
|
*
|
|
@@ -218,7 +254,7 @@ export type ToolCallContent = (Content & {
|
|
|
218
254
|
*/
|
|
219
255
|
type: string;
|
|
220
256
|
[key: string]: unknown;
|
|
221
|
-
};
|
|
257
|
+
}>);
|
|
222
258
|
/**
|
|
223
259
|
* Content blocks represent displayable information in the Agent Client Protocol.
|
|
224
260
|
*
|
|
@@ -246,7 +282,17 @@ export type ContentBlock = (TextContent & {
|
|
|
246
282
|
type: "resource_link";
|
|
247
283
|
}) | (EmbeddedResource & {
|
|
248
284
|
type: "resource";
|
|
249
|
-
}) | {
|
|
285
|
+
}) | ({
|
|
286
|
+
/**
|
|
287
|
+
* Custom or future content block type.
|
|
288
|
+
*
|
|
289
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
290
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
291
|
+
* future ACP variants.
|
|
292
|
+
*/
|
|
293
|
+
type: `_${string}`;
|
|
294
|
+
[key: string]: unknown;
|
|
295
|
+
} | UnknownVariant<{
|
|
250
296
|
/**
|
|
251
297
|
* Custom or future content block type.
|
|
252
298
|
*
|
|
@@ -256,7 +302,7 @@ export type ContentBlock = (TextContent & {
|
|
|
256
302
|
*/
|
|
257
303
|
type: string;
|
|
258
304
|
[key: string]: unknown;
|
|
259
|
-
};
|
|
305
|
+
}>);
|
|
260
306
|
/**
|
|
261
307
|
* Optional annotations for the client. The client can use annotations to inform how objects are used or displayed
|
|
262
308
|
*/
|
|
@@ -567,7 +613,17 @@ export type DiffChange = ((DiffPathChange & {
|
|
|
567
613
|
operation: "move";
|
|
568
614
|
}) | (DiffPathPairChange & {
|
|
569
615
|
operation: "copy";
|
|
570
|
-
}) | {
|
|
616
|
+
}) | ({
|
|
617
|
+
/**
|
|
618
|
+
* Custom or future file operation.
|
|
619
|
+
*
|
|
620
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
621
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
622
|
+
* future ACP variants.
|
|
623
|
+
*/
|
|
624
|
+
operation: `_${string}`;
|
|
625
|
+
[key: string]: unknown;
|
|
626
|
+
} | UnknownVariant<{
|
|
571
627
|
/**
|
|
572
628
|
* Custom or future file operation.
|
|
573
629
|
*
|
|
@@ -577,7 +633,7 @@ export type DiffChange = ((DiffPathChange & {
|
|
|
577
633
|
*/
|
|
578
634
|
operation: string;
|
|
579
635
|
[key: string]: unknown;
|
|
580
|
-
}) & {
|
|
636
|
+
}>)) & {
|
|
581
637
|
/**
|
|
582
638
|
* File content kind.
|
|
583
639
|
*
|
|
@@ -826,7 +882,17 @@ export type CreateElicitationRequest = ((ElicitationFormMode & {
|
|
|
826
882
|
mode: "form";
|
|
827
883
|
}) | (ElicitationUrlMode & {
|
|
828
884
|
mode: "url";
|
|
829
|
-
}) | ((ElicitationSessionScope | ElicitationRequestScope) & {
|
|
885
|
+
}) | ((ElicitationSessionScope | ElicitationRequestScope) & ({
|
|
886
|
+
/**
|
|
887
|
+
* Custom or future elicitation mode.
|
|
888
|
+
*
|
|
889
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
890
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
891
|
+
* future ACP variants.
|
|
892
|
+
*/
|
|
893
|
+
mode: `_${string}`;
|
|
894
|
+
[key: string]: unknown;
|
|
895
|
+
} | UnknownVariant<{
|
|
830
896
|
/**
|
|
831
897
|
* Custom or future elicitation mode.
|
|
832
898
|
*
|
|
@@ -836,7 +902,7 @@ export type CreateElicitationRequest = ((ElicitationFormMode & {
|
|
|
836
902
|
*/
|
|
837
903
|
mode: string;
|
|
838
904
|
[key: string]: unknown;
|
|
839
|
-
})) & {
|
|
905
|
+
}>))) & {
|
|
840
906
|
/**
|
|
841
907
|
* A human-readable message describing what input is needed.
|
|
842
908
|
*/
|
|
@@ -953,7 +1019,17 @@ export type ElicitationPropertySchema = (StringPropertySchema & {
|
|
|
953
1019
|
type: "boolean";
|
|
954
1020
|
}) | (MultiSelectPropertySchema & {
|
|
955
1021
|
type: "array";
|
|
956
|
-
}) | {
|
|
1022
|
+
}) | ({
|
|
1023
|
+
/**
|
|
1024
|
+
* Custom or future elicitation property schema type.
|
|
1025
|
+
*
|
|
1026
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
1027
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
1028
|
+
* future ACP variants.
|
|
1029
|
+
*/
|
|
1030
|
+
type: `_${string}`;
|
|
1031
|
+
[key: string]: unknown;
|
|
1032
|
+
} | UnknownVariant<{
|
|
957
1033
|
/**
|
|
958
1034
|
* Custom or future elicitation property schema type.
|
|
959
1035
|
*
|
|
@@ -963,7 +1039,7 @@ export type ElicitationPropertySchema = (StringPropertySchema & {
|
|
|
963
1039
|
*/
|
|
964
1040
|
type: string;
|
|
965
1041
|
[key: string]: unknown;
|
|
966
|
-
};
|
|
1042
|
+
}>);
|
|
967
1043
|
/**
|
|
968
1044
|
* String format types for string properties in elicitation schemas.
|
|
969
1045
|
*/
|
|
@@ -1209,7 +1285,17 @@ export type BooleanPropertySchema = {
|
|
|
1209
1285
|
*/
|
|
1210
1286
|
export type MultiSelectItems = (StringMultiSelectItems & {
|
|
1211
1287
|
type: "string";
|
|
1212
|
-
}) | {
|
|
1288
|
+
}) | ({
|
|
1289
|
+
/**
|
|
1290
|
+
* Custom or future multi-select item type.
|
|
1291
|
+
*
|
|
1292
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
1293
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
1294
|
+
* future ACP variants.
|
|
1295
|
+
*/
|
|
1296
|
+
type: `_${string}`;
|
|
1297
|
+
[key: string]: unknown;
|
|
1298
|
+
} | UnknownVariant<{
|
|
1213
1299
|
/**
|
|
1214
1300
|
* Custom or future multi-select item type.
|
|
1215
1301
|
*
|
|
@@ -1219,7 +1305,7 @@ export type MultiSelectItems = (StringMultiSelectItems & {
|
|
|
1219
1305
|
*/
|
|
1220
1306
|
type: string;
|
|
1221
1307
|
[key: string]: unknown;
|
|
1222
|
-
} | TitledMultiSelectItems;
|
|
1308
|
+
}>) | TitledMultiSelectItems;
|
|
1223
1309
|
/**
|
|
1224
1310
|
* String item schema for multi-select enum properties.
|
|
1225
1311
|
*/
|
|
@@ -2274,7 +2360,39 @@ export type AuthMethod = (AuthMethodTerminal & {
|
|
|
2274
2360
|
type: "terminal";
|
|
2275
2361
|
}) | (AuthMethodAgent & {
|
|
2276
2362
|
type: "agent";
|
|
2277
|
-
}) | {
|
|
2363
|
+
}) | ({
|
|
2364
|
+
/**
|
|
2365
|
+
* Custom or future authentication method type.
|
|
2366
|
+
*
|
|
2367
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
2368
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
2369
|
+
* future ACP variants.
|
|
2370
|
+
*/
|
|
2371
|
+
type: `_${string}`;
|
|
2372
|
+
/**
|
|
2373
|
+
* Unique identifier for this authentication method.
|
|
2374
|
+
*/
|
|
2375
|
+
methodId: AuthMethodId;
|
|
2376
|
+
/**
|
|
2377
|
+
* Human-readable name of the authentication method.
|
|
2378
|
+
*/
|
|
2379
|
+
name: string;
|
|
2380
|
+
/**
|
|
2381
|
+
* Optional description providing more details about this authentication method.
|
|
2382
|
+
*/
|
|
2383
|
+
description?: string | null;
|
|
2384
|
+
/**
|
|
2385
|
+
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
2386
|
+
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
2387
|
+
* these keys.
|
|
2388
|
+
*
|
|
2389
|
+
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v2/draft/extensibility)
|
|
2390
|
+
*/
|
|
2391
|
+
_meta?: {
|
|
2392
|
+
[key: string]: unknown;
|
|
2393
|
+
} | null;
|
|
2394
|
+
[key: string]: unknown;
|
|
2395
|
+
} | UnknownVariant<{
|
|
2278
2396
|
/**
|
|
2279
2397
|
* Custom or future authentication method type.
|
|
2280
2398
|
*
|
|
@@ -2306,7 +2424,7 @@ export type AuthMethod = (AuthMethodTerminal & {
|
|
|
2306
2424
|
[key: string]: unknown;
|
|
2307
2425
|
} | null;
|
|
2308
2426
|
[key: string]: unknown;
|
|
2309
|
-
};
|
|
2427
|
+
}>);
|
|
2310
2428
|
/**
|
|
2311
2429
|
* Typed identifier used for auth method values on the wire.
|
|
2312
2430
|
*/
|
|
@@ -2638,7 +2756,17 @@ export type SessionConfigOption = ((SessionConfigSelect & {
|
|
|
2638
2756
|
type: "select";
|
|
2639
2757
|
}) | (SessionConfigBoolean & {
|
|
2640
2758
|
type: "boolean";
|
|
2641
|
-
}) | {
|
|
2759
|
+
}) | ({
|
|
2760
|
+
/**
|
|
2761
|
+
* Custom or future session configuration option type.
|
|
2762
|
+
*
|
|
2763
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
2764
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
2765
|
+
* future ACP variants.
|
|
2766
|
+
*/
|
|
2767
|
+
type: `_${string}`;
|
|
2768
|
+
[key: string]: unknown;
|
|
2769
|
+
} | UnknownVariant<{
|
|
2642
2770
|
/**
|
|
2643
2771
|
* Custom or future session configuration option type.
|
|
2644
2772
|
*
|
|
@@ -2648,7 +2776,7 @@ export type SessionConfigOption = ((SessionConfigSelect & {
|
|
|
2648
2776
|
*/
|
|
2649
2777
|
type: string;
|
|
2650
2778
|
[key: string]: unknown;
|
|
2651
|
-
}) & {
|
|
2779
|
+
}>)) & {
|
|
2652
2780
|
/**
|
|
2653
2781
|
* Unique identifier for the configuration option.
|
|
2654
2782
|
*/
|
|
@@ -2812,7 +2940,17 @@ export type AvailableCommand = {
|
|
|
2812
2940
|
*/
|
|
2813
2941
|
export type AvailableCommandInput = (TextCommandInput & {
|
|
2814
2942
|
type: "text";
|
|
2815
|
-
}) | {
|
|
2943
|
+
}) | ({
|
|
2944
|
+
/**
|
|
2945
|
+
* Custom or future command input type.
|
|
2946
|
+
*
|
|
2947
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
2948
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
2949
|
+
* future ACP variants.
|
|
2950
|
+
*/
|
|
2951
|
+
type: `_${string}`;
|
|
2952
|
+
[key: string]: unknown;
|
|
2953
|
+
} | UnknownVariant<{
|
|
2816
2954
|
/**
|
|
2817
2955
|
* Custom or future command input type.
|
|
2818
2956
|
*
|
|
@@ -2822,7 +2960,7 @@ export type AvailableCommandInput = (TextCommandInput & {
|
|
|
2822
2960
|
*/
|
|
2823
2961
|
type: string;
|
|
2824
2962
|
[key: string]: unknown;
|
|
2825
|
-
};
|
|
2963
|
+
}>);
|
|
2826
2964
|
/**
|
|
2827
2965
|
* All text that was typed after the command name is provided as input.
|
|
2828
2966
|
*/
|
|
@@ -3106,7 +3244,21 @@ export type NesSuggestion = (NesEditSuggestion & {
|
|
|
3106
3244
|
kind: "rename";
|
|
3107
3245
|
}) | (NesSearchAndReplaceSuggestion & {
|
|
3108
3246
|
kind: "searchAndReplace";
|
|
3109
|
-
}) | {
|
|
3247
|
+
}) | ({
|
|
3248
|
+
/**
|
|
3249
|
+
* Custom or future NES suggestion kind.
|
|
3250
|
+
*
|
|
3251
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
3252
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
3253
|
+
* future ACP variants.
|
|
3254
|
+
*/
|
|
3255
|
+
kind: `_${string}`;
|
|
3256
|
+
/**
|
|
3257
|
+
* Unique identifier for accept/reject tracking.
|
|
3258
|
+
*/
|
|
3259
|
+
suggestionId: NesSuggestionId;
|
|
3260
|
+
[key: string]: unknown;
|
|
3261
|
+
} | UnknownVariant<{
|
|
3110
3262
|
/**
|
|
3111
3263
|
* Custom or future NES suggestion kind.
|
|
3112
3264
|
*
|
|
@@ -3120,7 +3272,7 @@ export type NesSuggestion = (NesEditSuggestion & {
|
|
|
3120
3272
|
*/
|
|
3121
3273
|
suggestionId: NesSuggestionId;
|
|
3122
3274
|
[key: string]: unknown;
|
|
3123
|
-
};
|
|
3275
|
+
}>);
|
|
3124
3276
|
/**
|
|
3125
3277
|
* **UNSTABLE**
|
|
3126
3278
|
*
|
|
@@ -3474,7 +3626,17 @@ export type SessionUpdate = (ContentChunk & {
|
|
|
3474
3626
|
sessionUpdate: "session_message";
|
|
3475
3627
|
}) | (SessionMessageChunk & {
|
|
3476
3628
|
sessionUpdate: "session_message_chunk";
|
|
3477
|
-
}) | {
|
|
3629
|
+
}) | ({
|
|
3630
|
+
/**
|
|
3631
|
+
* Custom or future session update type.
|
|
3632
|
+
*
|
|
3633
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
3634
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
3635
|
+
* future ACP variants.
|
|
3636
|
+
*/
|
|
3637
|
+
sessionUpdate: `_${string}`;
|
|
3638
|
+
[key: string]: unknown;
|
|
3639
|
+
} | UnknownVariant<{
|
|
3478
3640
|
/**
|
|
3479
3641
|
* Custom or future session update type.
|
|
3480
3642
|
*
|
|
@@ -3484,7 +3646,7 @@ export type SessionUpdate = (ContentChunk & {
|
|
|
3484
3646
|
*/
|
|
3485
3647
|
sessionUpdate: string;
|
|
3486
3648
|
[key: string]: unknown;
|
|
3487
|
-
};
|
|
3649
|
+
}>);
|
|
3488
3650
|
/**
|
|
3489
3651
|
* A streamed item of message content.
|
|
3490
3652
|
*/
|
|
@@ -3773,7 +3935,17 @@ export type StateUpdate = (RunningStateUpdate & {
|
|
|
3773
3935
|
state: "requires_action";
|
|
3774
3936
|
}) | (UnknownStateUpdate & {
|
|
3775
3937
|
state: "unknown";
|
|
3776
|
-
}) | {
|
|
3938
|
+
}) | ({
|
|
3939
|
+
/**
|
|
3940
|
+
* Custom or future session state.
|
|
3941
|
+
*
|
|
3942
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
3943
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
3944
|
+
* future ACP variants.
|
|
3945
|
+
*/
|
|
3946
|
+
state: `_${string}`;
|
|
3947
|
+
[key: string]: unknown;
|
|
3948
|
+
} | UnknownVariant<{
|
|
3777
3949
|
/**
|
|
3778
3950
|
* Custom or future session state.
|
|
3779
3951
|
*
|
|
@@ -3783,7 +3955,7 @@ export type StateUpdate = (RunningStateUpdate & {
|
|
|
3783
3955
|
*/
|
|
3784
3956
|
state: string;
|
|
3785
3957
|
[key: string]: unknown;
|
|
3786
|
-
};
|
|
3958
|
+
}>);
|
|
3787
3959
|
/**
|
|
3788
3960
|
* A streamed item of tool-call content.
|
|
3789
3961
|
*
|
|
@@ -3936,7 +4108,21 @@ export type PlanUpdateContent = (PlanItems & {
|
|
|
3936
4108
|
type: "file";
|
|
3937
4109
|
}) | (PlanMarkdown & {
|
|
3938
4110
|
type: "markdown";
|
|
3939
|
-
}) | {
|
|
4111
|
+
}) | ({
|
|
4112
|
+
/**
|
|
4113
|
+
* Custom or future plan update content type.
|
|
4114
|
+
*
|
|
4115
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
4116
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
4117
|
+
* future ACP variants.
|
|
4118
|
+
*/
|
|
4119
|
+
type: `_${string}`;
|
|
4120
|
+
/**
|
|
4121
|
+
* The plan ID to update.
|
|
4122
|
+
*/
|
|
4123
|
+
planId: PlanId;
|
|
4124
|
+
[key: string]: unknown;
|
|
4125
|
+
} | UnknownVariant<{
|
|
3940
4126
|
/**
|
|
3941
4127
|
* Custom or future plan update content type.
|
|
3942
4128
|
*
|
|
@@ -3950,7 +4136,7 @@ export type PlanUpdateContent = (PlanItems & {
|
|
|
3950
4136
|
*/
|
|
3951
4137
|
planId: PlanId;
|
|
3952
4138
|
[key: string]: unknown;
|
|
3953
|
-
};
|
|
4139
|
+
}>);
|
|
3954
4140
|
/**
|
|
3955
4141
|
* Unique identifier for a plan within a session.
|
|
3956
4142
|
*/
|
|
@@ -5093,7 +5279,17 @@ export type McpServer = (McpServerHttp & {
|
|
|
5093
5279
|
type: "acp";
|
|
5094
5280
|
}) | (McpServerStdio & {
|
|
5095
5281
|
type: "stdio";
|
|
5096
|
-
}) | {
|
|
5282
|
+
}) | ({
|
|
5283
|
+
/**
|
|
5284
|
+
* Custom or future MCP server transport type.
|
|
5285
|
+
*
|
|
5286
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
5287
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
5288
|
+
* future ACP variants.
|
|
5289
|
+
*/
|
|
5290
|
+
type: `_${string}`;
|
|
5291
|
+
[key: string]: unknown;
|
|
5292
|
+
} | UnknownVariant<{
|
|
5097
5293
|
/**
|
|
5098
5294
|
* Custom or future MCP server transport type.
|
|
5099
5295
|
*
|
|
@@ -5103,7 +5299,7 @@ export type McpServer = (McpServerHttp & {
|
|
|
5103
5299
|
*/
|
|
5104
5300
|
type: string;
|
|
5105
5301
|
[key: string]: unknown;
|
|
5106
|
-
};
|
|
5302
|
+
}>);
|
|
5107
5303
|
/**
|
|
5108
5304
|
* An HTTP header to set when making requests to the MCP server.
|
|
5109
5305
|
*/
|
|
@@ -5366,7 +5562,27 @@ export type ResumeSessionRequest = {
|
|
|
5366
5562
|
*/
|
|
5367
5563
|
export type ReplayFrom = (ReplayFromStart & {
|
|
5368
5564
|
type: "start";
|
|
5369
|
-
}) | {
|
|
5565
|
+
}) | ({
|
|
5566
|
+
/**
|
|
5567
|
+
* Custom or future replay cursor type.
|
|
5568
|
+
*
|
|
5569
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
5570
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
5571
|
+
* future ACP variants.
|
|
5572
|
+
*/
|
|
5573
|
+
type: `_${string}`;
|
|
5574
|
+
/**
|
|
5575
|
+
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
5576
|
+
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
5577
|
+
* these keys.
|
|
5578
|
+
*
|
|
5579
|
+
* See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/v2/draft/extensibility)
|
|
5580
|
+
*/
|
|
5581
|
+
_meta?: {
|
|
5582
|
+
[key: string]: unknown;
|
|
5583
|
+
} | null;
|
|
5584
|
+
[key: string]: unknown;
|
|
5585
|
+
} | UnknownVariant<{
|
|
5370
5586
|
/**
|
|
5371
5587
|
* Custom or future replay cursor type.
|
|
5372
5588
|
*
|
|
@@ -5386,7 +5602,7 @@ export type ReplayFrom = (ReplayFromStart & {
|
|
|
5386
5602
|
[key: string]: unknown;
|
|
5387
5603
|
} | null;
|
|
5388
5604
|
[key: string]: unknown;
|
|
5389
|
-
};
|
|
5605
|
+
}>);
|
|
5390
5606
|
/**
|
|
5391
5607
|
* Inclusive replay cursor requesting replay from the start of retained conversation history.
|
|
5392
5608
|
*/
|
|
@@ -5440,7 +5656,21 @@ export type SetSessionConfigOptionRequest = ({
|
|
|
5440
5656
|
*/
|
|
5441
5657
|
value: boolean;
|
|
5442
5658
|
type: "boolean";
|
|
5443
|
-
} | {
|
|
5659
|
+
} | ({
|
|
5660
|
+
/**
|
|
5661
|
+
* Custom or future session configuration option value type.
|
|
5662
|
+
*
|
|
5663
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
5664
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
5665
|
+
* future ACP variants.
|
|
5666
|
+
*/
|
|
5667
|
+
type: `_${string}`;
|
|
5668
|
+
/**
|
|
5669
|
+
* Raw value payload for the custom or future value type.
|
|
5670
|
+
*/
|
|
5671
|
+
value: unknown;
|
|
5672
|
+
[key: string]: unknown;
|
|
5673
|
+
} | UnknownVariant<{
|
|
5444
5674
|
/**
|
|
5445
5675
|
* Custom or future session configuration option value type.
|
|
5446
5676
|
*
|
|
@@ -5454,7 +5684,7 @@ export type SetSessionConfigOptionRequest = ({
|
|
|
5454
5684
|
*/
|
|
5455
5685
|
value: unknown;
|
|
5456
5686
|
[key: string]: unknown;
|
|
5457
|
-
}) & {
|
|
5687
|
+
}>)) & {
|
|
5458
5688
|
/**
|
|
5459
5689
|
* The ID of the session to set the configuration option for.
|
|
5460
5690
|
*/
|
|
@@ -5943,7 +6173,17 @@ export type RequestPermissionOutcome = {
|
|
|
5943
6173
|
outcome: "cancelled";
|
|
5944
6174
|
} | (SelectedPermissionOutcome & {
|
|
5945
6175
|
outcome: "selected";
|
|
5946
|
-
}) | {
|
|
6176
|
+
}) | ({
|
|
6177
|
+
/**
|
|
6178
|
+
* Custom or future permission outcome.
|
|
6179
|
+
*
|
|
6180
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
6181
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
6182
|
+
* future ACP variants.
|
|
6183
|
+
*/
|
|
6184
|
+
outcome: `_${string}`;
|
|
6185
|
+
[key: string]: unknown;
|
|
6186
|
+
} | UnknownVariant<{
|
|
5947
6187
|
/**
|
|
5948
6188
|
* Custom or future permission outcome.
|
|
5949
6189
|
*
|
|
@@ -5953,7 +6193,7 @@ export type RequestPermissionOutcome = {
|
|
|
5953
6193
|
*/
|
|
5954
6194
|
outcome: string;
|
|
5955
6195
|
[key: string]: unknown;
|
|
5956
|
-
};
|
|
6196
|
+
}>);
|
|
5957
6197
|
/**
|
|
5958
6198
|
* The user selected one of the provided options.
|
|
5959
6199
|
*/
|
|
@@ -5982,7 +6222,17 @@ export type CreateElicitationResponse = ((ElicitationAcceptAction & {
|
|
|
5982
6222
|
action: "decline";
|
|
5983
6223
|
} | {
|
|
5984
6224
|
action: "cancel";
|
|
5985
|
-
} | {
|
|
6225
|
+
} | ({
|
|
6226
|
+
/**
|
|
6227
|
+
* Custom or future elicitation action.
|
|
6228
|
+
*
|
|
6229
|
+
* Values beginning with `_` are reserved for implementation-specific
|
|
6230
|
+
* extensions. Unknown values that do not begin with `_` are reserved for
|
|
6231
|
+
* future ACP variants.
|
|
6232
|
+
*/
|
|
6233
|
+
action: `_${string}`;
|
|
6234
|
+
[key: string]: unknown;
|
|
6235
|
+
} | UnknownVariant<{
|
|
5986
6236
|
/**
|
|
5987
6237
|
* Custom or future elicitation action.
|
|
5988
6238
|
*
|
|
@@ -5992,7 +6242,7 @@ export type CreateElicitationResponse = ((ElicitationAcceptAction & {
|
|
|
5992
6242
|
*/
|
|
5993
6243
|
action: string;
|
|
5994
6244
|
[key: string]: unknown;
|
|
5995
|
-
}) & {
|
|
6245
|
+
}>)) & {
|
|
5996
6246
|
/**
|
|
5997
6247
|
* The _meta property is reserved by ACP to allow clients and agents to attach additional
|
|
5998
6248
|
* metadata to their interactions. Implementations MUST NOT make assumptions about values at
|
|
@@ -6412,3 +6662,4 @@ export type CancelRequestNotification = {
|
|
|
6412
6662
|
[key: string]: unknown;
|
|
6413
6663
|
} | null;
|
|
6414
6664
|
};
|
|
6665
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tickernelz/paperclip-pro-adapter-utils",
|
|
3
|
-
"version": "2026.1002.
|
|
3
|
+
"version": "2026.1002.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://github.com/tickernelz/paperclip-pro",
|
|
6
6
|
"bugs": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"typecheck": "tsc --noEmit"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@tickernelz/paperclip-pro-shared": "2026.1002.
|
|
37
|
+
"@tickernelz/paperclip-pro-shared": "2026.1002.5",
|
|
38
38
|
"acpx": "0.12.0",
|
|
39
39
|
"picocolors": "^1.1.1"
|
|
40
40
|
},
|