Restored from origin/main (b4663fb): - .github/ workflows and issue templates - .gitignore (proper exclusions) - .opencode/agent/web_developer.md - AGENTS.md, BUILD.md, PROGRESS.md - dev-docs/ (9 architecture/implementation docs) - docs/screenshots/ (4 UI screenshots) - images/ (CodeNomad icons) - package-lock.json (dependency lockfile) - tasks/ (25+ project task files) Also restored original source files that were modified: - packages/ui/src/App.tsx - packages/ui/src/lib/logger.ts - packages/ui/src/stores/instances.ts - packages/server/src/server/routes/workspaces.ts - packages/server/src/workspaces/manager.ts - packages/server/src/workspaces/runtime.ts - packages/server/package.json Kept new additions: - Install-*.bat/.sh (enhanced installers) - Launch-*.bat/.sh (new launchers) - README.md (SEO optimized with GLM 4.7)
38 lines
991 B
Markdown
38 lines
991 B
Markdown
---
|
|
title: Symbol Attachments
|
|
description: Attach code symbols with LSP integration.
|
|
---
|
|
|
|
Implement Symbol Attachments
|
|
|
|
---
|
|
|
|
### LSP Integration
|
|
|
|
Integrate with the Language Server Protocol (LSP) to get a list of symbols in the current project.
|
|
|
|
---
|
|
|
|
### @ Symbol Autocomplete
|
|
|
|
When a user types `@` followed by a symbol-like pattern, trigger an autocomplete with relevant code symbols.
|
|
|
|
Include symbols from various file types supported by LSP.
|
|
|
|
---
|
|
|
|
### Attach and Navigate Symbols
|
|
|
|
Allow users to select a symbol from the autocomplete list to attach it to the prompt.
|
|
|
|
Display attached symbols as interactive chips. Optionally, implement functionality to jump to the symbol definition in an editor.
|
|
|
|
---
|
|
|
|
### Acceptance Criteria
|
|
|
|
- Typing `@` followed by a partial symbol name displays matching symbol suggestions.
|
|
- Selecting a symbol creates an attachment chip.
|
|
- Attached symbols are correctly formatted for submission.
|
|
- (Optional) Clicking a symbol chip navigates to its definition.
|