@vincemakes/kiso-client 0.54.0 → 0.54.1
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/client.d.ts +5 -0
- package/dist/client.js +4 -0
- package/package.json +6 -6
package/dist/client.d.ts
CHANGED
|
@@ -97,6 +97,11 @@ export declare class SessionClient {
|
|
|
97
97
|
steer(input: WireInput): Promise<SteerReply>;
|
|
98
98
|
resume(): Promise<RunReply>;
|
|
99
99
|
/** Stop the run in flight. A parked run is a REPLY (kind "parked"), not an error. */
|
|
100
|
+
/** ADR-0057 — take back the steers the live run has not admitted yet; `count` is how many. */
|
|
101
|
+
retract(): Promise<{
|
|
102
|
+
readonly runId: string | null;
|
|
103
|
+
readonly count: number;
|
|
104
|
+
}>;
|
|
100
105
|
abort(options?: {
|
|
101
106
|
force?: boolean;
|
|
102
107
|
}): Promise<AbortReply>;
|
package/dist/client.js
CHANGED
|
@@ -72,6 +72,10 @@ export class SessionClient {
|
|
|
72
72
|
return this.#json(await this.#request("POST", "resume", {}));
|
|
73
73
|
}
|
|
74
74
|
/** Stop the run in flight. A parked run is a REPLY (kind "parked"), not an error. */
|
|
75
|
+
/** ADR-0057 — take back the steers the live run has not admitted yet; `count` is how many. */
|
|
76
|
+
async retract() {
|
|
77
|
+
return this.#json(await this.#request("POST", "retract", {}));
|
|
78
|
+
}
|
|
75
79
|
async abort(options = {}) {
|
|
76
80
|
return this.#json(await this.#request("POST", "abort", options), [200, 409]);
|
|
77
81
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vincemakes/kiso-client",
|
|
3
|
-
"version": "0.54.
|
|
3
|
+
"version": "0.54.1",
|
|
4
4
|
"description": "kiso client — the typed client for a hosted kiso session over the wire protocol: run, resume, abort, approve, the snapshot, and a stream that reconnects with Last-Event-ID and never repeats an event. Browser and Node; depends on the protocol package only.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"test": "vitest run"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@vincemakes/kiso-protocol": "0.54.
|
|
24
|
+
"@vincemakes/kiso-protocol": "0.54.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@vincemakes/kiso-core": "0.54.
|
|
28
|
-
"@vincemakes/kiso-evals": "0.54.
|
|
29
|
-
"@vincemakes/kiso-runtime": "0.54.
|
|
30
|
-
"@vincemakes/kiso-server": "0.54.
|
|
27
|
+
"@vincemakes/kiso-core": "0.54.1",
|
|
28
|
+
"@vincemakes/kiso-evals": "0.54.1",
|
|
29
|
+
"@vincemakes/kiso-runtime": "0.54.1",
|
|
30
|
+
"@vincemakes/kiso-server": "0.54.1",
|
|
31
31
|
"@types/node": "^26.1.2",
|
|
32
32
|
"typescript": "^5.7.2",
|
|
33
33
|
"vitest": "^3.0.0"
|