Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .zdp/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"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",
"renderer": "dist/renderer.js"
},
"engines": {
"host": ">=0.3.5 <1",
"zcode": ">=3.3.6"
"zcode": ">=3.3.6 <3.5.2"
},
"capabilities": [
"zcode.workspaces.read",
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
1 change: 1 addition & 0 deletions tests/release.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down