orchestrator-client 5.9.2 → 5.11.7

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 CHANGED
@@ -246,6 +246,7 @@ interface SystemStatusSettings {
246
246
  translateModelId: string | null;
247
247
  maxConcurrentTasksPerReplica: number | null;
248
248
  subagentsEnabled: boolean | null;
249
+ agentReasoningEffort: string | null;
249
250
  localizationTargets: {
250
251
  locale: string;
251
252
  language: string;
@@ -268,6 +269,8 @@ interface LLMModelVisionInfo {
268
269
  interface LLMModelContextInfo {
269
270
  modelId: string;
270
271
  contextLimit: number;
272
+ /** Provenance of contextLimit: `metadata:<key>` or `default`. */
273
+ source: string;
271
274
  }
272
275
  interface LLMBackendStatus {
273
276
  backends: LLMBackendInfo[];
@@ -280,6 +283,7 @@ interface MCPServerInfo {
280
283
  baseUrl: string;
281
284
  name: string;
282
285
  description: string;
286
+ available: boolean;
283
287
  tools: string[];
284
288
  }
285
289
  interface MCPServerStatus {
@@ -386,6 +390,29 @@ interface ReloadStatus {
386
390
  lastReload?: string;
387
391
  nextScheduledReload?: string;
388
392
  }
393
+ interface PromptMetadata {
394
+ companyName?: string | null;
395
+ companyDescription?: string | null;
396
+ agentName?: string | null;
397
+ personalityTraits?: string[] | null;
398
+ environmentInfo?: string | null;
399
+ productName?: string | null;
400
+ contactChannels?: string[] | null;
401
+ }
402
+ interface PromptMetadataResponse {
403
+ metadata: PromptMetadata;
404
+ missingFields: string[];
405
+ version: number;
406
+ }
407
+ interface PromptMetadataPatch {
408
+ companyName?: string | null;
409
+ companyDescription?: string | null;
410
+ agentName?: string | null;
411
+ personalityTraits?: string[] | null;
412
+ environmentInfo?: string | null;
413
+ productName?: string | null;
414
+ contactChannels?: string[] | null;
415
+ }
389
416
 
390
417
  interface ToolInfo {
391
418
  name: string;
@@ -537,31 +564,6 @@ interface WebSocketStatus {
537
564
  interface SuccessResponse {
538
565
  message: string;
539
566
  }
540
- interface MioContext {
541
- taskId: string;
542
- modelId: string;
543
- currentTokens: number;
544
- contextLimit: number;
545
- usagePercentage: number;
546
- totalMessages: number;
547
- activeMessages: number;
548
- archivedMessages: number;
549
- messagesWithoutTokenCount: number;
550
- }
551
- interface MioMemoryItem {
552
- id: string;
553
- taskId: string | null;
554
- title: string;
555
- content: string;
556
- tags: string[];
557
- linkedTaskId: string | null;
558
- createdAt: string;
559
- updatedAt: string;
560
- }
561
- interface MioMemoriesResult {
562
- memories: MioMemoryItem[];
563
- total: number;
564
- }
565
567
  interface MessageDeleteMultipleResult {
566
568
  deletedIds: number[];
567
569
  failedIds: number[];
@@ -759,17 +761,8 @@ declare class OrchestratorAsync {
759
761
  limit?: number;
760
762
  offset?: number;
761
763
  }): Promise<TaskListResult>;
762
- searchVSATasks(userId: string, query: string, limit?: number): Promise<TaskListResult>;
764
+ searchVSATasks(userId: string, query: string, limit?: number, offset?: number): Promise<TaskListResult>;
763
765
  deleteVSATasksBulk(taskIds: string[]): Promise<TaskDeleteResult>;
764
- sendMioMessage(taskId: string, message: string, attachmentIds?: string[]): Promise<SuccessResponse>;
765
- approveMioAction(taskId: string, approved?: boolean, feedback?: string): Promise<SuccessResponse>;
766
- wakeMio(taskId: string): Promise<SuccessResponse>;
767
- sendMioUserAway(taskId: string): Promise<SuccessResponse>;
768
- markMioComplete(taskId: string): Promise<SuccessResponse>;
769
- markMioFailed(taskId: string): Promise<SuccessResponse>;
770
- archiveMio(taskId: string): Promise<SuccessResponse>;
771
- getMioContext(taskId: string): Promise<MioContext>;
772
- getMioMemories(taskId: string, includeCommon?: boolean): Promise<MioMemoriesResult>;
773
766
  listTools(): Promise<ToolsListResult>;
774
767
  /**
775
768
  * Default toolset every workflow uses when `availableTools` is omitted.
@@ -837,6 +830,8 @@ declare class OrchestratorAsync {
837
830
  getMetrics(types?: string): Promise<MetricSnapshot>;
838
831
  getSystemStatus(): Promise<SystemStatus>;
839
832
  updateSettings(settings: Partial<SystemStatusSettings>): Promise<SystemStatus>;
833
+ getPromptMetadata(): Promise<PromptMetadataResponse>;
834
+ updatePromptMetadata(patch: PromptMetadataPatch): Promise<PromptMetadataResponse>;
840
835
  getConfigurationStatus(): Promise<ConfigurationStatus>;
841
836
  setAgentModel(model: string): Promise<SuccessResponse>;
842
837
  setOrchestratorModel(model: string): Promise<SuccessResponse>;
@@ -918,17 +913,8 @@ declare class Orchestrator {
918
913
  stopVSA(taskId: string): SuccessResponse;
919
914
  deleteVSA(taskId: string): SuccessResponse;
920
915
  listVSATasks(userId: string, params?: Parameters<OrchestratorAsync["listVSATasks"]>[1]): TaskListResult;
921
- searchVSATasks(userId: string, query: string, limit?: number): TaskListResult;
916
+ searchVSATasks(userId: string, query: string, limit?: number, offset?: number): TaskListResult;
922
917
  deleteVSATasksBulk(taskIds: string[]): TaskDeleteResult;
923
- sendMioMessage(taskId: string, message: string, attachmentIds?: string[]): SuccessResponse;
924
- approveMioAction(taskId: string, approved?: boolean, feedback?: string): SuccessResponse;
925
- wakeMio(taskId: string): SuccessResponse;
926
- sendMioUserAway(taskId: string): SuccessResponse;
927
- markMioComplete(taskId: string): SuccessResponse;
928
- markMioFailed(taskId: string): SuccessResponse;
929
- archiveMio(taskId: string): SuccessResponse;
930
- getMioContext(taskId: string): MioContext;
931
- getMioMemories(taskId: string, includeCommon?: boolean): MioMemoriesResult;
932
918
  listTools(): ToolsListResult;
933
919
  getToolDefaults(): ToolDefaultsResult;
934
920
  getToolCatalog(): ToolCatalogResult;
@@ -974,6 +960,8 @@ declare class Orchestrator {
974
960
  getMetrics(types?: string): MetricSnapshot;
975
961
  getSystemStatus(): SystemStatus;
976
962
  updateSettings(settings: Record<string, unknown>): SystemStatus;
963
+ getPromptMetadata(): PromptMetadataResponse;
964
+ updatePromptMetadata(patch: Record<string, unknown>): PromptMetadataResponse;
977
965
  getConfigurationStatus(): ConfigurationStatus;
978
966
  setAgentModel(model: string): SuccessResponse;
979
967
  setOrchestratorModel(model: string): SuccessResponse;
@@ -1493,4 +1481,4 @@ declare function deepCamelCase<T>(obj: T): T;
1493
1481
  */
1494
1482
  declare const VERSION = "5.6.0";
1495
1483
 
1496
- export { type ArchivedContent, type AttachmentMeta, type AttachmentUploadResponse, type AuthConfig, type CompactionEvent, type ComponentHealth, type ConfigurationStatus, type ConversationResult, DEFAULT_FLOW_TIMEOUT_MS, EVENT_ERROR_EVENT_RECORDED, EVENT_MESSAGE_ADDED, EVENT_MESSAGE_STREAMING, EVENT_MESSAGE_SUMMARY_GENERATED, EVENT_MESSAGE_TRANSLATION_READY, EVENT_TASK_CREATED, EVENT_TASK_DELETED, EVENT_TASK_INSIGHT_UPDATED, EVENT_TASK_ITERATION_CHANGED, EVENT_TASK_RESULT_UPDATED, EVENT_TASK_STATUS_CHANGED, type ErrorCountResult, type ErrorEvent, type ErrorEventDetail, type ErrorEventListResult, type ErrorPurgeResult, type ErrorStatsResult, type EventHandler, Flow, FlowCancelledError, FlowError, type FlowRunParams, FlowTimeoutError, type HealthDetail, type HealthStatus, type LLMBackendInfo, type LLMBackendStatus, type LLMModelContextInfo, type LLMModelVisionInfo, type LeaderStatus, type LockStatus, type MCPServerInfo, type MCPServerStatus, type MatrixConversationResult, type Message, type MessageDeleteMultipleResult, type MessageTranslation, type MessageTranslationReadyEvent, type MessageTranslationsResult, type MetricSnapshot, type MioContext, type MioMemoriesResult, type MioMemoryItem, Orchestrator, OrchestratorAPIError, OrchestratorAsync, OrchestratorAuthError, type OrchestratorClientOptions, type OrchestratorConfig, OrchestratorConfigError, OrchestratorConnectionError, OrchestratorError, OrchestratorNotFoundError, type Pagination$1 as Pagination, type ReadinessCheck, type ReadinessResult, RealtimeClient, type RealtimeClientOptions, type ReloadServicesResult, type ReloadStatus, type SlotInfo, type SlotsStatus, type SubagentsStatus, type SuccessResponse, type SummaryWorkerStatus, type SystemStatus, type SystemStatusSettings, type TaskCancelResponse, type TaskCreateResponse, type TaskDeleteResult, type TaskDetail, type TaskHandlerCluster, type TaskHandlerReplica, type TaskHandlerStatus, type TaskHandlerStatusLocal, type TaskJournal, type TaskListResult, type TaskOptions, type TaskSummary, type TokenWorkerStatus, type ToolCall, type ToolDefaultsResult, type ToolInfo, type ToolsListResult, VERSION, type VSATaskCreateResponse, type WebSocketClientInfo, type WebSocketStatus, type WorkflowStates, type WorkflowToolDefaults, camelToSnake, createInsecureFetch, deepCamelCase, extractJsonFromMessage, loadConfig, setupDefaultClient, snakeToCamel };
1484
+ export { type ArchivedContent, type AttachmentMeta, type AttachmentUploadResponse, type AuthConfig, type CompactionEvent, type ComponentHealth, type ConfigurationStatus, type ConversationResult, DEFAULT_FLOW_TIMEOUT_MS, EVENT_ERROR_EVENT_RECORDED, EVENT_MESSAGE_ADDED, EVENT_MESSAGE_STREAMING, EVENT_MESSAGE_SUMMARY_GENERATED, EVENT_MESSAGE_TRANSLATION_READY, EVENT_TASK_CREATED, EVENT_TASK_DELETED, EVENT_TASK_INSIGHT_UPDATED, EVENT_TASK_ITERATION_CHANGED, EVENT_TASK_RESULT_UPDATED, EVENT_TASK_STATUS_CHANGED, type ErrorCountResult, type ErrorEvent, type ErrorEventDetail, type ErrorEventListResult, type ErrorPurgeResult, type ErrorStatsResult, type EventHandler, Flow, FlowCancelledError, FlowError, type FlowRunParams, FlowTimeoutError, type HealthDetail, type HealthStatus, type LLMBackendInfo, type LLMBackendStatus, type LLMModelContextInfo, type LLMModelVisionInfo, type LeaderStatus, type LockStatus, type MCPServerInfo, type MCPServerStatus, type MatrixConversationResult, type Message, type MessageDeleteMultipleResult, type MessageTranslation, type MessageTranslationReadyEvent, type MessageTranslationsResult, type MetricSnapshot, Orchestrator, OrchestratorAPIError, OrchestratorAsync, OrchestratorAuthError, type OrchestratorClientOptions, type OrchestratorConfig, OrchestratorConfigError, OrchestratorConnectionError, OrchestratorError, OrchestratorNotFoundError, type Pagination$1 as Pagination, type PromptMetadata, type PromptMetadataPatch, type PromptMetadataResponse, type ReadinessCheck, type ReadinessResult, RealtimeClient, type RealtimeClientOptions, type ReloadServicesResult, type ReloadStatus, type SlotInfo, type SlotsStatus, type SubagentsStatus, type SuccessResponse, type SummaryWorkerStatus, type SystemStatus, type SystemStatusSettings, type TaskCancelResponse, type TaskCreateResponse, type TaskDeleteResult, type TaskDetail, type TaskHandlerCluster, type TaskHandlerReplica, type TaskHandlerStatus, type TaskHandlerStatusLocal, type TaskJournal, type TaskListResult, type TaskOptions, type TaskSummary, type TokenWorkerStatus, type ToolCall, type ToolDefaultsResult, type ToolInfo, type ToolsListResult, VERSION, type VSATaskCreateResponse, type WebSocketClientInfo, type WebSocketStatus, type WorkflowStates, type WorkflowToolDefaults, camelToSnake, createInsecureFetch, deepCamelCase, extractJsonFromMessage, loadConfig, setupDefaultClient, snakeToCamel };
package/dist/index.d.ts CHANGED
@@ -246,6 +246,7 @@ interface SystemStatusSettings {
246
246
  translateModelId: string | null;
247
247
  maxConcurrentTasksPerReplica: number | null;
248
248
  subagentsEnabled: boolean | null;
249
+ agentReasoningEffort: string | null;
249
250
  localizationTargets: {
250
251
  locale: string;
251
252
  language: string;
@@ -268,6 +269,8 @@ interface LLMModelVisionInfo {
268
269
  interface LLMModelContextInfo {
269
270
  modelId: string;
270
271
  contextLimit: number;
272
+ /** Provenance of contextLimit: `metadata:<key>` or `default`. */
273
+ source: string;
271
274
  }
272
275
  interface LLMBackendStatus {
273
276
  backends: LLMBackendInfo[];
@@ -280,6 +283,7 @@ interface MCPServerInfo {
280
283
  baseUrl: string;
281
284
  name: string;
282
285
  description: string;
286
+ available: boolean;
283
287
  tools: string[];
284
288
  }
285
289
  interface MCPServerStatus {
@@ -386,6 +390,29 @@ interface ReloadStatus {
386
390
  lastReload?: string;
387
391
  nextScheduledReload?: string;
388
392
  }
393
+ interface PromptMetadata {
394
+ companyName?: string | null;
395
+ companyDescription?: string | null;
396
+ agentName?: string | null;
397
+ personalityTraits?: string[] | null;
398
+ environmentInfo?: string | null;
399
+ productName?: string | null;
400
+ contactChannels?: string[] | null;
401
+ }
402
+ interface PromptMetadataResponse {
403
+ metadata: PromptMetadata;
404
+ missingFields: string[];
405
+ version: number;
406
+ }
407
+ interface PromptMetadataPatch {
408
+ companyName?: string | null;
409
+ companyDescription?: string | null;
410
+ agentName?: string | null;
411
+ personalityTraits?: string[] | null;
412
+ environmentInfo?: string | null;
413
+ productName?: string | null;
414
+ contactChannels?: string[] | null;
415
+ }
389
416
 
390
417
  interface ToolInfo {
391
418
  name: string;
@@ -537,31 +564,6 @@ interface WebSocketStatus {
537
564
  interface SuccessResponse {
538
565
  message: string;
539
566
  }
540
- interface MioContext {
541
- taskId: string;
542
- modelId: string;
543
- currentTokens: number;
544
- contextLimit: number;
545
- usagePercentage: number;
546
- totalMessages: number;
547
- activeMessages: number;
548
- archivedMessages: number;
549
- messagesWithoutTokenCount: number;
550
- }
551
- interface MioMemoryItem {
552
- id: string;
553
- taskId: string | null;
554
- title: string;
555
- content: string;
556
- tags: string[];
557
- linkedTaskId: string | null;
558
- createdAt: string;
559
- updatedAt: string;
560
- }
561
- interface MioMemoriesResult {
562
- memories: MioMemoryItem[];
563
- total: number;
564
- }
565
567
  interface MessageDeleteMultipleResult {
566
568
  deletedIds: number[];
567
569
  failedIds: number[];
@@ -759,17 +761,8 @@ declare class OrchestratorAsync {
759
761
  limit?: number;
760
762
  offset?: number;
761
763
  }): Promise<TaskListResult>;
762
- searchVSATasks(userId: string, query: string, limit?: number): Promise<TaskListResult>;
764
+ searchVSATasks(userId: string, query: string, limit?: number, offset?: number): Promise<TaskListResult>;
763
765
  deleteVSATasksBulk(taskIds: string[]): Promise<TaskDeleteResult>;
764
- sendMioMessage(taskId: string, message: string, attachmentIds?: string[]): Promise<SuccessResponse>;
765
- approveMioAction(taskId: string, approved?: boolean, feedback?: string): Promise<SuccessResponse>;
766
- wakeMio(taskId: string): Promise<SuccessResponse>;
767
- sendMioUserAway(taskId: string): Promise<SuccessResponse>;
768
- markMioComplete(taskId: string): Promise<SuccessResponse>;
769
- markMioFailed(taskId: string): Promise<SuccessResponse>;
770
- archiveMio(taskId: string): Promise<SuccessResponse>;
771
- getMioContext(taskId: string): Promise<MioContext>;
772
- getMioMemories(taskId: string, includeCommon?: boolean): Promise<MioMemoriesResult>;
773
766
  listTools(): Promise<ToolsListResult>;
774
767
  /**
775
768
  * Default toolset every workflow uses when `availableTools` is omitted.
@@ -837,6 +830,8 @@ declare class OrchestratorAsync {
837
830
  getMetrics(types?: string): Promise<MetricSnapshot>;
838
831
  getSystemStatus(): Promise<SystemStatus>;
839
832
  updateSettings(settings: Partial<SystemStatusSettings>): Promise<SystemStatus>;
833
+ getPromptMetadata(): Promise<PromptMetadataResponse>;
834
+ updatePromptMetadata(patch: PromptMetadataPatch): Promise<PromptMetadataResponse>;
840
835
  getConfigurationStatus(): Promise<ConfigurationStatus>;
841
836
  setAgentModel(model: string): Promise<SuccessResponse>;
842
837
  setOrchestratorModel(model: string): Promise<SuccessResponse>;
@@ -918,17 +913,8 @@ declare class Orchestrator {
918
913
  stopVSA(taskId: string): SuccessResponse;
919
914
  deleteVSA(taskId: string): SuccessResponse;
920
915
  listVSATasks(userId: string, params?: Parameters<OrchestratorAsync["listVSATasks"]>[1]): TaskListResult;
921
- searchVSATasks(userId: string, query: string, limit?: number): TaskListResult;
916
+ searchVSATasks(userId: string, query: string, limit?: number, offset?: number): TaskListResult;
922
917
  deleteVSATasksBulk(taskIds: string[]): TaskDeleteResult;
923
- sendMioMessage(taskId: string, message: string, attachmentIds?: string[]): SuccessResponse;
924
- approveMioAction(taskId: string, approved?: boolean, feedback?: string): SuccessResponse;
925
- wakeMio(taskId: string): SuccessResponse;
926
- sendMioUserAway(taskId: string): SuccessResponse;
927
- markMioComplete(taskId: string): SuccessResponse;
928
- markMioFailed(taskId: string): SuccessResponse;
929
- archiveMio(taskId: string): SuccessResponse;
930
- getMioContext(taskId: string): MioContext;
931
- getMioMemories(taskId: string, includeCommon?: boolean): MioMemoriesResult;
932
918
  listTools(): ToolsListResult;
933
919
  getToolDefaults(): ToolDefaultsResult;
934
920
  getToolCatalog(): ToolCatalogResult;
@@ -974,6 +960,8 @@ declare class Orchestrator {
974
960
  getMetrics(types?: string): MetricSnapshot;
975
961
  getSystemStatus(): SystemStatus;
976
962
  updateSettings(settings: Record<string, unknown>): SystemStatus;
963
+ getPromptMetadata(): PromptMetadataResponse;
964
+ updatePromptMetadata(patch: Record<string, unknown>): PromptMetadataResponse;
977
965
  getConfigurationStatus(): ConfigurationStatus;
978
966
  setAgentModel(model: string): SuccessResponse;
979
967
  setOrchestratorModel(model: string): SuccessResponse;
@@ -1493,4 +1481,4 @@ declare function deepCamelCase<T>(obj: T): T;
1493
1481
  */
1494
1482
  declare const VERSION = "5.6.0";
1495
1483
 
1496
- export { type ArchivedContent, type AttachmentMeta, type AttachmentUploadResponse, type AuthConfig, type CompactionEvent, type ComponentHealth, type ConfigurationStatus, type ConversationResult, DEFAULT_FLOW_TIMEOUT_MS, EVENT_ERROR_EVENT_RECORDED, EVENT_MESSAGE_ADDED, EVENT_MESSAGE_STREAMING, EVENT_MESSAGE_SUMMARY_GENERATED, EVENT_MESSAGE_TRANSLATION_READY, EVENT_TASK_CREATED, EVENT_TASK_DELETED, EVENT_TASK_INSIGHT_UPDATED, EVENT_TASK_ITERATION_CHANGED, EVENT_TASK_RESULT_UPDATED, EVENT_TASK_STATUS_CHANGED, type ErrorCountResult, type ErrorEvent, type ErrorEventDetail, type ErrorEventListResult, type ErrorPurgeResult, type ErrorStatsResult, type EventHandler, Flow, FlowCancelledError, FlowError, type FlowRunParams, FlowTimeoutError, type HealthDetail, type HealthStatus, type LLMBackendInfo, type LLMBackendStatus, type LLMModelContextInfo, type LLMModelVisionInfo, type LeaderStatus, type LockStatus, type MCPServerInfo, type MCPServerStatus, type MatrixConversationResult, type Message, type MessageDeleteMultipleResult, type MessageTranslation, type MessageTranslationReadyEvent, type MessageTranslationsResult, type MetricSnapshot, type MioContext, type MioMemoriesResult, type MioMemoryItem, Orchestrator, OrchestratorAPIError, OrchestratorAsync, OrchestratorAuthError, type OrchestratorClientOptions, type OrchestratorConfig, OrchestratorConfigError, OrchestratorConnectionError, OrchestratorError, OrchestratorNotFoundError, type Pagination$1 as Pagination, type ReadinessCheck, type ReadinessResult, RealtimeClient, type RealtimeClientOptions, type ReloadServicesResult, type ReloadStatus, type SlotInfo, type SlotsStatus, type SubagentsStatus, type SuccessResponse, type SummaryWorkerStatus, type SystemStatus, type SystemStatusSettings, type TaskCancelResponse, type TaskCreateResponse, type TaskDeleteResult, type TaskDetail, type TaskHandlerCluster, type TaskHandlerReplica, type TaskHandlerStatus, type TaskHandlerStatusLocal, type TaskJournal, type TaskListResult, type TaskOptions, type TaskSummary, type TokenWorkerStatus, type ToolCall, type ToolDefaultsResult, type ToolInfo, type ToolsListResult, VERSION, type VSATaskCreateResponse, type WebSocketClientInfo, type WebSocketStatus, type WorkflowStates, type WorkflowToolDefaults, camelToSnake, createInsecureFetch, deepCamelCase, extractJsonFromMessage, loadConfig, setupDefaultClient, snakeToCamel };
1484
+ export { type ArchivedContent, type AttachmentMeta, type AttachmentUploadResponse, type AuthConfig, type CompactionEvent, type ComponentHealth, type ConfigurationStatus, type ConversationResult, DEFAULT_FLOW_TIMEOUT_MS, EVENT_ERROR_EVENT_RECORDED, EVENT_MESSAGE_ADDED, EVENT_MESSAGE_STREAMING, EVENT_MESSAGE_SUMMARY_GENERATED, EVENT_MESSAGE_TRANSLATION_READY, EVENT_TASK_CREATED, EVENT_TASK_DELETED, EVENT_TASK_INSIGHT_UPDATED, EVENT_TASK_ITERATION_CHANGED, EVENT_TASK_RESULT_UPDATED, EVENT_TASK_STATUS_CHANGED, type ErrorCountResult, type ErrorEvent, type ErrorEventDetail, type ErrorEventListResult, type ErrorPurgeResult, type ErrorStatsResult, type EventHandler, Flow, FlowCancelledError, FlowError, type FlowRunParams, FlowTimeoutError, type HealthDetail, type HealthStatus, type LLMBackendInfo, type LLMBackendStatus, type LLMModelContextInfo, type LLMModelVisionInfo, type LeaderStatus, type LockStatus, type MCPServerInfo, type MCPServerStatus, type MatrixConversationResult, type Message, type MessageDeleteMultipleResult, type MessageTranslation, type MessageTranslationReadyEvent, type MessageTranslationsResult, type MetricSnapshot, Orchestrator, OrchestratorAPIError, OrchestratorAsync, OrchestratorAuthError, type OrchestratorClientOptions, type OrchestratorConfig, OrchestratorConfigError, OrchestratorConnectionError, OrchestratorError, OrchestratorNotFoundError, type Pagination$1 as Pagination, type PromptMetadata, type PromptMetadataPatch, type PromptMetadataResponse, type ReadinessCheck, type ReadinessResult, RealtimeClient, type RealtimeClientOptions, type ReloadServicesResult, type ReloadStatus, type SlotInfo, type SlotsStatus, type SubagentsStatus, type SuccessResponse, type SummaryWorkerStatus, type SystemStatus, type SystemStatusSettings, type TaskCancelResponse, type TaskCreateResponse, type TaskDeleteResult, type TaskDetail, type TaskHandlerCluster, type TaskHandlerReplica, type TaskHandlerStatus, type TaskHandlerStatusLocal, type TaskJournal, type TaskListResult, type TaskOptions, type TaskSummary, type TokenWorkerStatus, type ToolCall, type ToolDefaultsResult, type ToolInfo, type ToolsListResult, VERSION, type VSATaskCreateResponse, type WebSocketClientInfo, type WebSocketStatus, type WorkflowStates, type WorkflowToolDefaults, camelToSnake, createInsecureFetch, deepCamelCase, extractJsonFromMessage, loadConfig, setupDefaultClient, snakeToCamel };
package/dist/index.js CHANGED
@@ -807,11 +807,12 @@ var OrchestratorAsync = class {
807
807
  });
808
808
  return buildVsaTaskList(data);
809
809
  }
810
- async searchVSATasks(userId, query, limit) {
810
+ async searchVSATasks(userId, query, limit, offset) {
811
811
  const data = await this._get("/task/vsa/search", {
812
812
  user_id: userId,
813
813
  query,
814
- limit
814
+ limit,
815
+ offset
815
816
  });
816
817
  return buildVsaTaskList(data);
817
818
  }
@@ -828,85 +829,6 @@ var OrchestratorAsync = class {
828
829
  };
829
830
  }
830
831
  // ------------------------------------------------------------------
831
- // MIO (self_managed) workflow
832
- // ------------------------------------------------------------------
833
- async sendMioMessage(taskId, message, attachmentIds) {
834
- const data = await this._post(
835
- "/task/self_managed/message",
836
- { task_id: taskId, message, attachment_ids: attachmentIds }
837
- );
838
- return { message: data.message ?? "" };
839
- }
840
- async approveMioAction(taskId, approved = true, feedback) {
841
- const data = await this._post(
842
- "/task/self_managed/action",
843
- { task_id: taskId, approved, feedback }
844
- );
845
- return { message: data.message ?? "" };
846
- }
847
- async wakeMio(taskId) {
848
- const data = await this._post(
849
- "/task/self_managed/wake",
850
- { task_id: taskId }
851
- );
852
- return { message: data.message ?? "" };
853
- }
854
- async sendMioUserAway(taskId) {
855
- const data = await this._post(
856
- "/task/self_managed/user_away",
857
- { task_id: taskId }
858
- );
859
- return { message: data.message ?? "" };
860
- }
861
- async markMioComplete(taskId) {
862
- const data = await this._post(
863
- "/task/self_managed/mark_complete",
864
- { task_id: taskId }
865
- );
866
- return { message: data.message ?? "" };
867
- }
868
- async markMioFailed(taskId) {
869
- const data = await this._post(
870
- "/task/self_managed/mark_failed",
871
- { task_id: taskId }
872
- );
873
- return { message: data.message ?? "" };
874
- }
875
- async archiveMio(taskId) {
876
- const data = await this._post(
877
- "/task/self_managed/archive",
878
- { task_id: taskId }
879
- );
880
- return { message: data.message ?? "" };
881
- }
882
- async getMioContext(taskId) {
883
- const data = await this._get(
884
- "/task/self_managed/context",
885
- { task_id: taskId }
886
- );
887
- return {
888
- taskId: data.taskId ?? data.task_id ?? taskId,
889
- modelId: data.modelId ?? data.model_id ?? "",
890
- currentTokens: data.currentTokens ?? data.current_tokens ?? 0,
891
- contextLimit: data.contextLimit ?? data.context_limit ?? 0,
892
- usagePercentage: data.usagePercentage ?? data.usage_percentage ?? 0,
893
- totalMessages: data.totalMessages ?? data.total_messages ?? 0,
894
- activeMessages: data.activeMessages ?? data.active_messages ?? 0,
895
- archivedMessages: data.archivedMessages ?? data.archived_messages ?? 0,
896
- messagesWithoutTokenCount: data.messagesWithoutTokenCount ?? data.messages_without_token_count ?? 0
897
- };
898
- }
899
- async getMioMemories(taskId, includeCommon) {
900
- const data = await this._get(
901
- "/task/self_managed/memories",
902
- { task_id: taskId, include_common: includeCommon }
903
- );
904
- return {
905
- memories: data.memories ?? [],
906
- total: data.total ?? 0
907
- };
908
- }
909
- // ------------------------------------------------------------------
910
832
  // Tools
911
833
  // ------------------------------------------------------------------
912
834
  async listTools() {
@@ -1215,11 +1137,45 @@ var OrchestratorAsync = class {
1215
1137
  if (settings.subagentsEnabled !== void 0) {
1216
1138
  body.subagents_enabled = settings.subagentsEnabled;
1217
1139
  }
1140
+ if (settings.agentReasoningEffort !== void 0) {
1141
+ body.agent_reasoning_effort = settings.agentReasoningEffort;
1142
+ }
1218
1143
  if (settings.localizationTargets !== void 0) {
1219
1144
  body.localization_targets = settings.localizationTargets;
1220
1145
  }
1221
1146
  return this._post("/configuration/system/settings", body);
1222
1147
  }
1148
+ async getPromptMetadata() {
1149
+ return this._get("/configuration/prompt-metadata");
1150
+ }
1151
+ async updatePromptMetadata(patch) {
1152
+ const body = {};
1153
+ if (patch.companyName !== void 0) {
1154
+ body.company_name = patch.companyName;
1155
+ }
1156
+ if (patch.companyDescription !== void 0) {
1157
+ body.company_description = patch.companyDescription;
1158
+ }
1159
+ if (patch.agentName !== void 0) {
1160
+ body.agent_name = patch.agentName;
1161
+ }
1162
+ if (patch.personalityTraits !== void 0) {
1163
+ body.personality_traits = patch.personalityTraits;
1164
+ }
1165
+ if (patch.environmentInfo !== void 0) {
1166
+ body.environment_info = patch.environmentInfo;
1167
+ }
1168
+ if (patch.productName !== void 0) {
1169
+ body.product_name = patch.productName;
1170
+ }
1171
+ if (patch.contactChannels !== void 0) {
1172
+ body.contact_channels = patch.contactChannels;
1173
+ }
1174
+ return this._post(
1175
+ "/configuration/prompt-metadata",
1176
+ body
1177
+ );
1178
+ }
1223
1179
  async getConfigurationStatus() {
1224
1180
  return this._get("/configuration/status");
1225
1181
  }
@@ -1551,44 +1507,13 @@ var Orchestrator = class {
1551
1507
  listVSATasks(userId, params) {
1552
1508
  return runSync(this._async.listVSATasks(userId, params));
1553
1509
  }
1554
- searchVSATasks(userId, query, limit) {
1555
- return runSync(this._async.searchVSATasks(userId, query, limit));
1510
+ searchVSATasks(userId, query, limit, offset) {
1511
+ return runSync(this._async.searchVSATasks(userId, query, limit, offset));
1556
1512
  }
1557
1513
  deleteVSATasksBulk(taskIds) {
1558
1514
  return runSync(this._async.deleteVSATasksBulk(taskIds));
1559
1515
  }
1560
1516
  // ------------------------------------------------------------------
1561
- // MIO (self_managed) workflow
1562
- // ------------------------------------------------------------------
1563
- sendMioMessage(taskId, message, attachmentIds) {
1564
- return runSync(this._async.sendMioMessage(taskId, message, attachmentIds));
1565
- }
1566
- approveMioAction(taskId, approved = true, feedback) {
1567
- return runSync(this._async.approveMioAction(taskId, approved, feedback));
1568
- }
1569
- wakeMio(taskId) {
1570
- return runSync(this._async.wakeMio(taskId));
1571
- }
1572
- sendMioUserAway(taskId) {
1573
- return runSync(this._async.sendMioUserAway(taskId));
1574
- }
1575
- markMioComplete(taskId) {
1576
- return runSync(this._async.markMioComplete(taskId));
1577
- }
1578
- markMioFailed(taskId) {
1579
- return runSync(this._async.markMioFailed(taskId));
1580
- }
1581
- archiveMio(taskId) {
1582
- return runSync(this._async.archiveMio(taskId));
1583
- }
1584
- getMioContext(taskId) {
1585
- return runSync(this._async.getMioContext(taskId));
1586
- }
1587
- getMioMemories(taskId, includeCommon) {
1588
- return runSync(this._async.getMioMemories(taskId, includeCommon));
1589
- }
1590
- // ------------------------------------------------------------------
1591
- // Tools
1592
1517
  // ------------------------------------------------------------------
1593
1518
  listTools() {
1594
1519
  return runSync(this._async.listTools());
@@ -1703,6 +1628,12 @@ var Orchestrator = class {
1703
1628
  updateSettings(settings) {
1704
1629
  return runSync(this._async.updateSettings(settings));
1705
1630
  }
1631
+ getPromptMetadata() {
1632
+ return runSync(this._async.getPromptMetadata());
1633
+ }
1634
+ updatePromptMetadata(patch) {
1635
+ return runSync(this._async.updatePromptMetadata(patch));
1636
+ }
1706
1637
  getConfigurationStatus() {
1707
1638
  return runSync(this._async.getConfigurationStatus());
1708
1639
  }