openclaw-extension-typex 1.0.9 → 1.0.10
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/message.js
CHANGED
|
@@ -33,7 +33,7 @@ async function processTypeXMessage(client, payload, appId, options = {}) {
|
|
|
33
33
|
SenderId: senderId,
|
|
34
34
|
SenderName: payload.sender_name || "User",
|
|
35
35
|
ChatType: "dm", // Simplified, TypeX mostly DM for now?
|
|
36
|
-
Provider: "
|
|
36
|
+
Provider: "typex",
|
|
37
37
|
Surface: "typex",
|
|
38
38
|
Timestamp: payload.create_time || Date.now(),
|
|
39
39
|
MessageSid: payload.message_id,
|
|
@@ -70,6 +70,7 @@ async function processTypeXMessage(client, payload, appId, options = {}) {
|
|
|
70
70
|
},
|
|
71
71
|
replyOptions: {
|
|
72
72
|
disableBlockStreaming: true,
|
|
73
|
+
embedded: true,
|
|
73
74
|
},
|
|
74
75
|
});
|
|
75
76
|
}
|
package/dist/client/runtime.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Global runtime reference for the TypeX plugin.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
export declare function
|
|
4
|
+
import type { PluginRuntime } from "openclaw/plugin-sdk";
|
|
5
|
+
export declare function setTypeXRuntime(next: PluginRuntime): void;
|
|
6
|
+
export declare function getTypeXRuntime(): PluginRuntime;
|
package/openclaw.plugin.json
CHANGED