@foldkit/vite-plugin 0.20.0-canary.786d77603597 → 0.20.0-canary.790e96da0b63

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/build.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Schema as S } from 'effect';
1
+ import { Schema } from 'effect';
2
2
  import nodePath from 'node:path';
3
3
  import type { Plugin } from 'vite';
4
4
  /** How a build materializes the URLs a server entry can render. */
@@ -54,25 +54,25 @@ export type FoldkitBuildOptions = Readonly<{
54
54
  * template. Reading it here is how a deployment target gets that right without
55
55
  * asking its user to configure it twice.
56
56
  */
57
- export declare const FoldkitBuildManifest: S.Struct<{
57
+ export declare const FoldkitBuildManifest: Schema.Struct<{
58
58
  /**
59
59
  * The shape of this document. A consumer decodes before reading and refuses
60
60
  * a version it does not know, so a manifest written by a newer Foldkit is a
61
61
  * clear refusal rather than a field silently read as undefined.
62
62
  */
63
- readonly schemaVersion: S.Literals<readonly [1]>;
63
+ readonly schemaVersion: Schema.Literals<readonly [1]>;
64
64
  /**
65
65
  * Where the browser build was written, as a POSIX path relative to the Vite
66
66
  * root. Relative and normalized so a manifest survives being moved with the
67
67
  * build it describes.
68
68
  */
69
- readonly client: S.String;
69
+ readonly client: Schema.String;
70
70
  /** Where the server build was written, on the same terms as {@link client}. */
71
- readonly server: S.String;
71
+ readonly server: Schema.String;
72
72
  /** The server build's entry file, relative to `server`. */
73
- readonly serverEntry: S.String;
73
+ readonly serverEntry: Schema.String;
74
74
  /** Every path this build generated a page for, in the order it generated. */
75
- readonly prerendered: S.$Array<S.String>;
75
+ readonly prerendered: Schema.$Array<Schema.String>;
76
76
  }>;
77
77
  /**
78
78
  * What the build produced, written beside the server bundle for whatever
@@ -1 +1 @@
1
- {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../src/build.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAA;AAG3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AA;CAAE,CA0CrC,CAAA;AA+DD;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,gBACV,MAAM,YACV,mBAAmB,KAC3B,MA8MF,CAAA"}
package/dist/build.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Array, Schema as S } from 'effect';
1
+ import { Array, Schema } from 'effect';
2
2
  import { mkdir, writeFile } from 'node:fs/promises';
3
3
  import nodePath, { basename, dirname, extname, resolve } from 'node:path';
4
4
  import { pathToFileURL } from 'node:url';
@@ -13,25 +13,25 @@ import { pathToFileURL } from 'node:url';
13
13
  * template. Reading it here is how a deployment target gets that right without
14
14
  * asking its user to configure it twice.
15
15
  */
16
- export const FoldkitBuildManifest = S.Struct({
16
+ export const FoldkitBuildManifest = Schema.Struct({
17
17
  /**
18
18
  * The shape of this document. A consumer decodes before reading and refuses
19
19
  * a version it does not know, so a manifest written by a newer Foldkit is a
20
20
  * clear refusal rather than a field silently read as undefined.
21
21
  */
22
- schemaVersion: S.Literals([1]),
22
+ schemaVersion: Schema.Literals([1]),
23
23
  /**
24
24
  * Where the browser build was written, as a POSIX path relative to the Vite
25
25
  * root. Relative and normalized so a manifest survives being moved with the
26
26
  * build it describes.
27
27
  */
28
- client: S.String,
28
+ client: Schema.String,
29
29
  /** Where the server build was written, on the same terms as {@link client}. */
30
- server: S.String,
30
+ server: Schema.String,
31
31
  /** The server build's entry file, relative to `server`. */
32
- serverEntry: S.String,
32
+ serverEntry: Schema.String,
33
33
  /** Every path this build generated a page for, in the order it generated. */
34
- prerendered: S.Array(S.String),
34
+ prerendered: Schema.Array(Schema.String),
35
35
  });
36
36
  const MANIFEST_SCHEMA_VERSION = 1;
37
37
  // Relative and POSIX so the manifest describes a layout rather than this
@@ -229,7 +229,7 @@ export const foldkitBuild = (serverEntry, options = {}) => {
229
229
  return paths;
230
230
  };
231
231
  const writeManifest = async (builder, serverDirectory, entryFileName, prerendered) => {
232
- const manifest = S.encodeSync(FoldkitBuildManifest)({
232
+ const manifest = Schema.encodeSync(FoldkitBuildManifest)({
233
233
  schemaVersion: MANIFEST_SCHEMA_VERSION,
234
234
  client: manifestPath(builder.config.root, clientOutDir),
235
235
  server: manifestPath(builder.config.root, serverOutDir),
@@ -1 +1 @@
1
- {"version":3,"file":"devToolsOverlay.d.ts","sourceRoot":"","sources":["../src/devToolsOverlay.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAoJlC;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,YAC7B,OAAO,GAAG,OAAO,QACpB,MAAM,KACX,OAQF,CAAA;AAED,+EAA+E;AAC/E,eAAO,MAAM,qBAAqB,QAAO,MA+DxC,CAAA"}
1
+ {"version":3,"file":"devToolsOverlay.d.ts","sourceRoot":"","sources":["../src/devToolsOverlay.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAsJlC;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,YAC7B,OAAO,GAAG,OAAO,QACpB,MAAM,KACX,OAQF,CAAA;AAED,+EAA+E;AAC/E,eAAO,MAAM,qBAAqB,QAAO,MA+DxC,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Array, Option, Record, Schema as S } from 'effect';
1
+ import { Array, Option, Record, Schema } from 'effect';
2
2
  import { existsSync, readFileSync, realpathSync } from 'node:fs';
3
3
  import { dirname, join, resolve, sep } from 'node:path';
4
4
  const DEV_TOOLS_PACKAGE_NAME = '@foldkit/devtools';
@@ -27,14 +27,14 @@ import { __setDevToolsOverlay } from '${DEV_TOOLS_HOST_IMPORT_SPECIFIER}'
27
27
 
28
28
  __setDevToolsOverlay(overlay)
29
29
  `;
30
- const ApplicationPackageJson = S.Struct({
31
- dependencies: S.optional(S.Record(S.String, S.String)),
30
+ const ApplicationPackageJson = Schema.Struct({
31
+ dependencies: Schema.optional(Schema.Record(Schema.String, Schema.String)),
32
32
  });
33
- const DevToolsPackageJson = S.Struct({
34
- exports: S.optional(S.Record(S.String, S.Unknown)),
33
+ const DevToolsPackageJson = Schema.Struct({
34
+ exports: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
35
35
  });
36
- const decodeApplicationPackageJson = S.decodeUnknownSync(ApplicationPackageJson);
37
- const decodeDevToolsPackageJson = S.decodeUnknownSync(DevToolsPackageJson);
36
+ const decodeApplicationPackageJson = Schema.decodeUnknownSync(ApplicationPackageJson);
37
+ const decodeDevToolsPackageJson = Schema.decodeUnknownSync(DevToolsPackageJson);
38
38
  const readPackageJson = (decode, packageJsonPath) => {
39
39
  try {
40
40
  return Option.some(decode(JSON.parse(readFileSync(packageJsonPath, 'utf8'))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EACV,MAAM,EAIP,MAAM,MAAM,CAAA;AAGb,OAAO,EAAE,KAAK,mBAAmB,EAAgB,MAAM,YAAY,CAAA;AAGnE,OAAO,EAAE,KAAK,iBAAiB,EAAc,MAAM,UAAU,CAAA;AAG7D,OAAO,EAAE,KAAK,eAAe,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACzE,OAAO,EACL,oBAAoB,EACpB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,YAAY,GACb,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,KAAK,iBAAiB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAC7D,OAAO,EACL,KAAK,2BAA2B,EAChC,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,mBAAmB,CAAA;AAE1B,6CAA6C;AAC7C,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IAC1C;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;;OAKG;IACH,GAAG,CAAC,EAAE,IAAI,CAAC,iBAAiB,EAAE,SAAS,CAAC,GACtC,QAAQ,CAAC;QACP;;;;;;;WAOG;QACH,K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,KAAK,CAAC,MAAM,CAsFxE,CAAA"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Array, Console, Data, Duration, Effect, Exit, Fiber, HashMap, HashSet, Match as M, Option, Predicate, Queue, Ref, Schema as S, Schedule, Stream, pipe, } from 'effect';
1
+ import { Array, Console, Data, Duration, Effect, Exit, Fiber, HashMap, HashSet, Match, Option, Predicate, Queue, Ref, Schedule, Schema, Stream, pipe, } from 'effect';
2
2
  import { Event as DevToolsEvent, EventFrame, RequestFrame, Response, ResponseFrame, } from 'foldkit/devtools-protocol';
3
3
  import { PreserveModelMessage, RequestModelMessage, RestoreModelMessage, } from 'foldkit/hmr-protocol';
4
4
  import { createRequire } from 'node:module';
@@ -111,9 +111,9 @@ const makeState = Effect.gen(function* () {
111
111
  };
112
112
  return state;
113
113
  });
114
- const encodeResponseFrameJson = S.encodeUnknownSync(S.fromJsonString(ResponseFrame));
114
+ const encodeResponseFrameJson = Schema.encodeUnknownSync(Schema.fromJsonString(ResponseFrame));
115
115
  // HANDLERS
116
- const handlePreserveModelReceived = (state, payload) => Exit.match(S.decodeUnknownExit(PreserveModelMessage)(payload), {
116
+ const handlePreserveModelReceived = (state, payload) => Exit.match(Schema.decodeUnknownExit(PreserveModelMessage)(payload), {
117
117
  onFailure: error => Console.warn('[foldkit:hmr] failed to decode preserve-model payload', error),
118
118
  onSuccess: ({ id, model, isHmrReload }) => Ref.update(state.preservedModels, current => {
119
119
  const existingFlag = Option.exists(HashMap.get(current, id), ({ isHmrReload }) => isHmrReload);
@@ -124,11 +124,11 @@ const handlePreserveModelReceived = (state, payload) => Exit.match(S.decodeUnkno
124
124
  return HashMap.set(current, id, entry);
125
125
  }),
126
126
  });
127
- const handleRequestModelReceived = (server, state, payload) => Exit.match(S.decodeUnknownExit(RequestModelMessage)(payload), {
127
+ const handleRequestModelReceived = (server, state, payload) => Exit.match(Schema.decodeUnknownExit(RequestModelMessage)(payload), {
128
128
  onFailure: error => Console.warn('[foldkit:hmr] failed to decode request-model payload', error),
129
129
  onSuccess: ({ id }) => Effect.gen(function* () {
130
130
  const current = yield* Ref.get(state.preservedModels);
131
- const sendRestore = (model) => Effect.sync(() => server.ws.send('foldkit:restore-model', S.encodeUnknownSync(RestoreModelMessage)(RestoreModelMessage.make({ id, model }))));
131
+ const sendRestore = (model) => Effect.sync(() => server.ws.send('foldkit:restore-model', Schema.encodeUnknownSync(RestoreModelMessage)(RestoreModelMessage.make({ id, model }))));
132
132
  yield* Option.match(HashMap.get(current, id), {
133
133
  onNone: () => sendRestore(undefined),
134
134
  onSome: entry => {
@@ -142,7 +142,7 @@ const handleRequestModelReceived = (server, state, payload) => Exit.match(S.deco
142
142
  }),
143
143
  });
144
144
  const handleHotUpdateFired = (state) => Ref.update(state.preservedModels, current => HashMap.map(current, entry => ({ ...entry, isHmrReload: true })));
145
- const handleBrowserEventFrameReceived = (state, data, client) => Exit.match(S.decodeUnknownExit(EventFrame)(data), {
145
+ const handleBrowserEventFrameReceived = (state, data, client) => Exit.match(Schema.decodeUnknownExit(EventFrame)(data), {
146
146
  onFailure: error => Console.warn('[foldkit:devTools] failed to decode browser event frame', error),
147
147
  onSuccess: frame => DevToolsEvent.match(frame.event, {
148
148
  EventConnected: event => handleConnectedEvent(state, event, client),
@@ -175,7 +175,7 @@ const handleViteClientClosed = (state, client) => Effect.gen(function* () {
175
175
  yield* Ref.update(state.clientConnections, HashMap.remove(client));
176
176
  yield* Ref.update(state.trackedClients, HashSet.remove(client));
177
177
  });
178
- const handleBrowserResponseFrameReceived = (state, data) => Exit.match(S.decodeUnknownExit(ResponseFrame)(data), {
178
+ const handleBrowserResponseFrameReceived = (state, data) => Exit.match(Schema.decodeUnknownExit(ResponseFrame)(data), {
179
179
  onFailure: error => Console.warn('[foldkit:devTools] failed to decode browser response frame', error),
180
180
  onSuccess: frame => broadcastResponseToMcpClients(state, frame),
181
181
  });
@@ -200,9 +200,9 @@ const handleMcpClientDisconnected = (state, client) => Effect.gen(function* () {
200
200
  const remaining = HashSet.size(yield* Ref.get(state.mcpClients));
201
201
  yield* Console.log(`[foldkit:devTools] MCP client disconnected (${remaining} remaining)`);
202
202
  });
203
- const handleMcpRequestReceived = (server, state, client, raw) => Exit.match(S.decodeUnknownExit(S.fromJsonString(RequestFrame))(raw), {
203
+ const handleMcpRequestReceived = (server, state, client, raw) => Exit.match(Schema.decodeUnknownExit(Schema.fromJsonString(RequestFrame))(raw), {
204
204
  onFailure: error => Console.warn('[foldkit:devTools] failed to decode MCP request frame', error),
205
- onSuccess: frame => M.value(frame.request).pipe(M.tag('RequestListRuntimes', () => replyListRuntimes(state, client, frame.id)), M.orElse(() => forwardRequestToBrowsers(server, frame))),
205
+ onSuccess: frame => Match.value(frame.request).pipe(Match.tag('RequestListRuntimes', () => replyListRuntimes(state, client, frame.id)), Match.orElse(() => forwardRequestToBrowsers(server, frame))),
206
206
  });
207
207
  const replyListRuntimes = (state, client, requestId) => Effect.gen(function* () {
208
208
  const runtimes = pipe(yield* Ref.get(state.connectedRuntimes), HashMap.values, Array.fromIterable);
@@ -216,9 +216,9 @@ const replyListRuntimes = (state, client, requestId) => Effect.gen(function* ()
216
216
  }
217
217
  });
218
218
  });
219
- const forwardRequestToBrowsers = (server, frame) => Effect.sync(() => server.ws.send('foldkit:devTools:request', S.encodeUnknownSync(RequestFrame)(frame)));
219
+ const forwardRequestToBrowsers = (server, frame) => Effect.sync(() => server.ws.send('foldkit:devTools:request', Schema.encodeUnknownSync(RequestFrame)(frame)));
220
220
  // EVENT DISPATCH
221
- const dispatchEvent = (server, state, event) => M.value(event).pipe(M.tagsExhaustive({
221
+ const dispatchEvent = (server, state, event) => Match.value(event).pipe(Match.tagsExhaustive({
222
222
  PreserveModelReceived: ({ payload }) => handlePreserveModelReceived(state, payload),
223
223
  RequestModelReceived: ({ payload }) => handleRequestModelReceived(server, state, payload),
224
224
  BrowserEventFrameReceived: ({ data, client }) => handleBrowserEventFrameReceived(state, data, client),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foldkit/vite-plugin",
3
- "version": "0.20.0-canary.786d77603597",
3
+ "version": "0.20.0-canary.790e96da0b63",
4
4
  "description": "Vite plugin for Foldkit hot module reloading with state preservation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  ],
18
18
  "peerDependencies": {
19
19
  "effect": "4.0.0-rc.112",
20
- "foldkit": "0.156.0-canary.786d77603597",
20
+ "foldkit": "0.156.0-canary.790e96da0b63",
21
21
  "vite": "^7.0.0 || ^8.0.0"
22
22
  },
23
23
  "dependencies": {
@@ -34,7 +34,7 @@
34
34
  "vite": "^8.2.2",
35
35
  "vite7": "npm:vite@^7.3.6",
36
36
  "vitest": "^4.1.11",
37
- "foldkit": "0.156.0-canary.786d77603597"
37
+ "foldkit": "0.156.0-canary.790e96da0b63"
38
38
  },
39
39
  "keywords": [
40
40
  "vite",