@arbidocs/client 0.3.121 → 0.3.123
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/dist/index.d.cts +1191 -58
- package/dist/index.d.ts +1191 -58
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -798,6 +798,32 @@ interface paths {
|
|
|
798
798
|
patch?: never;
|
|
799
799
|
trace?: never;
|
|
800
800
|
};
|
|
801
|
+
'/v1/workspace/{workspace_ext_id}/prime-key': {
|
|
802
|
+
parameters: {
|
|
803
|
+
query?: never;
|
|
804
|
+
header?: never;
|
|
805
|
+
path?: never;
|
|
806
|
+
cookie?: never;
|
|
807
|
+
};
|
|
808
|
+
get?: never;
|
|
809
|
+
put?: never;
|
|
810
|
+
/**
|
|
811
|
+
* Prime Workspace Key
|
|
812
|
+
* @description Deposit a workspace's session-sealed key without opening the workspace.
|
|
813
|
+
*
|
|
814
|
+
* Unlike ``/open``, this does NOT set the active workspace, load documents, or
|
|
815
|
+
* touch ``last_workspace`` — it only makes the key available on the session so
|
|
816
|
+
* server-side flows that need the workspace key (e.g. mailbox sync, which hands
|
|
817
|
+
* the unwrapped key to a background runner) can resolve it. The client seals the
|
|
818
|
+
* workspace key to the session pubkey exactly as it does for ``/open``.
|
|
819
|
+
*/
|
|
820
|
+
post: operations['prime_workspace_key'];
|
|
821
|
+
delete?: never;
|
|
822
|
+
options?: never;
|
|
823
|
+
head?: never;
|
|
824
|
+
patch?: never;
|
|
825
|
+
trace?: never;
|
|
826
|
+
};
|
|
801
827
|
'/v1/workspace/users': {
|
|
802
828
|
parameters: {
|
|
803
829
|
query?: never;
|
|
@@ -1660,7 +1686,7 @@ interface paths {
|
|
|
1660
1686
|
patch?: never;
|
|
1661
1687
|
trace?: never;
|
|
1662
1688
|
};
|
|
1663
|
-
'/v1/assistant/
|
|
1689
|
+
'/v1/assistant/interject': {
|
|
1664
1690
|
parameters: {
|
|
1665
1691
|
query?: never;
|
|
1666
1692
|
header?: never;
|
|
@@ -1670,10 +1696,47 @@ interface paths {
|
|
|
1670
1696
|
get?: never;
|
|
1671
1697
|
put?: never;
|
|
1672
1698
|
/**
|
|
1673
|
-
*
|
|
1674
|
-
* @description
|
|
1699
|
+
* Interject input into a running agent turn
|
|
1700
|
+
* @description Interject into a running agent turn — the one live-turn input boundary.
|
|
1701
|
+
*
|
|
1702
|
+
* An interjection is input sent to the agent mid-turn. Three things the client
|
|
1703
|
+
* sends the same way, as raw text against the streaming message, arrive here: an
|
|
1704
|
+
* ``ask_user`` answer, a steering interjection, or a run-control command
|
|
1705
|
+
* (``/pause``/``/resume``/``/report``). ``send_message`` classifies the text (see
|
|
1706
|
+
* ``human_input.send_message``), so the client never special-cases control
|
|
1707
|
+
* commands — it just forwards what the user typed. Control commands steer the
|
|
1708
|
+
* *run* (pause/resume the loop, or answer an out-of-band probe) rather than
|
|
1709
|
+
* becoming part of the conversation.
|
|
1710
|
+
*/
|
|
1711
|
+
post: operations['interject'];
|
|
1712
|
+
delete?: never;
|
|
1713
|
+
options?: never;
|
|
1714
|
+
head?: never;
|
|
1715
|
+
patch?: never;
|
|
1716
|
+
trace?: never;
|
|
1717
|
+
};
|
|
1718
|
+
'/v1/assistant/run/{response_id}/stream': {
|
|
1719
|
+
parameters: {
|
|
1720
|
+
query?: never;
|
|
1721
|
+
header?: never;
|
|
1722
|
+
path?: never;
|
|
1723
|
+
cookie?: never;
|
|
1724
|
+
};
|
|
1725
|
+
/**
|
|
1726
|
+
* Foreground (watch) a background agent run's live steps
|
|
1727
|
+
* @description Attach to a background run by id: replay its steps so far, then stream live.
|
|
1728
|
+
*
|
|
1729
|
+
* A scheduled/goal run accumulates its step events into the same ``resp:events``
|
|
1730
|
+
* machine a foreground turn uses, keyed by the run's pre-minted assistant msg id
|
|
1731
|
+
* (exposed as ``Task.active_response_id``). This endpoint foregrounds that stream:
|
|
1732
|
+
* it replays the events accumulated so far, then tails new ones until the run
|
|
1733
|
+
* finishes — emitting the exact same ``arbi.agent_step`` / ``response.completed``
|
|
1734
|
+
* frames the chat stream does, so the client reuses its normal SSE consumer.
|
|
1735
|
+
* Read-only; control (pause/message) is ``POST /assistant/interject``.
|
|
1675
1736
|
*/
|
|
1676
|
-
|
|
1737
|
+
get: operations['watch_run'];
|
|
1738
|
+
put?: never;
|
|
1739
|
+
post?: never;
|
|
1677
1740
|
delete?: never;
|
|
1678
1741
|
options?: never;
|
|
1679
1742
|
head?: never;
|
|
@@ -2245,6 +2308,56 @@ interface paths {
|
|
|
2245
2308
|
patch?: never;
|
|
2246
2309
|
trace?: never;
|
|
2247
2310
|
};
|
|
2311
|
+
'/v1/agents/{agent_ext_id}': {
|
|
2312
|
+
parameters: {
|
|
2313
|
+
query?: never;
|
|
2314
|
+
header?: never;
|
|
2315
|
+
path?: never;
|
|
2316
|
+
cookie?: never;
|
|
2317
|
+
};
|
|
2318
|
+
get?: never;
|
|
2319
|
+
put?: never;
|
|
2320
|
+
post?: never;
|
|
2321
|
+
delete?: never;
|
|
2322
|
+
options?: never;
|
|
2323
|
+
head?: never;
|
|
2324
|
+
/**
|
|
2325
|
+
* Update Agent
|
|
2326
|
+
* @description Update an owned agent (currently: its avatar).
|
|
2327
|
+
*
|
|
2328
|
+
* ``Users.picture`` always existed on agents but nothing could set it — the
|
|
2329
|
+
* profile endpoint only mutates the caller. Ownership is checked on the RLS
|
|
2330
|
+
* session; the write goes through the privileged session because the agent's
|
|
2331
|
+
* row is not the caller's own.
|
|
2332
|
+
*/
|
|
2333
|
+
patch: operations['update_agent'];
|
|
2334
|
+
trace?: never;
|
|
2335
|
+
};
|
|
2336
|
+
'/v1/agents/{agent_ext_id}/avatar': {
|
|
2337
|
+
parameters: {
|
|
2338
|
+
query?: never;
|
|
2339
|
+
header?: never;
|
|
2340
|
+
path?: never;
|
|
2341
|
+
cookie?: never;
|
|
2342
|
+
};
|
|
2343
|
+
get?: never;
|
|
2344
|
+
put?: never;
|
|
2345
|
+
/**
|
|
2346
|
+
* Generate Agent Avatar
|
|
2347
|
+
* @description Generate an avatar for an owned agent and set it as the agent's picture.
|
|
2348
|
+
*
|
|
2349
|
+
* Calls the ImageGen instrument directly — deliberately NOT the create_image
|
|
2350
|
+
* tool path, which is workspace/cipher-bound and stores a Docs artifact. An
|
|
2351
|
+
* avatar needs neither: generate, normalise to a small square WebP under the
|
|
2352
|
+
* 100KB picture cap, store as a data: URL on ``Users.picture``.
|
|
2353
|
+
*/
|
|
2354
|
+
post: operations['generate_agent_avatar'];
|
|
2355
|
+
delete?: never;
|
|
2356
|
+
options?: never;
|
|
2357
|
+
head?: never;
|
|
2358
|
+
patch?: never;
|
|
2359
|
+
trace?: never;
|
|
2360
|
+
};
|
|
2248
2361
|
'/v1/tasks': {
|
|
2249
2362
|
parameters: {
|
|
2250
2363
|
query?: never;
|
|
@@ -2253,10 +2366,34 @@ interface paths {
|
|
|
2253
2366
|
cookie?: never;
|
|
2254
2367
|
};
|
|
2255
2368
|
/** List Tasks */
|
|
2256
|
-
get: operations['
|
|
2369
|
+
get: operations['list_tasks'];
|
|
2257
2370
|
put?: never;
|
|
2258
2371
|
/** Create Task */
|
|
2259
|
-
post: operations['
|
|
2372
|
+
post: operations['create_task'];
|
|
2373
|
+
delete?: never;
|
|
2374
|
+
options?: never;
|
|
2375
|
+
head?: never;
|
|
2376
|
+
patch?: never;
|
|
2377
|
+
trace?: never;
|
|
2378
|
+
};
|
|
2379
|
+
'/v1/tasks/plan': {
|
|
2380
|
+
parameters: {
|
|
2381
|
+
query?: never;
|
|
2382
|
+
header?: never;
|
|
2383
|
+
path?: never;
|
|
2384
|
+
cookie?: never;
|
|
2385
|
+
};
|
|
2386
|
+
get?: never;
|
|
2387
|
+
put?: never;
|
|
2388
|
+
/**
|
|
2389
|
+
* Plan Task
|
|
2390
|
+
* @description Draft a reviewable ``TaskPlan`` for the active workspace from a plain objective.
|
|
2391
|
+
*
|
|
2392
|
+
* The unified planner (``filter_and_plan`` → ``author_checklist``): formulates the
|
|
2393
|
+
* goal, proposes the doc set, and authors the acceptance criteria. Stateless — the
|
|
2394
|
+
* caller attaches the returned plan to a create body (new task) or a PATCH (re-plan).
|
|
2395
|
+
*/
|
|
2396
|
+
post: operations['plan_task'];
|
|
2260
2397
|
delete?: never;
|
|
2261
2398
|
options?: never;
|
|
2262
2399
|
head?: never;
|
|
@@ -2271,15 +2408,15 @@ interface paths {
|
|
|
2271
2408
|
cookie?: never;
|
|
2272
2409
|
};
|
|
2273
2410
|
/** Get Task */
|
|
2274
|
-
get: operations['
|
|
2411
|
+
get: operations['get_task'];
|
|
2275
2412
|
put?: never;
|
|
2276
2413
|
post?: never;
|
|
2277
2414
|
/** Delete Task */
|
|
2278
|
-
delete: operations['
|
|
2415
|
+
delete: operations['delete_task'];
|
|
2279
2416
|
options?: never;
|
|
2280
2417
|
head?: never;
|
|
2281
2418
|
/** Update Task */
|
|
2282
|
-
patch: operations['
|
|
2419
|
+
patch: operations['update_task'];
|
|
2283
2420
|
trace?: never;
|
|
2284
2421
|
};
|
|
2285
2422
|
'/v1/tasks/{task_id}/run': {
|
|
@@ -2294,8 +2431,20 @@ interface paths {
|
|
|
2294
2431
|
/**
|
|
2295
2432
|
* Run Now
|
|
2296
2433
|
* @description Fire the task immediately (wake the agent / notify), without changing its schedule.
|
|
2434
|
+
*
|
|
2435
|
+
* Authorization is chosen by the task's ``auth_mode`` and resolved by the shared
|
|
2436
|
+
* dispatch path (``fire_task``): a tier-3 ``scheduled_permanent`` task runs via the
|
|
2437
|
+
* agent's standing membership; a temporary-tier task without a standing key mints
|
|
2438
|
+
* an agent run-session and asks the owner to authorize (reusing the
|
|
2439
|
+
* workspace-access-request flow), landing the task in a pending-auth state.
|
|
2440
|
+
*
|
|
2441
|
+
* When pending, the response carries the agent run-session's PUBLIC key + email so
|
|
2442
|
+
* the owner's client can grant a temporary, session-scoped key to it via
|
|
2443
|
+
* ``POST /v1/workspace/{id}/users`` (its ``session_pubkey_b64`` path) and then
|
|
2444
|
+
* re-trigger this endpoint — dispatch then resumes the run on that granted session.
|
|
2445
|
+
* No task-specific endpoint; the owner is present so this is effectively synchronous.
|
|
2297
2446
|
*/
|
|
2298
|
-
post: operations['
|
|
2447
|
+
post: operations['run_task'];
|
|
2299
2448
|
delete?: never;
|
|
2300
2449
|
options?: never;
|
|
2301
2450
|
head?: never;
|
|
@@ -2463,6 +2612,55 @@ interface paths {
|
|
|
2463
2612
|
patch?: never;
|
|
2464
2613
|
trace?: never;
|
|
2465
2614
|
};
|
|
2615
|
+
'/v1/connectors/sealed-tokens': {
|
|
2616
|
+
parameters: {
|
|
2617
|
+
query?: never;
|
|
2618
|
+
header?: never;
|
|
2619
|
+
path?: never;
|
|
2620
|
+
cookie?: never;
|
|
2621
|
+
};
|
|
2622
|
+
/**
|
|
2623
|
+
* Fetch the current user's sealed connector tokens (login bridge)
|
|
2624
|
+
* @description Return the user-sealed OAuth token blobs so the client can decrypt them at login.
|
|
2625
|
+
*
|
|
2626
|
+
* Only ``token_scheme="sealed"`` rows are returned — legacy ``env`` rows are wrapped
|
|
2627
|
+
* with the app key (server-side, no client bridge) and can't be decrypted client-side.
|
|
2628
|
+
* The stored bytes are base64 ASCII (``wrap_key_with_x25519`` output), decoded to str.
|
|
2629
|
+
*/
|
|
2630
|
+
get: operations['get_sealed_connector_tokens'];
|
|
2631
|
+
put?: never;
|
|
2632
|
+
post?: never;
|
|
2633
|
+
delete?: never;
|
|
2634
|
+
options?: never;
|
|
2635
|
+
head?: never;
|
|
2636
|
+
patch?: never;
|
|
2637
|
+
trace?: never;
|
|
2638
|
+
};
|
|
2639
|
+
'/v1/connectors/session-tokens': {
|
|
2640
|
+
parameters: {
|
|
2641
|
+
query?: never;
|
|
2642
|
+
header?: never;
|
|
2643
|
+
path?: never;
|
|
2644
|
+
cookie?: never;
|
|
2645
|
+
};
|
|
2646
|
+
get?: never;
|
|
2647
|
+
put?: never;
|
|
2648
|
+
/**
|
|
2649
|
+
* Deposit client-decrypted connector tokens into the session (login bridge)
|
|
2650
|
+
* @description Cache the client-decrypted (and session-resealed) tokens on the live session.
|
|
2651
|
+
*
|
|
2652
|
+
* The client fetches its sealed tokens, decrypts them with the user private key,
|
|
2653
|
+
* re-seals them to the session public key, and posts them here. The server can then
|
|
2654
|
+
* use them for sync only while this session is live. Returns 409 when there is no
|
|
2655
|
+
* live session to cache into (e.g. it expired between login and this call).
|
|
2656
|
+
*/
|
|
2657
|
+
post: operations['bridge_session_connector_tokens'];
|
|
2658
|
+
delete?: never;
|
|
2659
|
+
options?: never;
|
|
2660
|
+
head?: never;
|
|
2661
|
+
patch?: never;
|
|
2662
|
+
trace?: never;
|
|
2663
|
+
};
|
|
2466
2664
|
'/v1/connectors/{vendor_key}/status': {
|
|
2467
2665
|
parameters: {
|
|
2468
2666
|
query?: never;
|
|
@@ -2603,6 +2801,10 @@ interface paths {
|
|
|
2603
2801
|
* Trigger a mailbox sync run in the background
|
|
2604
2802
|
* @description Schedule a background sync for the user's enabled mailbox of this vendor.
|
|
2605
2803
|
*
|
|
2804
|
+
* ``workspace_ext_id`` selects which workspace's sync to run (a vendor may sync
|
|
2805
|
+
* into several). When omitted, the first configured workspace is used — kept
|
|
2806
|
+
* for older clients that don't send it.
|
|
2807
|
+
*
|
|
2606
2808
|
* Returns 404 if sync was never enabled, 409 if the OAuth account is not
|
|
2607
2809
|
* connected (reauth needed), otherwise 202 with the run scheduled.
|
|
2608
2810
|
*/
|
|
@@ -2613,6 +2815,113 @@ interface paths {
|
|
|
2613
2815
|
patch?: never;
|
|
2614
2816
|
trace?: never;
|
|
2615
2817
|
};
|
|
2818
|
+
'/v1/connectors/{vendor}/sync-progress': {
|
|
2819
|
+
parameters: {
|
|
2820
|
+
query?: never;
|
|
2821
|
+
header?: never;
|
|
2822
|
+
path?: never;
|
|
2823
|
+
cookie?: never;
|
|
2824
|
+
};
|
|
2825
|
+
/**
|
|
2826
|
+
* Live progress of a running mailbox sync
|
|
2827
|
+
* @description Current progress for this vendor's sync into the given workspace.
|
|
2828
|
+
*
|
|
2829
|
+
* ``running`` is False when nothing is in flight (no progress marker in Redis).
|
|
2830
|
+
*/
|
|
2831
|
+
get: operations['mailbox_sync_progress'];
|
|
2832
|
+
put?: never;
|
|
2833
|
+
post?: never;
|
|
2834
|
+
delete?: never;
|
|
2835
|
+
options?: never;
|
|
2836
|
+
head?: never;
|
|
2837
|
+
patch?: never;
|
|
2838
|
+
trace?: never;
|
|
2839
|
+
};
|
|
2840
|
+
'/v1/connectors/{vendor}/sync/cancel': {
|
|
2841
|
+
parameters: {
|
|
2842
|
+
query?: never;
|
|
2843
|
+
header?: never;
|
|
2844
|
+
path?: never;
|
|
2845
|
+
cookie?: never;
|
|
2846
|
+
};
|
|
2847
|
+
get?: never;
|
|
2848
|
+
put?: never;
|
|
2849
|
+
/**
|
|
2850
|
+
* Request cancellation of a running mailbox sync
|
|
2851
|
+
* @description Ask a running sync to stop at the next email boundary. Idempotent.
|
|
2852
|
+
*
|
|
2853
|
+
* Already-imported emails are kept; the run simply stops fetching more.
|
|
2854
|
+
*/
|
|
2855
|
+
post: operations['cancel_mailbox_sync'];
|
|
2856
|
+
delete?: never;
|
|
2857
|
+
options?: never;
|
|
2858
|
+
head?: never;
|
|
2859
|
+
patch?: never;
|
|
2860
|
+
trace?: never;
|
|
2861
|
+
};
|
|
2862
|
+
'/v1/connectors/{vendor}/drive-folders': {
|
|
2863
|
+
parameters: {
|
|
2864
|
+
query?: never;
|
|
2865
|
+
header?: never;
|
|
2866
|
+
path?: never;
|
|
2867
|
+
cookie?: never;
|
|
2868
|
+
};
|
|
2869
|
+
/**
|
|
2870
|
+
* List the connected account's OneDrive folders for selection
|
|
2871
|
+
* @description Return the connected account's OneDrive folders (root + one child level).
|
|
2872
|
+
*/
|
|
2873
|
+
get: operations['list_drive_folders'];
|
|
2874
|
+
put?: never;
|
|
2875
|
+
post?: never;
|
|
2876
|
+
delete?: never;
|
|
2877
|
+
options?: never;
|
|
2878
|
+
head?: never;
|
|
2879
|
+
patch?: never;
|
|
2880
|
+
trace?: never;
|
|
2881
|
+
};
|
|
2882
|
+
'/v1/connectors/{vendor}/enable-drive-sync': {
|
|
2883
|
+
parameters: {
|
|
2884
|
+
query?: never;
|
|
2885
|
+
header?: never;
|
|
2886
|
+
path?: never;
|
|
2887
|
+
cookie?: never;
|
|
2888
|
+
};
|
|
2889
|
+
get?: never;
|
|
2890
|
+
put?: never;
|
|
2891
|
+
/**
|
|
2892
|
+
* Enable OneDrive sync for a vendor into a target workspace
|
|
2893
|
+
* @description Create or update the user's DriveSync row for this vendor.
|
|
2894
|
+
*
|
|
2895
|
+
* When the target workspace or folder selection changes, the affected folders'
|
|
2896
|
+
* delta cursors are cleared so they re-enumerate from scratch.
|
|
2897
|
+
*/
|
|
2898
|
+
post: operations['enable_drive_sync'];
|
|
2899
|
+
delete?: never;
|
|
2900
|
+
options?: never;
|
|
2901
|
+
head?: never;
|
|
2902
|
+
patch?: never;
|
|
2903
|
+
trace?: never;
|
|
2904
|
+
};
|
|
2905
|
+
'/v1/connectors/{vendor}/drive-sync': {
|
|
2906
|
+
parameters: {
|
|
2907
|
+
query?: never;
|
|
2908
|
+
header?: never;
|
|
2909
|
+
path?: never;
|
|
2910
|
+
cookie?: never;
|
|
2911
|
+
};
|
|
2912
|
+
get?: never;
|
|
2913
|
+
put?: never;
|
|
2914
|
+
/**
|
|
2915
|
+
* Trigger a OneDrive sync run in the background
|
|
2916
|
+
* @description Schedule a background drive sync. 404 if never enabled, 409 if not connected.
|
|
2917
|
+
*/
|
|
2918
|
+
post: operations['trigger_drive_sync'];
|
|
2919
|
+
delete?: never;
|
|
2920
|
+
options?: never;
|
|
2921
|
+
head?: never;
|
|
2922
|
+
patch?: never;
|
|
2923
|
+
trace?: never;
|
|
2924
|
+
};
|
|
2616
2925
|
'/v1/responses': {
|
|
2617
2926
|
parameters: {
|
|
2618
2927
|
query?: never;
|
|
@@ -2707,6 +3016,38 @@ interface components {
|
|
|
2707
3016
|
/** Session Pubkey B64 */
|
|
2708
3017
|
session_pubkey_b64?: string | null;
|
|
2709
3018
|
};
|
|
3019
|
+
/**
|
|
3020
|
+
* AgentControlStateEvent
|
|
3021
|
+
* @description Server-confirmed run-control state for a running agent.
|
|
3022
|
+
*
|
|
3023
|
+
* Emitted when the loop actually reaches a control state at an iteration
|
|
3024
|
+
* boundary: ``paused`` (the agent has halted and is waiting for resume) and
|
|
3025
|
+
* ``running`` (resumed). The transient ``pausing``/``resuming`` states are shown
|
|
3026
|
+
* optimistically by the client on click, since the agent may be mid-tool and
|
|
3027
|
+
* only reaches a boundary a moment later. Not persisted — purely live UI state.
|
|
3028
|
+
*
|
|
3029
|
+
* Example:
|
|
3030
|
+
* {"type": "arbi.agent_control_state", "state": "paused"}
|
|
3031
|
+
*/
|
|
3032
|
+
AgentControlStateEvent: {
|
|
3033
|
+
/**
|
|
3034
|
+
* T
|
|
3035
|
+
* @description Seconds elapsed since stream start.
|
|
3036
|
+
*/
|
|
3037
|
+
t?: number | null;
|
|
3038
|
+
/**
|
|
3039
|
+
* Type
|
|
3040
|
+
* @default arbi.agent_control_state
|
|
3041
|
+
* @constant
|
|
3042
|
+
*/
|
|
3043
|
+
type: 'arbi.agent_control_state';
|
|
3044
|
+
/**
|
|
3045
|
+
* State
|
|
3046
|
+
* @description Confirmed control state of the agent loop
|
|
3047
|
+
* @enum {string}
|
|
3048
|
+
*/
|
|
3049
|
+
state: 'paused' | 'running';
|
|
3050
|
+
};
|
|
2710
3051
|
/**
|
|
2711
3052
|
* AgentStepDeltaEvent
|
|
2712
3053
|
* @description Incremental narration for an in-progress agent step (event: arbi.agent_step_delta).
|
|
@@ -2806,6 +3147,16 @@ interface components {
|
|
|
2806
3147
|
* @description Index of the step this nests under. Set on sub-agent steps (e.g. the web_search / read_url steps a deep_research run performs) so the frontend can render them indented beneath the parent tool step that spawned the sub-agent. None (absent) for top-level steps.
|
|
2807
3148
|
*/
|
|
2808
3149
|
parent_index?: number | null;
|
|
3150
|
+
/**
|
|
3151
|
+
* Subagent
|
|
3152
|
+
* @description The sub-agent handle (e.g. 'sub-2') this step belongs to. Set on every step relayed from a spawned child so the frontend can group concurrently-running sub-agents into their own live lanes, keyed by handle, instead of flattening them into the parent's timeline.
|
|
3153
|
+
*/
|
|
3154
|
+
subagent?: string | null;
|
|
3155
|
+
/**
|
|
3156
|
+
* Subagent Status
|
|
3157
|
+
* @description Lifecycle marker for a sub-agent lane: 'running' on the spawn step (carries the child's task in `content`), 'done'/'failed' on its completion. Absent on the child's own intermediate steps. Lets the frontend show each lane's status without inspecting its rows.
|
|
3158
|
+
*/
|
|
3159
|
+
subagent_status?: ('running' | 'done' | 'failed') | null;
|
|
2809
3160
|
/**
|
|
2810
3161
|
* Step
|
|
2811
3162
|
* @description Lifecycle step. Absent (None) for tool-call steps, which carry `detail` instead.
|
|
@@ -2926,6 +3277,12 @@ interface components {
|
|
|
2926
3277
|
* @default true
|
|
2927
3278
|
*/
|
|
2928
3279
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
3280
|
+
/**
|
|
3281
|
+
* Subagents Enabled
|
|
3282
|
+
* @description Include the sub_agent tool so the agent can spawn detached background sub-agents and control them (check / steer / pause / resume / collect) while it keeps working — parallel delegation, unlike the blocking deep_research. Fan-out is one level deep and capped in concurrency.
|
|
3283
|
+
* @default false
|
|
3284
|
+
*/
|
|
3285
|
+
SUBAGENTS_ENABLED: boolean;
|
|
2929
3286
|
/**
|
|
2930
3287
|
* Suggested Queries
|
|
2931
3288
|
* @description Generate a single suggested follow-up query after each response.
|
|
@@ -3163,6 +3520,12 @@ interface components {
|
|
|
3163
3520
|
* @default true
|
|
3164
3521
|
*/
|
|
3165
3522
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
3523
|
+
/**
|
|
3524
|
+
* Subagents Enabled
|
|
3525
|
+
* @description Include the sub_agent tool so the agent can spawn detached background sub-agents and control them (check / steer / pause / resume / collect) while it keeps working — parallel delegation, unlike the blocking deep_research. Fan-out is one level deep and capped in concurrency.
|
|
3526
|
+
* @default false
|
|
3527
|
+
*/
|
|
3528
|
+
SUBAGENTS_ENABLED: boolean;
|
|
3166
3529
|
/**
|
|
3167
3530
|
* Suggested Queries
|
|
3168
3531
|
* @description Generate a single suggested follow-up query after each response.
|
|
@@ -3270,6 +3633,7 @@ interface components {
|
|
|
3270
3633
|
* "MCP_TOOLS": [],
|
|
3271
3634
|
* "PLANNING_ENABLED": false,
|
|
3272
3635
|
* "DEEP_RESEARCH_ENABLED": true,
|
|
3636
|
+
* "SUBAGENTS_ENABLED": false,
|
|
3273
3637
|
* "SUGGESTED_QUERIES": false,
|
|
3274
3638
|
* "ARTIFACTS_ENABLED": false,
|
|
3275
3639
|
* "IMAGE_ENABLED": false,
|
|
@@ -3557,7 +3921,7 @@ interface components {
|
|
|
3557
3921
|
* },
|
|
3558
3922
|
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
3559
3923
|
* "MODEL_NAME": "Qwen/Qwen3-Reranker-0.6B",
|
|
3560
|
-
* "API_TYPE": "
|
|
3924
|
+
* "API_TYPE": "local",
|
|
3561
3925
|
* "RETRIEVAL_INSTRUCTION": "Judge whether the passage contains the specific facts, figures, names, or references mentioned in the query. Only answer yes if the passage directly contains these details"
|
|
3562
3926
|
* }
|
|
3563
3927
|
*/
|
|
@@ -3578,7 +3942,7 @@ interface components {
|
|
|
3578
3942
|
/**
|
|
3579
3943
|
* @default {
|
|
3580
3944
|
* "MODEL_NAME": "Qwen/Qwen3-Embedding-0.6B",
|
|
3581
|
-
* "API_TYPE": "
|
|
3945
|
+
* "API_TYPE": "local",
|
|
3582
3946
|
* "BATCH_SIZE": 128,
|
|
3583
3947
|
* "MAX_CONCURRENT_REQUESTS": 256,
|
|
3584
3948
|
* "DOCUMENT_PREFIX": "",
|
|
@@ -3784,6 +4148,34 @@ interface components {
|
|
|
3784
4148
|
/** Token */
|
|
3785
4149
|
token: string;
|
|
3786
4150
|
};
|
|
4151
|
+
/**
|
|
4152
|
+
* AuthMode
|
|
4153
|
+
* @description How a task's agent obtains the workspace key it needs to act — a per-task,
|
|
4154
|
+
* least-privilege authorization choice. See ``docs/agent_scheduler_design.md`` and
|
|
4155
|
+
* the per-tier threat model in ``src/core/agent_headless.py``.
|
|
4156
|
+
*
|
|
4157
|
+
* ``run_now_temp`` (default, tier 1) — RUN NOW with the owner present. The agent
|
|
4158
|
+
* has no standing key, so the run reuses the shipped **workspace-access-request**
|
|
4159
|
+
* flow: the agent asks the owner, who — being online — grants immediately via
|
|
4160
|
+
* the ordinary ``POST /v1/workspace/{id}/users`` (a temporary, session-scoped
|
|
4161
|
+
* key, or permanent, their choice). **No task-specific handshake** and, for a
|
|
4162
|
+
* temporary grant, no durable ``WorkspaceUsers`` membership. Least privilege:
|
|
4163
|
+
* a compromised agent host at rest holds no standing key.
|
|
4164
|
+
*
|
|
4165
|
+
* ``scheduled_require_auth`` (tier 2) — the SAME workspace-access-request flow, but
|
|
4166
|
+
* the owner grants whenever they get to it: the run does not proceed until a key
|
|
4167
|
+
* is granted, landing in a pending-auth state (``pending_auth_request_id``)
|
|
4168
|
+
* rather than running unauthorized.
|
|
4169
|
+
*
|
|
4170
|
+
* ``scheduled_permanent`` (tier 3, advanced) — standing ``WorkspaceUsers``
|
|
4171
|
+
* membership: the server can derive the workspace key from the agent's own
|
|
4172
|
+
* deployment-wrapped identity at any time, owner offline. Convenient for
|
|
4173
|
+
* unattended recurring runs, but the agent's environment can reach the
|
|
4174
|
+
* workspace key whenever it likes — an explicit "I trust this agent's
|
|
4175
|
+
* environment" opt-in, NOT the default.
|
|
4176
|
+
* @enum {string}
|
|
4177
|
+
*/
|
|
4178
|
+
AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
|
|
3787
4179
|
/**
|
|
3788
4180
|
* AuthResultMessage
|
|
3789
4181
|
* @description Server response to authentication.
|
|
@@ -4352,18 +4744,57 @@ interface components {
|
|
|
4352
4744
|
requires_per_user_auth: boolean;
|
|
4353
4745
|
};
|
|
4354
4746
|
/**
|
|
4355
|
-
*
|
|
4356
|
-
* @description
|
|
4747
|
+
* ConnectorSyncStatus
|
|
4748
|
+
* @description One mailbox-sync configuration for a connector, scoped to a workspace.
|
|
4749
|
+
*
|
|
4750
|
+
* A single vendor mailbox can sync independently into several workspaces, so a
|
|
4751
|
+
* connector carries a list of these — one per target workspace.
|
|
4357
4752
|
*/
|
|
4358
|
-
|
|
4753
|
+
ConnectorSyncStatus: {
|
|
4754
|
+
/** Workspace Ext Id */
|
|
4755
|
+
workspace_ext_id: string;
|
|
4359
4756
|
/** Status */
|
|
4360
4757
|
status: string;
|
|
4361
|
-
/**
|
|
4362
|
-
|
|
4363
|
-
/**
|
|
4364
|
-
|
|
4758
|
+
/** Enabled */
|
|
4759
|
+
enabled: boolean;
|
|
4760
|
+
/** Last Sync At */
|
|
4761
|
+
last_sync_at?: string | null;
|
|
4762
|
+
/** Backfill Window */
|
|
4763
|
+
backfill_window?: number | null;
|
|
4365
4764
|
/**
|
|
4366
|
-
*
|
|
4765
|
+
* Folders
|
|
4766
|
+
* @default []
|
|
4767
|
+
*/
|
|
4768
|
+
folders: string[];
|
|
4769
|
+
/**
|
|
4770
|
+
* Skip Duplicates
|
|
4771
|
+
* @default true
|
|
4772
|
+
*/
|
|
4773
|
+
skip_duplicates: boolean;
|
|
4774
|
+
/**
|
|
4775
|
+
* Auto Rename
|
|
4776
|
+
* @default false
|
|
4777
|
+
*/
|
|
4778
|
+
auto_rename: boolean;
|
|
4779
|
+
/**
|
|
4780
|
+
* Synced Count
|
|
4781
|
+
* @default 0
|
|
4782
|
+
*/
|
|
4783
|
+
synced_count: number;
|
|
4784
|
+
};
|
|
4785
|
+
/**
|
|
4786
|
+
* ConsolidatedHealthResponse
|
|
4787
|
+
* @description Consolidated health response containing all system status and version information
|
|
4788
|
+
*/
|
|
4789
|
+
ConsolidatedHealthResponse: {
|
|
4790
|
+
/** Status */
|
|
4791
|
+
status: string;
|
|
4792
|
+
/** Backend Git Hash */
|
|
4793
|
+
backend_git_hash?: string | null;
|
|
4794
|
+
/** Frontend Docker Version */
|
|
4795
|
+
frontend_docker_version?: string | null;
|
|
4796
|
+
/**
|
|
4797
|
+
* Services
|
|
4367
4798
|
* @default []
|
|
4368
4799
|
*/
|
|
4369
4800
|
services: components['schemas']['ServiceStatus'][];
|
|
@@ -4712,8 +5143,8 @@ interface components {
|
|
|
4712
5143
|
* @description Create a memory in the active workspace.
|
|
4713
5144
|
*/
|
|
4714
5145
|
CreateMemoryRequest: {
|
|
4715
|
-
/**
|
|
4716
|
-
|
|
5146
|
+
/** Note */
|
|
5147
|
+
note: string;
|
|
4717
5148
|
/**
|
|
4718
5149
|
* Pinned
|
|
4719
5150
|
* @default false
|
|
@@ -4791,10 +5222,13 @@ interface components {
|
|
|
4791
5222
|
skill_ref?: string | null;
|
|
4792
5223
|
/** Notify On Complete */
|
|
4793
5224
|
notify_on_complete?: boolean | null;
|
|
5225
|
+
/** @default run_now_temp */
|
|
5226
|
+
auth_mode: components['schemas']['AuthMode'];
|
|
4794
5227
|
/** Workspace Ext Id */
|
|
4795
5228
|
workspace_ext_id?: string | null;
|
|
4796
5229
|
/** Agent Ext Id */
|
|
4797
5230
|
agent_ext_id?: string | null;
|
|
5231
|
+
task_plan?: components['schemas']['TaskPlan'] | null;
|
|
4798
5232
|
};
|
|
4799
5233
|
/**
|
|
4800
5234
|
* DailyUsage
|
|
@@ -5022,18 +5456,21 @@ interface components {
|
|
|
5022
5456
|
/**
|
|
5023
5457
|
* DocTagResponse
|
|
5024
5458
|
* @description Response for doctag operations - the link between a document and a tag.
|
|
5459
|
+
*
|
|
5460
|
+
* ``note`` + ``citations`` are inherited from :class:`GroundedText` (the shared
|
|
5461
|
+
* grounded-text payload a DocTag note and a memory both carry).
|
|
5025
5462
|
*/
|
|
5026
5463
|
DocTagResponse: {
|
|
5027
|
-
/** Doc Ext Id */
|
|
5028
|
-
doc_ext_id: string;
|
|
5029
|
-
/** Tag Ext Id */
|
|
5030
|
-
tag_ext_id: string;
|
|
5031
5464
|
/** Note */
|
|
5032
5465
|
note?: string | null;
|
|
5033
5466
|
/** Citations */
|
|
5034
5467
|
citations?: {
|
|
5035
5468
|
[key: string]: components['schemas']['CitationData'];
|
|
5036
5469
|
} | null;
|
|
5470
|
+
/** Doc Ext Id */
|
|
5471
|
+
doc_ext_id: string;
|
|
5472
|
+
/** Tag Ext Id */
|
|
5473
|
+
tag_ext_id: string;
|
|
5037
5474
|
/** Created By Ext Id */
|
|
5038
5475
|
created_by_ext_id: string;
|
|
5039
5476
|
/** Updated By Ext Id */
|
|
@@ -5177,6 +5614,37 @@ interface components {
|
|
|
5177
5614
|
*/
|
|
5178
5615
|
DEFAULT_METADATA_TAGS?: components['schemas']['TagTemplate'][];
|
|
5179
5616
|
};
|
|
5617
|
+
/**
|
|
5618
|
+
* DriveSyncRead
|
|
5619
|
+
* @description Public shape for a DriveSync row returned by the enable-drive-sync endpoint.
|
|
5620
|
+
*/
|
|
5621
|
+
DriveSyncRead: {
|
|
5622
|
+
/**
|
|
5623
|
+
* Id
|
|
5624
|
+
* Format: uuid
|
|
5625
|
+
*/
|
|
5626
|
+
id: string;
|
|
5627
|
+
/** Vendor Key */
|
|
5628
|
+
vendor_key: string;
|
|
5629
|
+
/** Target Workspace Id */
|
|
5630
|
+
target_workspace_id: number;
|
|
5631
|
+
/** Enabled */
|
|
5632
|
+
enabled: boolean;
|
|
5633
|
+
/** Status */
|
|
5634
|
+
status: string;
|
|
5635
|
+
/**
|
|
5636
|
+
* Folders
|
|
5637
|
+
* @default []
|
|
5638
|
+
*/
|
|
5639
|
+
folders: string[];
|
|
5640
|
+
/**
|
|
5641
|
+
* Skip Duplicates
|
|
5642
|
+
* @default true
|
|
5643
|
+
*/
|
|
5644
|
+
skip_duplicates: boolean;
|
|
5645
|
+
/** Last Sync At */
|
|
5646
|
+
last_sync_at?: string | null;
|
|
5647
|
+
};
|
|
5180
5648
|
/**
|
|
5181
5649
|
* EmailNotificationSettings
|
|
5182
5650
|
* @description Per-category email notification preferences. All default on; a master
|
|
@@ -5243,7 +5711,7 @@ interface components {
|
|
|
5243
5711
|
/**
|
|
5244
5712
|
* Api Type
|
|
5245
5713
|
* @description The inference type (local or remote).
|
|
5246
|
-
* @default
|
|
5714
|
+
* @default local
|
|
5247
5715
|
* @enum {string}
|
|
5248
5716
|
*/
|
|
5249
5717
|
API_TYPE: 'local' | 'remote';
|
|
@@ -5273,6 +5741,18 @@ interface components {
|
|
|
5273
5741
|
*/
|
|
5274
5742
|
QUERY_PREFIX: string;
|
|
5275
5743
|
};
|
|
5744
|
+
/** EnableDriveSyncRequest */
|
|
5745
|
+
EnableDriveSyncRequest: {
|
|
5746
|
+
/** Workspace Ext Id */
|
|
5747
|
+
workspace_ext_id: string;
|
|
5748
|
+
/** Folders */
|
|
5749
|
+
folders: string[];
|
|
5750
|
+
/**
|
|
5751
|
+
* Skip Duplicates
|
|
5752
|
+
* @default true
|
|
5753
|
+
*/
|
|
5754
|
+
skip_duplicates: boolean;
|
|
5755
|
+
};
|
|
5276
5756
|
/** EnableSyncRequest */
|
|
5277
5757
|
EnableSyncRequest: {
|
|
5278
5758
|
/** Workspace Ext Id */
|
|
@@ -5547,6 +6027,21 @@ interface components {
|
|
|
5547
6027
|
id: string;
|
|
5548
6028
|
/** Name */
|
|
5549
6029
|
name: string;
|
|
6030
|
+
/** Count */
|
|
6031
|
+
count?: number | null;
|
|
6032
|
+
};
|
|
6033
|
+
/**
|
|
6034
|
+
* GenerateAgentAvatarRequest
|
|
6035
|
+
* @description Prompt for generating an agent avatar (usually composed from the persona).
|
|
6036
|
+
*/
|
|
6037
|
+
GenerateAgentAvatarRequest: {
|
|
6038
|
+
/** Prompt */
|
|
6039
|
+
prompt: string;
|
|
6040
|
+
};
|
|
6041
|
+
/** GenerateAgentAvatarResponse */
|
|
6042
|
+
GenerateAgentAvatarResponse: {
|
|
6043
|
+
/** Picture */
|
|
6044
|
+
picture: string;
|
|
5550
6045
|
};
|
|
5551
6046
|
/**
|
|
5552
6047
|
* GenerateAnnotationsRequest
|
|
@@ -5609,7 +6104,7 @@ interface components {
|
|
|
5609
6104
|
icon: string;
|
|
5610
6105
|
/**
|
|
5611
6106
|
* Summary
|
|
5612
|
-
* @description Human-readable summary (e.g. '
|
|
6107
|
+
* @description Human-readable summary — names the target, never restating the label (e.g. '{doc-abc12345}')
|
|
5613
6108
|
*/
|
|
5614
6109
|
summary?: string | null;
|
|
5615
6110
|
};
|
|
@@ -5640,6 +6135,42 @@ interface components {
|
|
|
5640
6135
|
*/
|
|
5641
6136
|
note: string;
|
|
5642
6137
|
};
|
|
6138
|
+
/**
|
|
6139
|
+
* GoalTool
|
|
6140
|
+
* @description Per-drive snapshot of the durable goal-state (the /goal = agt- session model,
|
|
6141
|
+
* ``docs/agt_session_model.md``).
|
|
6142
|
+
*
|
|
6143
|
+
* ``record`` is a serialized ``GoalStateRecord`` — the frozen acceptance checklist +
|
|
6144
|
+
* each criterion's running verdict + accumulated learnings + pass count + done flag.
|
|
6145
|
+
* This ``messages.tools`` entry is the **canonical** per-drive record: the grade-in-turn
|
|
6146
|
+
* step stamps it at finalize, and the scheduler reads it back (by response id) to
|
|
6147
|
+
* advance the plaintext ``Task.goal_state`` summary.
|
|
6148
|
+
*
|
|
6149
|
+
* Sensitive paths are SecretBox-encrypted at rest exactly like
|
|
6150
|
+
* ``trace.steps.*.learning``: ``record.learnings.*``, ``record.criteria.*.note``, and
|
|
6151
|
+
* ``record.progress_note``. Statuses / counts / flags stay plaintext. Held as a nested
|
|
6152
|
+
* ``dict`` (``doc_metadata`` flavour) so the model layer avoids importing the goal
|
|
6153
|
+
* types; ``GoalStateRecord`` remains the validating shape at the core layer.
|
|
6154
|
+
*/
|
|
6155
|
+
GoalTool: {
|
|
6156
|
+
/**
|
|
6157
|
+
* @description discriminator enum property added by openapi-typescript
|
|
6158
|
+
* @enum {string}
|
|
6159
|
+
*/
|
|
6160
|
+
name: 'goal';
|
|
6161
|
+
/**
|
|
6162
|
+
* Description
|
|
6163
|
+
* @default goal state
|
|
6164
|
+
*/
|
|
6165
|
+
description: string;
|
|
6166
|
+
/**
|
|
6167
|
+
* Record
|
|
6168
|
+
* @default {}
|
|
6169
|
+
*/
|
|
6170
|
+
record: {
|
|
6171
|
+
[key: string]: unknown;
|
|
6172
|
+
};
|
|
6173
|
+
};
|
|
5643
6174
|
/** HTTPValidationError */
|
|
5644
6175
|
HTTPValidationError: {
|
|
5645
6176
|
/** Detail */
|
|
@@ -5965,22 +6496,22 @@ interface components {
|
|
|
5965
6496
|
};
|
|
5966
6497
|
/** MemoryResponse */
|
|
5967
6498
|
MemoryResponse: {
|
|
6499
|
+
/** Note */
|
|
6500
|
+
note?: string | null;
|
|
6501
|
+
/** Citations */
|
|
6502
|
+
citations?: {
|
|
6503
|
+
[key: string]: components['schemas']['CitationData'];
|
|
6504
|
+
} | null;
|
|
5968
6505
|
/** External Id */
|
|
5969
6506
|
external_id: string;
|
|
5970
6507
|
/** Workspace Ext Id */
|
|
5971
6508
|
workspace_ext_id: string;
|
|
5972
|
-
/** Content */
|
|
5973
|
-
content: string;
|
|
5974
6509
|
/** Pinned */
|
|
5975
6510
|
pinned: boolean;
|
|
5976
6511
|
/** Shared */
|
|
5977
6512
|
shared: boolean;
|
|
5978
6513
|
/** Source */
|
|
5979
6514
|
source: string;
|
|
5980
|
-
/** Citations */
|
|
5981
|
-
citations?: {
|
|
5982
|
-
[key: string]: components['schemas']['CitationData'];
|
|
5983
|
-
} | null;
|
|
5984
6515
|
/** Created By Ext Id */
|
|
5985
6516
|
created_by_ext_id: string;
|
|
5986
6517
|
/**
|
|
@@ -5998,8 +6529,8 @@ interface components {
|
|
|
5998
6529
|
MemorySearchHit: {
|
|
5999
6530
|
/** External Id */
|
|
6000
6531
|
external_id: string;
|
|
6001
|
-
/**
|
|
6002
|
-
|
|
6532
|
+
/** Note */
|
|
6533
|
+
note: string;
|
|
6003
6534
|
/** Pinned */
|
|
6004
6535
|
pinned: boolean;
|
|
6005
6536
|
/** Source */
|
|
@@ -6090,7 +6621,7 @@ interface components {
|
|
|
6090
6621
|
input: string;
|
|
6091
6622
|
/** Tools */
|
|
6092
6623
|
tools?: {
|
|
6093
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'];
|
|
6624
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'];
|
|
6094
6625
|
};
|
|
6095
6626
|
/**
|
|
6096
6627
|
* Workspace Ext Id
|
|
@@ -6142,7 +6673,7 @@ interface components {
|
|
|
6142
6673
|
content: string;
|
|
6143
6674
|
/** Tools */
|
|
6144
6675
|
tools?: {
|
|
6145
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'];
|
|
6676
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'];
|
|
6146
6677
|
};
|
|
6147
6678
|
/** Config Ext Id */
|
|
6148
6679
|
config_ext_id?: string | null;
|
|
@@ -6246,7 +6777,7 @@ interface components {
|
|
|
6246
6777
|
content: string;
|
|
6247
6778
|
/** Tools */
|
|
6248
6779
|
tools?: {
|
|
6249
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'];
|
|
6780
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'];
|
|
6250
6781
|
};
|
|
6251
6782
|
/** Config Ext Id */
|
|
6252
6783
|
config_ext_id?: string | null;
|
|
@@ -6518,7 +7049,7 @@ interface components {
|
|
|
6518
7049
|
* Type is self-descriptive, no need to parse content field.
|
|
6519
7050
|
* @enum {string}
|
|
6520
7051
|
*/
|
|
6521
|
-
NotificationType: 'user_message' | 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'signup_reward' | 'referral_reward' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared' | 'workspace_access_request' | 'task_started' | 'task_completed' | 'mailbox_sync_complete' | 'activity';
|
|
7052
|
+
NotificationType: 'user_message' | 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'signup_reward' | 'referral_reward' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared' | 'workspace_access_request' | 'task_started' | 'task_completed' | 'mailbox_sync_complete' | 'drive_sync_complete' | 'activity';
|
|
6522
7053
|
/**
|
|
6523
7054
|
* NotificationUpdate
|
|
6524
7055
|
* @description Single notification update for bulk PATCH.
|
|
@@ -6711,6 +7242,23 @@ interface components {
|
|
|
6711
7242
|
/** Task */
|
|
6712
7243
|
task: string;
|
|
6713
7244
|
};
|
|
7245
|
+
/**
|
|
7246
|
+
* PlanTaskRequest
|
|
7247
|
+
* @description Draft a ``TaskPlan`` from a plain objective (the stateless ``/plan`` endpoint).
|
|
7248
|
+
*
|
|
7249
|
+
* No task row involved — the returned plan is attached to a create body (new
|
|
7250
|
+
* task) or a PATCH (re-plan an existing one), matching the build-then-submit
|
|
7251
|
+
* task edit flow.
|
|
7252
|
+
*/
|
|
7253
|
+
PlanTaskRequest: {
|
|
7254
|
+
/** Objective */
|
|
7255
|
+
objective: string;
|
|
7256
|
+
/**
|
|
7257
|
+
* Max Passes
|
|
7258
|
+
* @default 3
|
|
7259
|
+
*/
|
|
7260
|
+
max_passes: number;
|
|
7261
|
+
};
|
|
6714
7262
|
/**
|
|
6715
7263
|
* PlanningLLMConfig
|
|
6716
7264
|
* @description Configuration for PlanningLLM — generates research plans on demand.
|
|
@@ -6814,6 +7362,52 @@ interface components {
|
|
|
6814
7362
|
/** Unit Amount */
|
|
6815
7363
|
unit_amount: number;
|
|
6816
7364
|
};
|
|
7365
|
+
/**
|
|
7366
|
+
* ProbeAnswerEvent
|
|
7367
|
+
* @description Out-of-band answer to a mid-run status probe ("how's it going?").
|
|
7368
|
+
*
|
|
7369
|
+
* The user asks a running agent a quick question with the ``/report`` command,
|
|
7370
|
+
* sent as text to POST /assistant/interject like any interjection (the backend
|
|
7371
|
+
* recognises it — see human_input.send_message). It is answered by a one-shot
|
|
7372
|
+
* LLM against a read-only snapshot of the agent's working transcript and
|
|
7373
|
+
* streamed back here. It is purely
|
|
7374
|
+
* informational: it is NOT a conversation message, does NOT affect the agent's
|
|
7375
|
+
* answer, and is never persisted — display it as a transient side note.
|
|
7376
|
+
*
|
|
7377
|
+
* Examples:
|
|
7378
|
+
* {"type": "arbi.probe_answer",
|
|
7379
|
+
* "question": "how's it going?",
|
|
7380
|
+
* "answer": "Making progress — it has pulled 3 sources and is drafting.",
|
|
7381
|
+
* "corr_id": "probe-1a2b3c"}
|
|
7382
|
+
*/
|
|
7383
|
+
ProbeAnswerEvent: {
|
|
7384
|
+
/**
|
|
7385
|
+
* T
|
|
7386
|
+
* @description Seconds elapsed since stream start.
|
|
7387
|
+
*/
|
|
7388
|
+
t?: number | null;
|
|
7389
|
+
/**
|
|
7390
|
+
* Type
|
|
7391
|
+
* @default arbi.probe_answer
|
|
7392
|
+
* @constant
|
|
7393
|
+
*/
|
|
7394
|
+
type: 'arbi.probe_answer';
|
|
7395
|
+
/**
|
|
7396
|
+
* Question
|
|
7397
|
+
* @description The user's out-of-band question
|
|
7398
|
+
*/
|
|
7399
|
+
question: string;
|
|
7400
|
+
/**
|
|
7401
|
+
* Answer
|
|
7402
|
+
* @description The observer LLM's answer about current progress
|
|
7403
|
+
*/
|
|
7404
|
+
answer: string;
|
|
7405
|
+
/**
|
|
7406
|
+
* Corr Id
|
|
7407
|
+
* @description Client correlation id echoed from the request
|
|
7408
|
+
*/
|
|
7409
|
+
corr_id?: string | null;
|
|
7410
|
+
};
|
|
6817
7411
|
/**
|
|
6818
7412
|
* ProductPrice
|
|
6819
7413
|
* @description Stripe product price information.
|
|
@@ -7160,7 +7754,7 @@ interface components {
|
|
|
7160
7754
|
icon: string;
|
|
7161
7755
|
/**
|
|
7162
7756
|
* Summary
|
|
7163
|
-
* @description Human-readable summary (e.g. '
|
|
7757
|
+
* @description Human-readable summary — names the target, never restating the label (e.g. '{doc-abc12345} pp. 5–10')
|
|
7164
7758
|
*/
|
|
7165
7759
|
summary?: string | null;
|
|
7166
7760
|
};
|
|
@@ -7307,7 +7901,7 @@ interface components {
|
|
|
7307
7901
|
/**
|
|
7308
7902
|
* Api Type
|
|
7309
7903
|
* @description The inference type (local or remote).
|
|
7310
|
-
* @default
|
|
7904
|
+
* @default local
|
|
7311
7905
|
* @enum {string}
|
|
7312
7906
|
*/
|
|
7313
7907
|
API_TYPE: 'local' | 'remote';
|
|
@@ -8144,6 +8738,8 @@ interface components {
|
|
|
8144
8738
|
agent_step?: components['schemas']['AgentStepEvent'] | null;
|
|
8145
8739
|
agent_step_delta?: components['schemas']['AgentStepDeltaEvent'] | null;
|
|
8146
8740
|
user_input_request?: components['schemas']['UserInputRequestEvent'] | null;
|
|
8741
|
+
probe_answer?: components['schemas']['ProbeAnswerEvent'] | null;
|
|
8742
|
+
agent_control_state?: components['schemas']['AgentControlStateEvent'] | null;
|
|
8147
8743
|
user_message?: components['schemas']['UserMessageEvent'] | null;
|
|
8148
8744
|
arbi_error?: components['schemas']['ArbiErrorEvent'] | null;
|
|
8149
8745
|
response_output_text_delta?: components['schemas']['ResponseOutputTextDeltaEvent'] | null;
|
|
@@ -8278,6 +8874,18 @@ interface components {
|
|
|
8278
8874
|
*/
|
|
8279
8875
|
title: string;
|
|
8280
8876
|
};
|
|
8877
|
+
/**
|
|
8878
|
+
* SealedConnectorToken
|
|
8879
|
+
* @description A connector's user-sealed OAuth tokens, for the client to decrypt at login.
|
|
8880
|
+
*/
|
|
8881
|
+
SealedConnectorToken: {
|
|
8882
|
+
/** Vendor Key */
|
|
8883
|
+
vendor_key: string;
|
|
8884
|
+
/** Access Token */
|
|
8885
|
+
access_token: string;
|
|
8886
|
+
/** Refresh Token */
|
|
8887
|
+
refresh_token?: string | null;
|
|
8888
|
+
};
|
|
8281
8889
|
/**
|
|
8282
8890
|
* SearchInsideDocumentsDetail
|
|
8283
8891
|
* @description Detail for a search_inside_documents tool call.
|
|
@@ -8313,7 +8921,7 @@ interface components {
|
|
|
8313
8921
|
icon: string;
|
|
8314
8922
|
/**
|
|
8315
8923
|
* Summary
|
|
8316
|
-
* @description Human-readable summary (e.g. '
|
|
8924
|
+
* @description Human-readable summary — names the target, never restating the label (e.g. '"query" (hybrid)')
|
|
8317
8925
|
*/
|
|
8318
8926
|
summary?: string | null;
|
|
8319
8927
|
};
|
|
@@ -8375,6 +8983,17 @@ interface components {
|
|
|
8375
8983
|
/** Ttl */
|
|
8376
8984
|
ttl: number;
|
|
8377
8985
|
};
|
|
8986
|
+
/**
|
|
8987
|
+
* SessionTokenBridge
|
|
8988
|
+
* @description Client-decrypted tokens re-sealed to the session public key, posted at login.
|
|
8989
|
+
*/
|
|
8990
|
+
SessionTokenBridge: {
|
|
8991
|
+
vendor_key: components['schemas']['VendorKey'];
|
|
8992
|
+
/** Access */
|
|
8993
|
+
access: string;
|
|
8994
|
+
/** Refresh */
|
|
8995
|
+
refresh?: string | null;
|
|
8996
|
+
};
|
|
8378
8997
|
/** ShareConversationResponse */
|
|
8379
8998
|
ShareConversationResponse: {
|
|
8380
8999
|
/**
|
|
@@ -8617,6 +9236,26 @@ interface components {
|
|
|
8617
9236
|
*/
|
|
8618
9237
|
COMPACTION_KEEP_RECENT: number;
|
|
8619
9238
|
};
|
|
9239
|
+
/**
|
|
9240
|
+
* SyncProgressResponse
|
|
9241
|
+
* @description Live progress of a running sync for a given (vendor, workspace).
|
|
9242
|
+
*/
|
|
9243
|
+
SyncProgressResponse: {
|
|
9244
|
+
/**
|
|
9245
|
+
* Running
|
|
9246
|
+
* @default false
|
|
9247
|
+
*/
|
|
9248
|
+
running: boolean;
|
|
9249
|
+
/** Phase */
|
|
9250
|
+
phase?: string | null;
|
|
9251
|
+
/**
|
|
9252
|
+
* Processed
|
|
9253
|
+
* @default 0
|
|
9254
|
+
*/
|
|
9255
|
+
processed: number;
|
|
9256
|
+
/** Total */
|
|
9257
|
+
total?: number | null;
|
|
9258
|
+
};
|
|
8620
9259
|
/**
|
|
8621
9260
|
* SyncTriggerResponse
|
|
8622
9261
|
* @description Response for a scheduled background sync run.
|
|
@@ -8740,6 +9379,54 @@ interface components {
|
|
|
8740
9379
|
instruction?: string | null;
|
|
8741
9380
|
tag_type?: components['schemas']['TagFormat'];
|
|
8742
9381
|
};
|
|
9382
|
+
/**
|
|
9383
|
+
* TaskPlan
|
|
9384
|
+
* @description The reviewable definition-of-done for a goal task.
|
|
9385
|
+
*
|
|
9386
|
+
* Authored by ``/plan`` (or hand-written), user-editable, stored on
|
|
9387
|
+
* ``Task.task_plan``, and consumed at execution to (a) seed the intra-turn
|
|
9388
|
+
* ``/goal`` gate with a frozen checklist and (b) scope retrieval to
|
|
9389
|
+
* ``documents``. This is the *input* half (what "done" means + which docs);
|
|
9390
|
+
* ``Task.goal_state`` is the runtime *status* projection (done/pass_count).
|
|
9391
|
+
*
|
|
9392
|
+
* There is no ``scope`` field. Open-web vs. closed-corpus is a *capability* of
|
|
9393
|
+
* the task's agent/workspace (whether web-search / read-url tools are enabled),
|
|
9394
|
+
* resolved at execution — not a plan attribute. ``documents`` is orthogonal: it
|
|
9395
|
+
* narrows *retrieval* to a subset of the workspace, it doesn't gate the web.
|
|
9396
|
+
*/
|
|
9397
|
+
TaskPlan: {
|
|
9398
|
+
/**
|
|
9399
|
+
* Goal
|
|
9400
|
+
* @default
|
|
9401
|
+
*/
|
|
9402
|
+
goal: string;
|
|
9403
|
+
/**
|
|
9404
|
+
* Criteria
|
|
9405
|
+
* @default []
|
|
9406
|
+
*/
|
|
9407
|
+
criteria: components['schemas']['TaskPlanCriterion'][];
|
|
9408
|
+
/**
|
|
9409
|
+
* Max Passes
|
|
9410
|
+
* @default 3
|
|
9411
|
+
*/
|
|
9412
|
+
max_passes: number;
|
|
9413
|
+
/**
|
|
9414
|
+
* Documents
|
|
9415
|
+
* @default []
|
|
9416
|
+
*/
|
|
9417
|
+
documents: string[];
|
|
9418
|
+
};
|
|
9419
|
+
/**
|
|
9420
|
+
* TaskPlanCriterion
|
|
9421
|
+
* @description One acceptance criterion in a task plan (mirrors instruments.llm.GoalCriterion,
|
|
9422
|
+
* redeclared here so the model layer needn't import the LLM instruments).
|
|
9423
|
+
*/
|
|
9424
|
+
TaskPlanCriterion: {
|
|
9425
|
+
/** Id */
|
|
9426
|
+
id: string;
|
|
9427
|
+
/** Text */
|
|
9428
|
+
text: string;
|
|
9429
|
+
};
|
|
8743
9430
|
/** TaskResponse */
|
|
8744
9431
|
TaskResponse: {
|
|
8745
9432
|
/** External Id */
|
|
@@ -8776,16 +9463,37 @@ interface components {
|
|
|
8776
9463
|
active_run_id: string | null;
|
|
8777
9464
|
/** Agent Session */
|
|
8778
9465
|
agent_session: string | null;
|
|
9466
|
+
/** Active Response Id */
|
|
9467
|
+
active_response_id?: string | null;
|
|
9468
|
+
/** Active Conversation Ext Id */
|
|
9469
|
+
active_conversation_ext_id?: string | null;
|
|
8779
9470
|
/** Run Started At */
|
|
8780
9471
|
run_started_at: string | null;
|
|
8781
9472
|
/** Notify On Complete */
|
|
8782
9473
|
notify_on_complete: boolean;
|
|
9474
|
+
auth_mode: components['schemas']['AuthMode'];
|
|
9475
|
+
/** Pending Auth Request Id */
|
|
9476
|
+
pending_auth_request_id?: string | null;
|
|
9477
|
+
/** Pending Auth Session Pubkey */
|
|
9478
|
+
pending_auth_session_pubkey?: string | null;
|
|
9479
|
+
/** Pending Auth Agent Email */
|
|
9480
|
+
pending_auth_agent_email?: string | null;
|
|
8783
9481
|
/** Created By Kind */
|
|
8784
9482
|
created_by_kind: string;
|
|
8785
9483
|
/** Workspace Ext Id */
|
|
8786
9484
|
workspace_ext_id?: string | null;
|
|
8787
9485
|
/** Agent Ext Id */
|
|
8788
9486
|
agent_ext_id?: string | null;
|
|
9487
|
+
task_plan?: components['schemas']['TaskPlan'] | null;
|
|
9488
|
+
/**
|
|
9489
|
+
* Is Goal Task
|
|
9490
|
+
* @default false
|
|
9491
|
+
*/
|
|
9492
|
+
is_goal_task: boolean;
|
|
9493
|
+
/** Goal State */
|
|
9494
|
+
goal_state?: {
|
|
9495
|
+
[key: string]: unknown;
|
|
9496
|
+
} | null;
|
|
8789
9497
|
/**
|
|
8790
9498
|
* Created At
|
|
8791
9499
|
* Format: date-time
|
|
@@ -9076,6 +9784,15 @@ interface components {
|
|
|
9076
9784
|
* @enum {string}
|
|
9077
9785
|
*/
|
|
9078
9786
|
TriggerType: 'one_time' | 'recurring' | 'event';
|
|
9787
|
+
/**
|
|
9788
|
+
* UpdateAgentRequest
|
|
9789
|
+
* @description Mutable agent fields. Only appearance for now — identity (name/email/keys)
|
|
9790
|
+
* is server-managed and renames would break the derived agent email.
|
|
9791
|
+
*/
|
|
9792
|
+
UpdateAgentRequest: {
|
|
9793
|
+
/** Picture */
|
|
9794
|
+
picture?: string | null;
|
|
9795
|
+
};
|
|
9079
9796
|
/**
|
|
9080
9797
|
* UpdateDocTagRequest
|
|
9081
9798
|
* @description Update a doctag's note or citations. Identified by (tag_ext_id, doc_ext_id) pair.
|
|
@@ -9102,13 +9819,13 @@ interface components {
|
|
|
9102
9819
|
};
|
|
9103
9820
|
/**
|
|
9104
9821
|
* UpdateMemoryRequest
|
|
9105
|
-
* @description Patch a memory. An edit to ``
|
|
9822
|
+
* @description Patch a memory. An edit to ``note`` soft-deletes the old row and
|
|
9106
9823
|
* inserts a replacement (append + soft-delete lifecycle); ``pinned``/``shared``
|
|
9107
9824
|
* toggles update in place.
|
|
9108
9825
|
*/
|
|
9109
9826
|
UpdateMemoryRequest: {
|
|
9110
|
-
/**
|
|
9111
|
-
|
|
9827
|
+
/** Note */
|
|
9828
|
+
note?: string | null;
|
|
9112
9829
|
/** Pinned */
|
|
9113
9830
|
pinned?: boolean | null;
|
|
9114
9831
|
/** Shared */
|
|
@@ -9171,6 +9888,8 @@ interface components {
|
|
|
9171
9888
|
/** Notify On Complete */
|
|
9172
9889
|
notify_on_complete?: boolean | null;
|
|
9173
9890
|
status?: components['schemas']['TaskStatus'] | null;
|
|
9891
|
+
auth_mode?: components['schemas']['AuthMode'] | null;
|
|
9892
|
+
task_plan?: components['schemas']['TaskPlan'] | null;
|
|
9174
9893
|
};
|
|
9175
9894
|
/**
|
|
9176
9895
|
* UpdateWorkspaceUserRolesRequest
|
|
@@ -9279,6 +9998,16 @@ interface components {
|
|
|
9279
9998
|
* @default true
|
|
9280
9999
|
*/
|
|
9281
10000
|
is_connected: boolean;
|
|
10001
|
+
/**
|
|
10002
|
+
* Token Scheme
|
|
10003
|
+
* @default env
|
|
10004
|
+
*/
|
|
10005
|
+
token_scheme: string;
|
|
10006
|
+
/**
|
|
10007
|
+
* Syncs
|
|
10008
|
+
* @default []
|
|
10009
|
+
*/
|
|
10010
|
+
syncs: components['schemas']['ConnectorSyncStatus'][];
|
|
9282
10011
|
/** Sync Status */
|
|
9283
10012
|
sync_status?: string | null;
|
|
9284
10013
|
/** Last Sync At */
|
|
@@ -9293,6 +10022,16 @@ interface components {
|
|
|
9293
10022
|
skip_duplicates?: boolean | null;
|
|
9294
10023
|
/** Auto Rename */
|
|
9295
10024
|
auto_rename?: boolean | null;
|
|
10025
|
+
/** Drive Sync Status */
|
|
10026
|
+
drive_sync_status?: string | null;
|
|
10027
|
+
/** Drive Last Sync At */
|
|
10028
|
+
drive_last_sync_at?: string | null;
|
|
10029
|
+
/** Drive Sync Workspace Ext Id */
|
|
10030
|
+
drive_sync_workspace_ext_id?: string | null;
|
|
10031
|
+
/** Drive Sync Folders */
|
|
10032
|
+
drive_sync_folders?: string[] | null;
|
|
10033
|
+
/** Drive Needs Reconsent */
|
|
10034
|
+
drive_needs_reconsent?: boolean | null;
|
|
9296
10035
|
};
|
|
9297
10036
|
/**
|
|
9298
10037
|
* UserDailyUsageResponse
|
|
@@ -9304,7 +10043,7 @@ interface components {
|
|
|
9304
10043
|
};
|
|
9305
10044
|
/**
|
|
9306
10045
|
* UserInputBody
|
|
9307
|
-
* @description Request body for POST /assistant/
|
|
10046
|
+
* @description Request body for POST /assistant/interject.
|
|
9308
10047
|
*/
|
|
9309
10048
|
UserInputBody: {
|
|
9310
10049
|
/** Assistant Message Ext Id */
|
|
@@ -9317,7 +10056,7 @@ interface components {
|
|
|
9317
10056
|
* @description Agent requests human input with structured options.
|
|
9318
10057
|
*
|
|
9319
10058
|
* Frontend should render the question with clickable options and an "Other"
|
|
9320
|
-
* free-text fallback. The user's response is sent via POST /assistant/
|
|
10059
|
+
* free-text fallback. The user's response is sent via POST /assistant/interject
|
|
9321
10060
|
* using the assistant_message_ext_id from the stream_start event.
|
|
9322
10061
|
*
|
|
9323
10062
|
* Examples:
|
|
@@ -9369,7 +10108,7 @@ interface components {
|
|
|
9369
10108
|
content: string;
|
|
9370
10109
|
/** Tools */
|
|
9371
10110
|
tools?: {
|
|
9372
|
-
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'];
|
|
10111
|
+
[key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'] | components['schemas']['GoalTool'];
|
|
9373
10112
|
};
|
|
9374
10113
|
/** Config Ext Id */
|
|
9375
10114
|
config_ext_id?: string | null;
|
|
@@ -9546,6 +10285,11 @@ interface components {
|
|
|
9546
10285
|
* @default false
|
|
9547
10286
|
*/
|
|
9548
10287
|
show_tasks: boolean;
|
|
10288
|
+
/**
|
|
10289
|
+
* Show Agent Builder
|
|
10290
|
+
* @default false
|
|
10291
|
+
*/
|
|
10292
|
+
show_agent_builder: boolean;
|
|
9549
10293
|
/** Dismissed Tips */
|
|
9550
10294
|
dismissed_tips?: string[];
|
|
9551
10295
|
/**
|
|
@@ -9620,6 +10364,8 @@ interface components {
|
|
|
9620
10364
|
show_hints?: boolean | null;
|
|
9621
10365
|
/** Show Tasks */
|
|
9622
10366
|
show_tasks?: boolean | null;
|
|
10367
|
+
/** Show Agent Builder */
|
|
10368
|
+
show_agent_builder?: boolean | null;
|
|
9623
10369
|
/** Dismissed Tips */
|
|
9624
10370
|
dismissed_tips?: string[] | null;
|
|
9625
10371
|
/** Use S3 Direct Upload */
|
|
@@ -11132,6 +11878,39 @@ interface operations {
|
|
|
11132
11878
|
};
|
|
11133
11879
|
};
|
|
11134
11880
|
};
|
|
11881
|
+
prime_workspace_key: {
|
|
11882
|
+
parameters: {
|
|
11883
|
+
query?: never;
|
|
11884
|
+
header?: never;
|
|
11885
|
+
path: {
|
|
11886
|
+
workspace_ext_id: string;
|
|
11887
|
+
};
|
|
11888
|
+
cookie?: never;
|
|
11889
|
+
};
|
|
11890
|
+
requestBody: {
|
|
11891
|
+
content: {
|
|
11892
|
+
'application/json': components['schemas']['WorkspaceOpenRequest'];
|
|
11893
|
+
};
|
|
11894
|
+
};
|
|
11895
|
+
responses: {
|
|
11896
|
+
/** @description Successful Response */
|
|
11897
|
+
204: {
|
|
11898
|
+
headers: {
|
|
11899
|
+
[name: string]: unknown;
|
|
11900
|
+
};
|
|
11901
|
+
content?: never;
|
|
11902
|
+
};
|
|
11903
|
+
/** @description Validation Error */
|
|
11904
|
+
422: {
|
|
11905
|
+
headers: {
|
|
11906
|
+
[name: string]: unknown;
|
|
11907
|
+
};
|
|
11908
|
+
content: {
|
|
11909
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
11910
|
+
};
|
|
11911
|
+
};
|
|
11912
|
+
};
|
|
11913
|
+
};
|
|
11135
11914
|
get_workspace_users: {
|
|
11136
11915
|
parameters: {
|
|
11137
11916
|
query?: never;
|
|
@@ -12409,7 +13188,7 @@ interface operations {
|
|
|
12409
13188
|
};
|
|
12410
13189
|
};
|
|
12411
13190
|
};
|
|
12412
|
-
|
|
13191
|
+
interject: {
|
|
12413
13192
|
parameters: {
|
|
12414
13193
|
query?: never;
|
|
12415
13194
|
header?: never;
|
|
@@ -12442,11 +13221,42 @@ interface operations {
|
|
|
12442
13221
|
};
|
|
12443
13222
|
};
|
|
12444
13223
|
};
|
|
12445
|
-
|
|
13224
|
+
watch_run: {
|
|
12446
13225
|
parameters: {
|
|
12447
13226
|
query?: never;
|
|
12448
13227
|
header?: never;
|
|
12449
|
-
path
|
|
13228
|
+
path: {
|
|
13229
|
+
response_id: string;
|
|
13230
|
+
};
|
|
13231
|
+
cookie?: never;
|
|
13232
|
+
};
|
|
13233
|
+
requestBody?: never;
|
|
13234
|
+
responses: {
|
|
13235
|
+
/** @description Successful Response */
|
|
13236
|
+
200: {
|
|
13237
|
+
headers: {
|
|
13238
|
+
[name: string]: unknown;
|
|
13239
|
+
};
|
|
13240
|
+
content: {
|
|
13241
|
+
'text/event-stream': unknown;
|
|
13242
|
+
};
|
|
13243
|
+
};
|
|
13244
|
+
/** @description Validation Error */
|
|
13245
|
+
422: {
|
|
13246
|
+
headers: {
|
|
13247
|
+
[name: string]: unknown;
|
|
13248
|
+
};
|
|
13249
|
+
content: {
|
|
13250
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
13251
|
+
};
|
|
13252
|
+
};
|
|
13253
|
+
};
|
|
13254
|
+
};
|
|
13255
|
+
retrieve: {
|
|
13256
|
+
parameters: {
|
|
13257
|
+
query?: never;
|
|
13258
|
+
header?: never;
|
|
13259
|
+
path?: never;
|
|
12450
13260
|
cookie?: never;
|
|
12451
13261
|
};
|
|
12452
13262
|
requestBody: {
|
|
@@ -13333,7 +14143,79 @@ interface operations {
|
|
|
13333
14143
|
};
|
|
13334
14144
|
};
|
|
13335
14145
|
};
|
|
13336
|
-
|
|
14146
|
+
update_agent: {
|
|
14147
|
+
parameters: {
|
|
14148
|
+
query?: never;
|
|
14149
|
+
header?: never;
|
|
14150
|
+
path: {
|
|
14151
|
+
/** @description Agent external id (agt-XXXXXXXX) */
|
|
14152
|
+
agent_ext_id: string;
|
|
14153
|
+
};
|
|
14154
|
+
cookie?: never;
|
|
14155
|
+
};
|
|
14156
|
+
requestBody: {
|
|
14157
|
+
content: {
|
|
14158
|
+
'application/json': components['schemas']['UpdateAgentRequest'];
|
|
14159
|
+
};
|
|
14160
|
+
};
|
|
14161
|
+
responses: {
|
|
14162
|
+
/** @description Successful Response */
|
|
14163
|
+
200: {
|
|
14164
|
+
headers: {
|
|
14165
|
+
[name: string]: unknown;
|
|
14166
|
+
};
|
|
14167
|
+
content: {
|
|
14168
|
+
'application/json': components['schemas']['UserResponse'];
|
|
14169
|
+
};
|
|
14170
|
+
};
|
|
14171
|
+
/** @description Validation Error */
|
|
14172
|
+
422: {
|
|
14173
|
+
headers: {
|
|
14174
|
+
[name: string]: unknown;
|
|
14175
|
+
};
|
|
14176
|
+
content: {
|
|
14177
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
14178
|
+
};
|
|
14179
|
+
};
|
|
14180
|
+
};
|
|
14181
|
+
};
|
|
14182
|
+
generate_agent_avatar: {
|
|
14183
|
+
parameters: {
|
|
14184
|
+
query?: never;
|
|
14185
|
+
header?: never;
|
|
14186
|
+
path: {
|
|
14187
|
+
/** @description Agent external id (agt-XXXXXXXX) */
|
|
14188
|
+
agent_ext_id: string;
|
|
14189
|
+
};
|
|
14190
|
+
cookie?: never;
|
|
14191
|
+
};
|
|
14192
|
+
requestBody: {
|
|
14193
|
+
content: {
|
|
14194
|
+
'application/json': components['schemas']['GenerateAgentAvatarRequest'];
|
|
14195
|
+
};
|
|
14196
|
+
};
|
|
14197
|
+
responses: {
|
|
14198
|
+
/** @description Successful Response */
|
|
14199
|
+
200: {
|
|
14200
|
+
headers: {
|
|
14201
|
+
[name: string]: unknown;
|
|
14202
|
+
};
|
|
14203
|
+
content: {
|
|
14204
|
+
'application/json': components['schemas']['GenerateAgentAvatarResponse'];
|
|
14205
|
+
};
|
|
14206
|
+
};
|
|
14207
|
+
/** @description Validation Error */
|
|
14208
|
+
422: {
|
|
14209
|
+
headers: {
|
|
14210
|
+
[name: string]: unknown;
|
|
14211
|
+
};
|
|
14212
|
+
content: {
|
|
14213
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
14214
|
+
};
|
|
14215
|
+
};
|
|
14216
|
+
};
|
|
14217
|
+
};
|
|
14218
|
+
list_tasks: {
|
|
13337
14219
|
parameters: {
|
|
13338
14220
|
query?: never;
|
|
13339
14221
|
header?: never;
|
|
@@ -13353,7 +14235,7 @@ interface operations {
|
|
|
13353
14235
|
};
|
|
13354
14236
|
};
|
|
13355
14237
|
};
|
|
13356
|
-
|
|
14238
|
+
create_task: {
|
|
13357
14239
|
parameters: {
|
|
13358
14240
|
query?: never;
|
|
13359
14241
|
header?: never;
|
|
@@ -13386,7 +14268,40 @@ interface operations {
|
|
|
13386
14268
|
};
|
|
13387
14269
|
};
|
|
13388
14270
|
};
|
|
13389
|
-
|
|
14271
|
+
plan_task: {
|
|
14272
|
+
parameters: {
|
|
14273
|
+
query?: never;
|
|
14274
|
+
header?: never;
|
|
14275
|
+
path?: never;
|
|
14276
|
+
cookie?: never;
|
|
14277
|
+
};
|
|
14278
|
+
requestBody: {
|
|
14279
|
+
content: {
|
|
14280
|
+
'application/json': components['schemas']['PlanTaskRequest'];
|
|
14281
|
+
};
|
|
14282
|
+
};
|
|
14283
|
+
responses: {
|
|
14284
|
+
/** @description Successful Response */
|
|
14285
|
+
200: {
|
|
14286
|
+
headers: {
|
|
14287
|
+
[name: string]: unknown;
|
|
14288
|
+
};
|
|
14289
|
+
content: {
|
|
14290
|
+
'application/json': components['schemas']['TaskPlan'];
|
|
14291
|
+
};
|
|
14292
|
+
};
|
|
14293
|
+
/** @description Validation Error */
|
|
14294
|
+
422: {
|
|
14295
|
+
headers: {
|
|
14296
|
+
[name: string]: unknown;
|
|
14297
|
+
};
|
|
14298
|
+
content: {
|
|
14299
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
14300
|
+
};
|
|
14301
|
+
};
|
|
14302
|
+
};
|
|
14303
|
+
};
|
|
14304
|
+
get_task: {
|
|
13390
14305
|
parameters: {
|
|
13391
14306
|
query?: never;
|
|
13392
14307
|
header?: never;
|
|
@@ -13417,7 +14332,7 @@ interface operations {
|
|
|
13417
14332
|
};
|
|
13418
14333
|
};
|
|
13419
14334
|
};
|
|
13420
|
-
|
|
14335
|
+
delete_task: {
|
|
13421
14336
|
parameters: {
|
|
13422
14337
|
query?: never;
|
|
13423
14338
|
header?: never;
|
|
@@ -13446,7 +14361,7 @@ interface operations {
|
|
|
13446
14361
|
};
|
|
13447
14362
|
};
|
|
13448
14363
|
};
|
|
13449
|
-
|
|
14364
|
+
update_task: {
|
|
13450
14365
|
parameters: {
|
|
13451
14366
|
query?: never;
|
|
13452
14367
|
header?: never;
|
|
@@ -13481,7 +14396,7 @@ interface operations {
|
|
|
13481
14396
|
};
|
|
13482
14397
|
};
|
|
13483
14398
|
};
|
|
13484
|
-
|
|
14399
|
+
run_task: {
|
|
13485
14400
|
parameters: {
|
|
13486
14401
|
query?: never;
|
|
13487
14402
|
header?: never;
|
|
@@ -13784,6 +14699,57 @@ interface operations {
|
|
|
13784
14699
|
};
|
|
13785
14700
|
};
|
|
13786
14701
|
};
|
|
14702
|
+
get_sealed_connector_tokens: {
|
|
14703
|
+
parameters: {
|
|
14704
|
+
query?: never;
|
|
14705
|
+
header?: never;
|
|
14706
|
+
path?: never;
|
|
14707
|
+
cookie?: never;
|
|
14708
|
+
};
|
|
14709
|
+
requestBody?: never;
|
|
14710
|
+
responses: {
|
|
14711
|
+
/** @description Successful Response */
|
|
14712
|
+
200: {
|
|
14713
|
+
headers: {
|
|
14714
|
+
[name: string]: unknown;
|
|
14715
|
+
};
|
|
14716
|
+
content: {
|
|
14717
|
+
'application/json': components['schemas']['SealedConnectorToken'][];
|
|
14718
|
+
};
|
|
14719
|
+
};
|
|
14720
|
+
};
|
|
14721
|
+
};
|
|
14722
|
+
bridge_session_connector_tokens: {
|
|
14723
|
+
parameters: {
|
|
14724
|
+
query?: never;
|
|
14725
|
+
header?: never;
|
|
14726
|
+
path?: never;
|
|
14727
|
+
cookie?: never;
|
|
14728
|
+
};
|
|
14729
|
+
requestBody: {
|
|
14730
|
+
content: {
|
|
14731
|
+
'application/json': components['schemas']['SessionTokenBridge'];
|
|
14732
|
+
};
|
|
14733
|
+
};
|
|
14734
|
+
responses: {
|
|
14735
|
+
/** @description Successful Response */
|
|
14736
|
+
204: {
|
|
14737
|
+
headers: {
|
|
14738
|
+
[name: string]: unknown;
|
|
14739
|
+
};
|
|
14740
|
+
content?: never;
|
|
14741
|
+
};
|
|
14742
|
+
/** @description Validation Error */
|
|
14743
|
+
422: {
|
|
14744
|
+
headers: {
|
|
14745
|
+
[name: string]: unknown;
|
|
14746
|
+
};
|
|
14747
|
+
content: {
|
|
14748
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
14749
|
+
};
|
|
14750
|
+
};
|
|
14751
|
+
};
|
|
14752
|
+
};
|
|
13787
14753
|
get_connector_status: {
|
|
13788
14754
|
parameters: {
|
|
13789
14755
|
query?: never;
|
|
@@ -13980,6 +14946,105 @@ interface operations {
|
|
|
13980
14946
|
};
|
|
13981
14947
|
};
|
|
13982
14948
|
trigger_mailbox_sync: {
|
|
14949
|
+
parameters: {
|
|
14950
|
+
query?: {
|
|
14951
|
+
workspace_ext_id?: string | null;
|
|
14952
|
+
};
|
|
14953
|
+
header?: never;
|
|
14954
|
+
path: {
|
|
14955
|
+
vendor: components['schemas']['VendorKey'];
|
|
14956
|
+
};
|
|
14957
|
+
cookie?: never;
|
|
14958
|
+
};
|
|
14959
|
+
requestBody?: never;
|
|
14960
|
+
responses: {
|
|
14961
|
+
/** @description Successful Response */
|
|
14962
|
+
202: {
|
|
14963
|
+
headers: {
|
|
14964
|
+
[name: string]: unknown;
|
|
14965
|
+
};
|
|
14966
|
+
content: {
|
|
14967
|
+
'application/json': components['schemas']['SyncTriggerResponse'];
|
|
14968
|
+
};
|
|
14969
|
+
};
|
|
14970
|
+
/** @description Validation Error */
|
|
14971
|
+
422: {
|
|
14972
|
+
headers: {
|
|
14973
|
+
[name: string]: unknown;
|
|
14974
|
+
};
|
|
14975
|
+
content: {
|
|
14976
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
14977
|
+
};
|
|
14978
|
+
};
|
|
14979
|
+
};
|
|
14980
|
+
};
|
|
14981
|
+
list_drive_folders: {
|
|
14982
|
+
parameters: {
|
|
14983
|
+
query?: never;
|
|
14984
|
+
header?: never;
|
|
14985
|
+
path: {
|
|
14986
|
+
vendor: components['schemas']['VendorKey'];
|
|
14987
|
+
};
|
|
14988
|
+
cookie?: never;
|
|
14989
|
+
};
|
|
14990
|
+
requestBody?: never;
|
|
14991
|
+
responses: {
|
|
14992
|
+
/** @description Successful Response */
|
|
14993
|
+
200: {
|
|
14994
|
+
headers: {
|
|
14995
|
+
[name: string]: unknown;
|
|
14996
|
+
};
|
|
14997
|
+
content: {
|
|
14998
|
+
'application/json': components['schemas']['FolderRead'][];
|
|
14999
|
+
};
|
|
15000
|
+
};
|
|
15001
|
+
/** @description Validation Error */
|
|
15002
|
+
422: {
|
|
15003
|
+
headers: {
|
|
15004
|
+
[name: string]: unknown;
|
|
15005
|
+
};
|
|
15006
|
+
content: {
|
|
15007
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15008
|
+
};
|
|
15009
|
+
};
|
|
15010
|
+
};
|
|
15011
|
+
};
|
|
15012
|
+
enable_drive_sync: {
|
|
15013
|
+
parameters: {
|
|
15014
|
+
query?: never;
|
|
15015
|
+
header?: never;
|
|
15016
|
+
path: {
|
|
15017
|
+
vendor: components['schemas']['VendorKey'];
|
|
15018
|
+
};
|
|
15019
|
+
cookie?: never;
|
|
15020
|
+
};
|
|
15021
|
+
requestBody: {
|
|
15022
|
+
content: {
|
|
15023
|
+
'application/json': components['schemas']['EnableDriveSyncRequest'];
|
|
15024
|
+
};
|
|
15025
|
+
};
|
|
15026
|
+
responses: {
|
|
15027
|
+
/** @description Successful Response */
|
|
15028
|
+
200: {
|
|
15029
|
+
headers: {
|
|
15030
|
+
[name: string]: unknown;
|
|
15031
|
+
};
|
|
15032
|
+
content: {
|
|
15033
|
+
'application/json': components['schemas']['DriveSyncRead'];
|
|
15034
|
+
};
|
|
15035
|
+
};
|
|
15036
|
+
/** @description Validation Error */
|
|
15037
|
+
422: {
|
|
15038
|
+
headers: {
|
|
15039
|
+
[name: string]: unknown;
|
|
15040
|
+
};
|
|
15041
|
+
content: {
|
|
15042
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15043
|
+
};
|
|
15044
|
+
};
|
|
15045
|
+
};
|
|
15046
|
+
};
|
|
15047
|
+
trigger_drive_sync: {
|
|
13983
15048
|
parameters: {
|
|
13984
15049
|
query?: never;
|
|
13985
15050
|
header?: never;
|
|
@@ -14010,6 +15075,74 @@ interface operations {
|
|
|
14010
15075
|
};
|
|
14011
15076
|
};
|
|
14012
15077
|
};
|
|
15078
|
+
mailbox_sync_progress: {
|
|
15079
|
+
parameters: {
|
|
15080
|
+
query?: {
|
|
15081
|
+
workspace_ext_id?: string | null;
|
|
15082
|
+
};
|
|
15083
|
+
header?: never;
|
|
15084
|
+
path: {
|
|
15085
|
+
vendor: components['schemas']['VendorKey'];
|
|
15086
|
+
};
|
|
15087
|
+
cookie?: never;
|
|
15088
|
+
};
|
|
15089
|
+
requestBody?: never;
|
|
15090
|
+
responses: {
|
|
15091
|
+
/** @description Successful Response */
|
|
15092
|
+
200: {
|
|
15093
|
+
headers: {
|
|
15094
|
+
[name: string]: unknown;
|
|
15095
|
+
};
|
|
15096
|
+
content: {
|
|
15097
|
+
'application/json': components['schemas']['SyncProgressResponse'];
|
|
15098
|
+
};
|
|
15099
|
+
};
|
|
15100
|
+
/** @description Validation Error */
|
|
15101
|
+
422: {
|
|
15102
|
+
headers: {
|
|
15103
|
+
[name: string]: unknown;
|
|
15104
|
+
};
|
|
15105
|
+
content: {
|
|
15106
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15107
|
+
};
|
|
15108
|
+
};
|
|
15109
|
+
};
|
|
15110
|
+
};
|
|
15111
|
+
cancel_mailbox_sync: {
|
|
15112
|
+
parameters: {
|
|
15113
|
+
query?: {
|
|
15114
|
+
workspace_ext_id?: string | null;
|
|
15115
|
+
};
|
|
15116
|
+
header?: never;
|
|
15117
|
+
path: {
|
|
15118
|
+
vendor: components['schemas']['VendorKey'];
|
|
15119
|
+
};
|
|
15120
|
+
cookie?: never;
|
|
15121
|
+
};
|
|
15122
|
+
requestBody?: never;
|
|
15123
|
+
responses: {
|
|
15124
|
+
/** @description Successful Response */
|
|
15125
|
+
202: {
|
|
15126
|
+
headers: {
|
|
15127
|
+
[name: string]: unknown;
|
|
15128
|
+
};
|
|
15129
|
+
content: {
|
|
15130
|
+
'application/json': {
|
|
15131
|
+
[key: string]: string;
|
|
15132
|
+
};
|
|
15133
|
+
};
|
|
15134
|
+
};
|
|
15135
|
+
/** @description Validation Error */
|
|
15136
|
+
422: {
|
|
15137
|
+
headers: {
|
|
15138
|
+
[name: string]: unknown;
|
|
15139
|
+
};
|
|
15140
|
+
content: {
|
|
15141
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15142
|
+
};
|
|
15143
|
+
};
|
|
15144
|
+
};
|
|
15145
|
+
};
|
|
14013
15146
|
create_response: {
|
|
14014
15147
|
parameters: {
|
|
14015
15148
|
query?: never;
|