@openclaw/line 2026.6.5 → 2026.6.6-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.
Files changed (44) hide show
  1. package/dist/api.js +1 -1
  2. package/dist/{channel-Dt0_HEcz.js → channel-BGjcdz8g.js} +2 -2
  3. package/dist/channel-plugin-api.js +1 -1
  4. package/dist/{channel.runtime-CNymIwoS.js → channel.runtime-DUau3ksl.js} +1 -1
  5. package/dist/{monitor-De9o4pM7.js → monitor-qY3gstaZ.js} +2 -2
  6. package/dist/monitor.runtime-Clh5l7po.js +2 -0
  7. package/dist/runtime-api.js +1 -1
  8. package/node_modules/@types/node/README.md +1 -1
  9. package/node_modules/@types/node/domain.d.ts +8 -12
  10. package/node_modules/@types/node/http2.d.ts +3 -0
  11. package/node_modules/@types/node/inspector.generated.d.ts +419 -426
  12. package/node_modules/@types/node/module.d.ts +0 -62
  13. package/node_modules/@types/node/net.d.ts +4 -4
  14. package/node_modules/@types/node/package.json +3 -3
  15. package/node_modules/@types/node/process.d.ts +20 -1
  16. package/node_modules/@types/node/readline.d.ts +6 -0
  17. package/node_modules/@types/node/sqlite.d.ts +98 -16
  18. package/node_modules/@types/node/test.d.ts +22 -13
  19. package/node_modules/@types/node/tls.d.ts +12 -6
  20. package/node_modules/@types/node/url.d.ts +22 -0
  21. package/node_modules/@types/node/util.d.ts +5 -2
  22. package/node_modules/@types/node/v8.d.ts +5 -1
  23. package/node_modules/@types/node/worker_threads.d.ts +2 -2
  24. package/node_modules/undici-types/agent.d.ts +1 -1
  25. package/node_modules/undici-types/api.d.ts +2 -2
  26. package/node_modules/undici-types/balanced-pool.d.ts +2 -1
  27. package/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  28. package/node_modules/undici-types/client.d.ts +1 -1
  29. package/node_modules/undici-types/connector.d.ts +2 -2
  30. package/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  31. package/node_modules/undici-types/dispatcher.d.ts +12 -12
  32. package/node_modules/undici-types/fetch.d.ts +4 -4
  33. package/node_modules/undici-types/formdata.d.ts +1 -1
  34. package/node_modules/undici-types/h2c-client.d.ts +1 -1
  35. package/node_modules/undici-types/index.d.ts +9 -1
  36. package/node_modules/undici-types/interceptors.d.ts +36 -2
  37. package/node_modules/undici-types/package.json +1 -1
  38. package/node_modules/undici-types/pool.d.ts +1 -1
  39. package/node_modules/undici-types/readable.d.ts +2 -2
  40. package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  41. package/node_modules/undici-types/websocket.d.ts +9 -9
  42. package/npm-shrinkwrap.json +10 -10
  43. package/package.json +4 -4
  44. package/dist/monitor.runtime-D089PO89.js +0 -2
package/dist/api.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as lineChannelPluginCommon, t as linePlugin } from "./channel-Dt0_HEcz.js";
1
+ import { n as lineChannelPluginCommon, t as linePlugin } from "./channel-BGjcdz8g.js";
2
2
  import { n as lineSetupAdapter, t as lineSetupWizard } from "./setup-surface-CvTRDCEq.js";
3
3
  //#region extensions/line/src/channel.setup.ts
4
4
  const lineSetupPlugin = {
@@ -107,7 +107,7 @@ const lineChannelPluginCommon = {
107
107
  //#endregion
108
108
  //#region extensions/line/src/gateway.ts
109
109
  const loadLineProbeRuntime$1 = createLazyRuntimeModule(() => import("./probe.runtime-DH_jgr7u.js"));
110
- const loadLineMonitorRuntime = createLazyRuntimeModule(() => import("./monitor.runtime-D089PO89.js"));
110
+ const loadLineMonitorRuntime = createLazyRuntimeModule(() => import("./monitor.runtime-Clh5l7po.js"));
111
111
  const lineGatewayAdapter = {
112
112
  startAccount: async (ctx) => {
113
113
  const account = ctx.account;
@@ -532,7 +532,7 @@ const lineStatusAdapter = createComputedAccountStatusAdapter({
532
532
  });
533
533
  //#endregion
534
534
  //#region extensions/line/src/channel.ts
535
- const loadLineChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-CNymIwoS.js"));
535
+ const loadLineChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-DUau3ksl.js"));
536
536
  const lineSecurityAdapter = createRestrictSendersChannelSecurity({
537
537
  channelKey: "line",
538
538
  resolveDmPolicy: (account) => account.config.dmPolicy,
@@ -1,2 +1,2 @@
1
- import { t as linePlugin } from "./channel-Dt0_HEcz.js";
1
+ import { t as linePlugin } from "./channel-BGjcdz8g.js";
2
2
  export { linePlugin };
@@ -1,4 +1,4 @@
1
1
  import { S as pushMessageLine } from "./markdown-to-line-D-1nDsie.js";
2
- import { t as monitorLineProvider } from "./monitor-De9o4pM7.js";
2
+ import { t as monitorLineProvider } from "./monitor-qY3gstaZ.js";
3
3
  import { t as probeLineBot } from "./probe-CqTNoMdZ.js";
4
4
  export { monitorLineProvider, probeLineBot, pushMessageLine };
@@ -12,7 +12,7 @@ import { createNonExitingRuntime, danger, logVerbose, shouldLogVerbose, waitForA
12
12
  import { recordChannelActivity } from "openclaw/plugin-sdk/channel-activity-runtime";
13
13
  import { buildMentionRegexes, formatInboundEnvelope, formatLocationText, hasFinalInboundReplyDispatch, matchesMentionPatterns, resolveInboundSessionEnvelopeContext, toLocationContext } from "openclaw/plugin-sdk/channel-inbound";
14
14
  import { chunkMarkdownText } from "openclaw/plugin-sdk/reply-runtime";
15
- import { isRequestBodyLimitError, normalizePluginHttpPath, registerWebhookTargetWithPluginRoute, requestBodyErrorToText, resolveSingleWebhookTarget } from "openclaw/plugin-sdk/webhook-ingress";
15
+ import { isRequestBodyLimitError, normalizePluginHttpPath, normalizeWebhookPath, registerWebhookTargetWithPluginRoute, requestBodyErrorToText, resolveSingleWebhookTarget } from "openclaw/plugin-sdk/webhook-ingress";
16
16
  import { beginWebhookRequestPipelineOrReject, createWebhookInFlightLimiter, isRequestBodyLimitError as isRequestBodyLimitError$1, readRequestBodyWithLimit, requestBodyErrorToText as requestBodyErrorToText$1 } from "openclaw/plugin-sdk/webhook-request-guards";
17
17
  import { DEFAULT_GROUP_HISTORY_LIMIT, createChannelHistoryWindow } from "openclaw/plugin-sdk/reply-history";
18
18
  import { getRuntimeConfig } from "openclaw/plugin-sdk/runtime-config-snapshot";
@@ -1351,7 +1351,7 @@ async function monitorLineProvider(opts) {
1351
1351
  }
1352
1352
  }
1353
1353
  });
1354
- const normalizedPath = normalizePluginHttpPath(webhookPath, "/line/webhook") ?? "/line/webhook";
1354
+ const normalizedPath = normalizeWebhookPath(normalizePluginHttpPath(webhookPath, "/line/webhook") ?? "/line/webhook");
1355
1355
  const createScopedLineWebhookHandler = (target) => createLineNodeWebhookHandler({
1356
1356
  channelSecret: target.channelSecret,
1357
1357
  bot: target.bot,
@@ -0,0 +1,2 @@
1
+ import { t as monitorLineProvider } from "./monitor-qY3gstaZ.js";
2
+ export { monitorLineProvider };
@@ -3,7 +3,7 @@ import { _ as resolveLineGroupsConfig, a as createMediaPlayerCard, d as setLineR
3
3
  import { n as createEventCard, r as createReceiptCard, t as createAgendaCard } from "./schedule-cards-Bq74H30B.js";
4
4
  import { a as createListCard, i as createInfoCard, n as createCarousel, o as createNotificationBubble, r as createImageCard, t as createActionCard } from "./basic-cards-B1eTkw-f.js";
5
5
  import { A as buildTemplateMessageFromPayload, B as createYesNoConfirm, C as pushMessagesLine, D as sendMessageLine, E as replyMessageLine, F as createImageCarousel, G as toFlexMessage, H as messageAction, I as createImageCarouselColumn, L as createLinkMenu, M as createButtonTemplate, N as createCarouselColumn, O as showLoadingAnimation, P as createConfirmTemplate, R as createProductCarousel, S as pushMessageLine, T as pushTextMessageWithQuickReplies, U as postbackAction, V as datetimePickerAction, W as uriAction, _ as getUserDisplayName, a as extractLinks, b as pushImageMessage, c as processLineMessage, d as createFlexMessage, f as createImageMessage, g as createVideoMessage, h as createTextMessageWithQuickReplies, i as extractCodeBlocks, j as createButtonMenu, k as resolveLineChannelAccessToken, l as stripMarkdown, m as createQuickReplyItems, n as convertLinksToFlexBubble, o as extractMarkdownTables, p as createLocationMessage, r as convertTableToFlexBubble, s as hasMarkdownToConvert, t as convertCodeBlockToFlexBubble, u as createAudioMessage, v as getUserProfile, w as pushTemplateMessage, x as pushLocationMessage, y as pushFlexMessage, z as createTemplateCarousel } from "./markdown-to-line-D-1nDsie.js";
6
- import { a as validateLineSignature, c as normalizeAllowFrom, i as parseLineWebhookBody, n as createLineNodeWebhookHandler, o as downloadLineMedia, r as readLineWebhookRequestBody, s as firstDefined, t as monitorLineProvider } from "./monitor-De9o4pM7.js";
6
+ import { a as validateLineSignature, c as normalizeAllowFrom, i as parseLineWebhookBody, n as createLineNodeWebhookHandler, o as downloadLineMedia, r as readLineWebhookRequestBody, s as firstDefined, t as monitorLineProvider } from "./monitor-qY3gstaZ.js";
7
7
  import { t as probeLineBot } from "./probe-CqTNoMdZ.js";
8
8
  import { clearAccountEntryFields } from "openclaw/plugin-sdk/core";
9
9
  import { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v24.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 11 May 2026 22:25:21 GMT
11
+ * Last updated: Fri, 05 Jun 2026 22:33:07 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -24,10 +24,9 @@ declare module "domain" {
24
24
  */
25
25
  class Domain extends EventEmitter {
26
26
  /**
27
- * An array of timers and event emitters that have been explicitly added
28
- * to the domain.
27
+ * An array of event emitters that have been explicitly added to the domain.
29
28
  */
30
- members: Array<EventEmitter | NodeJS.Timer>;
29
+ members: EventEmitter[];
31
30
  /**
32
31
  * The `enter()` method is plumbing used by the `run()`, `bind()`, and `intercept()` methods to set the active domain. It sets `domain.active` and `process.domain` to the domain, and implicitly
33
32
  * pushes the domain onto the domain
@@ -91,20 +90,17 @@ declare module "domain" {
91
90
  * will be routed to the domain's `'error'` event, just like with implicit
92
91
  * binding.
93
92
  *
94
- * This also works with timers that are returned from `setInterval()` and `setTimeout()`. If their callback function throws, it will be caught by
95
- * the domain `'error'` handler.
96
- *
97
- * If the Timer or `EventEmitter` was already bound to a domain, it is removed
98
- * from that one, and bound to this one instead.
99
- * @param emitter emitter or timer to be added to the domain
93
+ * If the `EventEmitter` was already bound to a domain, it is removed from that
94
+ * one, and bound to this one instead.
95
+ * @param emitter emitter to be added to the domain
100
96
  */
101
- add(emitter: EventEmitter | NodeJS.Timer): void;
97
+ add(emitter: EventEmitter): void;
102
98
  /**
103
99
  * The opposite of {@link add}. Removes domain handling from the
104
100
  * specified emitter.
105
- * @param emitter emitter or timer to be removed from the domain
101
+ * @param emitter emitter to be removed from the domain
106
102
  */
107
- remove(emitter: EventEmitter | NodeJS.Timer): void;
103
+ remove(emitter: EventEmitter): void;
108
104
  /**
109
105
  * The returned function will be a wrapper around the supplied callback
110
106
  * function. When the returned function is called, any errors that are
@@ -680,6 +680,7 @@ declare module "http2" {
680
680
  maxConcurrentStreams?: number | undefined;
681
681
  maxHeaderListSize?: number | undefined;
682
682
  enableConnectProtocol?: boolean | undefined;
683
+ customSettings?: { [key: number]: number };
683
684
  }
684
685
  export interface ClientSessionRequestOptions {
685
686
  endStream?: boolean | undefined;
@@ -1429,6 +1430,8 @@ declare module "http2" {
1429
1430
  Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
1430
1431
  Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
1431
1432
  > extends SessionOptions {
1433
+ maxSessionRejectedStreams?: number | undefined;
1434
+ maxSessionInvalidFrames?: number | undefined;
1432
1435
  streamResetBurst?: number | undefined;
1433
1436
  streamResetRate?: number | undefined;
1434
1437
  Http1IncomingMessage?: Http1Request | undefined;