@usecontextlayer/cli 0.17.0 → 0.18.0

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.
Binary file
package/dist/vite.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { c as ZodObject, d as ZodString, h as $strict, i as ZodLiteral, m as output, n as ZodDiscriminatedUnion, o as ZodNullable, r as ZodEnum, t as ZodArray, u as ZodRecord } from "./schemas-DeaNWrS-.mjs";
2
2
  import { Plugin, ViteDevServer } from "vite";
3
- //#region ../shared/dist/slate-resources-CKLbY-yC.d.mts
3
+ //#region ../shared/dist/slate-resources-CIR9GoCu.d.mts
4
4
  declare const localResourceConfigurationSchema: ZodObject<{
5
5
  connections: ZodRecord<ZodString, ZodObject<{
6
6
  mode: ZodEnum<{
@@ -14,7 +14,7 @@ declare const localResourceConfigurationSchema: ZodObject<{
14
14
  name: ZodString;
15
15
  type: ZodLiteral<"agent">;
16
16
  }, $strict>], "type">>;
17
- connection_id: ZodNullable<ZodString>;
17
+ account_id: ZodNullable<ZodString>;
18
18
  }, $strict>>;
19
19
  databases: ZodRecord<ZodString, ZodObject<{
20
20
  mode: ZodEnum<{
@@ -59,7 +59,7 @@ export declare function getLocalResourcesBindings(): Promise<{
59
59
  name: string;
60
60
  type: "agent";
61
61
  })[];
62
- connection_id: string | null;
62
+ account_id: string | null;
63
63
  }>;
64
64
  databases: Record<string, {
65
65
  mode: "owner" | "viewer";
@@ -107,7 +107,7 @@ export declare function getLocalResourcesBindings(): Promise<{
107
107
  name: string;
108
108
  type: "agent";
109
109
  })[];
110
- connection_id: string | null;
110
+ account_id: string | null;
111
111
  };
112
112
  };
113
113
  credential: {
@@ -1 +1 @@
1
- {"version":3,"file":"vite.d.mts","names":["z.ZodString","z.ZodEnum","z.ZodLiteral","z.core.$strict","z.ZodObject","z.ZodDiscriminatedUnion","z.ZodArray","z.ZodNullable","z.ZodRecord","z.infer"],"sources":["../../shared/dist/slate-resources-CKLbY-yC.d.mts","../vite.ts"],"mappings":";;;cA8Jc,kCAAkCI;EAC9C,aAAaI,UAAYR,WAAaI;IACpC,MAAMH;MACJ;MACA;;IAEF,SAASD;IACT,WAAWM,SAAWD,uBAAyBD;MAC7C,MAAMF;OACLC,UAAiBC;MAClB,MAAMJ;MACN,MAAME;OACLC;IACH,eAAeI,YAAcP;KAC5BG;EACH,WAAWK,UAAYR,WAAaI;IAClC,MAAMH;MACJ;MACA;;IAEF,WAAWK,SAAWD,uBAAyBD;MAC7C,MAAMF;OACLC,UAAiBC;MAClB,MAAMJ;MACN,MAAME;OACLC;IACH,eAAeH;KACdG;EACH,SAASK,UAAYR,WAAaI;IAChC,MAAMH;MACJ;MACA;;IAEF,WAAWK,SAAWD,uBAAyBD;MAC7C,MAAMF;OACLC,UAAiBC;MAClB,MAAMJ;MACN,MAAME;OACLC;IACH,OAAOI,YAAcP;KACpBG;GACFA;KACE,6BAA6BM,cAAe;;;wBCxLjC,0BACf,UAAU,QAAQ,kBAAkB,8BAClC;wBAUa,yBAAyB,QAAQ,gBAKlB,QAAQ,kBAAkB;wBAGnC,6BAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAU5B;MAAkC;;;;;IAI3C;;;;wBAKY,wBACrB,WAAW,0CAAuC"}
1
+ {"version":3,"file":"vite.d.mts","names":["z.ZodString","z.ZodEnum","z.ZodLiteral","z.core.$strict","z.ZodObject","z.ZodDiscriminatedUnion","z.ZodArray","z.ZodNullable","z.ZodRecord","z.infer"],"sources":["../../shared/dist/slate-resources-CIR9GoCu.d.mts","../vite.ts"],"mappings":";;;cA8Jc,kCAAkCI;EAC9C,aAAaI,UAAYR,WAAaI;IACpC,MAAMH;MACJ;MACA;;IAEF,SAASD;IACT,WAAWM,SAAWD,uBAAyBD;MAC7C,MAAMF;OACLC,UAAiBC;MAClB,MAAMJ;MACN,MAAME;OACLC;IACH,YAAYI,YAAcP;KACzBG;EACH,WAAWK,UAAYR,WAAaI;IAClC,MAAMH;MACJ;MACA;;IAEF,WAAWK,SAAWD,uBAAyBD;MAC7C,MAAMF;OACLC,UAAiBC;MAClB,MAAMJ;MACN,MAAME;OACLC;IACH,eAAeH;KACdG;EACH,SAASK,UAAYR,WAAaI;IAChC,MAAMH;MACJ;MACA;;IAEF,WAAWK,SAAWD,uBAAyBD;MAC7C,MAAMF;OACLC,UAAiBC;MAClB,MAAMJ;MACN,MAAME;OACLC;IACH,OAAOI,YAAcP;KACpBG;GACFA;KACE,6BAA6BM,cAAe;;;wBCxLjC,0BACf,UAAU,QAAQ,kBAAkB,8BAClC;wBAUa,yBAAyB,QAAQ,gBAKlB,QAAQ,kBAAkB;wBAGnC,6BAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAU5B;MAAkC;;;;;IAI3C;;;;wBAKY,wBACrB,WAAW,0CAAuC"}
package/dist/vite.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { n as getAccessToken } from "./auth-BL9AxZGb.mjs";
2
2
  import { n as env, s as resourcesForConsumer } from "./env-C_tllJ4u.mjs";
3
- import { c as execa, i as getLocalSlateId, n as prepareLocalResourceConfiguration, t as getLocalResourcesWorkerName } from "./resources-BhJbHzU0.mjs";
3
+ import { c as execa, i as getLocalSlateId, n as prepareLocalResourceConfiguration, t as getLocalResourcesWorkerName } from "./resources-0GJALfam.mjs";
4
4
  import assert from "node:assert/strict";
5
5
  //#region vite.ts
6
6
  const provisioningPluginName = "contextlayer:database-provisioning";
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "openid-client": "^6.8.8",
22
22
  "tsdown": "latest",
23
23
  "zod": "^4.4.3",
24
- "@usecontextlayer/shared": "0.17.0"
24
+ "@usecontextlayer/shared": "0.18.0"
25
25
  },
26
26
  "engines": {
27
27
  "node": ">=22.22.0"
@@ -52,7 +52,7 @@
52
52
  "url": "git+https://github.com/usecontextlayer/contextlayer.git"
53
53
  },
54
54
  "type": "module",
55
- "version": "0.17.0",
55
+ "version": "0.18.0",
56
56
  "scripts": {
57
57
  "build": "tsdown",
58
58
  "dev:watch": "tsdown --watch template",