@genrtl/grtl 2.2.0 → 2.2.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 +5 -5
- package/dist/index.js +1 -22
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,13 +21,13 @@ $env:GRTL_API_KEY = "gtr_live_your_api_key"
|
|
|
21
21
|
Configure hosted MCP and install the MCP-oriented Skill for your coding agent:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
grtl setup --
|
|
25
|
-
grtl setup --
|
|
24
|
+
grtl setup --codex
|
|
25
|
+
grtl setup --cursor --project
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
search, and CBB detail lookup are
|
|
30
|
-
CLI commands.
|
|
28
|
+
MCP + Skill is the default setup mode. Use `--cli` only when you explicitly want
|
|
29
|
+
the CLI-only Skill. Knowledge retrieval, CBB search, and CBB detail lookup are
|
|
30
|
+
supported through MCP tools only, not through CLI commands.
|
|
31
31
|
|
|
32
32
|
Installing a newer npm package does not modify Skills already written to an
|
|
33
33
|
agent configuration directory. Run setup again after an upgrade to refresh the
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,6 @@ import pc6 from "picocolors";
|
|
|
6
6
|
import figlet from "figlet";
|
|
7
7
|
|
|
8
8
|
// src/commands/setup.ts
|
|
9
|
-
import { select } from "@inquirer/prompts";
|
|
10
9
|
import { dirname as dirname4, join as join2 } from "path";
|
|
11
10
|
import { mkdir as mkdir3, readFile as readFile2, writeFile as writeFile3 } from "fs/promises";
|
|
12
11
|
import ora from "ora";
|
|
@@ -669,27 +668,7 @@ async function resolveMode(options) {
|
|
|
669
668
|
return null;
|
|
670
669
|
}
|
|
671
670
|
if (options.cli) return "cli";
|
|
672
|
-
|
|
673
|
-
try {
|
|
674
|
-
return await select({
|
|
675
|
-
message: "How should your coding agent access GenRTL?",
|
|
676
|
-
choices: [
|
|
677
|
-
{
|
|
678
|
-
name: "CLI Skill",
|
|
679
|
-
value: "cli",
|
|
680
|
-
description: "The agent runs the installed grtl command."
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
name: "MCP Server + Skill",
|
|
684
|
-
value: "mcp",
|
|
685
|
-
description: "The agent calls the four hosted GenRTL MCP tools."
|
|
686
|
-
}
|
|
687
|
-
]
|
|
688
|
-
});
|
|
689
|
-
} catch {
|
|
690
|
-
log.warn("Setup cancelled");
|
|
691
|
-
return null;
|
|
692
|
-
}
|
|
671
|
+
return "mcp";
|
|
693
672
|
}
|
|
694
673
|
async function promptAgents() {
|
|
695
674
|
try {
|