@okfit/plugin 0.4.4 → 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 +2 -2
- package/bin/okfit-lsp.js +17 -0
- package/index.d.ts +1 -1
- package/index.js +5 -1
- package/package.json +6 -4
- package/version.js +1 -1
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-
|
|
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
|
-
|
|
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
|
|
package/bin/okfit-lsp.js
ADDED
|
@@ -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
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okfit/plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"private": false,
|
|
5
|
-
"description": "Install this one package to get the okfit CLI and
|
|
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,11 +37,13 @@
|
|
|
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
|
-
"@okfit/cli": "0.6.
|
|
44
|
-
"@okfit/
|
|
44
|
+
"@okfit/cli": "0.6.5",
|
|
45
|
+
"@okfit/lsp": "0.1.0",
|
|
46
|
+
"@okfit/mcp": "0.5.2"
|
|
45
47
|
},
|
|
46
48
|
"engines": {
|
|
47
49
|
"node": ">=24.11.0"
|