@inline-openclaw/inline 0.0.35 → 0.0.37

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 (90) hide show
  1. package/README.md +73 -19
  2. package/dist/account-inspect-api.d.ts +3 -0
  3. package/dist/account-inspect-api.d.ts.map +1 -0
  4. package/dist/account-inspect-api.js +14998 -0
  5. package/dist/account-inspect-api.js.map +87 -0
  6. package/dist/approval-handler.runtime.js +38942 -0
  7. package/dist/approval-handler.runtime.js.map +154 -0
  8. package/dist/channel-plugin-api.d.ts +2 -0
  9. package/dist/channel-plugin-api.d.ts.map +1 -0
  10. package/dist/channel-plugin-api.js +44825 -0
  11. package/dist/channel-plugin-api.js.map +169 -0
  12. package/dist/configured-state.d.ts +4 -0
  13. package/dist/configured-state.d.ts.map +1 -0
  14. package/dist/configured-state.js +43 -0
  15. package/dist/configured-state.js.map +10 -0
  16. package/dist/index.d.ts +2 -9
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +28 -42082
  19. package/dist/index.js.map +4 -156
  20. package/dist/inline/accounts.d.ts +35 -1
  21. package/dist/inline/accounts.d.ts.map +1 -1
  22. package/dist/inline/actions.d.ts +10 -5
  23. package/dist/inline/actions.d.ts.map +1 -1
  24. package/dist/inline/approval-handler.runtime.d.ts +28 -0
  25. package/dist/inline/approval-handler.runtime.d.ts.map +1 -0
  26. package/dist/inline/approval-native.d.ts +22 -0
  27. package/dist/inline/approval-native.d.ts.map +1 -0
  28. package/dist/inline/bot-commands-sync.d.ts +5 -0
  29. package/dist/inline/bot-commands-sync.d.ts.map +1 -1
  30. package/dist/inline/channel.d.ts +1 -1
  31. package/dist/inline/channel.d.ts.map +1 -1
  32. package/dist/inline/command-ui.d.ts +43 -0
  33. package/dist/inline/command-ui.d.ts.map +1 -0
  34. package/dist/inline/config-schema.d.ts +231 -35
  35. package/dist/inline/config-schema.d.ts.map +1 -1
  36. package/dist/inline/doctor.d.ts +5 -0
  37. package/dist/inline/doctor.d.ts.map +1 -0
  38. package/dist/inline/exec-approvals.d.ts +54 -0
  39. package/dist/inline/exec-approvals.d.ts.map +1 -0
  40. package/dist/inline/interactive-fallback.d.ts +6 -0
  41. package/dist/inline/interactive-fallback.d.ts.map +1 -0
  42. package/dist/inline/media.d.ts +10 -0
  43. package/dist/inline/media.d.ts.map +1 -1
  44. package/dist/inline/message-formatting.d.ts +5 -1
  45. package/dist/inline/message-formatting.d.ts.map +1 -1
  46. package/dist/inline/message-tools.d.ts.map +1 -1
  47. package/dist/inline/monitor.d.ts +7 -1
  48. package/dist/inline/monitor.d.ts.map +1 -1
  49. package/dist/inline/outbound-sanitize.d.ts +4 -0
  50. package/dist/inline/outbound-sanitize.d.ts.map +1 -1
  51. package/dist/inline/policy.d.ts +30 -0
  52. package/dist/inline/policy.d.ts.map +1 -1
  53. package/dist/inline/profile-tool.d.ts.map +1 -1
  54. package/dist/inline/secret-contract.d.ts +18 -0
  55. package/dist/inline/secret-contract.d.ts.map +1 -0
  56. package/dist/inline/security.d.ts +6 -0
  57. package/dist/inline/security.d.ts.map +1 -0
  58. package/dist/inline/setup-core.d.ts +1 -0
  59. package/dist/inline/setup-core.d.ts.map +1 -1
  60. package/dist/inline/setup-plugin.d.ts +3 -0
  61. package/dist/inline/setup-plugin.d.ts.map +1 -0
  62. package/dist/inline/setup-surface.d.ts.map +1 -1
  63. package/dist/inline/shared.d.ts +61 -0
  64. package/dist/inline/shared.d.ts.map +1 -0
  65. package/dist/inline/status-issues.d.ts.map +1 -1
  66. package/dist/runtime-register-api.d.ts +3 -0
  67. package/dist/runtime-register-api.d.ts.map +1 -0
  68. package/dist/runtime-register-api.js +37086 -0
  69. package/dist/runtime-register-api.js.map +153 -0
  70. package/dist/runtime-setter-api.d.ts +2 -0
  71. package/dist/runtime-setter-api.d.ts.map +1 -0
  72. package/dist/runtime-setter-api.js +50 -0
  73. package/dist/runtime-setter-api.js.map +10 -0
  74. package/dist/runtime.d.ts.map +1 -1
  75. package/dist/sdk-runtime-compat.d.ts +1 -1
  76. package/dist/sdk-runtime-compat.d.ts.map +1 -1
  77. package/dist/secret-contract-api.d.ts +2 -0
  78. package/dist/secret-contract-api.d.ts.map +1 -0
  79. package/dist/secret-contract-api.js +87 -0
  80. package/dist/secret-contract-api.js.map +10 -0
  81. package/dist/setup-entry.d.ts +3 -0
  82. package/dist/setup-entry.d.ts.map +1 -0
  83. package/dist/setup-entry.js +48 -0
  84. package/dist/setup-entry.js.map +10 -0
  85. package/dist/setup-plugin-api.d.ts +2 -0
  86. package/dist/setup-plugin-api.d.ts.map +1 -0
  87. package/dist/setup-plugin-api.js +15732 -0
  88. package/dist/setup-plugin-api.js.map +94 -0
  89. package/openclaw.plugin.json +135 -18
  90. package/package.json +53 -18
@@ -1,4 +1,8 @@
1
- export declare const INLINE_FORMATTING_NOTE = "Inline formatting note: prefer bullet lists over markdown tables. If a table is necessary, render it inside a fenced code block. Do not wrap bare URLs in inline code or backticks. Use plain URLs or markdown links. Use inline code only for actual code, commands, file paths, env vars, or identifiers.";
1
+ export declare function adaptInlineVisibleCopy(text: string): string;
2
2
  export declare function buildInlineSystemPrompt(extraPrompt?: string): string;
3
+ export declare function buildInlineInboundFormattingHints(): {
4
+ text_markup: string;
5
+ rules: string[];
6
+ };
3
7
  export declare function sanitizeInlineOutgoingText(text: string): string;
4
8
  //# sourceMappingURL=message-formatting.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"message-formatting.d.ts","sourceRoot":"","sources":["../../src/inline/message-formatting.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,gTAC4Q,CAAA;AAe/S,wBAAgB,uBAAuB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAIpE;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAI/D"}
1
+ {"version":3,"file":"message-formatting.d.ts","sourceRoot":"","sources":["../../src/inline/message-formatting.ts"],"names":[],"mappings":"AA6BA,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAM3D;AAED,wBAAgB,uBAAuB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAEpE;AAED,wBAAgB,iCAAiC,IAAI;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,EAAE,CAAA;CAAE,CAK5F;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAI/D"}
@@ -1 +1 @@
1
- {"version":3,"file":"message-tools.d.ts","sourceRoot":"","sources":["../../src/inline/message-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAO5E,KAAK,wBAAwB,GAAG;IAC9B,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AA0cD,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,wBAAwB,GAAG,YAAY,EAAE,CAGtF"}
1
+ {"version":3,"file":"message-tools.d.ts","sourceRoot":"","sources":["../../src/inline/message-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAO5E,KAAK,wBAAwB,GAAG;IAC9B,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AA+cD,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,wBAAwB,GAAG,YAAY,EAAE,CAGtF"}
@@ -1,4 +1,5 @@
1
1
  import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
2
+ import type { ChannelRuntimeSurface } from "openclaw/plugin-sdk/channel-contract";
2
3
  import type { RuntimeEnv } from "openclaw/plugin-sdk/runtime-env";
3
4
  import { type ResolvedInlineAccount } from "./accounts.js";
4
5
  type InlineMonitorHandle = {
@@ -6,15 +7,20 @@ type InlineMonitorHandle = {
6
7
  done: Promise<void>;
7
8
  };
8
9
  type StatusSink = (patch: {
10
+ connected?: boolean;
11
+ lastConnectedAt?: number | null;
12
+ lastEventAt?: number | null;
13
+ lastTransportActivityAt?: number | null;
9
14
  lastInboundAt?: number;
10
15
  lastOutboundAt?: number;
11
- lastError?: string;
16
+ lastError?: string | null;
12
17
  diagnostics?: unknown;
13
18
  }) => void;
14
19
  export declare function monitorInlineProvider(params: {
15
20
  cfg: OpenClawConfig;
16
21
  account: ResolvedInlineAccount;
17
22
  runtime: RuntimeEnv;
23
+ channelRuntime?: ChannelRuntimeSurface;
18
24
  abortSignal: AbortSignal;
19
25
  log?: {
20
26
  info: (msg: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/inline/monitor.ts"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAEjE,OAAO,EAAsB,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAsB9E,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;CACpB,CAAA;AAED,KAAK,UAAU,GAAG,CAAC,KAAK,EAAE;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,KAAK,IAAI,CAAA;AA6jDV,wBAAsB,qBAAqB,CAAC,MAAM,EAAE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E,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,KAAK,IAAI,CAAA;AA6xDV,wBAAsB,qBAAqB,CAAC,MAAM,EAAE;IAClD,GAAG,EAAE,cAAc,CAAA;IACnB,OAAO,EAAE,qBAAqB,CAAA;IAC9B,OAAO,EAAE,UAAU,CAAA;IACnB,cAAc,CAAC,EAAE,qBAAqB,CAAA;IACtC,WAAW,EAAE,WAAW,CAAA;IACxB,GAAG,CAAC,EAAE;QAAE,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAA;IAC/H,UAAU,CAAC,EAAE,UAAU,CAAA;CACxB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAw0D/B"}
@@ -1,3 +1,5 @@
1
+ export declare const INLINE_ACTION_LABEL_MAX_LENGTH = 64;
2
+ export declare const INLINE_ACTION_CALLBACK_DATA_MAX_BYTES = 1024;
1
3
  export type InlineSanitizedVisibleText = {
2
4
  text: string;
3
5
  shouldSkip: boolean;
@@ -5,4 +7,6 @@ export type InlineSanitizedVisibleText = {
5
7
  };
6
8
  export declare function sanitizeInlineVisibleText(raw: string | null | undefined): InlineSanitizedVisibleText;
7
9
  export declare function sanitizeInlineVisibleLabel(raw: string | null | undefined): string | null;
10
+ export declare function sanitizeInlineActionLabel(raw: string | null | undefined): string | null;
11
+ export declare function sanitizeInlineActionCallbackData(raw: string | null | undefined): string | null;
8
12
  //# sourceMappingURL=outbound-sanitize.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"outbound-sanitize.d.ts","sourceRoot":"","sources":["../../src/inline/outbound-sanitize.ts"],"names":[],"mappings":"AAUA,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AA0ED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,0BAA0B,CAsBpG;AAED,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAKxF"}
1
+ {"version":3,"file":"outbound-sanitize.d.ts","sourceRoot":"","sources":["../../src/inline/outbound-sanitize.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,8BAA8B,KAAK,CAAA;AAChD,eAAO,MAAM,qCAAqC,OAAO,CAAA;AAIzD,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AAsND,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,0BAA0B,CAuBpG;AAED,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAKxF;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAKvF;AAED,wBAAgB,gCAAgC,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAK9F"}
@@ -1,11 +1,35 @@
1
1
  import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
2
2
  type InlineToolPolicy = Record<string, unknown>;
3
+ type InlineGroupConfig = {
4
+ requireMention?: boolean | undefined;
5
+ allowFrom?: Array<string | number> | undefined;
6
+ systemPrompt?: string | undefined;
7
+ tools?: InlineToolPolicy | undefined;
8
+ toolsBySender?: Record<string, InlineToolPolicy | undefined> | undefined;
9
+ };
10
+ type InlineGroups = Record<string, InlineGroupConfig | undefined>;
3
11
  export declare function resolveInlineGroupRequireMention(params: {
4
12
  cfg: OpenClawConfig;
5
13
  accountId: string | null | undefined;
6
14
  groupId: string | null | undefined;
7
15
  requireMentionDefault: boolean;
8
16
  }): boolean;
17
+ export declare function resolveInlineGroupSystemPrompt(params: {
18
+ groups: InlineGroups | undefined;
19
+ groupId: string | null | undefined;
20
+ }): string | undefined;
21
+ export declare function resolveInlineGroupAccessPolicy(params: {
22
+ cfg: OpenClawConfig;
23
+ accountId: string | null | undefined;
24
+ groupId: string | null | undefined;
25
+ groupPolicy: "disabled" | "allowlist" | "open" | undefined;
26
+ hasGroupAllowFrom: boolean;
27
+ }): {
28
+ allowlistEnabled: boolean;
29
+ allowed: boolean;
30
+ groupConfig: InlineGroupConfig | undefined;
31
+ defaultConfig: InlineGroupConfig | undefined;
32
+ };
9
33
  export declare function resolveInlineGroupToolPolicy(params: {
10
34
  cfg: OpenClawConfig;
11
35
  accountId: string | null | undefined;
@@ -15,5 +39,11 @@ export declare function resolveInlineGroupToolPolicy(params: {
15
39
  senderUsername: string | null | undefined;
16
40
  senderE164: string | null | undefined;
17
41
  }): InlineToolPolicy | undefined;
42
+ export declare function resolveInlineGroupAllowFrom(params: {
43
+ cfg: OpenClawConfig;
44
+ accountId: string | null | undefined;
45
+ groupId: string | null | undefined;
46
+ accountAllowFrom: Array<string | number> | undefined;
47
+ }): Array<string | number> | undefined;
18
48
  export {};
19
49
  //# sourceMappingURL=policy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../src/inline/policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAG9D,KAAK,gBAAgB,GAAG,MAAM,CAAC,MAAM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M,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;AAED,wBAAgB,2BAA2B,CAAC,MAAM,EAAE;IAClD,GAAG,EAAE,cAAc,CAAA;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACpC,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAClC,gBAAgB,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,SAAS,CAAA;CACrD,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,SAAS,CAOrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"profile-tool.d.ts","sourceRoot":"","sources":["../../src/inline/profile-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AA0I5E,wBAAgB,uBAAuB,CAAC,GAAG,EAAE;IAC3C,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,GAAG,YAAY,GAAG,IAAI,CA8DtB"}
1
+ {"version":3,"file":"profile-tool.d.ts","sourceRoot":"","sources":["../../src/inline/profile-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAmH5E,wBAAgB,uBAAuB,CAAC,GAAG,EAAE;IAC3C,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,GAAG,YAAY,GAAG,IAAI,CA8DtB"}
@@ -0,0 +1,18 @@
1
+ import { type ResolverContext, type SecretDefaults, type SecretTargetRegistryEntry } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
2
+ export declare const secretTargetRegistryEntries: SecretTargetRegistryEntry[];
3
+ export declare function collectRuntimeConfigAssignments(params: {
4
+ config: {
5
+ channels?: Record<string, unknown>;
6
+ };
7
+ defaults?: SecretDefaults;
8
+ context: ResolverContext;
9
+ }): void;
10
+ export declare const channelSecrets: {
11
+ secretTargetRegistryEntries: SecretTargetRegistryEntry[];
12
+ collectRuntimeConfigAssignments: typeof collectRuntimeConfigAssignments;
13
+ };
14
+ export declare const inlineSecrets: {
15
+ secretTargetRegistryEntries: SecretTargetRegistryEntry[];
16
+ collectRuntimeConfigAssignments: typeof collectRuntimeConfigAssignments;
17
+ };
18
+ //# sourceMappingURL=secret-contract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secret-contract.d.ts","sourceRoot":"","sources":["../../src/inline/secret-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC/B,MAAM,kDAAkD,CAAA;AAEzD,eAAO,MAAM,2BAA2B,EAAE,yBAAyB,EAuBlE,CAAA;AAED,wBAAgB,+BAA+B,CAAC,MAAM,EAAE;IACtD,MAAM,EAAE;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAA;IAC9C,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,OAAO,EAAE,eAAe,CAAA;CACzB,GAAG,IAAI,CAgBP;AAED,eAAO,MAAM,cAAc;;;CAG1B,CAAA;AAED,eAAO,MAAM,aAAa;;;CAAiB,CAAA"}
@@ -0,0 +1,6 @@
1
+ import type { ChannelPlugin } from "openclaw/plugin-sdk/core";
2
+ import type { ResolvedInlineAccount } from "./accounts.js";
3
+ type InlineSecurityAdapter = NonNullable<ChannelPlugin<ResolvedInlineAccount>["security"]>;
4
+ export declare const inlineSecurityAdapter: InlineSecurityAdapter;
5
+ export {};
6
+ //# sourceMappingURL=security.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../src/inline/security.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAkB,MAAM,0BAA0B,CAAA;AAG7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAG1D,KAAK,qBAAqB,GAAG,WAAW,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC,UAAU,CAAC,CAAC,CAAA;AA4F1F,eAAO,MAAM,qBAAqB,EAAE,qBAyHnC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import type { ChannelSetupAdapter } from "openclaw/plugin-sdk/setup";
2
2
  export declare const INLINE_TOKEN_HELP_LINES: string[];
3
+ export declare function resolveInlineSetupEnvToken(): string | undefined;
3
4
  export declare const inlineSetupAdapter: ChannelSetupAdapter;
4
5
  //# sourceMappingURL=setup-core.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setup-core.d.ts","sourceRoot":"","sources":["../../src/inline/setup-core.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAKpE,eAAO,MAAM,uBAAuB,UAMnC,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,mBAO/B,CAAA"}
1
+ {"version":3,"file":"setup-core.d.ts","sourceRoot":"","sources":["../../src/inline/setup-core.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAMpE,eAAO,MAAM,uBAAuB,UAQnC,CAAA;AAED,wBAAgB,0BAA0B,IAAI,MAAM,GAAG,SAAS,CAE/D;AAED,eAAO,MAAM,kBAAkB,EAAE,mBAQ/B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { ChannelPlugin } from "openclaw/plugin-sdk/core";
2
+ export declare const inlineSetupPlugin: ChannelPlugin;
3
+ //# sourceMappingURL=setup-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-plugin.d.ts","sourceRoot":"","sources":["../../src/inline/setup-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAe7D,eAAO,MAAM,iBAAiB,EAAE,aA6B/B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"setup-surface.d.ts","sourceRoot":"","sources":["../../src/inline/setup-surface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAMnE,OAAO,EAA2B,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAI7E,eAAO,MAAM,iBAAiB,EAAE,kBA2C/B,CAAA;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
1
+ {"version":3,"file":"setup-surface.d.ts","sourceRoot":"","sources":["../../src/inline/setup-surface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAenE,OAAO,EAA2B,kBAAkB,EAA8B,MAAM,iBAAiB,CAAA;AA0OzG,eAAO,MAAM,iBAAiB,EAAE,kBAqH/B,CAAA;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,61 @@
1
+ import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
2
+ import { type ResolvedInlineAccount } from "./accounts.js";
3
+ import { hasInlineConfiguredState } from "../configured-state.js";
4
+ export declare const INLINE_CHANNEL: "inline";
5
+ export declare const inlineMeta: {
6
+ id: "inline";
7
+ label: string;
8
+ selectionLabel: string;
9
+ detailLabel: string;
10
+ docsPath: string;
11
+ docsLabel: string;
12
+ blurb: string;
13
+ systemImage: string;
14
+ markdownCapable: boolean;
15
+ aliases: string[];
16
+ order: number;
17
+ quickstartAllowFrom: boolean;
18
+ };
19
+ export declare const inlineConfigSchema: {
20
+ schema: Record<string, unknown>;
21
+ };
22
+ export declare function normalizeInlineAllowEntry(raw: string): string;
23
+ export declare function describeInlineAccount(account: ResolvedInlineAccount): {
24
+ accountId: string;
25
+ name: string;
26
+ enabled: boolean;
27
+ configured: boolean;
28
+ baseUrl: string;
29
+ tokenSource: "file" | "env" | "config" | "none";
30
+ };
31
+ export declare const inlineConfigAdapter: {
32
+ listAccountIds: (cfg: OpenClawConfig) => string[];
33
+ resolveAccount: (cfg: OpenClawConfig, accountId?: string | null) => ResolvedInlineAccount;
34
+ inspectAccount: (cfg: OpenClawConfig, accountId?: string | null) => import("./accounts.js").InspectedInlineAccount;
35
+ defaultAccountId: (cfg: OpenClawConfig) => string;
36
+ setAccountEnabled: ({ cfg, accountId, enabled }: {
37
+ cfg: OpenClawConfig;
38
+ accountId: string;
39
+ enabled: boolean;
40
+ }) => OpenClawConfig;
41
+ deleteAccount: ({ cfg, accountId }: {
42
+ cfg: OpenClawConfig;
43
+ accountId: string;
44
+ }) => OpenClawConfig;
45
+ isConfigured: (account: ResolvedInlineAccount, cfg: OpenClawConfig) => boolean;
46
+ unconfiguredReason: (account: ResolvedInlineAccount, cfg: OpenClawConfig) => string;
47
+ describeAccount: (account: ResolvedInlineAccount, cfg: OpenClawConfig) => import("openclaw/plugin-sdk").ChannelAccountSnapshot;
48
+ resolveAllowFrom: ({ cfg, accountId }: {
49
+ cfg: OpenClawConfig;
50
+ accountId?: string | null;
51
+ }) => string[];
52
+ resolveDefaultTo: ({ cfg, accountId }: {
53
+ cfg: OpenClawConfig;
54
+ accountId?: string | null;
55
+ }) => string | undefined;
56
+ formatAllowFrom: ({ allowFrom }: {
57
+ allowFrom: Array<string | number>;
58
+ }) => string[];
59
+ hasConfiguredState: typeof hasInlineConfiguredState;
60
+ };
61
+ //# sourceMappingURL=shared.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/inline/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAO9D,OAAO,EAOL,KAAK,qBAAqB,EAC3B,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,kBAAkB,EAAE,CAsFlG"}
1
+ {"version":3,"file":"status-issues.d.ts","sourceRoot":"","sources":["../../src/inline/status-issues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,sCAAsC,CAAA;AAmG7C,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,sBAAsB,EAAE,GAAG,kBAAkB,EAAE,CAqHlG"}
@@ -0,0 +1,3 @@
1
+ import type { OpenClawPluginApi } from "openclaw/plugin-sdk/channel-entry-contract";
2
+ export declare function registerInlinePluginFull(api: OpenClawPluginApi): void;
3
+ //# sourceMappingURL=runtime-register-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime-register-api.d.ts","sourceRoot":"","sources":["../src/runtime-register-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,iBAAiB,EAAE,MAAM,4CAA4C,CAAA;AASjG,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAiCrE"}