@hcu-lab.me/mcp-device 1.0.2 → 1.0.3
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/LICENSE +20 -20
- package/README.md +70 -51
- package/dist/bootstrap.js +0 -0
- package/dist/command-manager.js +0 -0
- package/dist/config-field-definitions.js +0 -0
- package/dist/config-manager.js +0 -0
- package/dist/config.js +0 -0
- package/dist/custom-stdio.js +0 -0
- package/dist/data/official-app-ca.pem +12 -12
- package/dist/data/onboarding-prompts.json +70 -70
- package/dist/error-handlers.js +0 -0
- package/dist/handlers/filesystem-handlers.js +2 -2
- package/dist/index.js +0 -0
- package/dist/mcp-device.js +0 -0
- package/dist/search-manager.js +0 -0
- package/dist/server.js +656 -656
- package/dist/terminal-manager.js +0 -0
- package/dist/tools/edit.js +2 -2
- package/dist/tools/fuzzySearch.js +9 -9
- package/dist/tools/improved-process-tools.js +10 -10
- package/dist/tools/prompts.js +1 -1
- package/dist/types.js +0 -0
- package/dist/ui/config-editor/index.html +13 -13
- package/dist/ui/config-editor/src/app.js +30 -30
- package/dist/ui/config-editor/src/array-modal.js +32 -32
- package/dist/ui/config-editor/styles.css +586 -586
- package/dist/ui/file-preview/index.html +16 -16
- package/dist/ui/file-preview/src/app.js +8 -8
- package/dist/ui/file-preview/src/document-layout.js +31 -31
- package/dist/ui/file-preview/src/document-outline.js +8 -8
- package/dist/ui/file-preview/src/markdown/conflict-dialog.js +33 -33
- package/dist/ui/file-preview/src/markdown/controller.js +9 -9
- package/dist/ui/file-preview/src/markdown/editor.js +31 -31
- package/dist/ui/file-preview/styles.css +1630 -1630
- package/dist/utils/files/binary.js +4 -4
- package/dist/utils/files/excel.js +3 -3
- package/dist/utils/system-info.js +90 -90
- package/dist/utils/usageTracker.js +49 -49
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +131 -131
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024-2025 Eduard Ruzga and Desktop Commander Contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024-2025 Eduard Ruzga and Desktop Commander Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,51 +1,70 @@
|
|
|
1
|
-
# MCP Device
|
|
2
|
-
|
|
3
|
-
`@hcu-lab.me/mcp-device`
|
|
4
|
-
|
|
5
|
-
The gateway owns accounts, OAuth, device ownership, MCP tool contracts, routing, and usage aggregation. MCP Device owns local device identity, pairing, reconnect lifecycle, bounded execution, background registration, and local status.
|
|
6
|
-
|
|
7
|
-
##
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
mcp-device
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
1
|
+
# MCP Device
|
|
2
|
+
|
|
3
|
+
`@hcu-lab.me/mcp-device` connects a user-owned computer to the authenticated MCP Gateway. The device opens the outbound connection; no inbound device port is required.
|
|
4
|
+
|
|
5
|
+
The gateway owns accounts, OAuth, device ownership, MCP tool contracts, routing, and usage aggregation. MCP Device owns local device identity, pairing, reconnect lifecycle, bounded execution, background registration, and local status.
|
|
6
|
+
|
|
7
|
+
## Quick start
|
|
8
|
+
|
|
9
|
+
Canonical production gateway: https://device.hcu-lab.me
|
|
10
|
+
|
|
11
|
+
- Dashboard: https://device.hcu-lab.me/dashboard
|
|
12
|
+
- Pair device: https://device.hcu-lab.me/pair
|
|
13
|
+
- Live setup/help: https://device.hcu-lab.me/help
|
|
14
|
+
|
|
15
|
+
Install the current release:
|
|
16
|
+
|
|
17
|
+
```powershell
|
|
18
|
+
npm install -g @hcu-lab.me/mcp-device
|
|
19
|
+
mcp-device login
|
|
20
|
+
mcp-device install
|
|
21
|
+
mcp-device status
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The hosted Pair/Help pages render their gateway URL and navigation from the deployment that served the page, so staging or custom deployments do not need a production-host rewrite. For the canonical package, `https://device.hcu-lab.me` is the default gateway; `MCP_GATEWAY_URL` is only needed when intentionally using another gateway.
|
|
25
|
+
|
|
26
|
+
## Commands
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
mcp-device start in the foreground
|
|
30
|
+
mcp-device start start in the foreground
|
|
31
|
+
mcp-device login explicitly link or switch the gateway account
|
|
32
|
+
mcp-device logout unlink the gateway account from this device
|
|
33
|
+
mcp-device status show runtime, manager, connection, security, proxy, usage, and schema state
|
|
34
|
+
mcp-device install pair if needed, then install and start a background runtime
|
|
35
|
+
mcp-device stop stop the current runtime without deleting identity/account state
|
|
36
|
+
mcp-device uninstall remove background registration while preserving identity/account state
|
|
37
|
+
mcp-device --help show command help
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
`md` is an alias of `mcp-device` on POSIX shells. On Windows, use `mcp-device`; bare `md` has a shell collision with built-in directory-creation commands/aliases and is not the supported invocation.
|
|
41
|
+
|
|
42
|
+
On Windows, `install` uses current-user background registration. On Linux, every `install` asks whether to use `systemd --user` or an already configured PM2 installation. MCP Device does not install PM2, run `pm2 startup`, or use `sudo` automatically.
|
|
43
|
+
|
|
44
|
+
## First run and trust
|
|
45
|
+
|
|
46
|
+
The official gateway base URL is `https://device.hcu-lab.me`. The official package pins the independently distributed application CA and requires protocol v2 before the first network connection. If that CA is absent or invalid, MCP Device fails closed instead of learning trust from the gateway it is about to contact or falling back to protocol v1.
|
|
47
|
+
|
|
48
|
+
For a custom gateway, set `MCP_GATEWAY_URL` and provision its application CA through an independent trusted channel before enabling protocol v2. Proxy selection is captured during interactive provisioning and reused by the background runtime.
|
|
49
|
+
|
|
50
|
+
## Local state and 1.0.2 migration
|
|
51
|
+
|
|
52
|
+
Canonical state is stored under `~/.mcp-device/`. Existing `~/.hcu-device/` identity/config/status state is migrated non-destructively under serialized runtime ownership. A conflicting canonical and legacy identity fails closed rather than creating a second device identity.
|
|
53
|
+
|
|
54
|
+
The device identity is Ed25519. MCP Device 1.0.2 does not use Windows DPAPI for the device private key or proxy configuration. A legacy protected 1.0.1 identity is archived without decrypting it, a fresh local identity is generated, and the device must be paired once again. A legacy protected proxy configuration must be supplied again during `mcp-device login`. The gateway stores only the public device identity and account ownership.
|
|
55
|
+
|
|
56
|
+
## Development
|
|
57
|
+
|
|
58
|
+
```powershell
|
|
59
|
+
git clone https://github.com/Hiroshimeow/agent-mcp-device.git
|
|
60
|
+
cd agent-mcp-device
|
|
61
|
+
npm ci
|
|
62
|
+
npm run build
|
|
63
|
+
node dist/mcp-device.js --help
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
For a custom development gateway, set `MCP_GATEWAY_URL`. Supply `MCP_GATEWAY_APP_CA_PATH` from an independent trusted source when using protocol v2. Non-loopback plaintext gateway URLs are rejected.
|
|
67
|
+
|
|
68
|
+
## Upstream execution engine
|
|
69
|
+
|
|
70
|
+
The local execution engine is derived from [Desktop Commander MCP](https://github.com/wonderwhy-er/DesktopCommanderMCP). Desktop Commander is MIT licensed; its copyright and MIT license are preserved in this repository's `LICENSE`. The MCP Device product identity, gateway protocol, account/device lifecycle, security layer, and packaging are maintained separately in this repository.
|
package/dist/bootstrap.js
CHANGED
|
File without changes
|
package/dist/command-manager.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/config-manager.js
CHANGED
|
File without changes
|
package/dist/config.js
CHANGED
|
File without changes
|
package/dist/custom-stdio.js
CHANGED
|
File without changes
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
|
2
|
-
MIIBrzCCAVagAwIBAgIUJT4N8vTRvyxp9rlhfHuY8OOJvB4wCgYIKoZIzj0EAwIw
|
|
3
|
-
JDEiMCAGA1UEAwwZTUNQIERldmljZSBBcHBsaWNhdGlvbiBDQTAeFw0yNjA5MTYx
|
|
4
|
-
NDMyNDVaFw0zNjA5MTMxNDMyNDVaMCQxIjAgBgNVBAMMGU1DUCBEZXZpY2UgQXBw
|
|
5
|
-
bGljYXRpb24gQ0EwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARFvReUGN6fAVYg
|
|
6
|
-
FF4UTn6F7KQ78b9yhkBU9qBy1XEMnCJqpn07rxKQszaB/ABb0awH0kIQuOUt+NA/
|
|
7
|
-
7iUVeyA4o2YwZDASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAd
|
|
8
|
-
BgNVHQ4EFgQUMtlUKf+st0jgEdxhESpzROwRDW0wHwYDVR0jBBgwFoAUMtlUKf+s
|
|
9
|
-
t0jgEdxhESpzROwRDW0wCgYIKoZIzj0EAwIDRwAwRAIgbjQRULWIJp+zuwOEQgVo
|
|
10
|
-
9Y+3UygTogcwDkylzlR21lwCIDwbk3Vp07JVK7qBCLL9JplP8j4UWTTXVe5Oi+xJ
|
|
11
|
-
japd
|
|
12
|
-
-----END CERTIFICATE-----
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
|
2
|
+
MIIBrzCCAVagAwIBAgIUJT4N8vTRvyxp9rlhfHuY8OOJvB4wCgYIKoZIzj0EAwIw
|
|
3
|
+
JDEiMCAGA1UEAwwZTUNQIERldmljZSBBcHBsaWNhdGlvbiBDQTAeFw0yNjA5MTYx
|
|
4
|
+
NDMyNDVaFw0zNjA5MTMxNDMyNDVaMCQxIjAgBgNVBAMMGU1DUCBEZXZpY2UgQXBw
|
|
5
|
+
bGljYXRpb24gQ0EwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARFvReUGN6fAVYg
|
|
6
|
+
FF4UTn6F7KQ78b9yhkBU9qBy1XEMnCJqpn07rxKQszaB/ABb0awH0kIQuOUt+NA/
|
|
7
|
+
7iUVeyA4o2YwZDASBgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAd
|
|
8
|
+
BgNVHQ4EFgQUMtlUKf+st0jgEdxhESpzROwRDW0wHwYDVR0jBBgwFoAUMtlUKf+s
|
|
9
|
+
t0jgEdxhESpzROwRDW0wCgYIKoZIzj0EAwIDRwAwRAIgbjQRULWIJp+zuwOEQgVo
|
|
10
|
+
9Y+3UygTogcwDkylzlR21lwCIDwbk3Vp07JVK7qBCLL9JplP8j4UWTTXVe5Oi+xJ
|
|
11
|
+
japd
|
|
12
|
+
-----END CERTIFICATE-----
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "2.0.0",
|
|
3
|
-
"description": "Desktop Commander onboarding prompts - V2 simplified (5 prompts only)",
|
|
4
|
-
"prompts": [
|
|
5
|
-
{
|
|
6
|
-
"id": "onb2_01",
|
|
7
|
-
"title": "Organize my Downloads folder",
|
|
8
|
-
"description": "Clean up and organize your messy Downloads folder into relevant subfolders automatically.",
|
|
9
|
-
"prompt": "Let's organize your Downloads folder! \n\nFirst, let me check what we're working with. I'll look at your Downloads folder to see how many files are there and what types.\n\nShould I start by analyzing your Downloads folder?",
|
|
10
|
-
"categories": ["onboarding"],
|
|
11
|
-
"secondaryTag": "Quick Start",
|
|
12
|
-
"votes": 0,
|
|
13
|
-
"gaClicks": 0,
|
|
14
|
-
"icon": "FolderOpen",
|
|
15
|
-
"author": "DC team",
|
|
16
|
-
"verified": true
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"id": "onb2_02",
|
|
20
|
-
"title": "Explain codebase or repository to me",
|
|
21
|
-
"description": "Analyze and explain any codebase - local project or GitHub repository - including architecture, dependencies, and how it works.",
|
|
22
|
-
"prompt": "I'll analyze and explain any codebase for you! 🔍\n\n**What should I analyze?**\n\n*Local project:* `~/work/my-project` (replace with your path)\n*GitHub repo:* `https://github.com/user/repo`\n\nI'll break down the architecture, dependencies, and how everything works together!",
|
|
23
|
-
"categories": ["onboarding"], "secondaryTag": "Code Analysis",
|
|
24
|
-
"votes": 0,
|
|
25
|
-
"gaClicks": 0,
|
|
26
|
-
"icon": "Code",
|
|
27
|
-
"author": "DC team",
|
|
28
|
-
"verified": true
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"id": "onb2_03",
|
|
32
|
-
"title": "Create organized knowledge/documents folder",
|
|
33
|
-
"description": "Set up a well-structured knowledge base or document organization system with templates and suggested categories.",
|
|
34
|
-
"prompt": "Let's create an organized knowledge base! 📚\n\n**Where should I set it up?**\n\n*I suggest: `~/Documents/Knowledge-Base` (replace with your path) or give me a different location.*\n\nI'll create a clean folder structure with templates and organize any existing documents you have!",
|
|
35
|
-
"categories": ["onboarding"],
|
|
36
|
-
"secondaryTag": "Quick Start",
|
|
37
|
-
"votes": 0,
|
|
38
|
-
"gaClicks": 0,
|
|
39
|
-
"icon": "BookOpen",
|
|
40
|
-
"author": "DC team",
|
|
41
|
-
"verified": true
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"id": "onb2_04",
|
|
45
|
-
"title": "Analyze my data file",
|
|
46
|
-
"description": "Upload or point to any data file (CSV, JSON, Excel, etc.) and get comprehensive analysis including patterns, insights, and summary reports.",
|
|
47
|
-
"prompt": "I'll help you analyze your data file! \n\nWhat's the path to your data file? (e.g., `/Users/yourname/data.csv`)\n\nOnce you give me the path, I'll start by checking what type of file it is and show you a quick preview, then we can dive deeper step by step.",
|
|
48
|
-
"categories": ["onboarding"],
|
|
49
|
-
"secondaryTag": "Quick Start",
|
|
50
|
-
"votes": 0,
|
|
51
|
-
"gaClicks": 0,
|
|
52
|
-
"icon": "BarChart3",
|
|
53
|
-
"author": "DC team",
|
|
54
|
-
"verified": true
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"id": "onb2_05",
|
|
58
|
-
"title": "Check system health and resources",
|
|
59
|
-
"description": "Analyze your system's health, resource usage, running processes, and generate a comprehensive system status report.",
|
|
60
|
-
"prompt": "Let me check your system health and resources!\n\nI'll start by looking at your CPU, memory, and disk usage, then check for any performance issues.\n\nShould I begin the system analysis?",
|
|
61
|
-
"categories": ["onboarding"],
|
|
62
|
-
"secondaryTag": "Quick Start",
|
|
63
|
-
"votes": 0,
|
|
64
|
-
"gaClicks": 0,
|
|
65
|
-
"icon": "Activity",
|
|
66
|
-
"author": "DC team",
|
|
67
|
-
"verified": true
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0.0",
|
|
3
|
+
"description": "Desktop Commander onboarding prompts - V2 simplified (5 prompts only)",
|
|
4
|
+
"prompts": [
|
|
5
|
+
{
|
|
6
|
+
"id": "onb2_01",
|
|
7
|
+
"title": "Organize my Downloads folder",
|
|
8
|
+
"description": "Clean up and organize your messy Downloads folder into relevant subfolders automatically.",
|
|
9
|
+
"prompt": "Let's organize your Downloads folder! \n\nFirst, let me check what we're working with. I'll look at your Downloads folder to see how many files are there and what types.\n\nShould I start by analyzing your Downloads folder?",
|
|
10
|
+
"categories": ["onboarding"],
|
|
11
|
+
"secondaryTag": "Quick Start",
|
|
12
|
+
"votes": 0,
|
|
13
|
+
"gaClicks": 0,
|
|
14
|
+
"icon": "FolderOpen",
|
|
15
|
+
"author": "DC team",
|
|
16
|
+
"verified": true
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "onb2_02",
|
|
20
|
+
"title": "Explain codebase or repository to me",
|
|
21
|
+
"description": "Analyze and explain any codebase - local project or GitHub repository - including architecture, dependencies, and how it works.",
|
|
22
|
+
"prompt": "I'll analyze and explain any codebase for you! 🔍\n\n**What should I analyze?**\n\n*Local project:* `~/work/my-project` (replace with your path)\n*GitHub repo:* `https://github.com/user/repo`\n\nI'll break down the architecture, dependencies, and how everything works together!",
|
|
23
|
+
"categories": ["onboarding"], "secondaryTag": "Code Analysis",
|
|
24
|
+
"votes": 0,
|
|
25
|
+
"gaClicks": 0,
|
|
26
|
+
"icon": "Code",
|
|
27
|
+
"author": "DC team",
|
|
28
|
+
"verified": true
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "onb2_03",
|
|
32
|
+
"title": "Create organized knowledge/documents folder",
|
|
33
|
+
"description": "Set up a well-structured knowledge base or document organization system with templates and suggested categories.",
|
|
34
|
+
"prompt": "Let's create an organized knowledge base! 📚\n\n**Where should I set it up?**\n\n*I suggest: `~/Documents/Knowledge-Base` (replace with your path) or give me a different location.*\n\nI'll create a clean folder structure with templates and organize any existing documents you have!",
|
|
35
|
+
"categories": ["onboarding"],
|
|
36
|
+
"secondaryTag": "Quick Start",
|
|
37
|
+
"votes": 0,
|
|
38
|
+
"gaClicks": 0,
|
|
39
|
+
"icon": "BookOpen",
|
|
40
|
+
"author": "DC team",
|
|
41
|
+
"verified": true
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "onb2_04",
|
|
45
|
+
"title": "Analyze my data file",
|
|
46
|
+
"description": "Upload or point to any data file (CSV, JSON, Excel, etc.) and get comprehensive analysis including patterns, insights, and summary reports.",
|
|
47
|
+
"prompt": "I'll help you analyze your data file! \n\nWhat's the path to your data file? (e.g., `/Users/yourname/data.csv`)\n\nOnce you give me the path, I'll start by checking what type of file it is and show you a quick preview, then we can dive deeper step by step.",
|
|
48
|
+
"categories": ["onboarding"],
|
|
49
|
+
"secondaryTag": "Quick Start",
|
|
50
|
+
"votes": 0,
|
|
51
|
+
"gaClicks": 0,
|
|
52
|
+
"icon": "BarChart3",
|
|
53
|
+
"author": "DC team",
|
|
54
|
+
"verified": true
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "onb2_05",
|
|
58
|
+
"title": "Check system health and resources",
|
|
59
|
+
"description": "Analyze your system's health, resource usage, running processes, and generate a comprehensive system status report.",
|
|
60
|
+
"prompt": "Let me check your system health and resources!\n\nI'll start by looking at your CPU, memory, and disk usage, then check for any performance issues.\n\nShould I begin the system analysis?",
|
|
61
|
+
"categories": ["onboarding"],
|
|
62
|
+
"secondaryTag": "Quick Start",
|
|
63
|
+
"votes": 0,
|
|
64
|
+
"gaClicks": 0,
|
|
65
|
+
"icon": "Activity",
|
|
66
|
+
"author": "DC team",
|
|
67
|
+
"verified": true
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
package/dist/error-handlers.js
CHANGED
|
File without changes
|
|
@@ -289,8 +289,8 @@ export async function handleWriteFile(args) {
|
|
|
289
289
|
const lineCount = lines.length;
|
|
290
290
|
let errorMessage = "";
|
|
291
291
|
if (lineCount > MAX_LINES) {
|
|
292
|
-
errorMessage = `✅ File written successfully! (${lineCount} lines)
|
|
293
|
-
|
|
292
|
+
errorMessage = `✅ File written successfully! (${lineCount} lines)
|
|
293
|
+
|
|
294
294
|
💡 Performance tip: For optimal speed, consider chunking files into ≤30 line pieces in future operations.`;
|
|
295
295
|
}
|
|
296
296
|
// Pass the mode parameter to writeFile
|
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/mcp-device.js
CHANGED
|
File without changes
|
package/dist/search-manager.js
CHANGED
|
File without changes
|