@mininglamp-oss/octo-runtime 1.1.0 → 1.1.1
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 +4 -2
- package/apps/cli/README.md +3 -1
- package/apps/cli/dist/build-info.json +2 -2
- package/apps/cli/dist/extras.d.ts +4 -2
- package/apps/cli/dist/extras.js +20 -21
- package/apps/cli/dist/help.js +3 -0
- package/apps/cli/dist/logs.d.ts +10 -0
- package/apps/cli/dist/logs.js +186 -0
- package/apps/cli/dist/main.d.ts +1 -0
- package/apps/cli/dist/main.js +94 -19
- package/apps/cli/dist/{default_adapters.json → manifest.json} +5 -0
- package/apps/cli/dist/module-manifest.d.ts +3 -0
- package/apps/cli/dist/module-manifest.js +11 -0
- package/apps/cli/dist/openclaw.js +30 -6
- package/apps/cli/dist/output.js +3 -0
- package/apps/cli/dist/playboard.js +10 -8
- package/apps/cli/dist/status-output.d.ts +10 -0
- package/apps/cli/dist/status-output.js +65 -0
- package/apps/cli/dist/worker.d.ts +1 -0
- package/apps/cli/dist/worker.js +18 -0
- package/dist/public/host.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.d.ts +33 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/module-manifest.js +118 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log-worker.js +7 -5
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/runtime-log.js +45 -10
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.d.ts +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/service-status.js +70 -0
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +5 -3
- package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.d.ts +4 -2
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +20 -21
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/logs.js +186 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +94 -19
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/{default_adapters.json → manifest.json} +5 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.d.ts +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/module-manifest.js +11 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/openclaw.js +30 -6
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +3 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +10 -8
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.d.ts +10 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/status-output.js +65 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/worker.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/worker.js +18 -0
- package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +22 -9
- package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.js +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +3 -3
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/heartbeat.d.ts +16 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/heartbeat.js +59 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-manifest.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-manifest.js +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/manifest-adapters.d.ts +6 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/manifest-adapters.js +88 -0
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/module-specifier.d.ts +1 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/module-specifier.js +2 -9
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/process.d.ts +7 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/process.js +138 -9
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/runner.js +3 -92
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/serve.js +36 -12
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.d.ts +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +14 -6
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.js +2 -1
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/supervisor.d.ts +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/supervisor.js +57 -34
- package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +8 -16
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/config-schema.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +16 -17
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +6 -6
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/config-schema.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +5 -5
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/config-schema.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +1 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.d.ts +4 -1
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/store.js +54 -4
- package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +2 -2
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.d.ts +8 -1
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-config.js +27 -12
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +39 -2
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +1 -0
- package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +4 -4
- package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
- package/node_modules/import-meta-resolve/index.d.ts +19 -0
- package/node_modules/import-meta-resolve/index.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/index.js +47 -0
- package/node_modules/import-meta-resolve/lib/errors.d.ts +24 -0
- package/node_modules/import-meta-resolve/lib/errors.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/lib/errors.js +504 -0
- package/node_modules/import-meta-resolve/lib/get-format.d.ts +13 -0
- package/node_modules/import-meta-resolve/lib/get-format.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/lib/get-format.js +159 -0
- package/node_modules/import-meta-resolve/lib/package-json-reader.d.ts +31 -0
- package/node_modules/import-meta-resolve/lib/package-json-reader.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/lib/package-json-reader.js +177 -0
- package/node_modules/import-meta-resolve/lib/resolve.d.ts +29 -0
- package/node_modules/import-meta-resolve/lib/resolve.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/lib/resolve.js +1301 -0
- package/node_modules/import-meta-resolve/lib/utils.d.ts +6 -0
- package/node_modules/import-meta-resolve/lib/utils.d.ts.map +1 -0
- package/node_modules/import-meta-resolve/lib/utils.js +47 -0
- package/node_modules/import-meta-resolve/license +74 -0
- package/node_modules/import-meta-resolve/package.json +78 -0
- package/node_modules/import-meta-resolve/readme.md +252 -0
- package/package.json +28 -26
- package/packages/octo-runtime-extra-channel-gateway/config-schema.json +2 -2
- package/packages/octo-runtime-extra-channel-wecom/config-schema.json +2 -2
- package/packages/octo-runtime-extra-webui/config-schema.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["utils.js"],"names":[],"mappings":"AA4BA;;;GAGG;AACH,8CAHW,KAAK,CAAC,MAAM,CAAC,GACX,GAAG,CAAC,MAAM,CAAC,CAgBvB"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Manually “tree shaken” from:
|
|
2
|
+
// <https://github.com/nodejs/node/blob/81a9a97/lib/internal/modules/esm/utils.js>
|
|
3
|
+
// Last checked on: Apr 29, 2024.
|
|
4
|
+
|
|
5
|
+
import {codes} from './errors.js'
|
|
6
|
+
|
|
7
|
+
const {ERR_INVALID_ARG_VALUE} = codes
|
|
8
|
+
|
|
9
|
+
// In Node itself these values are populated from CLI arguments, before any
|
|
10
|
+
// user code runs.
|
|
11
|
+
// Here we just define the defaults.
|
|
12
|
+
const DEFAULT_CONDITIONS = Object.freeze(['node', 'import'])
|
|
13
|
+
const DEFAULT_CONDITIONS_SET = new Set(DEFAULT_CONDITIONS)
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Returns the default conditions for ES module loading.
|
|
17
|
+
*/
|
|
18
|
+
function getDefaultConditions() {
|
|
19
|
+
return DEFAULT_CONDITIONS
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Returns the default conditions for ES module loading, as a Set.
|
|
24
|
+
*/
|
|
25
|
+
function getDefaultConditionsSet() {
|
|
26
|
+
return DEFAULT_CONDITIONS_SET
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @param {Array<string>} [conditions]
|
|
31
|
+
* @returns {Set<string>}
|
|
32
|
+
*/
|
|
33
|
+
export function getConditionsSet(conditions) {
|
|
34
|
+
if (conditions !== undefined && conditions !== getDefaultConditions()) {
|
|
35
|
+
if (!Array.isArray(conditions)) {
|
|
36
|
+
throw new ERR_INVALID_ARG_VALUE(
|
|
37
|
+
'conditions',
|
|
38
|
+
conditions,
|
|
39
|
+
'expected an array'
|
|
40
|
+
)
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return new Set(conditions)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return getDefaultConditionsSet()
|
|
47
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
(The MIT License)
|
|
2
|
+
|
|
3
|
+
Copyright (c) Titus Wormer <mailto:tituswormer@gmail.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
+
a copy of this software and associated documentation files (the
|
|
7
|
+
'Software'), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
20
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
22
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
This is a derivative work based on:
|
|
27
|
+
<https://github.com/nodejs/node>.
|
|
28
|
+
Which is licensed:
|
|
29
|
+
|
|
30
|
+
"""
|
|
31
|
+
Copyright Node.js contributors. All rights reserved.
|
|
32
|
+
|
|
33
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
34
|
+
of this software and associated documentation files (the "Software"), to
|
|
35
|
+
deal in the Software without restriction, including without limitation the
|
|
36
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
37
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
|
38
|
+
furnished to do so, subject to the following conditions:
|
|
39
|
+
|
|
40
|
+
The above copyright notice and this permission notice shall be included in
|
|
41
|
+
all copies or substantial portions of the Software.
|
|
42
|
+
|
|
43
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
44
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
45
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
46
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
47
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
48
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
49
|
+
IN THE SOFTWARE.
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
This license applies to parts of Node.js originating from the
|
|
53
|
+
https://github.com/joyent/node repository:
|
|
54
|
+
|
|
55
|
+
"""
|
|
56
|
+
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
57
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
58
|
+
of this software and associated documentation files (the "Software"), to
|
|
59
|
+
deal in the Software without restriction, including without limitation the
|
|
60
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
61
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
|
62
|
+
furnished to do so, subject to the following conditions:
|
|
63
|
+
|
|
64
|
+
The above copyright notice and this permission notice shall be included in
|
|
65
|
+
all copies or substantial portions of the Software.
|
|
66
|
+
|
|
67
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
68
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
69
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
70
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
71
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
72
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
73
|
+
IN THE SOFTWARE.
|
|
74
|
+
"""
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
|
3
|
+
"bugs": "https://github.com/wooorm/import-meta-resolve/issues",
|
|
4
|
+
"contributors": [
|
|
5
|
+
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
|
6
|
+
],
|
|
7
|
+
"description": "Resolve things like Node.js — ponyfill for `import.meta.resolve`",
|
|
8
|
+
"devDependencies": {
|
|
9
|
+
"@types/node": "^24.0.0",
|
|
10
|
+
"@types/semver": "^7.0.0",
|
|
11
|
+
"c8": "^10.0.0",
|
|
12
|
+
"f-ck": "^2.0.0",
|
|
13
|
+
"prettier": "^3.0.0",
|
|
14
|
+
"remark-cli": "^12.0.0",
|
|
15
|
+
"remark-preset-wooorm": "^11.0.0",
|
|
16
|
+
"semver": "^7.0.0",
|
|
17
|
+
"type-coverage": "^2.0.0",
|
|
18
|
+
"typescript": "^5.0.0",
|
|
19
|
+
"xo": "^1.0.0"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"index.d.ts.map",
|
|
23
|
+
"index.d.ts",
|
|
24
|
+
"index.js",
|
|
25
|
+
"lib/"
|
|
26
|
+
],
|
|
27
|
+
"funding": {
|
|
28
|
+
"type": "github",
|
|
29
|
+
"url": "https://github.com/sponsors/wooorm"
|
|
30
|
+
},
|
|
31
|
+
"keywords": [
|
|
32
|
+
"esm",
|
|
33
|
+
"module",
|
|
34
|
+
"node",
|
|
35
|
+
"resolve"
|
|
36
|
+
],
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"main": "index.js",
|
|
39
|
+
"name": "import-meta-resolve",
|
|
40
|
+
"prettier": {
|
|
41
|
+
"bracketSpacing": false,
|
|
42
|
+
"semi": false,
|
|
43
|
+
"singleQuote": true,
|
|
44
|
+
"tabWidth": 2,
|
|
45
|
+
"trailingComma": "none",
|
|
46
|
+
"useTabs": false
|
|
47
|
+
},
|
|
48
|
+
"remarkConfig": {
|
|
49
|
+
"plugins": [
|
|
50
|
+
"remark-preset-wooorm",
|
|
51
|
+
[
|
|
52
|
+
"remark-lint-maximum-heading-length",
|
|
53
|
+
false
|
|
54
|
+
]
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"repository": "wooorm/import-meta-resolve",
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "tsc --build --clean && tsc --build && type-coverage",
|
|
60
|
+
"format": "remark --frail --quiet --output -- . && prettier --write --log-level warn -- . && xo --fix",
|
|
61
|
+
"generate": "node --conditions development script.js",
|
|
62
|
+
"prepack": "npm run generate && npm run build && npm run format",
|
|
63
|
+
"test-api": "node --experimental-import-meta-resolve test/baseline.js && node --experimental-import-meta-resolve test/baseline-async.js && node test/index.js",
|
|
64
|
+
"test-coverage": "c8 --branches 75 --functions 75 --lines 75 --statements 75 --reporter lcov -- npm run test-api",
|
|
65
|
+
"test": "npm run generate && npm run build && npm run format && npm run test-coverage"
|
|
66
|
+
},
|
|
67
|
+
"sideEffects": false,
|
|
68
|
+
"typeCoverage": {
|
|
69
|
+
"atLeast": 100,
|
|
70
|
+
"strict": true,
|
|
71
|
+
"ignoreFiles": [
|
|
72
|
+
"lib/errors.d.ts"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"types": "index.d.ts",
|
|
76
|
+
"type": "module",
|
|
77
|
+
"version": "4.2.0"
|
|
78
|
+
}
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
# import-meta-resolve
|
|
2
|
+
|
|
3
|
+
[![Build][build-badge]][build]
|
|
4
|
+
[![Coverage][coverage-badge]][coverage]
|
|
5
|
+
[![Downloads][downloads-badge]][downloads]
|
|
6
|
+
|
|
7
|
+
Resolve things like Node.js.
|
|
8
|
+
|
|
9
|
+
## Contents
|
|
10
|
+
|
|
11
|
+
* [What is this?](#what-is-this)
|
|
12
|
+
* [When to use this?](#when-to-use-this)
|
|
13
|
+
* [Install](#install)
|
|
14
|
+
* [Use](#use)
|
|
15
|
+
* [API](#api)
|
|
16
|
+
* [`resolve(specifier, parent)`](#resolvespecifier-parent)
|
|
17
|
+
* [`moduleResolve(specifier, parent, conditions, preserveSymlinks)`](#moduleresolvespecifier-parent-conditions-preservesymlinks)
|
|
18
|
+
* [`ErrnoException`](#errnoexception)
|
|
19
|
+
* [Algorithm](#algorithm)
|
|
20
|
+
* [Differences to Node](#differences-to-node)
|
|
21
|
+
* [Types](#types)
|
|
22
|
+
* [Compatibility](#compatibility)
|
|
23
|
+
* [Contribute](#contribute)
|
|
24
|
+
* [License](#license)
|
|
25
|
+
|
|
26
|
+
## What is this?
|
|
27
|
+
|
|
28
|
+
This package is a ponyfill for [`import.meta.resolve`][native-resolve].
|
|
29
|
+
It supports everything you need to resolve files just like modern Node does:
|
|
30
|
+
import maps, export maps, loading CJS and ESM projects, all of that!
|
|
31
|
+
|
|
32
|
+
## When to use this?
|
|
33
|
+
|
|
34
|
+
As of Node.js 20.0, `import.meta.resolve` is still behind an experimental flag.
|
|
35
|
+
This package can be used to do what it does in Node 16–20.
|
|
36
|
+
|
|
37
|
+
## Install
|
|
38
|
+
|
|
39
|
+
This package is [ESM only][esm].
|
|
40
|
+
In Node.js (version 16+), install with [npm][]:
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
npm install import-meta-resolve
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Use
|
|
47
|
+
|
|
48
|
+
```js
|
|
49
|
+
import {resolve} from 'import-meta-resolve'
|
|
50
|
+
|
|
51
|
+
// A file:
|
|
52
|
+
console.log(resolve('./index.js', import.meta.url))
|
|
53
|
+
//=> file:///Users/tilde/Projects/oss/import-meta-resolve/index.js
|
|
54
|
+
|
|
55
|
+
// A CJS package:
|
|
56
|
+
console.log(resolve('builtins', import.meta.url))
|
|
57
|
+
//=> file:///Users/tilde/Projects/oss/import-meta-resolve/node_modules/builtins/index.js
|
|
58
|
+
|
|
59
|
+
// A scoped CJS package:
|
|
60
|
+
console.log(resolve('@eslint/eslintrc', import.meta.url))
|
|
61
|
+
//=> file:///Users/tilde/Projects/oss/import-meta-resolve/node_modules/@eslint/eslintrc/lib/index.js
|
|
62
|
+
|
|
63
|
+
// A package with an export map:
|
|
64
|
+
console.log(resolve('micromark/lib/parse', import.meta.url))
|
|
65
|
+
//=> file:///Users/tilde/Projects/oss/import-meta-resolve/node_modules/micromark/lib/parse.js
|
|
66
|
+
|
|
67
|
+
// A node builtin:
|
|
68
|
+
console.log(resolve('fs', import.meta.url))
|
|
69
|
+
//=> node:fs
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## API
|
|
73
|
+
|
|
74
|
+
This package exports the identifiers [`moduleResolve`][moduleresolve] and
|
|
75
|
+
[`resolve`][resolve].
|
|
76
|
+
There is no default export.
|
|
77
|
+
|
|
78
|
+
### `resolve(specifier, parent)`
|
|
79
|
+
|
|
80
|
+
Match `import.meta.resolve` except that `parent` is required (you can pass
|
|
81
|
+
`import.meta.url`).
|
|
82
|
+
|
|
83
|
+
###### Parameters
|
|
84
|
+
|
|
85
|
+
* `specifier` (`string`)
|
|
86
|
+
— the module specifier to resolve relative to parent
|
|
87
|
+
(`/example.js`, `./example.js`, `../example.js`, `some-package`, `fs`, etc)
|
|
88
|
+
* `parent` (`string`, example: `import.meta.url`)
|
|
89
|
+
— the absolute parent module URL to resolve from; you must pass
|
|
90
|
+
`import.meta.url` or something else
|
|
91
|
+
|
|
92
|
+
###### Returns
|
|
93
|
+
|
|
94
|
+
Full `file:`, `data:`, or `node:` URL (`string`) to the found thing
|
|
95
|
+
|
|
96
|
+
###### Throws
|
|
97
|
+
|
|
98
|
+
Throws an [`ErrnoException`][errnoexception].
|
|
99
|
+
|
|
100
|
+
### `moduleResolve(specifier, parent, conditions, preserveSymlinks)`
|
|
101
|
+
|
|
102
|
+
The [“Resolver Algorithm Specification”][algo] as detailed in the Node docs
|
|
103
|
+
(which is slightly lower-level than `resolve`).
|
|
104
|
+
|
|
105
|
+
###### Parameters
|
|
106
|
+
|
|
107
|
+
* `specifier` (`string`)
|
|
108
|
+
— `/example.js`, `./example.js`, `../example.js`, `some-package`, `fs`, etc
|
|
109
|
+
* `parent` (`URL`, example: `import.meta.url`)
|
|
110
|
+
— full URL (to a file) that `specifier` is resolved relative from
|
|
111
|
+
* `conditions` (`Set<string>`, default: `new Set(['node', 'import'])`)
|
|
112
|
+
— conditions
|
|
113
|
+
* `preserveSymlinks` (`boolean`, default: `false`)
|
|
114
|
+
— keep symlinks instead of resolving them
|
|
115
|
+
|
|
116
|
+
###### Returns
|
|
117
|
+
|
|
118
|
+
A URL object (`URL`) to the found thing.
|
|
119
|
+
|
|
120
|
+
###### Throws
|
|
121
|
+
|
|
122
|
+
Throws an [`ErrnoException`][errnoexception].
|
|
123
|
+
|
|
124
|
+
### `ErrnoException`
|
|
125
|
+
|
|
126
|
+
One of many different errors that occur when resolving (TypeScript type).
|
|
127
|
+
|
|
128
|
+
###### Type
|
|
129
|
+
|
|
130
|
+
```ts
|
|
131
|
+
type ErrnoExceptionFields = Error & {
|
|
132
|
+
errnode?: number | undefined
|
|
133
|
+
code?: string | undefined
|
|
134
|
+
path?: string | undefined
|
|
135
|
+
syscall?: string | undefined
|
|
136
|
+
url?: string | undefined
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
The `code` field on errors is one of the following strings:
|
|
141
|
+
|
|
142
|
+
* `'ERR_INVALID_MODULE_SPECIFIER'`
|
|
143
|
+
— when `specifier` is invalid (example: `'#'`)
|
|
144
|
+
* `'ERR_INVALID_PACKAGE_CONFIG'`
|
|
145
|
+
— when a `package.json` is invalid (example: invalid JSON)
|
|
146
|
+
* `'ERR_INVALID_PACKAGE_TARGET'`
|
|
147
|
+
— when a `package.json` `exports` or `imports` is invalid (example: when it
|
|
148
|
+
does not start with `'./'`)
|
|
149
|
+
* `'ERR_MODULE_NOT_FOUND'`
|
|
150
|
+
— when `specifier` cannot be found in `parent` (example: `'some-missing-package'`)
|
|
151
|
+
* `'ERR_NETWORK_IMPORT_DISALLOWED'`
|
|
152
|
+
— thrown when trying to resolve a local file or builtin from a remote file
|
|
153
|
+
(`node:fs` relative to `'https://example.com'`)
|
|
154
|
+
* `'ERR_PACKAGE_IMPORT_NOT_DEFINED'`
|
|
155
|
+
— when a local import is not defined in an import map (example: `'#local'`
|
|
156
|
+
when not defined)
|
|
157
|
+
* `'ERR_PACKAGE_PATH_NOT_EXPORTED'`
|
|
158
|
+
— when an export is not defined in an export map (example: `'tape/index.js'`,
|
|
159
|
+
which is not in its export map)
|
|
160
|
+
* `'ERR_UNSUPPORTED_DIR_IMPORT'`
|
|
161
|
+
— when attempting to import a directory (example: `'./lib/'`)
|
|
162
|
+
* `'ERR_UNKNOWN_FILE_EXTENSION'`
|
|
163
|
+
— when somehow reading a file that has an unexpected extensions (`'./readme.md'`)
|
|
164
|
+
* `'ERR_INVALID_ARG_VALUE'`
|
|
165
|
+
— when `conditions` is incorrect
|
|
166
|
+
|
|
167
|
+
## Algorithm
|
|
168
|
+
|
|
169
|
+
The algorithm for `resolve` matches how Node handles `import.meta.resolve`, with
|
|
170
|
+
a couple of differences.
|
|
171
|
+
|
|
172
|
+
The algorithm for `moduleResolve` matches the [Resolver Algorithm
|
|
173
|
+
Specification][algo] as detailed in the Node docs (which is sync and slightly
|
|
174
|
+
lower-level than `resolve`).
|
|
175
|
+
|
|
176
|
+
## Differences to Node
|
|
177
|
+
|
|
178
|
+
* `parent` defaulting to `import.meta.url` cannot be ponyfilled: you have to
|
|
179
|
+
explicitly pass it
|
|
180
|
+
* no support for loaders (that would mean implementing all of loaders)
|
|
181
|
+
* no support for CLI flags:
|
|
182
|
+
`--conditions`,
|
|
183
|
+
`--experimental-default-type`,
|
|
184
|
+
`--experimental-json-modules`,
|
|
185
|
+
`--experimental-network-imports`,
|
|
186
|
+
`--experimental-policy`,
|
|
187
|
+
`--experimental-wasm-modules`,
|
|
188
|
+
`--input-type`,
|
|
189
|
+
`--no-addons`,
|
|
190
|
+
`--preserve-symlinks`, nor
|
|
191
|
+
`--preserve-symlinks-main`
|
|
192
|
+
work
|
|
193
|
+
* no support for `WATCH_REPORT_DEPENDENCIES` env variable
|
|
194
|
+
* no attempt is made to add a suggestion based on how things used to work in
|
|
195
|
+
CJS before to not-found errors
|
|
196
|
+
* prototypal methods are not guarded: Node protects for example `String#slice`
|
|
197
|
+
or so from being tampered with, whereas this doesn’t
|
|
198
|
+
|
|
199
|
+
## Types
|
|
200
|
+
|
|
201
|
+
This package is fully typed with [TypeScript][].
|
|
202
|
+
It exports the additional type [`ErrnoException`][errnoexception].
|
|
203
|
+
|
|
204
|
+
## Compatibility
|
|
205
|
+
|
|
206
|
+
This package is at least compatible with all maintained versions of Node.js.
|
|
207
|
+
As of now, that is Node.js 16 and later.
|
|
208
|
+
|
|
209
|
+
## Contribute
|
|
210
|
+
|
|
211
|
+
Yes please!
|
|
212
|
+
See [How to Contribute to Open Source][contribute].
|
|
213
|
+
|
|
214
|
+
## License
|
|
215
|
+
|
|
216
|
+
[MIT][license] © [Titus Wormer][author] and Node.js contributors
|
|
217
|
+
|
|
218
|
+
<!-- Definitions -->
|
|
219
|
+
|
|
220
|
+
[algo]: https://nodejs.org/dist/latest-v14.x/docs/api/esm.html#esm_resolver_algorithm
|
|
221
|
+
|
|
222
|
+
[author]: https://wooorm.com
|
|
223
|
+
|
|
224
|
+
[build]: https://github.com/wooorm/import-meta-resolve/actions
|
|
225
|
+
|
|
226
|
+
[build-badge]: https://github.com/wooorm/import-meta-resolve/workflows/main/badge.svg
|
|
227
|
+
|
|
228
|
+
[contribute]: https://opensource.guide/how-to-contribute/
|
|
229
|
+
|
|
230
|
+
[coverage]: https://codecov.io/github/wooorm/import-meta-resolve
|
|
231
|
+
|
|
232
|
+
[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/import-meta-resolve.svg
|
|
233
|
+
|
|
234
|
+
[downloads]: https://www.npmjs.com/package/import-meta-resolve
|
|
235
|
+
|
|
236
|
+
[downloads-badge]: https://img.shields.io/npm/dm/import-meta-resolve.svg
|
|
237
|
+
|
|
238
|
+
[errnoexception]: #errnoexception
|
|
239
|
+
|
|
240
|
+
[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
|
|
241
|
+
|
|
242
|
+
[license]: license
|
|
243
|
+
|
|
244
|
+
[moduleresolve]: #moduleResolvespecifier-parent-conditions-preserveSymlinks
|
|
245
|
+
|
|
246
|
+
[native-resolve]: https://nodejs.org/api/esm.html#esm_import_meta_resolve_specifier_parent
|
|
247
|
+
|
|
248
|
+
[npm]: https://docs.npmjs.com/cli/install
|
|
249
|
+
|
|
250
|
+
[resolve]: #resolvespecifier-parent
|
|
251
|
+
|
|
252
|
+
[typescript]: https://www.typescriptlang.org
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mininglamp-oss/octo-runtime",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Provider-neutral Agent runtime for unified execution through provider adapters",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
|
-
"node": "
|
|
59
|
+
"node": "^24.0.0 || ^26.0.0"
|
|
60
60
|
},
|
|
61
61
|
"files": [
|
|
62
62
|
"apps",
|
|
@@ -70,28 +70,29 @@
|
|
|
70
70
|
"access": "public"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@mininglamp-oss/octo-runtime-extra-webui": "1.1.
|
|
74
|
-
"@mininglamp-oss/octo-runtime-protocol": "1.1.
|
|
75
|
-
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.
|
|
76
|
-
"@mininglamp-oss/octo-runtime-acp-client": "1.1.
|
|
77
|
-
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.
|
|
78
|
-
"
|
|
79
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
80
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
81
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
82
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
83
|
-
"@mininglamp-oss/octo-runtime-
|
|
84
|
-
"@mininglamp-oss/octo-runtime-executor-
|
|
85
|
-
"@mininglamp-oss/octo-runtime-
|
|
86
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
87
|
-
"@mininglamp-oss/octo-runtime-adapter-
|
|
73
|
+
"@mininglamp-oss/octo-runtime-extra-webui": "1.1.1",
|
|
74
|
+
"@mininglamp-oss/octo-runtime-protocol": "1.1.1",
|
|
75
|
+
"@mininglamp-oss/octo-runtime-adapter-acp": "1.1.1",
|
|
76
|
+
"@mininglamp-oss/octo-runtime-acp-client": "1.1.1",
|
|
77
|
+
"@mininglamp-oss/octo-runtime-adapter-sdk": "1.1.1",
|
|
78
|
+
"import-meta-resolve": "4.2.0",
|
|
79
|
+
"@mininglamp-oss/octo-runtime-adapter-antigravity": "1.1.1",
|
|
80
|
+
"@mininglamp-oss/octo-runtime-adapter-claude-code": "1.1.1",
|
|
81
|
+
"@mininglamp-oss/octo-runtime-adapter-codebuddy": "1.1.1",
|
|
82
|
+
"@mininglamp-oss/octo-runtime-adapter-codex": "1.1.1",
|
|
83
|
+
"@mininglamp-oss/octo-runtime-adapter-hermes": "1.1.1",
|
|
84
|
+
"@mininglamp-oss/octo-runtime-executor-kernel": "1.1.1",
|
|
85
|
+
"@mininglamp-oss/octo-runtime-executor-core": "1.1.1",
|
|
86
|
+
"@mininglamp-oss/octo-runtime-adapter-kimi-code": "1.1.1",
|
|
87
|
+
"@mininglamp-oss/octo-runtime-adapter-mcode": "1.1.1",
|
|
88
|
+
"@mininglamp-oss/octo-runtime-adapter-openclaw": "1.1.1",
|
|
88
89
|
"ws": "8.22.0",
|
|
89
|
-
"@mininglamp-oss/octo-runtime-adapter-opencode": "1.1.
|
|
90
|
-
"@mininglamp-oss/octo-runtime-adapter-qodercli": "1.1.
|
|
91
|
-
"@mininglamp-oss/octo-runtime-adapter-qoderclicn": "1.1.
|
|
92
|
-
"@mininglamp-oss/octo-runtime-adapter-zcode-gui": "1.1.
|
|
93
|
-
"@mininglamp-oss/octo-runtime-extra-channel-gateway": "1.1.
|
|
94
|
-
"@mininglamp-oss/octo-runtime-host-sdk": "1.1.
|
|
90
|
+
"@mininglamp-oss/octo-runtime-adapter-opencode": "1.1.1",
|
|
91
|
+
"@mininglamp-oss/octo-runtime-adapter-qodercli": "1.1.1",
|
|
92
|
+
"@mininglamp-oss/octo-runtime-adapter-qoderclicn": "1.1.1",
|
|
93
|
+
"@mininglamp-oss/octo-runtime-adapter-zcode-gui": "1.1.1",
|
|
94
|
+
"@mininglamp-oss/octo-runtime-extra-channel-gateway": "1.1.1",
|
|
95
|
+
"@mininglamp-oss/octo-runtime-host-sdk": "1.1.1",
|
|
95
96
|
"mdast-util-from-markdown": "2.1.0",
|
|
96
97
|
"@types/mdast": "4.0.4",
|
|
97
98
|
"@types/unist": "3.0.3",
|
|
@@ -127,9 +128,9 @@
|
|
|
127
128
|
"micromark-util-sanitize-uri": "2.0.1",
|
|
128
129
|
"micromark-util-decode-string": "2.0.1",
|
|
129
130
|
"unist-util-stringify-position": "4.0.0",
|
|
130
|
-
"@mininglamp-oss/octo-runtime-cross-service": "1.1.
|
|
131
|
-
"@mininglamp-oss/octo-runtime-extra-channel-wecom": "1.1.
|
|
132
|
-
"@mininglamp-oss/octo-runtime-cli": "1.1.
|
|
131
|
+
"@mininglamp-oss/octo-runtime-cross-service": "1.1.1",
|
|
132
|
+
"@mininglamp-oss/octo-runtime-extra-channel-wecom": "1.1.1",
|
|
133
|
+
"@mininglamp-oss/octo-runtime-cli": "1.1.1",
|
|
133
134
|
"json5": "2.2.3"
|
|
134
135
|
},
|
|
135
136
|
"bundleDependencies": [
|
|
@@ -138,6 +139,7 @@
|
|
|
138
139
|
"@mininglamp-oss/octo-runtime-adapter-acp",
|
|
139
140
|
"@mininglamp-oss/octo-runtime-acp-client",
|
|
140
141
|
"@mininglamp-oss/octo-runtime-adapter-sdk",
|
|
142
|
+
"import-meta-resolve",
|
|
141
143
|
"@mininglamp-oss/octo-runtime-adapter-antigravity",
|
|
142
144
|
"@mininglamp-oss/octo-runtime-adapter-claude-code",
|
|
143
145
|
"@mininglamp-oss/octo-runtime-adapter-codebuddy",
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"$comment": "声明文件最多 1 MiB,POSIX 权限须为 0600;单 Bot JSON 最多 256 KiB。Bot 按规范化 api_url 与 bot_id 组合判重。路径可访问性、凭据、身份和 Space 授权、重试起点不大于上限等关系仍需运行时检查。Context 内部对象遵循 octo.context-envelope/v3,具体协议约束由现有运行时校验,本文件不重复展开。",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"additionalProperties": false,
|
|
9
|
-
"required": ["
|
|
9
|
+
"required": ["config"],
|
|
10
10
|
"properties": {
|
|
11
11
|
"module": {
|
|
12
12
|
"type": "string",
|
|
13
13
|
"const": "@mininglamp-oss/octo-runtime-extra-channel-gateway",
|
|
14
|
-
"description": "
|
|
14
|
+
"description": "可选旧声明。CLI 从 manifest.json 选择模块;省略时使用有效清单,保留时须与清单文字一致。SDK 原生 import 不需要此字段。此 schema 约束固定包名,宿主使用其他公开路径时可自行调整。"
|
|
15
15
|
},
|
|
16
16
|
"enabled": {
|
|
17
17
|
"type": "boolean",
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"$comment": "声明文件最多 1 MiB,POSIX 权限须为 0600。Bot 按 ws_url 与 bot_id 的组合判重;凭据文件权限、目标 Agent 是否存在、Provider 是否可用等仍需运行时检查。Context 内部对象遵循 octo.context-envelope/v3,具体协议约束由现有运行时校验,本文件不重复展开。",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"additionalProperties": false,
|
|
9
|
-
"required": ["
|
|
9
|
+
"required": ["config"],
|
|
10
10
|
"properties": {
|
|
11
11
|
"module": {
|
|
12
12
|
"type": "string",
|
|
13
13
|
"const": "@mininglamp-oss/octo-runtime-extra-channel-wecom",
|
|
14
|
-
"description": "
|
|
14
|
+
"description": "可选旧声明。CLI 从 manifest.json 选择模块;省略时使用有效清单,保留时须与清单文字一致。SDK 原生 import 不需要此字段。此 schema 约束固定包名,宿主使用其他公开路径时可自行调整。"
|
|
15
15
|
},
|
|
16
16
|
"enabled": {
|
|
17
17
|
"type": "boolean",
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"$comment": "声明文件最多 1 MiB,POSIX 权限须为 0600。端口占用、路径可访问性、会话文件内容及文件权限仍需运行时检查。加载生命周期 loaded 不等于监听成功,宿主须检查插件状态中的 listening 与 errors。",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"additionalProperties": false,
|
|
9
|
-
"required": ["
|
|
9
|
+
"required": ["config"],
|
|
10
10
|
"properties": {
|
|
11
11
|
"module": {
|
|
12
12
|
"type": "string",
|
|
13
13
|
"const": "@mininglamp-oss/octo-runtime-extra-webui",
|
|
14
|
-
"description": "
|
|
14
|
+
"description": "可选旧声明。CLI 从 manifest.json 选择模块;省略时使用有效清单,保留时须与清单文字一致。SDK 原生 import 不需要此字段。此 schema 约束固定包名,宿主使用其他公开路径时可自行调整。"
|
|
15
15
|
},
|
|
16
16
|
"enabled": {
|
|
17
17
|
"type": "boolean",
|