@inline-openclaw/inline 0.0.34 → 0.0.36
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/README.md +73 -19
- package/dist/account-inspect-api.d.ts +3 -0
- package/dist/account-inspect-api.d.ts.map +1 -0
- package/dist/account-inspect-api.js +14998 -0
- package/dist/account-inspect-api.js.map +87 -0
- package/dist/approval-handler.runtime.js +38936 -0
- package/dist/approval-handler.runtime.js.map +154 -0
- package/dist/channel-plugin-api.d.ts +2 -0
- package/dist/channel-plugin-api.d.ts.map +1 -0
- package/dist/channel-plugin-api.js +44554 -0
- package/dist/channel-plugin-api.js.map +167 -0
- package/dist/configured-state.d.ts +4 -0
- package/dist/configured-state.d.ts.map +1 -0
- package/dist/configured-state.js +43 -0
- package/dist/configured-state.js.map +10 -0
- package/dist/index.d.ts +2 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +28 -41525
- package/dist/index.js.map +4 -155
- package/dist/inline/accounts.d.ts +35 -1
- package/dist/inline/accounts.d.ts.map +1 -1
- package/dist/inline/actions.d.ts +15 -8
- package/dist/inline/actions.d.ts.map +1 -1
- package/dist/inline/approval-handler.runtime.d.ts +28 -0
- package/dist/inline/approval-handler.runtime.d.ts.map +1 -0
- package/dist/inline/approval-native.d.ts +22 -0
- package/dist/inline/approval-native.d.ts.map +1 -0
- package/dist/inline/bot-commands-sync.d.ts.map +1 -1
- package/dist/inline/bot-commands-tool.d.ts.map +1 -1
- package/dist/inline/channel.d.ts +1 -1
- package/dist/inline/channel.d.ts.map +1 -1
- package/dist/inline/command-ui.d.ts +43 -0
- package/dist/inline/command-ui.d.ts.map +1 -0
- package/dist/inline/config-schema.d.ts +727 -41
- package/dist/inline/config-schema.d.ts.map +1 -1
- package/dist/inline/doctor.d.ts +5 -0
- package/dist/inline/doctor.d.ts.map +1 -0
- package/dist/inline/exec-approvals.d.ts +54 -0
- package/dist/inline/exec-approvals.d.ts.map +1 -0
- package/dist/inline/interactive-fallback.d.ts +6 -0
- package/dist/inline/interactive-fallback.d.ts.map +1 -0
- package/dist/inline/media.d.ts +10 -0
- package/dist/inline/media.d.ts.map +1 -1
- package/dist/inline/message-formatting.d.ts +5 -1
- package/dist/inline/message-formatting.d.ts.map +1 -1
- package/dist/inline/message-tools.d.ts.map +1 -1
- package/dist/inline/monitor.d.ts +7 -1
- package/dist/inline/monitor.d.ts.map +1 -1
- package/dist/inline/outbound-sanitize.d.ts +12 -0
- package/dist/inline/outbound-sanitize.d.ts.map +1 -0
- package/dist/inline/policy.d.ts +30 -0
- package/dist/inline/policy.d.ts.map +1 -1
- package/dist/inline/profile-tool.d.ts.map +1 -1
- package/dist/inline/secret-contract.d.ts +18 -0
- package/dist/inline/secret-contract.d.ts.map +1 -0
- package/dist/inline/security.d.ts +6 -0
- package/dist/inline/security.d.ts.map +1 -0
- package/dist/inline/setup-core.d.ts +1 -0
- package/dist/inline/setup-core.d.ts.map +1 -1
- package/dist/inline/setup-plugin.d.ts +3 -0
- package/dist/inline/setup-plugin.d.ts.map +1 -0
- package/dist/inline/setup-surface.d.ts.map +1 -1
- package/dist/inline/shared.d.ts +61 -0
- package/dist/inline/shared.d.ts.map +1 -0
- package/dist/inline/status-issues.d.ts.map +1 -1
- package/dist/runtime-register-api.d.ts +3 -0
- package/dist/runtime-register-api.d.ts.map +1 -0
- package/dist/runtime-register-api.js +37064 -0
- package/dist/runtime-register-api.js.map +153 -0
- package/dist/runtime-setter-api.d.ts +2 -0
- package/dist/runtime-setter-api.d.ts.map +1 -0
- package/dist/runtime-setter-api.js +50 -0
- package/dist/runtime-setter-api.js.map +10 -0
- package/dist/runtime.d.ts.map +1 -1
- package/dist/sdk-runtime-compat.d.ts +1 -1
- package/dist/sdk-runtime-compat.d.ts.map +1 -1
- package/dist/secret-contract-api.d.ts +2 -0
- package/dist/secret-contract-api.d.ts.map +1 -0
- package/dist/secret-contract-api.js +87 -0
- package/dist/secret-contract-api.js.map +10 -0
- package/dist/setup-entry.d.ts +3 -0
- package/dist/setup-entry.d.ts.map +1 -0
- package/dist/setup-entry.js +48 -0
- package/dist/setup-entry.js.map +10 -0
- package/dist/setup-plugin-api.d.ts +2 -0
- package/dist/setup-plugin-api.d.ts.map +1 -0
- package/dist/setup-plugin-api.js +15732 -0
- package/dist/setup-plugin-api.js.map +94 -0
- package/openclaw.plugin.json +231 -16
- package/package.json +53 -18
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configured-state.d.ts","sourceRoot":"","sources":["../src/configured-state.ts"],"names":[],"mappings":"AAEA,wBAAgB,wBAAwB,CAAC,MAAM,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAA;CAAE,GAAG,OAAO,CAKrF"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createRequire } from "node:module";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __toESM = (mod, isNodeMode, target) => {
|
|
8
|
+
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
9
|
+
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
10
|
+
for (let key of __getOwnPropNames(mod))
|
|
11
|
+
if (!__hasOwnProp.call(to, key))
|
|
12
|
+
__defProp(to, key, {
|
|
13
|
+
get: () => mod[key],
|
|
14
|
+
enumerable: true
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
19
|
+
var __export = (target, all) => {
|
|
20
|
+
for (var name in all)
|
|
21
|
+
__defProp(target, name, {
|
|
22
|
+
get: all[name],
|
|
23
|
+
enumerable: true,
|
|
24
|
+
configurable: true,
|
|
25
|
+
set: (newValue) => all[name] = () => newValue
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
29
|
+
|
|
30
|
+
// src/configured-state.ts
|
|
31
|
+
var INLINE_CONFIGURED_ENV_KEYS = ["INLINE_TOKEN", "INLINE_BOT_TOKEN"];
|
|
32
|
+
function hasInlineConfiguredState(params) {
|
|
33
|
+
return INLINE_CONFIGURED_ENV_KEYS.some((key) => {
|
|
34
|
+
const value = params.env?.[key];
|
|
35
|
+
return typeof value === "string" && value.trim().length > 0;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
hasInlineConfiguredState
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
//# debugId=121AB646B99D1CDE64756E2164756E21
|
|
43
|
+
//# sourceMappingURL=configured-state.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/configured-state.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"const INLINE_CONFIGURED_ENV_KEYS = [\"INLINE_TOKEN\", \"INLINE_BOT_TOKEN\"] as const\n\nexport function hasInlineConfiguredState(params: { env?: NodeJS.ProcessEnv }): boolean {\n return INLINE_CONFIGURED_ENV_KEYS.some((key) => {\n const value = params.env?.[key]\n return typeof value === \"string\" && value.trim().length > 0\n })\n}\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,6BAA6B,CAAC,gBAAgB,kBAAkB;AAE/D,SAAS,wBAAwB,CAAC,QAA8C;AAAA,EACrF,OAAO,2BAA2B,KAAK,CAAC,QAAQ;AAAA,IAC9C,MAAM,QAAQ,OAAO,MAAM;AAAA,IAC3B,OAAO,OAAO,UAAU,YAAY,MAAM,KAAK,EAAE,SAAS;AAAA,GAC3D;AAAA;",
|
|
8
|
+
"debugId": "121AB646B99D1CDE64756E2164756E21",
|
|
9
|
+
"names": []
|
|
10
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description: string;
|
|
6
|
-
configSchema: unknown;
|
|
7
|
-
register: (api: OpenClawPluginApi) => void;
|
|
8
|
-
};
|
|
9
|
-
export default plugin;
|
|
1
|
+
declare const _default: import("openclaw/plugin-sdk/channel-entry-contract").BundledChannelEntryContract<import("openclaw/plugin-sdk").ChannelPlugin>;
|
|
2
|
+
export default _default;
|
|
10
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAcA,wBAsBE"}
|