@noeis/noeis-cli 0.1.5 → 0.1.7

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/cli.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noeis/noeis-cli",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Command-line client for scripting a Noeis wiki.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,7 +23,7 @@
23
23
  ],
24
24
  "license": "ISC",
25
25
  "dependencies": {
26
- "@noeis/wiki-mcp": "^0.1.1"
26
+ "@noeis/wiki-mcp": "^0.1.2"
27
27
  },
28
28
  "engines": {
29
29
  "node": ">=18.17"
package/src/cli.js CHANGED
@@ -140,7 +140,8 @@ const mcpServerConfig = ({ configDir, apiUrl }) => ({
140
140
  args: ['mcp'],
141
141
  env: {
142
142
  ...(configDir ? { NOEIS_CONFIG_DIR: configDir } : {}),
143
- ...(apiUrl && apiUrl !== DEFAULT_API_URL ? { NOEIS_API_URL: apiUrl } : {})
143
+ ...(apiUrl && apiUrl !== DEFAULT_API_URL ? { NOEIS_API_URL: apiUrl } : {}),
144
+ NOEIS_MCP_TOOLSET: 'library-think-v1'
144
145
  }
145
146
  });
146
147
 
@@ -155,6 +156,7 @@ const writeTomlMcpConfig = (filePath, { configDir, apiUrl }) => {
155
156
  const envParts = [];
156
157
  if (configDir) envParts.push(`NOEIS_CONFIG_DIR = ${JSON.stringify(configDir)}`);
157
158
  if (apiUrl && apiUrl !== DEFAULT_API_URL) envParts.push(`NOEIS_API_URL = ${JSON.stringify(apiUrl)}`);
159
+ envParts.push('NOEIS_MCP_TOOLSET = "library-think-v1"');
158
160
  const envLine = envParts.length ? `\nenv = { ${envParts.join(', ')} }` : '';
159
161
  const block = `[mcp_servers.noeis-wiki]
160
162
  command = "noeis"