@openclaw/nextcloud-talk 2026.5.14-beta.2 → 2026.5.16-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/api.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as nextcloudTalkPlugin } from "./channel-BojN7pUJ.js";
1
+ import { t as nextcloudTalkPlugin } from "./channel-CvZn7Hj1.js";
2
2
  export { nextcloudTalkPlugin };
@@ -37,8 +37,8 @@ import { WEBHOOK_RATE_LIMIT_DEFAULTS, createAuthRateLimiter, isRequestBodyLimitE
37
37
  import path from "node:path";
38
38
  import { createClaimableDedupe } from "openclaw/plugin-sdk/persistent-dedupe";
39
39
  import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1, buildOutboundBaseSessionKey, normalizeAccountId as normalizeAccountId$1 } from "openclaw/plugin-sdk/routing";
40
- import { applyAccountNameToChannelSection, createStandardChannelSetupStatus, formatDocsLink, patchScopedAccountConfig, setSetupChannelEnabled } from "openclaw/plugin-sdk/setup";
41
- import { createSetupInputPresenceValidator, mergeAllowFromEntries, promptParsedAllowFromForAccount, resolveSetupAccountId } from "openclaw/plugin-sdk/setup-runtime";
40
+ import { applyAccountNameToChannelSection, createSetupTranslator, createStandardChannelSetupStatus, formatDocsLink, patchScopedAccountConfig, setSetupChannelEnabled } from "openclaw/plugin-sdk/setup";
41
+ import { createSetupInputPresenceValidator, createSetupTranslator as createSetupTranslator$1, mergeAllowFromEntries, promptParsedAllowFromForAccount, resolveSetupAccountId } from "openclaw/plugin-sdk/setup-runtime";
42
42
  import { formatDocsLink as formatDocsLink$1 } from "openclaw/plugin-sdk/setup-tools";
43
43
  //#region extensions/nextcloud-talk/src/accounts.ts
44
44
  function isTruthyEnvValue(value) {
@@ -1555,6 +1555,7 @@ function resolveNextcloudTalkOutboundSessionRoute(params) {
1555
1555
  }
1556
1556
  //#endregion
1557
1557
  //#region extensions/nextcloud-talk/src/setup-core.ts
1558
+ const t$1 = createSetupTranslator$1();
1558
1559
  const channel$1 = "nextcloud-talk";
1559
1560
  function addWildcardAllowFrom(allowFrom) {
1560
1561
  return mergeAllowFromEntries(allowFrom, ["*"]);
@@ -1612,14 +1613,14 @@ async function promptNextcloudTalkAllowFrom(params) {
1612
1613
  accountId: params.accountId,
1613
1614
  defaultAccountId: params.accountId,
1614
1615
  prompter: params.prompter,
1615
- noteTitle: "Nextcloud Talk user id",
1616
+ noteTitle: t$1("wizard.nextcloudTalk.userIdTitle"),
1616
1617
  noteLines: [
1617
- "1) Check the Nextcloud admin panel for user IDs",
1618
- "2) Or look at the webhook payload logs when someone messages",
1619
- "3) User IDs are typically lowercase usernames in Nextcloud",
1620
- `Docs: ${formatDocsLink$1("/channels/nextcloud-talk", "nextcloud-talk")}`
1618
+ t$1("wizard.nextcloudTalk.userIdHelpAdmin"),
1619
+ t$1("wizard.nextcloudTalk.userIdHelpLogs"),
1620
+ t$1("wizard.nextcloudTalk.userIdHelpLowercase"),
1621
+ t$1("wizard.channels.docs", { link: formatDocsLink$1("/channels/nextcloud-talk", "nextcloud-talk") })
1621
1622
  ],
1622
- message: "Nextcloud Talk allowFrom (user id)",
1623
+ message: t$1("wizard.nextcloudTalk.allowFromPrompt"),
1623
1624
  placeholder: "username",
1624
1625
  parseEntries: (raw) => ({ entries: raw.split(/[\n,;]+/g).map(normalizeLowercaseStringOrEmpty).filter(Boolean) }),
1625
1626
  getExistingAllowFrom: ({ cfg, accountId }) => resolveNextcloudTalkAccount({
@@ -1706,6 +1707,7 @@ const nextcloudTalkSetupAdapter = {
1706
1707
  };
1707
1708
  //#endregion
1708
1709
  //#region extensions/nextcloud-talk/src/setup-surface.ts
1710
+ const t = createSetupTranslator();
1709
1711
  const channel = "nextcloud-talk";
1710
1712
  const CONFIGURE_API_FLAG = "__nextcloudTalkConfigureApiCredentials";
1711
1713
  const nextcloudTalkSetupWizard = {
@@ -1713,10 +1715,10 @@ const nextcloudTalkSetupWizard = {
1713
1715
  stepOrder: "text-first",
1714
1716
  status: createStandardChannelSetupStatus({
1715
1717
  channelLabel: "Nextcloud Talk",
1716
- configuredLabel: "configured",
1717
- unconfiguredLabel: "needs setup",
1718
- configuredHint: "configured",
1719
- unconfiguredHint: "self-hosted chat",
1718
+ configuredLabel: t("wizard.channels.statusConfigured"),
1719
+ unconfiguredLabel: t("wizard.channels.statusNeedsSetup"),
1720
+ configuredHint: t("wizard.channels.statusConfigured"),
1721
+ unconfiguredHint: t("wizard.channels.statusSelfHostedChat"),
1720
1722
  configuredScore: 1,
1721
1723
  unconfiguredScore: 5,
1722
1724
  resolveConfigured: ({ cfg, accountId }) => {
@@ -1728,14 +1730,14 @@ const nextcloudTalkSetupWizard = {
1728
1730
  }
1729
1731
  }),
1730
1732
  introNote: {
1731
- title: "Nextcloud Talk bot setup",
1733
+ title: t("wizard.nextcloudTalk.setupTitle"),
1732
1734
  lines: [
1733
- "1) SSH into your Nextcloud server",
1734
- "2) Run: ./occ talk:bot:install \"OpenClaw\" \"<shared-secret>\" \"<webhook-url>\" --feature webhook --feature response --feature reaction",
1735
- "3) Copy the shared secret you used in the command",
1736
- "4) Enable the bot in your Nextcloud Talk room settings",
1737
- "Tip: you can also set NEXTCLOUD_TALK_BOT_SECRET in your env.",
1738
- `Docs: ${formatDocsLink("/channels/nextcloud-talk", "channels/nextcloud-talk")}`
1735
+ t("wizard.nextcloudTalk.helpSsh"),
1736
+ t("wizard.nextcloudTalk.helpInstallCommand"),
1737
+ t("wizard.nextcloudTalk.helpCopySecret"),
1738
+ t("wizard.nextcloudTalk.helpEnableRoom"),
1739
+ t("wizard.nextcloudTalk.helpEnvTip"),
1740
+ t("wizard.channels.docs", { link: formatDocsLink("/channels/nextcloud-talk", "channels/nextcloud-talk") })
1739
1741
  ],
1740
1742
  shouldShow: ({ cfg, accountId }) => {
1741
1743
  const account = resolveNextcloudTalkAccount({
@@ -1752,7 +1754,7 @@ const nextcloudTalkSetupWizard = {
1752
1754
  });
1753
1755
  const hasApiCredentials = Boolean(resolvedAccount.config.apiUser?.trim() && (hasConfiguredSecretInput(resolvedAccount.config.apiPassword) || resolvedAccount.config.apiPasswordFile));
1754
1756
  if (!await prompter.confirm({
1755
- message: "Configure optional Nextcloud Talk API credentials for room lookups?",
1757
+ message: t("wizard.nextcloudTalk.configureApiCredentials"),
1756
1758
  initialValue: hasApiCredentials
1757
1759
  })) return;
1758
1760
  return { credentialValues: {
@@ -1763,11 +1765,11 @@ const nextcloudTalkSetupWizard = {
1763
1765
  credentials: [{
1764
1766
  inputKey: "token",
1765
1767
  providerHint: channel,
1766
- credentialLabel: "bot secret",
1768
+ credentialLabel: t("wizard.nextcloudTalk.botSecret"),
1767
1769
  preferredEnvVar: "NEXTCLOUD_TALK_BOT_SECRET",
1768
- envPrompt: "NEXTCLOUD_TALK_BOT_SECRET detected. Use env var?",
1769
- keepPrompt: "Nextcloud Talk bot secret already configured. Keep it?",
1770
- inputPrompt: "Enter Nextcloud Talk bot secret",
1770
+ envPrompt: t("wizard.nextcloudTalk.botSecretEnvPrompt"),
1771
+ keepPrompt: t("wizard.nextcloudTalk.botSecretKeep"),
1772
+ inputPrompt: t("wizard.nextcloudTalk.botSecretInput"),
1771
1773
  allowEnv: ({ accountId }) => accountId === DEFAULT_ACCOUNT_ID$1,
1772
1774
  inspect: ({ cfg, accountId }) => {
1773
1775
  const resolvedAccount = resolveNextcloudTalkAccount({
@@ -1792,11 +1794,11 @@ const nextcloudTalkSetupWizard = {
1792
1794
  }, {
1793
1795
  inputKey: "password",
1794
1796
  providerHint: "nextcloud-talk-api",
1795
- credentialLabel: "API password",
1797
+ credentialLabel: t("wizard.nextcloudTalk.apiPassword"),
1796
1798
  preferredEnvVar: "NEXTCLOUD_TALK_API_PASSWORD",
1797
1799
  envPrompt: "",
1798
- keepPrompt: "Nextcloud Talk API password already configured. Keep it?",
1799
- inputPrompt: "Enter Nextcloud Talk API password",
1800
+ keepPrompt: t("wizard.nextcloudTalk.apiPasswordKeep"),
1801
+ inputPrompt: t("wizard.nextcloudTalk.apiPasswordInput"),
1800
1802
  inspect: ({ cfg, accountId }) => {
1801
1803
  const resolvedAccount = resolveNextcloudTalkAccount({
1802
1804
  cfg,
@@ -1814,7 +1816,7 @@ const nextcloudTalkSetupWizard = {
1814
1816
  }],
1815
1817
  textInputs: [{
1816
1818
  inputKey: "httpUrl",
1817
- message: "Enter Nextcloud instance URL (e.g., https://cloud.example.com)",
1819
+ message: t("wizard.nextcloudTalk.instanceUrlPrompt"),
1818
1820
  currentValue: ({ cfg, accountId }) => resolveNextcloudTalkAccount({
1819
1821
  cfg,
1820
1822
  accountId
@@ -1825,13 +1827,13 @@ const nextcloudTalkSetupWizard = {
1825
1827
  applySet: async (params) => setNextcloudTalkAccountConfig(params.cfg, params.accountId, { baseUrl: params.value })
1826
1828
  }, {
1827
1829
  inputKey: "userId",
1828
- message: "Nextcloud Talk API user",
1830
+ message: t("wizard.nextcloudTalk.apiUserPrompt"),
1829
1831
  currentValue: ({ cfg, accountId }) => resolveNextcloudTalkAccount({
1830
1832
  cfg,
1831
1833
  accountId
1832
1834
  }).config.apiUser?.trim() || void 0,
1833
1835
  shouldPrompt: ({ credentialValues }) => credentialValues[CONFIGURE_API_FLAG] === "1",
1834
- validate: ({ value }) => value ? void 0 : "Required",
1836
+ validate: ({ value }) => value ? void 0 : t("common.required"),
1835
1837
  applySet: async (params) => setNextcloudTalkAccountConfig(params.cfg, params.accountId, { apiUser: params.value })
1836
1838
  }],
1837
1839
  dmPolicy: nextcloudTalkDmPolicy,
@@ -1,2 +1,2 @@
1
- import { t as nextcloudTalkPlugin } from "./channel-BojN7pUJ.js";
1
+ import { t as nextcloudTalkPlugin } from "./channel-CvZn7Hj1.js";
2
2
  export { nextcloudTalkPlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/nextcloud-talk",
3
- "version": "2026.5.14-beta.2",
3
+ "version": "2026.5.16-beta.2",
4
4
  "description": "OpenClaw Nextcloud Talk channel plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "openclaw": "workspace:*"
13
13
  },
14
14
  "peerDependencies": {
15
- "openclaw": ">=2026.5.14-beta.2"
15
+ "openclaw": ">=2026.5.16-beta.2"
16
16
  },
17
17
  "peerDependenciesMeta": {
18
18
  "openclaw": {
@@ -44,10 +44,10 @@
44
44
  "minHostVersion": ">=2026.4.10"
45
45
  },
46
46
  "compat": {
47
- "pluginApi": ">=2026.5.14-beta.2"
47
+ "pluginApi": ">=2026.5.16-beta.2"
48
48
  },
49
49
  "build": {
50
- "openclawVersion": "2026.5.14-beta.2"
50
+ "openclawVersion": "2026.5.16-beta.2"
51
51
  },
52
52
  "release": {
53
53
  "publishToClawHub": true,