mirror of https://github.com/openclaw/openclaw.git
Plugins: finish signal SDK internalization
This commit is contained in:
parent
9282d5d09e
commit
0bdd17aef2
|
|
@ -1,2 +1 @@
|
|||
export * from "./src/index.js";
|
||||
export type { SignalAccountConfig } from "openclaw/plugin-sdk/signal";
|
||||
export * from "./src/runtime-api.js";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
resolveAccountEntry,
|
||||
type OpenClawConfig,
|
||||
} from "openclaw/plugin-sdk/account-resolution";
|
||||
import type { SignalAccountConfig } from "openclaw/plugin-sdk/signal";
|
||||
import type { SignalAccountConfig } from "./runtime-api.js";
|
||||
|
||||
export type ResolvedSignalAccount = {
|
||||
accountId: string;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { type ChannelPlugin } from "../runtime-api.js";
|
||||
import { type ResolvedSignalAccount } from "./accounts.js";
|
||||
import { signalSetupAdapter } from "./setup-core.js";
|
||||
import { type ChannelPlugin } from "./runtime-api.js";
|
||||
import { createSignalPluginBase, signalSetupWizard } from "./shared.js";
|
||||
|
||||
export const signalSetupPlugin: ChannelPlugin<ResolvedSignalAccount> = {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import {
|
|||
PAIRING_APPROVED_MESSAGE,
|
||||
resolveChannelMediaMaxBytes,
|
||||
type ChannelPlugin,
|
||||
} from "openclaw/plugin-sdk/signal";
|
||||
} from "./runtime-api.js";
|
||||
import { resolveSignalAccount, type ResolvedSignalAccount } from "./accounts.js";
|
||||
import { markdownToSignalTextChunks } from "./format.js";
|
||||
import {
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
export * from "openclaw/plugin-sdk/signal";
|
||||
|
|
@ -10,7 +10,7 @@ import {
|
|||
normalizeE164,
|
||||
SignalConfigSchema,
|
||||
type ChannelPlugin,
|
||||
} from "openclaw/plugin-sdk/signal";
|
||||
} from "./runtime-api.js";
|
||||
import {
|
||||
listSignalAccountIds,
|
||||
resolveDefaultSignalAccountId,
|
||||
|
|
|
|||
Loading…
Reference in New Issue