@codua/codeoutline-win32-x64 0.2.9 → 0.3.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.
Files changed (33) hide show
  1. package/DISTRIBUTION.md +93 -8
  2. package/README.md +112 -2
  3. package/README.zh-CN.md +86 -2
  4. package/bin/xnet.exe +0 -0
  5. package/build-info.json +1 -1
  6. package/editors/codeoutline.vsix +0 -0
  7. package/editors/zed/extension.toml +15 -0
  8. package/editors/zed/extension.wasm +0 -0
  9. package/package.json +1 -1
  10. package/scripts/codeoutline/agent_config.lua +291 -0
  11. package/scripts/codeoutline/agent_install.lua +195 -0
  12. package/scripts/codeoutline/command.lua +110 -9
  13. package/scripts/codeoutline/completion.lua +66 -20
  14. package/scripts/codeoutline/cpp_types.lua +12 -3
  15. package/scripts/codeoutline/definition_candidates.lua +13 -7
  16. package/scripts/codeoutline/editor_install.lua +168 -0
  17. package/scripts/codeoutline/external_headers.lua +22 -9
  18. package/scripts/codeoutline/foreign.lua +23 -3
  19. package/scripts/codeoutline/idle_gc.lua +45 -0
  20. package/scripts/codeoutline/index.lua +3 -1
  21. package/scripts/codeoutline/index_worker.lua +39 -5
  22. package/scripts/codeoutline/install_prompt.lua +15 -0
  23. package/scripts/codeoutline/lang/cpp.lua +25 -14
  24. package/scripts/codeoutline/lsp.lua +44 -4
  25. package/scripts/codeoutline/lsp_trace.lua +57 -0
  26. package/scripts/codeoutline/navigation.lua +109 -11
  27. package/scripts/codeoutline/service.lua +38 -5
  28. package/scripts/codeoutline/type_references.lua +3 -2
  29. package/scripts/codeoutline/update_sequence.lua +1 -1
  30. package/scripts/codeoutline/version.lua +1 -1
  31. package/scripts/xupgate/client.lua +35 -18
  32. package/scripts/xupgate/common.lua +2 -2
  33. package/scripts/xupgate/http_client.lua +6 -1
package/DISTRIBUTION.md CHANGED
@@ -106,6 +106,33 @@ installation and recovery version. An older npm installation needs one npm upgra
106
106
  to acquire this updater. Updating does not change npm's recorded package version;
107
107
  `codeoutline --version` reports the version actually running.
108
108
 
109
+ Installed self-updates now use readable version directories, for example
110
+ `~/.codeoutline/updates/codeoutline/versions/0.3.1/files/`. npm's own package
111
+ installation directory is unchanged. Local `current.json` uses schema 2:
112
+ `current`/`previous` hold version numbers and their separate `currentIdentity`/
113
+ `previousIdentity` fields retain the signed manifest's SHA-256 identity.
114
+ Signatures, package/file checksums and anti-replay sequences remain enforced.
115
+ An existing version directory cannot be overwritten with a different signed
116
+ release; publish a new version number instead. Process leases and pruning use
117
+ version numbers too. Transport/package hashes and the temporary runtime cache
118
+ remain internal integrity identifiers.
119
+
120
+ The former schema 1 state and hash-named installed directories are deliberately
121
+ unsupported. Existing users must stop the service with `codeoutline uninstall`,
122
+ close clients still running CodeOutline, run `npm uninstall -g codeoutline`,
123
+ remove the old `~/.codeoutline/updates` directory, then install the new package
124
+ with `npm install -g codeoutline --foreground-scripts`. On Windows, the update
125
+ directory is `%USERPROFILE%\\.codeoutline\\updates`. If `CODEOUTLINE_UPDATE_DIR`
126
+ was set, clean that update directory instead. npm uninstall alone does not remove
127
+ this cache. Keep project indexes and agent/editor configuration; they do not
128
+ need migration. Reinstalling registers and starts the shared service again.
129
+ Newly generated signed releases require updater 3, so old updaters reject them
130
+ instead of installing a release with an incompatible on-disk state format.
131
+ Before uploading such a release, the XUpgate server's manifest validator must
132
+ also accept `minUpdater = 3` for full and script packages. A server still using
133
+ the updater-2 validator will reject these uploads; updating this repository does
134
+ not update the separately deployed XUpgate server.
135
+
109
136
  ```sh
110
137
  codeoutline update --check
111
138
  codeoutline update
@@ -156,9 +183,67 @@ package cannot update a Linux or macOS installation.
156
183
 
157
184
  ### Background service and login entry
158
185
 
186
+ Release native packages also include `editors/codeoutline.vsix` and the prebuilt
187
+ Zed WASM client under `editors/zed/`. CI builds both clients before packaging;
188
+ for local release staging, run `pwsh tools/build-editor-assets.ps1` first
189
+ (requires Node.js and Rust with `wasm32-wasip2`). `tools/package.lua` reads
190
+ `dist/editor-assets`, or `EDITOR_ASSETS=PATH`, and refuses release staging if any
191
+ client asset is missing. Preview builds can omit clients.
192
+
193
+ `codeoutline editors --list` detects editor CLIs on PATH and common installation
194
+ locations without changing anything. `codeoutline editors` offers a selection
195
+ when started through the npm launcher in a terminal. Use `--editors all`,
196
+ `--editors none`, or comma-separated `vscode,cursor,zed` for unattended use.
197
+ VS Code and Cursor receive the bundled VSIX through their CLI; Zed receives the
198
+ bundled manifest and WASM in its default `extensions/installed/codeoutline`
199
+ directory and needs a restart. Custom Zed user-data directories are not detected.
200
+ No editor settings are rewritten. Native launchers can use `--editors` directly.
201
+
159
202
  A global npm installation runs `codeoutline install --npm` as its `postinstall`
160
203
  script; local installs, `npx` and `--ignore-scripts` skip it, and it never fails the
161
- installation. `install` registers a login entry for the installation it belongs to
204
+ installation. For global npm setup, the launcher first uses inherited terminal
205
+ stdio, or reconnects npm's piped stdio to the controlling terminal through
206
+ Windows console devices or Unix `/dev/tty`. This makes normal `npm install -g
207
+ codeoutline` interactive without extra flags. `--foreground-scripts` remains a
208
+ fallback for terminal hosts that disallow reconnection. CI never reconnects.
209
+ It first offers AI-tool MCP registration, then editor LSP installation. Each detected application gets
210
+ its own `[Y/n]` confirmation: Enter or `y`/`yes` installs it; `n`/`no` skips only
211
+ that application. EOF skips remaining applications. Interactive removal instead
212
+ defaults to `[y/N]`. Explicit target/editor IDs remain supported and bypass the
213
+ questions. When no AI tools are
214
+ detected, that step is skipped without consuming an answer. After the selections,
215
+ the same postinstall registers and starts the service; no second install command
216
+ is needed. Existing applications may need a restart to load the integrations.
217
+ Without a terminal, global npm setup installs all detected AI/editor integrations
218
+ automatically, so `npm install -g codeoutline` completes setup on its own.
219
+ Explicit `CODEOUTLINE_AGENTS` and `CODEOUTLINE_EDITORS` selections take priority;
220
+ set both to `none` to opt out of integration installation. Local npm installs
221
+ and `--ignore-scripts` still skip setup. `CODEOUTLINE_EDITORS=all|none|LIST`
222
+ selects clients explicitly, independently of `CODEOUTLINE_AUTOSTART=0`.
223
+ Agent MCP registration is a separate selection in that same postinstall:
224
+ `CODEOUTLINE_AGENTS=auto|all|none|IDS`, or an interactive choice when a terminal
225
+ is available. Ordinary unattended global npm installs select detected agents;
226
+ `codeoutline install --yes` detects agents and writes user-level MCP entries.
227
+ `--target` selects explicit IDs, `--location local --project PATH` selects
228
+ project scope where supported, and `--port` is shared by registration and daemon
229
+ startup. `codeoutline agents` provides the same registration without service
230
+ changes; `--list` and `--print ID` are read-only. `agents --target IDS --remove`
231
+ removes only the CodeOutline MCP entry. Service uninstall leaves agent entries
232
+ alone, so remove them separately before removing the package if desired.
233
+
234
+ The installer writes loopback HTTP entries for Claude Code, Cursor, Codex,
235
+ Gemini CLI, OpenCode, Hermes, Kiro, Antigravity and Copilot (VS Code, CLI and
236
+ JetBrains). These all connect to the shared service. It does not change agent
237
+ instructions or tool-approval policy. JSONC comments and unrelated settings are
238
+ preserved; edits use temporary files and atomic replacement, and the original
239
+ nonempty config is backed up once as `<config>.codeoutline.bak`. It plans all
240
+ selected edits first, rejecting malformed configs and conflicting CodeOutline
241
+ entries before any config is changed. `--force` allows replacing a different
242
+ existing CodeOutline entry. Ambiguous inline/dotted TOML and flow-style YAML
243
+ MCP mappings require manual configuration. Generated entries assume an
244
+ unauthenticated local service; custom authentication must be configured manually.
245
+
246
+ `install` registers a login entry for the installation it belongs to
162
247
  (launchers pass it as `CODEOUTLINE_INITIAL`; installed updates are deleted when
163
248
  unused, the initial installation is not), stops a running service and starts
164
249
  `codeoutline daemon` detached. Each login entry runs the daemon once per login:
@@ -249,13 +334,13 @@ Both full bundles and script bundles install into immutable version directories;
249
334
  active executables are never overwritten. `serve` installs in the background and
250
335
  the next launch selects the verified scripts and matching executable.
251
336
 
252
- Script bundles use protocol updater version 2. Existing 0.1.4 initial bootstraps
253
- only understand updater version 1 and safely reject script bundles. They need a
254
- one-time upgrade of the initial bootstrap (npm or native initial installation)
255
- before using script-only updates; merely receiving a full update through the old
256
- bootstrap does not replace that bootstrap. After that upgrade, both script and
257
- executable updates can be delivered solely through XUpgate. Full bundles retain
258
- updater version 1 for compatibility. A script bundle whose exact runtime hashes
337
+ New full and script bundles require protocol updater version 3 and use local
338
+ state schema 2 with version-number directories. Older initial bootstraps safely
339
+ reject these bundles. They require uninstalling, clearing the old update cache
340
+ and reinstalling the new npm or native initial installation as described above;
341
+ an in-place self-update does not replace the initial bootstrap. After reinstalling,
342
+ both script and executable updates can be delivered solely through XUpgate.
343
+ A script bundle whose exact runtime hashes
259
344
  are unavailable locally is rejected, preserving the active version; distribute
260
345
  a compatible full update first. When a script package includes a signed reference
261
346
  to that published full release, clients missing its runtime automatically download
package/README.md CHANGED
@@ -2,7 +2,14 @@
2
2
 
3
3
  English | [简体中文](README.zh-CN.md)
4
4
 
5
- Lightweight code indexing and exploration for coding agents, as an MCP server, and for editors, as a language server. Powered by Lua.
5
+ CodeOutline is a code exploration tool and LSP server, powered by Lua.
6
+
7
+ - **Code exploration (`code_explore`) for coding agents:** the MCP tool
8
+ `codeoutline_explore` returns symbols, line-numbered source, call paths and
9
+ callers/callees. Use `codeoutline explore` for the same exploration from a terminal.
10
+ - **LSP server for editors:** `codeoutline lsp --stdio` provides symbols,
11
+ definitions, references, hover, call hierarchy, completion and signature help.
12
+ Install the bundled clients for VS Code, Cursor or Zed to use it in an editor.
6
13
 
7
14
  CodeOutline answers symbol queries with line-numbered source, call paths, and callers/callees, refreshes incrementally, and caches the index on disk. Editors get symbols, definitions, references, call hierarchy, and completion from the same index through LSP. The MCP protocol with both transports (stdio and Streamable HTTP) and the language server are implemented in Lua, so neither depends on Node; in the npm package, Node only locates and starts the runtime for your platform.
8
15
 
@@ -13,13 +20,109 @@ Requires Node.js 20 or newer. npm downloads the runtime for your platform automa
13
20
  ```sh
14
21
  npm install -g codeoutline
15
22
  codeoutline --version
23
+ codeoutline --help
24
+ ```
25
+
26
+ A normal global install reconnects to the current terminal and asks about each
27
+ detected AI tool and Zed, VS Code or Cursor editor. Each prompt defaults to
28
+ installation. The shared service then starts automatically, without another
29
+ install command. No extra npm flag is normally required.
30
+
31
+ If a terminal host does not allow the installer to reconnect, use npm's explicit
32
+ foreground mode as a compatibility option:
33
+
34
+ ```sh
35
+ npm install -g codeoutline --foreground-scripts
36
+ ```
37
+
38
+ Installation offers two stages in order, confirming each detected application:
39
+
40
+ 1. Detect AI tools and ask whether to install code exploration (`codeoutline_explore`
41
+ over MCP) for each tool, such as `Install code_explore (MCP) for Codex (codex)? [Y/n]`.
42
+ 2. Detect Zed, VS Code and Cursor and ask whether to install their LSP clients.
43
+ Each editor gets its own confirmation, such as `Install CodeOutline LSP for Zed (zed)? [Y/n]`.
44
+
45
+ Every installation prompt defaults to yes: press Enter (or enter `y`/`yes`) to
46
+ install it, or `n`/`no` to skip just that application. Press Enter for every item
47
+ to install all detected integrations. EOF skips remaining applications instead
48
+ of accepting their defaults. Explicit `--target`/`--editors` lists and environment
49
+ selections bypass the per-application prompts. Interactive removal defaults to no.
50
+ The installer then starts/registers the shared service.
51
+ After restarting the selected applications, no additional `codeoutline install`
52
+ command is required. npm runs lifecycle scripts in the background by default:
53
+ The launcher reconnects lifecycle input/output to the controlling terminal
54
+ (`CONIN$`/`CONOUT$` on Windows, `/dev/tty` on Unix) because npm normally pipes
55
+ them. In CI or when no terminal is available, it uses noninteractive setup and
56
+ installs detected integrations automatically unless explicitly overridden. Ordinary
57
+ project-local `npm install codeoutline` does not configure global integrations;
58
+ use the global installation command above for this setup flow.
59
+ You can also choose or install clients later:
60
+
61
+ ```sh
62
+ codeoutline editors # detect and choose interactively
63
+ codeoutline editors --list # only show detected editors
64
+ codeoutline editors --editors all # install for all detected editors
65
+ codeoutline editors --editors vscode # install for VS Code only
66
+ codeoutline editors --editors cursor # install for Cursor only
67
+ codeoutline editors --editors zed # install for Zed only
68
+ codeoutline editors --editors vscode,cursor # install for selected editors
16
69
  ```
17
70
 
71
+ Set `CODEOUTLINE_EDITORS` to
72
+ the same selection for unattended global npm installs; `none` skips clients.
73
+ Without a terminal, installation never waits for a choice. Local npm installs
74
+ do not change editor installations. Clients are bundled in release packages;
75
+ no Rust toolchain or marketplace download is needed. Reload VS Code/Cursor or
76
+ restart Zed afterward. Detection uses PATH and common installation locations;
77
+ for a custom location, add the editor CLI to PATH. Zed uses its default user-data
78
+ directory. Existing editor settings are preserved. The VS Code/Cursor client
79
+ starts with full navigation enabled; set `codeoutline.mode` to `auxiliary` for
80
+ workspace symbols only. See [LSP.md](docs/LSP.md) for server capabilities.
81
+
18
82
  ### Recommended: one shared HTTP service
19
83
 
20
84
  A stdio server is a child process of its client, so every agent session (each Claude Code session, each Cursor window) starts its own copy and builds its own in-memory index. One HTTP service serves all sessions from a single process and a single index.
21
85
 
22
- A global npm installation starts that service in the background and registers it to start at login: a `Run` registry value on Windows, a LaunchAgent on macOS, and a systemd user unit on Linux; without a systemd user manager (WSL, containers), start `codeoutline daemon` at login yourself. The service installs updates and restarts itself into them, so after installation the only setup is registering its URL once.
86
+ A global npm installation starts that service in the background and registers it to start at login: a `Run` registry value on Windows, a LaunchAgent on macOS, and a systemd user unit on Linux; without a systemd user manager (WSL, containers), start `codeoutline daemon` at login yourself. The service installs updates and restarts itself into them. Register agents once:
87
+
88
+ ```sh
89
+ codeoutline install --yes # detect agents, configure MCP, start service
90
+ codeoutline install --target cursor,claude,codex # select agents explicitly
91
+ codeoutline agents # choose interactively, without restarting service
92
+ codeoutline agents --list # inspect detection and config paths
93
+ codeoutline agents --target all # configure all detected agents
94
+ codeoutline agents --print codex # preview one agent's config, no writes
95
+ codeoutline agents --target cursor --remove # remove only CodeOutline's MCP entry
96
+ ```
97
+
98
+ Supported target IDs: `claude`, `cursor`, `codex`, `gemini`, `opencode`, `hermes`,
99
+ `kiro`, `antigravity`, `copilot-vscode`, `copilot-cli`, `copilot-jetbrains`.
100
+ Detection uses existing profile directories/configs and CLI commands on PATH;
101
+ explicit IDs work even when detection misses an application. `all` and `auto`
102
+ select detected targets. `none` skips registration. `install --yes` does not
103
+ install LSP clients unless `--editors` is also specified.
104
+
105
+ Configuration defaults to user scope. Use `--location local --project PATH` for
106
+ project scope; Hermes, Antigravity and Copilot CLI/JetBrains support user scope
107
+ only. `--port` selects the shared service port for both registration and startup.
108
+ `agents` edits configs only; use `install` to start/register the service too.
109
+ Restart the agents after setup so they discover `codeoutline_explore` and the
110
+ other MCP tools. Agent approval controls still apply; no prompt hooks,
111
+ instructions files or auto-approval policies are changed.
112
+
113
+ The installer preserves unrelated settings and JSONC comments and stores the
114
+ original nonempty file in `<config>.codeoutline.bak` before its first change.
115
+ Repeating the same installation leaves configs unchanged. A different existing
116
+ `codeoutline` entry is kept unless `--force` is passed. Complex TOML/YAML layouts
117
+ that cannot be edited safely require manual setup using `agents --print ID`.
118
+ For unattended global npm installation, set `CODEOUTLINE_AGENTS=auto`, `all`,
119
+ `none`, or comma-separated IDs. Without a terminal or an explicit selection,
120
+ global npm setup selects all detected agents and editors. Set both
121
+ `CODEOUTLINE_AGENTS=none` and `CODEOUTLINE_EDITORS=none` to skip integration
122
+ installation, or `--ignore-scripts` to skip the entire npm setup lifecycle.
123
+ Local npm installs skip registration.
124
+
125
+ For manual setup instead:
23
126
 
24
127
  **Claude Code** (added globally, available in every project):
25
128
 
@@ -335,6 +438,13 @@ The service starts parse workers on demand for full scans with at least 32 files
335
438
 
336
439
  The cache lives at `.codeoutline/cache/<SHA-256 of path>.idx` in the user's home directory. It is integrity-checked and rebuilt automatically if corrupt; every write goes to a separate temporary file that atomically replaces the old one, which survives a failed write. Up to 8 projects stay resident by default, and idle ones are evicted after 15 minutes. Directory aliases and links resolve to real absolute paths; on Windows, ASCII case is ignored.
337
440
 
441
+ For isolated cache or memory experiments, set `CODEOUTLINE_MEMORY_CACHE` to a
442
+ cache file path. A nonempty value overrides the embedding API's `cache_path` and
443
+ the default path; empty or unset values preserve normal selection. This is one
444
+ file shared by all projects in that process, so use it only for a single-project
445
+ run, not the shared multi-project service. Source validation and atomic writes
446
+ still apply.
447
+
338
448
  Source encodings are confirmed on demand: the first index pass does not check each file, only the files a query touches. UTF-8 (with or without BOM) is tried first, then strict GBK conversion; a GBK file is reparsed and its symbols updated before the query runs, without modifying the file. Encoding results are cached and invalidated when a file changes, and a matched file that cannot be decoded is reported as an error. When both encodings are valid, UTF-8 wins. GBK files that no query has touched yet may still be misparsed, so Chinese identifiers can be missed; querying the file name triggers its repair.
339
449
 
340
450
  Files are listed with ripgrep (`rg`) when available, honoring every `.gitignore`. Without `rg`, a directory walk supports only the common rules of the root `.gitignore` (no negation, no nested ignore files) and skips hidden directories, `node_modules`, `__pycache__`, and symbolic links. Project root paths must not contain `"`, `%`, `!`, `$`, backticks, backslashes, or line breaks.
package/README.zh-CN.md CHANGED
@@ -2,7 +2,10 @@
2
2
 
3
3
  [English](README.md) | 简体中文
4
4
 
5
- Lightweight code indexing and exploration for coding agents, as an MCP server, and for editors, as a language server. Powered by Lua.
5
+ CodeOutline 是由 Lua 实现的代码探索工具(code_explore)和 LSP Server。
6
+
7
+ - **面向编程智能体的代码探索**:通过 MCP 工具 `codeoutline_explore` 查询符号、带行号的源码、调用路径和上下游关系;终端中可使用 `codeoutline explore` 完成同类查询。
8
+ - **面向编辑器的 LSP Server**:通过 `codeoutline lsp --stdio` 提供符号、定义跳转、引用、悬停、调用层级、补全和签名提示;安装内置的 VS Code、Cursor 或 Zed 客户端即可在编辑器中使用。
6
9
 
7
10
  面向编程智能体的轻量代码索引与查询服务:按符号查询带行号的源码、调用路径和上下游关系,自动增量刷新并缓存到磁盘。编辑器通过 LSP 使用同一套索引,获得符号、定义跳转、引用、调用层级和补全。MCP 协议(含 stdio 与 Streamable HTTP 传输)和语言服务器均由 Lua 实现,运行不依赖 Node;npm 包中的 Node 只负责找到对应平台的程序并启动。
8
11
 
@@ -13,13 +16,89 @@ Lightweight code indexing and exploration for coding agents, as an MCP server, a
13
16
  ```sh
14
17
  npm install -g codeoutline
15
18
  codeoutline --version
19
+ codeoutline --help
20
+ ```
21
+
22
+ 普通全局安装会连接当前终端,对检测到的每个 AI 工具和 Zed、VS Code、Cursor 逐项询问,
23
+ 每项默认安装。随后自动启动共享服务,无需额外参数或再次执行安装命令。
24
+
25
+ 如果某个终端环境不允许安装器连接当前终端,可使用 npm 的前台模式作为兼容选项:
26
+
27
+ ```sh
28
+ npm install -g codeoutline --foreground-scripts
16
29
  ```
17
30
 
31
+ 安装过程中会按两个阶段依次检测,并对每个应用单独确认:
32
+
33
+ 1. 检测 AI 工具,逐个提示是否安装代码探索功能(通过 MCP 提供 `codeoutline_explore`),例如 `Install code_explore (MCP) for Codex (codex)? [Y/n]`。
34
+ 2. 检测 Zed、VS Code、Cursor,逐个提示是否安装 LSP 客户端,例如 `Install CodeOutline LSP for Zed (zed)? [Y/n]`。
35
+
36
+ 每项默认安装:直接回车或输入 `y/yes` 即安装,输入 `n/no` 只跳过当前应用。
37
+ 每项都回车即可安装全部检测结果;输入结束(EOF)则跳过剩余项目,不会自动接受默认值。
38
+ 指定 `--target`、`--editors` 列表或对应环境变量时,直接按指定范围处理,不逐项询问。
39
+ 交互移除配置时默认不移除,需明确输入 `y`。
40
+ 随后会自动启动共享服务并登记自启动。重启所选 AI 工具、重载或重启编辑器后即可使用,
41
+ 无需再次执行 `codeoutline install`。
42
+ npm 默认会重定向安装脚本的输入输出;启动器会尝试连接控制终端
43
+ (Windows 的 `CONIN$`/`CONOUT$`,Unix 的 `/dev/tty`),因此通常不需要 `--foreground-scripts` 也能交互。
44
+ 只有在 CI 或确实没有可用终端时,才自动安装全部检测到的集成;环境变量选择仍然优先。
45
+ 普通项目级 `npm install codeoutline` 不会配置全局集成,请使用上面的全局安装命令完成这套流程。
46
+ 以后也可以再次交互选择,或直接指定编辑器:
47
+
48
+ ```sh
49
+ codeoutline editors # 检测并交互选择
50
+ codeoutline editors --list # 只查看检测结果
51
+ codeoutline editors --editors all # 为全部检测到的编辑器安装
52
+ codeoutline editors --editors vscode # 只安装 VS Code 客户端
53
+ codeoutline editors --editors cursor # 只安装 Cursor 客户端
54
+ codeoutline editors --editors zed # 只安装 Zed 客户端
55
+ codeoutline editors --editors vscode,cursor # 指定多个编辑器,用逗号分隔
56
+ ```
57
+
58
+ 无人值守的全局 npm 安装可设置环境变量 `CODEOUTLINE_EDITORS` 为同样的选择,`none` 表示跳过。
59
+ 没有交互终端时不会等待输入,本地 npm 安装不会修改编辑器安装。
60
+ 发布包内置客户端,无需 Rust 工具链或从扩展市场下载。
61
+ 完成后重载 VS Code/Cursor 窗口或重启 Zed。检测覆盖 PATH 和常见安装位置;
62
+ 自定义位置请把编辑器 CLI 加入 PATH。Zed 使用默认用户数据目录,已有编辑器设置会保留。
63
+ VS Code/Cursor 客户端默认启用完整导航;如只需工作区符号搜索,可将 `codeoutline.mode` 设为 `auxiliary`。服务端能力见 [LSP.md](docs/LSP.md)。
64
+
18
65
  ### 推荐:共享一个 HTTP 服务
19
66
 
20
67
  stdio 服务是客户端的子进程,每个智能体会话(每个 Claude Code 会话、每个 Cursor 窗口)都会各自启动一份,并各自建一份内存索引。HTTP 服务只用一个进程、一份索引,供所有会话共用。
21
68
 
22
- 通过 npm 全局安装时,会在后台启动这个服务,并登记为登录时自动启动:Windows 写入注册表 `Run` 项,macOS 添加 LaunchAgent,Linux 添加 systemd 用户单元;没有 systemd 用户管理器时(WSL、容器),请自行在登录时运行 `codeoutline daemon`。服务会自行安装更新并重启到新版本,因此安装后只需登记一次它的地址。
69
+ 通过 npm 全局安装时,会在后台启动这个服务,并登记为登录时自动启动:Windows 写入注册表 `Run` 项,macOS 添加 LaunchAgent,Linux 添加 systemd 用户单元;没有 systemd 用户管理器时(WSL、容器),请自行在登录时运行 `codeoutline daemon`。服务会自行安装更新并重启到新版本。Agent 只需注册一次:
70
+
71
+ ```sh
72
+ codeoutline install --yes # 自动检测 Agent、配置 MCP 并启动服务
73
+ codeoutline install --target cursor,claude,codex # 指定需要配置的 Agent
74
+ codeoutline agents # 交互选择,不重启服务
75
+ codeoutline agents --list # 查看检测结果和配置路径
76
+ codeoutline agents --target all # 为全部检测到的 Agent 配置 MCP
77
+ codeoutline agents --print codex # 只预览配置,不写文件
78
+ codeoutline agents --target cursor --remove # 只移除 CodeOutline 的 MCP 配置项
79
+ ```
80
+
81
+ 支持的目标标识:`claude`、`cursor`、`codex`、`gemini`、`opencode`、`hermes`、
82
+ `kiro`、`antigravity`、`copilot-vscode`、`copilot-cli`、`copilot-jetbrains`。
83
+ 检测依据为已有应用配置目录、配置文件或 PATH 上的 CLI;未检测到时也可显式指定标识。
84
+ `all`、`auto` 表示全部检测到的目标,`none` 表示跳过。
85
+ `install --yes` 默认不安装 LSP 客户端,需要时另加 `--editors all` 或指定编辑器。
86
+
87
+ 默认写入用户级配置;使用 `--location local --project PATH` 可写入项目级配置,
88
+ Hermes、Antigravity、Copilot CLI 和 Copilot JetBrains 仅支持用户级。
89
+ `--port` 同时指定注册地址和服务启动端口。`agents` 只编辑配置,`install` 还会启动服务并登记自启动。
90
+ 完成后重启对应 Agent,即可发现 `codeoutline_explore` 等 MCP 工具;应用自身的工具审批仍然有效。
91
+ 安装器不会添加提示钩子、修改指令文件或自动放行权限。
92
+
93
+ 已有其他设置和 JSONC 注释会保留;首次修改非空配置文件前,会保存原始文件到 `<配置文件>.codeoutline.bak`。
94
+ 重复安装同样配置不会重写文件;已有不同的 `codeoutline` 配置会保留,需要显式加 `--force` 才替换。
95
+ 不能安全编辑的复杂 TOML/YAML 布局会提示使用 `agents --print 标识` 手动配置。
96
+ 无人值守的全局 npm 安装可设置 `CODEOUTLINE_AGENTS` 为 `auto`、`all`、`none` 或逗号分隔的目标标识;
97
+ 没有终端且未指定选择时,全局 npm 安装默认处理全部检测到的 Agent 和编辑器。
98
+ 将 `CODEOUTLINE_AGENTS` 和 `CODEOUTLINE_EDITORS` 都设为 `none` 可跳过集成安装,
99
+ 或使用 `--ignore-scripts` 跳过整个安装配置流程。本地 npm 安装不会注册 Agent。
100
+
101
+ 也可以手动配置:
23
102
 
24
103
  **Claude Code**(全局添加,在任意项目中可用):
25
104
 
@@ -168,6 +247,11 @@ stdio 模式下 stdout 只输出 MCP 消息,日志写入 stderr。HTTP 默认
168
247
 
169
248
  缓存位于用户目录 `.codeoutline/cache/<路径 SHA-256>.idx`,带完整性校验,损坏后自动重建;每次写入独立临时文件再原子替换,失败时保留旧文件。默认最多驻留 8 个项目,空闲 15 分钟淘汰。服务使用真实绝对路径统一目录别名与链接,Windows 上忽略 ASCII 大小写。
170
249
 
250
+ 进行隔离缓存或内存实验时,可将 `CODEOUTLINE_MEMORY_CACHE` 设为缓存文件路径。
251
+ 非空值优先于嵌入 API 的 `cache_path` 和默认路径;空值或未设置时沿用正常路径选择。
252
+ 它为该进程的所有项目指定同一个文件,因此只适用于单项目运行,不适用于共享多项目服务。
253
+ 缓存仍会校验源项目并使用原子写入。
254
+
171
255
  源码编码按需确认:首次索引不逐个检查编码,查询涉及文件时才确认,UTF-8(含 BOM)优先,失败后严格转码 GBK,重新解析并更新该文件的符号后再执行本次查询,不修改原文件。编码结果随缓存保存,文件改变后失效;无法解码的命中文件会明确报错。两种编码都合法时默认 UTF-8。未被查询过的 GBK 文件仍可能有误解析,中文标识符可能漏匹配;用文件名查询可触发该文件的修正。
172
256
 
173
257
  优先用 ripgrep(`rg`)枚举文件并遵守各级 `.gitignore`;未安装 `rg` 时改用目录遍历,只支持根目录 `.gitignore` 的常见规则(不支持否定规则与嵌套忽略文件),并跳过隐藏目录、`node_modules`、`__pycache__` 与符号链接。项目根路径不能包含 `"`、`%`、`!`、`$`、反引号、反斜杠或换行。
package/bin/xnet.exe CHANGED
Binary file
package/build-info.json CHANGED
@@ -1 +1 @@
1
- {"runtimeCommit":"be18042e9091379bf45624771a4e8819d2709f84","runtimeBuild":"b9b847244c68283df56e7858fe3daaafd35b756f0ff67cfa379f998133ddf29d","lua":"LuaJIT 2.1.1774896198","sourceCommit":"f7ae0ff2a99fa2402c9c5671e217082348e81ae5","version":"0.2.9","sourceDirty":false,"releaseReady":true,"note":"Release build from a clean checkout","target":"win32-x64","sha256":{"scripts/codeoutline/go_modules.lua":"5aafa1c8607edfa12a79ad3c49db677f79e790582cb51d1e796da7783c656c0f","scripts/codeoutline/completion.lua":"39d0de57b50b8e521b2cb41e16c102e618408648cd6a097bae43e36309bb4d14","scripts/codeoutline/search_ranking.lua":"2ea52d55e55f7de757cfb998f77eaa713ca19c5318b8d8470772c914fad9cb10","codeoutline.cmd":"607b60c6d107becdb6793df8f41aaf2cff944baf69f5ece59dba990d0f24c13b","scripts/codeoutline/graph.lua":"80fe8ec1d9aaaf1858a2590337ddba9f2a4209781c4a9b44967a6055ee6b6b9e","scripts/codeoutline/control.lua":"b67a2e382e021f0793ef313aa4e71faab76f6cb77ca127f499d01ae96f36a8db","keys/update-ca.crt":"d9b5ec3d4628de9c5559871f39841a5f84d47c53ded4d58d6e3bba2b4c669a02","scripts/codeoutline/lua_literal.lua":"5fdd90a872988622337410c7e516d41b789ce4326c4aa6dddcd61998fe5aef90","scripts/codeoutline/shared_events.lua":"46a3f5780d12daed660138aa0cb769d727ceff9156916ca3c703928f036e5255","scripts/codeoutline/coverage.lua":"3a4a0e5f5ea8b7ea4a0be62c7c1a202153cf0c5c3423f78b100aecbb39513d5e","licenses/libdeflate.txt":"41b60f2caab6bffdd5ba360687bd23ca653c0a1235c00380ecffc939b4cd8d75","scripts/codeoutline/main.lua":"3ac12632697d9e7559f5a7f754d0d101b6515fbde93f2c67787359b9e802d1d0","scripts/codeoutline/cpp_bindings.lua":"7b359807322fca1d6769bd34c58ae914404dc1bcf67decad9ec6519fde25432b","scripts/codeoutline/text.lua":"56ee63c7b4cc63fe12d8ecd5b99410281463cdba8ca112f484e402ca6dfc5b90","scripts/codeoutline/js_evidence.lua":"abb87a3b3ccfc1bb4fcaf771ae91aed5636fec1d73cabeebdec8c7af3227e6b5","scripts/codeoutline/mcp.lua":"397476810877b39297ea476c555a3c80353a7122e766ca5adc7af5d81cf8a8b6","scripts/codeoutline/cpp_fragments.lua":"025bc03f9d48eec3d310366d3c58f77871a989a55ba3538a3f0664b3b4c62d7b","scripts/xupgate/proxy.lua":"5bf532e7005f44555d6a5277336e5ad395af060585c13a1cdc2441de50e0dcff","scripts/codeoutline/ts_implementations.lua":"b908020c17b68a2ef5a8b41732ce39e487105e90ade366b9d1f708b75257d06e","scripts/codeoutline/js_resolution.lua":"770326d43d87369ba2ea06300d23bf45a073707aa91d81fff316f010ce1057b2","scripts/codeoutline/navigation.lua":"16f10a108cbb76ff938e556ec4cb5fab2b1a8e0b7c7afc6422962787aff4f908","scripts/codeoutline/cpp_implementations.lua":"c3f59e25512816cf52aad69333f6b3ae882ba8747f6ce74b083f928301316572","scripts/codeoutline/type_bases.lua":"470fdcfffc3ded8bd3c9608db6128539757c91692bc714173dbb1bcdf8344e36","README.md":"48292c6c12d40512128f30173b4bbf8dae7a20071c69e577e7372bd067ee8710","scripts/codeoutline/js_workspace.lua":"fe59bfde1d22357432079dfef33f88c63da8e435e13c5ca97d4dc8c3e5638278","scripts/codeoutline/cpp_includes.lua":"f8bd2016ff040b7f8bd8a3f844baa4fbf0fcc850eb3b1c33b106696c4be92a5d","THIRD_PARTY.md":"a0d596a8600c5244b27c1426a81b4ec7046d213d733ec6b4287a4b1e8db501b5","scripts/codeoutline/type_references.lua":"e9a42c462e1d7b8b5e975c6862903ef993799bd363e560d2227e272a4ab0a95f","scripts/codeoutline/cpp_macros.lua":"41dbcc249d184c2f36be3c3b009a6c6347f7fafd4197e45ceafd3ad7a06af55c","scripts/codeoutline/type_uses.lua":"5c6e2b3279cc4345b6ab33986b38d3717fd56fe82c1d36c9da495bcb22183695","scripts/codeoutline/cpp_receivers.lua":"6bafebc87579d8514a0d36492dbbe65e9346688f228062c86d87053dacaa37e3","codeoutline":"3d3970e488e077e8acd67d174b506a361d43578b3360c7b29f2ec3f0103ba899","DISTRIBUTION.md":"da4a1048fc9b44670fd6fcef97e7d92ac3f50d3523da1773930c49f7e2c38dc3","scripts/codeoutline/updater.lua":"267c4b6e9704fce710f44d1bfceac69c1857e34e064d8444d7890f0e10d921c7","README.zh-CN.md":"b3a203e2356e0bf1e164cfbc9b112a796f61dd3e451ccc11a63255a5a455c583","scripts/codeoutline/lang/c.lua":"2b0efa1ab8a162cdafa293b1f51ded5c528705cea2e2d6c93647498ba0e250b1","scripts/codeoutline/cpp_types.lua":"7e8f53b9eab7600501c9884076f9026850d30155063b88e56dd366c6d4d2f888","licenses/mbedtls.txt":"9b405ef4c89342f5eae1dd828882f931747f71001cfba7d114801039b52ad09b","scripts/codeoutline/update_sequence.lua":"6bf7759e55d008da910886102771e7b2d0fadcfc87dcb4e499bb8e685622d2e3","scripts/xupgate/common.lua":"86267648c0dbbd3a05f90de4d6e1dbee53ba57bf4801783c2ae636224b1f228c","licenses/luajit.txt":"1b10a02c9474cb908da2d87bc908edd8798f9ad28d9a8c53fbd05c13227f7394","LICENSE":"1b63179362acd482b4a9a07ca526b3fce6d9103dcded361de2159ade174568b6","scripts/codeoutline/lang/cpp.lua":"569bd76a5db69d003fe3df9e999e01da106101de362e30cd092acf3075b81f99","scripts/codeoutline/update_worker.lua":"7e2ec28e4b911d7b90fd97d0a4c0e2f5b295d1a9200c5c7250e47a99139ca550","licenses/xnet2lua.txt":"1aa8af3df70f60f1ebf2d23e14c27af1606057ad9c32a9a0d15fd76cff257532","lib/xhttp_codec.lua":"a5b0f127105ba6dbd4a518a214ca55e22c7510e6b2fc8c25c325898d8346ef8c","scripts/codeoutline/on_demand.lua":"c8ce74ef29f7fb1fc4973a40e22b994c43310308d7f446dfe42428a96f7b8b9d","keys/update-public.pem":"7ff853339e19631b20ed3fa2cf221daa31c581e2e84d161b344b8f06de6562a8","scripts/codeoutline/daemon.lua":"06863991135cc9a85f07bca8310296f0df9e415b3e2de97ae006393e777b009b","scripts/xupgate/signature.lua":"f07de8a4093d08cc69d3c1d8296d23318c5d81344ece788d4453a9b3b700f000","scripts/xupgate/http_codec.lua":"a5b0f127105ba6dbd4a518a214ca55e22c7510e6b2fc8c25c325898d8346ef8c","scripts/codeoutline/ordinary_bindings.lua":"9c0d05619262882b448abe7fb0ad4da652a287cbfbac220d5ec152278b9acced","scripts/xupgate/http_client.lua":"a189506c3d0fcc454f5e001fdeecdd6349a1019ea0970d11ce2fbfdf035166d6","scripts/codeoutline/xscan.lua":"bd95a1b0b7022d029a41aab615897502478b5834612505e8d299343cb5ca8ef9","scripts/codeoutline/definition_candidates.lua":"449cbcf85f67a82a90bb2461346c3656518417b27ff66440bf7298ca0bf8c964","licenses/lua-cmsgpack.txt":"8edfdc5282278a1268d8a6ee52f9245f1a5fe3d1c8065be00330196b1de49873","scripts/codeoutline/parse.lua":"490e8c4a208c6eaacb0f1db80e7d0b95cc5f54c9c00fcbfd90934e466a598fe9","scripts/codeoutline/documents.lua":"618a8d150341442d0c37f3966ea6a856c78bf91ccaedd507ff563b26c7059c4f","scripts/codeoutline/version.lua":"143a2906936177e0a7b3cef3de192ec6ca4141650be50540ae005efd79b38fbb","scripts/codeoutline/type_hierarchy.lua":"ba6c62d162e10a5b251492568a2bbab8cef46cf70a96deacb3e0893ff0e44851","scripts/codeoutline/dispatch_aliases.lua":"0383f3de71ed1774c73c08fdc57e408afbd6b146b9beff96a4c2cf6aefda7000","scripts/codeoutline/parse_pool.lua":"4dd16132fa0ac96bd1abda33d1be237d8139095b31addfb81094df8c5e69b92f","scripts/codeoutline/static_dispatch.lua":"0c34302427c36cdb15249c047ae238722752040ac3d5e074fd433f278d75062e","scripts/codeoutline/service.lua":"17703f945472d905a9aa1a4071ecf362ec18872d7c61c933ec2ecdab5ed41f41","scripts/codeoutline/http.lua":"3d957628ecc9592d57cc68a61e5d4229a71da501eb8fb3aa0bbb5e1cd772adf0","scripts/xupgate/client.lua":"967c29c1eeebd8596458025ab3237816a91591cca64236ea0e7ba1762814e6ba","scripts/codeoutline/parse_worker.lua":"c8099bca90f0ce5069257d72065f2c61089526bedfe89e341f610e5c3f5320c0","scripts/codeoutline/rules.lua":"b01402863062435a6d31a4a5a90208319876fdb444a76c75fd0c45ea8ee6fee5","scripts/codeoutline/automatic_events.lua":"d23e61985bc4ddbfd1d4b6b9c46e9ed815b68476415866390cc59b2dd048c912","scripts/codeoutline/index_worker.lua":"7a2746e97bbb13f0fdf1731bc2aeecb3de1113266b6aadef91e61da312a4d618","scripts/codeoutline/query_report.lua":"49c92aa2a1b3410e02dba8fd7ba2a11c8b7d02979895faf766501fd5039a57d1","scripts/codeoutline/path.lua":"407bd960c1ad04e5006b321ce33263393bb40eee5dee5c123be9b36d3ad10937","scripts/codeoutline/explore.lua":"ef25b9085b73a7db34e2d09f6a3669d3a1ecb9ca51e63ed84aa1ec8162d7af23","scripts/codeoutline/implementations.lua":"cc5ce71c13fdbfd12c03257bd8ca799f981147e5594a5e1f0ed90721e9a09e2b","scripts/codeoutline/cache_repairs.lua":"7e31a6118c3e991382ae2751a8b1d4913bcbf4e24d35f56253f46e156e8420a5","scripts/codeoutline/csharp_bindings.lua":"3a237f9a04c4cc2277ebfcbe902bdefecff125ef4a7c8d2d55e8284e916db0ab","scripts/codeoutline/python_bindings.lua":"d54cb346d1814af0e8b85b98d6f92faf8a6c2eadf02127764b2554f74c03c940","scripts/codeoutline/affected.lua":"4fafc905d93c6006519f230bfb874c0477a68c32357a75ae36c8a80c2e48f172","scripts/codeoutline/lang/lua.lua":"f50a169549475d5d71f8af920feeb82797e8f24ccfe0c3f416abc5a32e942713","scripts/codeoutline/lua_callback_loops.lua":"b499abed79b482c577684e537ad9583914a94863fc886302a2baa2213e89481a","scripts/codeoutline/callers.lua":"a822bc0dcad44b5fdf263d5a988a68259a1db6159eaf4c2152236e5670c27b4f","scripts/codeoutline/query_filters.lua":"dfaac210f8ebf53d0e4515866b0128a77ff77cb0c8d7d558b71a4eaf9f2b32ef","scripts/codeoutline/go_methods.lua":"b59746ee5e28170f790f44226bbc1b732d513b72278b994c96d65966c01126db","scripts/codeoutline/index.lua":"eb83b16432cf70bad5491a30ea4aa8adbaefdd84247cc1aa569c6e4e0ed3dd6a","scripts/codeoutline/lang/python.lua":"1ae8f1658e25220ec4d952c17ed817bfc92d0c45d4585d3dd4716d5585b60cc6","bin/xnet.exe":"012f715f6085a38d4896f498cb079befa0b746361bd7dbe98c8495d4a037540b","scripts/codeoutline/cargo_toml.lua":"78f4f8bcf14f8db80bdac9fc2568988372d3cca222f82b34708f5330c00c8771","scripts/codeoutline/lang/js.lua":"6bb90ca153fd43ac8ed0777fe6f62a9ab36c740dc19caa8654d7541e0c14b1cf","scripts/codeoutline/function_values.lua":"63dec69e905545217afdcfd4a073b92e0956b39fd34b8d2808db1043256eb8e1","scripts/codeoutline/foreign_lua.lua":"03640aa84ba2ba628a5b0d8a7f66285fe308107fdd196862164d29d7e4129660","scripts/codeoutline/lang/rust.lua":"c7c3ae20ef9b4e1ce1466c6f36c3507f760995e58bede2c9b06f0f68e33d7308","scripts/codeoutline/resolution.lua":"ec137a38abfdcb7f366861a123480a3b3125a76acf7399a784f8fb207e833d0b","scripts/codeoutline/cli.lua":"f7ac4addd32ced58069954cb81edd4836c6043bb5d143683b80bd7b11554c733","scripts/codeoutline/lang/csharp.lua":"5adffb1d563323d6aeae5339b1f3b8d33b07bc99a66e24c710aaa6b5983825f6","scripts/codeoutline/foreign.lua":"a3eab94b652b94dfe2a11c2c33f0744201decdbb84fcbb6d2ef244f2826e9b6e","scripts/codeoutline/lang/go.lua":"3a62d4dc451b0d2f7f2aefd5e77d11449a5d725f59379728eba8dda0aacc13f3","scripts/codeoutline/language_detect.lua":"87fb472a0a4c29ce6e838354480f59646af33c6d21771e9d3650a4a3d8cf9e0f","scripts/codeoutline/lang/java.lua":"0ea34298770cb3431f4bc3521c4d2ecf363d55e768d6cd30b3f11ad05d7e8f0d","scripts/codeoutline/command.lua":"17a39679944eac004f546b953ec0fd4890e769817d3a6eee50d8c212bb2d6b7f","scripts/codeoutline/external_headers.lua":"0a24c81611847c3370b80bc027c2f86e5c670a8a5d8d0dda51893e89ffe84592","scripts/codeoutline/lang/kotlin.lua":"cefaad1c412cb42ea6b2027ad9f81ad38d8d821f05c1cfde7f89c600d745a708","scripts/codeoutline/rust_packages.lua":"a0cca64e8f3fe37364655158c0f7f5e40ada2a1d1864e3e9f4b1e9d91b88eeef","scripts/codeoutline/lsp.lua":"24fed84201eaa3c5dc45adfef8f515398ca3ec0534d9740251f1da8ce8177b14","scripts/codeoutline/lua_bindings.lua":"4d3dedd9ad664bbaa516e99119bc8bcc557f918995f83679f0408b2e4b42df9c","scripts/codeoutline/common.lua":"7647faecf2d37b7836d9fc6b1f75146d29f1d63ba9182685c19c1f19e33373d9","scripts/codeoutline/indirect.lua":"3bd5086427d0adb22b53f89a24031bfbfe3a18b0f2b4d41b4e1e03279695b7f7","scripts/codeoutline/rust_resolution.lua":"90be2ef14a7c1de357baae026d819f0053cae8eb475947d779ba519461e3c265"},"updateSequence":18}
1
+ {"target":"win32-x64","sourceDirty":false,"sha256":{"scripts/codeoutline/cpp_types.lua":"4138c5e2884164b4be35fba1de35e396c4481124ef2f22b4093ba3611ffb012d","scripts/codeoutline/shared_events.lua":"46a3f5780d12daed660138aa0cb769d727ceff9156916ca3c703928f036e5255","scripts/codeoutline/csharp_bindings.lua":"3a237f9a04c4cc2277ebfcbe902bdefecff125ef4a7c8d2d55e8284e916db0ab","scripts/codeoutline/static_dispatch.lua":"0c34302427c36cdb15249c047ae238722752040ac3d5e074fd433f278d75062e","scripts/codeoutline/mcp.lua":"397476810877b39297ea476c555a3c80353a7122e766ca5adc7af5d81cf8a8b6","scripts/codeoutline/daemon.lua":"06863991135cc9a85f07bca8310296f0df9e415b3e2de97ae006393e777b009b","scripts/codeoutline/lang/c.lua":"2b0efa1ab8a162cdafa293b1f51ded5c528705cea2e2d6c93647498ba0e250b1","scripts/codeoutline/text.lua":"56ee63c7b4cc63fe12d8ecd5b99410281463cdba8ca112f484e402ca6dfc5b90","scripts/codeoutline/navigation.lua":"eae12c00f6251b11515f308fed693b4adae8e6d528e3cc3a9616f49684cfef7c","scripts/codeoutline/definition_candidates.lua":"c3efccb79ae4ce55229e048004f037798db3ca255a1e2efc2ce904468b31372d","scripts/codeoutline/agent_config.lua":"af2e47265e8934057b2d30d79f0672205089c7c7d4bf3aebca4c657579345b80","scripts/codeoutline/on_demand.lua":"c8ce74ef29f7fb1fc4973a40e22b994c43310308d7f446dfe42428a96f7b8b9d","codeoutline":"3d3970e488e077e8acd67d174b506a361d43578b3360c7b29f2ec3f0103ba899","scripts/codeoutline/dispatch_aliases.lua":"0383f3de71ed1774c73c08fdc57e408afbd6b146b9beff96a4c2cf6aefda7000","codeoutline.cmd":"607b60c6d107becdb6793df8f41aaf2cff944baf69f5ece59dba990d0f24c13b","scripts/codeoutline/agent_install.lua":"b7c672a0adc20dfc2d7486581b4ba3e6af16bd992f2457f6f1fccab8158eba66","editors/zed/extension.wasm":"d8aac62200ecdf0dccc725f03a6ca70dd9893dbcbfbc566d1442927960df0f70","scripts/codeoutline/ordinary_bindings.lua":"9c0d05619262882b448abe7fb0ad4da652a287cbfbac220d5ec152278b9acced","editors/zed/extension.toml":"2c5e28806d71e03b0c421d35b8a9aa9e1d428038417aebd7bdf3c871b22d93f4","scripts/codeoutline/documents.lua":"618a8d150341442d0c37f3966ea6a856c78bf91ccaedd507ff563b26c7059c4f","licenses/lua-cmsgpack.txt":"8edfdc5282278a1268d8a6ee52f9245f1a5fe3d1c8065be00330196b1de49873","scripts/codeoutline/lang/go.lua":"3a62d4dc451b0d2f7f2aefd5e77d11449a5d725f59379728eba8dda0aacc13f3","editors/codeoutline.vsix":"0196b8c80765c4ed9120e113d6d0b8e1889ef25d135f2b229636b6996c698c9e","scripts/codeoutline/parse.lua":"490e8c4a208c6eaacb0f1db80e7d0b95cc5f54c9c00fcbfd90934e466a598fe9","scripts/codeoutline/idle_gc.lua":"2025b037b593b5e19714b6e283c8a0490146e591de795988a543a161277714f1","scripts/codeoutline/editor_install.lua":"ca236e0a5e0924278ac868a5702ae9ce3ad257e562ca977d284a798f0bc1528b","licenses/mbedtls.txt":"9b405ef4c89342f5eae1dd828882f931747f71001cfba7d114801039b52ad09b","scripts/codeoutline/lang/java.lua":"0ea34298770cb3431f4bc3521c4d2ecf363d55e768d6cd30b3f11ad05d7e8f0d","DISTRIBUTION.md":"456bdf058daf5252fef0a5d1d9a0d0dc016aa769631f9593474b2573bff3ccd8","scripts/codeoutline/graph.lua":"80fe8ec1d9aaaf1858a2590337ddba9f2a4209781c4a9b44967a6055ee6b6b9e","scripts/codeoutline/go_modules.lua":"5aafa1c8607edfa12a79ad3c49db677f79e790582cb51d1e796da7783c656c0f","scripts/codeoutline/explore.lua":"ef25b9085b73a7db34e2d09f6a3669d3a1ecb9ca51e63ed84aa1ec8162d7af23","scripts/codeoutline/query_filters.lua":"dfaac210f8ebf53d0e4515866b0128a77ff77cb0c8d7d558b71a4eaf9f2b32ef","scripts/codeoutline/lang/js.lua":"6bb90ca153fd43ac8ed0777fe6f62a9ab36c740dc19caa8654d7541e0c14b1cf","scripts/codeoutline/command.lua":"1a8da743af798cf0decfb48780c7fc988546df3d61146c42fff3f0249181f510","scripts/codeoutline/cli.lua":"f7ac4addd32ced58069954cb81edd4836c6043bb5d143683b80bd7b11554c733","scripts/codeoutline/control.lua":"b67a2e382e021f0793ef313aa4e71faab76f6cb77ca127f499d01ae96f36a8db","scripts/codeoutline/external_headers.lua":"158fc3acf2e08651a1f735644b49042d7e4b019f48b996c396572de295e1d54d","scripts/codeoutline/type_bases.lua":"470fdcfffc3ded8bd3c9608db6128539757c91692bc714173dbb1bcdf8344e36","scripts/codeoutline/lang/kotlin.lua":"cefaad1c412cb42ea6b2027ad9f81ad38d8d821f05c1cfde7f89c600d745a708","scripts/codeoutline/type_hierarchy.lua":"ba6c62d162e10a5b251492568a2bbab8cef46cf70a96deacb3e0893ff0e44851","scripts/codeoutline/type_references.lua":"f737373c7c14cd4c9df7a434991ccd3cb27f32bc8d4b86d93e3b5ffb0248c684","scripts/xupgate/signature.lua":"f07de8a4093d08cc69d3c1d8296d23318c5d81344ece788d4453a9b3b700f000","scripts/codeoutline/foreign.lua":"fef5c377dc89bafa45f8d74976488213b270465c62095db53b0d7582a4b704f8","scripts/codeoutline/indirect.lua":"3bd5086427d0adb22b53f89a24031bfbfe3a18b0f2b4d41b4e1e03279695b7f7","scripts/codeoutline/lang/lua.lua":"f50a169549475d5d71f8af920feeb82797e8f24ccfe0c3f416abc5a32e942713","scripts/codeoutline/cpp_includes.lua":"f8bd2016ff040b7f8bd8a3f844baa4fbf0fcc850eb3b1c33b106696c4be92a5d","scripts/codeoutline/http.lua":"3d957628ecc9592d57cc68a61e5d4229a71da501eb8fb3aa0bbb5e1cd772adf0","scripts/codeoutline/go_methods.lua":"b59746ee5e28170f790f44226bbc1b732d513b72278b994c96d65966c01126db","scripts/codeoutline/foreign_lua.lua":"03640aa84ba2ba628a5b0d8a7f66285fe308107fdd196862164d29d7e4129660","scripts/codeoutline/parse_worker.lua":"c8099bca90f0ce5069257d72065f2c61089526bedfe89e341f610e5c3f5320c0","scripts/codeoutline/lang/python.lua":"1ae8f1658e25220ec4d952c17ed817bfc92d0c45d4585d3dd4716d5585b60cc6","scripts/codeoutline/xscan.lua":"bd95a1b0b7022d029a41aab615897502478b5834612505e8d299343cb5ca8ef9","scripts/codeoutline/version.lua":"ca8f064c457c01b3e31471b143b912dacdc1918746f799854e4ed99a85e24b34","scripts/codeoutline/update_worker.lua":"7e2ec28e4b911d7b90fd97d0a4c0e2f5b295d1a9200c5c7250e47a99139ca550","scripts/codeoutline/query_report.lua":"49c92aa2a1b3410e02dba8fd7ba2a11c8b7d02979895faf766501fd5039a57d1","scripts/codeoutline/update_sequence.lua":"c477b0882a0975df9f467ccf3633589beb25d90405e1b3747e3a8cb77ee832f4","scripts/codeoutline/common.lua":"7647faecf2d37b7836d9fc6b1f75146d29f1d63ba9182685c19c1f19e33373d9","scripts/codeoutline/updater.lua":"267c4b6e9704fce710f44d1bfceac69c1857e34e064d8444d7890f0e10d921c7","scripts/codeoutline/type_uses.lua":"5c6e2b3279cc4345b6ab33986b38d3717fd56fe82c1d36c9da495bcb22183695","keys/update-public.pem":"7ff853339e19631b20ed3fa2cf221daa31c581e2e84d161b344b8f06de6562a8","scripts/codeoutline/resolution.lua":"ec137a38abfdcb7f366861a123480a3b3125a76acf7399a784f8fb207e833d0b","keys/update-ca.crt":"d9b5ec3d4628de9c5559871f39841a5f84d47c53ded4d58d6e3bba2b4c669a02","scripts/codeoutline/completion.lua":"e8783edab01d5261db727a2abbf0fae2c73daacfd80b9404aa245196971ec760","lib/xhttp_codec.lua":"a5b0f127105ba6dbd4a518a214ca55e22c7510e6b2fc8c25c325898d8346ef8c","scripts/codeoutline/ts_implementations.lua":"b908020c17b68a2ef5a8b41732ce39e487105e90ade366b9d1f708b75257d06e","licenses/xnet2lua.txt":"1aa8af3df70f60f1ebf2d23e14c27af1606057ad9c32a9a0d15fd76cff257532","scripts/codeoutline/rules.lua":"b01402863062435a6d31a4a5a90208319876fdb444a76c75fd0c45ea8ee6fee5","licenses/libdeflate.txt":"41b60f2caab6bffdd5ba360687bd23ca653c0a1235c00380ecffc939b4cd8d75","scripts/codeoutline/lsp.lua":"a87e7437f70354e46163b6efff4522699194bee78f046f71abfdfdc557969b66","LICENSE":"1b63179362acd482b4a9a07ca526b3fce6d9103dcded361de2159ade174568b6","scripts/codeoutline/python_bindings.lua":"d54cb346d1814af0e8b85b98d6f92faf8a6c2eadf02127764b2554f74c03c940","licenses/luajit.txt":"1b10a02c9474cb908da2d87bc908edd8798f9ad28d9a8c53fbd05c13227f7394","scripts/codeoutline/rust_packages.lua":"a0cca64e8f3fe37364655158c0f7f5e40ada2a1d1864e3e9f4b1e9d91b88eeef","scripts/codeoutline/path.lua":"407bd960c1ad04e5006b321ce33263393bb40eee5dee5c123be9b36d3ad10937","scripts/codeoutline/lsp_trace.lua":"41e6e67866eb6c862cf11337a637a94505f62a29533a9dbd6226d3b801444597","scripts/xupgate/client.lua":"2b60bfb9cb6cc3e7edaf77b87f4483fe3437516c53abdc2f461eaf87a18e9871","scripts/codeoutline/parse_pool.lua":"4dd16132fa0ac96bd1abda33d1be237d8139095b31addfb81094df8c5e69b92f","bin/xnet.exe":"195de7e029e894b0d45f723f6e10d5d98f2eb8845ca9c821865f92019966e9ce","scripts/codeoutline/rust_resolution.lua":"90be2ef14a7c1de357baae026d819f0053cae8eb475947d779ba519461e3c265","scripts/codeoutline/affected.lua":"4fafc905d93c6006519f230bfb874c0477a68c32357a75ae36c8a80c2e48f172","scripts/codeoutline/lua_bindings.lua":"4d3dedd9ad664bbaa516e99119bc8bcc557f918995f83679f0408b2e4b42df9c","scripts/codeoutline/callers.lua":"a822bc0dcad44b5fdf263d5a988a68259a1db6159eaf4c2152236e5670c27b4f","scripts/codeoutline/cpp_receivers.lua":"6bafebc87579d8514a0d36492dbbe65e9346688f228062c86d87053dacaa37e3","scripts/xupgate/common.lua":"e449f64c92e4ef46d0c9f4c815aacb38866392cbc3502544d3a1985f9dc4f978","scripts/codeoutline/search_ranking.lua":"2ea52d55e55f7de757cfb998f77eaa713ca19c5318b8d8470772c914fad9cb10","README.md":"67c95ff48313962e8c5a25e6fd63d6c3c32406665e930f54b4a30aaf18330f77","scripts/codeoutline/lua_callback_loops.lua":"b499abed79b482c577684e537ad9583914a94863fc886302a2baa2213e89481a","README.zh-CN.md":"8401eaddc256b4950229b00abca73d9af87530e4dc9c132cc900cf22635357bd","scripts/codeoutline/cpp_macros.lua":"41dbcc249d184c2f36be3c3b009a6c6347f7fafd4197e45ceafd3ad7a06af55c","scripts/xupgate/http_client.lua":"e910132b82779969926f959fc876da4aa4807559f91d1d01d32b263f1784e01d","scripts/codeoutline/cargo_toml.lua":"78f4f8bcf14f8db80bdac9fc2568988372d3cca222f82b34708f5330c00c8771","THIRD_PARTY.md":"a0d596a8600c5244b27c1426a81b4ec7046d213d733ec6b4287a4b1e8db501b5","scripts/codeoutline/lua_literal.lua":"5fdd90a872988622337410c7e516d41b789ce4326c4aa6dddcd61998fe5aef90","scripts/codeoutline/implementations.lua":"cc5ce71c13fdbfd12c03257bd8ca799f981147e5594a5e1f0ed90721e9a09e2b","scripts/xupgate/http_codec.lua":"a5b0f127105ba6dbd4a518a214ca55e22c7510e6b2fc8c25c325898d8346ef8c","scripts/codeoutline/index.lua":"490f6a91210d58cc81b822b2a8786aed776553b9382948b627f41a288dcebdf6","scripts/codeoutline/function_values.lua":"63dec69e905545217afdcfd4a073b92e0956b39fd34b8d2808db1043256eb8e1","scripts/codeoutline/index_worker.lua":"c7eaa1d7c52d29c9fbdbd03ffeb88f74bc6c7d99a67a0eab43d83bb4f9d9c21e","scripts/codeoutline/main.lua":"3ac12632697d9e7559f5a7f754d0d101b6515fbde93f2c67787359b9e802d1d0","scripts/xupgate/proxy.lua":"5bf532e7005f44555d6a5277336e5ad395af060585c13a1cdc2441de50e0dcff","scripts/codeoutline/cpp_implementations.lua":"c3f59e25512816cf52aad69333f6b3ae882ba8747f6ce74b083f928301316572","scripts/codeoutline/install_prompt.lua":"588c90cd2955756b13a96e1f0d17145a51eda239c9cf179d5eac195532ee9f49","scripts/codeoutline/cache_repairs.lua":"7e31a6118c3e991382ae2751a8b1d4913bcbf4e24d35f56253f46e156e8420a5","scripts/codeoutline/js_evidence.lua":"abb87a3b3ccfc1bb4fcaf771ae91aed5636fec1d73cabeebdec8c7af3227e6b5","scripts/codeoutline/js_resolution.lua":"770326d43d87369ba2ea06300d23bf45a073707aa91d81fff316f010ce1057b2","scripts/codeoutline/cpp_fragments.lua":"025bc03f9d48eec3d310366d3c58f77871a989a55ba3538a3f0664b3b4c62d7b","scripts/codeoutline/cpp_bindings.lua":"7b359807322fca1d6769bd34c58ae914404dc1bcf67decad9ec6519fde25432b","scripts/codeoutline/automatic_events.lua":"d23e61985bc4ddbfd1d4b6b9c46e9ed815b68476415866390cc59b2dd048c912","scripts/codeoutline/lang/cpp.lua":"a159d1d306cf30d39258ea05452fbdf36759d42498ba16a852b03a0f3005cc60","scripts/codeoutline/lang/csharp.lua":"5adffb1d563323d6aeae5339b1f3b8d33b07bc99a66e24c710aaa6b5983825f6","scripts/codeoutline/js_workspace.lua":"fe59bfde1d22357432079dfef33f88c63da8e435e13c5ca97d4dc8c3e5638278","scripts/codeoutline/coverage.lua":"3a4a0e5f5ea8b7ea4a0be62c7c1a202153cf0c5c3423f78b100aecbb39513d5e","scripts/codeoutline/service.lua":"ae6d50c7b59d0e844147f187b6becc40d87d052564d9405af61b8cdfa4f6da06","scripts/codeoutline/lang/rust.lua":"c7c3ae20ef9b4e1ce1466c6f36c3507f760995e58bede2c9b06f0f68e33d7308","scripts/codeoutline/language_detect.lua":"87fb472a0a4c29ce6e838354480f59646af33c6d21771e9d3650a4a3d8cf9e0f"},"note":"Release build from a clean checkout","updateSequence":20,"version":"0.3.1","releaseReady":true,"runtimeCommit":"be18042e9091379bf45624771a4e8819d2709f84","runtimeBuild":"b9b847244c68283df56e7858fe3daaafd35b756f0ff67cfa379f998133ddf29d","lua":"LuaJIT 2.1.1774896198","sourceCommit":"d9f2308c7159126dc867c6e7b8f8ebdd0e07e01d"}
Binary file
@@ -0,0 +1,15 @@
1
+ id = "codeoutline"
2
+ name = "CodeOutline"
3
+ description = "Index-backed navigation and completion: symbols, definitions, hover, references, call hierarchy."
4
+ version = "0.2.0"
5
+ schema_version = 1
6
+ authors = ["chib <chib@foxmail.com>"]
7
+ repository = "https://github.com/1dao/codeoutline"
8
+
9
+ [language_servers.codeoutline]
10
+ name = "CodeOutline"
11
+ languages = ["ArkTS", "C", "C++", "C#", "Go", "Java", "JavaScript", "Kotlin", "Lua", "Python", "Rust", "TSX", "TypeScript"]
12
+
13
+ [lib]
14
+ kind = "Rust"
15
+ version = "0.7.0"
Binary file
package/package.json CHANGED
@@ -1 +1 @@
1
- {"repository":{"url":"git+https://github.com/1dao/codeoutline.git","type":"git"},"name":"@codua/codeoutline-win32-x64","version":"0.2.9","files":["bin/","lib/","keys/","scripts/","licenses/","LICENSE","codeoutline","codeoutline.cmd","build-info.json","*.md"],"publishConfig":{"access":"public"},"description":"CodeOutline native runtime and Lua implementation for win32-x64","os":["win32"],"cpu":["x64","arm64"],"license":"BSD-2-Clause"}
1
+ {"publishConfig":{"access":"public"},"name":"@codua/codeoutline-win32-x64","cpu":["x64","arm64"],"license":"BSD-2-Clause","version":"0.3.1","repository":{"url":"git+https://github.com/1dao/codeoutline.git","type":"git"},"os":["win32"],"description":"CodeOutline native runtime and Lua implementation for win32-x64","files":["bin/","lib/","keys/","scripts/","editors/","licenses/","LICENSE","codeoutline","codeoutline.cmd","build-info.json","*.md"]}