@rynx-ai/plugin-channel-lark 0.1.10 → 0.1.11-beta.10
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/.rynx-plugin/plugin.json +25 -0
- package/dist/cli-mirror/mirror-index.d.ts +4 -2
- package/dist/cli-mirror/mirror-index.js +10 -2
- package/dist/host-adapters.d.ts +26 -13
- package/dist/host-adapters.js +146 -44
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/lark-config-store.d.ts +30 -0
- package/dist/lark-config-store.js +135 -0
- package/dist/lark-runtime-state-store.d.ts +18 -0
- package/dist/lark-runtime-state-store.js +95 -0
- package/dist/lark-setup.d.ts +27 -5
- package/dist/lark-setup.js +24 -7
- package/dist/lark.d.ts +9 -2
- package/dist/lark.js +45 -80
- package/dist/runtime.d.ts +5 -8
- package/dist/runtime.js +131312 -141
- package/dist/settings.d.ts +7 -0
- package/dist/{runtime.mjs → settings.js} +6631 -10535
- package/package.json +27 -10
- package/ui/assets/index-CGUVAMsv.css +1 -0
- package/ui/assets/index-D8Amoe6a.js +201 -0
- package/ui/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/ui/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/ui/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/ui/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/ui/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/ui/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/ui/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/ui/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
- package/ui/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
- package/ui/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
- package/ui/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
- package/ui/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
- package/ui/index.html +13 -0
- package/rynx-plugin.json +0 -42
package/dist/runtime.d.ts
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PluginActivation, PluginRuntimeContext } from "@rynx-ai/plugin-sdk";
|
|
2
|
+
import { type LarkInstanceConfig } from "./lark-config-store.js";
|
|
2
3
|
import { type LarkBotRuntime } from "./lark.js";
|
|
3
4
|
export declare const LARK_CHANNEL_ID = "lark";
|
|
4
5
|
export interface LarkPluginRuntimeOptions {
|
|
5
6
|
createBot?: (input: {
|
|
6
7
|
context: PluginRuntimeContext;
|
|
7
|
-
|
|
8
|
-
kind: "chat-channel";
|
|
9
|
-
}>;
|
|
8
|
+
instance: LarkInstanceConfig;
|
|
10
9
|
instanceDataDir: string;
|
|
11
10
|
}) => Promise<LarkBotRuntime> | LarkBotRuntime;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
export declare function
|
|
15
|
-
/** Exported separately so lifecycle behavior can be tested without opening Lark WebSocket. */
|
|
16
|
-
export declare function createLarkPluginRuntime(context: PluginRuntimeContext, options?: LarkPluginRuntimeOptions): PluginRuntimeHandle;
|
|
12
|
+
export declare function activate(context: PluginRuntimeContext): Promise<PluginActivation>;
|
|
13
|
+
export declare function createLarkPluginRuntime(context: PluginRuntimeContext, options?: LarkPluginRuntimeOptions): Promise<PluginActivation>;
|