glass-connect 0.1.1 → 0.2.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.
Files changed (2) hide show
  1. package/dist/cli.js +10 -5
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -21397,9 +21397,11 @@ Waiting for approval\u2026
21397
21397
  // ../../config/glass-cloud.json
21398
21398
  var glass_cloud_default = {
21399
21399
  origins: {
21400
- development: "https://glasscloud-api-dev-iqwgnfdineqiceki.naaiyyyy.workers.dev",
21401
21400
  production: "https://glasscloud-api-prod-lcuxsmngpdigrgum.naaiyyyy.workers.dev",
21402
21401
  staging: "https://glasscloud-api-staging-rmhiqpuua7m4g6a3.naaiyyyy.workers.dev"
21402
+ },
21403
+ services: {
21404
+ stagingTunnelControl: "glasscloud-tunnelcontrol-staging-uyzu7wweagwmmwd2"
21403
21405
  }
21404
21406
  };
21405
21407
 
@@ -21408,10 +21410,13 @@ import { chmod as chmod5 } from "node:fs/promises";
21408
21410
  import { createRequire as createRequire2 } from "node:module";
21409
21411
  import { arch, homedir as homedir2, platform as platform2 } from "node:os";
21410
21412
  import { dirname as dirname5, join as join7 } from "node:path";
21411
- var alphaStateRoot = join7(homedir2(), ".glass", "development");
21412
- process.env.GLASS_CLOUD_ORIGIN ??= glass_cloud_default.origins.development;
21413
- process.env.GLASS_NODE_IDENTITY_PATH ??= join7(alphaStateRoot, "execution-node.json");
21414
- process.env.GLASS_EXECUTION_WORKSPACES_PATH ??= join7(alphaStateRoot, "execution-workspaces.json");
21413
+ var productionStateRoot = join7(homedir2(), ".glass", "production");
21414
+ process.env.GLASS_CLOUD_ORIGIN ??= glass_cloud_default.origins.production;
21415
+ process.env.GLASS_NODE_IDENTITY_PATH ??= join7(productionStateRoot, "execution-node.json");
21416
+ process.env.GLASS_EXECUTION_WORKSPACES_PATH ??= join7(
21417
+ productionStateRoot,
21418
+ "execution-workspaces.json"
21419
+ );
21415
21420
  if (platform2() !== "win32") {
21416
21421
  const require3 = createRequire2(import.meta.url);
21417
21422
  const nodePtyRoot = dirname5(require3.resolve("node-pty/package.json"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glass-connect",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Publish a computer to Glass with one command.",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {