@wyattjoh/rfc 0.2.0 → 0.2.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/package.json +1 -1
- package/src/main.ts +2 -1
package/package.json
CHANGED
package/src/main.ts
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
import { NodeServices } from "@effect/platform-node";
|
|
10
10
|
import { Console, Effect, Option } from "effect";
|
|
11
11
|
import { Argument, CliError, Command, Flag } from "effect/unstable/cli";
|
|
12
|
+
import packageMetadata from "../package.json" with { type: "json" };
|
|
12
13
|
import { runRfcMcpServer } from "./mcp";
|
|
13
14
|
import {
|
|
14
15
|
executeAuthStatus,
|
|
@@ -839,7 +840,7 @@ export const run = async (
|
|
|
839
840
|
|
|
840
841
|
try {
|
|
841
842
|
const program = Command.runWith(makeApplication(dependencies), {
|
|
842
|
-
version:
|
|
843
|
+
version: packageMetadata.version,
|
|
843
844
|
renderErrors: false,
|
|
844
845
|
})(argv);
|
|
845
846
|
|