@highstate/designer 0.5.3 → 0.5.5

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.
@@ -17,6 +17,7 @@ import { z } from 'zod';
17
17
  import { parseInstanceId } from '@highstate/contract';
18
18
  import { SecretAccessDeniedError, getSharedServices } from '@highstate/backend';
19
19
  import { hubModelPatchSchema, hubModelSchema, instanceModelSchema, instanceModelPatchSchema, projectOperationRequestSchema } from '@highstate/backend/shared';
20
+ import { PassThrough } from 'node:stream';
20
21
  import { getRequestDependencies, getPreloadLinks, getPrefetchLinks, createRenderer } from 'vue-bundle-renderer/runtime';
21
22
  import { stringify as stringify$1, uneval } from 'devalue';
22
23
  import { propsToString, renderSSRHead } from '@unhead/ssr';
@@ -6758,6 +6759,17 @@ function mergeHeaders$1(defaults, ...inputs) {
6758
6759
  }
6759
6760
  return merged;
6760
6761
  }
6762
+ function defineWebSocketHandler(hooks) {
6763
+ return defineEventHandler({
6764
+ handler() {
6765
+ throw createError$1({
6766
+ statusCode: 426,
6767
+ statusMessage: "Upgrade Required"
6768
+ });
6769
+ },
6770
+ websocket: hooks
6771
+ });
6772
+ }
6761
6773
 
6762
6774
  class H3Event {
6763
6775
  "__is_event__" = true;
@@ -7846,8 +7858,8 @@ function createNodeFetch() {
7846
7858
  }
7847
7859
  const fetch = globalThis.fetch ? (...args) => globalThis.fetch(...args) : createNodeFetch();
7848
7860
  const Headers$1 = globalThis.Headers || s;
7849
- const AbortController = globalThis.AbortController || i;
7850
- createFetch$1({ fetch, Headers: Headers$1, AbortController });
7861
+ const AbortController$1 = globalThis.AbortController || i;
7862
+ createFetch$1({ fetch, Headers: Headers$1, AbortController: AbortController$1 });
7851
7863
 
7852
7864
  function rawHeaders(headers) {
7853
7865
  const rawHeaders2 = [];
@@ -8691,114 +8703,114 @@ const assets$1 = {
8691
8703
  "/favicon.ico": {
8692
8704
  "type": "image/vnd.microsoft.icon",
8693
8705
  "etag": "\"10be-n8egyE9tcb7sKGr/pYCaQ4uWqxI\"",
8694
- "mtime": "2025-03-13T17:32:08.930Z",
8706
+ "mtime": "2025-03-14T06:29:47.103Z",
8695
8707
  "size": 4286,
8696
8708
  "path": "../public/favicon.ico"
8697
8709
  },
8698
8710
  "/libavoid.wasm": {
8699
8711
  "type": "application/wasm",
8700
8712
  "etag": "\"766e3-UHfBWRoZIr7ZrE8DM+K3aPbBHHs\"",
8701
- "mtime": "2025-03-13T17:32:08.930Z",
8713
+ "mtime": "2025-03-14T06:29:47.103Z",
8702
8714
  "size": 485091,
8703
8715
  "path": "../public/libavoid.wasm"
8704
8716
  },
8705
8717
  "/robots.txt": {
8706
8718
  "type": "text/plain; charset=utf-8",
8707
8719
  "etag": "\"1-rcg7GeeTSRscbqD9i0bNnzLlkvw\"",
8708
- "mtime": "2025-03-13T17:32:08.931Z",
8720
+ "mtime": "2025-03-14T06:29:47.104Z",
8709
8721
  "size": 1,
8710
8722
  "path": "../public/robots.txt"
8711
8723
  },
8712
- "/_nuxt/7nTnYz4C.js": {
8724
+ "/_nuxt/C5YDM6tc.js": {
8713
8725
  "type": "text/javascript; charset=utf-8",
8714
- "etag": "\"2e8e67-oE3JqbB4kWxZg8oXLNKbNriTLkk\"",
8715
- "mtime": "2025-03-13T17:32:08.924Z",
8726
+ "etag": "\"2e8e67-rzLCLcqPt4AdWuR0c9RlEsoEYOU\"",
8727
+ "mtime": "2025-03-14T06:29:47.097Z",
8716
8728
  "size": 3051111,
8717
- "path": "../public/_nuxt/7nTnYz4C.js"
8729
+ "path": "../public/_nuxt/C5YDM6tc.js"
8718
8730
  },
8719
- "/_nuxt/BfQlfp01.js": {
8731
+ "/_nuxt/DJMH00PF.js": {
8720
8732
  "type": "text/javascript; charset=utf-8",
8721
- "etag": "\"180-KsCBAk5p3xfPFHSJwwVUnoka86k\"",
8722
- "mtime": "2025-03-13T17:32:08.916Z",
8723
- "size": 384,
8724
- "path": "../public/_nuxt/BfQlfp01.js"
8725
- },
8726
- "/_nuxt/BzpzT3Fy.js": {
8727
- "type": "text/javascript; charset=utf-8",
8728
- "etag": "\"24e4-yc4ii19lYH3FJSaiYJvdjAOOONo\"",
8729
- "mtime": "2025-03-13T17:32:08.916Z",
8733
+ "etag": "\"24e4-oN04Irq8hCZXkQKqfx3Z4A3THz0\"",
8734
+ "mtime": "2025-03-14T06:29:47.092Z",
8730
8735
  "size": 9444,
8731
- "path": "../public/_nuxt/BzpzT3Fy.js"
8736
+ "path": "../public/_nuxt/DJMH00PF.js"
8732
8737
  },
8733
- "/_nuxt/C97RHzKR.js": {
8738
+ "/_nuxt/Dy9sUyql.js": {
8734
8739
  "type": "text/javascript; charset=utf-8",
8735
- "etag": "\"d52-1xqvBJmLWWu3ZbxcEGRWS2ez2sQ\"",
8736
- "mtime": "2025-03-13T17:32:08.917Z",
8740
+ "etag": "\"d52-BE9uqVvSi7JsOg4jGoLYFy7s6IE\"",
8741
+ "mtime": "2025-03-14T06:29:47.090Z",
8737
8742
  "size": 3410,
8738
- "path": "../public/_nuxt/C97RHzKR.js"
8743
+ "path": "../public/_nuxt/Dy9sUyql.js"
8744
+ },
8745
+ "/_nuxt/H2Dg9Wnt.js": {
8746
+ "type": "text/javascript; charset=utf-8",
8747
+ "etag": "\"180-ePSptpPl58XgOxtdvNG+pi9caFc\"",
8748
+ "mtime": "2025-03-14T06:29:47.091Z",
8749
+ "size": 384,
8750
+ "path": "../public/_nuxt/H2Dg9Wnt.js"
8739
8751
  },
8740
- "/_nuxt/entry.BQ2abehu.css": {
8752
+ "/_nuxt/entry.C-EV0DlW.css": {
8741
8753
  "type": "text/css; charset=utf-8",
8742
- "etag": "\"9cd57-K8KnihRmAyCqyqaDWgWSK+qe85c\"",
8743
- "mtime": "2025-03-13T17:32:08.921Z",
8754
+ "etag": "\"9cd57-uvvPVFdcwsPRQTe2mBW7PpMVUkI\"",
8755
+ "mtime": "2025-03-14T06:29:47.090Z",
8744
8756
  "size": 642391,
8745
- "path": "../public/_nuxt/entry.BQ2abehu.css"
8757
+ "path": "../public/_nuxt/entry.C-EV0DlW.css"
8746
8758
  },
8747
8759
  "/_nuxt/error-404.BJkSn6RI.css": {
8748
8760
  "type": "text/css; charset=utf-8",
8749
8761
  "etag": "\"de4-r9xtDsKTiqf+9Q1gboMnptHSjqc\"",
8750
- "mtime": "2025-03-13T17:32:08.917Z",
8762
+ "mtime": "2025-03-14T06:29:47.091Z",
8751
8763
  "size": 3556,
8752
8764
  "path": "../public/_nuxt/error-404.BJkSn6RI.css"
8753
8765
  },
8754
8766
  "/_nuxt/error-500.TOCKLquH.css": {
8755
8767
  "type": "text/css; charset=utf-8",
8756
8768
  "etag": "\"75c-UgDuztSkituCmi5v2gpTJ/CXJTw\"",
8757
- "mtime": "2025-03-13T17:32:08.917Z",
8769
+ "mtime": "2025-03-14T06:29:47.091Z",
8758
8770
  "size": 1884,
8759
8771
  "path": "../public/_nuxt/error-500.TOCKLquH.css"
8760
8772
  },
8761
8773
  "/_nuxt/materialdesignicons-webfont.B6OSyW2I.woff2": {
8762
8774
  "type": "font/woff2",
8763
8775
  "etag": "\"4f67c-W8lIr//mYzY5FU4CS/BHzz74EyY\"",
8764
- "mtime": "2025-03-13T17:32:08.921Z",
8776
+ "mtime": "2025-03-14T06:29:47.091Z",
8765
8777
  "size": 325244,
8766
8778
  "path": "../public/_nuxt/materialdesignicons-webfont.B6OSyW2I.woff2"
8767
8779
  },
8768
8780
  "/_nuxt/materialdesignicons-webfont.BpRar1d5.ttf": {
8769
8781
  "type": "font/ttf",
8770
8782
  "etag": "\"fa880-nkfshQEtwwStQS/6eMVMGW/xVqE\"",
8771
- "mtime": "2025-03-13T17:32:08.918Z",
8783
+ "mtime": "2025-03-14T06:29:47.095Z",
8772
8784
  "size": 1026176,
8773
8785
  "path": "../public/_nuxt/materialdesignicons-webfont.BpRar1d5.ttf"
8774
8786
  },
8775
8787
  "/_nuxt/materialdesignicons-webfont.Bvl3VxMs.woff": {
8776
8788
  "type": "font/woff",
8777
8789
  "etag": "\"71924-jzj1x+KrB1ZBtcEM3SXV+zN4+UU\"",
8778
- "mtime": "2025-03-13T17:32:08.919Z",
8790
+ "mtime": "2025-03-14T06:29:47.092Z",
8779
8791
  "size": 465188,
8780
8792
  "path": "../public/_nuxt/materialdesignicons-webfont.Bvl3VxMs.woff"
8781
8793
  },
8782
8794
  "/_nuxt/materialdesignicons-webfont.TEmAk13K.eot": {
8783
8795
  "type": "application/vnd.ms-fontobject",
8784
8796
  "etag": "\"fa95c-6ehgxBKVuQrh1OSTYvzSxNh2cco\"",
8785
- "mtime": "2025-03-13T17:32:08.922Z",
8797
+ "mtime": "2025-03-14T06:29:47.094Z",
8786
8798
  "size": 1026396,
8787
8799
  "path": "../public/_nuxt/materialdesignicons-webfont.TEmAk13K.eot"
8788
8800
  },
8789
8801
  "/_nuxt/builds/latest.json": {
8790
8802
  "type": "application/json",
8791
- "etag": "\"47-BcBaM8BGJFd+gRBI2Pi9uhPb/m0\"",
8792
- "mtime": "2025-03-13T17:32:08.905Z",
8803
+ "etag": "\"47-0U5RRQm9LtbpzUhVCJBWxJVVOIQ\"",
8804
+ "mtime": "2025-03-14T06:29:47.079Z",
8793
8805
  "size": 71,
8794
8806
  "path": "../public/_nuxt/builds/latest.json"
8795
8807
  },
8796
- "/_nuxt/builds/meta/0e1f52e0-0dea-41b4-9100-c81131a22382.json": {
8808
+ "/_nuxt/builds/meta/d91417e8-06de-47e1-965c-864ec93a4067.json": {
8797
8809
  "type": "application/json",
8798
- "etag": "\"8b-TYu0tmJfQn9vYoM520uDJjrUyT0\"",
8799
- "mtime": "2025-03-13T17:32:08.898Z",
8810
+ "etag": "\"8b-vZD+7scge1aM0sHWz0RX6jvccw4\"",
8811
+ "mtime": "2025-03-14T06:29:47.073Z",
8800
8812
  "size": 139,
8801
- "path": "../public/_nuxt/builds/meta/0e1f52e0-0dea-41b4-9100-c81131a22382.json"
8813
+ "path": "../public/_nuxt/builds/meta/d91417e8-06de-47e1-965c-864ec93a4067.json"
8802
8814
  }
8803
8815
  };
8804
8816
 
@@ -8996,11 +9008,13 @@ const _2qgXIb = eventHandler((event) => {
8996
9008
  });
8997
9009
 
8998
9010
  const _lazy_bsxhB8 = () => Promise.resolve().then(function () { return _trpc_$1; });
9011
+ const _lazy_tXqxrT = () => Promise.resolve().then(function () { return _id_$1; });
8999
9012
  const _lazy_BoCDYZ = () => Promise.resolve().then(function () { return renderer$1; });
9000
9013
 
9001
9014
  const handlers = [
9002
9015
  { route: '', handler: _2qgXIb, lazy: false, middleware: true, method: undefined },
9003
9016
  { route: '/api/:trpc', handler: _lazy_bsxhB8, lazy: true, middleware: false, method: undefined },
9017
+ { route: '/projects/:projectId/instances/:instanceId/terminalSessions/:id', handler: _lazy_tXqxrT, lazy: true, middleware: false, method: undefined },
9004
9018
  { route: '/__nuxt_error', handler: _lazy_BoCDYZ, lazy: true, middleware: false, method: undefined },
9005
9019
  { route: '/**', handler: _lazy_BoCDYZ, lazy: true, middleware: false, method: undefined }
9006
9020
  ];
@@ -10916,7 +10930,7 @@ function _expandFromEnv(value) {
10916
10930
  const _inlineRuntimeConfig = {
10917
10931
  "app": {
10918
10932
  "baseURL": "/",
10919
- "buildId": "0e1f52e0-0dea-41b4-9100-c81131a22382",
10933
+ "buildId": "d91417e8-06de-47e1-965c-864ec93a4067",
10920
10934
  "buildAssetsDir": "/_nuxt/",
10921
10935
  "cdnURL": ""
10922
10936
  },
@@ -10944,7 +10958,7 @@ const _inlineRuntimeConfig = {
10944
10958
  }
10945
10959
  },
10946
10960
  "public": {
10947
- "version": "0.5.2"
10961
+ "version": "0.5.4"
10948
10962
  }
10949
10963
  };
10950
10964
  const envOptions = {
@@ -12045,6 +12059,57 @@ const _trpc_$1 = /*#__PURE__*/Object.freeze({
12045
12059
  default: _trpc_
12046
12060
  });
12047
12061
 
12062
+ const _id_ = defineWebSocketHandler({
12063
+ open: async (peer) => {
12064
+ if (!peer.request) {
12065
+ throw new Error("Upgrade request not available");
12066
+ }
12067
+ const services = await getSharedServices();
12068
+ const abortController = new AbortController();
12069
+ const stdin = createInputStream(peer.websocket);
12070
+ const stdout = createOutputStream(peer.websocket);
12071
+ peer.websocket.onclose = () => {
12072
+ abortController.abort();
12073
+ stdin.end();
12074
+ };
12075
+ const parsedUrl = new URL(peer.request.url);
12076
+ const pathRegex = /^\/projects\/(?<projectId>[^/]+)\/instances\/(?<instanceId>[^/]+)\/terminalSessions\/(?<sessionId>[^/]+)\/?$/;
12077
+ const match = parsedUrl.pathname.match(pathRegex);
12078
+ if (!match) {
12079
+ throw new Error("Invalid path");
12080
+ }
12081
+ const { projectId, instanceId, sessionId } = match.groups;
12082
+ await services.terminalManager.attach(
12083
+ projectId,
12084
+ instanceId,
12085
+ sessionId,
12086
+ stdin,
12087
+ stdout,
12088
+ abortController.signal
12089
+ );
12090
+ }
12091
+ });
12092
+ function createInputStream(ws) {
12093
+ const stream = new PassThrough();
12094
+ ws.onmessage = (data) => {
12095
+ return stream.write(data.data);
12096
+ };
12097
+ return stream;
12098
+ }
12099
+ function createOutputStream(ws) {
12100
+ const stream = new PassThrough();
12101
+ stream.on("data", (data) => {
12102
+ ws.send(String(data).replace(/\n/g, "\r\n"));
12103
+ });
12104
+ stream.on("end", () => ws.close());
12105
+ return stream;
12106
+ }
12107
+
12108
+ const _id_$1 = /*#__PURE__*/Object.freeze({
12109
+ __proto__: null,
12110
+ default: _id_
12111
+ });
12112
+
12048
12113
  const Vue3 = version[0] === "3";
12049
12114
 
12050
12115
  function resolveUnref(r) {
@@ -12417,13 +12482,13 @@ const client_manifest = {
12417
12482
  "module": true,
12418
12483
  "prefetch": true,
12419
12484
  "preload": true,
12420
- "file": "BzpzT3Fy.js",
12485
+ "file": "DJMH00PF.js",
12421
12486
  "name": "error-404",
12422
12487
  "src": "../node_modules/nuxt/dist/app/components/error-404.vue",
12423
12488
  "isDynamicEntry": true,
12424
12489
  "imports": [
12425
12490
  "../node_modules/nuxt/dist/app/entry.js",
12426
- "_BfQlfp01.js"
12491
+ "_H2Dg9Wnt.js"
12427
12492
  ],
12428
12493
  "css": [
12429
12494
  "error-404.BJkSn6RI.css"
@@ -12440,13 +12505,13 @@ const client_manifest = {
12440
12505
  "module": true,
12441
12506
  "prefetch": true,
12442
12507
  "preload": true,
12443
- "file": "C97RHzKR.js",
12508
+ "file": "Dy9sUyql.js",
12444
12509
  "name": "error-500",
12445
12510
  "src": "../node_modules/nuxt/dist/app/components/error-500.vue",
12446
12511
  "isDynamicEntry": true,
12447
12512
  "imports": [
12448
12513
  "../node_modules/nuxt/dist/app/entry.js",
12449
- "_BfQlfp01.js"
12514
+ "_H2Dg9Wnt.js"
12450
12515
  ],
12451
12516
  "css": [
12452
12517
  "error-500.TOCKLquH.css"
@@ -12463,7 +12528,7 @@ const client_manifest = {
12463
12528
  "module": true,
12464
12529
  "prefetch": true,
12465
12530
  "preload": true,
12466
- "file": "7nTnYz4C.js",
12531
+ "file": "C5YDM6tc.js",
12467
12532
  "name": "entry",
12468
12533
  "src": "../node_modules/nuxt/dist/app/entry.js",
12469
12534
  "isEntry": true,
@@ -12472,7 +12537,7 @@ const client_manifest = {
12472
12537
  "../node_modules/nuxt/dist/app/components/error-500.vue"
12473
12538
  ],
12474
12539
  "css": [
12475
- "entry.BQ2abehu.css"
12540
+ "entry.C-EV0DlW.css"
12476
12541
  ],
12477
12542
  "assets": [
12478
12543
  "materialdesignicons-webfont.TEmAk13K.eot",
@@ -12481,8 +12546,8 @@ const client_manifest = {
12481
12546
  "materialdesignicons-webfont.BpRar1d5.ttf"
12482
12547
  ]
12483
12548
  },
12484
- "entry.BQ2abehu.css": {
12485
- "file": "entry.BQ2abehu.css",
12549
+ "entry.C-EV0DlW.css": {
12550
+ "file": "entry.C-EV0DlW.css",
12486
12551
  "resourceType": "style",
12487
12552
  "prefetch": true,
12488
12553
  "preload": true
@@ -12507,12 +12572,12 @@ const client_manifest = {
12507
12572
  "resourceType": "font",
12508
12573
  "mimeType": "font/ttf"
12509
12574
  },
12510
- "_BfQlfp01.js": {
12575
+ "_H2Dg9Wnt.js": {
12511
12576
  "resourceType": "script",
12512
12577
  "module": true,
12513
12578
  "prefetch": true,
12514
12579
  "preload": true,
12515
- "file": "BfQlfp01.js",
12580
+ "file": "H2Dg9Wnt.js",
12516
12581
  "name": "vue.-sixQ7xP",
12517
12582
  "imports": [
12518
12583
  "../node_modules/nuxt/dist/app/entry.js"
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../node_modules/uncrypto/dist/crypto.node.mjs","../../../node_modules/crossws/dist/shared/crossws.BS81iGZK.mjs","../../../node_modules/crossws/dist/shared/crossws.D9ehKjSh.mjs","../../../node_modules/crossws/dist/shared/crossws.By9qWDAI.mjs","../../../node_modules/crossws/dist/shared/crossws.DelSCW9g.mjs","../../../node_modules/crossws/dist/adapters/node.mjs","../../../node_modules/destr/dist/index.mjs","../../../node_modules/ufo/dist/index.mjs","../../../node_modules/radix3/dist/index.mjs","../../../node_modules/defu/dist/defu.mjs","../../../node_modules/h3/dist/index.mjs","../../../node_modules/hookable/dist/index.mjs","../../../node_modules/node-fetch-native/dist/native.mjs","../../../node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs","../../../node_modules/ofetch/dist/node.mjs","../../../node_modules/unenv/runtime/_internal/utils.mjs","../../../node_modules/unenv/runtime/node/events/_events.mjs","../../../node_modules/unenv/runtime/node/events/index.mjs","../../../node_modules/unenv/runtime/node/stream/readable.mjs","../../../node_modules/unenv/runtime/node/stream/writable.mjs","../../../node_modules/unenv/runtime/node/stream/duplex.mjs","../../../node_modules/unenv/runtime/node/net/socket.mjs","../../../node_modules/unenv/runtime/node/http/_request.mjs","../../../node_modules/unenv/runtime/node/http/_response.mjs","../../../node_modules/unenv/runtime/fetch/call.mjs","../../../node_modules/unenv/runtime/fetch/index.mjs","../../../node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../node_modules/nuxt/dist/core/runtime/nitro/error.js","../../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs","../../../node_modules/nitropack/dist/runtime/internal/static.mjs","../../../node_modules/ohash/dist/index.mjs","../../../node_modules/unstorage/dist/shared/unstorage.mNKHTF5Y.mjs","../../../node_modules/unstorage/dist/index.mjs","../../../node_modules/unstorage/drivers/utils/index.mjs","../../../node_modules/unstorage/drivers/utils/node-fs.mjs","../../../node_modules/unstorage/drivers/fs-lite.mjs","../../../node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../node_modules/klona/dist/index.mjs","../../../node_modules/scule/dist/index.mjs","../../../node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../node_modules/nitropack/dist/runtime/internal/config.mjs","../../../node_modules/unctx/dist/index.mjs","../../../node_modules/nitropack/dist/runtime/internal/context.mjs","../../../node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../node_modules/nitropack/dist/runtime/internal/app.mjs","../../../node_modules/nitropack/dist/runtime/internal/renderer.mjs","../../../node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../node_modules/nitropack/dist/presets/node/runtime/node-server.mjs","../../../node_modules/nuxt/dist/core/runtime/nitro/error-500.js","../../../node_modules/trpc-nuxt/dist/index.js","../../server/trpc.ts","../../server/routers/state.ts","../../server/routers/secret.ts","../../server/routers/project.ts","../../server/routers/library.ts","../../server/routers/workspace.ts","../../server/routers/terminal.ts","../../server/routers/operation.ts","../../server/routers/logs.ts","../../server/router.ts","../../server/api/[trpc].ts","../../../node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.mjs","../../../node_modules/nuxt/dist/core/runtime/nitro/paths.js","../../../node_modules/nuxt/dist/core/runtime/nitro/renderer.js","../../.nuxt/dist/server/client.manifest.mjs"],"sourcesContent":null,"names":["isPlainObject","getQuery","createRouter","createError","mergeHeaders","nullBodyResponses","createFetch","nodeFetch","Headers","Headers$1","AbortController$1","EventEmitter","_EventEmitter","normalizeKey","defineDriver","DRIVER_NAME","dirname","fsPromises","resolve","fsp","_inlineAppConfig","createRadixRouter","nitroApp","createLocalFetch","gracefulShutdown","HttpsServer","HttpServer","wsAdapter","template","stringify"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,63,64,65]}
1
+ {"version":3,"file":"index.mjs","sources":["../../../node_modules/uncrypto/dist/crypto.node.mjs","../../../node_modules/crossws/dist/shared/crossws.BS81iGZK.mjs","../../../node_modules/crossws/dist/shared/crossws.D9ehKjSh.mjs","../../../node_modules/crossws/dist/shared/crossws.By9qWDAI.mjs","../../../node_modules/crossws/dist/shared/crossws.DelSCW9g.mjs","../../../node_modules/crossws/dist/adapters/node.mjs","../../../node_modules/destr/dist/index.mjs","../../../node_modules/ufo/dist/index.mjs","../../../node_modules/radix3/dist/index.mjs","../../../node_modules/defu/dist/defu.mjs","../../../node_modules/h3/dist/index.mjs","../../../node_modules/hookable/dist/index.mjs","../../../node_modules/node-fetch-native/dist/native.mjs","../../../node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs","../../../node_modules/ofetch/dist/node.mjs","../../../node_modules/unenv/runtime/_internal/utils.mjs","../../../node_modules/unenv/runtime/node/events/_events.mjs","../../../node_modules/unenv/runtime/node/events/index.mjs","../../../node_modules/unenv/runtime/node/stream/readable.mjs","../../../node_modules/unenv/runtime/node/stream/writable.mjs","../../../node_modules/unenv/runtime/node/stream/duplex.mjs","../../../node_modules/unenv/runtime/node/net/socket.mjs","../../../node_modules/unenv/runtime/node/http/_request.mjs","../../../node_modules/unenv/runtime/node/http/_response.mjs","../../../node_modules/unenv/runtime/fetch/call.mjs","../../../node_modules/unenv/runtime/fetch/index.mjs","../../../node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../node_modules/nuxt/dist/core/runtime/nitro/error.js","../../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs","../../../node_modules/nitropack/dist/runtime/internal/static.mjs","../../../node_modules/ohash/dist/index.mjs","../../../node_modules/unstorage/dist/shared/unstorage.mNKHTF5Y.mjs","../../../node_modules/unstorage/dist/index.mjs","../../../node_modules/unstorage/drivers/utils/index.mjs","../../../node_modules/unstorage/drivers/utils/node-fs.mjs","../../../node_modules/unstorage/drivers/fs-lite.mjs","../../../node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../node_modules/klona/dist/index.mjs","../../../node_modules/scule/dist/index.mjs","../../../node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../node_modules/nitropack/dist/runtime/internal/config.mjs","../../../node_modules/unctx/dist/index.mjs","../../../node_modules/nitropack/dist/runtime/internal/context.mjs","../../../node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../node_modules/nitropack/dist/runtime/internal/app.mjs","../../../node_modules/nitropack/dist/runtime/internal/renderer.mjs","../../../node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../node_modules/nitropack/dist/presets/node/runtime/node-server.mjs","../../../node_modules/nuxt/dist/core/runtime/nitro/error-500.js","../../../node_modules/trpc-nuxt/dist/index.js","../../server/trpc.ts","../../server/routers/state.ts","../../server/routers/secret.ts","../../server/routers/project.ts","../../server/routers/library.ts","../../server/routers/workspace.ts","../../server/routers/terminal.ts","../../server/routers/operation.ts","../../server/routers/logs.ts","../../server/router.ts","../../server/api/[trpc].ts","../../server/routes/projects/[projectId]/instances/[instanceId]/terminalSessions/[id].ts","../../../node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.mjs","../../../node_modules/nuxt/dist/core/runtime/nitro/paths.js","../../../node_modules/nuxt/dist/core/runtime/nitro/renderer.js","../../.nuxt/dist/server/client.manifest.mjs"],"sourcesContent":null,"names":["isPlainObject","getQuery","createRouter","createError","mergeHeaders","nullBodyResponses","createFetch","nodeFetch","Headers","Headers$1","AbortController","AbortController$1","EventEmitter","_EventEmitter","normalizeKey","defineDriver","DRIVER_NAME","dirname","fsPromises","resolve","fsp","_inlineAppConfig","createRadixRouter","nitroApp","createLocalFetch","gracefulShutdown","HttpsServer","HttpServer","wsAdapter","template","stringify"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,64,65,66]}
@@ -1 +1 @@
1
- {"name":"@highstate/designer-prod","version":"0.5.2","type":"module","private":true,"dependencies":{"@babel/parser":"7.26.9","@trpc/server":"11.0.0-rc.808+4df1eb8fa","@unhead/dom":"1.11.19","@unhead/shared":"1.11.19","@unhead/ssr":"1.11.19","@vue/compiler-core":"3.5.13","@vue/compiler-dom":"3.5.13","@vue/compiler-ssr":"3.5.13","@vue/reactivity":"3.5.13","@vue/runtime-core":"3.5.13","@vue/runtime-dom":"3.5.13","@vue/server-renderer":"3.5.13","@vue/shared":"3.5.13","devalue":"5.1.1","entities":"4.5.0","estree-walker":"2.0.2","hookable":"5.5.3","node-mock-http":"1.0.0","packrup":"0.1.2","source-map-js":"1.2.1","ufo":"1.5.4","unhead":"1.11.19","vue":"3.5.13","vue-bundle-renderer":"2.1.1","zod":"3.24.2"}}
1
+ {"name":"@highstate/designer-prod","version":"0.5.4","type":"module","private":true,"dependencies":{"@babel/parser":"7.26.9","@trpc/server":"11.0.0-rc.808+4df1eb8fa","@unhead/dom":"1.11.19","@unhead/shared":"1.11.19","@unhead/ssr":"1.11.19","@vue/compiler-core":"3.5.13","@vue/compiler-dom":"3.5.13","@vue/compiler-ssr":"3.5.13","@vue/reactivity":"3.5.13","@vue/runtime-core":"3.5.13","@vue/runtime-dom":"3.5.13","@vue/server-renderer":"3.5.13","@vue/shared":"3.5.13","devalue":"5.1.1","entities":"4.5.0","estree-walker":"2.0.2","hookable":"5.5.3","node-mock-http":"1.0.0","packrup":"0.1.2","source-map-js":"1.2.1","ufo":"1.5.4","unhead":"1.11.19","vue":"3.5.13","vue-bundle-renderer":"2.1.1","zod":"3.24.2"}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@highstate/designer",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
@@ -19,8 +19,8 @@
19
19
  "@codemirror/lang-json": "^6.0.1",
20
20
  "@codemirror/theme-one-dark": "^6.1.2",
21
21
  "@dagrejs/dagre": "^1.1.4",
22
- "@highstate/backend": "^0.5.3",
23
- "@highstate/contract": "^0.5.3",
22
+ "@highstate/backend": "^0.5.5",
23
+ "@highstate/contract": "^0.5.5",
24
24
  "@iconify/vue": "^4.1.2",
25
25
  "@mdi/font": "5",
26
26
  "@nuxt/eslint": "0.7.2",
@@ -68,5 +68,5 @@
68
68
  "@highstate/backend": "^0.4.5",
69
69
  "@highstate/contract": "^0.4.5"
70
70
  },
71
- "gitHead": "e6ff8cbad1d33641d6871ca159e1589db6844203"
71
+ "gitHead": "daed8a1121d6dc0af8ed92261962356dad2325aa"
72
72
  }
@@ -1 +0,0 @@
1
- {"id":"0e1f52e0-0dea-41b4-9100-c81131a22382","timestamp":1741887096969,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}