@caplets/core 0.18.0 → 0.18.2

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/dist/native.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Ot as CapletsError, Q as ToolListChangedNotificationSchema, _ as StreamableHTTPClientTransport, a as resolveCapletsServer, b as Client, i as resolveCapletsMode, l as capabilityDescription, n as mcpUrlForBase, o as CapletsEngine } from "./options-DM1cMRcp.js";
2
- import { a as generatedToolInputJsonSchemaForCaplet, i as generatedToolInputJsonSchema, l as operations, o as generatedToolInputSchema } from "./generated-tool-input-schema-B6rce396.js";
1
+ import { Ot as CapletsError, Q as ToolListChangedNotificationSchema, _ as StreamableHTTPClientTransport, a as resolveCapletsServer, b as Client, i as resolveCapletsMode, l as capabilityDescription, n as mcpUrlForBase, o as CapletsEngine } from "./options-bnsSREid.js";
2
+ import { a as generatedToolInputJsonSchemaForCaplet, i as generatedToolInputJsonSchema, l as operations, o as generatedToolInputSchema } from "./generated-tool-input-schema-BYoyY-l-.js";
3
3
  //#region src/native/options.ts
4
4
  const DEFAULT_POLL_INTERVAL_MS = 3e4;
5
5
  function resolveNativeCapletsServiceOptions(input = {}, env = process.env) {
@@ -1,4 +1,4 @@
1
- import { A as url, B as clone, C as object$1, D as string, E as record, F as $ZodType, H as normalizeParams, I as parse$2, L as parseAsync, M as toJSONSchema, N as _coercedNumber, O as union, P as $ZodObject, R as safeParse$1, S as number$1, T as preprocess, U as $constructor, V as defineLazy, W as NEVER, _ as custom, b as literal, c as mcpOperations, f as _enum, g as boolean, h as array, i as generatedToolInputJsonSchema, j as datetime, k as unknown, l as operations, m as any, p as _null, s as generatedToolInputSchemaForCaplet, u as ZodNumber$1, v as discriminatedUnion, w as optional, x as looseObject, y as intersection, z as safeParseAsync$1 } from "./generated-tool-input-schema-B6rce396.js";
1
+ import { A as url, B as clone, C as object$1, D as string, E as record, F as $ZodType, H as normalizeParams, I as parse$2, L as parseAsync, M as toJSONSchema, N as _coercedNumber, O as union, P as $ZodObject, R as safeParse$1, S as number$1, T as preprocess, U as $constructor, V as defineLazy, W as NEVER, _ as custom, b as literal, c as mcpOperations, f as _enum, g as boolean, h as array, i as generatedToolInputJsonSchema, j as datetime, k as unknown, l as operations, m as any, p as _null, s as generatedToolInputSchemaForCaplet, u as ZodNumber$1, v as discriminatedUnion, w as optional, x as looseObject, y as intersection, z as safeParseAsync$1 } from "./generated-tool-input-schema-BYoyY-l-.js";
2
2
  import { createRequire } from "node:module";
3
3
  import { accessSync, chmodSync, constants, existsSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, statSync, watch, writeFileSync } from "node:fs";
4
4
  import minpath, { basename, delimiter, dirname, extname, isAbsolute, join, parse, posix, relative, resolve, win32 } from "node:path";
@@ -53853,7 +53853,7 @@ var CapletsEngine = class {
53853
53853
  }
53854
53854
  }
53855
53855
  async completeCliWords(words) {
53856
- const { completeCliWords } = await import("./completion-CxGG6ae3.js").then((n) => n.r);
53856
+ const { completeCliWords } = await import("./completion-L23s2FGB.js").then((n) => n.r);
53857
53857
  return await completeCliWords(words, {
53858
53858
  config: this.registry.config,
53859
53859
  managers: {
@@ -17,6 +17,7 @@ export type HttpServeOptions = {
17
17
  host: string;
18
18
  port: number;
19
19
  path: string;
20
+ publicOrigin?: string | undefined;
20
21
  auth: HttpBasicAuthOptions;
21
22
  warnUnauthenticatedNetwork: boolean;
22
23
  loopback: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caplets/core",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
4
4
  "description": "Core runtime library for Caplets progressive disclosure gateways.",
5
5
  "keywords": [
6
6
  "caplets",
@@ -46,21 +46,21 @@
46
46
  "dependencies": {
47
47
  "@apidevtools/swagger-parser": "^12.1.0",
48
48
  "@hono/mcp": "^0.3.0",
49
- "@hono/node-server": "^1.19.14",
49
+ "@hono/node-server": "^2.0.3",
50
50
  "@modelcontextprotocol/sdk": "^1.29.0",
51
51
  "commander": "^14.0.3",
52
52
  "graphql": "^16.14.0",
53
- "hono": "^4.12.19",
53
+ "hono": "^4.12.21",
54
54
  "vfile": "^6.0.3",
55
55
  "vfile-matter": "^5.0.1",
56
56
  "zod": "^4.4.3"
57
57
  },
58
58
  "devDependencies": {
59
- "@types/node": "^25.9.0",
60
- "@typescript/native-preview": "7.0.0-dev.20260518.1",
61
- "rolldown": "^1.0.1",
59
+ "@types/node": "^25.9.1",
60
+ "@typescript/native-preview": "7.0.0-dev.20260519.1",
61
+ "rolldown": "^1.0.2",
62
62
  "typescript": "^6.0.3",
63
- "vitest": "^4.1.6"
63
+ "vitest": "^4.1.7"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">=22"