@arbidocs/client 0.3.167 → 0.3.169
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 +209 -2
- package/dist/index.d.ts +209 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -427,10 +427,11 @@ interface paths {
|
|
|
427
427
|
head?: never;
|
|
428
428
|
/**
|
|
429
429
|
* Patch Session
|
|
430
|
-
* @description Expire (ttl=0) or
|
|
430
|
+
* @description Expire (ttl=0) or shorten the remaining TTL of one of the caller's own sessions.
|
|
431
431
|
*
|
|
432
432
|
* Agents (as with /logout) may only touch their own session; principals may target
|
|
433
433
|
* any session in their session set, including ones other than the one they're on.
|
|
434
|
+
* Cannot increase a session's TTL — see patch_session_ttl's docstring for why.
|
|
434
435
|
*/
|
|
435
436
|
patch: operations['patch_session'];
|
|
436
437
|
trace?: never;
|
|
@@ -2345,6 +2346,53 @@ interface paths {
|
|
|
2345
2346
|
patch?: never;
|
|
2346
2347
|
trace?: never;
|
|
2347
2348
|
};
|
|
2349
|
+
'/v1/agents/authorize-limits': {
|
|
2350
|
+
parameters: {
|
|
2351
|
+
query?: never;
|
|
2352
|
+
header?: never;
|
|
2353
|
+
path?: never;
|
|
2354
|
+
cookie?: never;
|
|
2355
|
+
};
|
|
2356
|
+
/** Get Authorize Limits */
|
|
2357
|
+
get: operations['get_authorize_limits'];
|
|
2358
|
+
put?: never;
|
|
2359
|
+
post?: never;
|
|
2360
|
+
delete?: never;
|
|
2361
|
+
options?: never;
|
|
2362
|
+
head?: never;
|
|
2363
|
+
patch?: never;
|
|
2364
|
+
trace?: never;
|
|
2365
|
+
};
|
|
2366
|
+
'/v1/agents/{agent_ext_id}/authorize': {
|
|
2367
|
+
parameters: {
|
|
2368
|
+
query?: never;
|
|
2369
|
+
header?: never;
|
|
2370
|
+
path?: never;
|
|
2371
|
+
cookie?: never;
|
|
2372
|
+
};
|
|
2373
|
+
get?: never;
|
|
2374
|
+
put?: never;
|
|
2375
|
+
/**
|
|
2376
|
+
* Authorize Agent
|
|
2377
|
+
* @description Mint a fresh, TTL'd session for the caller's own agent.
|
|
2378
|
+
*
|
|
2379
|
+
* Standalone version of the session-mint step ``useRunTaskWithAuth`` performs
|
|
2380
|
+
* inline for a task run (``POST /v1/tasks/{id}/run``) — same primitive
|
|
2381
|
+
* (:func:`mint_agent_session`), just triggerable on its own instead of bundled
|
|
2382
|
+
* into running something. Returns the session's public key so the caller's
|
|
2383
|
+
* client can immediately deposit a temporary workspace key onto it via the
|
|
2384
|
+
* ordinary ``POST /v1/workspace/users`` (``session_pubkey_b64`` branch) —
|
|
2385
|
+
* mirroring the task flow's second step exactly. The session's remaining
|
|
2386
|
+
* time can be checked or ended early afterward via the generic session
|
|
2387
|
+
* endpoints, not extended (see the module docstring above).
|
|
2388
|
+
*/
|
|
2389
|
+
post: operations['authorize_agent'];
|
|
2390
|
+
delete?: never;
|
|
2391
|
+
options?: never;
|
|
2392
|
+
head?: never;
|
|
2393
|
+
patch?: never;
|
|
2394
|
+
trace?: never;
|
|
2395
|
+
};
|
|
2348
2396
|
'/v1/agents/{agent_ext_id}': {
|
|
2349
2397
|
parameters: {
|
|
2350
2398
|
query?: never;
|
|
@@ -3689,6 +3737,12 @@ interface components {
|
|
|
3689
3737
|
* @default false
|
|
3690
3738
|
*/
|
|
3691
3739
|
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
3740
|
+
/**
|
|
3741
|
+
* Remote Control Enabled
|
|
3742
|
+
* @description Enable the control_ui tool so the agent can drive the user's frontend with a guided cursor (click/type on their screen), gated by the user's consent. Pushes a remote_control WebSocket message to the user's session. Off by default.
|
|
3743
|
+
* @default false
|
|
3744
|
+
*/
|
|
3745
|
+
REMOTE_CONTROL_ENABLED: boolean;
|
|
3692
3746
|
/**
|
|
3693
3747
|
* Enabled Skills
|
|
3694
3748
|
* @description Allowlist of skill slugs this config may invoke via run_skill/list_skills. None = no restriction (every skill the caller can see — back-compat default). A list (including []) restricts to exactly those slugs. Set a list on an agent's config to scope which skills that agent can use.
|
|
@@ -3944,6 +3998,12 @@ interface components {
|
|
|
3944
3998
|
* @default false
|
|
3945
3999
|
*/
|
|
3946
4000
|
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
4001
|
+
/**
|
|
4002
|
+
* Remote Control Enabled
|
|
4003
|
+
* @description Enable the control_ui tool so the agent can drive the user's frontend with a guided cursor (click/type on their screen), gated by the user's consent. Pushes a remote_control WebSocket message to the user's session. Off by default.
|
|
4004
|
+
* @default false
|
|
4005
|
+
*/
|
|
4006
|
+
REMOTE_CONTROL_ENABLED: boolean;
|
|
3947
4007
|
/**
|
|
3948
4008
|
* Enabled Skills
|
|
3949
4009
|
* @description Allowlist of skill slugs this config may invoke via run_skill/list_skills. None = no restriction (every skill the caller can see — back-compat default). A list (including []) restricts to exactly those slugs. Set a list on an agent's config to scope which skills that agent can use.
|
|
@@ -4015,6 +4075,7 @@ interface components {
|
|
|
4015
4075
|
* "SKILLS_ENABLED": false,
|
|
4016
4076
|
* "SKILL_CREATION": false,
|
|
4017
4077
|
* "WORKSPACE_TOOLS_ENABLED": false,
|
|
4078
|
+
* "REMOTE_CONTROL_ENABLED": false,
|
|
4018
4079
|
* "MEMORY_CREATION": false,
|
|
4019
4080
|
* "GOALS_ENABLED": false,
|
|
4020
4081
|
* "GOAL_MAX_OUTER_LOOPS": 6,
|
|
@@ -4653,6 +4714,46 @@ interface components {
|
|
|
4653
4714
|
/** Reason */
|
|
4654
4715
|
reason?: string | null;
|
|
4655
4716
|
};
|
|
4717
|
+
/**
|
|
4718
|
+
* AuthorizeAgentRequest
|
|
4719
|
+
* @description Body for POST /agents/{agent_ext_id}/authorize.
|
|
4720
|
+
*/
|
|
4721
|
+
AuthorizeAgentRequest: {
|
|
4722
|
+
/** Workspace Ext Id */
|
|
4723
|
+
workspace_ext_id: string;
|
|
4724
|
+
/**
|
|
4725
|
+
* Ttl Seconds
|
|
4726
|
+
* @description Omit for the deployment default (see GET /agents/authorize-limits).
|
|
4727
|
+
*/
|
|
4728
|
+
ttl_seconds?: number | null;
|
|
4729
|
+
};
|
|
4730
|
+
/**
|
|
4731
|
+
* AuthorizeAgentResponse
|
|
4732
|
+
* @description What the caller's client needs to deposit a temporary workspace key onto
|
|
4733
|
+
* the freshly-minted session — the same shape a task run's
|
|
4734
|
+
* ``pending_auth_session_pubkey`` / ``pending_auth_agent_email`` fields carry.
|
|
4735
|
+
*/
|
|
4736
|
+
AuthorizeAgentResponse: {
|
|
4737
|
+
/** Session Pubkey B64 */
|
|
4738
|
+
session_pubkey_b64: string;
|
|
4739
|
+
/** Agent Email */
|
|
4740
|
+
agent_email: string;
|
|
4741
|
+
/** Ttl */
|
|
4742
|
+
ttl: number;
|
|
4743
|
+
};
|
|
4744
|
+
/**
|
|
4745
|
+
* AuthorizeLimitsResponse
|
|
4746
|
+
* @description Bounds for ``authorize``'s ``ttl_seconds`` — lets a client show/enforce
|
|
4747
|
+
* the real default and max instead of guessing or discovering them via a 422.
|
|
4748
|
+
* Deployment-tunable (``AGENT_AUTHORIZE_DEFAULT_TTL_SECONDS`` /
|
|
4749
|
+
* ``AGENT_AUTHORIZE_MAX_TTL_SECONDS`` env vars), not hardcoded to 4h.
|
|
4750
|
+
*/
|
|
4751
|
+
AuthorizeLimitsResponse: {
|
|
4752
|
+
/** Default Ttl Seconds */
|
|
4753
|
+
default_ttl_seconds: number;
|
|
4754
|
+
/** Max Ttl Seconds */
|
|
4755
|
+
max_ttl_seconds: number;
|
|
4756
|
+
};
|
|
4656
4757
|
/**
|
|
4657
4758
|
* BatchCompleteMessage
|
|
4658
4759
|
* @description Notification that a batch operation (upload or doctag generation) completed.
|
|
@@ -8799,6 +8900,55 @@ interface components {
|
|
|
8799
8900
|
/** Lead Minutes */
|
|
8800
8901
|
lead_minutes?: number | null;
|
|
8801
8902
|
};
|
|
8903
|
+
/**
|
|
8904
|
+
* RemoteControlMessage
|
|
8905
|
+
* @description Ask the user's frontend to run a guided-cursor UI action (remote control).
|
|
8906
|
+
*
|
|
8907
|
+
* The model emits this via the ``control_ui`` tool to demonstrate or perform
|
|
8908
|
+
* an action on the user's screen. The frontend gates it behind the user's
|
|
8909
|
+
* consent, then either replays a registered ``sequence_id`` or the explicit
|
|
8910
|
+
* ``steps``. Exactly one of ``sequence_id`` / ``steps`` is set.
|
|
8911
|
+
*/
|
|
8912
|
+
RemoteControlMessage: {
|
|
8913
|
+
/**
|
|
8914
|
+
* Type
|
|
8915
|
+
* @default remote_control
|
|
8916
|
+
* @constant
|
|
8917
|
+
*/
|
|
8918
|
+
type: 'remote_control';
|
|
8919
|
+
/** Agent Name */
|
|
8920
|
+
agent_name: string;
|
|
8921
|
+
/** Agent Ext Id */
|
|
8922
|
+
agent_ext_id?: string | null;
|
|
8923
|
+
/** Sequence Id */
|
|
8924
|
+
sequence_id?: string | null;
|
|
8925
|
+
/** Steps */
|
|
8926
|
+
steps?: components['schemas']['RemoteControlStep'][] | null;
|
|
8927
|
+
};
|
|
8928
|
+
/**
|
|
8929
|
+
* RemoteControlStep
|
|
8930
|
+
* @description One guided-cursor step the frontend action runner replays.
|
|
8931
|
+
*
|
|
8932
|
+
* Field names are the ones the frontend's guided-step runner consumes
|
|
8933
|
+
* verbatim, so ``pauseMs``/``waitMs`` stay camelCase even though the envelope
|
|
8934
|
+
* around them is snake_case. ``target`` is a ``[data-testid=…]`` selector and
|
|
8935
|
+
* is required; ``do`` defaults to a click; ``value`` is the text for a
|
|
8936
|
+
* ``type`` step.
|
|
8937
|
+
*/
|
|
8938
|
+
RemoteControlStep: {
|
|
8939
|
+
/** Target */
|
|
8940
|
+
target: string;
|
|
8941
|
+
/** Do */
|
|
8942
|
+
do?: ('click' | 'type') | null;
|
|
8943
|
+
/** Value */
|
|
8944
|
+
value?: string | null;
|
|
8945
|
+
/** Note */
|
|
8946
|
+
note?: string | null;
|
|
8947
|
+
/** Pausems */
|
|
8948
|
+
pauseMs?: number | null;
|
|
8949
|
+
/** Waitms */
|
|
8950
|
+
waitMs?: number | null;
|
|
8951
|
+
};
|
|
8802
8952
|
/**
|
|
8803
8953
|
* RemoveWorkspaceUserItem
|
|
8804
8954
|
* @description A user or agent to remove from a workspace.
|
|
@@ -10019,7 +10169,7 @@ interface components {
|
|
|
10019
10169
|
SessionTTLPatchRequest: {
|
|
10020
10170
|
/**
|
|
10021
10171
|
* Ttl
|
|
10022
|
-
* @description New remaining TTL in seconds. 0 expires the session immediately; any other value
|
|
10172
|
+
* @description New remaining TTL in seconds. 0 expires the session immediately; any other value must be LESS than the session's current remaining TTL — sessions can be ended early or shortened, never extended.
|
|
10023
10173
|
*/
|
|
10024
10174
|
ttl: number;
|
|
10025
10175
|
};
|
|
@@ -11677,6 +11827,7 @@ interface components {
|
|
|
11677
11827
|
response_complete?: components['schemas']['ResponseCompleteMessage'] | null;
|
|
11678
11828
|
conversation_title_updated?: components['schemas']['ConversationTitleUpdatedMessage'] | null;
|
|
11679
11829
|
skills_updated?: components['schemas']['SkillsUpdatedMessage'] | null;
|
|
11830
|
+
remote_control?: components['schemas']['RemoteControlMessage'] | null;
|
|
11680
11831
|
notification?: components['schemas']['NotificationResponse'] | null;
|
|
11681
11832
|
auth?: components['schemas']['AuthMessage'] | null;
|
|
11682
11833
|
send_message?: components['schemas']['SendMessageRequest'] | null;
|
|
@@ -15271,6 +15422,62 @@ interface operations {
|
|
|
15271
15422
|
};
|
|
15272
15423
|
};
|
|
15273
15424
|
};
|
|
15425
|
+
get_authorize_limits: {
|
|
15426
|
+
parameters: {
|
|
15427
|
+
query?: never;
|
|
15428
|
+
header?: never;
|
|
15429
|
+
path?: never;
|
|
15430
|
+
cookie?: never;
|
|
15431
|
+
};
|
|
15432
|
+
requestBody?: never;
|
|
15433
|
+
responses: {
|
|
15434
|
+
/** @description Successful Response */
|
|
15435
|
+
200: {
|
|
15436
|
+
headers: {
|
|
15437
|
+
[name: string]: unknown;
|
|
15438
|
+
};
|
|
15439
|
+
content: {
|
|
15440
|
+
'application/json': components['schemas']['AuthorizeLimitsResponse'];
|
|
15441
|
+
};
|
|
15442
|
+
};
|
|
15443
|
+
};
|
|
15444
|
+
};
|
|
15445
|
+
authorize_agent: {
|
|
15446
|
+
parameters: {
|
|
15447
|
+
query?: never;
|
|
15448
|
+
header?: never;
|
|
15449
|
+
path: {
|
|
15450
|
+
/** @description Agent external id (agt-XXXXXXXX) */
|
|
15451
|
+
agent_ext_id: string;
|
|
15452
|
+
};
|
|
15453
|
+
cookie?: never;
|
|
15454
|
+
};
|
|
15455
|
+
requestBody: {
|
|
15456
|
+
content: {
|
|
15457
|
+
'application/json': components['schemas']['AuthorizeAgentRequest'];
|
|
15458
|
+
};
|
|
15459
|
+
};
|
|
15460
|
+
responses: {
|
|
15461
|
+
/** @description Successful Response */
|
|
15462
|
+
200: {
|
|
15463
|
+
headers: {
|
|
15464
|
+
[name: string]: unknown;
|
|
15465
|
+
};
|
|
15466
|
+
content: {
|
|
15467
|
+
'application/json': components['schemas']['AuthorizeAgentResponse'];
|
|
15468
|
+
};
|
|
15469
|
+
};
|
|
15470
|
+
/** @description Validation Error */
|
|
15471
|
+
422: {
|
|
15472
|
+
headers: {
|
|
15473
|
+
[name: string]: unknown;
|
|
15474
|
+
};
|
|
15475
|
+
content: {
|
|
15476
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15477
|
+
};
|
|
15478
|
+
};
|
|
15479
|
+
};
|
|
15480
|
+
};
|
|
15274
15481
|
update_agent: {
|
|
15275
15482
|
parameters: {
|
|
15276
15483
|
query?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -427,10 +427,11 @@ interface paths {
|
|
|
427
427
|
head?: never;
|
|
428
428
|
/**
|
|
429
429
|
* Patch Session
|
|
430
|
-
* @description Expire (ttl=0) or
|
|
430
|
+
* @description Expire (ttl=0) or shorten the remaining TTL of one of the caller's own sessions.
|
|
431
431
|
*
|
|
432
432
|
* Agents (as with /logout) may only touch their own session; principals may target
|
|
433
433
|
* any session in their session set, including ones other than the one they're on.
|
|
434
|
+
* Cannot increase a session's TTL — see patch_session_ttl's docstring for why.
|
|
434
435
|
*/
|
|
435
436
|
patch: operations['patch_session'];
|
|
436
437
|
trace?: never;
|
|
@@ -2345,6 +2346,53 @@ interface paths {
|
|
|
2345
2346
|
patch?: never;
|
|
2346
2347
|
trace?: never;
|
|
2347
2348
|
};
|
|
2349
|
+
'/v1/agents/authorize-limits': {
|
|
2350
|
+
parameters: {
|
|
2351
|
+
query?: never;
|
|
2352
|
+
header?: never;
|
|
2353
|
+
path?: never;
|
|
2354
|
+
cookie?: never;
|
|
2355
|
+
};
|
|
2356
|
+
/** Get Authorize Limits */
|
|
2357
|
+
get: operations['get_authorize_limits'];
|
|
2358
|
+
put?: never;
|
|
2359
|
+
post?: never;
|
|
2360
|
+
delete?: never;
|
|
2361
|
+
options?: never;
|
|
2362
|
+
head?: never;
|
|
2363
|
+
patch?: never;
|
|
2364
|
+
trace?: never;
|
|
2365
|
+
};
|
|
2366
|
+
'/v1/agents/{agent_ext_id}/authorize': {
|
|
2367
|
+
parameters: {
|
|
2368
|
+
query?: never;
|
|
2369
|
+
header?: never;
|
|
2370
|
+
path?: never;
|
|
2371
|
+
cookie?: never;
|
|
2372
|
+
};
|
|
2373
|
+
get?: never;
|
|
2374
|
+
put?: never;
|
|
2375
|
+
/**
|
|
2376
|
+
* Authorize Agent
|
|
2377
|
+
* @description Mint a fresh, TTL'd session for the caller's own agent.
|
|
2378
|
+
*
|
|
2379
|
+
* Standalone version of the session-mint step ``useRunTaskWithAuth`` performs
|
|
2380
|
+
* inline for a task run (``POST /v1/tasks/{id}/run``) — same primitive
|
|
2381
|
+
* (:func:`mint_agent_session`), just triggerable on its own instead of bundled
|
|
2382
|
+
* into running something. Returns the session's public key so the caller's
|
|
2383
|
+
* client can immediately deposit a temporary workspace key onto it via the
|
|
2384
|
+
* ordinary ``POST /v1/workspace/users`` (``session_pubkey_b64`` branch) —
|
|
2385
|
+
* mirroring the task flow's second step exactly. The session's remaining
|
|
2386
|
+
* time can be checked or ended early afterward via the generic session
|
|
2387
|
+
* endpoints, not extended (see the module docstring above).
|
|
2388
|
+
*/
|
|
2389
|
+
post: operations['authorize_agent'];
|
|
2390
|
+
delete?: never;
|
|
2391
|
+
options?: never;
|
|
2392
|
+
head?: never;
|
|
2393
|
+
patch?: never;
|
|
2394
|
+
trace?: never;
|
|
2395
|
+
};
|
|
2348
2396
|
'/v1/agents/{agent_ext_id}': {
|
|
2349
2397
|
parameters: {
|
|
2350
2398
|
query?: never;
|
|
@@ -3689,6 +3737,12 @@ interface components {
|
|
|
3689
3737
|
* @default false
|
|
3690
3738
|
*/
|
|
3691
3739
|
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
3740
|
+
/**
|
|
3741
|
+
* Remote Control Enabled
|
|
3742
|
+
* @description Enable the control_ui tool so the agent can drive the user's frontend with a guided cursor (click/type on their screen), gated by the user's consent. Pushes a remote_control WebSocket message to the user's session. Off by default.
|
|
3743
|
+
* @default false
|
|
3744
|
+
*/
|
|
3745
|
+
REMOTE_CONTROL_ENABLED: boolean;
|
|
3692
3746
|
/**
|
|
3693
3747
|
* Enabled Skills
|
|
3694
3748
|
* @description Allowlist of skill slugs this config may invoke via run_skill/list_skills. None = no restriction (every skill the caller can see — back-compat default). A list (including []) restricts to exactly those slugs. Set a list on an agent's config to scope which skills that agent can use.
|
|
@@ -3944,6 +3998,12 @@ interface components {
|
|
|
3944
3998
|
* @default false
|
|
3945
3999
|
*/
|
|
3946
4000
|
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
4001
|
+
/**
|
|
4002
|
+
* Remote Control Enabled
|
|
4003
|
+
* @description Enable the control_ui tool so the agent can drive the user's frontend with a guided cursor (click/type on their screen), gated by the user's consent. Pushes a remote_control WebSocket message to the user's session. Off by default.
|
|
4004
|
+
* @default false
|
|
4005
|
+
*/
|
|
4006
|
+
REMOTE_CONTROL_ENABLED: boolean;
|
|
3947
4007
|
/**
|
|
3948
4008
|
* Enabled Skills
|
|
3949
4009
|
* @description Allowlist of skill slugs this config may invoke via run_skill/list_skills. None = no restriction (every skill the caller can see — back-compat default). A list (including []) restricts to exactly those slugs. Set a list on an agent's config to scope which skills that agent can use.
|
|
@@ -4015,6 +4075,7 @@ interface components {
|
|
|
4015
4075
|
* "SKILLS_ENABLED": false,
|
|
4016
4076
|
* "SKILL_CREATION": false,
|
|
4017
4077
|
* "WORKSPACE_TOOLS_ENABLED": false,
|
|
4078
|
+
* "REMOTE_CONTROL_ENABLED": false,
|
|
4018
4079
|
* "MEMORY_CREATION": false,
|
|
4019
4080
|
* "GOALS_ENABLED": false,
|
|
4020
4081
|
* "GOAL_MAX_OUTER_LOOPS": 6,
|
|
@@ -4653,6 +4714,46 @@ interface components {
|
|
|
4653
4714
|
/** Reason */
|
|
4654
4715
|
reason?: string | null;
|
|
4655
4716
|
};
|
|
4717
|
+
/**
|
|
4718
|
+
* AuthorizeAgentRequest
|
|
4719
|
+
* @description Body for POST /agents/{agent_ext_id}/authorize.
|
|
4720
|
+
*/
|
|
4721
|
+
AuthorizeAgentRequest: {
|
|
4722
|
+
/** Workspace Ext Id */
|
|
4723
|
+
workspace_ext_id: string;
|
|
4724
|
+
/**
|
|
4725
|
+
* Ttl Seconds
|
|
4726
|
+
* @description Omit for the deployment default (see GET /agents/authorize-limits).
|
|
4727
|
+
*/
|
|
4728
|
+
ttl_seconds?: number | null;
|
|
4729
|
+
};
|
|
4730
|
+
/**
|
|
4731
|
+
* AuthorizeAgentResponse
|
|
4732
|
+
* @description What the caller's client needs to deposit a temporary workspace key onto
|
|
4733
|
+
* the freshly-minted session — the same shape a task run's
|
|
4734
|
+
* ``pending_auth_session_pubkey`` / ``pending_auth_agent_email`` fields carry.
|
|
4735
|
+
*/
|
|
4736
|
+
AuthorizeAgentResponse: {
|
|
4737
|
+
/** Session Pubkey B64 */
|
|
4738
|
+
session_pubkey_b64: string;
|
|
4739
|
+
/** Agent Email */
|
|
4740
|
+
agent_email: string;
|
|
4741
|
+
/** Ttl */
|
|
4742
|
+
ttl: number;
|
|
4743
|
+
};
|
|
4744
|
+
/**
|
|
4745
|
+
* AuthorizeLimitsResponse
|
|
4746
|
+
* @description Bounds for ``authorize``'s ``ttl_seconds`` — lets a client show/enforce
|
|
4747
|
+
* the real default and max instead of guessing or discovering them via a 422.
|
|
4748
|
+
* Deployment-tunable (``AGENT_AUTHORIZE_DEFAULT_TTL_SECONDS`` /
|
|
4749
|
+
* ``AGENT_AUTHORIZE_MAX_TTL_SECONDS`` env vars), not hardcoded to 4h.
|
|
4750
|
+
*/
|
|
4751
|
+
AuthorizeLimitsResponse: {
|
|
4752
|
+
/** Default Ttl Seconds */
|
|
4753
|
+
default_ttl_seconds: number;
|
|
4754
|
+
/** Max Ttl Seconds */
|
|
4755
|
+
max_ttl_seconds: number;
|
|
4756
|
+
};
|
|
4656
4757
|
/**
|
|
4657
4758
|
* BatchCompleteMessage
|
|
4658
4759
|
* @description Notification that a batch operation (upload or doctag generation) completed.
|
|
@@ -8799,6 +8900,55 @@ interface components {
|
|
|
8799
8900
|
/** Lead Minutes */
|
|
8800
8901
|
lead_minutes?: number | null;
|
|
8801
8902
|
};
|
|
8903
|
+
/**
|
|
8904
|
+
* RemoteControlMessage
|
|
8905
|
+
* @description Ask the user's frontend to run a guided-cursor UI action (remote control).
|
|
8906
|
+
*
|
|
8907
|
+
* The model emits this via the ``control_ui`` tool to demonstrate or perform
|
|
8908
|
+
* an action on the user's screen. The frontend gates it behind the user's
|
|
8909
|
+
* consent, then either replays a registered ``sequence_id`` or the explicit
|
|
8910
|
+
* ``steps``. Exactly one of ``sequence_id`` / ``steps`` is set.
|
|
8911
|
+
*/
|
|
8912
|
+
RemoteControlMessage: {
|
|
8913
|
+
/**
|
|
8914
|
+
* Type
|
|
8915
|
+
* @default remote_control
|
|
8916
|
+
* @constant
|
|
8917
|
+
*/
|
|
8918
|
+
type: 'remote_control';
|
|
8919
|
+
/** Agent Name */
|
|
8920
|
+
agent_name: string;
|
|
8921
|
+
/** Agent Ext Id */
|
|
8922
|
+
agent_ext_id?: string | null;
|
|
8923
|
+
/** Sequence Id */
|
|
8924
|
+
sequence_id?: string | null;
|
|
8925
|
+
/** Steps */
|
|
8926
|
+
steps?: components['schemas']['RemoteControlStep'][] | null;
|
|
8927
|
+
};
|
|
8928
|
+
/**
|
|
8929
|
+
* RemoteControlStep
|
|
8930
|
+
* @description One guided-cursor step the frontend action runner replays.
|
|
8931
|
+
*
|
|
8932
|
+
* Field names are the ones the frontend's guided-step runner consumes
|
|
8933
|
+
* verbatim, so ``pauseMs``/``waitMs`` stay camelCase even though the envelope
|
|
8934
|
+
* around them is snake_case. ``target`` is a ``[data-testid=…]`` selector and
|
|
8935
|
+
* is required; ``do`` defaults to a click; ``value`` is the text for a
|
|
8936
|
+
* ``type`` step.
|
|
8937
|
+
*/
|
|
8938
|
+
RemoteControlStep: {
|
|
8939
|
+
/** Target */
|
|
8940
|
+
target: string;
|
|
8941
|
+
/** Do */
|
|
8942
|
+
do?: ('click' | 'type') | null;
|
|
8943
|
+
/** Value */
|
|
8944
|
+
value?: string | null;
|
|
8945
|
+
/** Note */
|
|
8946
|
+
note?: string | null;
|
|
8947
|
+
/** Pausems */
|
|
8948
|
+
pauseMs?: number | null;
|
|
8949
|
+
/** Waitms */
|
|
8950
|
+
waitMs?: number | null;
|
|
8951
|
+
};
|
|
8802
8952
|
/**
|
|
8803
8953
|
* RemoveWorkspaceUserItem
|
|
8804
8954
|
* @description A user or agent to remove from a workspace.
|
|
@@ -10019,7 +10169,7 @@ interface components {
|
|
|
10019
10169
|
SessionTTLPatchRequest: {
|
|
10020
10170
|
/**
|
|
10021
10171
|
* Ttl
|
|
10022
|
-
* @description New remaining TTL in seconds. 0 expires the session immediately; any other value
|
|
10172
|
+
* @description New remaining TTL in seconds. 0 expires the session immediately; any other value must be LESS than the session's current remaining TTL — sessions can be ended early or shortened, never extended.
|
|
10023
10173
|
*/
|
|
10024
10174
|
ttl: number;
|
|
10025
10175
|
};
|
|
@@ -11677,6 +11827,7 @@ interface components {
|
|
|
11677
11827
|
response_complete?: components['schemas']['ResponseCompleteMessage'] | null;
|
|
11678
11828
|
conversation_title_updated?: components['schemas']['ConversationTitleUpdatedMessage'] | null;
|
|
11679
11829
|
skills_updated?: components['schemas']['SkillsUpdatedMessage'] | null;
|
|
11830
|
+
remote_control?: components['schemas']['RemoteControlMessage'] | null;
|
|
11680
11831
|
notification?: components['schemas']['NotificationResponse'] | null;
|
|
11681
11832
|
auth?: components['schemas']['AuthMessage'] | null;
|
|
11682
11833
|
send_message?: components['schemas']['SendMessageRequest'] | null;
|
|
@@ -15271,6 +15422,62 @@ interface operations {
|
|
|
15271
15422
|
};
|
|
15272
15423
|
};
|
|
15273
15424
|
};
|
|
15425
|
+
get_authorize_limits: {
|
|
15426
|
+
parameters: {
|
|
15427
|
+
query?: never;
|
|
15428
|
+
header?: never;
|
|
15429
|
+
path?: never;
|
|
15430
|
+
cookie?: never;
|
|
15431
|
+
};
|
|
15432
|
+
requestBody?: never;
|
|
15433
|
+
responses: {
|
|
15434
|
+
/** @description Successful Response */
|
|
15435
|
+
200: {
|
|
15436
|
+
headers: {
|
|
15437
|
+
[name: string]: unknown;
|
|
15438
|
+
};
|
|
15439
|
+
content: {
|
|
15440
|
+
'application/json': components['schemas']['AuthorizeLimitsResponse'];
|
|
15441
|
+
};
|
|
15442
|
+
};
|
|
15443
|
+
};
|
|
15444
|
+
};
|
|
15445
|
+
authorize_agent: {
|
|
15446
|
+
parameters: {
|
|
15447
|
+
query?: never;
|
|
15448
|
+
header?: never;
|
|
15449
|
+
path: {
|
|
15450
|
+
/** @description Agent external id (agt-XXXXXXXX) */
|
|
15451
|
+
agent_ext_id: string;
|
|
15452
|
+
};
|
|
15453
|
+
cookie?: never;
|
|
15454
|
+
};
|
|
15455
|
+
requestBody: {
|
|
15456
|
+
content: {
|
|
15457
|
+
'application/json': components['schemas']['AuthorizeAgentRequest'];
|
|
15458
|
+
};
|
|
15459
|
+
};
|
|
15460
|
+
responses: {
|
|
15461
|
+
/** @description Successful Response */
|
|
15462
|
+
200: {
|
|
15463
|
+
headers: {
|
|
15464
|
+
[name: string]: unknown;
|
|
15465
|
+
};
|
|
15466
|
+
content: {
|
|
15467
|
+
'application/json': components['schemas']['AuthorizeAgentResponse'];
|
|
15468
|
+
};
|
|
15469
|
+
};
|
|
15470
|
+
/** @description Validation Error */
|
|
15471
|
+
422: {
|
|
15472
|
+
headers: {
|
|
15473
|
+
[name: string]: unknown;
|
|
15474
|
+
};
|
|
15475
|
+
content: {
|
|
15476
|
+
'application/json': components['schemas']['HTTPValidationError'];
|
|
15477
|
+
};
|
|
15478
|
+
};
|
|
15479
|
+
};
|
|
15480
|
+
};
|
|
15274
15481
|
update_agent: {
|
|
15275
15482
|
parameters: {
|
|
15276
15483
|
query?: never;
|
package/package.json
CHANGED