caplets 0.12.2 → 0.12.3

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,10 +1,13 @@
1
1
  #!/usr/bin/env node
2
- import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio";
2
+ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
3
3
  import { CapletsRuntime, runCli } from "@caplets/core";
4
+ //#region package.json
5
+ var version = "0.12.3";
6
+ //#endregion
4
7
  //#region src/index.ts
5
8
  async function main() {
6
9
  if (process.argv[2] && process.argv[2] !== "serve") {
7
- await runCli(process.argv.slice(2));
10
+ await runCli(process.argv.slice(2), { version });
8
11
  return;
9
12
  }
10
13
  const runtime = process.env.CAPLETS_CONFIG ? new CapletsRuntime({ configPath: process.env.CAPLETS_CONFIG }) : new CapletsRuntime();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "caplets",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "description": "Progressive disclosure gateway CLI for MCP servers and native Caplets adapters.",
5
5
  "keywords": [
6
6
  "caplets",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@modelcontextprotocol/sdk": "^1.29.0",
37
- "@caplets/core": "0.12.1"
37
+ "@caplets/core": "0.12.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/node": "^25.7.0",