@openclaw/irc 2026.9.2 → 2026.9.3

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,3 +1,3 @@
1
- import { _ as listIrcAccountIds, g as listEnabledIrcAccounts, n as ircSetupWizard, r as ircSetupAdapter, t as ircPlugin, v as resolveDefaultIrcAccountId, y as resolveIrcAccount } from "./channel-C0XrtiC0.js";
1
+ import { _ as listIrcAccountIds, g as listEnabledIrcAccounts, n as ircSetupWizard, r as ircSetupAdapter, t as ircPlugin, v as resolveDefaultIrcAccountId, y as resolveIrcAccount } from "./channel-ChjrDzIi.js";
2
2
  import { n as setIrcRuntime } from "./runtime-xy-FcjJC.js";
3
3
  export { ircPlugin, ircSetupAdapter, ircSetupWizard, listEnabledIrcAccounts, listIrcAccountIds, resolveDefaultIrcAccountId, resolveIrcAccount, setIrcRuntime };
@@ -1,4 +1,4 @@
1
- import { t as IrcChannelConfigSchema } from "./config-schema-DcYE4WjJ.js";
1
+ import { t as IrcChannelConfigSchema } from "./config-schema-Cy9tItsu.js";
2
2
  import { t as getIrcRuntime } from "./runtime-xy-FcjJC.js";
3
3
  import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-D_DC3YWj.js";
4
4
  import { createAccountListHelpers, describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
@@ -202,7 +202,7 @@ const collectIrcMutableAllowlistWarnings = createDangerousNameMatchingMutableAll
202
202
  });
203
203
  //#endregion
204
204
  //#region extensions/irc/src/gateway.ts
205
- const loadIrcChannelRuntime$1 = createLazyRuntimeModule(() => import("./channel-runtime-Bhm49qnu.js"));
205
+ const loadIrcChannelRuntime$1 = createLazyRuntimeModule(() => import("./channel-runtime-BC6bx1Xm.js"));
206
206
  async function startIrcGatewayAccount(ctx) {
207
207
  const account = ctx.account;
208
208
  const statusSink = createAccountStatusSink({
@@ -1544,7 +1544,7 @@ const meta = {
1544
1544
  systemImage: "number",
1545
1545
  markdownCapable: true
1546
1546
  };
1547
- const loadIrcChannelRuntime = createLazyRuntimeModule(() => import("./channel-runtime-Bhm49qnu.js"));
1547
+ const loadIrcChannelRuntime = createLazyRuntimeModule(() => import("./channel-runtime-BC6bx1Xm.js"));
1548
1548
  function normalizePairingTarget(raw) {
1549
1549
  const normalized = normalizeIrcAllowEntry(raw);
1550
1550
  if (!normalized) return "";
@@ -1779,11 +1779,14 @@ const ircPlugin = createChatChannelPlugin({
1779
1779
  idLabel: "ircUser",
1780
1780
  message: PAIRING_APPROVED_MESSAGE,
1781
1781
  normalizeAllowEntry: (entry) => normalizeIrcAllowEntry(entry),
1782
- notify: async ({ cfg, id, message }) => {
1782
+ notify: async ({ cfg, id, message, accountId }) => {
1783
1783
  const target = normalizePairingTarget(id);
1784
1784
  if (!target) throw new Error(`invalid IRC pairing id: ${id}`);
1785
1785
  const { sendMessageIrc } = await loadIrcChannelRuntime();
1786
- await sendMessageIrc(target, message, { cfg });
1786
+ await sendMessageIrc(target, message, {
1787
+ cfg,
1788
+ accountId
1789
+ });
1787
1790
  }
1788
1791
  } },
1789
1792
  security: {
@@ -1,2 +1,2 @@
1
- import { t as IrcChannelConfigSchema } from "./config-schema-DcYE4WjJ.js";
1
+ import { t as IrcChannelConfigSchema } from "./config-schema-Cy9tItsu.js";
2
2
  export { IrcChannelConfigSchema };
@@ -1,2 +1,2 @@
1
- import { t as ircPlugin } from "./channel-C0XrtiC0.js";
1
+ import { t as ircPlugin } from "./channel-ChjrDzIi.js";
2
2
  export { ircPlugin };
@@ -1,4 +1,4 @@
1
- import { a as resolveIrcGroupRequireMention, c as connectIrcClient, d as sanitizeIrcAssistantText, f as createIrcIngressSubject, h as normalizeIrcAllowEntry, i as resolveIrcGroupMatch, l as parseIrcLine, m as isChannelTarget, o as sendMessageIrc, p as ircIngressIdentity, s as buildIrcConnectOptions, u as parseIrcPrefix, y as resolveIrcAccount } from "./channel-C0XrtiC0.js";
1
+ import { a as resolveIrcGroupRequireMention, c as connectIrcClient, d as sanitizeIrcAssistantText, f as createIrcIngressSubject, h as normalizeIrcAllowEntry, i as resolveIrcGroupMatch, l as parseIrcLine, m as isChannelTarget, o as sendMessageIrc, p as ircIngressIdentity, s as buildIrcConnectOptions, u as parseIrcPrefix, y as resolveIrcAccount } from "./channel-ChjrDzIi.js";
2
2
  import { t as getIrcRuntime } from "./runtime-xy-FcjJC.js";
3
3
  import { channelIngressRoutes, createChannelIngressResolver } from "openclaw/plugin-sdk/channel-ingress-runtime";
4
4
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
@@ -56,10 +56,12 @@ const IrcNickServSchema = z.object({
56
56
  message: "channels.irc.nickserv.register=true requires channels.irc.nickserv.registerEmail"
57
57
  });
58
58
  });
59
+ const IrcHealthMonitorSchema = z.object({ enabled: z.boolean().optional() }).strict().optional();
59
60
  const IrcAccountSchemaBase = z.object({
60
61
  name: z.string().optional(),
61
62
  enabled: z.boolean().optional(),
62
63
  configWrites: z.boolean().optional(),
64
+ healthMonitor: IrcHealthMonitorSchema,
63
65
  replyToMode: ReplyToModeSchema.optional(),
64
66
  dangerouslyAllowNameMatching: z.boolean().optional(),
65
67
  host: z.string().optional(),
@@ -31,6 +31,15 @@
31
31
  "configWrites": {
32
32
  "type": "boolean"
33
33
  },
34
+ "healthMonitor": {
35
+ "type": "object",
36
+ "properties": {
37
+ "enabled": {
38
+ "type": "boolean"
39
+ }
40
+ },
41
+ "additionalProperties": false
42
+ },
34
43
  "replyToMode": {
35
44
  "anyOf": [
36
45
  {
@@ -371,6 +380,15 @@
371
380
  "configWrites": {
372
381
  "type": "boolean"
373
382
  },
383
+ "healthMonitor": {
384
+ "type": "object",
385
+ "properties": {
386
+ "enabled": {
387
+ "type": "boolean"
388
+ }
389
+ },
390
+ "additionalProperties": false
391
+ },
374
392
  "replyToMode": {
375
393
  "anyOf": [
376
394
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/irc",
3
- "version": "2026.9.2",
3
+ "version": "2026.9.3",
4
4
  "description": "OpenClaw IRC channel plugin",
5
5
  "type": "module",
6
6
  "openclaw": {
@@ -121,10 +121,10 @@
121
121
  }
122
122
  },
123
123
  "compat": {
124
- "pluginApi": ">=2026.9.2"
124
+ "pluginApi": ">=2026.9.3"
125
125
  },
126
126
  "build": {
127
- "openclawVersion": "2026.9.2",
127
+ "openclawVersion": "2026.9.3",
128
128
  "bundledDist": false
129
129
  },
130
130
  "release": {
@@ -149,7 +149,7 @@
149
149
  "README.md"
150
150
  ],
151
151
  "peerDependencies": {
152
- "openclaw": ">=2026.9.2"
152
+ "openclaw": ">=2026.9.3"
153
153
  },
154
154
  "peerDependenciesMeta": {
155
155
  "openclaw": {