@inline-openclaw/inline 0.0.19 → 0.0.20

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.
@@ -0,0 +1,19 @@
1
+ import { type OpenClawConfig } from "openclaw/plugin-sdk";
2
+ type InlineToolPolicy = Record<string, unknown>;
3
+ export declare function resolveInlineGroupRequireMention(params: {
4
+ cfg: OpenClawConfig;
5
+ accountId: string | null | undefined;
6
+ groupId: string | null | undefined;
7
+ requireMentionDefault: boolean;
8
+ }): boolean;
9
+ export declare function resolveInlineGroupToolPolicy(params: {
10
+ cfg: OpenClawConfig;
11
+ accountId: string | null | undefined;
12
+ groupId: string | null | undefined;
13
+ senderId: string | null | undefined;
14
+ senderName: string | null | undefined;
15
+ senderUsername: string | null | undefined;
16
+ senderE164: string | null | undefined;
17
+ }): InlineToolPolicy | undefined;
18
+ export {};
19
+ //# sourceMappingURL=policy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../src/inline/policy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkD,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEzG,KAAK,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AA2F/C,wBAAgB,gCAAgC,CAAC,MAAM,EAAE;IACvD,GAAG,EAAE,cAAc,CAAA;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACpC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,qBAAqB,EAAE,OAAO,CAAA;CAC/B,GAAG,OAAO,CAOV;AAED,wBAAgB,4BAA4B,CAAC,MAAM,EAAE;IACnD,GAAG,EAAE,cAAc,CAAA;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACpC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACnC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACrC,cAAc,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACzC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;CACtC,GAAG,gBAAgB,GAAG,SAAS,CAwB/B"}
@@ -0,0 +1,6 @@
1
+ import { type AnyAgentTool, type OpenClawConfig } from "openclaw/plugin-sdk";
2
+ export declare function createInlineProfileTool(ctx: {
3
+ config?: OpenClawConfig;
4
+ agentAccountId?: string;
5
+ }): AnyAgentTool | null;
6
+ //# sourceMappingURL=profile-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-tool.d.ts","sourceRoot":"","sources":["../../src/inline/profile-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,cAAc,EACpB,MAAM,qBAAqB,CAAA;AA8G5B,wBAAgB,uBAAuB,CAAC,GAAG,EAAE;IAC3C,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,GAAG,YAAY,GAAG,IAAI,CAyDtB"}
@@ -0,0 +1,22 @@
1
+ import { InlineSdkClient } from "@inline-chat/realtime-sdk";
2
+ export type InlineSpaceMemberRecord = {
3
+ userId: string;
4
+ role: "owner" | "admin" | "member" | null;
5
+ canAccessPublicChats: boolean | undefined;
6
+ date: number;
7
+ user: {
8
+ id: string;
9
+ name: string;
10
+ username: string | null;
11
+ } | null;
12
+ };
13
+ export declare function buildInlineUserDisplayName(user: {
14
+ firstName?: string;
15
+ lastName?: string;
16
+ username?: string;
17
+ }): string;
18
+ export declare function getSpaceMembersWithUsers(params: {
19
+ client: InlineSdkClient;
20
+ spaceId: bigint;
21
+ }): Promise<InlineSpaceMemberRecord[]>;
22
+ //# sourceMappingURL=space-members.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"space-members.d.ts","sourceRoot":"","sources":["../../src/inline/space-members.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAIhB,MAAM,2BAA2B,CAAA;AAElC,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,IAAI,CAAA;IACzC,oBAAoB,EAAE,OAAO,GAAG,SAAS,CAAA;IACzC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;KACxB,GAAG,IAAI,CAAA;CACT,CAAA;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,GAAG,MAAM,CAMT;AAkBD,wBAAsB,wBAAwB,CAAC,MAAM,EAAE;IACrD,MAAM,EAAE,eAAe,CAAA;IACvB,OAAO,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC,CA4BrC"}
@@ -0,0 +1,4 @@
1
+ import type { PluginRuntime } from "openclaw/plugin-sdk";
2
+ export declare function setInlineRuntime(next: PluginRuntime): void;
3
+ export declare function getInlineRuntime(): PluginRuntime;
4
+ //# sourceMappingURL=runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAIxD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI,CAE1D;AAED,wBAAgB,gBAAgB,IAAI,aAAa,CAKhD"}