Commit Graph
100 Commits
Author SHA1 Message Date
csh 01caaf8062 📦 deps(playbook): sync rules, prompts, memory-bank 2026-02-02 13:02:42 +08:00
csh 42fd6168e9 📦 deps(playbook): sync playbook snapshot 2026-02-02 10:51:41 +08:00
csh b52102b7bd Squashed 'docs/standards/playbook/' changes from b529012..a854534
a854534  feat(plan_progress): auto-detect env for blocked plans
0d9a8ec 🐛 fix(playbook): honor no_backup for sync
2d401fa  test(templates): update prompts validation
e23474e 📝 docs(playbook): update prompts and sync notes
60ff3cd 🐛 fix(playbook): sync templates per file
816f036  test(playbook): add sync and vendor coverage
625cabb 📝 docs(memory_bank): reformat templates
2554c87 📝 docs(prompts): refresh prompt templates
6774a9d  feat(plan_progress): track plan status in progress.md
73d5c26 🔧 chore(playbook): split sync_templates into sections
278750e  feat(playbook): add plan progress tracking and rules updates
6efd637 🐛 fix(sync): keep agents block blank lines
ea00d43 🐛 fix(playbook): support toml without tomllib
ab0dd11 📝 docs(playbook): drop docs/plans snapshots
398696c  feat(playbook): merge unified cli
d959f80 🎨 style(docs): format markdown
b4f712a 🗑️ remove(legacy): drop old scripts and tests
0c4cd0e  feat(actions): add install_skills and format_md
3d1582c  feat(sync): add templates and standards actions
49bbfa1  feat(vendor): add playbook snapshot generation
8cfcc25  feat(cli): parse toml config and dispatch actions
05903c3  feat(cli): add toml config and dispatch order
65d216e  test(cli): add basic playbook cli tests
f0bcf54 📝 docs(plans): add unified playbook cli plan
0885309 📝 docs(plans): add unified playbook cli design
3483d8a 🔧 chore(git): ignore .worktrees dir
eb75036 🔧 chore(templates): align agent templates and docs
efb93f1 📝 docs(playbook): drop todo/confirm mentions
4a85306 🗑️ remove(workflow): drop todo/confirm artifacts
9c5ee9f 🎨 style(markdown): format docs with prettier
5a2925f 🐛 fix(scripts): repair windows script parsing
26a35e0  test(ci): update required skills list
8df3883 🐛 fix(test): skip external root doc links
b067fc1 📦 deps(skills): sync superpowers
c03cda0 🔧 chore(ci): sync from origin main
55e05cb 🔧 chore(ci): use superpowers sync script
73c97f3 🔧 chore(ci): centralize superpowers sync
945704f 🔧 chore(ci): add superpowers sync workflow
e5d2c93 🗑️ remove(skills): drop duplicate workflows
3ae9708 🐛 fix(ci): update tests for flag-only scripts
c44b9aa 🔧 chore(scripts): require flag-driven args
e4e1d14 🔧 chore(scripts): unify single-dash options
b2eb475  test(templates): add template coverage
fc230b7 🎨 style(markdown): format markdown files
8dc8924 🔧 chore(markdown): add prettier config and usage
2045dd4  feat(vendor_playbook): add apply-templates option
872d8cf  feat(templates): add sync templates scaffolding
5b1ca45 📝 docs(skills): clarify todo-plan template
054967a  feat(skills): add todo-plan skill
cc340f1 🔧 chore(ci): align standards-check workflow template
e9de0aa 🔧 chore(ci): drop removed skill check
e5dd7d9 🔧 fix(sync): avoid backtick expansion
087b0b9 🔧 chore(sync): align agents block across ps1/bat
9481510 🔧 chore(sync): scope agents block to existing langs
b0ca842 🔧 fix(sync): rewrite docs path in agents
c98d65c 🔧 chore(sync): rewrite agents docs paths
c33611c 🗑️ remove(skills): drop unused skills and update references
2b37860 🎨 style(markdown): format markdown files
e3ecd26 📝 docs(tsl): align syntax annotations and examples
37546fe 🐛 fix(playbook): enforce rulesets to agents flow
f2df89d 🐛 fix(scripts): include language list in AGENTS.md
c0d0737 🐛 fix(playbook): add agents mirror for sync
3b8b99b 🎨 style(markdown): normalize md headings and lists
31f3000 ♻️ refactor(playbook): rename agents template directory to rulesets
11b2bed  feat(markdown): add ruleset and sync support
5b89580  test(scripts): quiet git init warnings
5822a87 ♻️ refactor(playbook): streamline agents and refresh tsl docs

git-subtree-dir: docs/standards/playbook
git-subtree-split: a85453439f65b0c0aa05a5bbece773a02216ce76
2026-02-02 10:51:38 +08:00
csh 50ef706bbb 🔧 chore(ci): add lsp-server build and test
lsp-server ci / build-and-test (push) Failing after 1m21s
2026-01-08 16:25:05 +08:00
csh 2ffa3d48c3 📦 deps(lsp_server): bump conan dependencies 2026-01-08 16:07:46 +08:00
csh f0785352b8 🔧 chore(repo): escape gitattributes negation 2026-01-08 16:00:17 +08:00
csh f204115823 🔧 chore(standards): sync cpp rules and gitattributes 2026-01-08 15:58:04 +08:00
csh 488785f08f Merge commit 'ac794a6a7051497ff60b947642d44f0f8c04d6c6' into lsp-server 2026-01-08 15:56:37 +08:00
csh ac794a6a70 Squashed 'docs/standards/playbook/' changes from e504a68..b529012
b529012  test(tests): avoid hardcoded missing path
07583c8 🐛 fix(tests): make doc link check awk-portable
6244aa3 🔧 chore(ci): relax gitattributes check
31dd0c5 🐛 fix(scripts): require existing project root
15d4d63 🔧 chore(ci): install python3-pip
90c6313 🔧 chore(ci): run tests in a single job
d84eff0 🔧 chore(ci): make actions base url configurable
395598d 🔧 chore(ci): fix yaml step names
4ae2733  feat(sync_standards): auto-detect existing languages
e97fb00  feat(sync_standards): default gitattributes to append
da0ef2b  test: add automated tests and ci workflow
99bef30 🎨 style(markdown): format all markdown files with prettier
7e96bc8 ♻️ refactor(tsl): split function.md into 44 modular files
0d6b2a0 📝 docs(readme): add quick decision table and TL;DR for distribution methods
3b2188f 🎨 style(markdown): format markdown files with prettier
41fc43b 📝 docs(tsl): document {Unit.}Type source annotation
3dceaf7 📝 docs(tsl): clarify tsf-only top-level rules and type annotations
3a63829 📝 docs(skills): add create-plan skill
f02a707 🐛 fix(scripts): escape markdown backticks in vendor_playbook
064aa92 🐛 fix(scripts): correct bat scripts
4881feb 🔧 chore(gitattributes): enforce crlf for bat files
1fa3e2a 🐛 fix(scripts): escape parentheses in sync_standards output
3958cad 📝 docs(vendor_playbook): mention ci templates
9d059cf  feat(templates): add gitea ci example
a52bb24 📝 docs(codex_skills): normalize markdown formatting
cc8ad4c 📝 docs(skills): slim commit-message
2a98e15 🐛 fix(skills): quote YAML descriptions
8f78d22 🐛 fix(sync_standards): generate minimal AGENTS.md
5547665  feat(skills): add commit-message suggestion skill
3fe8bd7 🔧 chore(sync_standards): create AGENTS.md on sync
283d311  feat(playbook): add syntax book and codex skills tooling
5b97ed5 📝 docs(tsl): clarify syntax references
27e0700  feat(skills): add pdf/docx/pptx/xlsx wrapper workflows
5551363  feat(skills): add debugging and bulk refactor workflows
1d4f548  feat(skills): add built-in workflow skills
c0895dd 📝 docs(skills): add anthropics document-skills integration
cf9f80d 🔧 chore(playbook): add Claude Code skills guide and align python templates

git-subtree-dir: docs/standards/playbook
git-subtree-split: b529012c59c5d67c3073884d7b617763647417fd
2026-01-08 15:56:36 +08:00
csh f056b0cad1 test(lsp_server): update test scripts and tsf cases 2026-01-08 15:51:54 +08:00
csh b2a1bb6685 feat(lsp_server): add call snippets to completion resolve 2025-12-24 15:13:10 +08:00
csh baaf2ee688 🎨 style(bridge): drop unused std imports 2025-12-24 14:02:04 +08:00
csh 1a784c6452 🔧 chore(lsp_server): keep full provider/capability list commented 2025-12-24 13:52:22 +08:00
csh d13b24a5da 🐛 fix(lsp_server): disable diagnostics publishing by default 2025-12-24 13:45:35 +08:00
csh ec2c580a8c test(lsp_server): cover completion trigger cases
Add explicit coverage for empty-prefix variants, unit/member dot access, createobject quoting forms, and resolve snippet placeholders.

Verified: test_provider (clang-linux-server/Release)
2025-12-24 12:23:53 +08:00
csh adec86a3aa 🐛 fix(symbol): index all system tsf files
Do not drop system-library .tsf units when the file stem differs from top-level symbols.

Add test_provider support for --interpreter=... and an interpreter integration test that validates full indexing plus completion+resolve snippet.
2025-12-24 12:02:30 +08:00
csh 02864dda89 🔧 chore(lsp_server): gate providers to completion/definition
Initialize now advertises only completion (resolve) and definition.

Verified: test_provider (clang-linux-server/Release)
2025-12-24 11:33:40 +08:00
csh 09e65224fe feat(lsp_server): implement missing providers and json coverage
Implement workspace configuration/folders and apply WorkspaceEdit.changes.

Strengthen provider JSON coverage (all methods require params, no errors).

Verified: Release test_provider
2025-12-24 10:42:13 +08:00
csh f6943e69ef 🔧 chore(conan): update cross build example 2025-12-21 22:53:08 +08:00
csh d2d3d9eb48 🎨 style(provider): restore trailing newlines 2025-12-21 22:23:42 +08:00
csh 2c1c1d8a88 feat(provider): add compile-time registry 2025-12-21 22:21:46 +08:00
csh f54050bad2 ♻️ refactor(semantic): split semantic partitions
move semantic declarations into focused partitions and add new type_system.types/graph.types modules.

reorder lsp server members so async executor shuts down before manager hub to avoid exit crash.
2025-12-21 21:33:15 +08:00
csh 442bb5db7e 🧹 chore: align scripts with kept build dirs 2025-12-21 17:35:42 +08:00
csh 6dcbe0a1cd 🐛 fix: filter createobject completion prefix 2025-12-21 16:12:39 +08:00
csh f56cf960f1 🐛 fix: align trace value type 2025-12-21 16:12:28 +08:00
csh eb44afe2be 🧪 test: ignore IDS_AuditExpr in ast/symbol scripts 2025-12-21 15:57:38 +08:00
csh fbf6c85baa 🧪 test: register remaining tests in ctest 2025-12-21 15:52:09 +08:00
csh f2d2aeb272 🧪 test: wire ast/symbol scripts into ctest 2025-12-21 15:47:27 +08:00
csh bb0cbde79c 🧪 test: add LSP json fixtures and provider suite 2025-12-21 15:39:33 +08:00
csh 53f4588c53 🐛 fix: align rename provider method names 2025-12-21 15:39:16 +08:00
csh 1de97aace5 🐛 fix: support LSP request id variants 2025-12-21 15:38:46 +08:00
csh 8e564fc8bb 🧹 remove empty extern C block 2025-12-20 11:33:09 +08:00
csh b27dafb657 sync tree-sitter grammar and AST 2025-12-20 11:25:33 +08:00
csh 7c13d70d3a 🔧 chore(standards): sync cpp playbook rules
Vendor standards live under docs/standards/playbook and are synced into .agents/cpp.

Add AGENTS.md entries so agents working in lsp-server follow the C++ ruleset and standards.
2025-12-14 17:57:26 +08:00
csh eada742d75 Squashed 'docs/standards/playbook/' content from commit e504a68
git-subtree-dir: docs/standards/playbook
git-subtree-split: e504a689dcf2e2fdeeb64097930347d504e68f5f
2025-12-14 17:55:55 +08:00
csh dbdde4ed48 📦 deps(standards): vendor playbook 2025-12-14 17:55:55 +08:00
csh e75027b80a 🔧 chore(symbol): trace per-library file indexing
- Log each indexed .tsf file at trace level during LoadSystemLibrary.
- Include top-level symbol summary when a file is skipped for stem mismatch.
2025-12-14 14:06:24 +08:00
csh 9a12b1b194 🐛 fix(logging): support --log-stderr and clarify stdin wait
- Make logs go to stderr by default (keep LSP stdout clean).
- Add --log-stderr/--log-stdout flags and wire config.use_stderr into spdlog.
- Log an explicit message when waiting for LSP input on stdin.
2025-12-14 13:43:56 +08:00
csh 241de77152 🐛 fix(symbol): treat .tsl as script, not library
- LoadSystemLibrary now only scans .tsf files.
- LoadWorkspace still indexes .tsl scripts but skips the file-stem/top-level check for them.
2025-12-14 13:28:14 +08:00
csh 566830bdb8 🐛 fix(symbol): emit module symbols for unit
Fix Builder::CreateSymbol to handle SymbolKind::Module (Unit) so system/workspace loading can match file stems.
2025-12-14 13:13:54 +08:00
csh 2c9c0b2d8f 🐛 fix(server): load interpreter funcext symbols
- Wire `--interpreter=...` into server startup.
- Auto-load `<interpreter>/funcext` as a system library via Symbol::LoadSystemLibrary.
2025-12-14 13:08:50 +08:00
csh 7d1db3f3ac 🔧 chore(conan): rename profiles without version
- Rename `linux-x86_64-clang-20` to `linux-x86_64-clang`.
- Rename `windows-x86_64-clang-20-cross` to `windows-x86_64-clang-cross`.
- Remove unused `windows-x86_64-clang-17-cross` profile.
2025-12-14 12:59:32 +08:00
csh ab1dcc00bc 🐛 fix(uses): make file-level uses globally visible
- Preserve top-level `uses` imports and apply them to subsequent unit/class/function/method scopes.
- Extend semantic ResolveFromUses to consult file-level imports (and fall back from unit imports).
2025-12-14 11:10:50 +08:00
csh 171d5e2064 feat(lsp_completion): support unit-qualified constructors
- Support `new UnitA.ClassName` and `new unit(UnitA).ClassName` completion.
- Support `createobject("UnitA.ClassName"` and `createobject("unit(UnitA).ClassName"` completion.
- Apply `uses` ordering when resolving ambiguous ClassName (last wins).
- Improve `obj.` member completion using qualified type strings.
2025-12-14 10:33:12 +08:00
csh 3106ab9ce4 feat(lsp_completion): complete object creation and members
- Add class-name completion for `new` and `createobject("..."`.
- Generate constructor parameter snippets in completionItem/resolve.
- Support `obj.` instance member completion (methods/properties/fields).
- Infer `new`/`createobject` result types in SemanticModel TypeSystem.
2025-12-14 09:54:18 +08:00
csh 476e83beb8 feat(lsp_server): support rdo_expression and normalize call field
- rename tree-sitter fields for inherited/rdo to 'call'
- regenerate parser sources and sync into lsp-server
- add RdoExpression to AST + symbol/semantic visitors
2025-12-14 06:05:47 +08:00
csh d1c35de70c 🔧 chore(conan): add clang-20 profiles
add linux and windows-cross conan profiles for clang 20 toolchains
2025-12-13 20:37:10 +08:00
csh e5782c76fa ♻️ refactor(lsp_server): move entrypoints out of named modules
- export Run() from launcher module and add non-module main TU
- apply same pattern to module-based test executables
- migrate utils/string implementation fully into string.cppm and drop string.cpp
- point clangd to linux build compilation database
2025-12-13 19:55:45 +08:00
csh f7d5a74615 ♻️ 使用module重构所有代码 2025-12-07 23:07:03 +08:00
csh 549f1d1b0a ♻️ 重构 2025-12-05 21:03:18 +08:00
csh 4c2e242920 新增语义模块
♻️ 重构符号表,职责更清晰单一

🐛 同步修复`test_symbol`
2025-11-18 23:11:40 +08:00
csh 3274af67d5 ♻️ 重构符号表的代码 2025-11-17 17:45:39 +08:00
csh 99f735f2df 🗑️ 删除CMakeLists.txtvcpkg的支持
 新增`conan`包管理,并配置多平台`profile`

🔧 变更`CMakeLists`的设置
2025-11-17 17:41:43 +08:00
csh 41ef82b1aa 🐛 修复路径转换问题 2025-11-17 08:59:15 +08:00
csh cee6e614bf ♻️ 重构符号表相关内容
🚀 优化`ast`相关代码
2025-11-16 21:20:47 +08:00
csh 8f25f212a7 📦 更新lsptree-sitter的依赖
🚀 优化部分无关代码

🐛 修复`ast`的测试代码
2025-11-15 21:19:45 +08:00
csh 1776437d1d tree-sitter 新增语法支持procedure 2025-11-15 21:18:50 +08:00
csh 9714d8c9ac grammar.js支持var,out,const,in等语法参数
🚀 优化`grammar.js`的语法设计,合理重命名一些field

♻️ 重构ast的`struct`设计
2025-11-13 22:41:40 +08:00
csh 7dfbb713ac ♻️ 继续重构 2025-11-11 23:12:03 +08:00
csh 49f2085847 Merge remote-tracking branch 'origin/master' into lsp-server 2025-11-11 18:58:59 +08:00
csh 0ef01a2d1c ♻️ 重大重构 2025-11-11 18:58:21 +08:00
csh 7e0b69c354 ♻️ 重构tree-sitter-tsf 2025-11-11 16:54:48 +08:00
csh 9f4d447b5c 🔧 更新gitattributes 2025-11-02 16:37:33 +08:00
csh 3cd7198b45 📦 更新server 2025-11-02 16:35:51 +08:00
csh 5eba41429d 🐛 恢复 2025-11-02 16:34:31 +08:00
csh e9b2945289 🐛 test bug 2025-11-02 16:32:46 +08:00
csh a1d0df9024 🔧 更新gitattributes 2025-11-02 16:29:25 +08:00
csh bcb83f7cad ♻️ 更名tree-sitter-tsf文件夹 2025-11-02 16:29:05 +08:00
csh d8027f2f1a 🔧 gitattributes忽略自动生成和第三方依赖的代码 2025-11-02 16:22:30 +08:00
csh 64ec88f0c3 🗑️ 移除test_glaz
 新增测试`test_lsp_any`
2025-11-02 15:47:48 +08:00
csh a81d9de71d ♻️ 重构优化LSPAny相关代码 2025-11-02 15:47:40 +08:00
csh c690b76fcf 🔧 gitignore新增过滤项 2025-11-02 15:46:50 +08:00
csh 33a20fdb52 update bin 2025-11-01 23:00:32 +08:00
csh e7a5274270 大量更新,不想写更新日志 2025-11-01 22:57:53 +08:00
csh ff9a7c5093 update .gitignore 2025-10-26 22:52:51 +08:00
csh 100e210ed1 add symbol table and test file 2025-10-26 22:52:31 +08:00
csh 7d9b966bc7 improve ast 2025-10-26 22:51:52 +08:00
csh dbccd5b605 improve tree-sitter 2025-10-26 22:51:27 +08:00
csh 9385aaf2c1 update tree-sitter 2025-10-25 23:53:26 +08:00
csh 6aa28f9b23 update test_ast file 2025-10-25 23:53:04 +08:00
csh e0e8c7b26d fix ast 2025-10-25 23:52:33 +08:00
csh 857ba73755 update .gitignore 2025-10-25 14:07:14 +08:00
csh 117f8e878e update test file 2025-10-25 14:06:58 +08:00
csh 6be3662226 update protocol 2025-10-25 14:05:35 +08:00
csh 0fedf40a25 update tree-sitter 2025-10-25 14:05:13 +08:00
csh a7237a58d9 improvements 2025-10-25 14:04:59 +08:00
csh ddca9769e5 refactor ast 2025-10-25 14:02:55 +08:00
csh 57f182380e fix: ast bug 2025-10-15 22:59:51 +08:00
csh 174d484d93 枚举修正 2025-10-15 22:59:39 +08:00
csh 4deb0b6d87 lsp协议的枚举不使用google风格 2025-10-15 22:59:06 +08:00
csh 1f7045140e 重构语法树/符号表 2025-10-15 20:31:00 +08:00
csh f52768e385 Enable Git LFS for binaries 2025-10-15 20:30:12 +08:00
csh a451b1b2d8 debug args 2025-09-28 18:57:19 +08:00
csh 353e76be38 update README 2025-09-28 10:22:08 +08:00
csh 4385652791 3.0.0 2025-09-28 10:08:45 +08:00
csh dc713e6893 支持全局函数补全 2025-09-27 22:23:04 +08:00
csh aac12137cb tree-sitter and lsp-methods 2025-09-14 12:28:37 +08:00
csh e9972fd869 Merge branch 'master' into lsp-server 2025-09-11 14:42:31 +08:00
csh 9b83e6e07c update test.tsl 2025-09-11 14:27:01 +08:00
csh a22fc815ec fix and format 2025-09-11 14:26:41 +08:00