@alfe.ai/openclaw-chat 0.9.18 → 0.9.19
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/plugin.d.cts +4 -4
- package/dist/plugin.d.ts +4 -4
- package/dist/plugin2.cjs +4 -4
- package/dist/plugin2.js +4 -4
- package/package.json +2 -2
package/dist/plugin.d.cts
CHANGED
|
@@ -702,11 +702,11 @@ declare function __setActiveRunForTest(ref: ActiveRunRef | null): void;
|
|
|
702
702
|
* Ordered session keys to try when aborting for `abortSessionKey`. Pure, so it
|
|
703
703
|
* unit-tests without the OpenClaw SDK. The resolved route key (what the run
|
|
704
704
|
* registered under) is preferred; the raw request key is a best-effort
|
|
705
|
-
* fallback.
|
|
706
|
-
*
|
|
707
|
-
*
|
|
705
|
+
* fallback. A supplied run ID requires both the active run ID and request
|
|
706
|
+
* session key to match. Legacy aborts without a run ID may target the single
|
|
707
|
+
* active run when no session key is supplied, or try the supplied raw key.
|
|
708
708
|
*/
|
|
709
|
-
declare function resolveAbortTargetKeys(active: ActiveRunRef | null, abortSessionKey: string | undefined, abortRunId?:
|
|
709
|
+
declare function resolveAbortTargetKeys(active: ActiveRunRef | null, abortSessionKey: string | undefined, abortRunId?: unknown): string[];
|
|
710
710
|
/**
|
|
711
711
|
* Speech-style reply guidance injected into the agent's SYSTEM PROMPT for a
|
|
712
712
|
* live voice-call turn (`origin:'voice'`). The user is speaking on a call and
|
package/dist/plugin.d.ts
CHANGED
|
@@ -702,11 +702,11 @@ declare function __setActiveRunForTest(ref: ActiveRunRef | null): void;
|
|
|
702
702
|
* Ordered session keys to try when aborting for `abortSessionKey`. Pure, so it
|
|
703
703
|
* unit-tests without the OpenClaw SDK. The resolved route key (what the run
|
|
704
704
|
* registered under) is preferred; the raw request key is a best-effort
|
|
705
|
-
* fallback.
|
|
706
|
-
*
|
|
707
|
-
*
|
|
705
|
+
* fallback. A supplied run ID requires both the active run ID and request
|
|
706
|
+
* session key to match. Legacy aborts without a run ID may target the single
|
|
707
|
+
* active run when no session key is supplied, or try the supplied raw key.
|
|
708
708
|
*/
|
|
709
|
-
declare function resolveAbortTargetKeys(active: ActiveRunRef | null, abortSessionKey: string | undefined, abortRunId?:
|
|
709
|
+
declare function resolveAbortTargetKeys(active: ActiveRunRef | null, abortSessionKey: string | undefined, abortRunId?: unknown): string[];
|
|
710
710
|
/**
|
|
711
711
|
* Speech-style reply guidance injected into the agent's SYSTEM PROMPT for a
|
|
712
712
|
* live voice-call turn (`origin:'voice'`). The user is speaking on a call and
|
package/dist/plugin2.cjs
CHANGED
|
@@ -2951,12 +2951,12 @@ function __setActiveRunForTest(ref) {
|
|
|
2951
2951
|
* Ordered session keys to try when aborting for `abortSessionKey`. Pure, so it
|
|
2952
2952
|
* unit-tests without the OpenClaw SDK. The resolved route key (what the run
|
|
2953
2953
|
* registered under) is preferred; the raw request key is a best-effort
|
|
2954
|
-
* fallback.
|
|
2955
|
-
*
|
|
2956
|
-
*
|
|
2954
|
+
* fallback. A supplied run ID requires both the active run ID and request
|
|
2955
|
+
* session key to match. Legacy aborts without a run ID may target the single
|
|
2956
|
+
* active run when no session key is supplied, or try the supplied raw key.
|
|
2957
2957
|
*/
|
|
2958
2958
|
function resolveAbortTargetKeys(active, abortSessionKey, abortRunId) {
|
|
2959
|
-
if (abortRunId && (!active?.runId || active.runId !== abortRunId ||
|
|
2959
|
+
if (abortRunId !== void 0 && (resolveRequestedRunId(abortRunId) === null || !active?.runId || active.runId !== abortRunId || active.requestSessionKey !== abortSessionKey)) return [];
|
|
2960
2960
|
const keys = [];
|
|
2961
2961
|
if (active && (!abortSessionKey || active.requestSessionKey === abortSessionKey)) {
|
|
2962
2962
|
if (active.routeSessionKey) keys.push(active.routeSessionKey);
|
package/dist/plugin2.js
CHANGED
|
@@ -2951,12 +2951,12 @@ function __setActiveRunForTest(ref) {
|
|
|
2951
2951
|
* Ordered session keys to try when aborting for `abortSessionKey`. Pure, so it
|
|
2952
2952
|
* unit-tests without the OpenClaw SDK. The resolved route key (what the run
|
|
2953
2953
|
* registered under) is preferred; the raw request key is a best-effort
|
|
2954
|
-
* fallback.
|
|
2955
|
-
*
|
|
2956
|
-
*
|
|
2954
|
+
* fallback. A supplied run ID requires both the active run ID and request
|
|
2955
|
+
* session key to match. Legacy aborts without a run ID may target the single
|
|
2956
|
+
* active run when no session key is supplied, or try the supplied raw key.
|
|
2957
2957
|
*/
|
|
2958
2958
|
function resolveAbortTargetKeys(active, abortSessionKey, abortRunId) {
|
|
2959
|
-
if (abortRunId && (!active?.runId || active.runId !== abortRunId ||
|
|
2959
|
+
if (abortRunId !== void 0 && (resolveRequestedRunId(abortRunId) === null || !active?.runId || active.runId !== abortRunId || active.requestSessionKey !== abortSessionKey)) return [];
|
|
2960
2960
|
const keys = [];
|
|
2961
2961
|
if (active && (!abortSessionKey || active.requestSessionKey === abortSessionKey)) {
|
|
2962
2962
|
if (active.routeSessionKey) keys.push(active.routeSessionKey);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfe.ai/openclaw-chat",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.19",
|
|
4
4
|
"description": "OpenClaw chat plugin for Alfe — web widget and mobile app channels",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/plugin.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@alfe.ai/agent-api-client": "^0.19.0",
|
|
31
|
-
"@alfe.ai/chat": "^0.0.19",
|
|
32
31
|
"@alfe.ai/config": "^0.4.1",
|
|
32
|
+
"@alfe.ai/chat": "^0.0.19",
|
|
33
33
|
"@alfe.ai/openclaw-plugin-kit": "0.2.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|