diff --git a/.zdp/plugin.json b/.zdp/plugin.json index f5404be..70ecc02 100644 --- a/.zdp/plugin.json +++ b/.zdp/plugin.json @@ -2,7 +2,7 @@ "apiVersion": 1, "id": "scheduler", "name": "Scheduler", - "version": "0.1.6", + "version": "0.1.7", "description": "Create normal ZCode tasks from timezone-aware cron schedules while ZCode is open.", "entrypoints": { "main": "dist/main.cjs", @@ -10,7 +10,7 @@ }, "engines": { "host": ">=0.3.5 <1", - "zcode": ">=3.3.6" + "zcode": ">=3.3.6 <3.5.2" }, "capabilities": [ "zcode.workspaces.read", diff --git a/README.md b/README.md index c5d511d..7142ba8 100644 --- a/README.md +++ b/README.md @@ -2,19 +2,22 @@ Scheduler is an extension for [ZCode Desktop Extensions](https://github.com/notmike101/zcode-extensions). It creates timezone-aware recurring ZCode tasks while the desktop app is open. +> [!IMPORTANT] +> Scheduler is retired on ZCode 3.5.2 and newer because ZCode now provides native automation and scheduling. The extension remains available only for older compatible ZCode releases. + Scheduled runs are ordinary persistent ZCode tasks. They appear immediately in the normal sidebar as `⏰ Job name`, can be opened while they run, remain available after completion, and archive like any other task. ## Requirements - ZCode Desktop Extensions 0.2.0 or newer -- ZCode 3.3.6 or newer +- ZCode 3.3.6 through 3.5.1 - Windows ## Install Open **Extensions → Available** in ZCode and install Scheduler. The host verifies the release archive checksum before staging it. New installs and updates take effect on the next ZCode launch. -Manual installation is also supported: download `zcode-scheduler-v0.1.6.zip` from the [latest release](https://github.com/notmike101/zcode-scheduler/releases/latest), extract the `scheduler` folder, and select it from **Extensions → Installed → Install folder**. Scheduler 0.1.6 requires host 0.3.5 or newer. +On compatible ZCode versions, manual installation is also supported: download `zcode-scheduler-v0.1.7.zip` from the [latest release](https://github.com/notmike101/zcode-scheduler/releases/latest), extract the `scheduler` folder, and select it from **Extensions → Installed → Install folder**. Scheduler 0.1.7 requires host 0.3.5 or newer. ## Scheduling behavior @@ -30,7 +33,7 @@ Manual installation is also supported: download `zcode-scheduler-v0.1.6.zip` fro ```powershell bun install bun run check -bun run release:package -- --tag v0.1.6 +bun run release:package -- --tag v0.1.7 ``` The release command writes a ZIP, its SHA-256 checksum, and `extension-update.json` to `dist/release`. diff --git a/package.json b/package.json index 638941b..a38fd79 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zcode-scheduler", - "version": "0.1.6", + "version": "0.1.7", "description": "Schedule normal, visible ZCode tasks with timezone-aware cron expressions.", "private": true, "license": "MIT", diff --git a/tests/release.test.ts b/tests/release.test.ts index bc5b08f..c5fc7c2 100644 --- a/tests/release.test.ts +++ b/tests/release.test.ts @@ -26,6 +26,7 @@ describe("release metadata", () => { test("uses explicit capabilities and only the vNext renderer lifecycle", () => { const manifest = JSON.parse(readFileSync(path.join(import.meta.dir, "..", ".zdp", "plugin.json"), "utf8")); expect(manifest.engines.host).toBe(">=0.3.5 <1"); + expect(manifest.engines.zcode).toBe(">=3.3.6 <3.5.2"); expect(manifest.capabilities).toEqual([ "zcode.workspaces.read", "zcode.tasks.run",