@sonara/client 0.34.0 → 0.35.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/cjs/extensions.d.ts +4 -1
- package/dist/cjs/extensions.js +4 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/extensions.d.ts +4 -1
- package/dist/esm/extensions.js +4 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
package/dist/cjs/extensions.d.ts
CHANGED
|
@@ -65,7 +65,10 @@ export declare class AgentApi {
|
|
|
65
65
|
stream(msg: StreamMessage): Promise<Reply>;
|
|
66
66
|
/** `turn_start`. */
|
|
67
67
|
turnStart(channel: string, turn: string | number, extra?: Extra): Promise<Reply>;
|
|
68
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* `turn_end`. `extra.reply` (protocol 1.14, runtime 0.35.0): the turn's
|
|
70
|
+
* final reply, read alone with the agent key `read_mode` `"final"`.
|
|
71
|
+
*/
|
|
69
72
|
turnEnd(channel: string, turn: string | number, extra?: Extra): Promise<Reply>;
|
|
70
73
|
/**
|
|
71
74
|
* `ask`: a question, permission or plan, spoken with priority. A question
|
package/dist/cjs/extensions.js
CHANGED
|
@@ -66,7 +66,10 @@ class AgentApi {
|
|
|
66
66
|
turnStart(channel, turn, extra = {}) {
|
|
67
67
|
return this.send("turn_start", defined({ ...extra, channel, turn }));
|
|
68
68
|
}
|
|
69
|
-
/**
|
|
69
|
+
/**
|
|
70
|
+
* `turn_end`. `extra.reply` (protocol 1.14, runtime 0.35.0): the turn's
|
|
71
|
+
* final reply, read alone with the agent key `read_mode` `"final"`.
|
|
72
|
+
*/
|
|
70
73
|
turnEnd(channel, turn, extra = {}) {
|
|
71
74
|
return this.send("turn_end", defined({ ...extra, channel, turn }));
|
|
72
75
|
}
|
package/dist/cjs/version.d.ts
CHANGED
package/dist/cjs/version.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PROTOCOL = exports.VERSION = void 0;
|
|
4
4
|
/** Version of this package, sent as `client.version` in `hello`. */
|
|
5
|
-
exports.VERSION = "0.
|
|
5
|
+
exports.VERSION = "0.35.0";
|
|
6
6
|
/** Protocol this client speaks. */
|
|
7
7
|
exports.PROTOCOL = { major: 1, minor: 0 };
|
package/dist/esm/extensions.d.ts
CHANGED
|
@@ -65,7 +65,10 @@ export declare class AgentApi {
|
|
|
65
65
|
stream(msg: StreamMessage): Promise<Reply>;
|
|
66
66
|
/** `turn_start`. */
|
|
67
67
|
turnStart(channel: string, turn: string | number, extra?: Extra): Promise<Reply>;
|
|
68
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* `turn_end`. `extra.reply` (protocol 1.14, runtime 0.35.0): the turn's
|
|
70
|
+
* final reply, read alone with the agent key `read_mode` `"final"`.
|
|
71
|
+
*/
|
|
69
72
|
turnEnd(channel: string, turn: string | number, extra?: Extra): Promise<Reply>;
|
|
70
73
|
/**
|
|
71
74
|
* `ask`: a question, permission or plan, spoken with priority. A question
|
package/dist/esm/extensions.js
CHANGED
|
@@ -62,7 +62,10 @@ export class AgentApi {
|
|
|
62
62
|
turnStart(channel, turn, extra = {}) {
|
|
63
63
|
return this.send("turn_start", defined({ ...extra, channel, turn }));
|
|
64
64
|
}
|
|
65
|
-
/**
|
|
65
|
+
/**
|
|
66
|
+
* `turn_end`. `extra.reply` (protocol 1.14, runtime 0.35.0): the turn's
|
|
67
|
+
* final reply, read alone with the agent key `read_mode` `"final"`.
|
|
68
|
+
*/
|
|
66
69
|
turnEnd(channel, turn, extra = {}) {
|
|
67
70
|
return this.send("turn_end", defined({ ...extra, channel, turn }));
|
|
68
71
|
}
|
package/dist/esm/version.d.ts
CHANGED
package/dist/esm/version.js
CHANGED
package/package.json
CHANGED