@openclaw/nextcloud-talk 2026.10.5-beta.4 → 2026.10.10-beta.2
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/.setup/api-BmNQoi-o.mjs +2 -0
- package/dist/.setup/{channel-DTKYMnlK.mjs → channel-B8-CvvK1.mjs} +3 -9
- package/dist/.setup/secret-contract-api-DoyAH9bS.mjs +2 -0
- package/dist/api.js +1 -2
- package/dist/channel-plugin-api.js +1 -2
- package/dist/doctor-contract-api.js +1 -2
- package/dist/runtime-api.js +1 -2
- package/dist/secret-contract-api.js +1 -2
- package/dist/setup-entry.js +2 -2
- package/package.json +4 -4
- package/dist/.setup/api-DbUH-yZ4.mjs +0 -3
- package/dist/.setup/secret-contract-api-DtjjYcg2.mjs +0 -3
|
@@ -895,7 +895,7 @@ async function sendMessageNextcloudTalk(to, text, opts) {
|
|
|
895
895
|
const status = response.status;
|
|
896
896
|
let errorMsg = `Nextcloud Talk send failed (${status})`;
|
|
897
897
|
if (status === 400) errorMsg = `Nextcloud Talk: bad request - ${errorBody || "invalid message format"}`;
|
|
898
|
-
else if (status === 401) errorMsg = "Nextcloud Talk: bot send was rejected - check the bot secret and
|
|
898
|
+
else if (status === 401) errorMsg = "Nextcloud Talk: bot send was rejected - check the bot secret and check that the bot was installed with --feature response";
|
|
899
899
|
else if (status === 403) errorMsg = "Nextcloud Talk: forbidden - bot may not have permission in this room";
|
|
900
900
|
else if (status === 404) errorMsg = `Nextcloud Talk: room not found (token=${roomToken})`;
|
|
901
901
|
else if (errorBody) errorMsg = `Nextcloud Talk send failed: ${errorBody}`;
|
|
@@ -1588,13 +1588,11 @@ const NextcloudTalkWebhookPayloadSchema = z.object({
|
|
|
1588
1588
|
name: z.string()
|
|
1589
1589
|
})
|
|
1590
1590
|
});
|
|
1591
|
-
function parseClaimedMessage(payload, claimedId
|
|
1592
|
-
if (payload.version !== 1) throw new NextcloudTalkWebhookPayloadError(`Nextcloud Talk ingress row ${claimedId} has an unsupported version.`);
|
|
1591
|
+
function parseClaimedMessage(payload, claimedId) {
|
|
1593
1592
|
const result = NextcloudTalkWebhookPayloadSchema.safeParse(parseRawObject(payload.rawEvent));
|
|
1594
1593
|
if (!result.success || result.data.type !== "Create" || result.data.object.id !== claimedId) throw new NextcloudTalkWebhookPayloadError(`Nextcloud Talk ingress row ${claimedId} has invalid message identity.`);
|
|
1595
1594
|
const webhook = result.data;
|
|
1596
1595
|
const roomId = requiredString(webhook.target.id, "target.id");
|
|
1597
|
-
if (claimedLaneKey !== `room:${roomId}`) throw new NextcloudTalkWebhookPayloadError(`Nextcloud Talk ingress row ${claimedId} changed room identity.`);
|
|
1598
1596
|
return {
|
|
1599
1597
|
messageId: webhook.object.id,
|
|
1600
1598
|
roomToken: roomId,
|
|
@@ -1661,7 +1659,7 @@ function createNextcloudTalkWebhookSpool(options) {
|
|
|
1661
1659
|
createClaimError: (kind, claim) => new NextcloudTalkWebhookPayloadError(kind === "invalid-version" ? `Nextcloud Talk ingress row ${claim.id} has an unsupported version.` : `Nextcloud Talk ingress row ${claim.id} has invalid message identity.`)
|
|
1662
1660
|
},
|
|
1663
1661
|
deliver: async (_rawEvent, lifecycle, claim) => {
|
|
1664
|
-
const message = parseClaimedMessage(claim.payload, claim.id
|
|
1662
|
+
const message = parseClaimedMessage(claim.payload, claim.id);
|
|
1665
1663
|
await options.deliver(message, lifecycle);
|
|
1666
1664
|
},
|
|
1667
1665
|
pollIntervalMs: options.pollIntervalMs ?? NEXTCLOUD_TALK_INGRESS_POLL_INTERVAL_MS,
|
|
@@ -1801,10 +1799,6 @@ async function monitorNextcloudTalkProvider(opts) {
|
|
|
1801
1799
|
await stop();
|
|
1802
1800
|
throw error;
|
|
1803
1801
|
}
|
|
1804
|
-
if (opts.abortSignal?.aborted) {
|
|
1805
|
-
await stop();
|
|
1806
|
-
return { stop };
|
|
1807
|
-
}
|
|
1808
1802
|
opts.statusSink?.(channelReadyPatch());
|
|
1809
1803
|
if (routeConflict && legacyListener) {
|
|
1810
1804
|
logger.warn(`[nextcloud-talk:${account.accountId}] ${routeConflict} Legacy webhook listener ${legacyListener.host}:${legacyListener.port} remains available; verify the new route before removing the legacyWebhook pin.`);
|
package/dist/api.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { nextcloudTalkPlugin };
|
|
1
|
+
export { t as nextcloudTalkPlugin } from "./.setup/channel-B8-CvvK1.mjs";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { nextcloudTalkPlugin };
|
|
1
|
+
export { t as nextcloudTalkPlugin } from "./.setup/channel-B8-CvvK1.mjs";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { historicalWebhookListener, legacyConfigRules, normalizeCompatibilityConfig, normalizeHistoricalWebhookConfig };
|
|
1
|
+
export { t as historicalWebhookListener, n as legacyConfigRules, r as normalizeCompatibilityConfig, i as normalizeHistoricalWebhookConfig } from "./.setup/doctor-contract-DwH950tH.mjs";
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { GROUP_POLICY_BLOCKED_LABEL, createChannelPairingController, deliverFormattedTextWithAttachments, fetchWithSsrFGuard, logInboundDrop, resolveAllowlistProviderRuntimeGroupPolicy, resolveDefaultGroupPolicy, setNextcloudTalkRuntime, warnMissingProviderGroupPolicyFallbackOnce };
|
|
1
|
+
export { t as GROUP_POLICY_BLOCKED_LABEL, n as createChannelPairingController, r as deliverFormattedTextWithAttachments, i as fetchWithSsrFGuard, a as logInboundDrop, o as resolveAllowlistProviderRuntimeGroupPolicy, s as resolveDefaultGroupPolicy, d as setNextcloudTalkRuntime, c as warnMissingProviderGroupPolicyFallbackOnce } from "./.setup/runtime-api-DVkVOUSo.mjs";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
|
|
1
|
+
export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-Bvm0PmP3.mjs";
|
package/dist/setup-entry.js
CHANGED
|
@@ -4,11 +4,11 @@ import { fileURLToPath } from "node:url";
|
|
|
4
4
|
var setup_entry_default = defineBundledChannelSetupEntry({
|
|
5
5
|
importMetaUrl: import.meta.url,
|
|
6
6
|
plugin: {
|
|
7
|
-
specifier: fileURLToPath(new URL(".setup/api-
|
|
7
|
+
specifier: fileURLToPath(new URL(".setup/api-BmNQoi-o.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "nextcloudTalkPlugin"
|
|
9
9
|
},
|
|
10
10
|
secrets: {
|
|
11
|
-
specifier: fileURLToPath(new URL(".setup/secret-contract-api-
|
|
11
|
+
specifier: fileURLToPath(new URL(".setup/secret-contract-api-DoyAH9bS.mjs", import.meta.url).href),
|
|
12
12
|
exportName: "channelSecrets"
|
|
13
13
|
}
|
|
14
14
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/nextcloud-talk",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.10-beta.2",
|
|
4
4
|
"description": "OpenClaw Nextcloud Talk channel plugin for conversations.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"openclaw": ">=2026.10.
|
|
11
|
+
"openclaw": ">=2026.10.10-beta.2"
|
|
12
12
|
},
|
|
13
13
|
"peerDependenciesMeta": {
|
|
14
14
|
"openclaw": {
|
|
@@ -130,10 +130,10 @@
|
|
|
130
130
|
"minHostVersion": ">=2026.4.10"
|
|
131
131
|
},
|
|
132
132
|
"compat": {
|
|
133
|
-
"pluginApi": ">=2026.10.
|
|
133
|
+
"pluginApi": ">=2026.10.10-beta.2"
|
|
134
134
|
},
|
|
135
135
|
"build": {
|
|
136
|
-
"openclawVersion": "2026.10.
|
|
136
|
+
"openclawVersion": "2026.10.10-beta.2"
|
|
137
137
|
},
|
|
138
138
|
"release": {
|
|
139
139
|
"publishToClawHub": true,
|