@codua/codeoutline-win32-x64 0.3.1 → 0.3.2

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/DISTRIBUTION.md CHANGED
@@ -117,15 +117,16 @@ release; publish a new version number instead. Process leases and pruning use
117
117
  version numbers too. Transport/package hashes and the temporary runtime cache
118
118
  remain internal integrity identifiers.
119
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.
120
+ When a new bootstrap finds former schema 1 state, it runs the initial npm/native
121
+ installation instead of activating hash-named cached code. It preserves the
122
+ highest accepted update sequence; the next successful update writes schema 2.
123
+ Startup does not rewrite the old state or remove old files and leases that
124
+ running processes may still use. Upgrade the initial installation with
125
+ `npm install -g codeoutline --foreground-scripts`; clearing the update cache is
126
+ not required. After stopping old processes, obsolete hash-named directories can
127
+ be removed manually from `~/.codeoutline/updates/codeoutline/versions`.
128
+ Keep project indexes and agent/editor configuration. Reinstalling registers
129
+ and starts the shared service again.
129
130
  Newly generated signed releases require updater 3, so old updaters reject them
130
131
  instead of installing a release with an incompatible on-disk state format.
131
132
  Before uploading such a release, the XUpgate server's manifest validator must
@@ -201,11 +202,11 @@ No editor settings are rewritten. Native launchers can use `--editors` directly.
201
202
 
202
203
  A global npm installation runs `codeoutline install --npm` as its `postinstall`
203
204
  script; local installs, `npx` and `--ignore-scripts` skip it, and it never fails the
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.
205
+ installation. For interactive global npm setup, use `npm install -g codeoutline
206
+ --foreground-scripts`. The launcher only prompts with inherited terminal input
207
+ and output. It never reopens console devices while npm owns terminal input;
208
+ a valid console handle alone does not guarantee usable interactive input.
209
+ Default background lifecycle scripts and CI use noninteractive setup.
209
210
  It first offers AI-tool MCP registration, then editor LSP installation. Each detected application gets
210
211
  its own `[Y/n]` confirmation: Enter or `y`/`yes` installs it; `n`/`no` skips only
211
212
  that application. EOF skips remaining applications. Interactive removal instead
@@ -228,8 +229,10 @@ is available. Ordinary unattended global npm installs select detected agents;
228
229
  project scope where supported, and `--port` is shared by registration and daemon
229
230
  startup. `codeoutline agents` provides the same registration without service
230
231
  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.
232
+ removes only the CodeOutline MCP entry. `codeoutline uninstall` removes detected
233
+ user-level MCP entries and editor clients along with the service; use
234
+ `--service-only` to preserve integrations, or `--project PATH` to also remove
235
+ project-scoped MCP entries. Unrelated configuration and original backups remain.
233
236
 
234
237
  The installer writes loopback HTTP entries for Claude Code, Cursor, Codex,
235
238
  Gemini CLI, OpenCode, Hermes, Kiro, Antigravity and Copilot (VS Code, CLI and
@@ -261,6 +264,16 @@ initial installation when an npm upgrade made it newer) and exits if a service
261
264
  already answers on its port: Windows lets a second process bind a port the runtime
262
265
  listens on. `codeoutline uninstall` removes the entry and asks the daemon to exit
263
266
  by creating `~/.codeoutline/service-<port>.stop`, which it checks every second.
267
+ It then removes user-level Agent registrations and default-profile VS Code/Cursor
268
+ extensions, plus Zed's installed extension, work/staging directories and generated
269
+ registry entry. Each cleanup failure is reported and makes the command fail;
270
+ other integrations are still attempted. Reload/close editors to release active
271
+ LSP processes. `--purge` additionally removes the default `~/.codeoutline` state
272
+ directory only after all cleanup steps succeed; linked state/extension directories
273
+ are rejected. Custom data directories, other editor profiles, remote extensions
274
+ and project scopes not named with `--project` require separate cleanup.
275
+ Run this command before `npm uninstall -g codeoutline`: npm 7+ has no uninstall
276
+ lifecycle hooks, so a package cannot attach automatic cleanup to that command.
264
277
  Services from 0.1.7 and earlier ignore that file; they exit after installing an
265
278
  update. `CODEOUTLINE_AUTOSTART=0` skips the login entry; with `--npm` it also skips
266
279
  starting the service.
@@ -336,8 +349,7 @@ the next launch selects the verified scripts and matching executable.
336
349
 
337
350
  New full and script bundles require protocol updater version 3 and use local
338
351
  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;
352
+ reject these bundles. Upgrade the npm or native initial installation as described above;
341
353
  an in-place self-update does not replace the initial bootstrap. After reinstalling,
342
354
  both script and executable updates can be delivered solely through XUpgate.
343
355
  A script bundle whose exact runtime hashes
package/README.md CHANGED
@@ -23,13 +23,9 @@ codeoutline --version
23
23
  codeoutline --help
24
24
  ```
25
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:
26
+ To choose each detected AI tool and Zed, VS Code or Cursor editor during global
27
+ installation, use npm's foreground mode. Each prompt defaults to installation.
28
+ The shared service then starts automatically, without another install command:
33
29
 
34
30
  ```sh
35
31
  npm install -g codeoutline --foreground-scripts
@@ -49,10 +45,10 @@ of accepting their defaults. Explicit `--target`/`--editors` lists and environme
49
45
  selections bypass the per-application prompts. Interactive removal defaults to no.
50
46
  The installer then starts/registers the shared service.
51
47
  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
48
+ command is required. npm runs lifecycle scripts in the background by default.
49
+ The launcher only prompts when it inherits terminal input and output; it does
50
+ not reopen the controlling console while npm owns it. Without
51
+ `--foreground-scripts`, in CI or when no terminal is available, it uses noninteractive setup and
56
52
  installs detected integrations automatically unless explicitly overridden. Ordinary
57
53
  project-local `npm install codeoutline` does not configure global integrations;
58
54
  use the global installation command above for this setup flow.
@@ -136,7 +132,17 @@ claude mcp add --transport http codeoutline --scope user http://127.0.0.1:19876/
136
132
  { "mcpServers": { "codeoutline": { "url": "http://127.0.0.1:19876/mcp" } } }
137
133
  ```
138
134
 
139
- `codeoutline install` does the same for a native installation, or after installing with `--ignore-scripts`; `--port` selects a port other than 19876. Set `CODEOUTLINE_AUTOSTART=0` when installing to skip the login entry. `codeoutline uninstall` stops the service and removes the entry; run it before `npm uninstall -g codeoutline`, which does not run package scripts. The service logs to `~/.codeoutline/logs`.
135
+ `codeoutline install` does the same for a native installation, or after installing with `--ignore-scripts`; `--port` selects a port other than 19876. Set `CODEOUTLINE_AUTOSTART=0` when installing to skip the login entry. The service logs to `~/.codeoutline/logs`.
136
+
137
+ To uninstall, first run `codeoutline uninstall`, then `npm uninstall -g codeoutline`.
138
+ The first command stops the service, removes its login entry, user-level Agent MCP
139
+ entries and the VS Code/Cursor/Zed clients. Use `--purge` to also remove
140
+ `~/.codeoutline` caches, updates and logs, or `--service-only` to keep integrations.
141
+ Use `--project PATH` to also remove MCP registrations in a specific project.
142
+ Close/reload editors to release running LSP processes before deleting package files.
143
+ Other editor profiles, remote installations, custom data directories and original
144
+ configuration backups require separate cleanup. npm 7+ has no uninstall hooks;
145
+ running only `npm uninstall` cannot clean integrations or stop the service.
140
146
 
141
147
  The service listens on `127.0.0.1:19876` and serves projects anywhere on the machine, so switching between projects on different drives needs no configuration. Only local processes can reach it, and they already have your file access. A shared service has no project of its own: it uses the client's roots when the client provides them, and otherwise the agent passes `projectPath`, which the tools ask for when it is missing.
142
148
 
package/README.zh-CN.md CHANGED
@@ -19,10 +19,8 @@ codeoutline --version
19
19
  codeoutline --help
20
20
  ```
21
21
 
22
- 普通全局安装会连接当前终端,对检测到的每个 AI 工具和 Zed、VS Code、Cursor 逐项询问,
23
- 每项默认安装。随后自动启动共享服务,无需额外参数或再次执行安装命令。
24
-
25
- 如果某个终端环境不允许安装器连接当前终端,可使用 npm 的前台模式作为兼容选项:
22
+ 如需在全局安装时对检测到的每个 AI 工具和 Zed、VS Code、Cursor 逐项确认,
23
+ 请使用 npm 的前台模式。每项默认安装,随后自动启动共享服务,无需再次执行安装命令:
26
24
 
27
25
  ```sh
28
26
  npm install -g codeoutline --foreground-scripts
@@ -39,9 +37,9 @@ npm install -g codeoutline --foreground-scripts
39
37
  交互移除配置时默认不移除,需明确输入 `y`。
40
38
  随后会自动启动共享服务并登记自启动。重启所选 AI 工具、重载或重启编辑器后即可使用,
41
39
  无需再次执行 `codeoutline install`。
42
- npm 默认会重定向安装脚本的输入输出;启动器会尝试连接控制终端
43
- (Windows 的 `CONIN$`/`CONOUT$`,Unix 的 `/dev/tty`),因此通常不需要 `--foreground-scripts` 也能交互。
44
- 只有在 CI 或确实没有可用终端时,才自动安装全部检测到的集成;环境变量选择仍然优先。
40
+ npm 默认在后台运行安装脚本并重定向输入输出;启动器只在继承的输入输出均为终端时询问,
41
+ 不会在 npm 占用终端时重新打开控制台,避免显示提示却无法输入。
42
+ 未加 `--foreground-scripts`、在 CI 或没有可用终端时,自动安装全部检测到的集成;环境变量选择仍然优先。
45
43
  普通项目级 `npm install codeoutline` 不会配置全局集成,请使用上面的全局安装命令完成这套流程。
46
44
  以后也可以再次交互选择,或直接指定编辑器:
47
45
 
@@ -112,7 +110,16 @@ claude mcp add --transport http codeoutline --scope user http://127.0.0.1:19876/
112
110
  { "mcpServers": { "codeoutline": { "url": "http://127.0.0.1:19876/mcp" } } }
113
111
  ```
114
112
 
115
- 原生安装或使用 `--ignore-scripts` 安装后,运行 `codeoutline install` 完成同样的操作;`--port` 可指定 19876 以外的端口。安装时设置 `CODEOUTLINE_AUTOSTART=0` 可不登记自启动。`codeoutline uninstall` 会停止服务并删除自启动项;`npm uninstall -g codeoutline` 不会运行包脚本,请先运行它。服务日志位于 `~/.codeoutline/logs`。
113
+ 原生安装或使用 `--ignore-scripts` 安装后,运行 `codeoutline install` 完成同样的操作;`--port` 可指定 19876 以外的端口。安装时设置 `CODEOUTLINE_AUTOSTART=0` 可不登记自启动。服务日志位于 `~/.codeoutline/logs`。
114
+
115
+ 卸载时先运行 `codeoutline uninstall`,再运行 `npm uninstall -g codeoutline`。
116
+ 第一步停止服务、移除自启动项、用户级 Agent MCP 配置及 VS Code/Cursor/Zed 客户端。
117
+ 添加 `--purge` 同时清理 `~/.codeoutline` 下的缓存、更新和日志;
118
+ 使用 `--service-only` 则仅移除服务,保留集成。
119
+ 添加 `--project PATH` 可同时移除指定项目的 MCP 注册。
120
+ 删除包文件前请关闭或重载编辑器,以释放运行中的 LSP 进程。
121
+ 其他编辑器配置档、远程安装、自定义数据目录和原始配置备份需单独清理。
122
+ npm 7+ 不执行卸载钩子,仅运行 `npm uninstall` 不会清理集成或停止服务。
116
123
 
117
124
  服务监听 `127.0.0.1:19876`,可访问本机任意位置的项目,在不同盘的项目之间切换无需额外配置;只有本机进程能连到它,而本机进程本来就有你的文件访问权限。共享服务没有自己的项目:客户端提供 roots 时使用 roots,否则由智能体传入 `projectPath`,缺少时工具会提示需要它。
118
125
 
package/bin/xnet.exe CHANGED
Binary file
package/build-info.json CHANGED
@@ -1 +1 @@
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"}
1
+ {"runtimeCommit":"be18042e9091379bf45624771a4e8819d2709f84","runtimeBuild":"b9b847244c68283df56e7858fe3daaafd35b756f0ff67cfa379f998133ddf29d","lua":"LuaJIT 2.1.1774896198","sourceCommit":"1ab25f9c8244ac582d415c85279975fe0fa2ab07","version":"0.3.2","sourceDirty":false,"releaseReady":true,"note":"Release build from a clean checkout","sha256":{"scripts/codeoutline/command.lua":"60f62364218fe9fb53f7ca743afeba318733a7b3f0fdf0759819141fc70cbc84","scripts/codeoutline/query_filters.lua":"dfaac210f8ebf53d0e4515866b0128a77ff77cb0c8d7d558b71a4eaf9f2b32ef","scripts/codeoutline/function_values.lua":"63dec69e905545217afdcfd4a073b92e0956b39fd34b8d2808db1043256eb8e1","scripts/codeoutline/common.lua":"7647faecf2d37b7836d9fc6b1f75146d29f1d63ba9182685c19c1f19e33373d9","scripts/codeoutline/query_report.lua":"49c92aa2a1b3410e02dba8fd7ba2a11c8b7d02979895faf766501fd5039a57d1","codeoutline.cmd":"b5c478ca9836e81a5af1b435af57ac660c5098f451e65bc13523376729fb3aab","scripts/codeoutline/go_methods.lua":"b59746ee5e28170f790f44226bbc1b732d513b72278b994c96d65966c01126db","scripts/codeoutline/completion.lua":"e8783edab01d5261db727a2abbf0fae2c73daacfd80b9404aa245196971ec760","scripts/codeoutline/resolution.lua":"ec137a38abfdcb7f366861a123480a3b3125a76acf7399a784f8fb207e833d0b","scripts/codeoutline/go_modules.lua":"5aafa1c8607edfa12a79ad3c49db677f79e790582cb51d1e796da7783c656c0f","scripts/codeoutline/control.lua":"b67a2e382e021f0793ef313aa4e71faab76f6cb77ca127f499d01ae96f36a8db","scripts/codeoutline/affected.lua":"4fafc905d93c6006519f230bfb874c0477a68c32357a75ae36c8a80c2e48f172","scripts/codeoutline/lang/python.lua":"1ae8f1658e25220ec4d952c17ed817bfc92d0c45d4585d3dd4716d5585b60cc6","scripts/codeoutline/coverage.lua":"3a4a0e5f5ea8b7ea4a0be62c7c1a202153cf0c5c3423f78b100aecbb39513d5e","editors/codeoutline.vsix":"c32d718b103a636b40796fa174d95a6598b3eb60293b499caedf7d0e2168c0b2","scripts/codeoutline/rust_packages.lua":"a0cca64e8f3fe37364655158c0f7f5e40ada2a1d1864e3e9f4b1e9d91b88eeef","codeoutline":"e1d9cca7695562784bfa4da08cecbbf20b210c2d1f35967f3533221f9486eabc","scripts/codeoutline/lang/rust.lua":"c7c3ae20ef9b4e1ce1466c6f36c3507f760995e58bede2c9b06f0f68e33d7308","editors/zed/extension.wasm":"d8aac62200ecdf0dccc725f03a6ca70dd9893dbcbfbc566d1442927960df0f70","scripts/codeoutline/cpp_bindings.lua":"7b359807322fca1d6769bd34c58ae914404dc1bcf67decad9ec6519fde25432b","THIRD_PARTY.md":"a0d596a8600c5244b27c1426a81b4ec7046d213d733ec6b4287a4b1e8db501b5","editors/zed/extension.toml":"2c5e28806d71e03b0c421d35b8a9aa9e1d428038417aebd7bdf3c871b22d93f4","DISTRIBUTION.md":"ef566b2bebcecfd9f396e21564676c18fa48378942d69036bffc17899b7859d4","scripts/codeoutline/language_detect.lua":"87fb472a0a4c29ce6e838354480f59646af33c6d21771e9d3650a4a3d8cf9e0f","README.zh-CN.md":"a9d970cddd5ec76861d7a60087ae5eed2b056d4cad669ba694e00f93ee4ebac5","scripts/codeoutline/cpp_fragments.lua":"025bc03f9d48eec3d310366d3c58f77871a989a55ba3538a3f0664b3b4c62d7b","scripts/codeoutline/implementations.lua":"cc5ce71c13fdbfd12c03257bd8ca799f981147e5594a5e1f0ed90721e9a09e2b","scripts/codeoutline/js_resolution.lua":"770326d43d87369ba2ea06300d23bf45a073707aa91d81fff316f010ce1057b2","scripts/xupgate/client.lua":"88d8ccdd54282257d233af714fad22abc7af4b9ad65882f58330cc8814461985","scripts/codeoutline/lsp.lua":"a87e7437f70354e46163b6efff4522699194bee78f046f71abfdfdc557969b66","scripts/codeoutline/index_worker.lua":"c7eaa1d7c52d29c9fbdbd03ffeb88f74bc6c7d99a67a0eab43d83bb4f9d9c21e","scripts/codeoutline/cpp_implementations.lua":"c3f59e25512816cf52aad69333f6b3ae882ba8747f6ce74b083f928301316572","licenses/luajit.txt":"1b10a02c9474cb908da2d87bc908edd8798f9ad28d9a8c53fbd05c13227f7394","LICENSE":"1b63179362acd482b4a9a07ca526b3fce6d9103dcded361de2159ade174568b6","scripts/codeoutline/type_bases.lua":"470fdcfffc3ded8bd3c9608db6128539757c91692bc714173dbb1bcdf8344e36","scripts/codeoutline/lsp_trace.lua":"41e6e67866eb6c862cf11337a637a94505f62a29533a9dbd6226d3b801444597","scripts/xupgate/common.lua":"e449f64c92e4ef46d0c9f4c815aacb38866392cbc3502544d3a1985f9dc4f978","scripts/codeoutline/cpp_includes.lua":"f8bd2016ff040b7f8bd8a3f844baa4fbf0fcc850eb3b1c33b106696c4be92a5d","licenses/xnet2lua.txt":"1aa8af3df70f60f1ebf2d23e14c27af1606057ad9c32a9a0d15fd76cff257532","lib/xhttp_codec.lua":"a5b0f127105ba6dbd4a518a214ca55e22c7510e6b2fc8c25c325898d8346ef8c","keys/update-ca.crt":"d9b5ec3d4628de9c5559871f39841a5f84d47c53ded4d58d6e3bba2b4c669a02","scripts/codeoutline/lua_bindings.lua":"4d3dedd9ad664bbaa516e99119bc8bcc557f918995f83679f0408b2e4b42df9c","scripts/xupgate/http_client.lua":"e910132b82779969926f959fc876da4aa4807559f91d1d01d32b263f1784e01d","scripts/codeoutline/cpp_macros.lua":"41dbcc249d184c2f36be3c3b009a6c6347f7fafd4197e45ceafd3ad7a06af55c","keys/update-public.pem":"7ff853339e19631b20ed3fa2cf221daa31c581e2e84d161b344b8f06de6562a8","scripts/codeoutline/updater.lua":"267c4b6e9704fce710f44d1bfceac69c1857e34e064d8444d7890f0e10d921c7","scripts/codeoutline/version.lua":"ca54c2ea8999396f9befb4c80c815ad494237d2d0be6300067addb877045a8c6","scripts/codeoutline/lua_callback_loops.lua":"b499abed79b482c577684e537ad9583914a94863fc886302a2baa2213e89481a","bin/xnet.exe":"dcda44b562ed43b6b411ef10160b034ac510f8327cb78741fe44d5d871ca25a0","scripts/codeoutline/cpp_receivers.lua":"6bafebc87579d8514a0d36492dbbe65e9346688f228062c86d87053dacaa37e3","scripts/xupgate/http_codec.lua":"a5b0f127105ba6dbd4a518a214ca55e22c7510e6b2fc8c25c325898d8346ef8c","scripts/codeoutline/xscan.lua":"bd95a1b0b7022d029a41aab615897502478b5834612505e8d299343cb5ca8ef9","scripts/xupgate/proxy.lua":"5bf532e7005f44555d6a5277336e5ad395af060585c13a1cdc2441de50e0dcff","scripts/codeoutline/lua_literal.lua":"5fdd90a872988622337410c7e516d41b789ce4326c4aa6dddcd61998fe5aef90","scripts/codeoutline/update_worker.lua":"7e2ec28e4b911d7b90fd97d0a4c0e2f5b295d1a9200c5c7250e47a99139ca550","scripts/codeoutline/cpp_types.lua":"4138c5e2884164b4be35fba1de35e396c4481124ef2f22b4093ba3611ffb012d","scripts/codeoutline/update_sequence.lua":"05a0ba81bc92f971923c45cafb9b623b9456deb3a8e9180d889a91adf6543ae7","scripts/xupgate/signature.lua":"f07de8a4093d08cc69d3c1d8296d23318c5d81344ece788d4453a9b3b700f000","scripts/codeoutline/type_uses.lua":"5c6e2b3279cc4345b6ab33986b38d3717fd56fe82c1d36c9da495bcb22183695","scripts/codeoutline/main.lua":"3ac12632697d9e7559f5a7f754d0d101b6515fbde93f2c67787359b9e802d1d0","scripts/codeoutline/type_references.lua":"f737373c7c14cd4c9df7a434991ccd3cb27f32bc8d4b86d93e3b5ffb0248c684","scripts/codeoutline/csharp_bindings.lua":"3a237f9a04c4cc2277ebfcbe902bdefecff125ef4a7c8d2d55e8284e916db0ab","scripts/codeoutline/type_hierarchy.lua":"ba6c62d162e10a5b251492568a2bbab8cef46cf70a96deacb3e0893ff0e44851","licenses/libdeflate.txt":"41b60f2caab6bffdd5ba360687bd23ca653c0a1235c00380ecffc939b4cd8d75","scripts/codeoutline/ts_implementations.lua":"b908020c17b68a2ef5a8b41732ce39e487105e90ade366b9d1f708b75257d06e","scripts/codeoutline/mcp.lua":"397476810877b39297ea476c555a3c80353a7122e766ca5adc7af5d81cf8a8b6","scripts/codeoutline/text.lua":"56ee63c7b4cc63fe12d8ecd5b99410281463cdba8ca112f484e402ca6dfc5b90","scripts/codeoutline/daemon.lua":"06863991135cc9a85f07bca8310296f0df9e415b3e2de97ae006393e777b009b","scripts/codeoutline/static_dispatch.lua":"0c34302427c36cdb15249c047ae238722752040ac3d5e074fd433f278d75062e","scripts/codeoutline/shared_events.lua":"46a3f5780d12daed660138aa0cb769d727ceff9156916ca3c703928f036e5255","scripts/codeoutline/service.lua":"ae6d50c7b59d0e844147f187b6becc40d87d052564d9405af61b8cdfa4f6da06","scripts/codeoutline/navigation.lua":"eae12c00f6251b11515f308fed693b4adae8e6d528e3cc3a9616f49684cfef7c","scripts/codeoutline/search_ranking.lua":"2ea52d55e55f7de757cfb998f77eaa713ca19c5318b8d8470772c914fad9cb10","scripts/codeoutline/definition_candidates.lua":"c3efccb79ae4ce55229e048004f037798db3ca255a1e2efc2ce904468b31372d","scripts/codeoutline/rust_resolution.lua":"90be2ef14a7c1de357baae026d819f0053cae8eb475947d779ba519461e3c265","scripts/codeoutline/rules.lua":"b01402863062435a6d31a4a5a90208319876fdb444a76c75fd0c45ea8ee6fee5","scripts/codeoutline/lang/kotlin.lua":"cefaad1c412cb42ea6b2027ad9f81ad38d8d821f05c1cfde7f89c600d745a708","scripts/codeoutline/on_demand.lua":"c8ce74ef29f7fb1fc4973a40e22b994c43310308d7f446dfe42428a96f7b8b9d","scripts/codeoutline/js_workspace.lua":"fe59bfde1d22357432079dfef33f88c63da8e435e13c5ca97d4dc8c3e5638278","scripts/codeoutline/dispatch_aliases.lua":"0383f3de71ed1774c73c08fdc57e408afbd6b146b9beff96a4c2cf6aefda7000","scripts/codeoutline/indirect.lua":"3bd5086427d0adb22b53f89a24031bfbfe3a18b0f2b4d41b4e1e03279695b7f7","README.md":"a3f9b46c4ce7a1edb61cdcfaeaa2070f2151665a4ed473d0d4b2c2a0129d0773","scripts/codeoutline/http.lua":"3d957628ecc9592d57cc68a61e5d4229a71da501eb8fb3aa0bbb5e1cd772adf0","scripts/codeoutline/ordinary_bindings.lua":"9c0d05619262882b448abe7fb0ad4da652a287cbfbac220d5ec152278b9acced","scripts/codeoutline/foreign_lua.lua":"03640aa84ba2ba628a5b0d8a7f66285fe308107fdd196862164d29d7e4129660","scripts/codeoutline/documents.lua":"618a8d150341442d0c37f3966ea6a856c78bf91ccaedd507ff563b26c7059c4f","scripts/codeoutline/lang/lua.lua":"f50a169549475d5d71f8af920feeb82797e8f24ccfe0c3f416abc5a32e942713","scripts/codeoutline/automatic_events.lua":"d23e61985bc4ddbfd1d4b6b9c46e9ed815b68476415866390cc59b2dd048c912","scripts/codeoutline/foreign.lua":"fef5c377dc89bafa45f8d74976488213b270465c62095db53b0d7582a4b704f8","scripts/codeoutline/parse.lua":"490e8c4a208c6eaacb0f1db80e7d0b95cc5f54c9c00fcbfd90934e466a598fe9","scripts/codeoutline/lang/c.lua":"2b0efa1ab8a162cdafa293b1f51ded5c528705cea2e2d6c93647498ba0e250b1","scripts/codeoutline/editor_install.lua":"ee5115e54f7eeb62e76d0a583e41e65595d6f9a89588302519b603058ee40a54","scripts/codeoutline/idle_gc.lua":"2025b037b593b5e19714b6e283c8a0490146e591de795988a543a161277714f1","scripts/codeoutline/cache_repairs.lua":"7e31a6118c3e991382ae2751a8b1d4913bcbf4e24d35f56253f46e156e8420a5","scripts/codeoutline/js_evidence.lua":"abb87a3b3ccfc1bb4fcaf771ae91aed5636fec1d73cabeebdec8c7af3227e6b5","scripts/codeoutline/parse_pool.lua":"4dd16132fa0ac96bd1abda33d1be237d8139095b31addfb81094df8c5e69b92f","scripts/codeoutline/external_headers.lua":"158fc3acf2e08651a1f735644b49042d7e4b019f48b996c396572de295e1d54d","scripts/codeoutline/lang/cpp.lua":"a159d1d306cf30d39258ea05452fbdf36759d42498ba16a852b03a0f3005cc60","scripts/codeoutline/index.lua":"490f6a91210d58cc81b822b2a8786aed776553b9382948b627f41a288dcebdf6","scripts/codeoutline/callers.lua":"a822bc0dcad44b5fdf263d5a988a68259a1db6159eaf4c2152236e5670c27b4f","licenses/lua-cmsgpack.txt":"8edfdc5282278a1268d8a6ee52f9245f1a5fe3d1c8065be00330196b1de49873","scripts/codeoutline/parse_worker.lua":"c8099bca90f0ce5069257d72065f2c61089526bedfe89e341f610e5c3f5320c0","scripts/codeoutline/explore.lua":"ef25b9085b73a7db34e2d09f6a3669d3a1ecb9ca51e63ed84aa1ec8162d7af23","scripts/codeoutline/lang/csharp.lua":"5adffb1d563323d6aeae5339b1f3b8d33b07bc99a66e24c710aaa6b5983825f6","scripts/codeoutline/install_prompt.lua":"588c90cd2955756b13a96e1f0d17145a51eda239c9cf179d5eac195532ee9f49","scripts/codeoutline/cargo_toml.lua":"78f4f8bcf14f8db80bdac9fc2568988372d3cca222f82b34708f5330c00c8771","licenses/mbedtls.txt":"9b405ef4c89342f5eae1dd828882f931747f71001cfba7d114801039b52ad09b","scripts/codeoutline/path.lua":"407bd960c1ad04e5006b321ce33263393bb40eee5dee5c123be9b36d3ad10937","scripts/codeoutline/agent_install.lua":"0260a8dc183b0057bcbf996341ebac622caf4a186ea2ff559bb3ca22caf74b27","scripts/codeoutline/lang/go.lua":"3a62d4dc451b0d2f7f2aefd5e77d11449a5d725f59379728eba8dda0aacc13f3","scripts/codeoutline/agent_config.lua":"af2e47265e8934057b2d30d79f0672205089c7c7d4bf3aebca4c657579345b80","scripts/codeoutline/cli.lua":"f7ac4addd32ced58069954cb81edd4836c6043bb5d143683b80bd7b11554c733","scripts/codeoutline/lang/js.lua":"6bb90ca153fd43ac8ed0777fe6f62a9ab36c740dc19caa8654d7541e0c14b1cf","scripts/codeoutline/python_bindings.lua":"d54cb346d1814af0e8b85b98d6f92faf8a6c2eadf02127764b2554f74c03c940","scripts/codeoutline/graph.lua":"80fe8ec1d9aaaf1858a2590337ddba9f2a4209781c4a9b44967a6055ee6b6b9e","scripts/codeoutline/lang/java.lua":"0ea34298770cb3431f4bc3521c4d2ecf363d55e768d6cd30b3f11ad05d7e8f0d"},"target":"win32-x64","updateSequence":21}
package/codeoutline CHANGED
@@ -4,7 +4,7 @@ base=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
4
4
  CODEOUTLINE_INITIAL=$base
5
5
  export CODEOUTLINE_INITIAL
6
6
  if [ -n "${CODEOUTLINE_LOG_DIR:-}" ]; then log_out="LOG_DIR=$CODEOUTLINE_LOG_DIR"; else log_out=LOG_FILE=0; fi
7
- if [ "${1:-}" != "update" ]; then
7
+ if [ "${1:-}" != "update" ] && [ "${1:-}" != "uninstall" ]; then
8
8
  if [ "${CODEOUTLINE_AUTO_UPDATE:-}" = "" ]; then
9
9
  case "${1:-}" in serve|daemon|install) CODEOUTLINE_AUTO_UPDATE=1 ;; *) CODEOUTLINE_AUTO_UPDATE=0 ;; esac
10
10
  export CODEOUTLINE_AUTO_UPDATE
package/codeoutline.cmd CHANGED
@@ -6,6 +6,7 @@ if defined CODEOUTLINE_LOG_DIR set "CODEOUTLINE_LOG_OUT=LOG_DIR=%CODEOUTLINE_LOG
6
6
  set "CODEOUTLINE_BASE=%~dp0"
7
7
  set "CODEOUTLINE_INITIAL=%~dp0"
8
8
  if "%~1"=="update" goto run
9
+ if "%~1"=="uninstall" goto run
9
10
  if not defined CODEOUTLINE_AUTO_UPDATE (
10
11
  set "CODEOUTLINE_AUTO_UPDATE=0"
11
12
  if "%~1"=="serve" set "CODEOUTLINE_AUTO_UPDATE=1"
Binary file
package/package.json CHANGED
@@ -1 +1 @@
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"]}
1
+ {"publishConfig":{"access":"public"},"description":"CodeOutline native runtime and Lua implementation for win32-x64","cpu":["x64","arm64"],"license":"BSD-2-Clause","name":"@codua/codeoutline-win32-x64","version":"0.3.2","files":["bin/","lib/","keys/","scripts/","editors/","licenses/","LICENSE","codeoutline","codeoutline.cmd","build-info.json","*.md"],"os":["win32"],"repository":{"type":"git","url":"git+https://github.com/1dao/codeoutline.git"}}
@@ -10,7 +10,10 @@ end
10
10
  local function read(path)
11
11
  if not exists(path) then return '' end
12
12
  local f = assert(io.open(path, 'rb'), 'cannot read config: ' .. path)
13
- local raw = f:read(4 * 1024 * 1024 + 1); f:close()
13
+ local raw, err = f:read(4 * 1024 * 1024 + 1); f:close()
14
+ assert(not err, 'cannot read config: ' .. path .. ': ' .. tostring(err))
15
+ -- A numeric read returns nil at EOF for an existing zero-byte file.
16
+ raw = raw or ''
14
17
  assert(#raw <= 4 * 1024 * 1024, 'config exceeds 4 MiB: ' .. path)
15
18
  return raw
16
19
  end
@@ -192,4 +195,24 @@ function M.run(options)
192
195
  return 0
193
196
  end
194
197
 
198
+ function M.remove(options)
199
+ options = options or {}
200
+ local status = 0
201
+ local project = assert(xutils.realpath(options.project or '.')):gsub('\\', '/')
202
+ local locations = options.project and { 'global', 'local' } or { 'global' }
203
+ for _, location in ipairs(locations) do
204
+ for _, target in ipairs(M.detect(location, project)) do
205
+ if target.path and exists(target.path) then
206
+ local ok, result = pcall(M.run, { target = target.id, remove = true,
207
+ location = location, project = project, port = options.port })
208
+ if not ok or result ~= 0 then
209
+ io.stderr:write('codeoutline: cannot remove ', target.id, ': ', tostring(result), '\n')
210
+ status = 1
211
+ end
212
+ end
213
+ end
214
+ end
215
+ return status
216
+ end
217
+
195
218
  return M
@@ -26,7 +26,7 @@ Usage:
26
26
  codeoutline install [--yes] [--target auto|all|none|IDS] [--location global|local] [--port PORT] [--editors all|none|vscode,cursor,zed]
27
27
  codeoutline agents [--list] [--target auto|all|none|IDS] [--location global|local] [--port PORT] [--remove] [--force]
28
28
  codeoutline editors [--list] [--editors all|none|vscode,cursor,zed]
29
- codeoutline uninstall [--port PORT]
29
+ codeoutline uninstall [--port PORT] [--project PATH] [--service-only] [--purge]
30
30
  codeoutline daemon [--port PORT]
31
31
  codeoutline serve --stdio [--project PATH] [--allow-root PATH ...]
32
32
  codeoutline lsp --stdio [--project PATH]
@@ -44,8 +44,8 @@ Usage:
44
44
  codeoutline --version
45
45
 
46
46
  Editor setup:
47
- npm install -g codeoutline detect apps and confirm each installation
48
- npm install -g codeoutline --foreground-scripts compatibility fallback for terminal prompts
47
+ npm install -g codeoutline automatically configure detected apps
48
+ npm install -g codeoutline --foreground-scripts confirm each detected application
49
49
  codeoutline editors detect and choose afterward
50
50
  codeoutline editors --list only show detected editors
51
51
  codeoutline editors --editors all install for all detected editors
@@ -57,8 +57,8 @@ During global npm setup, confirm each detected AI tool first, then each editor.
57
57
  Each install prompt is [Y/n]: Enter or y installs it; n skips just that app.
58
58
  EOF skips remaining apps. Explicit target/editor lists bypass the prompts.
59
59
  The same setup starts the service; no second codeoutline install is needed.
60
- The npm launcher reconnects to the terminal for confirmations automatically.
61
- --foreground-scripts is a fallback for restricted terminal hosts. In CI or
60
+ Use --foreground-scripts to give installation prompts access to terminal input.
61
+ With npm's default background scripts, in CI or
62
62
  without a terminal, global npm setup installs all detected integrations. Explicit environment
63
63
  selections override these defaults; project-local npm installs skip global setup.
64
64
  Reload VS Code/Cursor or restart Zed after installation.
@@ -86,8 +86,12 @@ Without an explicit selection or terminal, global npm configures detected agents
86
86
  Set CODEOUTLINE_AGENTS=none and CODEOUTLINE_EDITORS=none to skip integrations.
87
87
 
88
88
  HTTP options: --allow-host HOST, --allow-origin ORIGIN (repeatable).
89
- install starts the background service and registers it at login; uninstall
90
- stops it and removes that entry. daemon is the service itself.
89
+ install starts the background service and registers it at login. uninstall
90
+ stops it, removes its login entry, user-level MCP registrations and editor clients.
91
+ --project also removes MCP entries from that project; --service-only keeps integrations.
92
+ --purge additionally removes ~/.codeoutline data after cleanup succeeds.
93
+ Run uninstall before npm uninstall -g codeoutline; npm has no uninstall hooks.
94
+ daemon is the service itself.
91
95
  editors detects VS Code, Cursor and Zed and offers optional LSP client installation.
92
96
  Use --editors or CODEOUTLINE_EDITORS to select clients without a prompt.
93
97
  Remote HTTP requires CODEOUTLINE_TOKEN (at least 16 bytes).
@@ -121,7 +125,8 @@ local function parse(args)
121
125
  serve = { stdio = true, http = true, project = true, host = true, port = true,
122
126
  ['allow-root'] = true, ['allow-host'] = true, ['allow-origin'] = true },
123
127
  daemon = { port = true }, install = { port = true, npm = true, editors = true, target = true, yes = true,
124
- location = true, project = true, force = true, list = true, print = true, ['print-config'] = true }, uninstall = { port = true },
128
+ location = true, project = true, force = true, list = true, print = true, ['print-config'] = true },
129
+ uninstall = { port = true, project = true, ['service-only'] = true, purge = true },
125
130
  agents = { target = true, yes = true, location = true, project = true, port = true, list = true,
126
131
  ['print-config'] = true, print = true, remove = true, force = true },
127
132
  editors = { list = true, editors = true },
@@ -140,7 +145,7 @@ local function parse(args)
140
145
  if not name then name = clean[i]:match('^%-%-([%w-]+)$') end
141
146
  assert(name and (allowed[command][name] or name == 'help'), 'unknown option: ' .. clean[i])
142
147
  local flag = name == 'check' or name == 'stdio' or name == 'http' or name == 'help' or name == 'npm' or name == 'list'
143
- or name == 'yes' or name == 'remove' or name == 'force'
148
+ or name == 'yes' or name == 'remove' or name == 'force' or name == 'service-only' or name == 'purge'
144
149
  if flag then
145
150
  assert(value == nil, '--' .. name .. ' does not take a value')
146
151
  value = true
@@ -287,7 +292,27 @@ local function run()
287
292
  for _, removed in ipairs(attempt(daemon.unregister) or {}) do say('removed login entry ' .. removed) end
288
293
  daemon.stop(port, 10000, function(stopped)
289
294
  say(stopped and 'service on port ' .. port .. ' stopped' or 'service on port ' .. port .. ' is still running')
290
- finish(stopped and status or 1)
295
+ if not stopped then status = 1 end
296
+ if not options['service-only'] then
297
+ if attempt(function() return require('codeoutline.agent_install').remove(options) end) ~= 0 then status = 1 end
298
+ if attempt(function() return require('codeoutline.editor_install').remove() end) ~= 0 then status = 1 end
299
+ end
300
+ if options.purge and status == 0 then
301
+ attempt(function()
302
+ local path = daemon.state_dir()
303
+ if xutils.stat(path).exists then
304
+ local actual = assert(xutils.realpath(path)):gsub('\\', '/'):gsub('/+$', '')
305
+ local expected = assert(xutils.realpath(path .. '/..')):gsub('\\', '/'):gsub('/+$', '') .. '/.codeoutline'
306
+ if package.config:sub(1, 1) == '\\' then actual, expected = actual:lower(), expected:lower() end
307
+ assert(actual == expected, 'refusing to purge a linked state directory')
308
+ assert(not install:lower():find(actual:lower() .. '/', 1, true), 'run uninstall from the initial installation before purging updates')
309
+ assert(xutils.rmtree(path) and not xutils.stat(path).exists, 'state files are busy; close CodeOutline clients and retry')
310
+ end
311
+ say('removed CodeOutline user data; custom cache/update directories require separate cleanup')
312
+ end)
313
+ end
314
+ if status == 0 then say('Cleanup completed. Run npm uninstall -g codeoutline to remove the npm package.') end
315
+ finish(status)
291
316
  end)
292
317
  return
293
318
  end
@@ -59,8 +59,8 @@ function M.detect()
59
59
  zed_data = (os.getenv('XDG_DATA_HOME') or h .. '/.local/share') .. '/zed'
60
60
  end
61
61
  return {
62
- { id = 'vscode', name = 'VS Code', command = vscode, detected = vscode ~= nil },
63
- { id = 'cursor', name = 'Cursor', command = cursor, detected = cursor ~= nil },
62
+ { id = 'vscode', name = 'VS Code', command = vscode, detected = vscode ~= nil, extensions = h .. '/.vscode/extensions' },
63
+ { id = 'cursor', name = 'Cursor', command = cursor, detected = cursor ~= nil, extensions = h .. '/.cursor/extensions' },
64
64
  { id = 'zed', name = 'Zed', command = zed, data = zed_data, detected = zed ~= nil },
65
65
  }
66
66
  end
@@ -165,4 +165,75 @@ function M.run(root, options)
165
165
  return status
166
166
  end
167
167
 
168
+ -- Remove only our extension, including Zed's per-extension downloaded runtime.
169
+ -- Continue with other editors when one editor is unavailable or reports errors.
170
+ function M.remove()
171
+ local status = 0
172
+ local function remove_directory(target, parent)
173
+ if not exists(target) then return end
174
+ local actual = assert(xutils.realpath(target)):gsub('\\', '/'):gsub('/+$', '')
175
+ local expected = assert(xutils.realpath(parent)):gsub('\\', '/'):gsub('/+$', '') .. '/' .. assert(target:match('([^/]+)$'))
176
+ if windows then actual, expected = actual:lower(), expected:lower() end
177
+ assert(actual == expected, 'refusing to remove linked extension: ' .. target)
178
+ assert(xutils.rmtree(target), 'cannot remove ' .. target .. '; close the editor and retry')
179
+ assert(not exists(target), 'extension directory remains: ' .. target)
180
+ end
181
+ for _, editor in ipairs(M.detect()) do
182
+ local ok, err = pcall(function()
183
+ if editor.id == 'zed' then
184
+ for _, kind in ipairs({ 'installed', 'work', 'staging' }) do
185
+ local parent = editor.data .. '/extensions/' .. kind
186
+ local target = parent .. '/codeoutline'
187
+ remove_directory(target, parent)
188
+ end
189
+ -- This is Zed's generated extension registry, not user settings.
190
+ local index = editor.data .. '/extensions/index.json'
191
+ if exists(index) then
192
+ local before = read(index)
193
+ local after, changed = require('codeoutline.agent_config').json(before,
194
+ { 'extensions', 'codeoutline' }, {}, true, false)
195
+ if changed then
196
+ local temp = assert(xutils.temp_file(editor.data .. '/extensions'))
197
+ write(temp, after)
198
+ assert(read(index) == before, 'Zed extension registry changed; close Zed and retry')
199
+ assert(xutils.replace_file(temp, index), 'cannot update Zed extension registry')
200
+ end
201
+ end
202
+ say('CodeOutline removed from Zed. Restart Zed if it is open.')
203
+ elseif editor.detected then
204
+ local function command(args)
205
+ local text = quote(editor.command) .. ' ' .. args
206
+ return windows and ('"' .. text .. '"') or text
207
+ end
208
+ local function installed()
209
+ local pipe = assert(io.popen(command('--list-extensions')))
210
+ local output = pipe:read('a'); local closed = pipe:close()
211
+ assert(closed, editor.name .. ' extension listing failed')
212
+ for line in output:gmatch('[^\r\n]+') do
213
+ if line:lower():match('^%s*1dao%.codeoutline%s*$') then return true end
214
+ end
215
+ return false
216
+ end
217
+ if installed() then
218
+ local result = os.execute(command('--uninstall-extension 1dao.codeoutline'))
219
+ assert(result == true or result == 0, editor.name .. ' extension removal failed')
220
+ assert(not installed(), editor.name .. ' still lists CodeOutline')
221
+ end
222
+ -- The editor CLI may only mark old versions obsolete until its
223
+ -- next start. Remove those owned directories now or report locks.
224
+ for _, entry in ipairs(xutils.list_dir(editor.extensions) or {}) do
225
+ if entry.dir and entry.name:lower():match('^1dao%.codeoutline%-%d') then
226
+ remove_directory(editor.extensions .. '/' .. entry.name, editor.extensions)
227
+ end
228
+ end
229
+ say('CodeOutline removed from ' .. editor.name .. '. Reload the editor if it is open.')
230
+ else
231
+ say(editor.name .. ' CLI not detected; check other editor profiles manually.')
232
+ end
233
+ end)
234
+ if not ok then io.stderr:write('codeoutline: ', tostring(err), '\n'); status = 1 end
235
+ end
236
+ return status
237
+ end
238
+
168
239
  return M
@@ -1 +1 @@
1
- return 20
1
+ return 21
@@ -1 +1 @@
1
- return '0.3.1'
1
+ return '0.3.2'
@@ -70,9 +70,20 @@ function M.open(config)
70
70
  return {schema=2,highSequence=config.minimumSequence or 0}
71
71
  end
72
72
  local value=assert(c.decode_json(data),'corrupt local state')
73
- assert(value.schema==2, 'unsupported update state; stop old processes, remove the old update cache and reinstall CodeOutline')
74
73
  assert(type(value.highSequence)=='number' and value.highSequence>=0 and value.highSequence%1==0,'invalid local state')
75
74
  value.highSequence=math.max(value.highSequence,config.minimumSequence or 0)
75
+ if value.schema==1 then
76
+ for _, key in ipairs({ 'current', 'previous' }) do
77
+ local identity=value[key]
78
+ assert(not identity or type(identity)=='string' and #identity==64
79
+ and identity:match('^[0-9a-f]+$'), 'invalid legacy ' .. key .. ' identity')
80
+ end
81
+ -- Retire hash-based activation without loading old code or changing
82
+ -- files during startup. The next locked write saves schema 2 while
83
+ -- preserving the replay floor. Old processes may still use the cache.
84
+ return {schema=2,highSequence=value.highSequence}
85
+ end
86
+ assert(value.schema==2, 'unsupported update state')
76
87
  for _, key in ipairs({ 'current', 'previous' }) do
77
88
  local version, identity = value[key], value[key .. 'Identity']
78
89
  assert(not version or c.version(version), 'invalid ' .. key .. ' version')
@@ -99,11 +110,15 @@ function M.open(config)
99
110
  for _,entry in ipairs(u.list_dir(root .. '/leases') or {})do
100
111
  local path=root .. '/leases/' .. entry.name
101
112
  local version=entry.name:match('^(%d+%.%d+%.%d+)%-%x+$')
102
- if not version then os.remove(path)
113
+ local legacy=entry.name:match('^(%x+)%-%x+$')
114
+ if not version then
115
+ if not legacy or #legacy~=64 then os.remove(path) end
103
116
  elseif lease_alive(path)then busy[version]=true end
104
117
  end
105
118
  for _,entry in ipairs(u.list_dir(root .. '/versions') or {})do
106
- local removable=entry.dir and not keep[entry.name] and not busy[entry.name]
119
+ -- Hash-named directories belong to old bootstraps whose leases are
120
+ -- incompatible. Leave them untouched until users stop old processes.
121
+ local removable=entry.dir and c.version(entry.name) and not keep[entry.name] and not busy[entry.name]
107
122
  -- Versions predating leases may still run unseen: delete them only
108
123
  -- after a grace period counted from the first prune that saw them.
109
124
  if removable and config.leased and not config.leased(root .. '/versions/' .. entry.name .. '/files') then