From 9d5ad859c2b32e6acd9d6204444bbb1536d41c73 Mon Sep 17 00:00:00 2001 From: Nitin Goyal Date: Sun, 8 Feb 2026 01:52:59 +0530 Subject: [PATCH 1/5] resolve Required error in machine create command --- commands/machine/schemas.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/commands/machine/schemas.ts b/commands/machine/schemas.ts index 12ef40c..a498e4a 100644 --- a/commands/machine/schemas.ts +++ b/commands/machine/schemas.ts @@ -5,8 +5,10 @@ export const MachineAutoSnapshotFrequencySchema = z.enum([ "daily", "weekly", "monthly", -]); +]).optional(); -export const MachineRestorePointFrequencySchema = z.enum(["shutdown"]); +export const MachineRestorePointFrequencySchema = z.enum(["shutdown"]) + .optional(); -export const MachinePublicIpTypeSchema = z.enum(["static", "dynamic", "none"]); +export const MachinePublicIpTypeSchema = z.enum(["static", "dynamic", "none"]) + .optional(); From fb948a6d1a814a41ed5641f81bfb3e4f4f49e27b Mon Sep 17 00:00:00 2001 From: Nitin Goyal Date: Sun, 8 Feb 2026 02:04:54 +0530 Subject: [PATCH 2/5] build error fix --- .github/workflows/pull-request.yml | 6 ++++++ .github/workflows/release.yml | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 693d796..6127289 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -33,5 +33,11 @@ jobs: - name: Test run: deno task test + - name: Prepare temp directory + if: runner.os != 'Windows' + run: mkdir -p /tmp + - name: Build run: deno task compile + env: + TMPDIR: ${{ runner.temp }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62ee1a3..782104a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,8 +32,13 @@ jobs: run: | npm init -y npm i semantic-release @google/semantic-release-replace-plugin @semantic-release/exec + + - name: Prepare temp directory + if: runner.os != 'Windows' + run: mkdir -p /tmp - name: Release run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TMPDIR: ${{ runner.temp }} From 411aa97b7cfe1a804b565f3b66f67e7259080b97 Mon Sep 17 00:00:00 2001 From: Nitin Goyal Date: Sun, 8 Feb 2026 02:09:29 +0530 Subject: [PATCH 3/5] build error fix --- deno.jsonc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deno.jsonc b/deno.jsonc index 630cf19..902d468 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -13,11 +13,11 @@ /** * Compile the CLI for all supported platforms. */ - "compile": "deno task compile:macos && deno task compile:macos-arm && deno task compile:linux && deno task compile:windows", - "compile:macos": "deno compile --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-apple-darwin --output bin/macos/pspace mod.ts", - "compile:macos-arm": "deno compile --allow-env --allow-run --allow-read --allow-write --allow-net --target aarch64-apple-darwin --output bin/macos-arm/pspace mod.ts", - "compile:linux": "deno compile --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-unknown-linux-gnu --output bin/linux/pspace mod.ts", - "compile:windows": "deno compile --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-pc-windows-msvc --output bin/windows/pspace mod.ts", + "compile": "mkdir -p bin/macos bin/macos-arm bin/linux bin/windows && deno task compile:macos && deno task compile:macos-arm && deno task compile:linux && deno task compile:windows", + "compile:macos": "deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-apple-darwin --output bin/macos/pspace mod.ts", + "compile:macos-arm": "deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target aarch64-apple-darwin --output bin/macos-arm/pspace mod.ts", + "compile:linux": "deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-unknown-linux-gnu --output bin/linux/pspace mod.ts", + "compile:windows": "deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-pc-windows-msvc --output bin/windows/pspace mod.ts", /** * Generate the CLI documentation. */ From 80577e6b520a0b63b0a850a4bc316e74b60fd243 Mon Sep 17 00:00:00 2001 From: Nitin Goyal Date: Sun, 8 Feb 2026 02:28:02 +0530 Subject: [PATCH 4/5] build error fix --- .github/workflows/pull-request.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 6127289..0d9d1d3 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -33,11 +33,12 @@ jobs: - name: Test run: deno task test - - name: Prepare temp directory - if: runner.os != 'Windows' - run: mkdir -p /tmp - - name: Build - run: deno task compile + run: | + mkdir -p bin/macos bin/macos-arm bin/linux bin/windows + deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-apple-darwin --output bin/macos/pspace mod.ts + deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target aarch64-apple-darwin --output bin/macos-arm/pspace mod.ts + deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-unknown-linux-gnu --output bin/linux/pspace mod.ts + deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-pc-windows-msvc --output bin/windows/pspace mod.ts env: TMPDIR: ${{ runner.temp }} From 7eceee08514ac8825cea427a89ca86eea732eff3 Mon Sep 17 00:00:00 2001 From: Nitin Goyal Date: Sun, 8 Feb 2026 02:32:43 +0530 Subject: [PATCH 5/5] build error fix --- .github/workflows/pull-request.yml | 14 +++++--------- .github/workflows/release.yml | 7 +------ deno.jsonc | 10 +++++----- 3 files changed, 11 insertions(+), 20 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 0d9d1d3..7f4e4b6 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Deno uses: denoland/setup-deno@v1 with: - deno-version: 1.x.x + deno-version: 1.38.5 - name: Check types run: deno check mod.ts @@ -33,12 +33,8 @@ jobs: - name: Test run: deno task test + - name: Ensure output directories exist + run: mkdir -p bin/macos bin/macos-arm bin/linux bin/windows + - name: Build - run: | - mkdir -p bin/macos bin/macos-arm bin/linux bin/windows - deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-apple-darwin --output bin/macos/pspace mod.ts - deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target aarch64-apple-darwin --output bin/macos-arm/pspace mod.ts - deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-unknown-linux-gnu --output bin/linux/pspace mod.ts - deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-pc-windows-msvc --output bin/windows/pspace mod.ts - env: - TMPDIR: ${{ runner.temp }} + run: deno task compile diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 782104a..b76425a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,19 +26,14 @@ jobs: - name: Setup Deno uses: denoland/setup-deno@v1 with: - deno-version: 1.x.x + deno-version: 1.38.5 - name: Install semantic release run: | npm init -y npm i semantic-release @google/semantic-release-replace-plugin @semantic-release/exec - - - name: Prepare temp directory - if: runner.os != 'Windows' - run: mkdir -p /tmp - name: Release run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TMPDIR: ${{ runner.temp }} diff --git a/deno.jsonc b/deno.jsonc index 902d468..630cf19 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -13,11 +13,11 @@ /** * Compile the CLI for all supported platforms. */ - "compile": "mkdir -p bin/macos bin/macos-arm bin/linux bin/windows && deno task compile:macos && deno task compile:macos-arm && deno task compile:linux && deno task compile:windows", - "compile:macos": "deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-apple-darwin --output bin/macos/pspace mod.ts", - "compile:macos-arm": "deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target aarch64-apple-darwin --output bin/macos-arm/pspace mod.ts", - "compile:linux": "deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-unknown-linux-gnu --output bin/linux/pspace mod.ts", - "compile:windows": "deno compile --no-check --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-pc-windows-msvc --output bin/windows/pspace mod.ts", + "compile": "deno task compile:macos && deno task compile:macos-arm && deno task compile:linux && deno task compile:windows", + "compile:macos": "deno compile --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-apple-darwin --output bin/macos/pspace mod.ts", + "compile:macos-arm": "deno compile --allow-env --allow-run --allow-read --allow-write --allow-net --target aarch64-apple-darwin --output bin/macos-arm/pspace mod.ts", + "compile:linux": "deno compile --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-unknown-linux-gnu --output bin/linux/pspace mod.ts", + "compile:windows": "deno compile --allow-env --allow-run --allow-read --allow-write --allow-net --target x86_64-pc-windows-msvc --output bin/windows/pspace mod.ts", /** * Generate the CLI documentation. */