Metadata-Version: 2.4
Name: dlm-lsp
Version: 0.1.1
Summary: Language Server Protocol backend for .dlm files
Project-URL: Homepage, https://github.com/tenseleyFlow/dlm-lsp
Project-URL: Issues, https://github.com/tenseleyFlow/dlm-lsp/issues
Author-email: mfwolffe <mfwolffe@outlook.com>
License-Expression: MIT
Keywords: dlm,fine-tuning,language-server,llm,lsp
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
Requires-Python: >=3.11
Requires-Dist: document-language-model
Requires-Dist: lsprotocol>=2024.0
Requires-Dist: pygls>=1.3
Description-Content-Type: text/markdown

# dlm-lsp

Language Server Protocol backend for `.dlm` files.

## Features

- **Completions** — base model registry keys, frontmatter fields, section fences with snippets
- **Hover** — base model specs (params, size, context, license), section fence info
- **Diagnostics** — schema validation errors, unknown base models, frontmatter structure
- **Code Actions** — schema migration, base model fixes

## Install

```bash
pip install dlm-lsp
```

## Usage

The `dlm-lsp` binary launches a Language Server over stdio:

```bash
dlm-lsp
```

VSCode, Neovim, Helix, and Zed can connect to it as an LSP server for `.dlm` files.

## Development

```bash
uv sync --dev
uv run pytest tests/
uv run mypy src/dlm_lsp
uv run ruff check .
```
