@kodycodes/cli 1.0.1 → 1.2.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/README.md +46 -15
- package/dist/add-mcp-install.d.ts +42 -0
- package/dist/add-mcp-install.js +59 -0
- package/dist/add-mcp-install.js.map +1 -0
- package/dist/cli.d.ts +3 -1
- package/dist/cli.js +14 -0
- package/dist/cli.js.map +1 -1
- package/dist/defaults.d.ts +2 -0
- package/dist/defaults.js +4 -0
- package/dist/defaults.js.map +1 -1
- package/dist/detect-running-hosts.d.ts +4 -0
- package/dist/detect-running-hosts.js +13 -0
- package/dist/detect-running-hosts.js.map +1 -0
- package/dist/help.js +10 -2
- package/dist/help.js.map +1 -1
- package/dist/host-catalog.d.ts +27 -0
- package/dist/host-catalog.js +427 -0
- package/dist/host-catalog.js.map +1 -0
- package/dist/host-config.d.ts +23 -0
- package/dist/host-config.js +80 -0
- package/dist/host-config.js.map +1 -0
- package/dist/install-hosts.d.ts +31 -0
- package/dist/install-hosts.js +328 -0
- package/dist/install-hosts.js.map +1 -0
- package/dist/install.d.ts +32 -0
- package/dist/install.js +120 -0
- package/dist/install.js.map +1 -0
- package/dist/onboarding-prompt.d.ts +2 -0
- package/dist/onboarding-prompt.js +15 -0
- package/dist/onboarding-prompt.js.map +1 -0
- package/dist/process-info.d.ts +8 -0
- package/dist/process-info.js +14 -0
- package/dist/process-info.js.map +1 -0
- package/dist/which.d.ts +1 -0
- package/dist/which.js +22 -0
- package/dist/which.js.map +1 -0
- package/package.json +5 -2
- package/skills/kody/SKILL.md +39 -29
package/skills/kody/SKILL.md
CHANGED
|
@@ -1,59 +1,69 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: kody
|
|
3
3
|
description: >
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
Install Kody as a remote MCP server, then use `search` and `execute`
|
|
5
|
+
from the host agent. Use when the user mentions Kody, kody.codes,
|
|
6
|
+
durable agent tasks, or wants to search/execute via Kody.
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# Kody
|
|
9
|
+
# Kody
|
|
10
10
|
|
|
11
|
-
Kody is a remote MCP personal assistant.
|
|
12
|
-
|
|
11
|
+
Kody is a remote MCP personal assistant. **Long term, install it as an MCP
|
|
12
|
+
server in this agent** and call `search` / `execute` directly. Do not keep
|
|
13
|
+
using the CLI as the everyday interface once the server is connected.
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
`@kodycodes/cli` is a bootstrapper: it writes host MCP config and can act as
|
|
16
|
+
a local client when MCP is not available.
|
|
17
|
+
|
|
18
|
+
## Install the MCP server (recommended)
|
|
15
19
|
|
|
16
20
|
```bash
|
|
17
|
-
|
|
18
|
-
# or
|
|
19
|
-
npx @kodycodes/cli --help
|
|
21
|
+
npx @kodycodes/cli install
|
|
20
22
|
```
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
That command lists **running local** agents and writes each host's remote
|
|
25
|
+
MCP entry for `https://kody.codes/mcp`. Host OAuth stays in that client —
|
|
26
|
+
do not run `kody login` for the host connection.
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
After install, prefer the Kody MCP tools in this agent:
|
|
29
|
+
|
|
30
|
+
- `search` — discover capabilities, packages, and entity detail
|
|
31
|
+
- `execute` — run one-off modules against those capabilities
|
|
32
|
+
|
|
33
|
+
Prefer `search` before `execute`. If Kody is already connected here, skip
|
|
34
|
+
the CLI and use those tools.
|
|
35
|
+
|
|
36
|
+
For web-based clients (ChatGPT, Claude.ai, Grok), point the user at
|
|
37
|
+
https://kody.codes/onboarding.
|
|
27
38
|
|
|
28
|
-
|
|
39
|
+
To copy this skill into Claude Code / Cursor / Agents:
|
|
29
40
|
|
|
30
41
|
```bash
|
|
31
|
-
|
|
42
|
+
npx @kodycodes/cli skill install
|
|
32
43
|
```
|
|
33
44
|
|
|
34
|
-
|
|
35
|
-
If a browser cannot open, it prints the URL. Tokens (access + refresh) are
|
|
36
|
-
stored in the OS keychain on macOS, Windows, and Linux. Linux without Secret
|
|
37
|
-
Service falls back to a `0600` file under `$XDG_CONFIG_HOME/kody`.
|
|
45
|
+
## CLI fallback
|
|
38
46
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
## Use Kody
|
|
47
|
+
Use the CLI only for bootstrap, scripting, or when this agent cannot reach
|
|
48
|
+
Kody over MCP.
|
|
42
49
|
|
|
43
50
|
```bash
|
|
51
|
+
npm install -g @kodycodes/cli
|
|
52
|
+
kody login
|
|
44
53
|
kody search "what can you do"
|
|
45
54
|
kody search --domain email
|
|
46
55
|
kody execute --code "import { kody } from 'kody:runtime'\nexport default async function main() { return await kody.search({ query: 'what can you do' }) }"
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
`search` and `execute` are Kody's only MCP tools. Prefer `kody search` before
|
|
50
|
-
`kody execute`. Add `--json` when you need structured output.
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
56
|
kody status
|
|
54
57
|
kody whoami
|
|
55
58
|
kody logout
|
|
56
59
|
```
|
|
57
60
|
|
|
61
|
+
The CLI opens a browser for Kody OAuth (PKCE + Client ID Metadata Documents).
|
|
62
|
+
If a browser cannot open, it prints the URL. Tokens (access + refresh) are
|
|
63
|
+
stored in the OS keychain on macOS, Windows, and Linux. Linux without Secret
|
|
64
|
+
Service falls back to a `0600` file under `$XDG_CONFIG_HOME/kody`.
|
|
65
|
+
|
|
66
|
+
Never ask the user to paste tokens into chat.
|
|
67
|
+
|
|
58
68
|
Override the MCP URL with `--mcp-url` or `KODY_MCP_URL` for preview or local
|
|
59
69
|
servers. Default: `https://kody.codes/mcp`.
|