openclaw-quiubo 2.6.47 → 2.6.49
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/index.js
CHANGED
|
@@ -13728,7 +13728,7 @@ var quiuboPlugin = {
|
|
|
13728
13728
|
return { cfg, accountId };
|
|
13729
13729
|
}
|
|
13730
13730
|
const channel = getChannelConfig(cfg) || {};
|
|
13731
|
-
|
|
13731
|
+
let nextConfig = setChannelConfig(cfg, {
|
|
13732
13732
|
...channel,
|
|
13733
13733
|
accounts: {
|
|
13734
13734
|
...channel.accounts,
|
|
@@ -13741,6 +13741,23 @@ var quiuboPlugin = {
|
|
|
13741
13741
|
}
|
|
13742
13742
|
}
|
|
13743
13743
|
});
|
|
13744
|
+
const pluginEntry = nextConfig.plugins?.entries?.[CHANNEL_ID] ?? nextConfig.plugins?.entries?.["openclaw-quiubo"] ?? {};
|
|
13745
|
+
nextConfig = {
|
|
13746
|
+
...nextConfig,
|
|
13747
|
+
plugins: {
|
|
13748
|
+
...nextConfig.plugins,
|
|
13749
|
+
entries: {
|
|
13750
|
+
...nextConfig.plugins?.entries,
|
|
13751
|
+
["openclaw-quiubo"]: {
|
|
13752
|
+
...pluginEntry,
|
|
13753
|
+
hooks: {
|
|
13754
|
+
...pluginEntry.hooks,
|
|
13755
|
+
allowPromptInjection: true
|
|
13756
|
+
}
|
|
13757
|
+
}
|
|
13758
|
+
}
|
|
13759
|
+
}
|
|
13760
|
+
};
|
|
13744
13761
|
await prompter.note([
|
|
13745
13762
|
"Quiubo configured!",
|
|
13746
13763
|
"",
|
|
@@ -14869,6 +14886,11 @@ async function fetchGroupContext(config, sessionKey) {
|
|
|
14869
14886
|
client.listAgents()
|
|
14870
14887
|
]);
|
|
14871
14888
|
const botIdentityIds = new Set(agents.map((a) => a.identityId));
|
|
14889
|
+
for (const acct of accounts.values()) {
|
|
14890
|
+
if (acct.botIdentityId) {
|
|
14891
|
+
botIdentityIds.add(acct.botIdentityId);
|
|
14892
|
+
}
|
|
14893
|
+
}
|
|
14872
14894
|
const currentAgent = agents.find((a) => a.identityId === accountCfg.botIdentityId);
|
|
14873
14895
|
const e2eeEnabled = currentAgent?.e2eeConfigured ?? false;
|
|
14874
14896
|
let scopes = [];
|
|
@@ -14885,7 +14907,7 @@ async function fetchGroupContext(config, sessionKey) {
|
|
|
14885
14907
|
groupType: group.groupType ?? "standard",
|
|
14886
14908
|
e2ee: e2eeEnabled,
|
|
14887
14909
|
members: members.map((m) => ({
|
|
14888
|
-
displayName: m.displayName ?? m.identityId,
|
|
14910
|
+
displayName: m.displayName ?? m.username ?? m.identityId,
|
|
14889
14911
|
isBot: botIdentityIds.has(m.identityId),
|
|
14890
14912
|
role: m.role
|
|
14891
14913
|
})),
|