@frontmcp/sdk 1.10.9-rc.1 → 1.10.9-rc.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.
Files changed (90) hide show
  1. package/browser/agent/agent.registry.mjs +1 -1
  2. package/browser/app/instances/app.esm.instance.mjs +4 -4
  3. package/browser/app/instances/app.remote.instance.mjs +6 -6
  4. package/browser/auth/auth-ui/auth-ui.registry.mjs +6 -6
  5. package/browser/auth/flows/oauth.authorize.flow.mjs +5 -5
  6. package/browser/auth/flows/oauth.callback.flow.mjs +11 -11
  7. package/browser/auth/flows/oauth.connect.flow.mjs +1 -1
  8. package/browser/auth/flows/oauth.register.flow.mjs +1 -1
  9. package/browser/auth/flows/oauth.token.flow.mjs +1 -1
  10. package/browser/auth/flows/well-known.oauth-authorization-server.flow.mjs +5 -5
  11. package/browser/auth/instances/instance.local-primary-auth.mjs +10 -10
  12. package/browser/auth/session/utils/session-id.utils.mjs +1 -1
  13. package/browser/common/entries/skill.entry.mjs +2 -2
  14. package/browser/common/entries/tool.entry.mjs +3 -3
  15. package/browser/common/interfaces/channel.interface.mjs +1 -1
  16. package/browser/common/interfaces/execution-context.interface.mjs +4 -4
  17. package/browser/common/interfaces/internal/primary-auth-provider.interface.mjs +2 -2
  18. package/browser/common/metadata/app.metadata.mjs +1 -1
  19. package/browser/common/metadata/front-mcp.metadata.mjs +5 -5
  20. package/browser/common/tokens/app.tokens.mjs +1 -1
  21. package/browser/common/tokens/front-mcp.tokens.mjs +1 -1
  22. package/browser/common/types/options/http/schema.mjs +4 -4
  23. package/browser/common/types/options/redis/schema.mjs +1 -1
  24. package/browser/common/types/options/sqlite/schema.mjs +3 -3
  25. package/browser/common/types/options/transport/schema.mjs +4 -4
  26. package/browser/common/utils/decide-request-intent.utils.mjs +10 -10
  27. package/browser/context/frontmcp-context.mjs +1 -1
  28. package/browser/direct/direct-client.mjs +29 -29
  29. package/browser/direct/direct-server.mjs +14 -14
  30. package/browser/errors/job.errors.mjs +1 -1
  31. package/browser/errors/mcp.error.mjs +4 -4
  32. package/browser/errors/plugin.errors.mjs +1 -1
  33. package/browser/errors/task.error.mjs +1 -1
  34. package/browser/errors/tool-credentials-required.error.mjs +2 -2
  35. package/browser/esm-loader/esm-module-loader.mjs +1 -7
  36. package/browser/esm-loader/import-computed.mjs +11 -0
  37. package/browser/esm-loader/semver.utils.mjs +17 -11
  38. package/browser/flows/flow.instance.mjs +1 -1
  39. package/browser/front-mcp/front-mcp.mjs +10 -14
  40. package/browser/ha/ha-manager.mjs +1 -1
  41. package/browser/ha/notification-relay.mjs +1 -1
  42. package/browser/index.cjs +1210 -1438
  43. package/browser/index.mjs +4 -4
  44. package/browser/job/store/job-definition-store.factory.mjs +1 -1
  45. package/browser/job/store/redis-job-definition.store.mjs +2 -2
  46. package/browser/job/tools/get-job-status.tool.mjs +1 -1
  47. package/browser/logger/logger.registry.mjs +1 -1
  48. package/browser/metrics/metrics.service.mjs +3 -3
  49. package/browser/prompt/prompt.registry.mjs +1 -1
  50. package/browser/provider/provider.registry.mjs +4 -4
  51. package/browser/remote-mcp/mcp-client.service.mjs +19 -19
  52. package/browser/remote-mcp/resilience/circuit-breaker.mjs +2 -2
  53. package/browser/resource/resource.registry.mjs +2 -2
  54. package/browser/scope/flows/http.request.flow.mjs +3 -3
  55. package/browser/scope/scope.instance.mjs +4 -4
  56. package/browser/scope/scope.utils.mjs +1 -1
  57. package/browser/skill/providers/memory-skill.provider.mjs +2 -2
  58. package/browser/skill/skill.registry.mjs +10 -10
  59. package/browser/task/flows/tasks-result.flow.mjs +2 -2
  60. package/browser/task/task.registry.mjs +5 -5
  61. package/browser/tool/flows/call-tool.flow.mjs +4 -4
  62. package/browser/tool/tool.instance.mjs +4 -4
  63. package/browser/tool/tool.registry.mjs +4 -4
  64. package/browser/tool/ui/ui-shared.mjs +1 -1
  65. package/browser/transport/adapters/transport.local.adapter.mjs +2 -2
  66. package/browser/transport/adapters/transport.streamable-http.adapter.mjs +13 -4
  67. package/browser/transport/event-stores/redis.event-store.mjs +1 -1
  68. package/browser/transport/mcp-20260728/client/mcp-stateless.client.mjs +1 -1
  69. package/browser/transport/mcp-20260728/request-notifications.mjs +1 -1
  70. package/browser/transport/transport.registry.mjs +15 -9
  71. package/browser/transport/web-response.renderer.mjs +2 -2
  72. package/browser/utils/lineage.utils.mjs +1 -1
  73. package/browser/workflow/tools/get-workflow-status.tool.mjs +1 -1
  74. package/esm/esm-loader/import-computed.mjs +10 -0
  75. package/esm/index.mjs +136 -77113
  76. package/esm-loader/esm-module-loader.d.ts.map +1 -1
  77. package/esm-loader/import-computed.d.ts +21 -0
  78. package/esm-loader/import-computed.d.ts.map +1 -0
  79. package/esm-loader/import-computed.js +34 -0
  80. package/esm-loader/semver.utils.d.ts.map +1 -1
  81. package/front-mcp/front-mcp.d.ts.map +1 -1
  82. package/index.d.ts +9 -8
  83. package/index.d.ts.map +1 -1
  84. package/index.js +140 -77769
  85. package/package.json +14 -10
  86. package/transport/adapters/transport.streamable-http.adapter.d.ts +2 -1
  87. package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -1
  88. package/transport/transport.registry.d.ts +1 -0
  89. package/transport/transport.registry.d.ts.map +1 -1
  90. package/browser/transport/index.mjs +0 -32
@@ -230,7 +230,7 @@ var AgentRegistry = class extends RegistryAbstract {
230
230
  return [...this.localRows, ...[...this.adopted.values()].flat()];
231
231
  }
232
232
  /**
233
- * List all instances (locals + adopted) — unfiltered.
233
+ * List all instances (locals + adopted) \u2014 unfiltered.
234
234
  */
235
235
  listAllInstances() {
236
236
  return this.listAllIndexed().map((r) => r.instance);
@@ -175,9 +175,9 @@ var AppEsmInstance = class extends AppEntry {
175
175
  throw error;
176
176
  }
177
177
  }
178
- // ═══════════════════════════════════════════════════════════════════
178
+ // \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
179
179
  // PUBLIC API
180
- // ═══════════════════════════════════════════════════════════════════
180
+ // \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
181
181
  get providers() {
182
182
  return this.scopeProviders;
183
183
  }
@@ -229,9 +229,9 @@ var AppEsmInstance = class extends AppEntry {
229
229
  async dispose() {
230
230
  this.poller?.stop();
231
231
  }
232
- // ═══════════════════════════════════════════════════════════════════
232
+ // \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
233
233
  // PRIVATE METHODS
234
- // ═══════════════════════════════════════════════════════════════════
234
+ // \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
235
235
  /**
236
236
  * Register primitives from a loaded package manifest into standard registries.
237
237
  */
@@ -181,9 +181,9 @@ var AppRemoteInstance = class extends AppEntry {
181
181
  throw error;
182
182
  }
183
183
  }
184
- // ═══════════════════════════════════════════════════════════════════
184
+ // \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
185
185
  // LAZY CAPABILITY LOADING
186
- // ═══════════════════════════════════════════════════════════════════
186
+ // \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
187
187
  /**
188
188
  * Ensure capabilities are loaded, using cache if available.
189
189
  * This is called lazily when tools/resources/prompts are accessed.
@@ -211,9 +211,9 @@ var AppRemoteInstance = class extends AppEntry {
211
211
  this.capabilitiesLoaded = false;
212
212
  await this.ensureCapabilitiesLoaded();
213
213
  }
214
- // ═══════════════════════════════════════════════════════════════════
214
+ // \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
215
215
  // PUBLIC API
216
- // ═══════════════════════════════════════════════════════════════════
216
+ // \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
217
217
  get providers() {
218
218
  return this.scopeProviders;
219
219
  }
@@ -283,9 +283,9 @@ var AppRemoteInstance = class extends AppEntry {
283
283
  this.capabilitiesLoaded = false;
284
284
  this.capabilityCache.invalidate(this.id);
285
285
  }
286
- // ═══════════════════════════════════════════════════════════════════
286
+ // \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
287
287
  // PRIVATE METHODS
288
- // ═══════════════════════════════════════════════════════════════════
288
+ // \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550
289
289
  /**
290
290
  * Map urlType to transport type
291
291
  */
@@ -17,7 +17,7 @@ var AuthUiRegistry = class {
17
17
  this.logger = logger?.child("AuthUiRegistry");
18
18
  }
19
19
  /**
20
- * Register the `auth.ui` slot→file map. Each relative path is resolved against
20
+ * Register the `auth.ui` slot\u2192file map. Each relative path is resolved against
21
21
  * `sourceDir` (the declaring `@FrontMcp`/`@App` directory); absolute paths pass
22
22
  * through. Later registrations for the same slot win (so a scope can override a
23
23
  * server-level default).
@@ -36,7 +36,7 @@ var AuthUiRegistry = class {
36
36
  }
37
37
  }
38
38
  /**
39
- * Register the `auth.extras` name→handler map. Each value must be a function
39
+ * Register the `auth.extras` name\u2192handler map. Each value must be a function
40
40
  * `(input, ctx) => AuthExtraResult | Promise<AuthExtraResult>`.
41
41
  */
42
42
  registerAuthExtrasMap(map) {
@@ -87,7 +87,7 @@ var AuthUiRegistry = class {
87
87
  return { file: entry.file };
88
88
  }
89
89
  /**
90
- * Whether a slot can be rendered — i.e. a file is registered for it (and it
90
+ * Whether a slot can be rendered \u2014 i.e. a file is registered for it (and it
91
91
  * hasn't recorded a build error). Used by the page assembler to decide between
92
92
  * the custom page and the built-in fallback.
93
93
  */
@@ -150,7 +150,7 @@ var AuthUiRegistry = class {
150
150
  // ============================================
151
151
  /**
152
152
  * Current accumulators for a pending-auth id (empty when none yet). Returns a
153
- * DEEP copy — each array is cloned — so callers (e.g. an extra handler reading
153
+ * DEEP copy \u2014 each array is cloned \u2014 so callers (e.g. an extra handler reading
154
154
  * `ctx.current`) can never mutate the internal accumulator by reference.
155
155
  */
156
156
  getAddedItems(pendingAuthId) {
@@ -195,7 +195,7 @@ var AuthUiRegistry = class {
195
195
  * Returns `{ ok:false }` when no handler is registered for `name`.
196
196
  *
197
197
  * Note: the returned `addedItems` is the FULL accumulator MAP (keyed by extra
198
- * name) — the client `AuthExtraResult` shape — not the handler's per-call
198
+ * name) \u2014 the client `AuthExtraResult` shape \u2014 not the handler's per-call
199
199
  * `addedItems` (which is the list of NEW items).
200
200
  */
201
201
  async runExtra(name, pendingAuthId, input) {
@@ -238,7 +238,7 @@ var AuthUiRegistry = class {
238
238
  * `compileUIWidgets`): a missing / non-`.tsx` file is caught lazily at first
239
239
  * render and cached as an error so the slot falls back to the built-in page
240
240
  * instead of failing the request. This is just a cheap preflight log; it never
241
- * throws — a broken component must not take the server down.
241
+ * throws \u2014 a broken component must not take the server down.
242
242
  */
243
243
  async warmup() {
244
244
  if (!this.hasAny()) return;
@@ -162,7 +162,7 @@ var OauthAuthorizeFlow = class extends FlowBase {
162
162
  * The issuer identifier to advertise on an authorization response (RFC 9207).
163
163
  *
164
164
  * Returns `undefined` when the configured auth instance has no issuer, so the
165
- * parameter is simply omitted rather than emitted empty — a client validating
165
+ * parameter is simply omitted rather than emitted empty \u2014 a client validating
166
166
  * `iss` treats absence as "not supported" and proceeds.
167
167
  *
168
168
  * With `request`, the issuer the tokens redeemed for this request name
@@ -423,7 +423,7 @@ var OauthAuthorizeFlow = class extends FlowBase {
423
423
  *
424
424
  * Returns the verified payload, or `undefined` when the parameter is absent,
425
425
  * malformed, expired, or not signed by this server. Verification is
426
- * side-effect free — the ticket is CLAIMED (single use) later, in
426
+ * side-effect free \u2014 the ticket is CLAIMED (single use) later, in
427
427
  * {@link prepareAuthorizationRequest}, so a request that fails OAuth
428
428
  * validation does not burn the user's ticket.
429
429
  */
@@ -774,7 +774,7 @@ var OauthAuthorizeFlow = class extends FlowBase {
774
774
  * upstream IdP's authorization endpoint. This reuses the exact federated
775
775
  * machinery the multi-provider local path uses (`/oauth/provider/:id/callback`
776
776
  * then completes the exchange, stores upstream tokens, and mints the FrontMCP
777
- * session token whose identity comes from the upstream user) — but skips the
777
+ * session token whose identity comes from the upstream user) \u2014 but skips the
778
778
  * in-tree login page and the provider-selection page entirely.
779
779
  *
780
780
  * No identity is collected in-tree: the federated session is created with an
@@ -846,7 +846,7 @@ var OauthAuthorizeFlow = class extends FlowBase {
846
846
  * for ALL clients (CIMD or not) as an open-redirect / lateral-movement guard.
847
847
  * Returns a human-readable rejection reason, or `undefined` when the
848
848
  * redirect_uri is allowed (including when no allowlist is configured, or the
849
- * auth instance does not expose a DCR registry — e.g. non-local modes).
849
+ * auth instance does not expose a DCR registry \u2014 e.g. non-local modes).
850
850
  */
851
851
  checkDcrRedirectAllowlist(redirectUri) {
852
852
  const registry = this.scope.auth?.dcrClientRegistry;
@@ -881,7 +881,7 @@ var OauthAuthorizeFlow = class extends FlowBase {
881
881
  * Respond with OAuth error - redirect if possible, otherwise show error page.
882
882
  *
883
883
  * @param redirectUri A redirect_uri validated for the client; omit it for an error page.
884
- * @param error The RFC 6749 §4.1.2.1 error code. Default `invalid_request`.
884
+ * @param error The RFC 6749 \u00a74.1.2.1 error code. Default `invalid_request`.
885
885
  */
886
886
  respondWithError(errors, redirectUri, state, error = "invalid_request") {
887
887
  const errorDescription = errors.join("; ");
@@ -69,12 +69,12 @@ var stateSchema = z.object({
69
69
  // Generated
70
70
  authorizationCode: z.string().optional(),
71
71
  userSub: z.string().optional(),
72
- // Checkpoint 3a — custom verification (authenticate()) results.
72
+ // Checkpoint 3a \u2014 custom verification (authenticate()) results.
73
73
  // Submitted login fields (built-in email/name + any custom `login.fields`).
74
74
  loginFields: z.record(z.string(), z.string()).optional(),
75
75
  // Custom claims returned by authenticate(), embedded (namespaced) in the token.
76
76
  customClaims: z.record(z.string(), z.unknown()).optional(),
77
- // Checkpoint 3b — credentials returned by authenticate(), persisted into the
77
+ // Checkpoint 3b \u2014 credentials returned by authenticate(), persisted into the
78
78
  // per-session credential vault keyed by the minted userSub at code-mint time.
79
79
  credentials: z.array(
80
80
  z.object({
@@ -128,7 +128,7 @@ var OauthCallbackFlow = class extends FlowBase {
128
128
  * The issuer identifier to advertise on an authorization response (RFC 9207).
129
129
  *
130
130
  * Returns `undefined` when the configured auth instance has no issuer, so the
131
- * parameter is simply omitted rather than emitted empty — a client validating
131
+ * parameter is simply omitted rather than emitted empty \u2014 a client validating
132
132
  * `iss` treats absence as "not supported" and proceeds.
133
133
  *
134
134
  * With `request`, the issuer the tokens redeemed for this request name
@@ -426,7 +426,7 @@ var OauthCallbackFlow = class extends FlowBase {
426
426
  originalState: pendingAuth.state,
427
427
  resource: pendingAuth.resource,
428
428
  userSub,
429
- // Progressive/Incremental Authorization — from the pending record ONLY.
429
+ // Progressive/Incremental Authorization \u2014 from the pending record ONLY.
430
430
  // `isIncremental` was derived above from the record plus its proven
431
431
  // subject; OR-ing a client-supplied flag in here is what let a caller
432
432
  // override the server's `false` (GHSA-2c4g-9c8x-6m8g).
@@ -595,9 +595,9 @@ var OauthCallbackFlow = class extends FlowBase {
595
595
  skippedProviders,
596
596
  // Progressive/Incremental authorization grant (computed in handleIncrementalAuth)
597
597
  authorizedAppIds,
598
- // Checkpoint 3a — custom claims from authenticate()
598
+ // Checkpoint 3a \u2014 custom claims from authenticate()
599
599
  customClaims,
600
- // Checkpoint 3b — credentials from authenticate()
600
+ // Checkpoint 3b \u2014 credentials from authenticate()
601
601
  credentials
602
602
  } = this.state;
603
603
  if (!clientId || !redirectUri || !codeChallenge || !userSub) {
@@ -633,11 +633,11 @@ var OauthCallbackFlow = class extends FlowBase {
633
633
  skippedProviderIds: skippedProviders,
634
634
  consentEnabled,
635
635
  federatedLoginUsed: isFederated,
636
- // Progressive/Incremental authorization: granted app-id set → minted as
636
+ // Progressive/Incremental authorization: granted app-id set \u2192 minted as
637
637
  // the token's `authorized_apps` claim. Only set when incremental auth is
638
638
  // enabled (see handleIncrementalAuth); undefined otherwise (no claim).
639
639
  authorizedAppIds,
640
- // Checkpoint 3a — custom claims to embed (namespaced) in the access token.
640
+ // Checkpoint 3a \u2014 custom claims to embed (namespaced) in the access token.
641
641
  customClaims
642
642
  });
643
643
  this.logger.info(
@@ -731,12 +731,12 @@ var OauthCallbackFlow = class extends FlowBase {
731
731
  * Same-origin (CSRF) check for a state-changing login/consent submission.
732
732
  *
733
733
  * Returns true when the request carries an `Origin` or `Referer` header whose
734
- * host does NOT match the request's own host — the signature of a cross-site
734
+ * host does NOT match the request's own host \u2014 the signature of a cross-site
735
735
  * login-CSRF/fixation. `Origin`/`Referer` are set by the browser and cannot
736
736
  * be forged by a malicious page, so this reliably distinguishes a legitimate
737
737
  * same-origin submission (the built-in form is served by THIS server) from a
738
738
  * cross-site one. Returns false (do NOT block) when neither header is present
739
- * or the request's own host cannot be determined — defense-in-depth, not a
739
+ * or the request's own host cannot be determined \u2014 defense-in-depth, not a
740
740
  * hard gate, so header-stripped GET navigations and existing flows keep working.
741
741
  */
742
742
  isCrossOriginSubmission() {
@@ -830,7 +830,7 @@ var OauthCallbackFlow = class extends FlowBase {
830
830
  * Derive a subject from the configured login subject strategy.
831
831
  *
832
832
  * - `per-account`: hash the value of `login.subject.fromField` into a stable
833
- * subject (same account → same `sub`).
833
+ * subject (same account \u2192 same `sub`).
834
834
  * - otherwise (`per-session` / unset): return undefined so the caller falls
835
835
  * back to the anonymous subject.
836
836
  */
@@ -286,7 +286,7 @@ OauthConnectFlow = __decorateClass([
286
286
  outputSchema,
287
287
  access: "public",
288
288
  middleware: {
289
- // No `method` → matches both GET (render) and POST (submit).
289
+ // No `method` \u2192 matches both GET (render) and POST (submit).
290
290
  path: "/oauth/connect"
291
291
  }
292
292
  })
@@ -39,7 +39,7 @@ var registrationRequestSchema = z.object({
39
39
  *
40
40
  * MCP 2026-07-28 requires clients to state this during Dynamic Client
41
41
  * Registration, because an OIDC authorization server applies different
42
- * redirect-URI rules per type — a `native` client registering without it
42
+ * redirect-URI rules per type \u2014 a `native` client registering without it
43
43
  * can be handed `web` rules and have its loopback/custom-scheme redirect
44
44
  * rejected. Defaults to `web`, matching the OIDC registration default, so
45
45
  * pre-2026 clients keep working unchanged.
@@ -407,7 +407,7 @@ OauthTokenFlow = __decorateClass([
407
407
  middleware: {
408
408
  method: "POST",
409
409
  path: "/oauth/token",
410
- // Never cached, errors included (RFC 6749 §5.1, §5.2)
410
+ // Never cached, errors included (RFC 6749 \u00a75.1, \u00a75.2)
411
411
  responseHeaders: NO_STORE_HEADERS
412
412
  }
413
413
  })
@@ -71,10 +71,10 @@ var wellKnownAsStateSchema = z.object({
71
71
  // one on its authorization responses and tokens. Without it, `baseUrl`.
72
72
  issuer: z.string().min(1).optional(),
73
73
  // Root origin (proto://host WITHOUT the entryPath prefix). The OAuth
74
- // endpoints (/oauth/authorize, /oauth/token, /oauth/register, …) are
74
+ // endpoints (/oauth/authorize, /oauth/token, /oauth/register, \u2026) are
75
75
  // registered at literal root paths by their flows, NOT under entryPath, so
76
76
  // they must be advertised relative to this root rather than `baseUrl`
77
- // (which carries the entryPath) — see #467.
77
+ // (which carries the entryPath) \u2014 see #467.
78
78
  oauthBaseUrl: z.string().min(1),
79
79
  scopesSupported: z.array(z.string()).default(["openid", "profile", "email"]),
80
80
  tokenEndpointAuthMethods: z.array(z.enum(["client_secret_basic", "client_secret_post", "private_key_jwt"])).default(["client_secret_basic", "client_secret_post"]),
@@ -121,7 +121,7 @@ var WellKnownAsFlow = class extends FlowBase {
121
121
  // entries; a `*` glob names no scope a client could ask for.
122
122
  scopesSupported: metadata.auth && isOrchestratedMode(metadata.auth) ? advertisedScopes(metadata.auth.allowedScopes) : [],
123
123
  tokenEndpointAuthMethods: [],
124
- // #462 — advertise registration_endpoint only when local-AS DCR is
124
+ // #462 \u2014 advertise registration_endpoint only when local-AS DCR is
125
125
  // actually active (explicit auth.dcr.enabled, else dev/prod default).
126
126
  dcrEnabled: resolveDcrEnabled(metadata.auth),
127
127
  isOrchestrated: metadata.auth ? isOrchestratedMode(metadata.auth) : false,
@@ -156,7 +156,7 @@ var WellKnownAsFlow = class extends FlowBase {
156
156
  token_endpoint: `${oauthBaseUrl}/oauth/token`,
157
157
  userinfo_endpoint: `${oauthBaseUrl}/oauth/userinfo`,
158
158
  jwks_uri: `${baseIssuer}/.well-known/jwks.json`,
159
- // #462 — only advertise registration when DCR is active. When it is
159
+ // #462 \u2014 only advertise registration when DCR is active. When it is
160
160
  // disabled, omitting the endpoint signals "no DCR" to clients.
161
161
  // Dynamic Client Registration is DEPRECATED as of MCP 2026-07-28 in
162
162
  // favour of Client ID Metadata Documents (PR #2858). It stays
@@ -168,7 +168,7 @@ var WellKnownAsFlow = class extends FlowBase {
168
168
  grant_types_supported: ["authorization_code", "refresh_token"],
169
169
  scopes_supported: scopesSupported,
170
170
  code_challenge_methods_supported: ["S256"],
171
- // Every authorization response, error responses included, carries `iss` (RFC 9207 §2, §3).
171
+ // Every authorization response, error responses included, carries `iss` (RFC 9207 \u00a72, \u00a73).
172
172
  authorization_response_iss_parameter_supported: true,
173
173
  // CIMD support advertisement per draft-ietf-oauth-client-id-metadata-document-00
174
174
  client_id_metadata_document_supported: cimdEnabled
@@ -204,8 +204,8 @@ var LocalPrimaryAuth = class extends FrontMcpAuth {
204
204
  cimdService;
205
205
  /**
206
206
  * Token storage backend selected from `options.tokenStorage`.
207
- * - `'memory'` / undefined → in-memory stores (default; lost on restart).
208
- * - `{ redis }` / `{ sqlite }` → adapter-backed stores that survive restart.
207
+ * - `'memory'` / undefined \u2192 in-memory stores (default; lost on restart).
208
+ * - `{ redis }` / `{ sqlite }` \u2192 adapter-backed stores that survive restart.
209
209
  *
210
210
  * The three stores below are constructed in-memory synchronously in the
211
211
  * constructor (preserving the exact legacy default behavior). When a
@@ -341,8 +341,8 @@ var LocalPrimaryAuth = class extends FrontMcpAuth {
341
341
  * `FRONTMCP_PUBLIC_HOST` overrides only the HOST portion of the boot-time
342
342
  * issuer (see `this.host` in the constructor); the scheme stays `http` and
343
343
  * the port stays `this.port`. To override the scheme and/or port (e.g.
344
- * advertise `https://…` with no explicit port behind a TLS proxy), set an
345
- * explicit `local.issuer` — that is the supported way to make the boot-time
344
+ * advertise `https://\u2026` with no explicit port behind a TLS proxy), set an
345
+ * explicit `local.issuer` \u2014 that is the supported way to make the boot-time
346
346
  * issuer match what discovery advertises. JWT verification accepts an issuer
347
347
  * array, so tokens minted under a different scheme/port are still tolerated
348
348
  * when running behind a TLS-terminating proxy, but `local.issuer` is the
@@ -584,11 +584,11 @@ var LocalPrimaryAuth = class extends FrontMcpAuth {
584
584
  *
585
585
  * Skipped in pure public mode (no authenticated subject / no session-bound
586
586
  * secrets there). The backing comes from `auth.secureStore`:
587
- * - unset / `'memory'` → in-memory, AES-256-GCM-encrypted store (default);
588
- * - `{ sqlite }` / `{ redis }` → persistent encrypted store. When the chosen
587
+ * - unset / `'memory'` \u2192 in-memory, AES-256-GCM-encrypted store (default);
588
+ * - `{ sqlite }` / `{ redis }` \u2192 persistent encrypted store. When the chosen
589
589
  * persistent backing matches the configured `tokenStorage`, the SAME
590
590
  * StorageAdapter is reused (one connection);
591
- * - `{ backend }` → a custom backing used as-is (e.g. an OS keychain) — the
591
+ * - `{ backend }` \u2192 a custom backing used as-is (e.g. an OS keychain) \u2014 the
592
592
  * framework bundles NO native dependency for this path.
593
593
  *
594
594
  * The HKDF pepper for the built-in encrypted backings derives from the server
@@ -675,8 +675,8 @@ var LocalPrimaryAuth = class extends FrontMcpAuth {
675
675
  }
676
676
  /**
677
677
  * Cryptographically verify a gateway-issued access token (public/local/remote
678
- * "gateway" modes). Gateway tokens — both authenticated access tokens
679
- * ({@link signAccessToken}) and anonymous tokens ({@link signAnonymousJwt}) —
678
+ * "gateway" modes). Gateway tokens \u2014 both authenticated access tokens
679
+ * ({@link signAccessToken}) and anonymous tokens ({@link signAnonymousJwt}) \u2014
680
680
  * are HS256-signed with `this.secret`.
681
681
  *
682
682
  * The secret alone doesn't make a token this server's: every server started
@@ -1175,7 +1175,7 @@ var LocalPrimaryAuth = class extends FrontMcpAuth {
1175
1175
  * `userInfoEndpoint`/`jwksUri`) are mapped onto an {@link UpstreamProviderConfig}.
1176
1176
  * Endpoints not explicitly overridden are derived from the `provider` base URL
1177
1177
  * using the standard OIDC paths (`/authorize`, `/token`, `/userinfo`,
1178
- * `/.well-known/jwks.json`) — the same convention `transparent` mode uses for
1178
+ * `/.well-known/jwks.json`) \u2014 the same convention `transparent` mode uses for
1179
1179
  * discovery. The provider id comes from `providerConfig.id` when set, else it
1180
1180
  * is derived from the provider hostname (mirroring `deriveProviderId`).
1181
1181
  *
@@ -19,7 +19,7 @@ function isValidSessionPayload(dec, sig) {
19
19
  function isValidPublicSessionPayload(dec, expectedAuthSig = "public") {
20
20
  if (typeof dec !== "object" || dec === null) return false;
21
21
  const d = dec;
22
- return typeof d["nodeId"] === "string" && d["authSig"] === expectedAuthSig && typeof d["uuid"] === "string" && typeof d["iat"] === "number" && // `isPublic` is set only for public mode, so it must track the signature —
22
+ return typeof d["nodeId"] === "string" && d["authSig"] === expectedAuthSig && typeof d["uuid"] === "string" && typeof d["iat"] === "number" && // `isPublic` is set only for public mode, so it must track the signature \u2014
23
23
  // a static-mode session must never decrypt as a public one.
24
24
  d["isPublic"] === (expectedAuthSig === "public");
25
25
  }
@@ -44,7 +44,7 @@ var SkillEntry = class extends BaseEntry {
44
44
  return this.metadata.hideFromDiscovery === true;
45
45
  }
46
46
  /**
47
- * Check if this skill is always loaded — bindings derived from this skill
47
+ * Check if this skill is always loaded \u2014 bindings derived from this skill
48
48
  * are merged into every codecall:execute call regardless of the skills the
49
49
  * agent passed. See SkillMetadata.alwaysLoad for guidance on when to set this.
50
50
  */
@@ -60,7 +60,7 @@ var SkillEntry = class extends BaseEntry {
60
60
  return this.metadata.referencedOperations ?? [];
61
61
  }
62
62
  /**
63
- * Whether this skill is "executable" — has at least one declared tool
63
+ * Whether this skill is "executable" \u2014 has at least one declared tool
64
64
  * OR at least one referenced openapi operation. Skills with neither are
65
65
  * pure-knowledge: discoverable via searchKnowledge, callable via execute()
66
66
  * but with no tool bindings (the agentscript can only do pure computation).
@@ -82,10 +82,10 @@ var ToolEntry = class extends BaseEntry {
82
82
  *
83
83
  * Prefers an explicit `rawOutputSchema` (the JSON Schema set by the OpenAPI adapter /
84
84
  * remote tools); otherwise converts a Zod-shape or `z.object()` `outputSchema` to JSON
85
- * Schema — symmetric with {@link getInputJsonSchema}. Returns `null` for output forms
85
+ * Schema \u2014 symmetric with {@link getInputJsonSchema}. Returns `null` for output forms
86
86
  * that have no object-typed schema to advertise: primitive / media string literals
87
- * (`'string'`, `'image'`, …), multi-content arrays (`['string', 'image']`), and any
88
- * schema that does not serialize to a top-level `type: 'object'` (e.g. a union) — those
87
+ * (`'string'`, `'image'`, \u2026), multi-content arrays (`['string', 'image']`), and any
88
+ * schema that does not serialize to a top-level `type: 'object'` (e.g. a union) \u2014 those
89
89
  * flow through `content`, not `structuredContent`, per the MCP spec.
90
90
  *
91
91
  * @returns JSON Schema object, or null if there is no advertisable output schema.
@@ -63,7 +63,7 @@ var ChannelContext = class extends ExecutionContextBase {
63
63
  }
64
64
  /**
65
65
  * Push an incoming event from a service connection into the notification pipeline.
66
- * This triggers `onEvent()` → notification push to all capable Claude Code sessions.
66
+ * This triggers `onEvent()` \u2192 notification push to all capable Claude Code sessions.
67
67
  *
68
68
  * Use this inside `onConnect()` when you receive events from persistent connections
69
69
  * (WebSocket messages, polling results, etc.).
@@ -194,7 +194,7 @@ var ExecutionContextBase = class {
194
194
  * blocks `tools/call` for tools with `metadata.visibility === 'internal'`.
195
195
  * Public and hidden tools are reachable through this helper too.
196
196
  *
197
- * Authority/authorization checks still run — an internal call carries the
197
+ * Authority/authorization checks still run \u2014 an internal call carries the
198
198
  * same `authInfo` as the surrounding request, so ABAC/RBAC guards apply.
199
199
  *
200
200
  * `availableWhen.surface`: the call carries {@link callToolSurface}. From a tool, resource or
@@ -203,7 +203,7 @@ var ExecutionContextBase = class {
203
203
  * leaves that caller out answers as an unknown tool.
204
204
  *
205
205
  * @param name Tool name, or one qualified with its app's id: `owner:name` or `owner.name`.
206
- * @param args Tool arguments — validated by the tool's input schema.
206
+ * @param args Tool arguments \u2014 validated by the tool's input schema.
207
207
  * @param opts Optional progress token / abort signal forwarded into `_meta`.
208
208
  * @returns The tool's `CallToolResult`.
209
209
  */
@@ -324,13 +324,13 @@ var ExecutionContextBase = class {
324
324
  }
325
325
  // ---- Platform bindings ----
326
326
  /**
327
- * The hosting platform's bindings for the current request — on a Cloudflare Worker, the `env`
327
+ * The hosting platform's bindings for the current request \u2014 on a Cloudflare Worker, the `env`
328
328
  * object holding KV namespaces, D1 databases, R2 buckets, Durable Object namespaces, `[vars]`
329
329
  * and secrets. `undefined` where the request carries no such object: Node/Express and stdio.
330
330
  *
331
331
  * A direct server (`create()`, `FrontMcpInstance.createDirect()`, `connect()`) has the bindings
332
332
  * its caller passes: `DirectCallOptions.workerEnv` for one call, `ConnectOptions.workerEnv` for a
333
- * client, or the server-wide default `create({ workerEnv })` — so a server embedded in a Durable
333
+ * client, or the server-wide default `create({ workerEnv })` \u2014 so a server embedded in a Durable
334
334
  * Object, queue consumer or custom route reaches its KV, D1 and R2. `undefined` when none is passed.
335
335
  *
336
336
  * The SDK never writes `process.env`. The Worker entry that `frontmcp build --target cloudflare`
@@ -36,13 +36,13 @@ var FrontMcpAuth = class {
36
36
  }
37
37
  /**
38
38
  * Cryptographically verify a gateway-issued access token (public/local/remote
39
- * "gateway" modes — i.e. NOT transparent). Gateway tokens are signed by this
39
+ * "gateway" modes \u2014 i.e. NOT transparent). Gateway tokens are signed by this
40
40
  * instance, so the instance is the only place that holds the verification key.
41
41
  *
42
42
  * The base implementation rejects everything: only auth instances that
43
43
  * actually mint gateway tokens (i.e. {@link LocalPrimaryAuth}) override this
44
44
  * with a real signature + expiration check. Transparent mode never calls this
45
- * — it verifies against the upstream provider's JWKS instead.
45
+ * \u2014 it verifies against the upstream provider's JWKS instead.
46
46
  *
47
47
  * @param _token The raw bearer token (already confirmed to be a JWT).
48
48
  * @param _requestBaseUrl The request-derived base URL, for context / logging.
@@ -22,7 +22,7 @@ import { widgetServingModeSchema } from "./ui-serving-mode.mjs";
22
22
  var frontMcpLocalAppMetadataSchema = z.looseObject({
23
23
  id: z.string().optional(),
24
24
  name: z.string().min(1),
25
- // Captured call-site dir (#469 — anchors auth.ui relative paths for splitByApp).
25
+ // Captured call-site dir (#469 \u2014 anchors auth.ui relative paths for splitByApp).
26
26
  __sourceDir: z.string().optional(),
27
27
  description: z.string().optional(),
28
28
  providers: z.array(z.lazy(() => annotatedFrontMcpProvidersSchema)).optional().default([]),
@@ -37,7 +37,7 @@ import { outputPolicySchema } from "./output-policy.mjs";
37
37
  import { widgetServingModeSchema } from "./ui-serving-mode.mjs";
38
38
  var frontMcpBaseSchema = z.object({
39
39
  info: serverInfoOptionsSchema,
40
- // Captured call-site dir (#469 — anchors auth.ui relative paths). Passthrough
40
+ // Captured call-site dir (#469 \u2014 anchors auth.ui relative paths). Passthrough
41
41
  // so it survives the strict-object parse and reaches the scope metadata.
42
42
  __sourceDir: z.string().optional(),
43
43
  instructions: z.string().optional(),
@@ -70,7 +70,7 @@ var frontMcpBaseSchema = z.object({
70
70
  /**
71
71
  * Output-validation policy applied after entry-level Zod parsing succeeds.
72
72
  * `allowNonFinite: true` lets `Infinity`, `-Infinity`, and `NaN` reach JSON
73
- * serialization (where they become `null`). Default is `false` — non-finite
73
+ * serialization (where they become `null`). Default is `false` \u2014 non-finite
74
74
  * numeric output throws `InvalidOutputError`.
75
75
  */
76
76
  output: outputPolicySchema.optional(),
@@ -185,7 +185,7 @@ function applyAutoTransportPersistence(data) {
185
185
  var frontMcpMetadataSchema = frontMcpMultiAppSchema.or(frontMcpSplitByAppSchema).transform(applyAutoTransportPersistence);
186
186
  var frontMcpLiteSchema = z.object({
187
187
  info: serverInfoOptionsSchema,
188
- // Captured call-site dir (#469) — round-trip through the lite parser too.
188
+ // Captured call-site dir (#469) \u2014 round-trip through the lite parser too.
189
189
  __sourceDir: z.string().optional(),
190
190
  // Server-level instructions injected into the MCP `initialize` response.
191
191
  // Must round-trip through the lite parser so CLI/MCPB builds preserve it.
@@ -203,7 +203,7 @@ var frontMcpLiteSchema = z.object({
203
203
  logging: loggingOptionsSchema.optional(),
204
204
  skillsConfig: skillsConfigOptionsSchema.optional(),
205
205
  loader: packageLoaderSchema.optional(),
206
- // Pass through without deep validation — not used in CLI mode
206
+ // Pass through without deep validation \u2014 not used in CLI mode
207
207
  http: z.any().optional(),
208
208
  redis: z.any().optional(),
209
209
  pubsub: z.any().optional(),
@@ -218,7 +218,7 @@ var frontMcpLiteSchema = z.object({
218
218
  throttle: z.any().optional(),
219
219
  health: z.any().optional(),
220
220
  metrics: z.any().optional(),
221
- // Required by Scope.validateAuthoritiesConfig — when entries declare
221
+ // Required by Scope.validateAuthoritiesConfig \u2014 when entries declare
222
222
  // `authorities` metadata the engine still needs the top-level config
223
223
  // to instantiate. Pass-through (`z.any()`) so CLI/MCPB builds work
224
224
  // without forcing the full base-schema validation pipeline.
@@ -22,7 +22,7 @@ var FrontMcpLocalAppTokens = {
22
22
  // tool UI defaults (`ui.servingMode`) for the app's tools (#720)
23
23
  ui: tokenFactory.meta("ui"),
24
24
  standalone: tokenFactory.meta("standalone"),
25
- // Captured call-site dir (#469) — anchors auth.ui relative paths for splitByApp.
25
+ // Captured call-site dir (#469) \u2014 anchors auth.ui relative paths for splitByApp.
26
26
  __sourceDir: tokenFactory.meta("__sourceDir")
27
27
  };
28
28
  var FrontMcpRemoteAppTokens = {
@@ -3,7 +3,7 @@ import { tokenFactory } from "./base.tokens.mjs";
3
3
  var FrontMcpTokens = {
4
4
  type: tokenFactory.type("root"),
5
5
  info: tokenFactory.meta("info"),
6
- // Captured call-site dir (#469) — anchors auth.ui relative paths.
6
+ // Captured call-site dir (#469) \u2014 anchors auth.ui relative paths.
7
7
  __sourceDir: tokenFactory.meta("__sourceDir"),
8
8
  instructions: tokenFactory.meta("instructions"),
9
9
  apps: tokenFactory.meta("apps"),
@@ -54,7 +54,7 @@ var httpOptionsSchema = z.object({
54
54
  port: z.number().optional().default(defaultHttpPort),
55
55
  // `FRONTMCP_HTTP_ENTRY_PATH` lets `frontmcp dev` propagate the configured
56
56
  // `transport.http.path` to the spawned server so the MCP endpoint is mounted
57
- // where the generated client URL points (#446) — mirrors how `port` reads
57
+ // where the generated client URL points (#446) \u2014 mirrors how `port` reads
58
58
  // `PORT` above. The function default reads the env at parse time. An explicit
59
59
  // `entryPath` in `@FrontMcp({ http })` still wins (the default applies only
60
60
  // when the field is omitted).
@@ -70,7 +70,7 @@ var httpOptionsSchema = z.object({
70
70
  socketPath: z.string().optional(),
71
71
  /**
72
72
  * CORS configuration.
73
- * - undefined (default): NO CORS headers — same-origin only. A browser will not let another
73
+ * - undefined (default): NO CORS headers \u2014 same-origin only. A browser will not let another
74
74
  * origin read the response. Set `{ origin: true }` for the old permissive behaviour.
75
75
  * - false: CORS disabled (same effect as the default; kept for explicitness)
76
76
  * - CorsOptions object: custom CORS config
@@ -80,9 +80,9 @@ var httpOptionsSchema = z.object({
80
80
  * Security configuration for transport hardening.
81
81
  *
82
82
  * The defaults are the SAFE choice: the server binds loopback and sends no CORS headers. Reaching
83
- * it from another host or another origin is something you opt into — `bindAddress: 'all'`, the
83
+ * it from another host or another origin is something you opt into \u2014 `bindAddress: 'all'`, the
84
84
  * `FRONTMCP_BIND_ADDRESS=all` env var (no rebuild; the right fit for a Dockerfile), or a
85
- * distributed build — and an explicit `cors` config.
85
+ * distributed build \u2014 and an explicit `cors` config.
86
86
  */
87
87
  security: z.object({
88
88
  strict: z.boolean().optional(),
@@ -106,7 +106,7 @@ function parseRedisUrl(raw) {
106
106
  }
107
107
  var redisUrlSchema = z.object({
108
108
  /**
109
- * Storage provider type — optional, a `url` already says Redis.
109
+ * Storage provider type \u2014 optional, a `url` already says Redis.
110
110
  */
111
111
  provider: z.literal("redis").optional(),
112
112
  /**
@@ -2,11 +2,11 @@
2
2
  import { z } from "@frontmcp/lazy-zod";
3
3
  var sqliteOptionsSchema = z.object({
4
4
  /**
5
- * Path to the .sqlite database file. **Optional** — when omitted the SDK
5
+ * Path to the .sqlite database file. **Optional** \u2014 when omitted the SDK
6
6
  * resolves a default at startup (see `resolveDefaultSqlitePath` in
7
7
  * `./resolve.ts`):
8
- * - dev + node + non-CLI → `<projectRoot>/dist/sessions.sqlite`
9
- * - prod OR CLI mode → `~/.{info.name}/sessions.sqlite`
8
+ * - dev + node + non-CLI \u2192 `<projectRoot>/dist/sessions.sqlite`
9
+ * - prod OR CLI mode \u2192 `~/.{info.name}/sessions.sqlite`
10
10
  * Set this explicitly to override either default.
11
11
  */
12
12
  path: z.string().min(1).optional(),