@genrtl/grtl 2.1.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 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 --mcp --codex
25
- grtl setup --mcp --cursor --project
24
+ grtl setup --codex
25
+ grtl setup --cursor --project
26
26
  ```
27
27
 
28
- Without `--mcp`, setup asks which mode to install. Knowledge retrieval, CBB
29
- search, and CBB detail lookup are supported through MCP tools only, not through
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";
@@ -389,6 +388,7 @@ For verification:
389
388
  - Testbench, SVA, assertions, stimulus, checkers, scoreboards, coverage -> \`genrtl_verification_search\`.
390
389
 
391
390
  For reusable RTL/IP:
391
+ - When the user asks for an RTL architecture, implementation strategy, or design plan without requesting RTL code, call \`genrtl_cbb_list\` first to see which reusable CBB names already exist before proposing a from-scratch design.
392
392
  - Discover with \`genrtl_cbb_search\`, then inspect with \`genrtl_cbb_detail\`.
393
393
  - Use \`genrtl_cbb_acquire\` only when the selected CBB should be installed or re-delivered.
394
394
 
@@ -428,6 +428,7 @@ Use GenRTL MCP tools before relying on model memory for RTL engineering.
428
428
  - \`genrtl_verification_search\` for testbench, SVA, assertions, stimulus, checkers, scoreboards, coverage, and verification strategy.
429
429
  - \`genrtl_compile_search\` for SpyGlass lint/CDC after coding and for Vivado/Quartus/VCS/QuestaSim diagnostics, including errors, warnings, and critical warnings.
430
430
  - \`genrtl_debug_search\` for functional RTL bugs, waveform mismatch, failing simulations, failing testcases, or incorrect behavior.
431
+ - \`genrtl_cbb_list\` before producing an RTL architecture, implementation strategy, or design plan without RTL code, so existing reusable CBB names are considered first.
431
432
  - \`genrtl_cbb_search\`, then \`genrtl_cbb_detail\`, for reusable IP/CBB discovery.
432
433
 
433
434
  ## Required Behavior
@@ -667,27 +668,7 @@ async function resolveMode(options) {
667
668
  return null;
668
669
  }
669
670
  if (options.cli) return "cli";
670
- if (options.mcp || options.yes) return "mcp";
671
- try {
672
- return await select({
673
- message: "How should your coding agent access GenRTL?",
674
- choices: [
675
- {
676
- name: "CLI Skill",
677
- value: "cli",
678
- description: "The agent runs the installed grtl command."
679
- },
680
- {
681
- name: "MCP Server + Skill",
682
- value: "mcp",
683
- description: "The agent calls the four hosted GenRTL MCP tools."
684
- }
685
- ]
686
- });
687
- } catch {
688
- log.warn("Setup cancelled");
689
- return null;
690
- }
671
+ return "mcp";
691
672
  }
692
673
  async function promptAgents() {
693
674
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genrtl/grtl",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "description": "CLI, MCP, and coding-agent Skills for GenRTL RTL engineering knowledge",
5
5
  "type": "module",
6
6
  "bin": {