文件最后提交记录最后更新时间
fix(semantic): php.scm uses function_definition (not function_declaration) tree-sitter-php 0.24.2 grammar exposes: - function_definition (top-level functions) - method_declaration (class/interface methods) - class_declaration - interface_declaration Previous query referenced function_declaration — not a valid node name in this grammar. Result chain: Query::new(grammar, php.scm) → Err(NodeType "function_declaration") → list_symbols_treesitter() → None → list_symbols() → None → test_list_symbols_php panicked on .unwrap() Verified by cargo test -p atomcode-core --lib test_list_symbols_php: test semantic::tests::test_list_symbols_php ... ok Bonus: also added method_declaration capture so class methods (e.g. add in the test's Calculator::add($a, $b)) appear in the symbol list — without it the assertion names.contains(&"add") would fail even after the function_definition fix. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> 27 天前
Merge feat/telemetry-v2 into release/v4.20.1 Integrates the atomcode-telemetry crate (new) with the MCP support, Ollama function-calling, and background-commands features from release. Key resolutions: - CLI Commands enum: kept both Mcp(McpCli) and Telemetry { action } variants - atomcode_tuix::run(): added mcp_registry + mcp_connect_rx + telemetry params - LoopCtx: added both mcp_registry/mcp_connect_rx/mcp_reload and telemetry fields - runner.rs: kept telemetry scope + tel_return! macro; added unwrap_doubly_nested_args from HEAD into v2's ToolCallDone arm; preserved HEAD's async ToolRegistry API - bash.rs: merged HEAD's enhanced netcat/mknod security detection with v2's code structure improvements; added visit_f64 to lenient deserializer - agent/mod.rs: took HEAD's emit_rich_context_stats().await form - daemon/main.rs: kept register_sync form + telemetry Disabled("daemon") init - commands.rs: took HEAD (mcp, background, init; no /fixissue) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> 1 个月前
add php support 28 天前
!122 merge add-php-support into release/v4.22.0 [共创大赛] 添加基于 Tree-sitter 的 PHP 语义分析支持 Created-by: luhputu520 Commit-by: luhputu520 Merged-by: saulcy Description: ## 概述 <!-- 简要描述本次 PR 的改动 --> 为 atomcode-core 的语义分析模块新增 php 支持,使 .php 文件可进入 tree-sitter 语义流程而不是 fallback。 ## 关联 Issue <!-- 本次 PR 解决的 Issue 链接,例如 Fixes #xxx --> 无 ## 变更类型 - [ ] 🐛 Bug 修复 - [x] ✨ 新功能 - [ ] 🔄 重构(无行为变化) - [ ] 📝 文档更新 - [ ] 🧪 评测 / 测试用例 - [ ] 🔧 工具链 / CI 修改 - [ ] 🗑️ 代码清理 ## 测试计划 <!-- 如何进行测试?--> - [x] cargo build 成功 - [x] cargo test 通过 - [ ] cargo clippy 无警告 ## 已验证的 Provider <!-- 你在哪些 Provider 上测试过?--> - [ ] OpenAI - [ ] Claude (Anthropic) - [ ] 硅基流动 - [x] DeepSeek - [ ] OpenRouter - [ ] Ollama ## 检查清单 - [ ] 代码符合 Rust 格式化规范(cargo fmt) - [x] 改动有对应的或新增的测试覆盖 - [ ] 必要时已更新文档 - [x] PR 标题遵循 [Conventional Commits](https://www.conventionalcommits.org/) 规范 - [ ] 破坏性变更已在描述中明确说明 See merge request: atomgit_atomcode/atomcode!12228 天前