Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 0.6.0

- **Ready for crates.io.** The two crates, `lockdocs-core` and `lockdocs`, carry full package metadata, a small `include` list, and a versioned path dependency, so `cargo publish --dry-run --locked` passes in dependency order. `cargo binstall lockdocs` downloads the matching GitHub release binary. The release workflow publishes them through crates.io trusted publishing (no token) once an owner sets `CRATES_IO_PUBLISH_ENABLED` and the trusted-publisher records exist.
- **Hybrid search is no longer worse than keyword search.** The fusion is now keyword-first: on package files weighted reciprocal rank (90% keyword ranking with all docs boosts, 10% embedding ranking) replaces the min-max score mix that let the embedding outvote exact API-name matches; when upstream docs are indexed the normalized score mix is kept (rank-only fusion buried pages like tokio's select.md, 91 vs 96 of 105 fetched). The embedding is skipped when one entry leads by at least 2x. On the 105-question benchmark (package files, no upstream) hybrid goes from 60 to 64 of 105 against 59 for keyword-only, with the held-out set at 8/18 (was 6/18, keyword 8/18).
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["crates/lockdocs-core", "crates/lockdocs"]
resolver = "2"

[workspace.package]
version = "0.5.0"
version = "0.6.0"
edition = "2021"
license = "MIT"
authors = ["SylphxAI"]
Expand Down
2 changes: 1 addition & 1 deletion crates/lockdocs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ path = "src/main.rs"

[dependencies]
anyhow = "1"
lockdocs-core = { path = "../lockdocs-core", version = "0.5.0" }
lockdocs-core = { path = "../lockdocs-core", version = "0.6.0" }
serde_json = "1"
sylphx-mcp-kit = { version = "0.5.0", features = ["licence"] }

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lockdocs-workspace",
"version": "0.5.0",
"version": "0.6.0",
"private": true,
"type": "module",
"description": "lockdocs monorepo: Rust engine (crates/), npm packages (packages/), docs (docs/), benchmark (bench/).",
Expand Down
12 changes: 6 additions & 6 deletions packages/lockdocs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sylphx/lockdocs",
"version": "0.5.0",
"version": "0.6.0",
"mcpName": "io.github.SylphxAI/lockdocs",
"description": "Exact-version library docs from your lockfile — local, offline, no rate limits.",
"bin": {
Expand All @@ -15,11 +15,11 @@
"node": ">=18"
},
"optionalDependencies": {
"@sylphx/lockdocs-darwin-arm64": "0.5.0",
"@sylphx/lockdocs-darwin-x64": "0.5.0",
"@sylphx/lockdocs-linux-x64-gnu": "0.5.0",
"@sylphx/lockdocs-linux-arm64-gnu": "0.5.0",
"@sylphx/lockdocs-win32-x64-msvc": "0.5.0"
"@sylphx/lockdocs-darwin-arm64": "0.6.0",
"@sylphx/lockdocs-darwin-x64": "0.6.0",
"@sylphx/lockdocs-linux-x64-gnu": "0.6.0",
"@sylphx/lockdocs-linux-arm64-gnu": "0.6.0",
"@sylphx/lockdocs-win32-x64-msvc": "0.6.0"
},
"keywords": [
"mcp",
Expand Down
2 changes: 1 addition & 1 deletion packages/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sylphx/lockdocs-darwin-arm64",
"version": "0.5.0",
"version": "0.6.0",
"description": "lockdocs native binary for darwin-arm64",
"os": [
"darwin"
Expand Down
2 changes: 1 addition & 1 deletion packages/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sylphx/lockdocs-darwin-x64",
"version": "0.5.0",
"version": "0.6.0",
"description": "lockdocs native binary for darwin-x64",
"os": [
"darwin"
Expand Down
2 changes: 1 addition & 1 deletion packages/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sylphx/lockdocs-linux-arm64-gnu",
"version": "0.5.0",
"version": "0.6.0",
"description": "lockdocs native binary for linux-arm64-gnu",
"os": [
"linux"
Expand Down
2 changes: 1 addition & 1 deletion packages/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sylphx/lockdocs-linux-x64-gnu",
"version": "0.5.0",
"version": "0.6.0",
"description": "lockdocs native binary for linux-x64-gnu",
"os": [
"linux"
Expand Down
2 changes: 1 addition & 1 deletion packages/npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sylphx/lockdocs-win32-x64-msvc",
"version": "0.5.0",
"version": "0.6.0",
"description": "lockdocs native binary for win32-x64-msvc",
"os": [
"win32"
Expand Down
4 changes: 2 additions & 2 deletions server.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"url": "https://github.com/SylphxAI/lockdocs",
"source": "github"
},
"version": "0.5.0",
"version": "0.6.0",
"websiteUrl": "https://sylphxai.github.io/lockdocs/",
"packages": [
{
"registryType": "npm",
"identifier": "@sylphx/lockdocs",
"version": "0.5.0",
"version": "0.6.0",
"transport": {
"type": "stdio"
},
Expand Down
Loading