@callakrsos/my-ollama-cli 1.0.0

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/lib/model.js ADDED
@@ -0,0 +1,52 @@
1
+ import { ChatOllama } from "@langchain/ollama";
2
+ import { ChatOpenAI } from "@langchain/openai";
3
+
4
+ export const SYSTEM_PROMPT = `You are a helpful assistant. You have access to tools. Your job is to help the user with their requests. The user is a developer. You should respond in Korean.`;
5
+
6
+ export function normalizeOllamaBaseUrl(url) {
7
+ if (!url || typeof url !== 'string') return 'http://localhost:11434';
8
+ const trimmed = url.trim().replace(/\s+/g, '');
9
+ const u = trimmed.endsWith('/') ? trimmed.slice(0, -1) : trimmed;
10
+ return u || 'http://localhost:11434';
11
+ }
12
+
13
+ export function normalizeVllmBaseUrl(url) {
14
+ if (!url || typeof url !== 'string') return 'http://localhost:8000/v1';
15
+ const trimmed = url.trim().replace(/\s+/g, '');
16
+ let u = trimmed.endsWith('/') ? trimmed.slice(0, -1) : trimmed;
17
+ if (u.includes('/v1/chat/completions')) u = u.replace(/\/v1\/chat\/completions.*$/i, '');
18
+ if (u.includes('/chat/completions')) u = u.replace(/\/chat\/completions.*$/i, '');
19
+ if (!u.endsWith('/v1')) u = u + '/v1';
20
+ return u || 'http://localhost:8000/v1';
21
+ }
22
+
23
+ export function isOpenAiCompatibleUrl(url) {
24
+ if (!url || typeof url !== 'string') return false;
25
+ const u = url.trim().toLowerCase();
26
+ return u.includes('/v1') || u.includes('chat/completions');
27
+ }
28
+
29
+ export function getLlmProvider() {
30
+ const env = (process.env.LLM_PROVIDER || '').toLowerCase();
31
+ if (env === 'vllm') return 'vllm';
32
+ if (env === 'ollama') return 'ollama';
33
+ if (process.env.VLLM_BASE_URL) return 'vllm';
34
+ if (isOpenAiCompatibleUrl(process.env.OLLAMA_BASE_URL)) return 'vllm';
35
+ return 'ollama';
36
+ }
37
+
38
+ export function getModel() {
39
+ const llmProvider = getLlmProvider();
40
+ if (llmProvider === 'vllm') {
41
+ const baseUrl = normalizeVllmBaseUrl(process.env.VLLM_BASE_URL || process.env.OLLAMA_BASE_URL);
42
+ const model = process.env.VLLM_MODEL || process.env.OLLAMA_MODEL || 'meta-llama/Llama-3.2-3B-Instruct';
43
+ return new ChatOpenAI({
44
+ configuration: { baseURL: baseUrl },
45
+ model,
46
+ temperature: 0,
47
+ apiKey: process.env.OPENAI_API_KEY || 'dummy',
48
+ });
49
+ }
50
+ const baseUrl = normalizeOllamaBaseUrl(process.env.OLLAMA_BASE_URL);
51
+ return new ChatOllama({ baseUrl, model: process.env.OLLAMA_MODEL || 'kimi-k2.5:cloud', temperature: 0 });
52
+ }
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@callakrsos/my-ollama-cli",
3
+ "version": "1.0.0",
4
+ "description": "CLI Agent with Ollama/Gemini/OpenAI support",
5
+ "license": "ISC",
6
+ "author": "callakrsos",
7
+ "type": "module",
8
+ "main": "index.js",
9
+ "bin": {
10
+ "vCli": "./index.js"
11
+ },
12
+ "scripts": {
13
+ "start": "node index.js",
14
+ "test": "echo \"Error: no test specified\" && exit 1"
15
+ },
16
+ "dependencies": {
17
+ "@inquirer/prompts": "^8.2.0",
18
+ "@langchain/core": "^1.1.32",
19
+ "@langchain/langgraph": "^1.2.2",
20
+ "@langchain/mcp-adapters": "^1.1.3",
21
+ "@langchain/ollama": "^1.2.6",
22
+ "@langchain/openai": "^1.2.13",
23
+ "chalk": "^5.3.0",
24
+ "commander": "^14.0.3",
25
+ "dotenv": "^16.4.5",
26
+ "glob": "^11.0.0",
27
+ "inquirer": "^13.2.2",
28
+ "langchain": "^1.2.32",
29
+ "pdf-parse": "^2.4.5",
30
+ "zod": "^3.23.8"
31
+ }
32
+ }
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2025 Simon Boudrias
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,213 @@
1
+ # `@inquirer/search`
2
+
3
+ Interactive search prompt component for command line interfaces.
4
+
5
+ ![search prompt](https://raw.githubusercontent.com/SBoudrias/Inquirer.js/f459199e679aec7676cecc0fc12ef8a4cd3dda0b/assets/screenshots/search.png)
6
+
7
+ # Installation
8
+
9
+ <table>
10
+ <tr>
11
+ <th>npm</th>
12
+ <th>yarn</th>
13
+ </tr>
14
+ <tr>
15
+ <td>
16
+
17
+ ```sh
18
+ npm install @inquirer/prompts
19
+ ```
20
+
21
+ </td>
22
+ <td>
23
+
24
+ ```sh
25
+ yarn add @inquirer/prompts
26
+ ```
27
+
28
+ </td>
29
+ </tr>
30
+ <tr>
31
+ <td>
32
+
33
+ ```sh
34
+ npm install @inquirer/search
35
+ ```
36
+
37
+ </td>
38
+ <td>
39
+
40
+ ```sh
41
+ yarn add @inquirer/search
42
+ ```
43
+
44
+ </td>
45
+ </tr>
46
+ </table>
47
+
48
+ # Usage
49
+
50
+ ```js
51
+ import { search, Separator } from '@inquirer/prompts';
52
+ // Or
53
+ // import search, { Separator } from '@inquirer/search';
54
+
55
+ const answer = await search({
56
+ message: 'Select an npm package',
57
+ source: async (input, { signal }) => {
58
+ if (!input) {
59
+ return [];
60
+ }
61
+
62
+ const response = await fetch(
63
+ `https://registry.npmjs.org/-/v1/search?text=${encodeURIComponent(input)}&size=20`,
64
+ { signal },
65
+ );
66
+ const data = await response.json();
67
+
68
+ return data.objects.map((pkg) => ({
69
+ name: pkg.package.name,
70
+ value: pkg.package.name,
71
+ description: pkg.package.description,
72
+ }));
73
+ },
74
+ });
75
+ ```
76
+
77
+ ## Options
78
+
79
+ | Property | Type | Required | Description |
80
+ | -------- | ---------------------------------------------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
81
+ | message | `string` | yes | The question to ask |
82
+ | source | `(term: string \| void) => Promise<Choice[]>` | yes | This function returns the choices relevant to the search term. |
83
+ | pageSize | `number` | no | By default, lists of choice longer than 7 will be paginated. Use this option to control how many choices will appear on the screen at once. |
84
+ | default | `Value` | no | Defines in front of which item the cursor will initially appear. When omitted, the cursor will appear on the first selectable item. |
85
+ | validate | `Value => boolean \| string \| Promise<boolean \| string>` | no | On submit, validate the answer. When returning a string, it'll be used as the error message displayed to the user. Note: returning a rejected promise, we'll assume a code error happened and crash. |
86
+ | theme | [See Theming](#Theming) | no | Customize look of the prompt. |
87
+
88
+ ### `source` function
89
+
90
+ The full signature type of `source` is as follow:
91
+
92
+ ```ts
93
+ function(
94
+ term: string | void,
95
+ opt: { signal: AbortSignal },
96
+ ): Promise<ReadonlyArray<Choice<Value> | Separator>>;
97
+ ```
98
+
99
+ When `term` is `undefined`, it means the search term input is empty. You can use this to return default choices, or return an empty array.
100
+
101
+ Aside from returning the choices:
102
+
103
+ 1. An `AbortSignal` is passed in to cancel ongoing network calls when the search term change.
104
+ 2. `Separator`s can be used to organize the list.
105
+
106
+ ### `Choice` object
107
+
108
+ The `Choice` object is typed as
109
+
110
+ ```ts
111
+ type Choice<Value> = {
112
+ value: Value;
113
+ name?: string;
114
+ description?: string;
115
+ short?: string;
116
+ disabled?: boolean | string;
117
+ };
118
+ ```
119
+
120
+ Here's each property:
121
+
122
+ - `value`: The value is what will be returned by `await search()`.
123
+ - `name`: This is the string displayed in the choice list.
124
+ - `description`: Option for a longer description string that'll appear under the list when the cursor highlight a given choice.
125
+ - `short`: Once the prompt is done (press enter), we'll use `short` if defined to render next to the question. By default we'll use `name`.
126
+ - `disabled`: Disallow the option from being selected. If `disabled` is a string, it'll be used as a help tip explaining why the choice isn't available.
127
+
128
+ Choices can also be an array of string, in which case the string will be used both as the `value` and the `name`.
129
+
130
+ ### Validation & autocomplete interaction
131
+
132
+ The validation within the search prompt acts as a signal for the autocomplete feature.
133
+
134
+ When a list value is submitted and fail validation, the prompt will compare it to the search term. If they're the same, the prompt display the error. If they're not the same, we'll autocomplete the search term to match the value. Doing this will trigger a new search.
135
+
136
+ You can rely on this behavior to implement progressive autocomplete searches. Where you want the user to narrow the search in a progressive manner.
137
+
138
+ Pressing `tab` also triggers the term autocomplete.
139
+
140
+ You can see this behavior in action in [our search demo](https://github.com/SBoudrias/Inquirer.js/blob/main/packages/demo/src/demos/search.ts).
141
+
142
+ ## Theming
143
+
144
+ You can theme a prompt by passing a `theme` object option. The theme object only need to includes the keys you wish to modify, we'll fallback on the defaults for the rest.
145
+
146
+ ```ts
147
+ type Theme = {
148
+ prefix: string | { idle: string; done: string };
149
+ spinner: {
150
+ interval: number;
151
+ frames: string[];
152
+ };
153
+ style: {
154
+ answer: (text: string) => string;
155
+ message: (text: string, status: 'idle' | 'done' | 'loading') => string;
156
+ error: (text: string) => string;
157
+ help: (text: string) => string;
158
+ highlight: (text: string) => string;
159
+ description: (text: string) => string;
160
+ disabled: (text: string) => string;
161
+ searchTerm: (text: string) => string;
162
+ keysHelpTip: (keys: [key: string, action: string][]) => string | undefined;
163
+ };
164
+ icon: {
165
+ cursor: string;
166
+ };
167
+ };
168
+ ```
169
+
170
+ ### `theme.style.keysHelpTip`
171
+
172
+ This function allows you to customize the keyboard shortcuts help tip displayed below the prompt. It receives an array of key-action pairs and should return a formatted string. You can also hook here to localize the labels to different languages.
173
+
174
+ It can also returns `undefined` to hide the help tip entirely.
175
+
176
+ ```js
177
+ theme: {
178
+ style: {
179
+ keysHelpTip: (keys) => {
180
+ // Return undefined to hide the help tip completely.
181
+ return undefined;
182
+
183
+ // Or customize the formatting. Or localize the labels.
184
+ return keys.map(([key, action]) => `${key}: ${action}`).join(' | ');
185
+ };
186
+ }
187
+ }
188
+ ```
189
+
190
+ ## Recipes
191
+
192
+ ### Debounce search
193
+
194
+ ```js
195
+ import { setTimeout } from 'node:timers/promises';
196
+ import { search } from '@inquirer/prompts';
197
+
198
+ const answer = await search({
199
+ message: 'Select an npm package',
200
+ source: async (input, { signal }) => {
201
+ await setTimeout(300);
202
+ if (signal.aborted) return [];
203
+
204
+ // Do the search
205
+ fetch(...)
206
+ },
207
+ });
208
+ ```
209
+
210
+ # License
211
+
212
+ Copyright (c) 2024 Simon Boudrias (twitter: [@vaxilart](https://twitter.com/Vaxilart))<br/>
213
+ Licensed under the MIT license.
@@ -0,0 +1,33 @@
1
+ import { Separator, type Theme } from '@inquirer/core';
2
+ import type { PartialDeep } from '@inquirer/type';
3
+ type SearchTheme = {
4
+ icon: {
5
+ cursor: string;
6
+ };
7
+ style: {
8
+ disabled: (text: string) => string;
9
+ searchTerm: (text: string) => string;
10
+ description: (text: string) => string;
11
+ keysHelpTip: (keys: [key: string, action: string][]) => string | undefined;
12
+ };
13
+ };
14
+ type Choice<Value> = {
15
+ value: Value;
16
+ name?: string;
17
+ description?: string;
18
+ short?: string;
19
+ disabled?: boolean | string;
20
+ type?: never;
21
+ };
22
+ declare const _default: <Value>(config: {
23
+ message: string;
24
+ source: (term: string | undefined, opt: {
25
+ signal: AbortSignal;
26
+ }) => readonly (string | Separator)[] | readonly (Separator | Choice<Value>)[] | Promise<readonly (string | Separator)[]> | Promise<readonly (Separator | Choice<Value>)[]>;
27
+ validate?: ((value: Value) => boolean | string | Promise<string | boolean>) | undefined;
28
+ pageSize?: number | undefined;
29
+ default?: NoInfer<Value> | undefined;
30
+ theme?: PartialDeep<Theme<SearchTheme>> | undefined;
31
+ }, context?: import("@inquirer/type").Context) => Promise<Value>;
32
+ export default _default;
33
+ export { Separator } from '@inquirer/core';
@@ -0,0 +1,193 @@
1
+ import { createPrompt, useState, useKeypress, usePrefix, usePagination, useEffect, useMemo, useRef, isDownKey, isEnterKey, isTabKey, isUpKey, Separator, makeTheme, } from '@inquirer/core';
2
+ import { styleText } from 'node:util';
3
+ import figures from '@inquirer/figures';
4
+ const searchTheme = {
5
+ icon: { cursor: figures.pointer },
6
+ style: {
7
+ disabled: (text) => styleText('dim', `- ${text}`),
8
+ searchTerm: (text) => styleText('cyan', text),
9
+ description: (text) => styleText('cyan', text),
10
+ keysHelpTip: (keys) => keys
11
+ .map(([key, action]) => `${styleText('bold', key)} ${styleText('dim', action)}`)
12
+ .join(styleText('dim', ' • ')),
13
+ },
14
+ };
15
+ function isSelectable(item) {
16
+ return !Separator.isSeparator(item) && !item.disabled;
17
+ }
18
+ function normalizeChoices(choices) {
19
+ return choices.map((choice) => {
20
+ if (Separator.isSeparator(choice))
21
+ return choice;
22
+ if (typeof choice === 'string') {
23
+ return {
24
+ value: choice,
25
+ name: choice,
26
+ short: choice,
27
+ disabled: false,
28
+ };
29
+ }
30
+ const name = choice.name ?? String(choice.value);
31
+ const normalizedChoice = {
32
+ value: choice.value,
33
+ name,
34
+ short: choice.short ?? name,
35
+ disabled: choice.disabled ?? false,
36
+ };
37
+ if (choice.description) {
38
+ normalizedChoice.description = choice.description;
39
+ }
40
+ return normalizedChoice;
41
+ });
42
+ }
43
+ export default createPrompt((config, done) => {
44
+ const { pageSize = 7, validate = () => true } = config;
45
+ const theme = makeTheme(searchTheme, config.theme);
46
+ const [status, setStatus] = useState('loading');
47
+ const [searchTerm, setSearchTerm] = useState('');
48
+ const [searchResults, setSearchResults] = useState([]);
49
+ const [searchError, setSearchError] = useState();
50
+ const defaultApplied = useRef(false);
51
+ const prefix = usePrefix({ status, theme });
52
+ const bounds = useMemo(() => {
53
+ const first = searchResults.findIndex(isSelectable);
54
+ const last = searchResults.findLastIndex(isSelectable);
55
+ return { first, last };
56
+ }, [searchResults]);
57
+ const [active = bounds.first, setActive] = useState();
58
+ useEffect(() => {
59
+ const controller = new AbortController();
60
+ setStatus('loading');
61
+ setSearchError(undefined);
62
+ const fetchResults = async () => {
63
+ try {
64
+ const results = await config.source(searchTerm || undefined, {
65
+ signal: controller.signal,
66
+ });
67
+ if (!controller.signal.aborted) {
68
+ const normalized = normalizeChoices(results);
69
+ let initialActive;
70
+ if (!defaultApplied.current && 'default' in config) {
71
+ const defaultIndex = normalized.findIndex((item) => isSelectable(item) && item.value === config.default);
72
+ initialActive = defaultIndex === -1 ? undefined : defaultIndex;
73
+ defaultApplied.current = true;
74
+ }
75
+ setActive(initialActive);
76
+ setSearchError(undefined);
77
+ setSearchResults(normalized);
78
+ setStatus('idle');
79
+ }
80
+ }
81
+ catch (error) {
82
+ if (!controller.signal.aborted && error instanceof Error) {
83
+ setSearchError(error.message);
84
+ }
85
+ }
86
+ };
87
+ void fetchResults();
88
+ return () => {
89
+ controller.abort();
90
+ };
91
+ }, [searchTerm]);
92
+ // Safe to assume the cursor position never points to a Separator.
93
+ const selectedChoice = searchResults[active];
94
+ useKeypress(async (key, rl) => {
95
+ if (isEnterKey(key)) {
96
+ if (selectedChoice) {
97
+ setStatus('loading');
98
+ const isValid = await validate(selectedChoice.value);
99
+ setStatus('idle');
100
+ if (isValid === true) {
101
+ setStatus('done');
102
+ done(selectedChoice.value);
103
+ }
104
+ else if (selectedChoice.name === searchTerm) {
105
+ setSearchError(isValid || 'You must provide a valid value');
106
+ }
107
+ else {
108
+ // Reset line with new search term
109
+ rl.write(selectedChoice.name);
110
+ setSearchTerm(selectedChoice.name);
111
+ }
112
+ }
113
+ else {
114
+ // Reset the readline line value to the previous value. On line event, the value
115
+ // get cleared, forcing the user to re-enter the value instead of fixing it.
116
+ rl.write(searchTerm);
117
+ }
118
+ }
119
+ else if (isTabKey(key) && selectedChoice) {
120
+ rl.clearLine(0); // Remove the tab character.
121
+ rl.write(selectedChoice.name);
122
+ setSearchTerm(selectedChoice.name);
123
+ }
124
+ else if (status !== 'loading' && (isUpKey(key) || isDownKey(key))) {
125
+ rl.clearLine(0);
126
+ if ((isUpKey(key) && active !== bounds.first) ||
127
+ (isDownKey(key) && active !== bounds.last)) {
128
+ const offset = isUpKey(key) ? -1 : 1;
129
+ let next = active;
130
+ do {
131
+ next = (next + offset + searchResults.length) % searchResults.length;
132
+ } while (!isSelectable(searchResults[next]));
133
+ setActive(next);
134
+ }
135
+ }
136
+ else {
137
+ setSearchTerm(rl.line);
138
+ }
139
+ });
140
+ const message = theme.style.message(config.message, status);
141
+ const helpLine = theme.style.keysHelpTip([
142
+ ['↑↓', 'navigate'],
143
+ ['⏎', 'select'],
144
+ ]);
145
+ const page = usePagination({
146
+ items: searchResults,
147
+ active,
148
+ renderItem({ item, isActive }) {
149
+ if (Separator.isSeparator(item)) {
150
+ return ` ${item.separator}`;
151
+ }
152
+ if (item.disabled) {
153
+ const disabledLabel = typeof item.disabled === 'string' ? item.disabled : '(disabled)';
154
+ return theme.style.disabled(`${item.name} ${disabledLabel}`);
155
+ }
156
+ const color = isActive ? theme.style.highlight : (x) => x;
157
+ const cursor = isActive ? theme.icon.cursor : ` `;
158
+ return color(`${cursor} ${item.name}`);
159
+ },
160
+ pageSize,
161
+ loop: false,
162
+ });
163
+ let error;
164
+ if (searchError) {
165
+ error = theme.style.error(searchError);
166
+ }
167
+ else if (searchResults.length === 0 && searchTerm !== '' && status === 'idle') {
168
+ error = theme.style.error('No results found');
169
+ }
170
+ let searchStr;
171
+ if (status === 'done' && selectedChoice) {
172
+ return [prefix, message, theme.style.answer(selectedChoice.short)]
173
+ .filter(Boolean)
174
+ .join(' ')
175
+ .trimEnd();
176
+ }
177
+ else {
178
+ searchStr = theme.style.searchTerm(searchTerm);
179
+ }
180
+ const description = selectedChoice?.description;
181
+ const header = [prefix, message, searchStr].filter(Boolean).join(' ').trimEnd();
182
+ const body = [
183
+ error ?? page,
184
+ ' ',
185
+ description ? theme.style.description(description) : '',
186
+ helpLine,
187
+ ]
188
+ .filter(Boolean)
189
+ .join('\n')
190
+ .trimEnd();
191
+ return [header, body];
192
+ });
193
+ export { Separator } from '@inquirer/core';
@@ -0,0 +1,92 @@
1
+ {
2
+ "name": "@inquirer/search",
3
+ "version": "4.1.0",
4
+ "description": "Inquirer search prompt",
5
+ "keywords": [
6
+ "answer",
7
+ "answers",
8
+ "ask",
9
+ "base",
10
+ "cli",
11
+ "command",
12
+ "command-line",
13
+ "confirm",
14
+ "enquirer",
15
+ "generate",
16
+ "generator",
17
+ "hyper",
18
+ "input",
19
+ "inquire",
20
+ "inquirer",
21
+ "interface",
22
+ "iterm",
23
+ "javascript",
24
+ "menu",
25
+ "node",
26
+ "nodejs",
27
+ "prompt",
28
+ "promptly",
29
+ "prompts",
30
+ "question",
31
+ "readline",
32
+ "scaffold",
33
+ "scaffolder",
34
+ "scaffolding",
35
+ "stdin",
36
+ "stdout",
37
+ "terminal",
38
+ "tty",
39
+ "ui",
40
+ "yeoman",
41
+ "yo",
42
+ "zsh"
43
+ ],
44
+ "homepage": "https://github.com/SBoudrias/Inquirer.js/blob/main/packages/search/README.md",
45
+ "license": "MIT",
46
+ "author": "Simon Boudrias <admin@simonboudrias.com>",
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "https://github.com/SBoudrias/Inquirer.js.git"
50
+ },
51
+ "files": [
52
+ "dist"
53
+ ],
54
+ "type": "module",
55
+ "sideEffects": false,
56
+ "exports": {
57
+ ".": {
58
+ "types": "./dist/index.d.ts",
59
+ "default": "./dist/index.js"
60
+ },
61
+ "./package.json": "./package.json"
62
+ },
63
+ "publishConfig": {
64
+ "access": "public"
65
+ },
66
+ "scripts": {
67
+ "tsc": "tsc"
68
+ },
69
+ "dependencies": {
70
+ "@inquirer/core": "^11.1.1",
71
+ "@inquirer/figures": "^2.0.3",
72
+ "@inquirer/type": "^4.0.3"
73
+ },
74
+ "devDependencies": {
75
+ "@inquirer/testing": "^3.0.4",
76
+ "typescript": "^5.9.3"
77
+ },
78
+ "peerDependencies": {
79
+ "@types/node": ">=18"
80
+ },
81
+ "peerDependenciesMeta": {
82
+ "@types/node": {
83
+ "optional": true
84
+ }
85
+ },
86
+ "engines": {
87
+ "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0"
88
+ },
89
+ "main": "./dist/index.js",
90
+ "types": "./dist/index.d.ts",
91
+ "gitHead": "99d00a9adc53be8b7edf5926b2ec4ba0b792f68f"
92
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "mcp": {
3
+ "enabled": true,
4
+ "onConnectionError": "ignore",
5
+ "prefixToolNameWithServerName": false,
6
+ "mcpServers": {
7
+ "chrome-devtools": {
8
+ "transport": "stdio",
9
+ "command": "npx",
10
+ "args": [
11
+ "-y",
12
+ "chrome-devtools-mcp@latest"
13
+ ]
14
+ },
15
+ "filesystem": {
16
+ "enabled": true,
17
+ "transport": "stdio",
18
+ "command": "npx",
19
+ "args": [
20
+ "-y",
21
+ "@modelcontextprotocol/server-filesystem"
22
+ ],
23
+ "env": {
24
+ "ALLOWED_DIRS": "."
25
+ }
26
+ },
27
+ "markitdown": {
28
+ "enabled": false,
29
+ "command": "docker",
30
+ "args": [
31
+ "run",
32
+ "-i",
33
+ "--rm",
34
+ "-v",
35
+ "/local-directory:/local-directory",
36
+ "mcp/markitdown"
37
+ ]
38
+ },
39
+ "sql-gen-mcp": {
40
+ "enabled": false,
41
+ "transport" : "http",
42
+ "url" : "http://localhost:7070/mcp"
43
+ }
44
+ }
45
+ }
46
+ }