@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.
@@ -0,0 +1,2 @@
1
+ export { t as nextcloudTalkPlugin } from "./channel-B8-CvvK1.mjs";
2
+ import "../api.js";
@@ -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 ensure the bot was installed with --feature response";
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, claimedLaneKey) {
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, claim.laneKey);
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.`);
@@ -0,0 +1,2 @@
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-Bvm0PmP3.mjs";
2
+ import "../secret-contract-api.js";
package/dist/api.js CHANGED
@@ -1,2 +1 @@
1
- import { t as nextcloudTalkPlugin } from "./.setup/channel-DTKYMnlK.mjs";
2
- export { nextcloudTalkPlugin };
1
+ export { t as nextcloudTalkPlugin } from "./.setup/channel-B8-CvvK1.mjs";
@@ -1,2 +1 @@
1
- import { t as nextcloudTalkPlugin } from "./.setup/channel-DTKYMnlK.mjs";
2
- export { nextcloudTalkPlugin };
1
+ export { t as nextcloudTalkPlugin } from "./.setup/channel-B8-CvvK1.mjs";
@@ -1,2 +1 @@
1
- import { i as normalizeHistoricalWebhookConfig, n as legacyConfigRules, r as normalizeCompatibilityConfig, t as historicalWebhookListener } from "./.setup/doctor-contract-DwH950tH.mjs";
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";
@@ -1,2 +1 @@
1
- import { a as logInboundDrop, c as warnMissingProviderGroupPolicyFallbackOnce, d as setNextcloudTalkRuntime, i as fetchWithSsrFGuard, n as createChannelPairingController, o as resolveAllowlistProviderRuntimeGroupPolicy, r as deliverFormattedTextWithAttachments, s as resolveDefaultGroupPolicy, t as GROUP_POLICY_BLOCKED_LABEL } from "./.setup/runtime-api-DVkVOUSo.mjs";
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
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./.setup/secret-contract-Bvm0PmP3.mjs";
2
- export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
1
+ export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-Bvm0PmP3.mjs";
@@ -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-DbUH-yZ4.mjs", import.meta.url).href),
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-DtjjYcg2.mjs", import.meta.url).href),
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.5-beta.4",
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.5-beta.4"
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.5-beta.4"
133
+ "pluginApi": ">=2026.10.10-beta.2"
134
134
  },
135
135
  "build": {
136
- "openclawVersion": "2026.10.5-beta.4"
136
+ "openclawVersion": "2026.10.10-beta.2"
137
137
  },
138
138
  "release": {
139
139
  "publishToClawHub": true,
@@ -1,3 +0,0 @@
1
- import { t as nextcloudTalkPlugin } from "./channel-DTKYMnlK.mjs";
2
- import "../api.js";
3
- export { nextcloudTalkPlugin };
@@ -1,3 +0,0 @@
1
- import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./secret-contract-Bvm0PmP3.mjs";
2
- import "../secret-contract-api.js";
3
- export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };