orchestrator-client 5.6.0 → 5.7.0
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.cjs +308 -148
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -5
- package/dist/index.d.ts +11 -5
- package/dist/index.js +308 -148
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -522,8 +522,15 @@ declare class OrchestratorAsync {
|
|
|
522
522
|
goalPrompt: string;
|
|
523
523
|
title?: string;
|
|
524
524
|
modelId?: string;
|
|
525
|
+
/** Short-lived AiDIT delegated token (RFC 8693). Stored encrypted;
|
|
526
|
+
* transparently appended as `token` to mcp-aidit tool-call arguments. */
|
|
527
|
+
delegatedToken?: string;
|
|
525
528
|
}): Promise<VSATaskCreateResponse>;
|
|
526
|
-
sendVSAMessage(taskId: string, content: string
|
|
529
|
+
sendVSAMessage(taskId: string, content: string, options?: {
|
|
530
|
+
/** Short-lived AiDIT delegated token. When provided, overwrites the
|
|
531
|
+
* token stored for the task. Omitting leaves the existing token unchanged. */
|
|
532
|
+
delegatedToken?: string;
|
|
533
|
+
}): Promise<SuccessResponse>;
|
|
527
534
|
renameVSATask(taskId: string, title: string): Promise<SuccessResponse>;
|
|
528
535
|
regenerateVSATitle(taskId: string): Promise<SuccessResponse>;
|
|
529
536
|
markVSAComplete(taskId: string): Promise<SuccessResponse>;
|
|
@@ -641,7 +648,9 @@ declare class Orchestrator {
|
|
|
641
648
|
approveMatrixAction(taskId: string): SuccessResponse;
|
|
642
649
|
getMatrixConversation(taskId: string): MatrixConversationResult;
|
|
643
650
|
createVSATask(params: Parameters<OrchestratorAsync["createVSATask"]>[0]): VSATaskCreateResponse;
|
|
644
|
-
sendVSAMessage(taskId: string, content: string
|
|
651
|
+
sendVSAMessage(taskId: string, content: string, options?: {
|
|
652
|
+
delegatedToken?: string;
|
|
653
|
+
}): SuccessResponse;
|
|
645
654
|
renameVSATask(taskId: string, title: string): SuccessResponse;
|
|
646
655
|
regenerateVSATitle(taskId: string): SuccessResponse;
|
|
647
656
|
markVSAComplete(taskId: string): SuccessResponse;
|
|
@@ -794,9 +803,6 @@ interface RealtimeClientOptions {
|
|
|
794
803
|
}
|
|
795
804
|
/**
|
|
796
805
|
* Socket.IO-based realtime client for receiving orchestrator events.
|
|
797
|
-
*
|
|
798
|
-
* Requires the consumer to provide their own `socket.io-client` instance
|
|
799
|
-
* to avoid version conflicts.
|
|
800
806
|
*/
|
|
801
807
|
declare class RealtimeClient {
|
|
802
808
|
private _baseUrl;
|