Skip to content

Commit 213f743

Browse files
0xrinegadeclaude
andcommitted
feat: Add OVSM LSP, editor plugins, compiler improvements, and agent programs
## OVSM Language Server (LSP) - Full LSP implementation with semantic tokens - AI-powered completions for blockchain types - Real-time diagnostics and hover documentation - Symbol navigation and go-to-definition - Interactive REPL mode ## Editor Support - VSCode extension with syntax highlighting - Neovim plugin with OVSM filetype detection - Helix configuration for OVSM - Tree-sitter grammar for accurate parsing ## Compiler Improvements - Graph coloring register allocator - Enhanced IR generation - Improved sBPF code generation - Better ELF output handling ## Solana Programs - agent-escrow: Escrow program for agent transactions ## New OVSM Scripts - Agent marketplace and registry examples - Reputation and attestation systems - Strategy patterns and dispute resolution - Token escrow implementations ## Other - Updated .gitignore for new directories - BBS federation improvements - Test updates 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent e3e91e0 commit 213f743

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+15462
-38
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
/target/
22
/program/target/
33
/guest/mcp_vsock_wrapper/target/
4+
programs/agent-escrow/target/
5+
programs/*/Cargo.lock
6+
7+
# Compiled binaries in examples
8+
examples/ovsm_scripts/*.so
9+
10+
# Editor plugin build artifacts
11+
editors/tree-sitter-ovsm/node_modules/
12+
editors/tree-sitter-ovsm/build/
13+
editors/vscode/*.vsix
414
.cline/
515
.ledger
616
.vscode/*

Cargo.lock

Lines changed: 122 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
members = [".", "crates/ovsm", "guest/mcp_vsock_wrapper"]
2+
members = [".", "crates/ovsm", "crates/ovsm-lsp", "guest/mcp_vsock_wrapper"]
33
resolver = "2"
44

55
[package]

crates/ovsm-lsp/Cargo.toml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[package]
2+
name = "ovsm-lsp"
3+
version = "0.1.0"
4+
edition = "2021"
5+
authors = ["OSVM Team <[email protected]>"]
6+
description = "Language Server Protocol implementation for OVSM LISP"
7+
license = "MIT"
8+
repository = "https://github.com/opensvm/osvm-cli"
9+
keywords = ["lsp", "language-server", "ovsm", "lisp", "ide"]
10+
categories = ["development-tools", "text-editors"]
11+
12+
[[bin]]
13+
name = "ovsm-lsp"
14+
path = "src/main.rs"
15+
16+
[dependencies]
17+
# LSP implementation
18+
tower-lsp = "0.20"
19+
tokio = { version = "1.35", features = ["full"] }
20+
21+
# OVSM core (reuse lexer, parser, errors)
22+
ovsm = { path = "../ovsm" }
23+
24+
# Serialization (for LSP protocol)
25+
serde = { version = "1.0", features = ["derive"] }
26+
serde_json = "1.0"
27+
28+
# Logging
29+
tracing = "0.1"
30+
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
31+
32+
# Async utilities
33+
dashmap = "5.5"
34+
35+
# HTTP client for AI completion
36+
reqwest = { version = "0.12", features = ["json"] }
37+
38+
[dev-dependencies]
39+
tokio-test = "0.4"

0 commit comments

Comments
 (0)