@okfit/plugin 0.4.5 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @okfit/plugin
2
2
 
3
- The one package to install for [okfit](https://github.com/spencerbeggs/okfit) in a repository. It brings the `okfit` CLI and the `okfit-mcp` server onto your PATH so the okfit Claude Code plugin can find them.
3
+ The one package to install for [okfit](https://github.com/spencerbeggs/okfit) in a repository. It brings the `okfit` CLI, the `okfit-mcp` server and the `okfit-lsp` server onto your PATH so the okfit Claude Code plugin can find them.
4
4
 
5
5
  ```bash
6
6
  pnpm add -D @okfit/plugin
@@ -12,7 +12,7 @@ pnpm add -D @okfit/plugin
12
12
 
13
13
  ## Status
14
14
 
15
- Both bins install. `okfit` has five subcommands (`validate`, `init`, `context`, `verify`, `sync`); `okfit-mcp` serves six read-only MCP tools plus static concept resources over stdio.
15
+ All three bins install. `okfit` has five subcommands (`validate`, `init`, `context`, `verify`, `sync`); `okfit-mcp` serves six read-only MCP tools plus static concept resources over stdio; `okfit-lsp` serves an LSP server over stdio, publishing engine diagnostics for a discovered OKF bundle.
16
16
 
17
17
  ## License
18
18
 
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env node
2
+ import { PLUGIN_VERSION } from "../version.js";
3
+ import { main } from "@okfit/lsp/main";
4
+
5
+ //#region src/bin/okfit-lsp.ts
6
+ /**
7
+ * The `okfit-lsp` bin, provided by the meta-package.
8
+ *
9
+ * @packageDocumentation
10
+ */
11
+ await main({ distribution: {
12
+ name: "@okfit/plugin",
13
+ version: PLUGIN_VERSION
14
+ } });
15
+
16
+ //#endregion
17
+ export { };
package/index.d.ts CHANGED
@@ -18,6 +18,6 @@ export declare const PLUGIN_VERSION: string;
18
18
  *
19
19
  * @public
20
20
  */
21
- export declare const OKFIT_BINS: readonly ["okfit", "okfit-mcp"];
21
+ export declare const OKFIT_BINS: readonly ["okfit", "okfit-mcp", "okfit-lsp"];
22
22
  //#endregion
23
23
  //# sourceMappingURL=index.d.ts.map
package/index.js CHANGED
@@ -6,7 +6,11 @@ import { PLUGIN_VERSION } from "./version.js";
6
6
  *
7
7
  * @public
8
8
  */
9
- const OKFIT_BINS = ["okfit", "okfit-mcp"];
9
+ const OKFIT_BINS = [
10
+ "okfit",
11
+ "okfit-mcp",
12
+ "okfit-lsp"
13
+ ];
10
14
 
11
15
  //#endregion
12
16
  export { OKFIT_BINS, PLUGIN_VERSION };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@okfit/plugin",
3
- "version": "0.4.5",
3
+ "version": "0.5.0",
4
4
  "private": false,
5
- "description": "Install this one package to get the okfit CLI and MCP server in your repository. Depends on @okfit/cli and @okfit/mcp.",
5
+ "description": "Install this one package to get the okfit CLI, MCP server and LSP server in your repository. Depends on @okfit/cli, @okfit/mcp and @okfit/lsp.",
6
6
  "keywords": [
7
7
  "okf",
8
8
  "open-knowledge-format",
@@ -37,10 +37,12 @@
37
37
  },
38
38
  "bin": {
39
39
  "okfit": "bin/okfit.js",
40
+ "okfit-lsp": "bin/okfit-lsp.js",
40
41
  "okfit-mcp": "bin/okfit-mcp.js"
41
42
  },
42
43
  "dependencies": {
43
44
  "@okfit/cli": "0.6.5",
45
+ "@okfit/lsp": "0.1.0",
44
46
  "@okfit/mcp": "0.5.2"
45
47
  },
46
48
  "engines": {
package/version.js CHANGED
@@ -10,7 +10,7 @@
10
10
  *
11
11
  * @public
12
12
  */
13
- const PLUGIN_VERSION = "0.4.5";
13
+ const PLUGIN_VERSION = "0.5.0";
14
14
 
15
15
  //#endregion
16
16
  export { PLUGIN_VERSION };