@arbidocs/sdk 0.3.101 → 0.3.103
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/{browser-C59SStkH.d.cts → browser-NpucdgQ1.d.cts} +537 -1
- package/dist/{browser-C59SStkH.d.ts → browser-NpucdgQ1.d.ts} +537 -1
- package/dist/browser.cjs +128 -0
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +127 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +112 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +286 -4
- package/dist/index.d.ts +286 -4
- package/dist/index.js +112 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1444,6 +1444,76 @@ declare namespace files {
|
|
|
1444
1444
|
export { type files_FileDeleteResponse as FileDeleteResponse, type files_FileListResponse as FileListResponse, type files_FileObject as FileObject, type files_ListFilesOptions as ListFilesOptions, files_deleteFile as deleteFile, files_getFile as getFile, files_getFileContent as getFileContent, files_listFiles as listFiles, files_uploadFile as uploadFile };
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
1447
|
+
/**
|
|
1448
|
+
* Scheduled agent tasks — one-time, recurring (RFC-5545 rrule) or event-triggered
|
|
1449
|
+
* jobs whose action is a reminder, an agent prompt, or a skill run.
|
|
1450
|
+
* Backend: `/v1/tasks` (src/api/v1/routers/tasks.py).
|
|
1451
|
+
*/
|
|
1452
|
+
|
|
1453
|
+
type TaskResponse = components['schemas']['TaskResponse'];
|
|
1454
|
+
type CreateTaskRequest = components['schemas']['CreateTaskRequest'];
|
|
1455
|
+
type UpdateTaskRequest = components['schemas']['UpdateTaskRequest'];
|
|
1456
|
+
/** List the caller's scheduled tasks (newest first). */
|
|
1457
|
+
declare function listTasks(arbi: ArbiClient): Promise<TaskResponse[]>;
|
|
1458
|
+
/** Create a scheduled task. `name` is required; supply trigger + action fields. */
|
|
1459
|
+
declare function createTask(arbi: ArbiClient, body: CreateTaskRequest): Promise<TaskResponse>;
|
|
1460
|
+
declare function getTask(arbi: ArbiClient, taskId: string): Promise<TaskResponse>;
|
|
1461
|
+
/** Update a task — including `status` to pause/resume (`active` | `paused`). */
|
|
1462
|
+
declare function updateTask(arbi: ArbiClient, taskId: string, body: UpdateTaskRequest): Promise<TaskResponse>;
|
|
1463
|
+
declare function deleteTask(arbi: ArbiClient, taskId: string): Promise<void>;
|
|
1464
|
+
/** Fire a task immediately without advancing its schedule. */
|
|
1465
|
+
declare function runTask(arbi: ArbiClient, taskId: string): Promise<TaskResponse>;
|
|
1466
|
+
|
|
1467
|
+
type tasks_CreateTaskRequest = CreateTaskRequest;
|
|
1468
|
+
type tasks_TaskResponse = TaskResponse;
|
|
1469
|
+
type tasks_UpdateTaskRequest = UpdateTaskRequest;
|
|
1470
|
+
declare const tasks_createTask: typeof createTask;
|
|
1471
|
+
declare const tasks_deleteTask: typeof deleteTask;
|
|
1472
|
+
declare const tasks_getTask: typeof getTask;
|
|
1473
|
+
declare const tasks_listTasks: typeof listTasks;
|
|
1474
|
+
declare const tasks_runTask: typeof runTask;
|
|
1475
|
+
declare const tasks_updateTask: typeof updateTask;
|
|
1476
|
+
declare namespace tasks {
|
|
1477
|
+
export { type tasks_CreateTaskRequest as CreateTaskRequest, type tasks_TaskResponse as TaskResponse, type tasks_UpdateTaskRequest as UpdateTaskRequest, tasks_createTask as createTask, tasks_deleteTask as deleteTask, tasks_getTask as getTask, tasks_listTasks as listTasks, tasks_runTask as runTask, tasks_updateTask as updateTask };
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* Workspace memory — per-workspace encrypted knowledge notes with citations.
|
|
1482
|
+
* The firm's practice profile / house style / precedent knowhow lives here and is
|
|
1483
|
+
* read by grounded agents. All endpoints require an OPEN workspace.
|
|
1484
|
+
* Backend: `/v1/memory` (src/api/v1/routers/memory.py).
|
|
1485
|
+
*/
|
|
1486
|
+
|
|
1487
|
+
type MemoryResponse = components['schemas']['MemoryResponse'];
|
|
1488
|
+
type CreateMemoryRequest = components['schemas']['CreateMemoryRequest'];
|
|
1489
|
+
type UpdateMemoryRequest = components['schemas']['UpdateMemoryRequest'];
|
|
1490
|
+
type MemorySearchRequest = components['schemas']['MemorySearchRequest'];
|
|
1491
|
+
type MemorySearchResponse = components['schemas']['MemorySearchResponse'];
|
|
1492
|
+
/** Create a memory. `content` is required; `shared` makes it workspace-wide. */
|
|
1493
|
+
declare function createMemory(arbi: ArbiClient, body: CreateMemoryRequest): Promise<MemoryResponse>;
|
|
1494
|
+
/** List the open workspace's memories (newest first). */
|
|
1495
|
+
declare function listMemories(arbi: ArbiClient, options?: {
|
|
1496
|
+
pinnedOnly?: boolean;
|
|
1497
|
+
}): Promise<MemoryResponse[]>;
|
|
1498
|
+
/** Semantic/keyword/hybrid search across the workspace's memories. */
|
|
1499
|
+
declare function searchMemories(arbi: ArbiClient, body: MemorySearchRequest): Promise<MemorySearchResponse>;
|
|
1500
|
+
declare function updateMemory(arbi: ArbiClient, memoryId: string, body: UpdateMemoryRequest): Promise<MemoryResponse>;
|
|
1501
|
+
declare function deleteMemory(arbi: ArbiClient, memoryId: string): Promise<void>;
|
|
1502
|
+
|
|
1503
|
+
type memory_CreateMemoryRequest = CreateMemoryRequest;
|
|
1504
|
+
type memory_MemoryResponse = MemoryResponse;
|
|
1505
|
+
type memory_MemorySearchRequest = MemorySearchRequest;
|
|
1506
|
+
type memory_MemorySearchResponse = MemorySearchResponse;
|
|
1507
|
+
type memory_UpdateMemoryRequest = UpdateMemoryRequest;
|
|
1508
|
+
declare const memory_createMemory: typeof createMemory;
|
|
1509
|
+
declare const memory_deleteMemory: typeof deleteMemory;
|
|
1510
|
+
declare const memory_listMemories: typeof listMemories;
|
|
1511
|
+
declare const memory_searchMemories: typeof searchMemories;
|
|
1512
|
+
declare const memory_updateMemory: typeof updateMemory;
|
|
1513
|
+
declare namespace memory {
|
|
1514
|
+
export { type memory_CreateMemoryRequest as CreateMemoryRequest, type memory_MemoryResponse as MemoryResponse, type memory_MemorySearchRequest as MemorySearchRequest, type memory_MemorySearchResponse as MemorySearchResponse, type memory_UpdateMemoryRequest as UpdateMemoryRequest, memory_createMemory as createMemory, memory_deleteMemory as deleteMemory, memory_listMemories as listMemories, memory_searchMemories as searchMemories, memory_updateMemory as updateMemory };
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1447
1517
|
/**
|
|
1448
1518
|
* High-level convenience class that wraps the full ARBI stack into a simple API.
|
|
1449
1519
|
*
|
|
@@ -3172,10 +3242,476 @@ declare class Arbi {
|
|
|
3172
3242
|
encryption_public_key: string;
|
|
3173
3243
|
is_sso: boolean;
|
|
3174
3244
|
}[]>;
|
|
3245
|
+
create: (name: string) => Promise<{
|
|
3246
|
+
external_id: string;
|
|
3247
|
+
parent_ext_id?: string | null;
|
|
3248
|
+
email: string;
|
|
3249
|
+
given_name: string;
|
|
3250
|
+
family_name?: string | null;
|
|
3251
|
+
picture?: string | null;
|
|
3252
|
+
encryption_public_key: string;
|
|
3253
|
+
is_sso: boolean;
|
|
3254
|
+
signing_private_key: string;
|
|
3255
|
+
}>;
|
|
3256
|
+
getConfig: (agentExtId: string) => Promise<{
|
|
3257
|
+
Agents: {
|
|
3258
|
+
ENABLED: boolean;
|
|
3259
|
+
HUMAN_IN_THE_LOOP: boolean;
|
|
3260
|
+
WEB_SEARCH_ENABLED: boolean;
|
|
3261
|
+
RUN_CODE_ENABLED: boolean;
|
|
3262
|
+
MCP_TOOLS: string[];
|
|
3263
|
+
PLANNING_ENABLED: boolean;
|
|
3264
|
+
DEEP_RESEARCH_ENABLED: boolean;
|
|
3265
|
+
SUGGESTED_QUERIES: boolean;
|
|
3266
|
+
ARTIFACTS_ENABLED: boolean;
|
|
3267
|
+
VISION_ENABLED: boolean;
|
|
3268
|
+
CONVERSATION_SEARCH_ENABLED: boolean;
|
|
3269
|
+
PERSONAL_AGENT: boolean;
|
|
3270
|
+
MEMORY_ENABLED: boolean;
|
|
3271
|
+
PERSIST_LEARNINGS: boolean;
|
|
3272
|
+
SKILLS_ENABLED: boolean;
|
|
3273
|
+
SKILL_CREATION: boolean;
|
|
3274
|
+
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
3275
|
+
ENABLED_SKILLS?: string[] | null | undefined;
|
|
3276
|
+
MEMORY_CREATION: boolean;
|
|
3277
|
+
GOALS_ENABLED: boolean;
|
|
3278
|
+
GOAL_MAX_OUTER_LOOPS: number;
|
|
3279
|
+
PERSONA: string;
|
|
3280
|
+
AGENT_MODEL_NAME: string;
|
|
3281
|
+
AGENT_API_TYPE: "local" | "remote";
|
|
3282
|
+
LLM_AGENT_TEMPERATURE: number;
|
|
3283
|
+
AGENT_MAX_TOKENS: number;
|
|
3284
|
+
ENABLE_THINKING: boolean;
|
|
3285
|
+
AGENT_STRICT_TOOL_CALLS: boolean;
|
|
3286
|
+
AGENT_MAX_ITERATIONS: number;
|
|
3287
|
+
AGENT_MAX_PARALLEL_TOOL_CALLS: number;
|
|
3288
|
+
AGENT_HISTORY_CHAR_THRESHOLD: number;
|
|
3289
|
+
AGENT_SYSTEM_PROMPT: string;
|
|
3290
|
+
};
|
|
3291
|
+
QueryLLM: {
|
|
3292
|
+
API_TYPE: "local" | "remote";
|
|
3293
|
+
ENABLE_THINKING: boolean;
|
|
3294
|
+
MODEL_NAME: string;
|
|
3295
|
+
SYSTEM_INSTRUCTION: string;
|
|
3296
|
+
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
3297
|
+
TEMPERATURE: number;
|
|
3298
|
+
MAX_TOKENS: number;
|
|
3299
|
+
};
|
|
3300
|
+
ReviewLLM: {
|
|
3301
|
+
API_TYPE: "local" | "remote";
|
|
3302
|
+
ENABLE_THINKING: boolean;
|
|
3303
|
+
MODEL_NAME: string;
|
|
3304
|
+
SYSTEM_INSTRUCTION: string;
|
|
3305
|
+
TEMPERATURE: number;
|
|
3306
|
+
MAX_TOKENS: number;
|
|
3307
|
+
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
3308
|
+
};
|
|
3309
|
+
EvaluatorLLM: {
|
|
3310
|
+
API_TYPE: "local" | "remote";
|
|
3311
|
+
ENABLE_THINKING: boolean;
|
|
3312
|
+
MODEL_NAME: string;
|
|
3313
|
+
SYSTEM_INSTRUCTION: string;
|
|
3314
|
+
TEMPERATURE: number;
|
|
3315
|
+
MAX_TOKENS: number;
|
|
3316
|
+
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
3317
|
+
};
|
|
3318
|
+
TitleLLM: {
|
|
3319
|
+
API_TYPE: "local" | "remote";
|
|
3320
|
+
ENABLE_THINKING: boolean;
|
|
3321
|
+
MODEL_NAME: string;
|
|
3322
|
+
SYSTEM_INSTRUCTION: string;
|
|
3323
|
+
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
3324
|
+
TEMPERATURE: number;
|
|
3325
|
+
MAX_TOKENS: number;
|
|
3326
|
+
};
|
|
3327
|
+
SummariseLLM: {
|
|
3328
|
+
API_TYPE: "local" | "remote";
|
|
3329
|
+
ENABLE_THINKING: boolean;
|
|
3330
|
+
MODEL_NAME: string;
|
|
3331
|
+
SYSTEM_INSTRUCTION: string;
|
|
3332
|
+
TEMPERATURE: number;
|
|
3333
|
+
MAX_TOKENS: number;
|
|
3334
|
+
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
3335
|
+
COMPACTION_THRESHOLD_TOKENS: number;
|
|
3336
|
+
COMPACTION_KEEP_RECENT: number;
|
|
3337
|
+
};
|
|
3338
|
+
DoctagLLM: {
|
|
3339
|
+
API_TYPE: "local" | "remote";
|
|
3340
|
+
ENABLE_THINKING: boolean;
|
|
3341
|
+
MODEL_NAME: string;
|
|
3342
|
+
SYSTEM_INSTRUCTION: string;
|
|
3343
|
+
MAX_TOKEN_CONTEXT_TO_ANSWER: number;
|
|
3344
|
+
TEMPERATURE: number;
|
|
3345
|
+
MAX_TOKENS: number;
|
|
3346
|
+
MAX_CONCURRENT_DOCS: number;
|
|
3347
|
+
AUTO_RENAME: boolean;
|
|
3348
|
+
AUTO_RENAME_INSTRUCTION: string;
|
|
3349
|
+
DEFAULT_METADATA_TAGS?: {
|
|
3350
|
+
name: string;
|
|
3351
|
+
instruction?: string | null | undefined;
|
|
3352
|
+
tag_type?: {
|
|
3353
|
+
type: "checkbox" | "text" | "number" | "select" | "search" | "date";
|
|
3354
|
+
options: string[];
|
|
3355
|
+
} | undefined;
|
|
3356
|
+
}[] | undefined;
|
|
3357
|
+
};
|
|
3358
|
+
MemoryLLM: {
|
|
3359
|
+
API_TYPE: "local" | "remote";
|
|
3360
|
+
ENABLE_THINKING: boolean;
|
|
3361
|
+
MODEL_NAME: string;
|
|
3362
|
+
SYSTEM_INSTRUCTION: string;
|
|
3363
|
+
TEMPERATURE: number;
|
|
3364
|
+
MAX_TOKENS: number;
|
|
3365
|
+
MAX_TOKEN_CONTEXT: number;
|
|
3366
|
+
MAX_CONCURRENT: number;
|
|
3367
|
+
};
|
|
3368
|
+
PlanningLLM: {
|
|
3369
|
+
API_TYPE: "local" | "remote";
|
|
3370
|
+
ENABLE_THINKING: boolean;
|
|
3371
|
+
MODEL_NAME: string;
|
|
3372
|
+
SYSTEM_INSTRUCTION: string;
|
|
3373
|
+
TEMPERATURE: number;
|
|
3374
|
+
MAX_TOKENS: number;
|
|
3375
|
+
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
3376
|
+
APPROVAL_TIMEOUT: number;
|
|
3377
|
+
};
|
|
3378
|
+
FilterPlanLLM: {
|
|
3379
|
+
API_TYPE: "local" | "remote";
|
|
3380
|
+
ENABLE_THINKING: boolean;
|
|
3381
|
+
MODEL_NAME: string;
|
|
3382
|
+
SYSTEM_INSTRUCTION: string;
|
|
3383
|
+
TEMPERATURE: number;
|
|
3384
|
+
MAX_TOKENS: number;
|
|
3385
|
+
};
|
|
3386
|
+
VisionLLM: {
|
|
3387
|
+
API_TYPE: "local" | "remote";
|
|
3388
|
+
ENABLE_THINKING: boolean;
|
|
3389
|
+
MODEL_NAME: string;
|
|
3390
|
+
TEMPERATURE: number;
|
|
3391
|
+
MAX_TOKENS: number;
|
|
3392
|
+
MAX_PAGES_PER_CALL: number;
|
|
3393
|
+
IMAGE_MAX_DIMENSION: number;
|
|
3394
|
+
};
|
|
3395
|
+
CodeAgent: {
|
|
3396
|
+
API_TYPE: "local" | "remote";
|
|
3397
|
+
ENABLE_THINKING: boolean;
|
|
3398
|
+
MODEL_NAME: string;
|
|
3399
|
+
SYSTEM_INSTRUCTION: string;
|
|
3400
|
+
TEMPERATURE: number;
|
|
3401
|
+
MAX_TOKENS: number;
|
|
3402
|
+
MAX_ITERATIONS: number;
|
|
3403
|
+
};
|
|
3404
|
+
ModelCitation: {
|
|
3405
|
+
SIM_THREASHOLD: number;
|
|
3406
|
+
MIN_CHAR_SIZE_TO_ANSWER: number;
|
|
3407
|
+
MAX_NUMB_CITATIONS: number;
|
|
3408
|
+
CITATION_INSTRUCTION: string;
|
|
3409
|
+
};
|
|
3410
|
+
WebSearch: {
|
|
3411
|
+
SAVE_SOURCES: boolean;
|
|
3412
|
+
};
|
|
3413
|
+
RunCode: {
|
|
3414
|
+
IMAGE: string;
|
|
3415
|
+
TIMEOUT_SECONDS: number;
|
|
3416
|
+
MEMORY_LIMIT: string;
|
|
3417
|
+
NETWORK: string;
|
|
3418
|
+
};
|
|
3419
|
+
Retriever: {
|
|
3420
|
+
agent?: {
|
|
3421
|
+
MIN_RETRIEVAL_SIM_SCORE: number;
|
|
3422
|
+
KEYWORD_MIN_TERM_OVERLAP_RATIO: number;
|
|
3423
|
+
MAX_DISTINCT_DOCUMENTS: number;
|
|
3424
|
+
MAX_TOTAL_CHUNKS_TO_RETRIEVE: number;
|
|
3425
|
+
GROUP_SIZE: number;
|
|
3426
|
+
SEARCH_MODE: components["schemas"]["SearchMode"];
|
|
3427
|
+
HYBRID_PREFETCH_LIMIT: number;
|
|
3428
|
+
HYBRID_DENSE_WEIGHT: number;
|
|
3429
|
+
HYBRID_SPARSE_WEIGHT: number;
|
|
3430
|
+
} | undefined;
|
|
3431
|
+
smart_search?: {
|
|
3432
|
+
MIN_RETRIEVAL_SIM_SCORE: number;
|
|
3433
|
+
KEYWORD_MIN_TERM_OVERLAP_RATIO: number;
|
|
3434
|
+
MAX_DISTINCT_DOCUMENTS: number;
|
|
3435
|
+
MAX_TOTAL_CHUNKS_TO_RETRIEVE: number;
|
|
3436
|
+
GROUP_SIZE: number;
|
|
3437
|
+
SEARCH_MODE: components["schemas"]["SearchMode"];
|
|
3438
|
+
HYBRID_PREFETCH_LIMIT: number;
|
|
3439
|
+
HYBRID_DENSE_WEIGHT: number;
|
|
3440
|
+
HYBRID_SPARSE_WEIGHT: number;
|
|
3441
|
+
} | undefined;
|
|
3442
|
+
};
|
|
3443
|
+
Reranker: {
|
|
3444
|
+
agent?: {
|
|
3445
|
+
MIN_SCORE: number;
|
|
3446
|
+
MAX_NUMB_OF_CHUNKS: number;
|
|
3447
|
+
} | undefined;
|
|
3448
|
+
smart_search?: {
|
|
3449
|
+
MIN_SCORE: number;
|
|
3450
|
+
MAX_NUMB_OF_CHUNKS: number;
|
|
3451
|
+
} | undefined;
|
|
3452
|
+
MAX_CONCURRENT_REQUESTS: number;
|
|
3453
|
+
MODEL_NAME: string;
|
|
3454
|
+
API_TYPE: "local" | "remote";
|
|
3455
|
+
RETRIEVAL_INSTRUCTION: string;
|
|
3456
|
+
};
|
|
3457
|
+
Parser: {
|
|
3458
|
+
SKIP_DUPLICATES: boolean;
|
|
3459
|
+
};
|
|
3460
|
+
Chunker: {
|
|
3461
|
+
MAX_CHUNK_TOKENS: number;
|
|
3462
|
+
TOKENIZER_NAME: string;
|
|
3463
|
+
};
|
|
3464
|
+
Embedder: {
|
|
3465
|
+
MODEL_NAME: string;
|
|
3466
|
+
API_TYPE: "local" | "remote";
|
|
3467
|
+
BATCH_SIZE: number;
|
|
3468
|
+
MAX_CONCURRENT_REQUESTS: number;
|
|
3469
|
+
DOCUMENT_PREFIX: string;
|
|
3470
|
+
QUERY_PREFIX: string;
|
|
3471
|
+
};
|
|
3472
|
+
KeywordEmbedder: {
|
|
3473
|
+
DIMENSION_SPACE: number;
|
|
3474
|
+
FILTER_STOPWORDS: boolean;
|
|
3475
|
+
BM25_K1: number;
|
|
3476
|
+
BM25_B: number;
|
|
3477
|
+
BM25_AVGDL: number;
|
|
3478
|
+
CJK_NGRAM_SIZE: number;
|
|
3479
|
+
NORMALIZE_TRADITIONAL_TO_SIMPLIFIED: boolean;
|
|
3480
|
+
};
|
|
3481
|
+
} | {
|
|
3482
|
+
Agents: {
|
|
3483
|
+
ENABLED: boolean;
|
|
3484
|
+
HUMAN_IN_THE_LOOP: boolean;
|
|
3485
|
+
WEB_SEARCH_ENABLED: boolean;
|
|
3486
|
+
RUN_CODE_ENABLED: boolean;
|
|
3487
|
+
MCP_TOOLS: string[];
|
|
3488
|
+
PLANNING_ENABLED: boolean;
|
|
3489
|
+
DEEP_RESEARCH_ENABLED: boolean;
|
|
3490
|
+
SUGGESTED_QUERIES: boolean;
|
|
3491
|
+
ARTIFACTS_ENABLED: boolean;
|
|
3492
|
+
VISION_ENABLED: boolean;
|
|
3493
|
+
CONVERSATION_SEARCH_ENABLED: boolean;
|
|
3494
|
+
MEMORY_ENABLED: boolean;
|
|
3495
|
+
PERSIST_LEARNINGS: boolean;
|
|
3496
|
+
SKILLS_ENABLED: boolean;
|
|
3497
|
+
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
3498
|
+
ENABLED_SKILLS?: string[] | null | undefined;
|
|
3499
|
+
GOALS_ENABLED: boolean;
|
|
3500
|
+
GOAL_MAX_OUTER_LOOPS: number;
|
|
3501
|
+
PERSONA: string;
|
|
3502
|
+
AGENT_MODEL_NAME: string;
|
|
3503
|
+
ENABLE_THINKING: boolean;
|
|
3504
|
+
AGENT_MAX_ITERATIONS: number;
|
|
3505
|
+
};
|
|
3506
|
+
DoctagLLM: {
|
|
3507
|
+
AUTO_RENAME: boolean;
|
|
3508
|
+
AUTO_RENAME_INSTRUCTION: string;
|
|
3509
|
+
DEFAULT_METADATA_TAGS?: {
|
|
3510
|
+
name: string;
|
|
3511
|
+
instruction?: string | null | undefined;
|
|
3512
|
+
tag_type?: {
|
|
3513
|
+
type: "checkbox" | "text" | "number" | "select" | "search" | "date";
|
|
3514
|
+
options: string[];
|
|
3515
|
+
} | undefined;
|
|
3516
|
+
}[] | undefined;
|
|
3517
|
+
};
|
|
3518
|
+
Parser: {
|
|
3519
|
+
SKIP_DUPLICATES: boolean;
|
|
3520
|
+
};
|
|
3521
|
+
}>;
|
|
3522
|
+
listWorkspaces: (agentExtId: string) => Promise<{
|
|
3523
|
+
workspace_ext_id: string;
|
|
3524
|
+
name: string;
|
|
3525
|
+
role: components["schemas"]["WorkspaceRole"];
|
|
3526
|
+
joined_at: string;
|
|
3527
|
+
}[]>;
|
|
3175
3528
|
delete: (agentExtIds: string[]) => Promise<{
|
|
3176
3529
|
[x: string]: unknown;
|
|
3177
3530
|
}>;
|
|
3178
3531
|
};
|
|
3532
|
+
readonly tasks: {
|
|
3533
|
+
list: () => Promise<{
|
|
3534
|
+
external_id: string;
|
|
3535
|
+
name: string;
|
|
3536
|
+
trigger_type: string;
|
|
3537
|
+
rrule: string | null;
|
|
3538
|
+
run_at: string | null;
|
|
3539
|
+
timezone: string;
|
|
3540
|
+
event_kind: string | null;
|
|
3541
|
+
action_type: string;
|
|
3542
|
+
prompt: string;
|
|
3543
|
+
skill_ref: string | null;
|
|
3544
|
+
status: string;
|
|
3545
|
+
next_run_at: string | null;
|
|
3546
|
+
last_run_at: string | null;
|
|
3547
|
+
last_error: string | null;
|
|
3548
|
+
in_progress: boolean;
|
|
3549
|
+
active_run_id: string | null;
|
|
3550
|
+
agent_session: string | null;
|
|
3551
|
+
run_started_at: string | null;
|
|
3552
|
+
notify_on_complete: boolean;
|
|
3553
|
+
created_by_kind: string;
|
|
3554
|
+
workspace_ext_id?: string | null;
|
|
3555
|
+
agent_ext_id?: string | null;
|
|
3556
|
+
created_at: string;
|
|
3557
|
+
updated_at: string;
|
|
3558
|
+
}[]>;
|
|
3559
|
+
create: (body: CreateTaskRequest) => Promise<{
|
|
3560
|
+
external_id: string;
|
|
3561
|
+
name: string;
|
|
3562
|
+
trigger_type: string;
|
|
3563
|
+
rrule: string | null;
|
|
3564
|
+
run_at: string | null;
|
|
3565
|
+
timezone: string;
|
|
3566
|
+
event_kind: string | null;
|
|
3567
|
+
action_type: string;
|
|
3568
|
+
prompt: string;
|
|
3569
|
+
skill_ref: string | null;
|
|
3570
|
+
status: string;
|
|
3571
|
+
next_run_at: string | null;
|
|
3572
|
+
last_run_at: string | null;
|
|
3573
|
+
last_error: string | null;
|
|
3574
|
+
in_progress: boolean;
|
|
3575
|
+
active_run_id: string | null;
|
|
3576
|
+
agent_session: string | null;
|
|
3577
|
+
run_started_at: string | null;
|
|
3578
|
+
notify_on_complete: boolean;
|
|
3579
|
+
created_by_kind: string;
|
|
3580
|
+
workspace_ext_id?: string | null;
|
|
3581
|
+
agent_ext_id?: string | null;
|
|
3582
|
+
created_at: string;
|
|
3583
|
+
updated_at: string;
|
|
3584
|
+
}>;
|
|
3585
|
+
get: (taskId: string) => Promise<{
|
|
3586
|
+
external_id: string;
|
|
3587
|
+
name: string;
|
|
3588
|
+
trigger_type: string;
|
|
3589
|
+
rrule: string | null;
|
|
3590
|
+
run_at: string | null;
|
|
3591
|
+
timezone: string;
|
|
3592
|
+
event_kind: string | null;
|
|
3593
|
+
action_type: string;
|
|
3594
|
+
prompt: string;
|
|
3595
|
+
skill_ref: string | null;
|
|
3596
|
+
status: string;
|
|
3597
|
+
next_run_at: string | null;
|
|
3598
|
+
last_run_at: string | null;
|
|
3599
|
+
last_error: string | null;
|
|
3600
|
+
in_progress: boolean;
|
|
3601
|
+
active_run_id: string | null;
|
|
3602
|
+
agent_session: string | null;
|
|
3603
|
+
run_started_at: string | null;
|
|
3604
|
+
notify_on_complete: boolean;
|
|
3605
|
+
created_by_kind: string;
|
|
3606
|
+
workspace_ext_id?: string | null;
|
|
3607
|
+
agent_ext_id?: string | null;
|
|
3608
|
+
created_at: string;
|
|
3609
|
+
updated_at: string;
|
|
3610
|
+
}>;
|
|
3611
|
+
update: (taskId: string, body: UpdateTaskRequest) => Promise<{
|
|
3612
|
+
external_id: string;
|
|
3613
|
+
name: string;
|
|
3614
|
+
trigger_type: string;
|
|
3615
|
+
rrule: string | null;
|
|
3616
|
+
run_at: string | null;
|
|
3617
|
+
timezone: string;
|
|
3618
|
+
event_kind: string | null;
|
|
3619
|
+
action_type: string;
|
|
3620
|
+
prompt: string;
|
|
3621
|
+
skill_ref: string | null;
|
|
3622
|
+
status: string;
|
|
3623
|
+
next_run_at: string | null;
|
|
3624
|
+
last_run_at: string | null;
|
|
3625
|
+
last_error: string | null;
|
|
3626
|
+
in_progress: boolean;
|
|
3627
|
+
active_run_id: string | null;
|
|
3628
|
+
agent_session: string | null;
|
|
3629
|
+
run_started_at: string | null;
|
|
3630
|
+
notify_on_complete: boolean;
|
|
3631
|
+
created_by_kind: string;
|
|
3632
|
+
workspace_ext_id?: string | null;
|
|
3633
|
+
agent_ext_id?: string | null;
|
|
3634
|
+
created_at: string;
|
|
3635
|
+
updated_at: string;
|
|
3636
|
+
}>;
|
|
3637
|
+
delete: (taskId: string) => Promise<void>;
|
|
3638
|
+
run: (taskId: string) => Promise<{
|
|
3639
|
+
external_id: string;
|
|
3640
|
+
name: string;
|
|
3641
|
+
trigger_type: string;
|
|
3642
|
+
rrule: string | null;
|
|
3643
|
+
run_at: string | null;
|
|
3644
|
+
timezone: string;
|
|
3645
|
+
event_kind: string | null;
|
|
3646
|
+
action_type: string;
|
|
3647
|
+
prompt: string;
|
|
3648
|
+
skill_ref: string | null;
|
|
3649
|
+
status: string;
|
|
3650
|
+
next_run_at: string | null;
|
|
3651
|
+
last_run_at: string | null;
|
|
3652
|
+
last_error: string | null;
|
|
3653
|
+
in_progress: boolean;
|
|
3654
|
+
active_run_id: string | null;
|
|
3655
|
+
agent_session: string | null;
|
|
3656
|
+
run_started_at: string | null;
|
|
3657
|
+
notify_on_complete: boolean;
|
|
3658
|
+
created_by_kind: string;
|
|
3659
|
+
workspace_ext_id?: string | null;
|
|
3660
|
+
agent_ext_id?: string | null;
|
|
3661
|
+
created_at: string;
|
|
3662
|
+
updated_at: string;
|
|
3663
|
+
}>;
|
|
3664
|
+
};
|
|
3665
|
+
readonly memory: {
|
|
3666
|
+
create: (body: CreateMemoryRequest) => Promise<{
|
|
3667
|
+
external_id: string;
|
|
3668
|
+
workspace_ext_id: string;
|
|
3669
|
+
content: string;
|
|
3670
|
+
pinned: boolean;
|
|
3671
|
+
shared: boolean;
|
|
3672
|
+
source: string;
|
|
3673
|
+
citations?: {
|
|
3674
|
+
[key: string]: components["schemas"]["CitationData"];
|
|
3675
|
+
} | null;
|
|
3676
|
+
created_by_ext_id: string;
|
|
3677
|
+
created_at: string;
|
|
3678
|
+
updated_at: string;
|
|
3679
|
+
}>;
|
|
3680
|
+
list: (options?: {
|
|
3681
|
+
pinnedOnly?: boolean;
|
|
3682
|
+
}) => Promise<{
|
|
3683
|
+
external_id: string;
|
|
3684
|
+
workspace_ext_id: string;
|
|
3685
|
+
content: string;
|
|
3686
|
+
pinned: boolean;
|
|
3687
|
+
shared: boolean;
|
|
3688
|
+
source: string;
|
|
3689
|
+
citations?: {
|
|
3690
|
+
[key: string]: components["schemas"]["CitationData"];
|
|
3691
|
+
} | null;
|
|
3692
|
+
created_by_ext_id: string;
|
|
3693
|
+
created_at: string;
|
|
3694
|
+
updated_at: string;
|
|
3695
|
+
}[]>;
|
|
3696
|
+
search: (body: MemorySearchRequest) => Promise<{
|
|
3697
|
+
memories: components["schemas"]["MemorySearchHit"][];
|
|
3698
|
+
}>;
|
|
3699
|
+
update: (memoryId: string, body: UpdateMemoryRequest) => Promise<{
|
|
3700
|
+
external_id: string;
|
|
3701
|
+
workspace_ext_id: string;
|
|
3702
|
+
content: string;
|
|
3703
|
+
pinned: boolean;
|
|
3704
|
+
shared: boolean;
|
|
3705
|
+
source: string;
|
|
3706
|
+
citations?: {
|
|
3707
|
+
[key: string]: components["schemas"]["CitationData"];
|
|
3708
|
+
} | null;
|
|
3709
|
+
created_by_ext_id: string;
|
|
3710
|
+
created_at: string;
|
|
3711
|
+
updated_at: string;
|
|
3712
|
+
}>;
|
|
3713
|
+
delete: (memoryId: string) => Promise<void>;
|
|
3714
|
+
};
|
|
3179
3715
|
readonly sessions: {
|
|
3180
3716
|
list: () => Promise<{
|
|
3181
3717
|
session_id: string;
|
|
@@ -4656,4 +5192,4 @@ declare namespace responses {
|
|
|
4656
5192
|
export { type responses_SubmitBackgroundQueryOptions as SubmitBackgroundQueryOptions, responses_extractResponseText as extractResponseText, responses_getResponse as getResponse, responses_submitBackgroundQuery as submitBackgroundQuery };
|
|
4657
5193
|
}
|
|
4658
5194
|
|
|
4659
|
-
export { type
|
|
5195
|
+
export { type SSEStreamStartData as $, type AgentStepDeltaEvent as A, type MessageLevel as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type MessageMetadataPayload$1 as E, type FormattedWsMessage as F, type MessageQueuedEvent as G, type ReconnectableWsConnection as H, type ResolvedCitation as I, type ResponseCompletedEvent as J, type ResponseContentPartAddedEvent as K, type ListAllOptions as L, type MemoryResponse as M, type ResponseCreatedEvent as N, type OutputTokensDetails as O, type ParsedSlashCommand as P, type QueryOptions as Q, type ReconnectOptions as R, type ResponseFailedEvent as S, type ResponseOutputItemAddedEvent as T, type ResponseOutputItemDoneEvent as U, type ResponseOutputTextDeltaEvent as V, type ResponseOutputTextDoneEvent as W, type ResponseUsage as X, type SSEEvent as Y, type SSEStreamCallbacks as Z, type SSEStreamResult as _, type AgentStepEvent as a, settings as a$, SUPPORTED_EXTENSIONS as a0, type SkillSummary as a1, type SkippedFile as a2, type TaskResponse as a3, type UpdateMemoryRequest as a4, type UpdateTaskRequest as a5, type UploadBatchResult as a6, type UploadDirectOptions as a7, type UploadDirectResult as a8, type UploadOptions as a9, formatAgentStepLabel as aA, formatFileSize as aB, formatStreamSummary as aC, formatUserName as aD, formatWorkspaceChoices as aE, formatWsMessage as aF, generateEncryptedWorkspaceKey as aG, generateNewWorkspaceKey as aH, getErrorCode as aI, getErrorMessage as aJ, getRawWorkspaceKey as aK, health as aL, memory as aM, parseSSEEvents as aN, parseSlashCommand as aO, parseSlashTokenInProgress as aP, performPasswordLogin as aQ, performSigningKeyLogin as aR, performSsoDeviceFlowLogin as aS, requireData as aT, requireOk as aU, resolveAuth as aV, resolveCitations as aW, resolveWorkspace as aX, responses as aY, selectWorkspace as aZ, selectWorkspaceById as a_, type UploadResult as aa, type UserInfo as ab, type UserInputRequestEvent as ac, type UserMessageEvent as ad, WebSocketAuthError as ae, type WorkspaceContext as af, type WsConnection as ag, agentconfig as ah, assistant as ai, authenticatedFetch as aj, buildRetrievalChunkTool as ak, buildRetrievalFullContextTool as al, buildRetrievalTocTool as am, connectWebSocket as an, connectWithReconnect as ao, consumeSSEStream as ap, contacts as aq, conversations as ar, countCitations as as, createAuthenticatedClient as at, createDocumentWaiter as au, dm as av, doctags as aw, documents as ax, files as ay, filterSkills as az, Arbi as b, streamSSE as b0, stripCitationMarkdown as b1, summarizeCitations as b2, tags as b3, tasks as b4, workspaces as b5, ArbiApiError as c, ArbiError as d, type ArbiErrorEvent as e, type ArbiOptions as f, type ArtifactEvent as g, type AuthContext as h, type AuthHeaders as i, type AuthenticatedClient as j, type CitationSummary as k, type CliConfig as l, type CliCredentials as m, type ConfigStore as n, type ConnectOptions as o, type CreateMemoryRequest as p, type CreateTaskRequest as q, type DmCryptoContext as r, type DocNameMap as s, type DocumentListFields as t, type DocumentListOrder as u, type DocumentWaiter as v, type DocumentWaiterOptions as w, type ListPaginatedOptions as x, type MemorySearchRequest as y, type MemorySearchResponse as z };
|