@arbidocs/sdk 0.4.25 → 0.4.28
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-C9-wve7D.d.cts → browser-AwN8DBBO.d.cts} +501 -45
- package/dist/{browser-C9-wve7D.d.ts → browser-AwN8DBBO.d.ts} +501 -45
- package/dist/browser.cjs +176 -67
- 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 +176 -67
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +182 -68
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -335
- package/dist/index.d.ts +4 -335
- package/dist/index.js +182 -68
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as ConfigStore, q as CliConfig, r as CliCredentials, C as ChatSession, al as SkippedFile,
|
|
2
|
-
export { A as ActivityKind, a as ActivityResponse, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArtifactEvent, l as AuthContext, n as AuthMode, o as AuthenticatedClient, p as CitationSummary, s as CommandDescriptor, u as ConnectOptions, v as ConversationResponse, y as CreateWorkRequest, z as CreateWorkflowRequest, D as DOC_TERMINAL_STATUSES, F as DocNameMap, G as DocumentListFields, H as DocumentListOrder, I as DocumentWaiter, J as DocumentWaiterOptions, N as FormattedWsMessage, O as ListAllOptions, Q as ListPaginatedOptions, R as MessageLevel, S as MessageMetadataPayload, T as MessageQueuedEvent, U as OutputTokensDetails, V as ParsedSlashCommand, W as PendingAuthResponse, X as PlanWorkRequest, Z as ProjectInvoicesResponse, _ as ProjectUsageResponse, $ as QueryOptions, a0 as ReconnectOptions, a1 as ReconnectableWsConnection, a2 as RequestApprovalRequest, a3 as ResolvedCitation, a4 as ResolvedRecipient, a5 as ResponseCompletedEvent, a6 as ResponseContentPartAddedEvent, a7 as ResponseCreatedEvent, a8 as ResponseFailedEvent, a9 as ResponseOutputItemAddedEvent, aa as ResponseOutputItemDoneEvent, ab as ResponseOutputTextDeltaEvent, ac as ResponseOutputTextDoneEvent, ad as ResponseUsage, ae as ReviewWorkRequest, af as SSEEvent, ag as SSEStreamCallbacks, ah as SSEStreamResult, ai as SSEStreamStartData, ak as SkillSummary, am as
|
|
3
|
-
import { SessionStorageProvider, ArbiClient
|
|
1
|
+
import { t as ConfigStore, q as CliConfig, r as CliCredentials, C as ChatSession, al as SkippedFile, aw as UploadResult, m as AuthHeaders, as as UploadBatchResult, av as UploadOptions, at as UploadDirectOptions, au as UploadDirectResult, aj as SUPPORTED_EXTENSIONS, E as DmCryptoContext } from './browser-AwN8DBBO.js';
|
|
2
|
+
export { A as ActivityKind, a as ActivityResponse, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArtifactEvent, l as AuthContext, n as AuthMode, o as AuthenticatedClient, p as CitationSummary, s as CommandDescriptor, u as ConnectOptions, v as ConversationResponse, y as CreateWorkRequest, z as CreateWorkflowRequest, D as DOC_TERMINAL_STATUSES, F as DocNameMap, G as DocumentListFields, H as DocumentListOrder, I as DocumentWaiter, J as DocumentWaiterOptions, N as FormattedWsMessage, O as ListAllOptions, Q as ListPaginatedOptions, R as MessageLevel, S as MessageMetadataPayload, T as MessageQueuedEvent, U as OutputTokensDetails, V as ParsedSlashCommand, W as PendingAuthResponse, X as PlanWorkRequest, Z as ProjectInvoicesResponse, _ as ProjectUsageResponse, $ as QueryOptions, a0 as ReconnectOptions, a1 as ReconnectableWsConnection, a2 as RequestApprovalRequest, a3 as ResolvedCitation, a4 as ResolvedRecipient, a5 as ResponseCompletedEvent, a6 as ResponseContentPartAddedEvent, a7 as ResponseCreatedEvent, a8 as ResponseFailedEvent, a9 as ResponseOutputItemAddedEvent, aa as ResponseOutputItemDoneEvent, ab as ResponseOutputTextDeltaEvent, ac as ResponseOutputTextDoneEvent, ad as ResponseUsage, ae as ReviewWorkRequest, af as SSEEvent, ag as SSEStreamCallbacks, ah as SSEStreamResult, ai as SSEStreamStartData, ak as SkillSummary, am as SubmitBackgroundQueryOptions, an as TaskPlan, ao as TokenBudgetContext, ap as UpdateConversationRequest, ar as UpdateWorkflowRequest, ax as UserDailyUsageResponse, ay as UserInfo, az as UserInputRequestEvent, aA as UserMessageEvent, aB as WebSocketAuthError, aC as WorkStatus, aD as WorkflowAuthMode, aE as WorkflowResponse, aF as WorkflowRunResponse, aG as WorkspaceContext, aH as WsConnection, aI as account, aJ as agentconfig, aK as agents, aL as assistant, aM as authenticatedFetch, aN as buildDocNameMap, aO as buildRetrievalChunkTool, aP as buildRetrievalFullContextTool, aQ as buildRetrievalTocTool, aR as connectWebSocket, aS as connectWithReconnect, aT as consumeSSEStream, aU as contacts, aV as conversations, aW as countCitations, aX as createAuthenticatedClient, aY as createDocumentWaiter, aZ as dm, a_ as doctags, a$ as documents, b0 as facts, b1 as files, b2 as filterSkills, b3 as formatAgentStepLabel, b4 as formatFileSize, b5 as formatItemLabel, b6 as formatStreamSummary, b7 as formatUserName, b8 as formatWorkspaceChoices, b9 as formatWsMessage, ba as generateEncryptedWorkspaceKey, bb as generateNewWorkspaceKey, bc as getErrorCode, bd as getErrorMessage, be as getRawWorkspaceKey, bf as health, bg as parseSSEEvents, bh as parseSlashCommand, bi as parseSlashTokenInProgress, bj as performPasswordLogin, bk as performSigningKeyLogin, bl as performSsoDeviceFlowLogin, bm as profile, bn as projects, bo as requireData, bp as requireOk, bq as resolveAuth, br as resolveCitations, bs as resolveWorkspace, bt as responses, bu as selectWorkspace, bv as selectWorkspaceById, bw as sessions, bx as settings, by as streamSSE, bz as stripCitationMarkdown, bA as summarizeCitations, bB as tags, bC as work, bD as workflows, bE as workspaces } from './browser-AwN8DBBO.js';
|
|
3
|
+
import { SessionStorageProvider, ArbiClient } from '@arbidocs/client';
|
|
4
4
|
export { LoginProfile } from '@arbidocs/client';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -372,337 +372,6 @@ declare namespace documentsNode {
|
|
|
372
372
|
export { documentsNode_ARCHIVE_EXTENSIONS as ARCHIVE_EXTENSIONS, type documentsNode_FileOutcome as FileOutcome, type documentsNode_FileStatus as FileStatus, documentsNode_SUPPORTED_EXTENSIONS as SUPPORTED_EXTENSIONS, type documentsNode_UploadDirectoryDirectOptions as UploadDirectoryDirectOptions, type documentsNode_UploadDirectoryOptions as UploadDirectoryOptions, type documentsNode_UploadManifestOptions as UploadManifestOptions, type documentsNode_UploadManifestProgress as UploadManifestProgress, type documentsNode_UploadManifestResult as UploadManifestResult, type documentsNode_UploadManifestSummary as UploadManifestSummary, type documentsNode_UploadProgress as UploadProgress, documentsNode_uploadArchive as uploadArchive, documentsNode_uploadDirectory as uploadDirectory, documentsNode_uploadLocalArchiveDirect as uploadLocalArchiveDirect, documentsNode_uploadLocalDirectoryDirect as uploadLocalDirectoryDirect, documentsNode_uploadLocalFile as uploadLocalFile, documentsNode_uploadLocalFilesDirect as uploadLocalFilesDirect, documentsNode_uploadLocalZipDirect as uploadLocalZipDirect, documentsNode_uploadManifest as uploadManifest, documentsNode_uploadZip as uploadZip, documentsNode_walkSupportedFiles as walkSupportedFiles };
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
-
/**
|
|
376
|
-
* Agent operations — create, list, delete persistent agents, and read an agent's
|
|
377
|
-
* pinned config / workspace memberships. An agent is a real `agt-` user the server
|
|
378
|
-
* logs in on behalf of when a DM, email or scheduled task wakes it.
|
|
379
|
-
*/
|
|
380
|
-
|
|
381
|
-
type UserResponse = components['schemas']['UserResponse'];
|
|
382
|
-
type CreateAgentResponse = components['schemas']['CreateAgentResponse'];
|
|
383
|
-
type AgentWorkspaceResponse = components['schemas']['AgentWorkspaceResponse'];
|
|
384
|
-
type AuthorizeAgentResponse = components['schemas']['AuthorizeAgentResponse'];
|
|
385
|
-
type AuthorizeLimitsResponse = components['schemas']['AuthorizeLimitsResponse'];
|
|
386
|
-
declare function listAgents(arbi: ArbiClient): Promise<UserResponse[]>;
|
|
387
|
-
/**
|
|
388
|
-
* Create a persistent agent. Only `name` is accepted (alphanumeric, `_`/`-`).
|
|
389
|
-
* The keypair is server-generated; `signing_private_key` is returned ONCE.
|
|
390
|
-
* Pin a behaviour by saving a config with this agent's `agent_ext_id`.
|
|
391
|
-
*/
|
|
392
|
-
declare function createAgent(arbi: ArbiClient, name: string): Promise<CreateAgentResponse>;
|
|
393
|
-
/** Read an agent's pinned configuration (its `settings.last_config`). */
|
|
394
|
-
declare function getAgentConfig(arbi: ArbiClient, agentExtId: string): Promise<{
|
|
395
|
-
Agents: {
|
|
396
|
-
ENABLED: boolean;
|
|
397
|
-
HUMAN_IN_THE_LOOP: boolean;
|
|
398
|
-
WEB_SEARCH_ENABLED: boolean;
|
|
399
|
-
RUN_CODE_ENABLED: boolean;
|
|
400
|
-
MCP_TOOLS: string[];
|
|
401
|
-
PLANNING_ENABLED: boolean;
|
|
402
|
-
DEEP_RESEARCH_ENABLED: boolean;
|
|
403
|
-
SUBAGENTS_ENABLED: boolean;
|
|
404
|
-
SUGGESTED_QUERIES: boolean;
|
|
405
|
-
ARTIFACTS_ENABLED: boolean;
|
|
406
|
-
IMAGE_ENABLED: boolean;
|
|
407
|
-
VISION_ENABLED: boolean;
|
|
408
|
-
CONVERSATION_SEARCH_ENABLED: boolean;
|
|
409
|
-
PERSONAL_AGENT: boolean;
|
|
410
|
-
FACTS_ENABLED: boolean;
|
|
411
|
-
PERSIST_LEARNINGS: boolean;
|
|
412
|
-
SKILLS_ENABLED: boolean;
|
|
413
|
-
SKILL_CREATION: boolean;
|
|
414
|
-
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
415
|
-
REMOTE_CONTROL_ENABLED: boolean;
|
|
416
|
-
ENABLED_SKILLS?: string[] | null | undefined;
|
|
417
|
-
MEMORY_CREATION: boolean;
|
|
418
|
-
GOALS_ENABLED: boolean;
|
|
419
|
-
GOAL_MAX_OUTER_LOOPS: number;
|
|
420
|
-
PERSONA: string;
|
|
421
|
-
AGENT_MODEL_NAME: string;
|
|
422
|
-
AGENT_API_TYPE: "local" | "remote";
|
|
423
|
-
LLM_AGENT_TEMPERATURE: number;
|
|
424
|
-
AGENT_MAX_TOKENS: number;
|
|
425
|
-
ENABLE_THINKING: boolean;
|
|
426
|
-
AGENT_STRICT_TOOL_CALLS: boolean;
|
|
427
|
-
AGENT_MAX_ITERATIONS: number;
|
|
428
|
-
AGENT_TURN_CREDIT_BUDGET: number;
|
|
429
|
-
AGENT_MAX_PARALLEL_TOOL_CALLS: number;
|
|
430
|
-
AGENT_MAX_TOTAL_TOOL_CALLS: number;
|
|
431
|
-
AGENT_MAX_RUN_TOKENS: number;
|
|
432
|
-
AGENT_MAX_SUBAGENT_SPAWNS: number;
|
|
433
|
-
AGENT_HISTORY_CHAR_THRESHOLD: number;
|
|
434
|
-
AGENT_SYSTEM_PROMPT: string;
|
|
435
|
-
};
|
|
436
|
-
QueryLLM: {
|
|
437
|
-
API_TYPE: "local" | "remote";
|
|
438
|
-
ENABLE_THINKING: boolean;
|
|
439
|
-
MODEL_NAME: string;
|
|
440
|
-
SYSTEM_INSTRUCTION: string;
|
|
441
|
-
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
442
|
-
TEMPERATURE: number;
|
|
443
|
-
MAX_TOKENS: number;
|
|
444
|
-
};
|
|
445
|
-
ReviewLLM: {
|
|
446
|
-
API_TYPE: "local" | "remote";
|
|
447
|
-
ENABLE_THINKING: boolean;
|
|
448
|
-
MODEL_NAME: string;
|
|
449
|
-
SYSTEM_INSTRUCTION: string;
|
|
450
|
-
TEMPERATURE: number;
|
|
451
|
-
MAX_TOKENS: number;
|
|
452
|
-
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
453
|
-
};
|
|
454
|
-
EvaluatorLLM: {
|
|
455
|
-
API_TYPE: "local" | "remote";
|
|
456
|
-
ENABLE_THINKING: boolean;
|
|
457
|
-
MODEL_NAME: string;
|
|
458
|
-
SYSTEM_INSTRUCTION: string;
|
|
459
|
-
TEMPERATURE: number;
|
|
460
|
-
MAX_TOKENS: number;
|
|
461
|
-
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
462
|
-
MAX_CHUNKS_PER_EVAL_CALL: number;
|
|
463
|
-
MAX_CONCURRENT_EVAL_BATCHES: number;
|
|
464
|
-
EVAL_BATCH_TIMEOUT_S: number;
|
|
465
|
-
};
|
|
466
|
-
TitleLLM: {
|
|
467
|
-
API_TYPE: "local" | "remote";
|
|
468
|
-
ENABLE_THINKING: boolean;
|
|
469
|
-
MODEL_NAME: string;
|
|
470
|
-
SYSTEM_INSTRUCTION: string;
|
|
471
|
-
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
472
|
-
TEMPERATURE: number;
|
|
473
|
-
MAX_TOKENS: number;
|
|
474
|
-
};
|
|
475
|
-
SummariseLLM: {
|
|
476
|
-
API_TYPE: "local" | "remote";
|
|
477
|
-
ENABLE_THINKING: boolean;
|
|
478
|
-
MODEL_NAME: string;
|
|
479
|
-
SYSTEM_INSTRUCTION: string;
|
|
480
|
-
TEMPERATURE: number;
|
|
481
|
-
MAX_TOKENS: number;
|
|
482
|
-
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
483
|
-
COMPACTION_THRESHOLD_TOKENS: number;
|
|
484
|
-
COMPACTION_KEEP_RECENT: number;
|
|
485
|
-
};
|
|
486
|
-
DoctagLLM: {
|
|
487
|
-
API_TYPE: "local" | "remote";
|
|
488
|
-
ENABLE_THINKING: boolean;
|
|
489
|
-
MODEL_NAME: string;
|
|
490
|
-
SYSTEM_INSTRUCTION: string;
|
|
491
|
-
MAX_TOKEN_CONTEXT_TO_ANSWER: number;
|
|
492
|
-
TEMPERATURE: number;
|
|
493
|
-
MAX_TOKENS: number;
|
|
494
|
-
MAX_CONCURRENT_DOCS: number;
|
|
495
|
-
AUTO_RENAME: boolean;
|
|
496
|
-
AUTO_RENAME_INSTRUCTION: string;
|
|
497
|
-
DEFAULT_METADATA_TAGS?: {
|
|
498
|
-
name: string;
|
|
499
|
-
instruction?: string | null | undefined;
|
|
500
|
-
tag_type?: {
|
|
501
|
-
type: "checkbox" | "text" | "number" | "select" | "search" | "date";
|
|
502
|
-
options: string[];
|
|
503
|
-
} | undefined;
|
|
504
|
-
}[] | undefined;
|
|
505
|
-
};
|
|
506
|
-
MemoryLLM: {
|
|
507
|
-
API_TYPE: "local" | "remote";
|
|
508
|
-
ENABLE_THINKING: boolean;
|
|
509
|
-
MODEL_NAME: string;
|
|
510
|
-
TEMPERATURE: number;
|
|
511
|
-
MAX_TOKENS: number;
|
|
512
|
-
MAX_TOKEN_CONTEXT: number;
|
|
513
|
-
MAX_CONCURRENT: number;
|
|
514
|
-
};
|
|
515
|
-
PlanningLLM: {
|
|
516
|
-
API_TYPE: "local" | "remote";
|
|
517
|
-
ENABLE_THINKING: boolean;
|
|
518
|
-
MODEL_NAME: string;
|
|
519
|
-
SYSTEM_INSTRUCTION: string;
|
|
520
|
-
TEMPERATURE: number;
|
|
521
|
-
MAX_TOKENS: number;
|
|
522
|
-
MAX_TOKEN_SIZE_TO_ANSWER: number;
|
|
523
|
-
APPROVAL_TIMEOUT: number;
|
|
524
|
-
};
|
|
525
|
-
FilterPlanLLM: {
|
|
526
|
-
API_TYPE: "local" | "remote";
|
|
527
|
-
ENABLE_THINKING: boolean;
|
|
528
|
-
MODEL_NAME: string;
|
|
529
|
-
SYSTEM_INSTRUCTION: string;
|
|
530
|
-
TEMPERATURE: number;
|
|
531
|
-
MAX_TOKENS: number;
|
|
532
|
-
};
|
|
533
|
-
VisionLLM: {
|
|
534
|
-
API_TYPE: "local" | "remote";
|
|
535
|
-
ENABLE_THINKING: boolean;
|
|
536
|
-
MODEL_NAME: string;
|
|
537
|
-
TEMPERATURE: number;
|
|
538
|
-
MAX_TOKENS: number;
|
|
539
|
-
MAX_PAGES_PER_CALL: number;
|
|
540
|
-
IMAGE_MAX_DIMENSION: number;
|
|
541
|
-
};
|
|
542
|
-
ImageGen: {
|
|
543
|
-
API_TYPE: "local" | "remote";
|
|
544
|
-
ENABLE_THINKING: boolean;
|
|
545
|
-
MODEL_NAME: string;
|
|
546
|
-
TEMPERATURE: number;
|
|
547
|
-
};
|
|
548
|
-
CodeAgent: {
|
|
549
|
-
API_TYPE: "local" | "remote";
|
|
550
|
-
ENABLE_THINKING: boolean;
|
|
551
|
-
MODEL_NAME: string;
|
|
552
|
-
SYSTEM_INSTRUCTION: string;
|
|
553
|
-
TEMPERATURE: number;
|
|
554
|
-
MAX_TOKENS: number;
|
|
555
|
-
};
|
|
556
|
-
ModelCitation: {
|
|
557
|
-
SIM_THREASHOLD: number;
|
|
558
|
-
MIN_CHAR_SIZE_TO_ANSWER: number;
|
|
559
|
-
MAX_NUMB_CITATIONS: number;
|
|
560
|
-
CITATION_INSTRUCTION: string;
|
|
561
|
-
};
|
|
562
|
-
WebSearch: {
|
|
563
|
-
SAVE_SOURCES: boolean;
|
|
564
|
-
};
|
|
565
|
-
RunCode: {
|
|
566
|
-
IMAGE: string;
|
|
567
|
-
TIMEOUT_SECONDS: number;
|
|
568
|
-
MEMORY_LIMIT: string;
|
|
569
|
-
NETWORK: string;
|
|
570
|
-
};
|
|
571
|
-
Retriever: {
|
|
572
|
-
agent?: {
|
|
573
|
-
MIN_RETRIEVAL_SIM_SCORE: number;
|
|
574
|
-
KEYWORD_MIN_TERM_OVERLAP_RATIO: number;
|
|
575
|
-
MAX_DISTINCT_DOCUMENTS: number;
|
|
576
|
-
MAX_TOTAL_CHUNKS_TO_RETRIEVE: number;
|
|
577
|
-
GROUP_SIZE: number;
|
|
578
|
-
SEARCH_MODE: components["schemas"]["SearchMode"];
|
|
579
|
-
HYBRID_PREFETCH_LIMIT: number;
|
|
580
|
-
HYBRID_DENSE_WEIGHT: number;
|
|
581
|
-
HYBRID_SPARSE_WEIGHT: number;
|
|
582
|
-
} | undefined;
|
|
583
|
-
smart_search?: {
|
|
584
|
-
MIN_RETRIEVAL_SIM_SCORE: number;
|
|
585
|
-
KEYWORD_MIN_TERM_OVERLAP_RATIO: number;
|
|
586
|
-
MAX_DISTINCT_DOCUMENTS: number;
|
|
587
|
-
MAX_TOTAL_CHUNKS_TO_RETRIEVE: number;
|
|
588
|
-
GROUP_SIZE: number;
|
|
589
|
-
SEARCH_MODE: components["schemas"]["SearchMode"];
|
|
590
|
-
HYBRID_PREFETCH_LIMIT: number;
|
|
591
|
-
HYBRID_DENSE_WEIGHT: number;
|
|
592
|
-
HYBRID_SPARSE_WEIGHT: number;
|
|
593
|
-
} | undefined;
|
|
594
|
-
};
|
|
595
|
-
Reranker: {
|
|
596
|
-
agent?: {
|
|
597
|
-
MIN_SCORE: number;
|
|
598
|
-
MAX_NUMB_OF_CHUNKS: number;
|
|
599
|
-
} | undefined;
|
|
600
|
-
smart_search?: {
|
|
601
|
-
MIN_SCORE: number;
|
|
602
|
-
MAX_NUMB_OF_CHUNKS: number;
|
|
603
|
-
} | undefined;
|
|
604
|
-
MAX_CONCURRENT_REQUESTS: number;
|
|
605
|
-
MODEL_NAME: string;
|
|
606
|
-
API_TYPE: "local" | "remote";
|
|
607
|
-
RETRIEVAL_INSTRUCTION: string;
|
|
608
|
-
};
|
|
609
|
-
Parser: {
|
|
610
|
-
SKIP_DUPLICATES: boolean;
|
|
611
|
-
};
|
|
612
|
-
Chunker: {
|
|
613
|
-
MAX_CHUNK_TOKENS: number;
|
|
614
|
-
TOKENIZER_NAME: string;
|
|
615
|
-
};
|
|
616
|
-
Embedder: {
|
|
617
|
-
MODEL_NAME: string;
|
|
618
|
-
API_TYPE: "local" | "remote";
|
|
619
|
-
BATCH_SIZE: number;
|
|
620
|
-
MAX_CONCURRENT_REQUESTS: number;
|
|
621
|
-
DOCUMENT_PREFIX: string;
|
|
622
|
-
QUERY_PREFIX: string;
|
|
623
|
-
};
|
|
624
|
-
KeywordEmbedder: {
|
|
625
|
-
DIMENSION_SPACE: number;
|
|
626
|
-
FILTER_STOPWORDS: boolean;
|
|
627
|
-
BM25_K1: number;
|
|
628
|
-
BM25_B: number;
|
|
629
|
-
BM25_AVGDL: number;
|
|
630
|
-
CJK_NGRAM_SIZE: number;
|
|
631
|
-
NORMALIZE_TRADITIONAL_TO_SIMPLIFIED: boolean;
|
|
632
|
-
};
|
|
633
|
-
} | {
|
|
634
|
-
Agents: {
|
|
635
|
-
ENABLED: boolean;
|
|
636
|
-
HUMAN_IN_THE_LOOP: boolean;
|
|
637
|
-
WEB_SEARCH_ENABLED: boolean;
|
|
638
|
-
RUN_CODE_ENABLED: boolean;
|
|
639
|
-
MCP_TOOLS: string[];
|
|
640
|
-
PLANNING_ENABLED: boolean;
|
|
641
|
-
DEEP_RESEARCH_ENABLED: boolean;
|
|
642
|
-
SUBAGENTS_ENABLED: boolean;
|
|
643
|
-
SUGGESTED_QUERIES: boolean;
|
|
644
|
-
ARTIFACTS_ENABLED: boolean;
|
|
645
|
-
IMAGE_ENABLED: boolean;
|
|
646
|
-
VISION_ENABLED: boolean;
|
|
647
|
-
CONVERSATION_SEARCH_ENABLED: boolean;
|
|
648
|
-
FACTS_ENABLED: boolean;
|
|
649
|
-
PERSIST_LEARNINGS: boolean;
|
|
650
|
-
SKILLS_ENABLED: boolean;
|
|
651
|
-
WORKSPACE_TOOLS_ENABLED: boolean;
|
|
652
|
-
REMOTE_CONTROL_ENABLED: boolean;
|
|
653
|
-
ENABLED_SKILLS?: string[] | null | undefined;
|
|
654
|
-
GOALS_ENABLED: boolean;
|
|
655
|
-
GOAL_MAX_OUTER_LOOPS: number;
|
|
656
|
-
PERSONA: string;
|
|
657
|
-
AGENT_MODEL_NAME: string;
|
|
658
|
-
ENABLE_THINKING: boolean;
|
|
659
|
-
AGENT_MAX_ITERATIONS: number;
|
|
660
|
-
AGENT_TURN_CREDIT_BUDGET: number;
|
|
661
|
-
};
|
|
662
|
-
DoctagLLM: {
|
|
663
|
-
AUTO_RENAME: boolean;
|
|
664
|
-
AUTO_RENAME_INSTRUCTION: string;
|
|
665
|
-
DEFAULT_METADATA_TAGS?: {
|
|
666
|
-
name: string;
|
|
667
|
-
instruction?: string | null | undefined;
|
|
668
|
-
tag_type?: {
|
|
669
|
-
type: "checkbox" | "text" | "number" | "select" | "search" | "date";
|
|
670
|
-
options: string[];
|
|
671
|
-
} | undefined;
|
|
672
|
-
}[] | undefined;
|
|
673
|
-
};
|
|
674
|
-
Parser: {
|
|
675
|
-
SKIP_DUPLICATES: boolean;
|
|
676
|
-
};
|
|
677
|
-
}>;
|
|
678
|
-
/** List the workspaces an agent is a member of. */
|
|
679
|
-
declare function listAgentWorkspaces(arbi: ArbiClient, agentExtId: string): Promise<AgentWorkspaceResponse[]>;
|
|
680
|
-
declare function deleteAgents(arbi: ArbiClient, agentExtIds: string[]): Promise<{
|
|
681
|
-
[x: string]: unknown;
|
|
682
|
-
}>;
|
|
683
|
-
/**
|
|
684
|
-
* Mint a fresh, TTL'd run session for the caller's own agent
|
|
685
|
-
* (`POST /v1/agents/{id}/authorize`). The response carries the session's public key; deposit a
|
|
686
|
-
* temporary workspace key on it with `Arbi.workspaces.grantTemporaryAccess()` (or do both in one
|
|
687
|
-
* call with `Arbi.agents.grantTemporaryAccess()`). `ttlSeconds` omitted = the deployment default.
|
|
688
|
-
*/
|
|
689
|
-
declare function authorizeAgent(arbi: ArbiClient, agentExtId: string, workspaceExtId: string, ttlSeconds?: number): Promise<AuthorizeAgentResponse>;
|
|
690
|
-
/** The default and maximum lifetime of a temporary agent authorization. */
|
|
691
|
-
declare function getAuthorizeLimits(arbi: ArbiClient): Promise<AuthorizeLimitsResponse>;
|
|
692
|
-
|
|
693
|
-
type agents_AuthorizeAgentResponse = AuthorizeAgentResponse;
|
|
694
|
-
type agents_AuthorizeLimitsResponse = AuthorizeLimitsResponse;
|
|
695
|
-
declare const agents_authorizeAgent: typeof authorizeAgent;
|
|
696
|
-
declare const agents_createAgent: typeof createAgent;
|
|
697
|
-
declare const agents_deleteAgents: typeof deleteAgents;
|
|
698
|
-
declare const agents_getAgentConfig: typeof getAgentConfig;
|
|
699
|
-
declare const agents_getAuthorizeLimits: typeof getAuthorizeLimits;
|
|
700
|
-
declare const agents_listAgentWorkspaces: typeof listAgentWorkspaces;
|
|
701
|
-
declare const agents_listAgents: typeof listAgents;
|
|
702
|
-
declare namespace agents {
|
|
703
|
-
export { type agents_AuthorizeAgentResponse as AuthorizeAgentResponse, type agents_AuthorizeLimitsResponse as AuthorizeLimitsResponse, agents_authorizeAgent as authorizeAgent, agents_createAgent as createAgent, agents_deleteAgents as deleteAgents, agents_getAgentConfig as getAgentConfig, agents_getAuthorizeLimits as getAuthorizeLimits, agents_listAgentWorkspaces as listAgentWorkspaces, agents_listAgents as listAgents };
|
|
704
|
-
}
|
|
705
|
-
|
|
706
375
|
/**
|
|
707
376
|
* Orchestrator interface for `arbi listen`.
|
|
708
377
|
*
|
|
@@ -880,4 +549,4 @@ declare namespace index {
|
|
|
880
549
|
export { index_ClaudeOrchestrator as ClaudeOrchestrator, type index_ClaudeOrchestratorOptions as ClaudeOrchestratorOptions, type index_DmListener as DmListener, type index_DmListenerOptions as DmListenerOptions, index_OpenClawOrchestrator as OpenClawOrchestrator, type index_OpenClawOrchestratorOptions as OpenClawOrchestratorOptions, type index_Orchestrator as Orchestrator, type index_PromptContext as PromptContext, index_startDmListener as startDmListener };
|
|
881
550
|
}
|
|
882
551
|
|
|
883
|
-
export { AuthHeaders, ChatSession, ClaudeOrchestrator, type ClaudeOrchestratorOptions, CliConfig, CliCredentials, ConfigStore, DmCryptoContext, type DmListener, type DmListenerOptions, FileConfigStore, OpenClawOrchestrator, type OpenClawOrchestratorOptions, type Orchestrator, type PromptContext,
|
|
552
|
+
export { AuthHeaders, ChatSession, ClaudeOrchestrator, type ClaudeOrchestratorOptions, CliConfig, CliCredentials, ConfigStore, DmCryptoContext, type DmListener, type DmListenerOptions, FileConfigStore, OpenClawOrchestrator, type OpenClawOrchestratorOptions, type Orchestrator, type PromptContext, deviceFlow, documentsNode, index as listen, startDmListener };
|