@bohuyeshan/openagent-labforge-core 3.11.0 → 3.11.2
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/dist/cli/index.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +38 -38
package/dist/cli/index.js
CHANGED
|
@@ -9025,7 +9025,7 @@ var {
|
|
|
9025
9025
|
// package.json
|
|
9026
9026
|
var package_default = {
|
|
9027
9027
|
name: "@bohuyeshan/openagent-labforge-core",
|
|
9028
|
-
version: "3.11.
|
|
9028
|
+
version: "3.11.2",
|
|
9029
9029
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
9030
9030
|
main: "dist/index.js",
|
|
9031
9031
|
types: "dist/index.d.ts",
|
package/dist/index.js
CHANGED
|
@@ -93489,10 +93489,6 @@ var EXTENDED_BUILTIN_MCPS = {
|
|
|
93489
93489
|
paper_search_mcp,
|
|
93490
93490
|
semantic_scholar_fastmcp
|
|
93491
93491
|
};
|
|
93492
|
-
function getOptInExtendedMcpNames(config4) {
|
|
93493
|
-
const enabledFromPolicy = config4?.mcp_policy?.enable ?? [];
|
|
93494
|
-
return enabledFromPolicy.filter((name) => (name in EXTENDED_BUILTIN_MCPS));
|
|
93495
|
-
}
|
|
93496
93492
|
function createBuiltinMcps(disabledMcps = [], config4) {
|
|
93497
93493
|
const mcps = {};
|
|
93498
93494
|
const disabledSet = new Set(disabledMcps);
|
|
@@ -93505,10 +93501,14 @@ function createBuiltinMcps(disabledMcps = [], config4) {
|
|
|
93505
93501
|
if (!disabledSet.has("grep_app")) {
|
|
93506
93502
|
mcps.grep_app = grep_app;
|
|
93507
93503
|
}
|
|
93508
|
-
for (const name of
|
|
93504
|
+
for (const [name, builtin] of Object.entries(EXTENDED_BUILTIN_MCPS)) {
|
|
93509
93505
|
if (disabledSet.has(name))
|
|
93510
93506
|
continue;
|
|
93511
|
-
|
|
93507
|
+
const forcedEnabled = config4?.mcp_policy?.enable?.includes(name) ?? false;
|
|
93508
|
+
mcps[name] = {
|
|
93509
|
+
...builtin,
|
|
93510
|
+
enabled: forcedEnabled ? true : builtin.enabled
|
|
93511
|
+
};
|
|
93512
93512
|
}
|
|
93513
93513
|
return mcps;
|
|
93514
93514
|
}
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@bohuyeshan/openagent-labforge-core",
|
|
3
|
-
"version": "3.11.
|
|
2
|
+
"name": "@bohuyeshan/openagent-labforge-core",
|
|
3
|
+
"version": "3.11.2",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"bin": {
|
|
9
|
-
"openagent-labforge": "bin/openagent-labforge.js"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"dist",
|
|
13
|
-
"bin",
|
|
14
|
-
"generated/skills-bundles",
|
|
15
|
-
"postinstall.mjs"
|
|
16
|
-
],
|
|
8
|
+
"bin": {
|
|
9
|
+
"openagent-labforge": "bin/openagent-labforge.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"bin",
|
|
14
|
+
"generated/skills-bundles",
|
|
15
|
+
"postinstall.mjs"
|
|
16
|
+
],
|
|
17
17
|
"exports": {
|
|
18
|
-
".": {
|
|
19
|
-
"types": "./dist/index.d.ts",
|
|
20
|
-
"import": "./dist/index.js"
|
|
21
|
-
},
|
|
22
|
-
"./schema.json": "./dist/openagent-labforge.schema.json"
|
|
23
|
-
},
|
|
24
|
-
"scripts": {
|
|
25
|
-
"build": "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external @ast-grep/napi && bun run build:schema",
|
|
26
|
-
"build:all": "bun run build && bun run build:binaries",
|
|
27
|
-
"build:skills-catalog": "bun run script/build-skills-catalog.ts",
|
|
28
|
-
"build:binaries": "bun run script/build-binaries.ts",
|
|
29
|
-
"build:schema": "bun run script/build-schema.ts",
|
|
30
|
-
"skills:sync": "bun run script/sync-skills-whitelist.ts",
|
|
31
|
-
"clean": "rm -rf dist",
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./schema.json": "./dist/openagent-labforge.schema.json"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "bun build src/index.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external @ast-grep/napi && bun run build:schema",
|
|
26
|
+
"build:all": "bun run build && bun run build:binaries",
|
|
27
|
+
"build:skills-catalog": "bun run script/build-skills-catalog.ts",
|
|
28
|
+
"build:binaries": "bun run script/build-binaries.ts",
|
|
29
|
+
"build:schema": "bun run script/build-schema.ts",
|
|
30
|
+
"skills:sync": "bun run script/sync-skills-whitelist.ts",
|
|
31
|
+
"clean": "rm -rf dist",
|
|
32
32
|
"prepare": "bun run build",
|
|
33
33
|
"postinstall": "node postinstall.mjs",
|
|
34
34
|
"prepublishOnly": "bun run clean && bun run build",
|
|
@@ -78,19 +78,19 @@
|
|
|
78
78
|
"bun-types": "1.3.6",
|
|
79
79
|
"typescript": "^5.7.3"
|
|
80
80
|
},
|
|
81
|
-
"optionalDependencies": {
|
|
82
|
-
"openagent-labforge-darwin-arm64": "3.11.0",
|
|
83
|
-
"openagent-labforge-darwin-x64": "3.11.0",
|
|
84
|
-
"openagent-labforge-darwin-x64-baseline": "3.11.0",
|
|
85
|
-
"openagent-labforge-linux-arm64": "3.11.0",
|
|
86
|
-
"openagent-labforge-linux-arm64-musl": "3.11.0",
|
|
87
|
-
"openagent-labforge-linux-x64": "3.11.0",
|
|
88
|
-
"openagent-labforge-linux-x64-baseline": "3.11.0",
|
|
89
|
-
"openagent-labforge-linux-x64-musl": "3.11.0",
|
|
90
|
-
"openagent-labforge-linux-x64-musl-baseline": "3.11.0",
|
|
91
|
-
"openagent-labforge-windows-x64": "3.11.0",
|
|
92
|
-
"openagent-labforge-windows-x64-baseline": "3.11.0"
|
|
93
|
-
},
|
|
81
|
+
"optionalDependencies": {
|
|
82
|
+
"openagent-labforge-darwin-arm64": "3.11.0",
|
|
83
|
+
"openagent-labforge-darwin-x64": "3.11.0",
|
|
84
|
+
"openagent-labforge-darwin-x64-baseline": "3.11.0",
|
|
85
|
+
"openagent-labforge-linux-arm64": "3.11.0",
|
|
86
|
+
"openagent-labforge-linux-arm64-musl": "3.11.0",
|
|
87
|
+
"openagent-labforge-linux-x64": "3.11.0",
|
|
88
|
+
"openagent-labforge-linux-x64-baseline": "3.11.0",
|
|
89
|
+
"openagent-labforge-linux-x64-musl": "3.11.0",
|
|
90
|
+
"openagent-labforge-linux-x64-musl-baseline": "3.11.0",
|
|
91
|
+
"openagent-labforge-windows-x64": "3.11.0",
|
|
92
|
+
"openagent-labforge-windows-x64-baseline": "3.11.0"
|
|
93
|
+
},
|
|
94
94
|
"overrides": {
|
|
95
95
|
"@opencode-ai/sdk": "^1.2.17"
|
|
96
96
|
},
|