惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
J
Java Code Geeks
C
Check Point Blog
Last Week in AI
Last Week in AI
Microsoft Azure Blog
Microsoft Azure Blog
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
L
LangChain Blog
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 司徒正美
IT之家
IT之家
Martin Fowler
Martin Fowler
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
U
Unit 42
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
I
InfoQ

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
refactor: trim line helper exports · openclaw/openclaw@57...
steipete · 2026-05-01 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -42,7 +42,7 @@ interface BuildLineMessageContextParams {

4242

historyLimit?: number;

4343

}

4444
45-

export type LineSourceInfo = {

45+

type LineSourceInfo = {

4646

userId?: string;

4747

groupId?: string;

4848

roomId?: string;

@@ -576,6 +576,6 @@ export async function buildLinePostbackContext(params: {

576576

};

577577

}

578578
579-

export type LineMessageContext = NonNullable<Awaited<ReturnType<typeof buildLineMessageContext>>>;

580-

export type LinePostbackContext = NonNullable<Awaited<ReturnType<typeof buildLinePostbackContext>>>;

579+

type LineMessageContext = NonNullable<Awaited<ReturnType<typeof buildLineMessageContext>>>;

580+

type LinePostbackContext = NonNullable<Awaited<ReturnType<typeof buildLinePostbackContext>>>;

581581

export type LineInboundContext = LineMessageContext | LinePostbackContext;

Original file line numberDiff line numberDiff line change

@@ -12,7 +12,7 @@ import { createLineWebhookReplayCache, handleLineWebhookEvents } from "./bot-han

1212

import type { LineInboundContext } from "./bot-message-context.js";

1313

import type { ResolvedLineAccount } from "./types.js";

1414
15-

export interface LineBotOptions {

15+

interface LineBotOptions {

1616

channelAccessToken: string;

1717

channelSecret: string;

1818

accountId?: string;

@@ -22,7 +22,7 @@ export interface LineBotOptions {

2222

onMessage?: (ctx: LineInboundContext) => Promise<void>;

2323

}

2424
25-

export interface LineBot {

25+

interface LineBot {

2626

handleWebhook: (body: webhook.CallbackRequest) => Promise<void>;

2727

account: ResolvedLineAccount;

2828

}

Original file line numberDiff line numberDiff line change

@@ -1,10 +1,10 @@

11

import { describeWebhookAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";

2-

import { hasLineCredentials, parseLineAllowFromId } from "./account-helpers.js";

2+

import { hasLineCredentials } from "./account-helpers.js";

33

import { type ChannelPlugin, type ResolvedLineAccount } from "./channel-api.js";

44

import { lineConfigAdapter } from "./config-adapter.js";

55

import { LineChannelConfigSchema } from "./config-schema.js";

66
7-

export const lineChannelMeta = {

7+

const lineChannelMeta = {

88

id: "line",

99

label: "LINE",

1010

selectionLabel: "LINE (Messaging API)",

@@ -46,5 +46,3 @@ export const lineChannelPluginCommon = {

4646

ChannelPlugin<ResolvedLineAccount>,

4747

"meta" | "capabilities" | "reload" | "configSchema" | "config"

4848

>;

49-
50-

export { parseLineAllowFromId };

Original file line numberDiff line numberDiff line change

@@ -6,7 +6,7 @@ import {

66

type ResolvedLineAccount,

77

} from "./channel-api.js";

88
9-

export function normalizeLineAllowFrom(entry: string): string {

9+

function normalizeLineAllowFrom(entry: string): string {

1010

return entry.replace(/^line:(?:user:)?/i, "");

1111

}

1212
Original file line numberDiff line numberDiff line change

@@ -1,7 +1,7 @@

11

import { resolvePinnedHostnameWithPolicy, type SsrFPolicy } from "openclaw/plugin-sdk/ssrf-runtime";

22

import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/text-runtime";

33
4-

export type LineOutboundMediaKind = "image" | "video" | "audio";

4+

type LineOutboundMediaKind = "image" | "video" | "audio";

55
66

export type LineOutboundMediaResolved = {

77

mediaUrl: string;

Original file line numberDiff line numberDiff line change

@@ -1,7 +1,7 @@

11

import type { messagingApi } from "@line/bot-sdk";

22

import type { OpenClawConfig } from "openclaw/plugin-sdk/config-types";

33
4-

export type LineReplyMessage = messagingApi.TextMessage;

4+

type LineReplyMessage = messagingApi.TextMessage;

55
66

export type SendLineReplyChunksParams = {

77

to: string;

Original file line numberDiff line numberDiff line change

@@ -15,7 +15,7 @@ type LineChannelRuntime = {

1515

sendMessageLine?: typeof import("./send.js").sendMessageLine;

1616

};

1717
18-

export type LineRuntime = PluginRuntime & {

18+

type LineRuntime = PluginRuntime & {

1919

channel: PluginRuntime["channel"] & {

2020

line?: LineChannelRuntime;

2121

};

Original file line numberDiff line numberDiff line change

@@ -2,7 +2,7 @@ import type { BaseProbeResult } from "openclaw/plugin-sdk/channel-contract";

22
33

export type LineTokenSource = "config" | "env" | "file" | "none";

44
5-

export interface LineThreadBindingsConfig {

5+

interface LineThreadBindingsConfig {

66

enabled?: boolean;

77

idleHours?: number;

88

maxAgeHours?: number;

@@ -67,7 +67,7 @@ export type LineProbeResult = BaseProbeResult<string> & {

6767

};

6868

};

6969
70-

export type LineFlexMessagePayload = {

70+

type LineFlexMessagePayload = {

7171

altText: string;

7272

contents: unknown;

7373

};