@agentchatme/openclaw 0.6.18 → 0.6.20
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/CHANGELOG.md +4 -0
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/setup-entry.cjs +5 -5
- package/dist/setup-entry.cjs.map +1 -1
- package/dist/setup-entry.js +4 -4
- package/dist/setup-entry.js.map +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +18 -15
package/dist/setup-entry.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var ws = require('ws');
|
|
|
13
13
|
var directDm = require('openclaw/plugin-sdk/direct-dm');
|
|
14
14
|
var inboundEnvelope = require('openclaw/plugin-sdk/inbound-envelope');
|
|
15
15
|
var inboundReplyDispatch = require('openclaw/plugin-sdk/inbound-reply-dispatch');
|
|
16
|
-
var
|
|
16
|
+
var agentchatme = require('agentchatme');
|
|
17
17
|
var typebox = require('@sinclair/typebox');
|
|
18
18
|
|
|
19
19
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -348,8 +348,8 @@ async function promptHandle(prompter) {
|
|
|
348
348
|
}
|
|
349
349
|
async function promptDisplayName(prompter) {
|
|
350
350
|
return (await prompter.text({
|
|
351
|
-
message: "Display name (
|
|
352
|
-
placeholder: "",
|
|
351
|
+
message: "Display name (shown next to your @handle)",
|
|
352
|
+
placeholder: "e.g. Anton, Builder Bot, Sasha",
|
|
353
353
|
validate: () => void 0
|
|
354
354
|
})).trim();
|
|
355
355
|
}
|
|
@@ -1854,7 +1854,7 @@ var CircuitBreaker = class {
|
|
|
1854
1854
|
};
|
|
1855
1855
|
|
|
1856
1856
|
// src/version.ts
|
|
1857
|
-
var PACKAGE_VERSION = "0.6.
|
|
1857
|
+
var PACKAGE_VERSION = "0.6.20";
|
|
1858
1858
|
|
|
1859
1859
|
// src/outbound.ts
|
|
1860
1860
|
var DEFAULT_RETRY_POLICY = {
|
|
@@ -2715,7 +2715,7 @@ function getClient({ accountId, config, options }) {
|
|
|
2715
2715
|
if (existing && existing.apiKey === config.apiKey && existing.apiBase === config.apiBase) {
|
|
2716
2716
|
return existing.client;
|
|
2717
2717
|
}
|
|
2718
|
-
const client = new
|
|
2718
|
+
const client = new agentchatme.AgentChatClient({
|
|
2719
2719
|
apiKey: config.apiKey,
|
|
2720
2720
|
baseUrl: config.apiBase,
|
|
2721
2721
|
...options
|