@ai-setting/roy-agent-cli 1.5.40 → 1.5.41
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/bin/roy-agent.js +21 -6
- package/dist/index.js +21 -6
- package/package.json +4 -3
- package/dist/roy-agent-linux-x64/bin/roy-agent +0 -0
package/dist/bin/roy-agent.js
CHANGED
|
@@ -7220,7 +7220,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
7220
7220
|
var require_package = __commonJS((exports, module) => {
|
|
7221
7221
|
module.exports = {
|
|
7222
7222
|
name: "@ai-setting/roy-agent-cli",
|
|
7223
|
-
version: "1.5.
|
|
7223
|
+
version: "1.5.41",
|
|
7224
7224
|
type: "module",
|
|
7225
7225
|
description: "CLI for roy-agent - Non-interactive command execution",
|
|
7226
7226
|
main: "./dist/index.js",
|
|
@@ -7246,8 +7246,9 @@ var require_package = __commonJS((exports, module) => {
|
|
|
7246
7246
|
typecheck: "npx tsc --noEmit --skipLibCheck"
|
|
7247
7247
|
},
|
|
7248
7248
|
dependencies: {
|
|
7249
|
-
"@ai-setting/roy-agent-coder-harness": "^1.5.
|
|
7250
|
-
"@ai-setting/roy-agent-core": "^1.5.
|
|
7249
|
+
"@ai-setting/roy-agent-coder-harness": "^1.5.41",
|
|
7250
|
+
"@ai-setting/roy-agent-core": "^1.5.41",
|
|
7251
|
+
"@ai-setting/roy-agent-ontology-harness": "^1.5.41",
|
|
7251
7252
|
chalk: "^5.6.2",
|
|
7252
7253
|
commander: "^14.0.3",
|
|
7253
7254
|
effect: "^3.21.2",
|
|
@@ -7781,6 +7782,14 @@ class EnvironmentService {
|
|
|
7781
7782
|
plugin = new MDLSPPlugin;
|
|
7782
7783
|
break;
|
|
7783
7784
|
}
|
|
7785
|
+
case "ontologylsp": {
|
|
7786
|
+
const { OntologyLSPPlugin } = await import("@ai-setting/roy-agent-ontology-harness");
|
|
7787
|
+
plugin = new OntologyLSPPlugin({
|
|
7788
|
+
preloadMode: "startup",
|
|
7789
|
+
workspaceRoot: process.cwd()
|
|
7790
|
+
});
|
|
7791
|
+
break;
|
|
7792
|
+
}
|
|
7784
7793
|
default:
|
|
7785
7794
|
this.output.warn(`[EnvironmentService] Unknown plugin: ${name}`);
|
|
7786
7795
|
continue;
|
|
@@ -8224,7 +8233,8 @@ function createActCommand(externalEnvService) {
|
|
|
8224
8233
|
"reminder",
|
|
8225
8234
|
"tslsp",
|
|
8226
8235
|
"pylsp",
|
|
8227
|
-
"mdlsp"
|
|
8236
|
+
"mdlsp",
|
|
8237
|
+
"ontologylsp"
|
|
8228
8238
|
]);
|
|
8229
8239
|
const coderPluginNames = [];
|
|
8230
8240
|
const otherPluginNames = [];
|
|
@@ -9522,7 +9532,8 @@ function createInteractiveCommand(externalEnvService) {
|
|
|
9522
9532
|
"reminder",
|
|
9523
9533
|
"tslsp",
|
|
9524
9534
|
"pylsp",
|
|
9525
|
-
"mdlsp"
|
|
9535
|
+
"mdlsp",
|
|
9536
|
+
"ontologylsp"
|
|
9526
9537
|
]);
|
|
9527
9538
|
const rawPlugins = args.plugin;
|
|
9528
9539
|
const pluginNames = Array.isArray(rawPlugins) ? rawPlugins : rawPlugins ? [rawPlugins] : [];
|
|
@@ -9540,7 +9551,7 @@ function createInteractiveCommand(externalEnvService) {
|
|
|
9540
9551
|
if (!externalEnvService) {
|
|
9541
9552
|
await envService.create({
|
|
9542
9553
|
configPath: args.config,
|
|
9543
|
-
plugins: componentPluginNames
|
|
9554
|
+
plugins: [...componentPluginNames, ...coderPluginNames]
|
|
9544
9555
|
});
|
|
9545
9556
|
}
|
|
9546
9557
|
const env = envService.getEnvironment();
|
|
@@ -17578,6 +17589,9 @@ Plugins:
|
|
|
17578
17589
|
pylsp Python LSP (diagnostics, completions)
|
|
17579
17590
|
mdlsp Markdown LSP (diagnostics, wikilink checking)
|
|
17580
17591
|
|
|
17592
|
+
ontology-harness plugins:
|
|
17593
|
+
ontologylsp Typed Markdown Ontology (markdown LSP + TM001-TM006 constraints)
|
|
17594
|
+
|
|
17581
17595
|
coder-harness plugins:
|
|
17582
17596
|
code-check External command code checking (linter + type check)
|
|
17583
17597
|
reminder Max iterations reminder for ReAct loop
|
|
@@ -17590,6 +17604,7 @@ Examples:
|
|
|
17590
17604
|
--plugin pylsp Enable Python LSP
|
|
17591
17605
|
--plugin mdlsp Enable Markdown LSP
|
|
17592
17606
|
--plugin tslsp pylsp mdlsp Enable all LSP plugins
|
|
17607
|
+
--plugin ontologylsp Enable Typed Markdown Ontology checking
|
|
17593
17608
|
--plugin lsp Enable all (legacy mode)
|
|
17594
17609
|
--plugin code-check Enable external command checking
|
|
17595
17610
|
--plugin reminder Enable iteration reminder
|
package/dist/index.js
CHANGED
|
@@ -7219,7 +7219,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
7219
7219
|
var require_package = __commonJS((exports, module) => {
|
|
7220
7220
|
module.exports = {
|
|
7221
7221
|
name: "@ai-setting/roy-agent-cli",
|
|
7222
|
-
version: "1.5.
|
|
7222
|
+
version: "1.5.41",
|
|
7223
7223
|
type: "module",
|
|
7224
7224
|
description: "CLI for roy-agent - Non-interactive command execution",
|
|
7225
7225
|
main: "./dist/index.js",
|
|
@@ -7245,8 +7245,9 @@ var require_package = __commonJS((exports, module) => {
|
|
|
7245
7245
|
typecheck: "npx tsc --noEmit --skipLibCheck"
|
|
7246
7246
|
},
|
|
7247
7247
|
dependencies: {
|
|
7248
|
-
"@ai-setting/roy-agent-coder-harness": "^1.5.
|
|
7249
|
-
"@ai-setting/roy-agent-core": "^1.5.
|
|
7248
|
+
"@ai-setting/roy-agent-coder-harness": "^1.5.41",
|
|
7249
|
+
"@ai-setting/roy-agent-core": "^1.5.41",
|
|
7250
|
+
"@ai-setting/roy-agent-ontology-harness": "^1.5.41",
|
|
7250
7251
|
chalk: "^5.6.2",
|
|
7251
7252
|
commander: "^14.0.3",
|
|
7252
7253
|
effect: "^3.21.2",
|
|
@@ -7780,6 +7781,14 @@ class EnvironmentService {
|
|
|
7780
7781
|
plugin = new MDLSPPlugin;
|
|
7781
7782
|
break;
|
|
7782
7783
|
}
|
|
7784
|
+
case "ontologylsp": {
|
|
7785
|
+
const { OntologyLSPPlugin } = await import("@ai-setting/roy-agent-ontology-harness");
|
|
7786
|
+
plugin = new OntologyLSPPlugin({
|
|
7787
|
+
preloadMode: "startup",
|
|
7788
|
+
workspaceRoot: process.cwd()
|
|
7789
|
+
});
|
|
7790
|
+
break;
|
|
7791
|
+
}
|
|
7783
7792
|
default:
|
|
7784
7793
|
this.output.warn(`[EnvironmentService] Unknown plugin: ${name}`);
|
|
7785
7794
|
continue;
|
|
@@ -8223,7 +8232,8 @@ function createActCommand(externalEnvService) {
|
|
|
8223
8232
|
"reminder",
|
|
8224
8233
|
"tslsp",
|
|
8225
8234
|
"pylsp",
|
|
8226
|
-
"mdlsp"
|
|
8235
|
+
"mdlsp",
|
|
8236
|
+
"ontologylsp"
|
|
8227
8237
|
]);
|
|
8228
8238
|
const coderPluginNames = [];
|
|
8229
8239
|
const otherPluginNames = [];
|
|
@@ -9521,7 +9531,8 @@ function createInteractiveCommand(externalEnvService) {
|
|
|
9521
9531
|
"reminder",
|
|
9522
9532
|
"tslsp",
|
|
9523
9533
|
"pylsp",
|
|
9524
|
-
"mdlsp"
|
|
9534
|
+
"mdlsp",
|
|
9535
|
+
"ontologylsp"
|
|
9525
9536
|
]);
|
|
9526
9537
|
const rawPlugins = args.plugin;
|
|
9527
9538
|
const pluginNames = Array.isArray(rawPlugins) ? rawPlugins : rawPlugins ? [rawPlugins] : [];
|
|
@@ -9539,7 +9550,7 @@ function createInteractiveCommand(externalEnvService) {
|
|
|
9539
9550
|
if (!externalEnvService) {
|
|
9540
9551
|
await envService.create({
|
|
9541
9552
|
configPath: args.config,
|
|
9542
|
-
plugins: componentPluginNames
|
|
9553
|
+
plugins: [...componentPluginNames, ...coderPluginNames]
|
|
9543
9554
|
});
|
|
9544
9555
|
}
|
|
9545
9556
|
const env = envService.getEnvironment();
|
|
@@ -17577,6 +17588,9 @@ Plugins:
|
|
|
17577
17588
|
pylsp Python LSP (diagnostics, completions)
|
|
17578
17589
|
mdlsp Markdown LSP (diagnostics, wikilink checking)
|
|
17579
17590
|
|
|
17591
|
+
ontology-harness plugins:
|
|
17592
|
+
ontologylsp Typed Markdown Ontology (markdown LSP + TM001-TM006 constraints)
|
|
17593
|
+
|
|
17580
17594
|
coder-harness plugins:
|
|
17581
17595
|
code-check External command code checking (linter + type check)
|
|
17582
17596
|
reminder Max iterations reminder for ReAct loop
|
|
@@ -17589,6 +17603,7 @@ Examples:
|
|
|
17589
17603
|
--plugin pylsp Enable Python LSP
|
|
17590
17604
|
--plugin mdlsp Enable Markdown LSP
|
|
17591
17605
|
--plugin tslsp pylsp mdlsp Enable all LSP plugins
|
|
17606
|
+
--plugin ontologylsp Enable Typed Markdown Ontology checking
|
|
17592
17607
|
--plugin lsp Enable all (legacy mode)
|
|
17593
17608
|
--plugin code-check Enable external command checking
|
|
17594
17609
|
--plugin reminder Enable iteration reminder
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-setting/roy-agent-cli",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.41",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI for roy-agent - Non-interactive command execution",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,8 +26,9 @@
|
|
|
26
26
|
"typecheck": "npx tsc --noEmit --skipLibCheck"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@ai-setting/roy-agent-coder-harness": "^1.5.
|
|
30
|
-
"@ai-setting/roy-agent-core": "^1.5.
|
|
29
|
+
"@ai-setting/roy-agent-coder-harness": "^1.5.41",
|
|
30
|
+
"@ai-setting/roy-agent-core": "^1.5.41",
|
|
31
|
+
"@ai-setting/roy-agent-ontology-harness": "^1.5.41",
|
|
31
32
|
"chalk": "^5.6.2",
|
|
32
33
|
"commander": "^14.0.3",
|
|
33
34
|
"effect": "^3.21.2",
|
|
Binary file
|