@neocode-ai/web 1.1.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 +54 -0
- package/astro.config.mjs +145 -0
- package/config.mjs +14 -0
- package/package.json +41 -0
- package/public/robots.txt +6 -0
- package/public/theme.json +183 -0
- package/src/assets/lander/check.svg +2 -0
- package/src/assets/lander/copy.svg +2 -0
- package/src/assets/lander/screenshot-github.png +0 -0
- package/src/assets/lander/screenshot-splash.png +0 -0
- package/src/assets/lander/screenshot-vscode.png +0 -0
- package/src/assets/lander/screenshot.png +0 -0
- package/src/assets/logo-dark.svg +20 -0
- package/src/assets/logo-light.svg +20 -0
- package/src/assets/logo-ornate-dark.svg +18 -0
- package/src/assets/logo-ornate-light.svg +18 -0
- package/src/assets/web/web-homepage-active-session.png +0 -0
- package/src/assets/web/web-homepage-new-session.png +0 -0
- package/src/assets/web/web-homepage-see-servers.png +0 -0
- package/src/components/Head.astro +50 -0
- package/src/components/Header.astro +128 -0
- package/src/components/Hero.astro +11 -0
- package/src/components/Lander.astro +713 -0
- package/src/components/Share.tsx +634 -0
- package/src/components/SiteTitle.astro +59 -0
- package/src/components/icons/custom.tsx +87 -0
- package/src/components/icons/index.tsx +4454 -0
- package/src/components/share/common.tsx +77 -0
- package/src/components/share/content-bash.module.css +85 -0
- package/src/components/share/content-bash.tsx +67 -0
- package/src/components/share/content-code.module.css +26 -0
- package/src/components/share/content-code.tsx +32 -0
- package/src/components/share/content-diff.module.css +153 -0
- package/src/components/share/content-diff.tsx +231 -0
- package/src/components/share/content-error.module.css +64 -0
- package/src/components/share/content-error.tsx +24 -0
- package/src/components/share/content-markdown.module.css +154 -0
- package/src/components/share/content-markdown.tsx +75 -0
- package/src/components/share/content-text.module.css +63 -0
- package/src/components/share/content-text.tsx +37 -0
- package/src/components/share/copy-button.module.css +30 -0
- package/src/components/share/copy-button.tsx +28 -0
- package/src/components/share/part.module.css +428 -0
- package/src/components/share/part.tsx +780 -0
- package/src/components/share.module.css +832 -0
- package/src/content/docs/1-0.mdx +67 -0
- package/src/content/docs/acp.mdx +156 -0
- package/src/content/docs/agents.mdx +720 -0
- package/src/content/docs/cli.mdx +597 -0
- package/src/content/docs/commands.mdx +323 -0
- package/src/content/docs/config.mdx +683 -0
- package/src/content/docs/custom-tools.mdx +170 -0
- package/src/content/docs/ecosystem.mdx +76 -0
- package/src/content/docs/enterprise.mdx +170 -0
- package/src/content/docs/formatters.mdx +130 -0
- package/src/content/docs/github.mdx +321 -0
- package/src/content/docs/gitlab.mdx +195 -0
- package/src/content/docs/ide.mdx +48 -0
- package/src/content/docs/index.mdx +359 -0
- package/src/content/docs/keybinds.mdx +191 -0
- package/src/content/docs/lsp.mdx +188 -0
- package/src/content/docs/mcp-servers.mdx +511 -0
- package/src/content/docs/models.mdx +223 -0
- package/src/content/docs/modes.mdx +331 -0
- package/src/content/docs/network.mdx +57 -0
- package/src/content/docs/permissions.mdx +237 -0
- package/src/content/docs/plugins.mdx +362 -0
- package/src/content/docs/providers.mdx +1889 -0
- package/src/content/docs/rules.mdx +180 -0
- package/src/content/docs/sdk.mdx +391 -0
- package/src/content/docs/server.mdx +286 -0
- package/src/content/docs/share.mdx +128 -0
- package/src/content/docs/skills.mdx +220 -0
- package/src/content/docs/themes.mdx +369 -0
- package/src/content/docs/tools.mdx +345 -0
- package/src/content/docs/troubleshooting.mdx +300 -0
- package/src/content/docs/tui.mdx +390 -0
- package/src/content/docs/web.mdx +136 -0
- package/src/content/docs/windows-wsl.mdx +113 -0
- package/src/content/docs/zen.mdx +251 -0
- package/src/content.config.ts +7 -0
- package/src/pages/[...slug].md.ts +18 -0
- package/src/pages/s/[id].astro +113 -0
- package/src/styles/custom.css +405 -0
- package/src/types/lang-map.d.ts +27 -0
- package/tsconfig.json +9 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Migrating to 1.0
|
|
3
|
+
description: What's new in NeoCode 1.0.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
NeoCode 1.0 is a complete rewrite of the TUI.
|
|
7
|
+
|
|
8
|
+
We moved from the go+bubbletea based TUI which had performance and capability issues to an in-house framework (OpenTUI) written in zig+solidjs.
|
|
9
|
+
|
|
10
|
+
The new TUI works like the old one since it connects to the same neocode server.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Upgrading
|
|
15
|
+
|
|
16
|
+
You should not be autoupgraded to 1.0 if you are currently using a previous
|
|
17
|
+
version. However some older versions of NeoCode always grab latest.
|
|
18
|
+
|
|
19
|
+
To upgrade manually, run
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
$ neocode upgrade 1.0.0
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
To downgrade back to 0.x, run
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
$ neocode upgrade 0.15.31
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## UX changes
|
|
34
|
+
|
|
35
|
+
The session history is more compressed, only showing full details of the edit and bash tool.
|
|
36
|
+
|
|
37
|
+
We added a command bar which almost everything flows through. Press ctrl+p to bring it up in any context and see everything you can do.
|
|
38
|
+
|
|
39
|
+
Added a session sidebar (can be toggled) with useful information.
|
|
40
|
+
|
|
41
|
+
We removed some functionality that we weren't sure anyone actually used. If something important is missing please open an issue and we'll add it back quickly.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Breaking changes
|
|
46
|
+
|
|
47
|
+
### Keybinds renamed
|
|
48
|
+
|
|
49
|
+
- messages_revert -> messages_undo
|
|
50
|
+
- switch_agent -> agent_cycle
|
|
51
|
+
- switch_agent_reverse -> agent_cycle_reverse
|
|
52
|
+
- switch_mode -> agent_cycle
|
|
53
|
+
- switch_mode_reverse -> agent_cycle_reverse
|
|
54
|
+
|
|
55
|
+
### Keybinds removed
|
|
56
|
+
|
|
57
|
+
- messages_layout_toggle
|
|
58
|
+
- messages_next
|
|
59
|
+
- messages_previous
|
|
60
|
+
- file_diff_toggle
|
|
61
|
+
- file_search
|
|
62
|
+
- file_close
|
|
63
|
+
- file_list
|
|
64
|
+
- app_help
|
|
65
|
+
- project_init
|
|
66
|
+
- tool_details
|
|
67
|
+
- thinking_blocks
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: ACP Support
|
|
3
|
+
description: Use NeoCode in any ACP-compatible editor.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
NeoCode supports the [Agent Client Protocol](https://agentclientprotocol.com) or (ACP), allowing you to use it directly in compatible editors and IDEs.
|
|
7
|
+
|
|
8
|
+
:::tip
|
|
9
|
+
For a list of editors and tools that support ACP, check out the [ACP progress report](https://zed.dev/blog/acp-progress-report#available-now).
|
|
10
|
+
:::
|
|
11
|
+
|
|
12
|
+
ACP is an open protocol that standardizes communication between code editors and AI coding agents.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Configure
|
|
17
|
+
|
|
18
|
+
To use NeoCode via ACP, configure your editor to run the `neocode acp` command.
|
|
19
|
+
|
|
20
|
+
The command starts NeoCode as an ACP-compatible subprocess that communicates with your editor over JSON-RPC via stdio.
|
|
21
|
+
|
|
22
|
+
Below are examples for popular editors that support ACP.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
### Zed
|
|
27
|
+
|
|
28
|
+
Add to your [Zed](https://zed.dev) configuration (`~/.config/zed/settings.json`):
|
|
29
|
+
|
|
30
|
+
```json title="~/.config/zed/settings.json"
|
|
31
|
+
{
|
|
32
|
+
"agent_servers": {
|
|
33
|
+
"NeoCode": {
|
|
34
|
+
"command": "neocode",
|
|
35
|
+
"args": ["acp"]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
To open it, use the `agent: new thread` action in the **Command Palette**.
|
|
42
|
+
|
|
43
|
+
You can also bind a keyboard shortcut by editing your `keymap.json`:
|
|
44
|
+
|
|
45
|
+
```json title="keymap.json"
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
|
+
"bindings": {
|
|
49
|
+
"cmd-alt-o": [
|
|
50
|
+
"agent::NewExternalAgentThread",
|
|
51
|
+
{
|
|
52
|
+
"agent": {
|
|
53
|
+
"custom": {
|
|
54
|
+
"name": "NeoCode",
|
|
55
|
+
"command": {
|
|
56
|
+
"command": "neocode",
|
|
57
|
+
"args": ["acp"]
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
### JetBrains IDEs
|
|
71
|
+
|
|
72
|
+
Add to your [JetBrains IDE](https://www.jetbrains.com/) acp.json according to the [documentation](https://www.jetbrains.com/help/ai-assistant/acp.html):
|
|
73
|
+
|
|
74
|
+
```json title="acp.json"
|
|
75
|
+
{
|
|
76
|
+
"agent_servers": {
|
|
77
|
+
"NeoCode": {
|
|
78
|
+
"command": "/absolute/path/bin/neocode",
|
|
79
|
+
"args": ["acp"]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
To open it, use the new 'NeoCode' agent in the AI Chat agent selector.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
### Avante.nvim
|
|
90
|
+
|
|
91
|
+
Add to your [Avante.nvim](https://github.com/yetone/avante.nvim) configuration:
|
|
92
|
+
|
|
93
|
+
```lua
|
|
94
|
+
{
|
|
95
|
+
acp_providers = {
|
|
96
|
+
["neocode"] = {
|
|
97
|
+
command = "neocode",
|
|
98
|
+
args = { "acp" }
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
If you need to pass environment variables:
|
|
105
|
+
|
|
106
|
+
```lua {6-8}
|
|
107
|
+
{
|
|
108
|
+
acp_providers = {
|
|
109
|
+
["neocode"] = {
|
|
110
|
+
command = "neocode",
|
|
111
|
+
args = { "acp" },
|
|
112
|
+
env = {
|
|
113
|
+
NEOCODE_API_KEY = os.getenv("NEOCODE_API_KEY")
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
### CodeCompanion.nvim
|
|
123
|
+
|
|
124
|
+
To use NeoCode as an ACP agent in [CodeCompanion.nvim](https://github.com/olimorris/codecompanion.nvim), add the following to your Neovim config:
|
|
125
|
+
|
|
126
|
+
```lua
|
|
127
|
+
require("codecompanion").setup({
|
|
128
|
+
interactions = {
|
|
129
|
+
chat = {
|
|
130
|
+
adapter = {
|
|
131
|
+
name = "neocode",
|
|
132
|
+
model = "claude-sonnet-4",
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
})
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
This config sets up CodeCompanion to use NeoCode as the ACP agent for chat.
|
|
140
|
+
|
|
141
|
+
If you need to pass environment variables (like `NEOCODE_API_KEY`), refer to [Configuring Adapters: Environment Variables](https://codecompanion.olimorris.dev/getting-started#setting-an-api-key) in the CodeCompanion.nvim documentation for full details.
|
|
142
|
+
|
|
143
|
+
## Support
|
|
144
|
+
|
|
145
|
+
NeoCode works the same via ACP as it does in the terminal. All features are supported:
|
|
146
|
+
|
|
147
|
+
:::note
|
|
148
|
+
Some built-in slash commands like `/undo` and `/redo` are currently unsupported.
|
|
149
|
+
:::
|
|
150
|
+
|
|
151
|
+
- Built-in tools (file operations, terminal commands, etc.)
|
|
152
|
+
- Custom tools and slash commands
|
|
153
|
+
- MCP servers configured in your NeoCode config
|
|
154
|
+
- Project-specific rules from `AGENTS.md`
|
|
155
|
+
- Custom formatters and linters
|
|
156
|
+
- Agents and permissions system
|