opencode-supertask 0.1.9 → 0.1.11

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-supertask",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "AI Agent 任务调度系统 — OpenCode 插件 + CLI + Gateway 常驻进程",
5
5
  "type": "module",
6
6
  "main": "dist/plugin/supertask.js",
@@ -1,30 +0,0 @@
1
- PRAGMA foreign_keys=OFF;--> statement-breakpoint
2
- CREATE TABLE `__new_task_templates` (
3
- `id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
4
- `name` text NOT NULL,
5
- `agent` text NOT NULL,
6
- `model` text DEFAULT 'default',
7
- `prompt` text NOT NULL,
8
- `cwd` text,
9
- `category` text DEFAULT 'general',
10
- `importance` integer DEFAULT 3,
11
- `urgency` integer DEFAULT 3,
12
- `schedule_type` text NOT NULL,
13
- `cron_expr` text,
14
- `interval_ms` integer,
15
- `run_at` integer,
16
- `max_instances` integer DEFAULT 1,
17
- `max_retries` integer DEFAULT 3,
18
- `retry_backoff_ms` integer DEFAULT 30000,
19
- `last_run_at` integer,
20
- `next_run_at` integer,
21
- `enabled` integer DEFAULT true,
22
- `created_at` integer DEFAULT 0,
23
- `updated_at` integer DEFAULT 0
24
- );
25
- --> statement-breakpoint
26
- INSERT INTO `__new_task_templates`("id", "name", "agent", "model", "prompt", "cwd", "category", "importance", "urgency", "schedule_type", "cron_expr", "interval_ms", "run_at", "max_instances", "max_retries", "retry_backoff_ms", "last_run_at", "next_run_at", "enabled", "created_at", "updated_at") SELECT "id", "name", "agent", "model", "prompt", "cwd", "category", "importance", "urgency", "schedule_type", "cron_expr", "interval_ms", "run_at", "max_instances", "max_retries", "retry_backoff_ms", "last_run_at", "next_run_at", "enabled", "created_at", "updated_at" FROM `task_templates`;--> statement-breakpoint
27
- DROP TABLE `task_templates`;--> statement-breakpoint
28
- ALTER TABLE `__new_task_templates` RENAME TO `task_templates`;--> statement-breakpoint
29
- PRAGMA foreign_keys=ON;--> statement-breakpoint
30
- ALTER TABLE `tasks` ADD `session_id` text;