@okfit/plugin 0.2.1 → 0.3.1

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
@@ -8,7 +8,7 @@ pnpm add -D @okfit/plugin
8
8
 
9
9
  ## Status
10
10
 
11
- Skeleton. Both bins install; the CLI has no subcommands yet and the MCP server is a stub.
11
+ 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.
12
12
 
13
13
  ## License
14
14
 
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env node
2
+ import { main } from "@okfit/mcp/main";
3
+
4
+ //#region src/bin/okfit-mcp.ts
5
+ /**
6
+ * The `okfit-mcp` bin, provided by the meta-package.
7
+ *
8
+ * @packageDocumentation
9
+ */
10
+ await main();
11
+
12
+ //#endregion
13
+ export { };
package/bin/okfit.js ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env node
2
+ import { main } from "@okfit/cli/main";
3
+
4
+ //#region src/bin/okfit.ts
5
+ /**
6
+ * The `okfit` bin, provided by the meta-package.
7
+ *
8
+ * @packageDocumentation
9
+ */
10
+ main();
11
+
12
+ //#endregion
13
+ export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okfit/plugin",
3
- "version": "0.2.1",
3
+ "version": "0.3.1",
4
4
  "private": false,
5
5
  "description": "Install this one package to get the okfit CLI and MCP server in your repository. Depends on @okfit/cli and @okfit/mcp.",
6
6
  "keywords": [
@@ -26,7 +26,6 @@
26
26
  "email": "spencer@beggs.codes",
27
27
  "url": "https://spencerbeg.gs"
28
28
  },
29
- "sideEffects": false,
30
29
  "type": "module",
31
30
  "exports": {
32
31
  ".": {
@@ -36,9 +35,13 @@
36
35
  },
37
36
  "./package.json": "./package.json"
38
37
  },
39
- "peerDependencies": {
40
- "@okfit/cli": "0.2.0",
41
- "@okfit/mcp": "0.2.0"
38
+ "bin": {
39
+ "okfit": "bin/okfit.js",
40
+ "okfit-mcp": "bin/okfit-mcp.js"
41
+ },
42
+ "dependencies": {
43
+ "@okfit/cli": "0.4.0",
44
+ "@okfit/mcp": "0.3.1"
42
45
  },
43
46
  "engines": {
44
47
  "node": ">=24.11.0"