@codua/codeoutline-win32-x64 0.3.2 → 0.3.6

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 (103) hide show
  1. package/DISTRIBUTION.md +26 -1
  2. package/README.md +39 -4
  3. package/README.zh-CN.md +30 -3
  4. package/bin/xnet.exe +0 -0
  5. package/build-info.json +1 -1
  6. package/codeoutline +1 -1
  7. package/codeoutline.cmd +1 -0
  8. package/editors/codeoutline.vsix +0 -0
  9. package/editors/zed/extension.wasm +0 -0
  10. package/package.json +1 -1
  11. package/scripts/codeoutline/{automatic_events.lua → analysis/automatic_events.lua} +4 -4
  12. package/scripts/codeoutline/{cpp_bindings.lua → analysis/cpp/cpp_bindings.lua} +7 -7
  13. package/scripts/codeoutline/{cpp_implementations.lua → analysis/cpp/cpp_implementations.lua} +3 -3
  14. package/scripts/codeoutline/{cpp_includes.lua → analysis/cpp/cpp_includes.lua} +3 -3
  15. package/scripts/codeoutline/{cpp_macros.lua → analysis/cpp/cpp_macros.lua} +3 -3
  16. package/scripts/codeoutline/{cpp_receivers.lua → analysis/cpp/cpp_receivers.lua} +7 -7
  17. package/scripts/codeoutline/{cpp_types.lua → analysis/cpp/cpp_types.lua} +5 -5
  18. package/scripts/codeoutline/{csharp_bindings.lua → analysis/csharp/csharp_bindings.lua} +1 -1
  19. package/scripts/codeoutline/{dispatch_aliases.lua → analysis/dispatch_aliases.lua} +3 -3
  20. package/scripts/codeoutline/{foreign.lua → analysis/foreign.lua} +2 -2
  21. package/scripts/codeoutline/{function_values.lua → analysis/function_values.lua} +2 -2
  22. package/scripts/codeoutline/analysis/go/go_frameworks.lua +327 -0
  23. package/scripts/codeoutline/{go_methods.lua → analysis/go/go_methods.lua} +2 -2
  24. package/scripts/codeoutline/{go_modules.lua → analysis/go/go_modules.lua} +2 -2
  25. package/scripts/codeoutline/{graph.lua → analysis/graph.lua} +53 -47
  26. package/scripts/codeoutline/{implementations.lua → analysis/implementations.lua} +16 -9
  27. package/scripts/codeoutline/{indirect.lua → analysis/indirect.lua} +71 -13
  28. package/scripts/codeoutline/{js_evidence.lua → analysis/js/js_evidence.lua} +4 -3
  29. package/scripts/codeoutline/{js_resolution.lua → analysis/js/js_resolution.lua} +2 -2
  30. package/scripts/codeoutline/{js_workspace.lua → analysis/js/js_workspace.lua} +2 -2
  31. package/scripts/codeoutline/{ts_implementations.lua → analysis/js/ts_implementations.lua} +3 -3
  32. package/scripts/codeoutline/{foreign_lua.lua → analysis/lua/foreign_lua.lua} +3 -3
  33. package/scripts/codeoutline/{lua_bindings.lua → analysis/lua/lua_bindings.lua} +97 -11
  34. package/scripts/codeoutline/{lua_callback_loops.lua → analysis/lua/lua_callback_loops.lua} +1 -1
  35. package/scripts/codeoutline/{ordinary_bindings.lua → analysis/ordinary_bindings.lua} +45 -21
  36. package/scripts/codeoutline/{python_bindings.lua → analysis/python/python_bindings.lua} +2 -2
  37. package/scripts/codeoutline/analysis/receivers.lua +547 -0
  38. package/scripts/codeoutline/{rust_packages.lua → analysis/rust/rust_packages.lua} +2 -2
  39. package/scripts/codeoutline/analysis/rust/rust_resolution.lua +609 -0
  40. package/scripts/codeoutline/{shared_events.lua → analysis/shared_events.lua} +3 -3
  41. package/scripts/codeoutline/{static_dispatch.lua → analysis/static_dispatch.lua} +5 -5
  42. package/scripts/codeoutline/{type_uses.lua → analysis/type_uses.lua} +1 -1
  43. package/scripts/codeoutline/cli.lua +1 -1
  44. package/scripts/codeoutline/command.lua +236 -19
  45. package/scripts/codeoutline/{cpp_fragments.lua → indexing/cpp_fragments.lua} +4 -4
  46. package/scripts/codeoutline/{index.lua → indexing/index.lua} +12 -12
  47. package/scripts/codeoutline/{parse_pool.lua → indexing/parse_pool.lua} +1 -1
  48. package/scripts/codeoutline/{agent_config.lua → install/agent_config.lua} +21 -1
  49. package/scripts/codeoutline/{agent_install.lua → install/agent_install.lua} +105 -10
  50. package/scripts/codeoutline/{editor_install.lua → install/editor_install.lua} +36 -6
  51. package/scripts/codeoutline/lang/c.lua +2 -2
  52. package/scripts/codeoutline/lang/cpp.lua +2 -2
  53. package/scripts/codeoutline/lang/csharp.lua +2 -2
  54. package/scripts/codeoutline/lang/go.lua +2 -2
  55. package/scripts/codeoutline/lang/java.lua +2 -2
  56. package/scripts/codeoutline/lang/js.lua +2 -2
  57. package/scripts/codeoutline/lang/kotlin.lua +4 -2
  58. package/scripts/codeoutline/lang/lua.lua +3 -3
  59. package/scripts/codeoutline/lang/python.lua +2 -2
  60. package/scripts/codeoutline/lang/rust.lua +3 -3
  61. package/scripts/codeoutline/main.lua +9 -9
  62. package/scripts/codeoutline/{common.lua → parsing/common.lua} +22 -17
  63. package/scripts/codeoutline/{language_detect.lua → parsing/language_detect.lua} +1 -1
  64. package/scripts/codeoutline/{parse.lua → parsing/parse.lua} +4 -4
  65. package/scripts/codeoutline/{http.lua → protocol/http.lua} +1 -1
  66. package/scripts/codeoutline/{lsp.lua → protocol/lsp.lua} +4 -4
  67. package/scripts/codeoutline/{mcp.lua → protocol/mcp.lua} +9 -9
  68. package/scripts/codeoutline/{affected.lua → query/affected.lua} +6 -6
  69. package/scripts/codeoutline/{callers.lua → query/callers.lua} +9 -9
  70. package/scripts/codeoutline/{completion.lua → query/completion.lua} +37 -49
  71. package/scripts/codeoutline/{definition_candidates.lua → query/definition_candidates.lua} +6 -6
  72. package/scripts/codeoutline/{documents.lua → query/documents.lua} +4 -4
  73. package/scripts/codeoutline/{explore.lua → query/explore.lua} +85 -25
  74. package/scripts/codeoutline/{external_headers.lua → query/external_headers.lua} +6 -6
  75. package/scripts/codeoutline/{navigation.lua → query/navigation.lua} +53 -54
  76. package/scripts/codeoutline/{on_demand.lua → query/on_demand.lua} +6 -6
  77. package/scripts/codeoutline/{query_report.lua → query/query_report.lua} +9 -5
  78. package/scripts/codeoutline/{search_ranking.lua → query/search_ranking.lua} +10 -7
  79. package/scripts/codeoutline/{type_hierarchy.lua → query/type_hierarchy.lua} +11 -11
  80. package/scripts/codeoutline/{type_references.lua → query/type_references.lua} +17 -17
  81. package/scripts/codeoutline/{index_worker.lua → runtime/index_worker.lua} +10 -10
  82. package/scripts/codeoutline/{parse_worker.lua → runtime/parse_worker.lua} +2 -2
  83. package/scripts/codeoutline/{update_worker.lua → runtime/update_worker.lua} +1 -1
  84. package/scripts/codeoutline/service.lua +11 -11
  85. package/scripts/codeoutline/update_sequence.lua +1 -1
  86. package/scripts/codeoutline/version.lua +1 -1
  87. package/scripts/codeoutline/rust_resolution.lua +0 -301
  88. /package/scripts/codeoutline/{lua_literal.lua → analysis/lua/lua_literal.lua} +0 -0
  89. /package/scripts/codeoutline/{resolution.lua → analysis/resolution.lua} +0 -0
  90. /package/scripts/codeoutline/{cargo_toml.lua → analysis/rust/cargo_toml.lua} +0 -0
  91. /package/scripts/codeoutline/{type_bases.lua → analysis/type_bases.lua} +0 -0
  92. /package/scripts/codeoutline/{cache_repairs.lua → indexing/cache_repairs.lua} +0 -0
  93. /package/scripts/codeoutline/{daemon.lua → install/daemon.lua} +0 -0
  94. /package/scripts/codeoutline/{install_prompt.lua → install/install_prompt.lua} +0 -0
  95. /package/scripts/codeoutline/{xscan.lua → parsing/xscan.lua} +0 -0
  96. /package/scripts/codeoutline/{lsp_trace.lua → protocol/lsp_trace.lua} +0 -0
  97. /package/scripts/codeoutline/{coverage.lua → query/coverage.lua} +0 -0
  98. /package/scripts/codeoutline/{query_filters.lua → query/query_filters.lua} +0 -0
  99. /package/scripts/codeoutline/{idle_gc.lua → runtime/idle_gc.lua} +0 -0
  100. /package/scripts/codeoutline/{control.lua → shared/control.lua} +0 -0
  101. /package/scripts/codeoutline/{path.lua → shared/path.lua} +0 -0
  102. /package/scripts/codeoutline/{rules.lua → shared/rules.lua} +0 -0
  103. /package/scripts/codeoutline/{text.lua → shared/text.lua} +0 -0
package/DISTRIBUTION.md CHANGED
@@ -237,7 +237,7 @@ project-scoped MCP entries. Unrelated configuration and original backups remain.
237
237
  The installer writes loopback HTTP entries for Claude Code, Cursor, Codex,
238
238
  Gemini CLI, OpenCode, Hermes, Kiro, Antigravity and Copilot (VS Code, CLI and
239
239
  JetBrains). These all connect to the shared service. It does not change agent
240
- instructions or tool-approval policy. JSONC comments and unrelated settings are
240
+ tool-approval policy. JSONC comments and unrelated settings are
241
241
  preserved; edits use temporary files and atomic replacement, and the original
242
242
  nonempty config is backed up once as `<config>.codeoutline.bak`. It plans all
243
243
  selected edits first, rejecting malformed configs and conflicting CodeOutline
@@ -246,6 +246,17 @@ existing CodeOutline entry. Ambiguous inline/dotted TOML and flow-style YAML
246
246
  MCP mappings require manual configuration. Generated entries assume an
247
247
  unauthenticated local service; custom authentication must be configured manually.
248
248
 
249
+ For Claude, Codex, Gemini and OpenCode, the same planned edit adds a compact
250
+ CodeOutline marker block to the scoped instructions file. Existing CodeGraph
251
+ marker blocks are archived byte-for-byte as adjacent `codegraph.md` before being
252
+ replaced. Existing backups must match; malformed/duplicate blocks and conflicting
253
+ backup files fail before writes. Removal restores CodeGraph only to a file that
254
+ originally supplied the block, and only if its CLI is
255
+ on PATH and the instructions do not already contain a CodeGraph block. Backups
256
+ are retained, unrelated text is preserved, and shared local instruction paths
257
+ are deduplicated. Ordinary `codegraph.md` is not automatically loaded as an
258
+ instructions file; explicit references or agent reads can still include it.
259
+
249
260
  `install` registers a login entry for the installation it belongs to
250
261
  (launchers pass it as `CODEOUTLINE_INITIAL`; installed updates are deleted when
251
262
  unused, the initial installation is not), stops a running service and starts
@@ -274,6 +285,20 @@ are rejected. Custom data directories, other editor profiles, remote extensions
274
285
  and project scopes not named with `--project` require separate cleanup.
275
286
  Run this command before `npm uninstall -g codeoutline`: npm 7+ has no uninstall
276
287
  lifecycle hooks, so a package cannot attach automatic cleanup to that command.
288
+ For npm global installations, `codeoutline remove` combines `uninstall --purge`
289
+ and npm package removal. Lua validates options and performs cleanup; only after
290
+ an explicit successful-cleanup acknowledgement and runtime exit does the npm
291
+ launcher invoke `npm uninstall -g codeoutline` with the verified global prefix.
292
+ Local/native installations are rejected before cleanup. `remove --help` and
293
+ invalid arguments never remove packages. npm failures keep their nonzero exit
294
+ status so remaining package files can be diagnosed. `--project PATH` also cleans
295
+ that project's MCP entries. No package lifecycle hook is required.
296
+ Generated npm packages also include a best-effort `preuninstall` compatibility
297
+ hook that invokes `uninstall --npm`. It only acts on global uninstall lifecycles
298
+ (or an explicit global hook run), recognizes legacy npm 6 argv, skips upgrade
299
+ and local dependency removal, and preserves user data. Errors remain visible
300
+ but the shell fallback does not block package removal. npm 7+ ignores this hook;
301
+ it cannot replace `codeoutline remove` on modern npm.
277
302
  Services from 0.1.7 and earlier ignore that file; they exit after installing an
278
303
  update. `CODEOUTLINE_AUTOSTART=0` skips the login entry; with `--npm` it also skips
279
304
  starting the service.
package/README.md CHANGED
@@ -103,8 +103,22 @@ project scope; Hermes, Antigravity and Copilot CLI/JetBrains support user scope
103
103
  only. `--port` selects the shared service port for both registration and startup.
104
104
  `agents` edits configs only; use `install` to start/register the service too.
105
105
  Restart the agents after setup so they discover `codeoutline_explore` and the
106
- other MCP tools. Agent approval controls still apply; no prompt hooks,
107
- instructions files or auto-approval policies are changed.
106
+ other MCP tools. Agent approval controls still apply; no prompt hooks or
107
+ auto-approval policies are changed.
108
+
109
+ For Claude, Codex, Gemini and OpenCode, setup also adds a short
110
+ `CODEOUTLINE_START/END` block to their scoped `CLAUDE.md`, `AGENTS.md` or
111
+ `GEMINI.md`. If a complete `CODEGRAPH_START/END` block exists there, it is saved
112
+ verbatim as `codegraph.md` in the same directory and removed from active instructions.
113
+ An unrelated/different existing backup or malformed markers stop setup before
114
+ config writes. Repeated setup is idempotent; unrelated instructions are preserved.
115
+ Uninstall removes our block and restores the saved CodeGraph block only to a
116
+ file that originally supplied it, when
117
+ the `codegraph` CLI is still on PATH and no CodeGraph block is already present.
118
+ The backup remains available for manual recovery, including when CodeGraph is gone.
119
+ Project instructions are changed only with explicit project-scoped setup/cleanup.
120
+ `codegraph.md` is not a default instruction filename, but explicit imports or
121
+ manual reads can still load it.
108
122
 
109
123
  The installer preserves unrelated settings and JSONC comments and stores the
110
124
  original nonempty file in `<config>.codeoutline.bak` before its first change.
@@ -134,15 +148,26 @@ claude mcp add --transport http codeoutline --scope user http://127.0.0.1:19876/
134
148
 
135
149
  `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
150
 
137
- To uninstall, first run `codeoutline uninstall`, then `npm uninstall -g codeoutline`.
151
+ For a global npm installation, run `codeoutline remove` to clean integrations,
152
+ purge the default user data and then uninstall the npm package. It waits for the
153
+ runtime to exit before invoking npm; cleanup failure preserves the package for retry.
154
+ Use `codeoutline remove --project PATH` to also remove a project's MCP registrations.
155
+
156
+ For separate cleanup and package removal, first run `codeoutline uninstall`, then `npm uninstall -g codeoutline`.
138
157
  The first command stops the service, removes its login entry, user-level Agent MCP
139
158
  entries and the VS Code/Cursor/Zed clients. Use `--purge` to also remove
140
159
  `~/.codeoutline` caches, updates and logs, or `--service-only` to keep integrations.
160
+ Cleanup also removes `codeoutline.*` settings from VS Code/Cursor user settings
161
+ and named profiles, including language overrides, preserving other settings and comments.
141
162
  Use `--project PATH` to also remove MCP registrations in a specific project.
142
163
  Close/reload editors to release running LSP processes before deleting package files.
143
- Other editor profiles, remote installations, custom data directories and original
164
+ Workspace settings, custom editor data directories, remote installations and original
144
165
  configuration backups require separate cleanup. npm 7+ has no uninstall hooks;
145
166
  running only `npm uninstall` cannot clean integrations or stop the service.
167
+ The package includes a best-effort `preuninstall` compatibility hook for package
168
+ managers that invoke it. It only cleans global uninstall integrations, preserves
169
+ user data, and skips upgrade/local-install lifecycles. Use `codeoutline remove`
170
+ for reliable full cleanup on current npm.
146
171
 
147
172
  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.
148
173
 
@@ -212,6 +237,16 @@ On Linux, decoding GBK sources needs the GBK module of the system iconv. Minimal
212
237
 
213
238
  C, C++, C#, Go, Java, JavaScript / TypeScript (including JSX/TSX), ArkTS (`.ets`), Kotlin (`.kt` / `.kts`), Lua, Python, and Rust.
214
239
 
240
+ Receiver lookup shares one query-time entry point across call relationships,
241
+ navigation and completion, with language-specific binding and member rules.
242
+ It distinguishes Lua method receivers, Python parameters and rebinding, JS/TS/ArkTS
243
+ lexical arrow `this` and dynamic function `this`, Kotlin extension/scope receivers,
244
+ Rust `self`/`Self`, and declared receivers in C/C++, C#, Java and Go. Ordinary
245
+ variables named `self` or `cls` retain their declared types. Detailed bindings stay
246
+ in bounded, source-validated memory caches; unknown receivers do not become
247
+ same-name method guesses. Runtime monkey-patching, arbitrary dynamic calls and
248
+ unproven generic constraints remain outside this static analysis.
249
+
215
250
  ArkTS reuses the JS/TS parser: component `struct` declarations are indexed as classes,
216
251
  with decorated fields, methods, local module imports and ArkUI calls. Declarative UI
217
252
  blocks remain calls rather than method declarations. This is heuristic indexing, not
package/README.zh-CN.md CHANGED
@@ -86,7 +86,17 @@ codeoutline agents --target cursor --remove # 只移除 CodeOutline 的 MC
86
86
  Hermes、Antigravity、Copilot CLI 和 Copilot JetBrains 仅支持用户级。
87
87
  `--port` 同时指定注册地址和服务启动端口。`agents` 只编辑配置,`install` 还会启动服务并登记自启动。
88
88
  完成后重启对应 Agent,即可发现 `codeoutline_explore` 等 MCP 工具;应用自身的工具审批仍然有效。
89
- 安装器不会添加提示钩子、修改指令文件或自动放行权限。
89
+ 安装器不会添加提示钩子或自动放行权限。
90
+
91
+ Claude、Codex、Gemini 和 OpenCode 的对应 `CLAUDE.md`、`AGENTS.md` 或 `GEMINI.md`
92
+ 会加入简短的 `CODEOUTLINE_START/END` 使用说明。
93
+ 若其中存在完整的 `CODEGRAPH_START/END` 块,会将其原文备份为同目录的 `codegraph.md`,
94
+ 再从活动说明中移走。其他说明保持不变;重复安装不会重复添加。
95
+ 已有不同内容的备份、残缺或重复标记会使安装停止,避免覆盖用户文件。
96
+ 卸载时移除自己的说明;仅向原先提供 CodeGraph 块的文件恢复备份,且要求 PATH 仍能找到
97
+ `codegraph`、活动说明中没有 CodeGraph 块。
98
+ 备份会保留,以便手动恢复;全局安装不扫描或修改各项目的说明文件。
99
+ `codegraph.md` 不是默认说明文件名,但被显式引用或主动读取时仍可能进入上下文。
90
100
 
91
101
  已有其他设置和 JSONC 注释会保留;首次修改非空配置文件前,会保存原始文件到 `<配置文件>.codeoutline.bak`。
92
102
  重复安装同样配置不会重写文件;已有不同的 `codeoutline` 配置会保留,需要显式加 `--force` 才替换。
@@ -112,14 +122,23 @@ claude mcp add --transport http codeoutline --scope user http://127.0.0.1:19876/
112
122
 
113
123
  原生安装或使用 `--ignore-scripts` 安装后,运行 `codeoutline install` 完成同样的操作;`--port` 可指定 19876 以外的端口。安装时设置 `CODEOUTLINE_AUTOSTART=0` 可不登记自启动。服务日志位于 `~/.codeoutline/logs`。
114
124
 
115
- 卸载时先运行 `codeoutline uninstall`,再运行 `npm uninstall -g codeoutline`。
125
+ npm 全局安装可直接运行 `codeoutline remove`:先清理集成和默认用户数据,
126
+ 等待运行时退出后再卸载 npm 包;清理失败时保留包,以便重试。
127
+ 使用 `codeoutline remove --project PATH` 可同时清理指定项目的 MCP 注册。
128
+
129
+ 如需分步操作,先运行 `codeoutline uninstall`,再运行 `npm uninstall -g codeoutline`。
116
130
  第一步停止服务、移除自启动项、用户级 Agent MCP 配置及 VS Code/Cursor/Zed 客户端。
131
+ 同时清理 VS Code/Cursor 用户设置及命名配置档中的 `codeoutline.*` 配置,
132
+ 包括语言专属设置,保留其他设置和注释。
117
133
  添加 `--purge` 同时清理 `~/.codeoutline` 下的缓存、更新和日志;
118
134
  使用 `--service-only` 则仅移除服务,保留集成。
119
135
  添加 `--project PATH` 可同时移除指定项目的 MCP 注册。
120
136
  删除包文件前请关闭或重载编辑器,以释放运行中的 LSP 进程。
121
- 其他编辑器配置档、远程安装、自定义数据目录和原始配置备份需单独清理。
137
+ 工作区设置、编辑器自定义数据目录、远程安装和原始配置备份需单独清理。
122
138
  npm 7+ 不执行卸载钩子,仅运行 `npm uninstall` 不会清理集成或停止服务。
139
+ 发布包仍提供 `preuninstall` 兼容钩子,供支持它的包管理器调用;
140
+ 仅在全局卸载时尝试清理集成,保留用户数据,并跳过升级及本地安装流程。
141
+ 当前 npm 请使用 `codeoutline remove` 完成完整清理。
123
142
 
124
143
  服务监听 `127.0.0.1:19876`,可访问本机任意位置的项目,在不同盘的项目之间切换无需额外配置;只有本机进程能连到它,而本机进程本来就有你的文件访问权限。共享服务没有自己的项目:客户端提供 roots 时使用 roots,否则由智能体传入 `projectPath`,缺少时工具会提示需要它。
125
144
 
@@ -186,6 +205,14 @@ Linux 上解码 GBK 源码需要系统 iconv 的 GBK 模块;EL8/EL9 最小安
186
205
 
187
206
  C、C++、C#、Go、Java、JavaScript / TypeScript(含 JSX/TSX)、ArkTS(`.ets`)、Kotlin(`.kt` / `.kts`)、Lua、Python、Rust。
188
207
 
208
+ 调用关系、导航与补全共用查询期接收者入口,由各语言提供绑定和成员查找规则。
209
+ 支持 Lua 方法接收者、Python 参数及重新赋值、JS/TS/ArkTS 箭头函数的词法 `this`
210
+ 与普通函数的动态 `this`、Kotlin 扩展和作用域接收者、Rust `self`/`Self`,并复用
211
+ C/C++、C#、Java 和 Go 的声明类型解析。普通变量即使命名为 `self` 或 `cls`,
212
+ 也按其声明类型处理。详细绑定仅保留在有容量限制、经源码校验的内存缓存中;
213
+ 未知接收者不会退回同名方法猜测。运行时修改成员、任意动态调用和无法证明的泛型约束
214
+ 仍超出静态分析范围。
215
+
189
216
  ArkTS 复用 JS/TS 解析器,将组件 `struct` 按类索引,支持带装饰器的字段、方法、
190
217
  本地模块导入和 ArkUI 调用;声明式 UI 块不会被当作方法声明。
191
218
  这是启发式索引,不执行 ArkTS 类型检查;尚不解析 SDK `@kit.*`/`@ohos.*`、资源引用,
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":"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}
1
+ {"runtimeCommit":"be18042e9091379bf45624771a4e8819d2709f84","runtimeBuild":"4f732f99896571583bf36c62f9e00127fdffe245f43bacd27ee38e08d9cd1298","lua":"LuaJIT 2.1.1774896198","sourceCommit":"c95a5e4e716c7306de6642913b8bda03285acb34","sourceDirty":false,"releaseReady":true,"note":"Release build from a clean checkout","version":"0.3.6","target":"win32-x64","updateSequence":25,"sha256":{"scripts/codeoutline/query/navigation.lua":"c6bf6d41d71a3159c5906e7e182d136fe0d564dc9fd8ec53881add420363a0d6","scripts/codeoutline/analysis/resolution.lua":"ec137a38abfdcb7f366861a123480a3b3125a76acf7399a784f8fb207e833d0b","scripts/codeoutline/install/install_prompt.lua":"588c90cd2955756b13a96e1f0d17145a51eda239c9cf179d5eac195532ee9f49","scripts/codeoutline/query/on_demand.lua":"7faf5e4d5f21ca73903903703178d9d983c98d1ddb30d9ca5656bbae676e1f1a","scripts/codeoutline/analysis/csharp/csharp_bindings.lua":"4843f5eb39def4f88c0b873a97d081b87d7878040c3d1f13e2adc41f9f295a9a","scripts/codeoutline/lang/csharp.lua":"93762ccefd326fb04fcc5c5dd73821241216e9374de2abbe9e4f53fe5af1c160","scripts/codeoutline/query/query_filters.lua":"dfaac210f8ebf53d0e4515866b0128a77ff77cb0c8d7d558b71a4eaf9f2b32ef","scripts/xupgate/proxy.lua":"5bf532e7005f44555d6a5277336e5ad395af060585c13a1cdc2441de50e0dcff","scripts/codeoutline/lang/go.lua":"027afb44a9c3a92aa74b9af230d8571963183697529fd41fe915ffa831f3e8da","scripts/codeoutline/analysis/rust/cargo_toml.lua":"78f4f8bcf14f8db80bdac9fc2568988372d3cca222f82b34708f5330c00c8771","scripts/codeoutline/query/query_report.lua":"f53c24c48f3f94dd17c7f0be5501865aff0af73d926f27e03d9849c168996462","scripts/codeoutline/lang/java.lua":"3c6b2d844202cbe988644e94090be76e7f8a2a906f4412aefcbd06e9fb56a01b","scripts/codeoutline/analysis/foreign.lua":"4c8fdbe398f2b43be861ce0e4915916956c1fb2af6c10c5c04a9654e8aac2bf2","scripts/codeoutline/analysis/rust/rust_packages.lua":"c6886a77017bf039499d93027b28bd354599875a5d3705f622ea3366512432e8","scripts/codeoutline/lang/js.lua":"ff326c9ef41deb5ec7f961a556350b69c4b601a176d696114a2096d5118c2379","scripts/codeoutline/analysis/function_values.lua":"d10bc4a2a82a90a611daf3c2bb26c41da43543f7831711bd4b0c311ad5569d80","scripts/codeoutline/analysis/rust/rust_resolution.lua":"2b9ec789243cda63107a721e8d907faa3d3d5c18f21a69b634db4deac9e586ee","scripts/codeoutline/lang/kotlin.lua":"8b5dabbbede62bf0a1376414f7424e6dd3a248739cc015c2364d143901230d86","codeoutline":"1909247ba17be9d0fe14d689ea7c1c955013b5b79f05336e2161b6f161c4c394","lib/xhttp_codec.lua":"a5b0f127105ba6dbd4a518a214ca55e22c7510e6b2fc8c25c325898d8346ef8c","scripts/codeoutline/query/type_references.lua":"9119a2c55b2ae825190ac50d97d6a4cacacd33a707cd1e98b532c4a7d02e4a0c","editors/zed/extension.wasm":"d6920782ddd8272833f2631508374bb75d174bb2727f6414769f9ec8a724ad38","scripts/codeoutline/lang/lua.lua":"73f2f83ca086fb64e7b26b86d0a3ba4a1a2028a68df52e3cf9dce25cd73929a9","editors/zed/extension.toml":"2c5e28806d71e03b0c421d35b8a9aa9e1d428038417aebd7bdf3c871b22d93f4","editors/codeoutline.vsix":"672266c0a4dff84bbe9705767ca06fbd74d1f98585a3236096b5578c0bbd65f9","THIRD_PARTY.md":"a0d596a8600c5244b27c1426a81b4ec7046d213d733ec6b4287a4b1e8db501b5","DISTRIBUTION.md":"7f1b6d02bd3fa71a7d02cbd57bebd82fbd930d96c1cb32a5f15764466c88ef12","scripts/codeoutline/lang/python.lua":"a0b2b64fe42e585ec922304d3b8ecd6c679a97fecfe1bc56014f1556558c9387","scripts/codeoutline/analysis/static_dispatch.lua":"9940f4c4317e8f5345a9f39178fac639278bc186265a72369f1be808bdeebd29","scripts/codeoutline/analysis/js/js_workspace.lua":"230df95605e0ce47a940f425611d426eaa3d4de262736e3dfe3bd1f15db956b4","bin/xnet.exe":"56ef9855fad7746ad29fb10243d60d4c5bd507ab22c5e79abce1be11dded22c4","licenses/mbedtls.txt":"9b405ef4c89342f5eae1dd828882f931747f71001cfba7d114801039b52ad09b","scripts/codeoutline/lang/rust.lua":"45d0a9c535d674b31990ba1052f97b2da2a98565a68294937429f443ac1c8da5","scripts/codeoutline/analysis/automatic_events.lua":"2d81c3e943964680e13b6005b823f05637c31891f3759fec7074e14d20b7f150","scripts/codeoutline/analysis/go/go_methods.lua":"71832a6b8941a6b6f9155c59cec2da7c33108a132608cdaa2cd85076c4e241cf","licenses/lua-cmsgpack.txt":"8edfdc5282278a1268d8a6ee52f9245f1a5fe3d1c8065be00330196b1de49873","licenses/luajit.txt":"1b10a02c9474cb908da2d87bc908edd8798f9ad28d9a8c53fbd05c13227f7394","scripts/codeoutline/main.lua":"9f884e383721888af68fd41f3dfdd816e65e4d569346664e390ee086a4b55fa3","scripts/codeoutline/runtime/index_worker.lua":"0bfbf38fe9cb6e8a92b958028c6df9970575f881330dd4568a621463d20497b8","LICENSE":"1b63179362acd482b4a9a07ca526b3fce6d9103dcded361de2159ade174568b6","scripts/codeoutline/analysis/type_uses.lua":"eb1ee73f0a3cb67ef3b92ed1a8b7222fbc26137f743e466338e180b416ea12cb","scripts/codeoutline/runtime/idle_gc.lua":"2025b037b593b5e19714b6e283c8a0490146e591de795988a543a161277714f1","scripts/codeoutline/service.lua":"795797bf7d3b329e67fff5b3d8bd9ab2681dfb2472f7d9a8236756bea67c0c56","scripts/codeoutline/runtime/parse_worker.lua":"4cb620924fbe43d0f9a411c689060575220c0b2947d09fba266fe552ad003cfe","scripts/codeoutline/analysis/js/js_evidence.lua":"523913dcadb37ec433b31103c12218c383001851b7cf965cf4505065917d8afe","codeoutline.cmd":"52ee46a6010ff1161369e50df76e96beed2d6152f8c8e5095f73bc0b60a7629b","scripts/codeoutline/cli.lua":"28b058bbb3c86d9e6a7603c52ef62eacc8978af6c2201e61bfb8100bc79be4b2","scripts/codeoutline/shared/rules.lua":"b01402863062435a6d31a4a5a90208319876fdb444a76c75fd0c45ea8ee6fee5","scripts/codeoutline/runtime/update_worker.lua":"9557e5207e440fccf15e8255b3fb1c8933ad33d1f352c19987fb825f7db45706","scripts/codeoutline/parsing/common.lua":"6c883bb69827fd9e88e35f7ecc380f43e3a839fbea127e46ad6923c44beeb590","scripts/codeoutline/analysis/cpp/cpp_bindings.lua":"06adeb3b4a56d97555b6e4bd775de8dd1c9d2331474b670d53188d4fbe4b3b0c","scripts/codeoutline/analysis/js/js_resolution.lua":"427a4656216878487e9c11a02faa4f6c4240fb00b126ec298479a45c12f3ecce","scripts/codeoutline/analysis/implementations.lua":"2672c4337623100fc5b0dfa4e2260775e05c6d2d315be359be2eab4ec3f9c664","scripts/codeoutline/command.lua":"0b16dc8b960569bc7fc3d6c363f41d0672da8271de05ca0728ae5c1deb471fc6","scripts/codeoutline/protocol/mcp.lua":"1e65df410d6cede3cc0fb227ea406a5e7e178d425b5ed861f73d8b748fbdbae7","scripts/codeoutline/parsing/language_detect.lua":"4c9fd0fcd270cfd123e9e9d0bcc2f3635cd19a8784098a03cee6bce5ac593e8c","keys/update-public.pem":"7ff853339e19631b20ed3fa2cf221daa31c581e2e84d161b344b8f06de6562a8","scripts/codeoutline/analysis/cpp/cpp_implementations.lua":"87d637812626672f44226e245f94d675e209a83e4cd2d6b2a320ed9d60a6a3d0","scripts/codeoutline/analysis/indirect.lua":"38e15056251400f840604af29fb3ddacac7915d2cf1c2bf7870d481497cc8831","scripts/xupgate/signature.lua":"f07de8a4093d08cc69d3c1d8296d23318c5d81344ece788d4453a9b3b700f000","scripts/codeoutline/parsing/parse.lua":"81dacf0f07440f1a7516732c39251d0d7f07cef77f7d8f9f25bdacd96c7919a0","scripts/xupgate/http_codec.lua":"a5b0f127105ba6dbd4a518a214ca55e22c7510e6b2fc8c25c325898d8346ef8c","scripts/xupgate/http_client.lua":"e910132b82779969926f959fc876da4aa4807559f91d1d01d32b263f1784e01d","scripts/codeoutline/analysis/cpp/cpp_includes.lua":"7a2de73f528a608eb89aea0f5fe8d18b3ef51d6e9966106af0ecd41f03304d07","scripts/codeoutline/lang/c.lua":"f341d250a09a937d8548657991bdeac0aec8de26b7d056292709126ee999c6f1","scripts/codeoutline/parsing/xscan.lua":"bd95a1b0b7022d029a41aab615897502478b5834612505e8d299343cb5ca8ef9","scripts/codeoutline/indexing/cache_repairs.lua":"7e31a6118c3e991382ae2751a8b1d4913bcbf4e24d35f56253f46e156e8420a5","scripts/xupgate/client.lua":"88d8ccdd54282257d233af714fad22abc7af4b9ad65882f58330cc8814461985","scripts/codeoutline/query/callers.lua":"b1870f2d08c2274ce743d513560ce9329e16236399e065027685dbf8694c82ab","scripts/codeoutline/analysis/cpp/cpp_macros.lua":"fa79cd9ea652be2a921f930d0ec21dcfc1d61b15e0ea2cd22ad4141eeb4e9552","scripts/codeoutline/analysis/graph.lua":"e434dac63c5291f76faca97ee8b8e94f9ac5a9b8c529aeab56ca9de9a9d4bfd1","scripts/codeoutline/shared/path.lua":"407bd960c1ad04e5006b321ce33263393bb40eee5dee5c123be9b36d3ad10937","scripts/codeoutline/updater.lua":"267c4b6e9704fce710f44d1bfceac69c1857e34e064d8444d7890f0e10d921c7","scripts/codeoutline/indexing/cpp_fragments.lua":"6be4c3f89c234b6982235981d9f128875790acd5d22f80fe11290bb99af903a3","scripts/codeoutline/shared/text.lua":"56ee63c7b4cc63fe12d8ecd5b99410281463cdba8ca112f484e402ca6dfc5b90","scripts/codeoutline/analysis/cpp/cpp_receivers.lua":"4f9bea5325d0ccd3ddfe5117bf8891408d41988bdc94d6a388363624b64df0f3","scripts/codeoutline/analysis/lua/foreign_lua.lua":"c217da78314febeff5d20c9d7e9f68e25089d1e76f4350405d83af494deac3dc","scripts/codeoutline/protocol/http.lua":"bd558939df95e4a908551f43ca5bf0eb68d7a16b8eb20b1b4076a5ece20956b7","keys/update-ca.crt":"d9b5ec3d4628de9c5559871f39841a5f84d47c53ded4d58d6e3bba2b4c669a02","scripts/codeoutline/shared/control.lua":"b67a2e382e021f0793ef313aa4e71faab76f6cb77ca127f499d01ae96f36a8db","scripts/codeoutline/indexing/index.lua":"459a02dd0c436df968703b74b9fb4624b6fdb4adfffc2383c7abbdb683ef6160","scripts/codeoutline/analysis/cpp/cpp_types.lua":"18e68635a30f86a8975cc556839ed2be961685353dec290749fd169d3049cf16","licenses/xnet2lua.txt":"1aa8af3df70f60f1ebf2d23e14c27af1606057ad9c32a9a0d15fd76cff257532","scripts/codeoutline/analysis/lua/lua_bindings.lua":"da0528967f8984df790dc91ee170f9dfa9648aee429709d27313f0c48101d0d0","licenses/libdeflate.txt":"41b60f2caab6bffdd5ba360687bd23ca653c0a1235c00380ecffc939b4cd8d75","scripts/codeoutline/query/type_hierarchy.lua":"e5ccfa85ac63c636f50d33310274559624c08954e1f77a197ff941d799669b37","scripts/codeoutline/indexing/parse_pool.lua":"5a35dad6a6a44a2dccd793a694e65e5a2bdb621911d56bdb32375ce8295889d8","scripts/codeoutline/query/search_ranking.lua":"153987a2915c48516b8dca10121b8efa2b116af8cf82200243e45f1fd5feffb4","scripts/codeoutline/query/completion.lua":"688d1ca54bbbd5c7dad40286251b2ad1c404c66f5bc61da1e5dea065a615ffd8","scripts/codeoutline/analysis/lua/lua_callback_loops.lua":"2b28f338ebc23c8a6543fad61e932ceaee409512b69a71711d385fcc0bdafd4c","scripts/codeoutline/query/external_headers.lua":"9b8d8a87a67839d4da1d5eced619d7c54431dbff32b07d505ea54350bdc2de3b","scripts/codeoutline/update_sequence.lua":"585248fd87c00951f2cea79eb321811a65f3f2b963526f44ed9abad04b871ae1","scripts/codeoutline/analysis/go/go_frameworks.lua":"2f2a692a6dbda384abf32af0750bb40e99f1bc3e83f039215f0eaf750cf77f65","scripts/codeoutline/query/coverage.lua":"3a4a0e5f5ea8b7ea4a0be62c7c1a202153cf0c5c3423f78b100aecbb39513d5e","scripts/codeoutline/protocol/lsp_trace.lua":"41e6e67866eb6c862cf11337a637a94505f62a29533a9dbd6226d3b801444597","scripts/codeoutline/analysis/lua/lua_literal.lua":"5fdd90a872988622337410c7e516d41b789ce4326c4aa6dddcd61998fe5aef90","scripts/codeoutline/version.lua":"d65079f850e4e3b6a1faa58179f577e1d8f8d270add3e95321981c53252ec518","scripts/codeoutline/query/affected.lua":"7fe6ae466b314957f39ceb8fcc1f0a5339d523c86f99ce5735599a2477865b72","scripts/codeoutline/query/definition_candidates.lua":"06867f8873f8eddb0fc88ffdb20e5a837af5c20e361fe3b6fb38d923ebb92e6c","scripts/codeoutline/install/agent_config.lua":"041e1736f7be060b9eac9f3ced0b20f50854d94af2cddfa22c5d3868f3fc1681","scripts/codeoutline/protocol/lsp.lua":"f236c0407dc8b479c883cd526a19dca61efd999926e70d564d299c3972074224","scripts/codeoutline/analysis/ordinary_bindings.lua":"ec9f3609650f2ec05dd429e178118a4dded9b6c40cfecdd5efcdeb5e0bb2ad94","README.md":"291594269b54eb0690bad6c05b06585cd28989e9ddde9b3cc5422a6a2a944fb3","scripts/codeoutline/query/documents.lua":"1ed27cb6f805c1ff9acbc070f16e582b71c4a330c5539fb3d7b8ed4150c82bdf","README.zh-CN.md":"d65838da7d26d7f35df6d60c3c24b2142219131197b23e237128c83e2602250c","scripts/codeoutline/install/agent_install.lua":"32409b49dd1e8436169f334587b4994c9d6868ed3ff5c4eaed09b4b3b8ca12c4","scripts/codeoutline/analysis/python/python_bindings.lua":"ec4217f77345282a5522696c1b53e3886fb0e9a45736c10613fcb0fd4f016160","scripts/codeoutline/analysis/js/ts_implementations.lua":"2e92afd3b76a3dab73b99d7900dd357d37b9749a11c5bc11946e0d62d39e7be8","scripts/codeoutline/query/explore.lua":"04c670153afe4a2052a06ff9f21bec197ac82faaba53a7bd3335c93d31469544","scripts/codeoutline/analysis/type_bases.lua":"470fdcfffc3ded8bd3c9608db6128539757c91692bc714173dbb1bcdf8344e36","scripts/codeoutline/install/daemon.lua":"06863991135cc9a85f07bca8310296f0df9e415b3e2de97ae006393e777b009b","scripts/codeoutline/analysis/go/go_modules.lua":"432dc66435fe93fbc2a7d1aa4212ae03ad5454effd18ffb3e06c2eca6a169aab","scripts/codeoutline/analysis/dispatch_aliases.lua":"05f3b06d7d890089b8e18a2e849df9a5ec433bce5312a22d80b7be417e614373","scripts/codeoutline/analysis/receivers.lua":"34d943ed9837dd43bb108dd18620bbee89784c62604e5a44b7f9311baf1fb48c","scripts/xupgate/common.lua":"e449f64c92e4ef46d0c9f4c815aacb38866392cbc3502544d3a1985f9dc4f978","scripts/codeoutline/install/editor_install.lua":"a69f5e123f7fbdb58fe2da691c744c0668a11ccd88f17a98167038c80a5d4cff","scripts/codeoutline/analysis/shared_events.lua":"88fb64d66e6d41da3beeaeff86f6357b5a8ceae16003ba194aaa01171e4874f1","scripts/codeoutline/lang/cpp.lua":"e13eaf1882cddb20a7a651d13136e06ca42c482cf7ac53de38bf82fdda786727"}}
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" ] && [ "${1:-}" != "uninstall" ]; then
7
+ if [ "${1:-}" != "update" ] && [ "${1:-}" != "uninstall" ] && [ "${1:-}" != "remove" ]; 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
@@ -7,6 +7,7 @@ set "CODEOUTLINE_BASE=%~dp0"
7
7
  set "CODEOUTLINE_INITIAL=%~dp0"
8
8
  if "%~1"=="update" goto run
9
9
  if "%~1"=="uninstall" goto run
10
+ if "%~1"=="remove" goto run
10
11
  if not defined CODEOUTLINE_AUTO_UPDATE (
11
12
  set "CODEOUTLINE_AUTO_UPDATE=0"
12
13
  if "%~1"=="serve" set "CODEOUTLINE_AUTO_UPDATE=1"
Binary file
Binary file
package/package.json CHANGED
@@ -1 +1 @@
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"}}
1
+ {"cpu":["x64","arm64"],"version":"0.3.6","repository":{"url":"git+https://github.com/1dao/codeoutline.git","type":"git"},"name":"@codua/codeoutline-win32-x64","files":["bin/","lib/","keys/","scripts/","editors/","licenses/","LICENSE","codeoutline","codeoutline.cmd","build-info.json","*.md"],"license":"BSD-2-Clause","os":["win32"],"publishConfig":{"access":"public"},"description":"CodeOutline native runtime and Lua implementation for win32-x64"}
@@ -1,7 +1,7 @@
1
1
  -- Possible Node EventEmitter deliveries, proven to share one local object.
2
2
  -- No global event-name matching, execution-order inference or resident graph.
3
3
  local M = { MAX_FILES = 128, MAX_SITES = 512, MAX_TARGETS = 64 }
4
- local control = require('codeoutline.control')
4
+ local control = require('codeoutline.shared.control')
5
5
  local registrations = { on = true, once = true, addListener = true }
6
6
  local function supported(rec) return rec.language == 'javascript' or rec.language == 'typescript' end
7
7
  local function node_events(rec)
@@ -43,7 +43,7 @@ function M.collect(r, T)
43
43
  local has_emit = false
44
44
  for _, ref in ipairs(r.refs) do if ref.name == 'emit' and ref.recv then has_emit = true; break end end
45
45
  if not has_emit then return end
46
- local expand, binding = require('codeoutline.dispatch_aliases').prepare(r, T)
46
+ local expand, binding = require('codeoutline.analysis.dispatch_aliases').prepare(r, T)
47
47
  -- Unrepresented anonymous function scopes cannot safely share outer locals.
48
48
  -- Named handlers and variable-bound arrow functions have parser nodes.
49
49
  local headers = {}
@@ -134,9 +134,9 @@ end
134
134
 
135
135
  function M.context(G, ctx, report)
136
136
  local C = { incomplete = false, stats = { files = 0, sites = 0, links = 0 } }
137
- local shared = require('codeoutline.shared_events').context(G, ctx, report)
137
+ local shared = require('codeoutline.analysis.shared_events').context(G, ctx, report)
138
138
  C.stats.shared = shared.stats
139
- local cache, js = {}, require('codeoutline.js_resolution')
139
+ local cache, js = {}, require('codeoutline.analysis.js.js_resolution')
140
140
  local function data(f)
141
141
  if cache[f] then return cache[f] end
142
142
  if not M.candidate(G.files[f]) then return {} end
@@ -1,7 +1,7 @@
1
1
  -- Bounded declared receiver types. Source evidence is compact; lookup uses the
2
2
  -- same symbol tables and include visibility as ordinary graph queries.
3
3
  local M = {}
4
- local control = require('codeoutline.control')
4
+ local control = require('codeoutline.shared.control')
5
5
  local types = { class = true, struct = true, union = true }
6
6
  local qualifiers = { const = true, volatile = true, static = true, mutable = true, struct = true, class = true }
7
7
  local boundary = { [';'] = true, ['{'] = true, ['}'] = true, ['('] = true, [','] = true, [':'] = true }
@@ -10,7 +10,7 @@ local primitive = { auto = true, int = true, double = true, float = true, char =
10
10
 
11
11
  function M.collect(r, T, type_refs)
12
12
  if r.language ~= 'cpp' and r.language ~= 'c' then return end
13
- require('codeoutline.cpp_types').collect(r, T)
13
+ require('codeoutline.analysis.cpp.cpp_types').collect(r, T)
14
14
  local refs = r.refs
15
15
  if type_refs and #type_refs > 0 then
16
16
  refs = {}; for _, ref in ipairs(r.refs) do refs[#refs + 1] = ref end
@@ -22,7 +22,7 @@ function M.collect(r, T, type_refs)
22
22
  elseif r.language == 'c' then -- ordinary C call resolution is unchanged
23
23
  elseif ref.kind == 'call' or ref.kind == 'ref' or ref.kind == 'member_call' and T:text(ref.tok - 1) == '::' then
24
24
  if T:text(ref.tok) == ref.name then
25
- ref.binding = require('codeoutline.cpp_types').evidence(T, ref.tok)
25
+ ref.binding = require('codeoutline.analysis.cpp.cpp_types').evidence(T, ref.tok)
26
26
  r.has_bindings = true
27
27
  if ref.kind == 'call' or ref.kind == 'ref' then wanted[ref.name] = true end
28
28
  end
@@ -91,7 +91,7 @@ function M.resolve(G, f, src, name, evidence, deps, ctx, accept)
91
91
  if written then
92
92
  local scope = src and G.nodes[src].qualified
93
93
  if src and (G.nodes[src].kind == 'function' or G.nodes[src].kind == 'method') then scope = scope:match('^(.*)::[^:]+$') end
94
- local ids, known = require('codeoutline.cpp_types').resolve(G, f, written,
94
+ local ids, known = require('codeoutline.analysis.cpp.cpp_types').resolve(G, f, written,
95
95
  { scope = scope, at = tonumber(position), deps = deps, context = ctx, accept = accept, definitions = true })
96
96
  return ids, not known and 'unresolved c++ name' or nil
97
97
  end
@@ -100,16 +100,16 @@ function M.resolve(G, f, src, name, evidence, deps, ctx, accept)
100
100
  local written, at = ty:match('^(.-)%z(%d+)$')
101
101
  ty = written or ty
102
102
  local function classes(written, scope, file, position)
103
- return require('codeoutline.cpp_types').resolve(G, file or f, written,
103
+ return require('codeoutline.analysis.cpp.cpp_types').resolve(G, file or f, written,
104
104
  { scope = scope, at = position, deps = deps, context = ctx })
105
105
  end
106
106
  local scope = src and G.nodes[src].qualified:match('^(.*)::[^:]+$')
107
107
  local result, seen, emitted = {}, {}, {}
108
108
  local definition_owners = {}
109
- local configured = require('codeoutline.cpp_includes').policy(G, f, ctx).configured
109
+ local configured = require('codeoutline.analysis.cpp.cpp_includes').policy(G, f, ctx).configured
110
110
  local function belongs(id, cls)
111
111
  if definition_owners[id] == nil then
112
- definition_owners[id] = require('codeoutline.cpp_types').owner(G, G.node_file[id], G.nodes[id], ctx) or false
112
+ definition_owners[id] = require('codeoutline.analysis.cpp.cpp_types').owner(G, G.node_file[id], G.nodes[id], ctx) or false
113
113
  end
114
114
  if definition_owners[id] == cls then return true end
115
115
  -- Keep legacy class-outside hints when there is no configured policy
@@ -1,7 +1,7 @@
1
1
  -- C++ override evidence belongs to a query, never the resident index.
2
2
  local M = { MAX_ALIAS_FILES = 128, MAX_ALIAS_BYTES = 1024 * 1024 }
3
- local control = require('codeoutline.control')
4
- local lookup = require('codeoutline.cpp_types')
3
+ local control = require('codeoutline.shared.control')
4
+ local lookup = require('codeoutline.analysis.cpp.cpp_types')
5
5
  local classes = { class = true, struct = true }
6
6
  local cv = { const = true, volatile = true }
7
7
  local builtin = { void = true, bool = true, char = true, wchar_t = true, char8_t = true,
@@ -37,7 +37,7 @@ function M.collect(r, T)
37
37
  if id % 128 == 0 then control.check() end
38
38
  if classes[n.kind] or n.kind == 'method' then
39
39
  local d = { at = T.s[n.ti] - 1 }
40
- if classes[n.kind] then d.hierarchy_bases = require('codeoutline.type_bases').collect(T, n, r.language) end
40
+ if classes[n.kind] then d.hierarchy_bases = require('codeoutline.analysis.type_bases').collect(T, n, r.language) end
41
41
  local ni, opening
42
42
  for i = n.ti, n.tj do
43
43
  local s = T:text(i)
@@ -1,7 +1,7 @@
1
1
  -- Ordered C/C++ include lookup over indexed paths. Configuration is query-owned.
2
2
  local M = { MAX_PATHS = 128, MAX_RULES = 128, MAX_CACHED_TARGETS = 8192 }
3
- local paths = require('codeoutline.path')
4
- local control = require('codeoutline.control')
3
+ local paths = require('codeoutline.shared.path')
4
+ local control = require('codeoutline.shared.control')
5
5
  local function absolute(path) return path:sub(1, 1) == '/' or path:match('^%a:/') ~= nil end
6
6
  local function normalize(path)
7
7
  path = path:gsub('\\', '/')
@@ -33,7 +33,7 @@ local function directory(value, label)
33
33
  end
34
34
 
35
35
  function M.context(G, client_paths)
36
- local config = require('codeoutline.rules').read(G.root)
36
+ local config = require('codeoutline.shared.rules').read(G.root)
37
37
  local root = normalize(G.root or '')
38
38
  local function directories(value, label)
39
39
  array(value, label, M.MAX_PATHS)
@@ -1,7 +1,7 @@
1
1
  -- Query-owned project macro visibility. No expansion or compiler execution.
2
2
  local M = { MAX_FILES = 128, MAX_BYTES = 8 * 1024 * 1024, MAX_SUMMARY_BYTES = 1024 * 1024, MAX_EVENTS = 20000,
3
3
  MAX_DIRECTIVES = 4096, MAX_DEPTH = 32, MAX_RESULTS = 4096 }
4
- local control = require('codeoutline.control')
4
+ local control = require('codeoutline.shared.control')
5
5
  local scanners = {}
6
6
  local UNKNOWN = {}
7
7
  local function trim(s) return (s:gsub('^%s+', ''):gsub('%s+$', '')) end
@@ -54,7 +54,7 @@ local function scanner_for(language)
54
54
  local config = {}
55
55
  for k, v in pairs(require('codeoutline.lang.' .. language).config) do config[k] = v end
56
56
  config.pp_first_branch = false
57
- scanner = require('codeoutline.xscan').lang(config); scanners[language] = scanner
57
+ scanner = require('codeoutline.parsing.xscan').lang(config); scanners[language] = scanner
58
58
  end
59
59
  return scanner
60
60
  end
@@ -213,7 +213,7 @@ function M.context(G, ctx)
213
213
  elseif kind == 'include' then
214
214
  if not e.path then env[name] = UNKNOWN
215
215
  else
216
- local targets = require('codeoutline.cpp_includes').resolve(G, file, e, ctx)
216
+ local targets = require('codeoutline.analysis.cpp.cpp_includes').resolve(G, file, e, ctx)
217
217
  if #targets == 1 then walk(targets[1], math.huge, active, depth + 1)
218
218
  elseif #targets > 1 then
219
219
  if declarations then
@@ -1,5 +1,5 @@
1
1
  -- Query-owned C/C++ call-result receivers. Never infer a type from a member name.
2
- local control = require('codeoutline.control')
2
+ local control = require('codeoutline.shared.control')
3
3
  local M = { MAX_FILES = 16, MAX_BYTES = 8388608, MAX_DEPTH = 12, MAX_CANDIDATES = 256, MAX_TIME_MS = 400 }
4
4
  local family = { c = true, cpp = true }
5
5
  local aggregates = { class = true, struct = true, union = true }
@@ -200,7 +200,7 @@ function M.context(G, ctx)
200
200
  end
201
201
  local function visible(f, g)
202
202
  if f == g then return true end
203
- if not visibility[f] then visibility[f] = require('codeoutline.graph').visible_dependencies(G, f, ctx) end
203
+ if not visibility[f] then visibility[f] = require('codeoutline.analysis.graph').visible_dependencies(G, f, ctx) end
204
204
  return visibility[f][g]
205
205
  end
206
206
  local function bound(f, name, at)
@@ -225,12 +225,12 @@ function M.context(G, ctx)
225
225
  for i, alias in ipairs(G.by_name[ty.name:match('([^:]+)$')] or {}) do
226
226
  if i > M.MAX_CANDIDATES then limited(); return nil end
227
227
  if active(alias) and G.nodes[alias].kind == 'typedef' and visible(f, G.node_file[alias]) then
228
- for _, a in ipairs(require('codeoutline.cpp_types').aliases(G, G.node_file[alias], ctx)) do
228
+ for _, a in ipairs(require('codeoutline.analysis.cpp.cpp_types').aliases(G, G.node_file[alias], ctx)) do
229
229
  if a.name == G.nodes[alias].name and a.decorated then return nil end
230
230
  end
231
231
  end
232
232
  end
233
- ids = require('codeoutline.cpp_types').resolve(G, f, ty.name, { context = ctx, scope = owner, at = ty.at })
233
+ ids = require('codeoutline.analysis.cpp.cpp_types').resolve(G, f, ty.name, { context = ctx, scope = owner, at = ty.at })
234
234
  else
235
235
  ids = {}
236
236
  for i, id in ipairs(G.by_name[ty.name] or {}) do
@@ -259,12 +259,12 @@ function M.context(G, ctx)
259
259
  local candidates
260
260
  if declarations then
261
261
  local known
262
- candidates, known = require('codeoutline.cpp_types').resolve(G, G.node_file[id], '::' .. G.nodes[id].qualified .. '::' .. name,
262
+ candidates, known = require('codeoutline.analysis.cpp.cpp_types').resolve(G, G.node_file[id], '::' .. G.nodes[id].qualified .. '::' .. name,
263
263
  { context = ctx, accept = { ['function'] = true, method = true, prototype = true, field = true } })
264
264
  if known and #candidates == 0 then return {} end
265
265
  end
266
266
  if not candidates or #candidates == 0 then
267
- candidates = require('codeoutline.cpp_bindings').resolve(G, G.node_file[id], nil, name,
267
+ candidates = require('codeoutline.analysis.cpp.cpp_bindings').resolve(G, G.node_file[id], nil, name,
268
268
  'cpp:type:::' .. G.nodes[id].qualified, nil, ctx) or {}
269
269
  end
270
270
  for _, mid in ipairs(candidates) do
@@ -302,7 +302,7 @@ function M.context(G, ctx)
302
302
  local d = C.data(f)
303
303
  if not d or d.calls[target.at] or bound(f, target.name, target.at) then return nil end
304
304
  if G.files[f].language == 'cpp' then
305
- candidates = require('codeoutline.cpp_types').resolve(G, f, target.name,
305
+ candidates = require('codeoutline.analysis.cpp.cpp_types').resolve(G, f, target.name,
306
306
  { context = ctx, scope = scope(owner), at = target.at, accept = callable })
307
307
  else
308
308
  candidates = {}
@@ -1,6 +1,6 @@
1
1
  -- Shared C++ name lookup. Alias/import bodies and lexical ranges are query-only.
2
2
  local M = {}
3
- local control = require('codeoutline.control')
3
+ local control = require('codeoutline.shared.control')
4
4
  local classes = { class = true, struct = true, union = true }
5
5
  local declaring = { class = true, struct = true, union = true, enum = true, namespace = true, typedef = true,
6
6
  ['function'] = true, method = true, prototype = true, variable = true, field = true, constant = true, macro = true }
@@ -125,7 +125,7 @@ function M.resolve(G, f, written, opts)
125
125
  local ctx, accept = opts.context, opts.accept or classes
126
126
  local visibility, records = {}, {}
127
127
  local function dependencies(file)
128
- if not visibility[file] then visibility[file] = require('codeoutline.graph').visible_dependencies(G, file, ctx) end
128
+ if not visibility[file] then visibility[file] = require('codeoutline.analysis.graph').visible_dependencies(G, file, ctx) end
129
129
  return visibility[file]
130
130
  end
131
131
  local function visible(file, target)
@@ -344,7 +344,7 @@ function M.resolve(G, f, written, opts)
344
344
  if accept[n.kind] then result[#result + 1] = id end
345
345
  end
346
346
  if opts.definitions and #result > 0 then
347
- local _, paired = require('codeoutline.graph').visible_dependencies(G, f, ctx)
347
+ local _, paired = require('codeoutline.analysis.graph').visible_dependencies(G, f, ctx)
348
348
  local definitions = {}
349
349
  for _, id in ipairs(G.by_name[G.nodes[result[1]].name] or {}) do
350
350
  local n, g = G.nodes[id], G.node_file[id]
@@ -375,7 +375,7 @@ function M.namespace_members(G, f, namespace, ctx, at, seen, depth, expired)
375
375
  seen, depth = seen or {}, depth or 0
376
376
  if seen[namespace] or depth > 8 then return {} end
377
377
  seen[namespace] = true
378
- local deps = require('codeoutline.graph').visible_dependencies(G, f, ctx)
378
+ local deps = require('codeoutline.analysis.graph').visible_dependencies(G, f, ctx)
379
379
  local result = {}
380
380
  local function add(id)
381
381
  local n, g = G.nodes[id], G.node_file[id]
@@ -418,7 +418,7 @@ function M.namespace_members(G, f, namespace, ctx, at, seen, depth, expired)
418
418
  end
419
419
 
420
420
  function M.imported_members(G, f, scope, at, ctx, expired, prefix)
421
- local deps = require('codeoutline.graph').visible_dependencies(G, f, ctx)
421
+ local deps = require('codeoutline.analysis.graph').visible_dependencies(G, f, ctx)
422
422
  local result, names = {}, {}
423
423
  local any = setmetatable({}, { __index = function() return true end })
424
424
  local function active(alias, file)
@@ -1,6 +1,6 @@
1
1
  -- C# using/receiver evidence shared by LSP and graph queries. No compiler execution.
2
2
  local M = {}
3
- local control = require('codeoutline.control')
3
+ local control = require('codeoutline.shared.control')
4
4
  local types = { class = true, struct = true, interface = true, record = true, enum = true }
5
5
  local callable = { method = true, constructor = true, ['function'] = true, prototype = true }
6
6
  local function clean(s) return s and s:gsub('^@', '') end
@@ -1,7 +1,7 @@
1
1
  -- Query-owned, bounded lexical aliases for explicit dispatch contracts.
2
2
  -- No execution, basename guesses or persistent binding graph.
3
3
  local M = {}
4
- local control = require('codeoutline.control')
4
+ local control = require('codeoutline.shared.control')
5
5
  local member = { ['.'] = true, [':'] = true, ['::'] = true, ['->'] = true }
6
6
  local supported = { lua = true, javascript = true, typescript = true, arkts = true, python = true, c = true, cpp = true }
7
7
  local callable = { ['function'] = true, method = true, constructor = true }
@@ -11,7 +11,7 @@ local statements = { ['local'] = true, ['function'] = true, ['end'] = true, ['re
11
11
 
12
12
  local function quoted(T, i, language)
13
13
  local s = T:text(i)
14
- if T.k[i] == 'str' and language == 'lua' then return require('codeoutline.lua_literal').decode(s) end
14
+ if T.k[i] == 'str' and language == 'lua' then return require('codeoutline.analysis.lua.lua_literal').decode(s) end
15
15
  if T.k[i] == 'str' and (s:sub(1, 1) == '"' or s:sub(1, 1) == "'")
16
16
  and s:sub(-1) == s:sub(1, 1) and not s:find('[\\$]') then return s:sub(2, -2) end
17
17
  end
@@ -443,7 +443,7 @@ function M.prepare(r, T)
443
443
  if target.namespace then
444
444
  local short = suffix:match('^[%.:]([%w_]+)$')
445
445
  if not short then return false end
446
- b.members = b.members or require('codeoutline.lua_bindings').local_members(r.nodes, scopes,
446
+ b.members = b.members or require('codeoutline.analysis.lua.lua_bindings').local_members(r.nodes, scopes,
447
447
  b.name, b.token, b.scope, b.finish)
448
448
  local id = b.members[short]
449
449
  return id and { node = id, symbol = r.nodes[id].qualified } or false
@@ -7,7 +7,7 @@ local records, contracts, order = setmetatable({}, { __mode = 'k' }), setmetatab
7
7
  local function load(G, f)
8
8
  local rec = G.files[f]
9
9
  if records[rec] ~= nil then return records[rec] or nil end
10
- local full = require('codeoutline.navigation').full(G, f, true)
10
+ local full = require('codeoutline.query.navigation').full(G, f, true)
11
11
  if not full then return nil end
12
12
  -- Node indices are stable only while the source still matches the index.
13
13
  for n, node in ipairs(rec.nodes) do
@@ -68,7 +68,7 @@ function M.exports(rec, language, module)
68
68
  end
69
69
 
70
70
  function M.collect(rec, T)
71
- require('codeoutline.foreign_lua').collect(rec, T)
71
+ require('codeoutline.analysis.lua.foreign_lua').collect(rec, T)
72
72
  end
73
73
 
74
74
  function M.modules(G, language, name, ctx)
@@ -29,7 +29,7 @@ function M.collect(r, T)
29
29
  local names, roots, seen = {}, {}, {}
30
30
  for _, n in ipairs(r.nodes) do if callable[n.kind] then names[n.name] = true end end
31
31
  if r.language ~= 'java' then
32
- for _, imp in ipairs(require('codeoutline.dispatch_aliases').imports(r, T)) do
32
+ for _, imp in ipairs(require('codeoutline.analysis.dispatch_aliases').imports(r, T)) do
33
33
  names[imp.name], roots[imp.name] = true, true
34
34
  end
35
35
  end
@@ -49,7 +49,7 @@ function M.collect(r, T)
49
49
  if not changed then break end
50
50
  end
51
51
  for i = 1, T.n do
52
- if i % 4096 == 0 then require('codeoutline.control').check() end
52
+ if i % 4096 == 0 then require('codeoutline.shared.control').check() end
53
53
  if T.k[i] == 'id' and not seen[i] then
54
54
  local prev, next = T:text(i - 1), T:text(i + 1)
55
55
  local explicit = prev == '::' and r.language == 'java'