@wildix/wilma-copilot-sessions-client 1.0.6 → 1.0.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.
|
@@ -28,9 +28,9 @@ declare const AskCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* Records an ask in a copilot session and publishes it as an `ask` event on the session
|
|
31
|
-
* stream. The ask itself runs as a regular Wilma session (wilma-
|
|
31
|
+
* stream. The ask itself runs as a regular Wilma session (wilma-assistant): `wilmaSessionId`
|
|
32
32
|
* points at it and `accessToken` is a read-only, session-scoped token other agents present to
|
|
33
|
-
* wilma-
|
|
33
|
+
* wilma-assistant to render the ask output — copilot sessions are shared within the tenant, so
|
|
34
34
|
* any agent watching the stream may view it.
|
|
35
35
|
* @example
|
|
36
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -438,12 +438,12 @@ export interface AskInput {
|
|
|
438
438
|
*/
|
|
439
439
|
company?: string | undefined;
|
|
440
440
|
/**
|
|
441
|
-
* The Wilma session (wilma-
|
|
441
|
+
* The Wilma session (wilma-assistant) holding the ask and its output.
|
|
442
442
|
* @public
|
|
443
443
|
*/
|
|
444
444
|
wilmaSessionId: string;
|
|
445
445
|
/**
|
|
446
|
-
* Read-only, expiring token scoped to `wilmaSessionId`, issued by wilma-
|
|
446
|
+
* Read-only, expiring token scoped to `wilmaSessionId`, issued by wilma-assistant. Published on the `ask` event so other agents can view the output.
|
|
447
447
|
* @public
|
|
448
448
|
*/
|
|
449
449
|
accessToken?: string | undefined;
|
|
@@ -459,7 +459,7 @@ export interface AskOutput {
|
|
|
459
459
|
index: number;
|
|
460
460
|
}
|
|
461
461
|
/**
|
|
462
|
-
* An ask recorded in the session. The ask itself runs as a regular Wilma session (wilma-
|
|
462
|
+
* An ask recorded in the session. The ask itself runs as a regular Wilma session (wilma-assistant); any agent in the company can render its output by presenting `accessToken` to wilma-assistant — copilot sessions are shared within the tenant.
|
|
463
463
|
* @public
|
|
464
464
|
*/
|
|
465
465
|
export interface CopilotAskEvent {
|
|
@@ -479,12 +479,12 @@ export interface CopilotAskEvent {
|
|
|
479
479
|
*/
|
|
480
480
|
userId: string;
|
|
481
481
|
/**
|
|
482
|
-
* The Wilma session (wilma-
|
|
482
|
+
* The Wilma session (wilma-assistant) holding the ask and its output.
|
|
483
483
|
* @public
|
|
484
484
|
*/
|
|
485
485
|
wilmaSessionId: string;
|
|
486
486
|
/**
|
|
487
|
-
* Read-only, session-scoped, expiring token other agents present to wilma-
|
|
487
|
+
* Read-only, session-scoped, expiring token other agents present to wilma-assistant to view the ask output.
|
|
488
488
|
* @public
|
|
489
489
|
*/
|
|
490
490
|
accessToken?: string | undefined;
|
|
@@ -867,7 +867,7 @@ export declare namespace CopilotSessionEvent {
|
|
|
867
867
|
$unknown?: never;
|
|
868
868
|
}
|
|
869
869
|
/**
|
|
870
|
-
* An ask recorded in the session. The ask itself runs as a regular Wilma session (wilma-
|
|
870
|
+
* An ask recorded in the session. The ask itself runs as a regular Wilma session (wilma-assistant); any agent in the company can render its output by presenting `accessToken` to wilma-assistant — copilot sessions are shared within the tenant.
|
|
871
871
|
* @public
|
|
872
872
|
*/
|
|
873
873
|
interface AskMember {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wilma-copilot-sessions-client",
|
|
3
3
|
"description": "@wildix/wilma-copilot-sessions-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.7",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|