@100xprompt/sdk 0.0.0-dev-202607191034 → 0.1.110
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/LICENSE +3 -0
- package/README.md +107 -0
- package/dist/client.d.ts +49 -4
- package/dist/client.js +122 -14
- package/dist/gen/sdk.gen.d.ts +172 -2
- package/dist/gen/sdk.gen.js +372 -0
- package/dist/gen/types.gen.d.ts +1964 -391
- package/openapi.json +14260 -0
- package/package.json +41 -24
- package/dist/v2/client.d.ts +0 -7
- package/dist/v2/client.js +0 -73
- package/dist/v2/gen/client/client.gen.d.ts +0 -2
- package/dist/v2/gen/client/client.gen.js +0 -225
- package/dist/v2/gen/client/index.d.ts +0 -8
- package/dist/v2/gen/client/index.js +0 -6
- package/dist/v2/gen/client/types.gen.d.ts +0 -117
- package/dist/v2/gen/client/types.gen.js +0 -2
- package/dist/v2/gen/client/utils.gen.d.ts +0 -33
- package/dist/v2/gen/client/utils.gen.js +0 -226
- package/dist/v2/gen/client.gen.d.ts +0 -12
- package/dist/v2/gen/client.gen.js +0 -3
- package/dist/v2/gen/core/auth.gen.d.ts +0 -18
- package/dist/v2/gen/core/auth.gen.js +0 -14
- package/dist/v2/gen/core/bodySerializer.gen.d.ts +0 -25
- package/dist/v2/gen/core/bodySerializer.gen.js +0 -57
- package/dist/v2/gen/core/params.gen.d.ts +0 -43
- package/dist/v2/gen/core/params.gen.js +0 -102
- package/dist/v2/gen/core/pathSerializer.gen.d.ts +0 -33
- package/dist/v2/gen/core/pathSerializer.gen.js +0 -106
- package/dist/v2/gen/core/queryKeySerializer.gen.d.ts +0 -18
- package/dist/v2/gen/core/queryKeySerializer.gen.js +0 -93
- package/dist/v2/gen/core/serverSentEvents.gen.d.ts +0 -71
- package/dist/v2/gen/core/serverSentEvents.gen.js +0 -131
- package/dist/v2/gen/core/types.gen.d.ts +0 -78
- package/dist/v2/gen/core/types.gen.js +0 -2
- package/dist/v2/gen/core/utils.gen.d.ts +0 -19
- package/dist/v2/gen/core/utils.gen.js +0 -87
- package/dist/v2/gen/gen/client/client.gen.d.ts +0 -2
- package/dist/v2/gen/gen/client/client.gen.js +0 -225
- package/dist/v2/gen/gen/client/index.d.ts +0 -8
- package/dist/v2/gen/gen/client/index.js +0 -6
- package/dist/v2/gen/gen/client/types.gen.d.ts +0 -117
- package/dist/v2/gen/gen/client/types.gen.js +0 -2
- package/dist/v2/gen/gen/client/utils.gen.d.ts +0 -33
- package/dist/v2/gen/gen/client/utils.gen.js +0 -226
- package/dist/v2/gen/gen/client.gen.d.ts +0 -12
- package/dist/v2/gen/gen/client.gen.js +0 -3
- package/dist/v2/gen/gen/core/auth.gen.d.ts +0 -18
- package/dist/v2/gen/gen/core/auth.gen.js +0 -14
- package/dist/v2/gen/gen/core/bodySerializer.gen.d.ts +0 -25
- package/dist/v2/gen/gen/core/bodySerializer.gen.js +0 -57
- package/dist/v2/gen/gen/core/params.gen.d.ts +0 -43
- package/dist/v2/gen/gen/core/params.gen.js +0 -102
- package/dist/v2/gen/gen/core/pathSerializer.gen.d.ts +0 -33
- package/dist/v2/gen/gen/core/pathSerializer.gen.js +0 -106
- package/dist/v2/gen/gen/core/queryKeySerializer.gen.d.ts +0 -18
- package/dist/v2/gen/gen/core/queryKeySerializer.gen.js +0 -93
- package/dist/v2/gen/gen/core/serverSentEvents.gen.d.ts +0 -71
- package/dist/v2/gen/gen/core/serverSentEvents.gen.js +0 -131
- package/dist/v2/gen/gen/core/types.gen.d.ts +0 -78
- package/dist/v2/gen/gen/core/types.gen.js +0 -2
- package/dist/v2/gen/gen/core/utils.gen.d.ts +0 -19
- package/dist/v2/gen/gen/core/utils.gen.js +0 -87
- package/dist/v2/gen/gen/sdk.gen.d.ts +0 -1013
- package/dist/v2/gen/gen/sdk.gen.js +0 -1931
- package/dist/v2/gen/gen/types.gen.d.ts +0 -4246
- package/dist/v2/gen/gen/types.gen.js +0 -2
- package/dist/v2/gen/sdk.gen.d.ts +0 -1014
- package/dist/v2/gen/sdk.gen.js +0 -1932
- package/dist/v2/gen/types.gen.d.ts +0 -4238
- package/dist/v2/gen/types.gen.js +0 -2
- package/dist/v2/index.d.ts +0 -10
- package/dist/v2/index.js +0 -16
- package/dist/v2/server.d.ts +0 -23
- package/dist/v2/server.js +0 -94
package/dist/gen/sdk.gen.js
CHANGED
|
@@ -111,6 +111,307 @@ export class Project extends HeyApiClient {
|
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
+
export class Plugin extends HeyApiClient {
|
|
115
|
+
/**
|
|
116
|
+
* List installed plugins
|
|
117
|
+
*/
|
|
118
|
+
installed(parameters, options) {
|
|
119
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
120
|
+
return (options?.client ?? this.client).get({
|
|
121
|
+
url: "/plugin/installed",
|
|
122
|
+
...options,
|
|
123
|
+
...params,
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Browse plugins across added marketplaces
|
|
128
|
+
*/
|
|
129
|
+
discover(parameters, options) {
|
|
130
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
131
|
+
return (options?.client ?? this.client).get({
|
|
132
|
+
url: "/plugin/discover",
|
|
133
|
+
...options,
|
|
134
|
+
...params,
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* List added marketplace sources
|
|
139
|
+
*/
|
|
140
|
+
marketplaces(parameters, options) {
|
|
141
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
142
|
+
return (options?.client ?? this.client).get({
|
|
143
|
+
url: "/plugin/marketplaces",
|
|
144
|
+
...options,
|
|
145
|
+
...params,
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* List plugins that failed to load
|
|
150
|
+
*/
|
|
151
|
+
errors(parameters, options) {
|
|
152
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
153
|
+
return (options?.client ?? this.client).get({
|
|
154
|
+
url: "/plugin/errors",
|
|
155
|
+
...options,
|
|
156
|
+
...params,
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Activate pending plugin changes in the current session
|
|
161
|
+
*/
|
|
162
|
+
reload(parameters, options) {
|
|
163
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
164
|
+
return (options?.client ?? this.client).post({
|
|
165
|
+
url: "/plugin/reload",
|
|
166
|
+
...options,
|
|
167
|
+
...params,
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Install a plugin from a source spec
|
|
172
|
+
*/
|
|
173
|
+
install(parameters, options) {
|
|
174
|
+
const params = buildClientParams([parameters], [
|
|
175
|
+
{
|
|
176
|
+
args: [
|
|
177
|
+
{ in: "query", key: "directory" },
|
|
178
|
+
{ in: "body", key: "source" },
|
|
179
|
+
],
|
|
180
|
+
},
|
|
181
|
+
]);
|
|
182
|
+
return (options?.client ?? this.client).post({
|
|
183
|
+
url: "/plugin/install",
|
|
184
|
+
...options,
|
|
185
|
+
...params,
|
|
186
|
+
headers: {
|
|
187
|
+
"Content-Type": "application/json",
|
|
188
|
+
...options?.headers,
|
|
189
|
+
...params.headers,
|
|
190
|
+
},
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Install a plugin by name from added marketplaces
|
|
195
|
+
*/
|
|
196
|
+
installNamed(parameters, options) {
|
|
197
|
+
const params = buildClientParams([parameters], [
|
|
198
|
+
{
|
|
199
|
+
args: [
|
|
200
|
+
{ in: "query", key: "directory" },
|
|
201
|
+
{ in: "body", key: "name" },
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
]);
|
|
205
|
+
return (options?.client ?? this.client).post({
|
|
206
|
+
url: "/plugin/install-named",
|
|
207
|
+
...options,
|
|
208
|
+
...params,
|
|
209
|
+
headers: {
|
|
210
|
+
"Content-Type": "application/json",
|
|
211
|
+
...options?.headers,
|
|
212
|
+
...params.headers,
|
|
213
|
+
},
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Enable or disable an installed plugin
|
|
218
|
+
*/
|
|
219
|
+
setEnabled(parameters, options) {
|
|
220
|
+
const params = buildClientParams([parameters], [
|
|
221
|
+
{
|
|
222
|
+
args: [
|
|
223
|
+
{ in: "query", key: "directory" },
|
|
224
|
+
{ in: "body", key: "name" },
|
|
225
|
+
{ in: "body", key: "enabled" },
|
|
226
|
+
],
|
|
227
|
+
},
|
|
228
|
+
]);
|
|
229
|
+
return (options?.client ?? this.client).post({
|
|
230
|
+
url: "/plugin/enable",
|
|
231
|
+
...options,
|
|
232
|
+
...params,
|
|
233
|
+
headers: {
|
|
234
|
+
"Content-Type": "application/json",
|
|
235
|
+
...options?.headers,
|
|
236
|
+
...params.headers,
|
|
237
|
+
},
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Uninstall a plugin
|
|
242
|
+
*/
|
|
243
|
+
remove(parameters, options) {
|
|
244
|
+
const params = buildClientParams([parameters], [
|
|
245
|
+
{
|
|
246
|
+
args: [
|
|
247
|
+
{ in: "query", key: "directory" },
|
|
248
|
+
{ in: "body", key: "name" },
|
|
249
|
+
],
|
|
250
|
+
},
|
|
251
|
+
]);
|
|
252
|
+
return (options?.client ?? this.client).post({
|
|
253
|
+
url: "/plugin/remove",
|
|
254
|
+
...options,
|
|
255
|
+
...params,
|
|
256
|
+
headers: {
|
|
257
|
+
"Content-Type": "application/json",
|
|
258
|
+
...options?.headers,
|
|
259
|
+
...params.headers,
|
|
260
|
+
},
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Add a marketplace source
|
|
265
|
+
*/
|
|
266
|
+
marketplaceAdd(parameters, options) {
|
|
267
|
+
const params = buildClientParams([parameters], [
|
|
268
|
+
{
|
|
269
|
+
args: [
|
|
270
|
+
{ in: "query", key: "directory" },
|
|
271
|
+
{ in: "body", key: "source" },
|
|
272
|
+
],
|
|
273
|
+
},
|
|
274
|
+
]);
|
|
275
|
+
return (options?.client ?? this.client).post({
|
|
276
|
+
url: "/plugin/marketplace/add",
|
|
277
|
+
...options,
|
|
278
|
+
...params,
|
|
279
|
+
headers: {
|
|
280
|
+
"Content-Type": "application/json",
|
|
281
|
+
...options?.headers,
|
|
282
|
+
...params.headers,
|
|
283
|
+
},
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Remove a marketplace source
|
|
288
|
+
*/
|
|
289
|
+
marketplaceRemove(parameters, options) {
|
|
290
|
+
const params = buildClientParams([parameters], [
|
|
291
|
+
{
|
|
292
|
+
args: [
|
|
293
|
+
{ in: "query", key: "directory" },
|
|
294
|
+
{ in: "body", key: "source" },
|
|
295
|
+
],
|
|
296
|
+
},
|
|
297
|
+
]);
|
|
298
|
+
return (options?.client ?? this.client).post({
|
|
299
|
+
url: "/plugin/marketplace/remove",
|
|
300
|
+
...options,
|
|
301
|
+
...params,
|
|
302
|
+
headers: {
|
|
303
|
+
"Content-Type": "application/json",
|
|
304
|
+
...options?.headers,
|
|
305
|
+
...params.headers,
|
|
306
|
+
},
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
export class Trust extends HeyApiClient {
|
|
311
|
+
/**
|
|
312
|
+
* Get workspace trust status for the current directory
|
|
313
|
+
*/
|
|
314
|
+
status(parameters, options) {
|
|
315
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
316
|
+
return (options?.client ?? this.client).get({
|
|
317
|
+
url: "/trust",
|
|
318
|
+
...options,
|
|
319
|
+
...params,
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Trust the current directory for this session only
|
|
324
|
+
*/
|
|
325
|
+
once(parameters, options) {
|
|
326
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
327
|
+
return (options?.client ?? this.client).post({
|
|
328
|
+
url: "/trust/once",
|
|
329
|
+
...options,
|
|
330
|
+
...params,
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Trust the current directory and persist it across sessions
|
|
335
|
+
*/
|
|
336
|
+
always(parameters, options) {
|
|
337
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
338
|
+
return (options?.client ?? this.client).post({
|
|
339
|
+
url: "/trust/always",
|
|
340
|
+
...options,
|
|
341
|
+
...params,
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
export class RemoteBridge extends HeyApiClient {
|
|
346
|
+
/**
|
|
347
|
+
* Enrol a device and mint a bridge token
|
|
348
|
+
*
|
|
349
|
+
* Registers the calling device in the bridge trust store and returns a short-lived signed token for the WebSocket endpoint.
|
|
350
|
+
*/
|
|
351
|
+
enroll(parameters, options) {
|
|
352
|
+
const params = buildClientParams([parameters], [
|
|
353
|
+
{
|
|
354
|
+
args: [
|
|
355
|
+
{ in: "query", key: "directory" },
|
|
356
|
+
{ in: "body", key: "device" },
|
|
357
|
+
{ in: "body", key: "sessionID" },
|
|
358
|
+
],
|
|
359
|
+
},
|
|
360
|
+
]);
|
|
361
|
+
return (options?.client ?? this.client).post({
|
|
362
|
+
url: "/remote-bridge/enroll",
|
|
363
|
+
...options,
|
|
364
|
+
...params,
|
|
365
|
+
headers: {
|
|
366
|
+
"Content-Type": "application/json",
|
|
367
|
+
...options?.headers,
|
|
368
|
+
...params.headers,
|
|
369
|
+
},
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* List bridge devices
|
|
374
|
+
*/
|
|
375
|
+
devices(parameters, options) {
|
|
376
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
377
|
+
return (options?.client ?? this.client).get({
|
|
378
|
+
url: "/remote-bridge/devices",
|
|
379
|
+
...options,
|
|
380
|
+
...params,
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Revoke a bridge device
|
|
385
|
+
*
|
|
386
|
+
* Permanently refuses the device. Takes effect on the next connection attempt even if its token is still unexpired, and kicks any connection it currently holds.
|
|
387
|
+
*/
|
|
388
|
+
revoke(parameters, options) {
|
|
389
|
+
const params = buildClientParams([parameters], [
|
|
390
|
+
{
|
|
391
|
+
args: [
|
|
392
|
+
{ in: "path", key: "deviceID" },
|
|
393
|
+
{ in: "query", key: "directory" },
|
|
394
|
+
],
|
|
395
|
+
},
|
|
396
|
+
]);
|
|
397
|
+
return (options?.client ?? this.client).post({
|
|
398
|
+
url: "/remote-bridge/devices/{deviceID}/revoke",
|
|
399
|
+
...options,
|
|
400
|
+
...params,
|
|
401
|
+
});
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* Attach to a session over the bridge WebSocket
|
|
405
|
+
*/
|
|
406
|
+
connect(parameters, options) {
|
|
407
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }] }]);
|
|
408
|
+
return (options?.client ?? this.client).get({
|
|
409
|
+
url: "/remote-bridge/ws",
|
|
410
|
+
...options,
|
|
411
|
+
...params,
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
}
|
|
114
415
|
export class Pty extends HeyApiClient {
|
|
115
416
|
/**
|
|
116
417
|
* List PTY sessions
|
|
@@ -416,6 +717,36 @@ export class Vcs extends HeyApiClient {
|
|
|
416
717
|
});
|
|
417
718
|
}
|
|
418
719
|
}
|
|
720
|
+
export class Revert extends HeyApiClient {
|
|
721
|
+
/**
|
|
722
|
+
* Preview revert
|
|
723
|
+
*
|
|
724
|
+
* Dry-run a revert: which files would change with +/- line counts, and whether it would overwrite content modified outside the session.
|
|
725
|
+
*/
|
|
726
|
+
preview(parameters, options) {
|
|
727
|
+
const params = buildClientParams([parameters], [
|
|
728
|
+
{
|
|
729
|
+
args: [
|
|
730
|
+
{ in: "path", key: "sessionID" },
|
|
731
|
+
{ in: "query", key: "directory" },
|
|
732
|
+
{ in: "body", key: "messageID" },
|
|
733
|
+
{ in: "body", key: "partID" },
|
|
734
|
+
{ in: "body", key: "mode" },
|
|
735
|
+
],
|
|
736
|
+
},
|
|
737
|
+
]);
|
|
738
|
+
return (options?.client ?? this.client).post({
|
|
739
|
+
url: "/session/{sessionID}/revert/preview",
|
|
740
|
+
...options,
|
|
741
|
+
...params,
|
|
742
|
+
headers: {
|
|
743
|
+
"Content-Type": "application/json",
|
|
744
|
+
...options?.headers,
|
|
745
|
+
...params.headers,
|
|
746
|
+
},
|
|
747
|
+
});
|
|
748
|
+
}
|
|
749
|
+
}
|
|
419
750
|
export class Session extends HeyApiClient {
|
|
420
751
|
/**
|
|
421
752
|
* List sessions
|
|
@@ -430,6 +761,8 @@ export class Session extends HeyApiClient {
|
|
|
430
761
|
{ in: "query", key: "start" },
|
|
431
762
|
{ in: "query", key: "search" },
|
|
432
763
|
{ in: "query", key: "limit" },
|
|
764
|
+
{ in: "query", key: "include_archived" },
|
|
765
|
+
{ in: "query", key: "search_content" },
|
|
433
766
|
],
|
|
434
767
|
},
|
|
435
768
|
]);
|
|
@@ -449,6 +782,7 @@ export class Session extends HeyApiClient {
|
|
|
449
782
|
{
|
|
450
783
|
args: [
|
|
451
784
|
{ in: "query", key: "directory" },
|
|
785
|
+
{ in: "body", key: "id" },
|
|
452
786
|
{ in: "body", key: "parentID" },
|
|
453
787
|
{ in: "body", key: "title" },
|
|
454
788
|
{ in: "body", key: "permission" },
|
|
@@ -736,6 +1070,7 @@ export class Session extends HeyApiClient {
|
|
|
736
1070
|
{ in: "body", key: "providerID" },
|
|
737
1071
|
{ in: "body", key: "modelID" },
|
|
738
1072
|
{ in: "body", key: "auto" },
|
|
1073
|
+
{ in: "body", key: "customInstructions" },
|
|
739
1074
|
],
|
|
740
1075
|
},
|
|
741
1076
|
]);
|
|
@@ -788,7 +1123,10 @@ export class Session extends HeyApiClient {
|
|
|
788
1123
|
{ in: "body", key: "noReply" },
|
|
789
1124
|
{ in: "body", key: "tools" },
|
|
790
1125
|
{ in: "body", key: "system" },
|
|
1126
|
+
{ in: "body", key: "systemOverride" },
|
|
791
1127
|
{ in: "body", key: "variant" },
|
|
1128
|
+
{ in: "body", key: "kairos" },
|
|
1129
|
+
{ in: "body", key: "terminalFocus" },
|
|
792
1130
|
{ in: "body", key: "parts" },
|
|
793
1131
|
],
|
|
794
1132
|
},
|
|
@@ -842,7 +1180,10 @@ export class Session extends HeyApiClient {
|
|
|
842
1180
|
{ in: "body", key: "noReply" },
|
|
843
1181
|
{ in: "body", key: "tools" },
|
|
844
1182
|
{ in: "body", key: "system" },
|
|
1183
|
+
{ in: "body", key: "systemOverride" },
|
|
845
1184
|
{ in: "body", key: "variant" },
|
|
1185
|
+
{ in: "body", key: "kairos" },
|
|
1186
|
+
{ in: "body", key: "terminalFocus" },
|
|
846
1187
|
{ in: "body", key: "parts" },
|
|
847
1188
|
],
|
|
848
1189
|
},
|
|
@@ -931,6 +1272,7 @@ export class Session extends HeyApiClient {
|
|
|
931
1272
|
{ in: "query", key: "directory" },
|
|
932
1273
|
{ in: "body", key: "messageID" },
|
|
933
1274
|
{ in: "body", key: "partID" },
|
|
1275
|
+
{ in: "body", key: "mode" },
|
|
934
1276
|
],
|
|
935
1277
|
},
|
|
936
1278
|
]);
|
|
@@ -965,6 +1307,33 @@ export class Session extends HeyApiClient {
|
|
|
965
1307
|
...params,
|
|
966
1308
|
});
|
|
967
1309
|
}
|
|
1310
|
+
/**
|
|
1311
|
+
* Rate the last Auto-routed turn
|
|
1312
|
+
*
|
|
1313
|
+
* Send explicit 👍/👎 feedback for the most recent turn that the 'Auto' model router steered. Attributed to that turn's routing decision and forwarded to the routing proxy. A no-op (matched:false) when the last turn was not proxy-routed.
|
|
1314
|
+
*/
|
|
1315
|
+
feedback(parameters, options) {
|
|
1316
|
+
const params = buildClientParams([parameters], [
|
|
1317
|
+
{
|
|
1318
|
+
args: [
|
|
1319
|
+
{ in: "path", key: "sessionID" },
|
|
1320
|
+
{ in: "query", key: "directory" },
|
|
1321
|
+
{ in: "body", key: "explicit" },
|
|
1322
|
+
],
|
|
1323
|
+
},
|
|
1324
|
+
]);
|
|
1325
|
+
return (options?.client ?? this.client).post({
|
|
1326
|
+
url: "/session/{sessionID}/feedback",
|
|
1327
|
+
...options,
|
|
1328
|
+
...params,
|
|
1329
|
+
headers: {
|
|
1330
|
+
"Content-Type": "application/json",
|
|
1331
|
+
...options?.headers,
|
|
1332
|
+
...params.headers,
|
|
1333
|
+
},
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1336
|
+
revert2 = new Revert({ client: this.client });
|
|
968
1337
|
}
|
|
969
1338
|
export class Part extends HeyApiClient {
|
|
970
1339
|
/**
|
|
@@ -1906,6 +2275,9 @@ export class X100PromptClient extends HeyApiClient {
|
|
|
1906
2275
|
}
|
|
1907
2276
|
global = new Global({ client: this.client });
|
|
1908
2277
|
project = new Project({ client: this.client });
|
|
2278
|
+
plugin = new Plugin({ client: this.client });
|
|
2279
|
+
trust = new Trust({ client: this.client });
|
|
2280
|
+
remoteBridge = new RemoteBridge({ client: this.client });
|
|
1909
2281
|
pty = new Pty({ client: this.client });
|
|
1910
2282
|
config = new Config({ client: this.client });
|
|
1911
2283
|
tool = new Tool({ client: this.client });
|