@mobilerun/sdk 5.2.1 → 5.4.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/CHANGELOG.md +20 -0
- package/client.d.mts +13 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +13 -7
- package/client.d.ts.map +1 -1
- package/client.js +9 -3
- package/client.js.map +1 -1
- package/client.mjs +9 -3
- package/client.mjs.map +1 -1
- package/core/streaming.d.mts +33 -0
- package/core/streaming.d.mts.map +1 -0
- package/core/streaming.d.ts +33 -0
- package/core/streaming.d.ts.map +1 -0
- package/core/streaming.js +263 -0
- package/core/streaming.js.map +1 -0
- package/core/streaming.mjs +258 -0
- package/core/streaming.mjs.map +1 -0
- package/internal/decoders/line.d.mts +17 -0
- package/internal/decoders/line.d.mts.map +1 -0
- package/internal/decoders/line.d.ts +17 -0
- package/internal/decoders/line.d.ts.map +1 -0
- package/internal/decoders/line.js +113 -0
- package/internal/decoders/line.js.map +1 -0
- package/internal/decoders/line.mjs +108 -0
- package/internal/decoders/line.mjs.map +1 -0
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +10 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +10 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +2 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +2 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/tslib.js +18 -18
- package/package.json +11 -1
- package/resources/apps.d.mts +2 -2
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +2 -2
- package/resources/apps.d.ts.map +1 -1
- package/resources/assistant/assistant.d.mts +10 -0
- package/resources/assistant/assistant.d.mts.map +1 -0
- package/resources/assistant/assistant.d.ts +10 -0
- package/resources/assistant/assistant.d.ts.map +1 -0
- package/resources/assistant/assistant.js +17 -0
- package/resources/assistant/assistant.js.map +1 -0
- package/resources/assistant/assistant.mjs +12 -0
- package/resources/assistant/assistant.mjs.map +1 -0
- package/resources/assistant/conversations.d.mts +295 -0
- package/resources/assistant/conversations.d.mts.map +1 -0
- package/resources/assistant/conversations.d.ts +295 -0
- package/resources/assistant/conversations.d.ts.map +1 -0
- package/resources/assistant/conversations.js +109 -0
- package/resources/assistant/conversations.js.map +1 -0
- package/resources/assistant/conversations.mjs +105 -0
- package/resources/assistant/conversations.mjs.map +1 -0
- package/resources/assistant/index.d.mts +3 -0
- package/resources/assistant/index.d.mts.map +1 -0
- package/resources/assistant/index.d.ts +3 -0
- package/resources/assistant/index.d.ts.map +1 -0
- package/resources/assistant/index.js +9 -0
- package/resources/assistant/index.js.map +1 -0
- package/resources/assistant/index.mjs +4 -0
- package/resources/assistant/index.mjs.map +1 -0
- package/resources/assistant.d.mts +2 -0
- package/resources/assistant.d.mts.map +1 -0
- package/resources/assistant.d.ts +2 -0
- package/resources/assistant.d.ts.map +1 -0
- package/resources/assistant.js +6 -0
- package/resources/assistant.js.map +1 -0
- package/resources/assistant.mjs +3 -0
- package/resources/assistant.mjs.map +1 -0
- package/resources/devices/clipboard.d.mts +40 -0
- package/resources/devices/clipboard.d.mts.map +1 -0
- package/resources/devices/clipboard.d.ts +40 -0
- package/resources/devices/clipboard.d.ts.map +1 -0
- package/resources/devices/clipboard.js +50 -0
- package/resources/devices/clipboard.js.map +1 -0
- package/resources/devices/clipboard.mjs +46 -0
- package/resources/devices/clipboard.mjs.map +1 -0
- package/resources/devices/devices.d.mts +5 -0
- package/resources/devices/devices.d.mts.map +1 -1
- package/resources/devices/devices.d.ts +5 -0
- package/resources/devices/devices.d.ts.map +1 -1
- package/resources/devices/devices.js +4 -0
- package/resources/devices/devices.js.map +1 -1
- package/resources/devices/devices.mjs +4 -0
- package/resources/devices/devices.mjs.map +1 -1
- package/resources/devices/index.d.mts +1 -0
- package/resources/devices/index.d.mts.map +1 -1
- package/resources/devices/index.d.ts +1 -0
- package/resources/devices/index.d.ts.map +1 -1
- package/resources/devices/index.js +3 -1
- package/resources/devices/index.js.map +1 -1
- package/resources/devices/index.mjs +1 -0
- package/resources/devices/index.mjs.map +1 -1
- package/resources/esims/esims.d.mts +45 -45
- package/resources/esims/esims.d.mts.map +1 -1
- package/resources/esims/esims.d.ts +45 -45
- package/resources/esims/esims.d.ts.map +1 -1
- package/resources/esims/esims.js +3 -3
- package/resources/esims/esims.js.map +1 -1
- package/resources/esims/esims.mjs +3 -3
- package/resources/esims/esims.mjs.map +1 -1
- package/resources/esims/index.d.mts +1 -1
- package/resources/esims/index.d.mts.map +1 -1
- package/resources/esims/index.d.ts +1 -1
- package/resources/esims/index.d.ts.map +1 -1
- package/resources/esims/index.js.map +1 -1
- package/resources/esims/index.mjs.map +1 -1
- package/resources/esims/messages.d.mts +15 -20
- package/resources/esims/messages.d.mts.map +1 -1
- package/resources/esims/messages.d.ts +15 -20
- package/resources/esims/messages.d.ts.map +1 -1
- package/resources/files.d.mts +126 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +126 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +68 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +64 -0
- package/resources/files.mjs.map +1 -0
- package/resources/index.d.mts +5 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -1
- package/resources/index.mjs.map +1 -1
- package/resources/mailboxes/index.d.mts +3 -0
- package/resources/mailboxes/index.d.mts.map +1 -0
- package/resources/mailboxes/index.d.ts +3 -0
- package/resources/mailboxes/index.d.ts.map +1 -0
- package/resources/mailboxes/index.js +9 -0
- package/resources/mailboxes/index.js.map +1 -0
- package/resources/mailboxes/index.mjs +4 -0
- package/resources/mailboxes/index.mjs.map +1 -0
- package/resources/mailboxes/mailboxes.d.mts +366 -0
- package/resources/mailboxes/mailboxes.d.mts.map +1 -0
- package/resources/mailboxes/mailboxes.d.ts +366 -0
- package/resources/mailboxes/mailboxes.d.ts.map +1 -0
- package/resources/mailboxes/mailboxes.js +146 -0
- package/resources/mailboxes/mailboxes.js.map +1 -0
- package/resources/mailboxes/mailboxes.mjs +141 -0
- package/resources/mailboxes/mailboxes.mjs.map +1 -0
- package/resources/mailboxes/messages.d.mts +82 -0
- package/resources/mailboxes/messages.d.mts.map +1 -0
- package/resources/mailboxes/messages.d.ts +82 -0
- package/resources/mailboxes/messages.d.ts.map +1 -0
- package/resources/mailboxes/messages.js +39 -0
- package/resources/mailboxes/messages.js.map +1 -0
- package/resources/mailboxes/messages.mjs +35 -0
- package/resources/mailboxes/messages.mjs.map +1 -0
- package/resources/mailboxes.d.mts +2 -0
- package/resources/mailboxes.d.mts.map +1 -0
- package/resources/mailboxes.d.ts +2 -0
- package/resources/mailboxes.d.ts.map +1 -0
- package/resources/mailboxes.js +6 -0
- package/resources/mailboxes.js.map +1 -0
- package/resources/mailboxes.mjs +3 -0
- package/resources/mailboxes.mjs.map +1 -0
- package/resources/messages/conversations.d.mts +18 -23
- package/resources/messages/conversations.d.mts.map +1 -1
- package/resources/messages/conversations.d.ts +18 -23
- package/resources/messages/conversations.d.ts.map +1 -1
- package/resources/messages/messages.d.mts +15 -20
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +15 -20
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/models.d.mts +20 -5
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts +20 -5
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +1 -1
- package/resources/models.mjs +1 -1
- package/resources/numbers/index.d.mts +1 -1
- package/resources/numbers/index.d.mts.map +1 -1
- package/resources/numbers/index.d.ts +1 -1
- package/resources/numbers/index.d.ts.map +1 -1
- package/resources/numbers/index.js.map +1 -1
- package/resources/numbers/index.mjs.map +1 -1
- package/resources/numbers/messages.d.mts +15 -27
- package/resources/numbers/messages.d.mts.map +1 -1
- package/resources/numbers/messages.d.ts +15 -27
- package/resources/numbers/messages.d.ts.map +1 -1
- package/resources/numbers/messages.js.map +1 -1
- package/resources/numbers/messages.mjs.map +1 -1
- package/resources/numbers/numbers.d.mts +70 -22
- package/resources/numbers/numbers.d.mts.map +1 -1
- package/resources/numbers/numbers.d.ts +70 -22
- package/resources/numbers/numbers.d.ts.map +1 -1
- package/resources/numbers/numbers.js +17 -0
- package/resources/numbers/numbers.js.map +1 -1
- package/resources/numbers/numbers.mjs +17 -0
- package/resources/numbers/numbers.mjs.map +1 -1
- package/resources/store/apps.d.mts +2 -2
- package/resources/store/apps.d.mts.map +1 -1
- package/resources/store/apps.d.ts +2 -2
- package/resources/store/apps.d.ts.map +1 -1
- package/resources/workflows/events.d.mts +1 -0
- package/resources/workflows/events.d.mts.map +1 -1
- package/resources/workflows/events.d.ts +1 -0
- package/resources/workflows/events.d.ts.map +1 -1
- package/resources/workflows/executions.d.mts +21 -0
- package/resources/workflows/executions.d.mts.map +1 -1
- package/resources/workflows/executions.d.ts +21 -0
- package/resources/workflows/executions.d.ts.map +1 -1
- package/resources/workflows/flows/flows.d.mts +8 -0
- package/resources/workflows/flows/flows.d.mts.map +1 -1
- package/resources/workflows/flows/flows.d.ts +8 -0
- package/resources/workflows/flows/flows.d.ts.map +1 -1
- package/resources/workflows/flows/flows.js.map +1 -1
- package/resources/workflows/flows/flows.mjs.map +1 -1
- package/src/client.ts +74 -4
- package/src/core/streaming.ts +315 -0
- package/src/internal/decoders/line.ts +135 -0
- package/src/internal/parse.ts +14 -0
- package/src/internal/request-options.ts +2 -0
- package/src/resources/apps.ts +2 -2
- package/src/resources/assistant/assistant.ts +59 -0
- package/src/resources/assistant/conversations.ts +524 -0
- package/src/resources/assistant/index.ts +26 -0
- package/src/resources/assistant.ts +3 -0
- package/src/resources/devices/clipboard.ts +87 -0
- package/src/resources/devices/devices.ts +13 -0
- package/src/resources/devices/index.ts +6 -0
- package/src/resources/esims/esims.ts +63 -57
- package/src/resources/esims/index.ts +1 -0
- package/src/resources/esims/messages.ts +24 -30
- package/src/resources/files.ts +225 -0
- package/src/resources/index.ts +33 -1
- package/src/resources/mailboxes/index.ts +26 -0
- package/src/resources/mailboxes/mailboxes.ts +618 -0
- package/src/resources/mailboxes/messages.ts +134 -0
- package/src/resources/mailboxes.ts +3 -0
- package/src/resources/messages/conversations.ts +28 -34
- package/src/resources/messages/messages.ts +24 -30
- package/src/resources/models.ts +22 -7
- package/src/resources/numbers/index.ts +2 -0
- package/src/resources/numbers/messages.ts +24 -43
- package/src/resources/numbers/numbers.ts +97 -21
- package/src/resources/store/apps.ts +2 -2
- package/src/resources/workflows/events.ts +2 -0
- package/src/resources/workflows/executions.ts +27 -0
- package/src/resources/workflows/flows/flows.ts +16 -0
- package/src/streaming.ts +2 -0
- package/src/version.ts +1 -1
- package/streaming.d.mts +3 -0
- package/streaming.d.mts.map +1 -0
- package/streaming.d.ts +3 -0
- package/streaming.d.ts.map +1 -0
- package/streaming.js +6 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +3 -0
- package/streaming.mjs.map +1 -0
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/agents.d.mts +0 -27
- package/resources/agents.d.mts.map +0 -1
- package/resources/agents.d.ts +0 -27
- package/resources/agents.d.ts.map +0 -1
- package/resources/agents.js +0 -15
- package/resources/agents.js.map +0 -1
- package/resources/agents.mjs +0 -11
- package/resources/agents.mjs.map +0 -1
- package/src/resources/agents.ts +0 -42
|
@@ -77,6 +77,15 @@ export namespace ExecutionRetrieveResponse {
|
|
|
77
77
|
|
|
78
78
|
kind: 'live' | 'dry_run';
|
|
79
79
|
|
|
80
|
+
recordingDeviceId: string | null;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Device-recording id (devices-api) for this execution, set once the worker starts
|
|
84
|
+
* a recording. Null when the flow has recording disabled, no device is bound, or
|
|
85
|
+
* the recording failed to start.
|
|
86
|
+
*/
|
|
87
|
+
recordingId: string | null;
|
|
88
|
+
|
|
80
89
|
startedAt: string | null;
|
|
81
90
|
|
|
82
91
|
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
@@ -133,6 +142,15 @@ export namespace ExecutionListResponse {
|
|
|
133
142
|
|
|
134
143
|
kind: 'live' | 'dry_run';
|
|
135
144
|
|
|
145
|
+
recordingDeviceId: string | null;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Device-recording id (devices-api) for this execution, set once the worker starts
|
|
149
|
+
* a recording. Null when the flow has recording disabled, no device is bound, or
|
|
150
|
+
* the recording failed to start.
|
|
151
|
+
*/
|
|
152
|
+
recordingId: string | null;
|
|
153
|
+
|
|
136
154
|
startedAt: string | null;
|
|
137
155
|
|
|
138
156
|
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
@@ -173,6 +191,15 @@ export namespace ExecutionAbortResponse {
|
|
|
173
191
|
|
|
174
192
|
kind: 'live' | 'dry_run';
|
|
175
193
|
|
|
194
|
+
recordingDeviceId: string | null;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Device-recording id (devices-api) for this execution, set once the worker starts
|
|
198
|
+
* a recording. Null when the flow has recording disabled, no device is bound, or
|
|
199
|
+
* the recording failed to start.
|
|
200
|
+
*/
|
|
201
|
+
recordingId: string | null;
|
|
202
|
+
|
|
176
203
|
startedAt: string | null;
|
|
177
204
|
|
|
178
205
|
status: 'pending' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'invalid' | null;
|
|
@@ -176,6 +176,8 @@ export namespace FlowCreateResponse {
|
|
|
176
176
|
|
|
177
177
|
ownerId: string;
|
|
178
178
|
|
|
179
|
+
recordingEnabled: boolean;
|
|
180
|
+
|
|
179
181
|
selfHealingEnabled: boolean;
|
|
180
182
|
|
|
181
183
|
selfHealingMaxAttempts: number;
|
|
@@ -252,6 +254,8 @@ export namespace FlowRetrieveResponse {
|
|
|
252
254
|
|
|
253
255
|
ownerId: string;
|
|
254
256
|
|
|
257
|
+
recordingEnabled: boolean;
|
|
258
|
+
|
|
255
259
|
selfHealingEnabled: boolean;
|
|
256
260
|
|
|
257
261
|
selfHealingMaxAttempts: number;
|
|
@@ -328,6 +332,8 @@ export namespace FlowUpdateResponse {
|
|
|
328
332
|
|
|
329
333
|
ownerId: string;
|
|
330
334
|
|
|
335
|
+
recordingEnabled: boolean;
|
|
336
|
+
|
|
331
337
|
selfHealingEnabled: boolean;
|
|
332
338
|
|
|
333
339
|
selfHealingMaxAttempts: number;
|
|
@@ -406,6 +412,8 @@ export namespace FlowListResponse {
|
|
|
406
412
|
|
|
407
413
|
ownerId: string;
|
|
408
414
|
|
|
415
|
+
recordingEnabled: boolean;
|
|
416
|
+
|
|
409
417
|
selfHealingEnabled: boolean;
|
|
410
418
|
|
|
411
419
|
selfHealingMaxAttempts: number;
|
|
@@ -486,6 +494,8 @@ export namespace FlowCloneResponse {
|
|
|
486
494
|
|
|
487
495
|
ownerId: string;
|
|
488
496
|
|
|
497
|
+
recordingEnabled: boolean;
|
|
498
|
+
|
|
489
499
|
selfHealingEnabled: boolean;
|
|
490
500
|
|
|
491
501
|
selfHealingMaxAttempts: number;
|
|
@@ -688,6 +698,8 @@ export namespace FlowUnblockResponse {
|
|
|
688
698
|
|
|
689
699
|
ownerId: string;
|
|
690
700
|
|
|
701
|
+
recordingEnabled: boolean;
|
|
702
|
+
|
|
691
703
|
selfHealingEnabled: boolean;
|
|
692
704
|
|
|
693
705
|
selfHealingMaxAttempts: number;
|
|
@@ -738,6 +750,8 @@ export interface FlowCreateParams {
|
|
|
738
750
|
|
|
739
751
|
notifyWebhookId?: string | null;
|
|
740
752
|
|
|
753
|
+
recordingEnabled?: boolean;
|
|
754
|
+
|
|
741
755
|
selfHealingEnabled?: boolean;
|
|
742
756
|
|
|
743
757
|
selfHealingMaxAttempts?: number;
|
|
@@ -804,6 +818,8 @@ export interface FlowUpdateParams {
|
|
|
804
818
|
|
|
805
819
|
notifyWebhookId?: string | null;
|
|
806
820
|
|
|
821
|
+
recordingEnabled?: boolean;
|
|
822
|
+
|
|
807
823
|
selfHealingEnabled?: boolean;
|
|
808
824
|
|
|
809
825
|
selfHealingMaxAttempts?: number;
|
package/src/streaming.ts
ADDED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.4.0'; // x-release-please-version
|
package/streaming.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streaming.d.mts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,qCAAiC"}
|
package/streaming.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streaming.d.ts","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,oCAAiC"}
|
package/streaming.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("./internal/tslib.js");
|
|
4
|
+
/** @deprecated Import from ./core/streaming instead */
|
|
5
|
+
tslib_1.__exportStar(require("./core/streaming.js"), exports);
|
|
6
|
+
//# sourceMappingURL=streaming.js.map
|
package/streaming.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streaming.js","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,8DAAiC"}
|
package/streaming.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streaming.mjs","sourceRoot":"","sources":["src/streaming.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,qCAAiC"}
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.4.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.4.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.4.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/resources/agents.d.mts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
-
export declare class Agents extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* List all available agents with their default configurations.
|
|
7
|
-
*/
|
|
8
|
-
list(options?: RequestOptions): APIPromise<AgentListResponse>;
|
|
9
|
-
}
|
|
10
|
-
export type AgentListResponse = Array<AgentListResponse.AgentListResponseItem>;
|
|
11
|
-
export declare namespace AgentListResponse {
|
|
12
|
-
interface AgentListResponseItem {
|
|
13
|
-
id: number;
|
|
14
|
-
description: string | null;
|
|
15
|
-
icon: string;
|
|
16
|
-
llmModel: string;
|
|
17
|
-
maxSteps: number;
|
|
18
|
-
name: string;
|
|
19
|
-
reasoning: boolean;
|
|
20
|
-
subagentModel: string | null;
|
|
21
|
-
vision: boolean;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export declare namespace Agents {
|
|
25
|
-
export { type AgentListResponse as AgentListResponse };
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=agents.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.mts","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAG9D;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;AAE/E,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,qBAAqB;QACpC,EAAE,EAAE,MAAM,CAAC;QAEX,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B,IAAI,EAAE,MAAM,CAAC;QAEb,QAAQ,EAAE,MAAM,CAAC;QAEjB,QAAQ,EAAE,MAAM,CAAC;QAEjB,IAAI,EAAE,MAAM,CAAC;QAEb,SAAS,EAAE,OAAO,CAAC;QAEnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAE7B,MAAM,EAAE,OAAO,CAAC;KACjB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
|
package/resources/agents.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
-
export declare class Agents extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* List all available agents with their default configurations.
|
|
7
|
-
*/
|
|
8
|
-
list(options?: RequestOptions): APIPromise<AgentListResponse>;
|
|
9
|
-
}
|
|
10
|
-
export type AgentListResponse = Array<AgentListResponse.AgentListResponseItem>;
|
|
11
|
-
export declare namespace AgentListResponse {
|
|
12
|
-
interface AgentListResponseItem {
|
|
13
|
-
id: number;
|
|
14
|
-
description: string | null;
|
|
15
|
-
icon: string;
|
|
16
|
-
llmModel: string;
|
|
17
|
-
maxSteps: number;
|
|
18
|
-
name: string;
|
|
19
|
-
reasoning: boolean;
|
|
20
|
-
subagentModel: string | null;
|
|
21
|
-
vision: boolean;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export declare namespace Agents {
|
|
25
|
-
export { type AgentListResponse as AgentListResponse };
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=agents.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D,qBAAa,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAG9D;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;AAE/E,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,qBAAqB;QACpC,EAAE,EAAE,MAAM,CAAC;QAEX,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B,IAAI,EAAE,MAAM,CAAC;QAEb,QAAQ,EAAE,MAAM,CAAC;QAEjB,QAAQ,EAAE,MAAM,CAAC;QAEjB,IAAI,EAAE,MAAM,CAAC;QAEb,SAAS,EAAE,OAAO,CAAC;QAEnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAE7B,MAAM,EAAE,OAAO,CAAC;KACjB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACxD"}
|
package/resources/agents.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Agents = void 0;
|
|
5
|
-
const resource_1 = require("../core/resource.js");
|
|
6
|
-
class Agents extends resource_1.APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* List all available agents with their default configurations.
|
|
9
|
-
*/
|
|
10
|
-
list(options) {
|
|
11
|
-
return this._client.get('/agents', options);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.Agents = Agents;
|
|
15
|
-
//# sourceMappingURL=agents.js.map
|
package/resources/agents.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agents.js","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;CACF;AAPD,wBAOC"}
|
package/resources/agents.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../core/resource.mjs";
|
|
3
|
-
export class Agents extends APIResource {
|
|
4
|
-
/**
|
|
5
|
-
* List all available agents with their default configurations.
|
|
6
|
-
*/
|
|
7
|
-
list(options) {
|
|
8
|
-
return this._client.get('/agents', options);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=agents.mjs.map
|
package/resources/agents.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agents.mjs","sourceRoot":"","sources":["../src/resources/agents.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;CACF"}
|
package/src/resources/agents.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../core/resource';
|
|
4
|
-
import { APIPromise } from '../core/api-promise';
|
|
5
|
-
import { RequestOptions } from '../internal/request-options';
|
|
6
|
-
|
|
7
|
-
export class Agents extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* List all available agents with their default configurations.
|
|
10
|
-
*/
|
|
11
|
-
list(options?: RequestOptions): APIPromise<AgentListResponse> {
|
|
12
|
-
return this._client.get('/agents', options);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export type AgentListResponse = Array<AgentListResponse.AgentListResponseItem>;
|
|
17
|
-
|
|
18
|
-
export namespace AgentListResponse {
|
|
19
|
-
export interface AgentListResponseItem {
|
|
20
|
-
id: number;
|
|
21
|
-
|
|
22
|
-
description: string | null;
|
|
23
|
-
|
|
24
|
-
icon: string;
|
|
25
|
-
|
|
26
|
-
llmModel: string;
|
|
27
|
-
|
|
28
|
-
maxSteps: number;
|
|
29
|
-
|
|
30
|
-
name: string;
|
|
31
|
-
|
|
32
|
-
reasoning: boolean;
|
|
33
|
-
|
|
34
|
-
subagentModel: string | null;
|
|
35
|
-
|
|
36
|
-
vision: boolean;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export declare namespace Agents {
|
|
41
|
-
export { type AgentListResponse as AgentListResponse };
|
|
42
|
-
}
|