@specific.dev/cli 0.1.77 → 0.1.79

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 (68) hide show
  1. package/dist/admin/404/index.html +1 -1
  2. package/dist/admin/404.html +1 -1
  3. package/dist/admin/__next.!KGRlZmF1bHQp.__PAGE__.txt +1 -1
  4. package/dist/admin/__next.!KGRlZmF1bHQp.txt +1 -1
  5. package/dist/admin/__next._full.txt +1 -1
  6. package/dist/admin/__next._head.txt +1 -1
  7. package/dist/admin/__next._index.txt +1 -1
  8. package/dist/admin/__next._tree.txt +1 -1
  9. package/dist/admin/_not-found/__next._full.txt +1 -1
  10. package/dist/admin/_not-found/__next._head.txt +1 -1
  11. package/dist/admin/_not-found/__next._index.txt +1 -1
  12. package/dist/admin/_not-found/__next._not-found.__PAGE__.txt +1 -1
  13. package/dist/admin/_not-found/__next._not-found.txt +1 -1
  14. package/dist/admin/_not-found/__next._tree.txt +1 -1
  15. package/dist/admin/_not-found/index.html +1 -1
  16. package/dist/admin/_not-found/index.txt +1 -1
  17. package/dist/admin/databases/__next.!KGRlZmF1bHQp.databases.__PAGE__.txt +1 -1
  18. package/dist/admin/databases/__next.!KGRlZmF1bHQp.databases.txt +1 -1
  19. package/dist/admin/databases/__next.!KGRlZmF1bHQp.txt +1 -1
  20. package/dist/admin/databases/__next._full.txt +1 -1
  21. package/dist/admin/databases/__next._head.txt +1 -1
  22. package/dist/admin/databases/__next._index.txt +1 -1
  23. package/dist/admin/databases/__next._tree.txt +1 -1
  24. package/dist/admin/databases/index.html +1 -1
  25. package/dist/admin/databases/index.txt +1 -1
  26. package/dist/admin/fullscreen/__next._full.txt +1 -1
  27. package/dist/admin/fullscreen/__next._head.txt +1 -1
  28. package/dist/admin/fullscreen/__next._index.txt +1 -1
  29. package/dist/admin/fullscreen/__next._tree.txt +1 -1
  30. package/dist/admin/fullscreen/__next.fullscreen.__PAGE__.txt +1 -1
  31. package/dist/admin/fullscreen/__next.fullscreen.txt +1 -1
  32. package/dist/admin/fullscreen/databases/__next._full.txt +1 -1
  33. package/dist/admin/fullscreen/databases/__next._head.txt +1 -1
  34. package/dist/admin/fullscreen/databases/__next._index.txt +1 -1
  35. package/dist/admin/fullscreen/databases/__next._tree.txt +1 -1
  36. package/dist/admin/fullscreen/databases/__next.fullscreen.databases.__PAGE__.txt +1 -1
  37. package/dist/admin/fullscreen/databases/__next.fullscreen.databases.txt +1 -1
  38. package/dist/admin/fullscreen/databases/__next.fullscreen.txt +1 -1
  39. package/dist/admin/fullscreen/databases/index.html +1 -1
  40. package/dist/admin/fullscreen/databases/index.txt +1 -1
  41. package/dist/admin/fullscreen/index.html +1 -1
  42. package/dist/admin/fullscreen/index.txt +1 -1
  43. package/dist/admin/index.html +1 -1
  44. package/dist/admin/index.txt +1 -1
  45. package/dist/admin/mail/__next.!KGRlZmF1bHQp.mail.__PAGE__.txt +1 -1
  46. package/dist/admin/mail/__next.!KGRlZmF1bHQp.mail.txt +1 -1
  47. package/dist/admin/mail/__next.!KGRlZmF1bHQp.txt +1 -1
  48. package/dist/admin/mail/__next._full.txt +1 -1
  49. package/dist/admin/mail/__next._head.txt +1 -1
  50. package/dist/admin/mail/__next._index.txt +1 -1
  51. package/dist/admin/mail/__next._tree.txt +1 -1
  52. package/dist/admin/mail/index.html +1 -1
  53. package/dist/admin/mail/index.txt +1 -1
  54. package/dist/admin/workflows/__next.!KGRlZmF1bHQp.txt +1 -1
  55. package/dist/admin/workflows/__next.!KGRlZmF1bHQp.workflows.__PAGE__.txt +1 -1
  56. package/dist/admin/workflows/__next.!KGRlZmF1bHQp.workflows.txt +1 -1
  57. package/dist/admin/workflows/__next._full.txt +1 -1
  58. package/dist/admin/workflows/__next._head.txt +1 -1
  59. package/dist/admin/workflows/__next._index.txt +1 -1
  60. package/dist/admin/workflows/__next._tree.txt +1 -1
  61. package/dist/admin/workflows/index.html +1 -1
  62. package/dist/admin/workflows/index.txt +1 -1
  63. package/dist/cli.js +25 -10
  64. package/dist/postinstall.js +1 -1
  65. package/package.json +1 -1
  66. /package/dist/admin/_next/static/{P2MjAcNNtToSRrG27euV4 → sPuO0UNo-X--7q1B5XCVj}/_buildManifest.js +0 -0
  67. /package/dist/admin/_next/static/{P2MjAcNNtToSRrG27euV4 → sPuO0UNo-X--7q1B5XCVj}/_clientMiddlewareManifest.json +0 -0
  68. /package/dist/admin/_next/static/{P2MjAcNNtToSRrG27euV4 → sPuO0UNo-X--7q1B5XCVj}/_ssgManifest.js +0 -0
package/dist/cli.js CHANGED
@@ -184593,7 +184593,7 @@ function trackEvent(event, properties) {
184593
184593
  event,
184594
184594
  properties: {
184595
184595
  ...properties,
184596
- cli_version: "0.1.77",
184596
+ cli_version: "0.1.79",
184597
184597
  platform: process.platform,
184598
184598
  node_version: process.version,
184599
184599
  project_id: getProjectId()
@@ -186196,7 +186196,7 @@ var redisBinary = {
186196
186196
  // src/lib/bin/definitions/electric.ts
186197
186197
  var electricBinary = {
186198
186198
  name: "electric",
186199
- versions: ["1.2.11"],
186199
+ versions: ["1.4.13"],
186200
186200
  // URL: binaries.specific.dev/{SOFTWARE}/{VERSION}/{ARCH}.tar.gz
186201
186201
  urlTemplate: "https://binaries.specific.dev/electric/{version}/{arch}.tar.gz",
186202
186202
  platformMapping: {
@@ -189332,7 +189332,7 @@ async function startHttpProxy(services, certificate, getState, instanceKey = "de
189332
189332
  };
189333
189333
  const httpServer = http.createServer(handleRequest);
189334
189334
  httpServer.on("upgrade", handleUpgrade);
189335
- const httpsServer = https.createServer(
189335
+ let httpsServer = https.createServer(
189336
189336
  {
189337
189337
  key: defaultKey,
189338
189338
  cert: defaultCert
@@ -189340,6 +189340,11 @@ async function startHttpProxy(services, certificate, getState, instanceKey = "de
189340
189340
  handleRequest
189341
189341
  );
189342
189342
  httpsServer.on("upgrade", handleUpgrade);
189343
+ const createHttpsServer = (key, cert) => {
189344
+ const server = https.createServer({ key, cert }, handleRequest);
189345
+ server.on("upgrade", handleUpgrade);
189346
+ return server;
189347
+ };
189343
189348
  return new Promise((resolve9, reject) => {
189344
189349
  let httpStarted = false;
189345
189350
  let httpsStarted = false;
@@ -189356,11 +189361,21 @@ async function startHttpProxy(services, certificate, getState, instanceKey = "de
189356
189361
  httpsPort: HTTPS_PORT,
189357
189362
  updateServices,
189358
189363
  updateCertificate(newCert) {
189359
- httpsServer.setSecureContext({
189360
- key: newCert.key,
189361
- cert: newCert.cert
189362
- });
189363
- writeLog("proxy", "Certificate updated");
189364
+ if (typeof httpsServer.setSecureContext === "function") {
189365
+ httpsServer.setSecureContext({
189366
+ key: newCert.key,
189367
+ cert: newCert.cert
189368
+ });
189369
+ writeLog("proxy", "Certificate updated");
189370
+ } else {
189371
+ const oldServer = httpsServer;
189372
+ httpsServer = createHttpsServer(newCert.key, newCert.cert);
189373
+ httpsServer.listen(HTTPS_PORT, "0.0.0.0", () => {
189374
+ writeLog("proxy", "Certificate updated (server restarted)");
189375
+ });
189376
+ oldServer.closeAllConnections?.();
189377
+ oldServer.close();
189378
+ }
189364
189379
  },
189365
189380
  async stop() {
189366
189381
  return new Promise((resolve10) => {
@@ -194517,7 +194532,7 @@ function compareVersions(a, b) {
194517
194532
  return 0;
194518
194533
  }
194519
194534
  async function checkForUpdate() {
194520
- const currentVersion = "0.1.77";
194535
+ const currentVersion = "0.1.79";
194521
194536
  const response = await fetch(`${BINARIES_BASE_URL}/latest?t=${Date.now()}`);
194522
194537
  if (!response.ok) {
194523
194538
  throw new Error(`Failed to check for updates: HTTP ${response.status}`);
@@ -194716,7 +194731,7 @@ function updateCommand() {
194716
194731
  var program = new Command();
194717
194732
  var env = "production";
194718
194733
  var envLabel = env !== "production" ? `[${env.toUpperCase()}] ` : "";
194719
- program.name("specific").description(`${envLabel}Infrastructure-as-code for coding agents`).version("0.1.77").enablePositionalOptions();
194734
+ program.name("specific").description(`${envLabel}Infrastructure-as-code for coding agents`).version("0.1.79").enablePositionalOptions();
194720
194735
  program.command("init").description("Initialize project for use with a coding agent").option("--agent <name...>", "Agents to configure (cursor, claude, codex, other)").action((options2) => initCommand(options2));
194721
194736
  program.command("docs [topic]").description("Fetch LLM-optimized documentation").action(docsCommand);
194722
194737
  program.command("check").description("Validate specific.hcl configuration").action(checkCommand);
@@ -126,7 +126,7 @@ function trackEvent(event, properties) {
126
126
  event,
127
127
  properties: {
128
128
  ...properties,
129
- cli_version: "0.1.77",
129
+ cli_version: "0.1.79",
130
130
  platform: process.platform,
131
131
  node_version: process.version,
132
132
  project_id: getProjectId()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@specific.dev/cli",
3
- "version": "0.1.77",
3
+ "version": "0.1.79",
4
4
  "description": "CLI for Specific infrastructure-as-code",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",