@lostgradient/mcp 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.
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-taxyscge.js";
4
4
  import {
5
5
  PACKAGE_VERSION
6
- } from "./chunk-nfvwew92.js";
6
+ } from "./chunk-wfty87ws.js";
7
7
  import {
8
8
  hasRegisteredUiExtensionResource
9
9
  } from "./chunk-rxnyn7tf.js";
@@ -1,4 +1,4 @@
1
1
  // src/version.ts
2
- var PACKAGE_VERSION = "0.2.0";
2
+ var PACKAGE_VERSION = "0.2.1";
3
3
 
4
4
  export { PACKAGE_VERSION };
@@ -6,9 +6,9 @@ import {
6
6
  createMcpServer,
7
7
  hasValidLocalhostRebindingHeaders,
8
8
  isLoopbackHostname
9
- } from "../chunk-11p5d5a1.js";
9
+ } from "../chunk-7dpts3r9.js";
10
10
  import"../chunk-taxyscge.js";
11
- import"../chunk-nfvwew92.js";
11
+ import"../chunk-wfty87ws.js";
12
12
  import {
13
13
  resolveOauthNetworkIdentity
14
14
  } from "../chunk-yf4nw40e.js";
package/dist/index.js CHANGED
@@ -11,13 +11,13 @@ import {
11
11
  readRequestSender,
12
12
  readSessionIdentifier,
13
13
  stringifyUnknown
14
- } from "./chunk-11p5d5a1.js";
14
+ } from "./chunk-7dpts3r9.js";
15
15
  import {
16
16
  metricsCollector
17
17
  } from "./chunk-taxyscge.js";
18
18
  import {
19
19
  PACKAGE_VERSION
20
- } from "./chunk-nfvwew92.js";
20
+ } from "./chunk-wfty87ws.js";
21
21
  import {
22
22
  getSupportedScopes,
23
23
  hasRegisteredUiExtensionResource
@@ -82,7 +82,7 @@ function createPostgresOAuthSchema({
82
82
  userId: userId(),
83
83
  scope: text("scope"),
84
84
  resource: text("resource").notNull(),
85
- accessTokenHash: text("access_token_hash").notNull().references(() => accessTokens.accessTokenHash),
85
+ accessTokenHash: text("access_token_hash").notNull().references(() => accessTokens.accessTokenHash, { onDelete: "cascade" }),
86
86
  familyId: text("family_id").notNull(),
87
87
  expiresAt: timestamp("expires_at", { withTimezone: true }).notNull(),
88
88
  revokedAt: timestamp("revoked_at", { withTimezone: true }),
package/dist/version.d.ts CHANGED
@@ -20,4 +20,4 @@
20
20
  * thing making this approach safe — do not delete it to silence a release
21
21
  * bump; update this constant instead.
22
22
  */
23
- export declare const PACKAGE_VERSION = "0.2.0";
23
+ export declare const PACKAGE_VERSION = "0.2.1";
package/dist/version.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PACKAGE_VERSION
3
- } from "./chunk-nfvwew92.js";
3
+ } from "./chunk-wfty87ws.js";
4
4
  export {
5
5
  PACKAGE_VERSION
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lostgradient/mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "A Model Context Protocol server engine: registries, scope vocabularies, and an OAuth-ready request boundary.",
5
5
  "license": "MIT",
6
6
  "author": "Steve Kinney <hello@stevekinney.net>",