@assistkick/create 1.31.0 → 1.32.0
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 +1 -1
- package/templates/assistkick-product-system/packages/shared/db/migrate.ts +153 -1
- package/templates/assistkick-product-system/packages/shared/db/migrations/0000_dashing_gorgon.sql +0 -128
- package/templates/assistkick-product-system/packages/shared/db/migrations/0001_vengeful_wallop.sql +0 -1
- package/templates/assistkick-product-system/packages/shared/db/migrations/0002_greedy_excalibur.sql +0 -4
- package/templates/assistkick-product-system/packages/shared/db/migrations/0003_lonely_cyclops.sql +0 -17
- package/templates/assistkick-product-system/packages/shared/db/migrations/0004_tidy_matthew_murdock.sql +0 -9
- package/templates/assistkick-product-system/packages/shared/db/migrations/0005_mysterious_falcon.sql +0 -692
- package/templates/assistkick-product-system/packages/shared/db/migrations/0006_next_venom.sql +0 -9
- package/templates/assistkick-product-system/packages/shared/db/migrations/0007_deep_barracuda.sql +0 -39
- package/templates/assistkick-product-system/packages/shared/db/migrations/0008_puzzling_hannibal_king.sql +0 -1
- package/templates/assistkick-product-system/packages/shared/db/migrations/0009_amused_beast.sql +0 -8
- package/templates/assistkick-product-system/packages/shared/db/migrations/0010_spotty_moira_mactaggert.sql +0 -9
- package/templates/assistkick-product-system/packages/shared/db/migrations/0011_goofy_snowbird.sql +0 -3
- package/templates/assistkick-product-system/packages/shared/db/migrations/0011_supreme_doctor_octopus.sql +0 -3
- package/templates/assistkick-product-system/packages/shared/db/migrations/0013_reflective_prowler.sql +0 -15
- package/templates/assistkick-product-system/packages/shared/db/migrations/0014_nifty_punisher.sql +0 -15
- package/templates/assistkick-product-system/packages/shared/db/migrations/0015_magenta_jazinda.sql +0 -1
- package/templates/assistkick-product-system/packages/shared/db/migrations/0016_giant_xorn.sql +0 -1
- package/templates/assistkick-product-system/packages/shared/db/migrations/0017_sloppy_mentor.sql +0 -6
- package/templates/assistkick-product-system/packages/shared/db/migrations/0018_vengeful_kabuki.sql +0 -9
- package/templates/assistkick-product-system/packages/shared/db/migrations/0019_careful_sentinels.sql +0 -8
- package/templates/assistkick-product-system/packages/shared/db/migrations/0020_clever_spot.sql +0 -27
- package/templates/assistkick-product-system/packages/shared/db/migrations/0021_graceful_hex.sql +0 -1
- package/templates/assistkick-product-system/packages/shared/db/migrations/0022_short_kingpin.sql +0 -1
- package/templates/assistkick-product-system/packages/shared/db/migrations/0023_ambiguous_sharon_carter.sql +0 -1
- package/templates/assistkick-product-system/packages/shared/db/migrations/0024_fat_unus.sql +0 -1
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0003_snapshot.json +0 -862
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0004_snapshot.json +0 -921
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0005_snapshot.json +0 -1042
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0006_snapshot.json +0 -1101
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0007_snapshot.json +0 -1336
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0008_snapshot.json +0 -1275
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0009_snapshot.json +0 -1327
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0010_snapshot.json +0 -1393
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0011_snapshot.json +0 -1436
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0013_snapshot.json +0 -1538
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0014_snapshot.json +0 -1545
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0015_snapshot.json +0 -1552
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0016_snapshot.json +0 -1560
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0017_snapshot.json +0 -1598
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0018_snapshot.json +0 -1657
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0019_snapshot.json +0 -1709
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0020_snapshot.json +0 -1733
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0021_snapshot.json +0 -1740
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0022_snapshot.json +0 -1755
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0023_snapshot.json +0 -1762
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0024_snapshot.json +0 -1769
package/templates/assistkick-product-system/packages/shared/db/migrations/0007_deep_barracuda.sql
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
CREATE TABLE `workflow_executions` (
|
|
2
|
-
`id` text PRIMARY KEY NOT NULL,
|
|
3
|
-
`workflow_id` text NOT NULL,
|
|
4
|
-
`feature_id` text NOT NULL,
|
|
5
|
-
`status` text NOT NULL,
|
|
6
|
-
`current_node_id` text,
|
|
7
|
-
`context` text NOT NULL,
|
|
8
|
-
`started_at` text NOT NULL,
|
|
9
|
-
`updated_at` text NOT NULL,
|
|
10
|
-
FOREIGN KEY (`workflow_id`) REFERENCES `workflows`(`id`) ON UPDATE no action ON DELETE no action
|
|
11
|
-
);
|
|
12
|
-
--> statement-breakpoint
|
|
13
|
-
CREATE TABLE `workflow_node_executions` (
|
|
14
|
-
`id` text PRIMARY KEY NOT NULL,
|
|
15
|
-
`execution_id` text NOT NULL,
|
|
16
|
-
`node_id` text NOT NULL,
|
|
17
|
-
`status` text NOT NULL,
|
|
18
|
-
`started_at` text,
|
|
19
|
-
`completed_at` text,
|
|
20
|
-
`output_data` text,
|
|
21
|
-
`error` text,
|
|
22
|
-
`attempt` integer DEFAULT 1 NOT NULL,
|
|
23
|
-
FOREIGN KEY (`execution_id`) REFERENCES `workflow_executions`(`id`) ON UPDATE no action ON DELETE no action
|
|
24
|
-
);
|
|
25
|
-
--> statement-breakpoint
|
|
26
|
-
CREATE TABLE `workflows` (
|
|
27
|
-
`id` text PRIMARY KEY NOT NULL,
|
|
28
|
-
`name` text NOT NULL,
|
|
29
|
-
`description` text,
|
|
30
|
-
`project_id` text,
|
|
31
|
-
`is_default` integer DEFAULT 0 NOT NULL,
|
|
32
|
-
`graph_data` text NOT NULL,
|
|
33
|
-
`created_at` text NOT NULL,
|
|
34
|
-
`updated_at` text NOT NULL
|
|
35
|
-
);
|
|
36
|
-
--> statement-breakpoint
|
|
37
|
-
-- Seed default workflow (global scope, replicates current hardcoded pipeline)
|
|
38
|
-
INSERT INTO workflows (id, name, description, project_id, is_default, graph_data, created_at, updated_at) VALUES
|
|
39
|
-
('d4e5f6a7-b8c9-0d1e-2f3a-4b5c6d7e8f9a', 'Default Pipeline', 'Default workflow replicating the standard develop-review-loop pipeline.', NULL, 1, '{"nodes":[{"id":"start_1","type":"start","position":{"x":50,"y":250},"data":{"label":"Start"}},{"id":"transition_1","type":"transitionCard","position":{"x":250,"y":250},"data":{"label":"Move to In Progress","fromColumn":"todo","toColumn":"in_progress"}},{"id":"agent_dev","type":"runAgent","position":{"x":500,"y":250},"data":{"label":"Run Developer","agentId":"7f83eec8-e762-46eb-9459-9f31096d5faf"}},{"id":"transition_2","type":"transitionCard","position":{"x":750,"y":250},"data":{"label":"Move to In Review","fromColumn":"in_progress","toColumn":"in_review"}},{"id":"agent_rev","type":"runAgent","position":{"x":1000,"y":250},"data":{"label":"Run Reviewer","agentId":"cc66d167-b1aa-40c0-9b19-c683c432ffa4"}},{"id":"check_pos","type":"checkCardPosition","position":{"x":1250,"y":250},"data":{"label":"Check Card Position"}},{"id":"end_success","type":"end","position":{"x":1500,"y":100},"data":{"label":"End (Success)","outcome":"success"}},{"id":"check_cycle","type":"checkCycleCount","position":{"x":1500,"y":400},"data":{"label":"Check Cycle Count","maxCycles":3}},{"id":"set_meta","type":"setCardMetadata","position":{"x":1750,"y":400},"data":{"label":"Set dev_blocked","key":"dev_blocked","value":"true"}},{"id":"end_blocked","type":"end","position":{"x":2000,"y":400},"data":{"label":"End (Blocked)","outcome":"blocked"}}],"edges":[{"id":"e_start_t1","source":"start_1","target":"transition_1"},{"id":"e_t1_dev","source":"transition_1","target":"agent_dev"},{"id":"e_dev_t2","source":"agent_dev","target":"transition_2"},{"id":"e_t2_rev","source":"transition_2","target":"agent_rev"},{"id":"e_rev_check","source":"agent_rev","target":"check_pos"},{"id":"e_check_success","source":"check_pos","target":"end_success","sourceHandle":"qa","data":{"label":"qa"}},{"id":"e_check_cycle","source":"check_pos","target":"check_cycle","sourceHandle":"todo","data":{"label":"todo"}},{"id":"e_cycle_dev","source":"check_cycle","target":"agent_dev","sourceHandle":"under_limit","data":{"label":"< 3"}},{"id":"e_cycle_meta","source":"check_cycle","target":"set_meta","sourceHandle":"at_limit","data":{"label":">= 3"}},{"id":"e_meta_blocked","source":"set_meta","target":"end_blocked"}]}', '2026-03-08T21:00:00.000Z', '2026-03-08T21:00:00.000Z');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
DROP TABLE `stage_assignments`;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
CREATE TABLE `workflow_tool_calls` (
|
|
2
|
-
`id` text PRIMARY KEY NOT NULL,
|
|
3
|
-
`node_execution_id` text NOT NULL,
|
|
4
|
-
`timestamp` text NOT NULL,
|
|
5
|
-
`tool_name` text NOT NULL,
|
|
6
|
-
`target` text NOT NULL,
|
|
7
|
-
`created_at` text NOT NULL,
|
|
8
|
-
FOREIGN KEY (`node_execution_id`) REFERENCES `workflow_node_executions`(`id`) ON UPDATE no action ON DELETE no action
|
|
9
|
-
);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
CREATE TABLE `video_renders` (
|
|
2
|
-
`id` text PRIMARY KEY NOT NULL,
|
|
3
|
-
`project_id` text NOT NULL,
|
|
4
|
-
`feature_id` text,
|
|
5
|
-
`composition_id` text NOT NULL,
|
|
6
|
-
`status` text NOT NULL,
|
|
7
|
-
`progress` real DEFAULT 0 NOT NULL,
|
|
8
|
-
`file_path` text,
|
|
9
|
-
`file_size` integer,
|
|
10
|
-
`duration_seconds` real,
|
|
11
|
-
`error` text,
|
|
12
|
-
`resolution` text,
|
|
13
|
-
`created_at` text NOT NULL,
|
|
14
|
-
`completed_at` text
|
|
15
|
-
);
|
package/templates/assistkick-product-system/packages/shared/db/migrations/0014_nifty_punisher.sql
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
ALTER TABLE `workflows` ADD `trigger_column` text;--> statement-breakpoint
|
|
2
|
-
-- Seed video agents with fixed IDs (syncDefaults will update their templates on startup)
|
|
3
|
-
INSERT OR IGNORE INTO agents (id, name, prompt_template, project_id, is_default, created_at, updated_at) VALUES
|
|
4
|
-
('a1b2c3d4-e5f6-7890-abcd-ef1234567890', 'Default Video Script Writer', 'Placeholder — synced on startup from SKILL.md', NULL, 1, '2026-03-11T00:00:00.000Z', '2026-03-11T00:00:00.000Z'),
|
|
5
|
-
('b2c3d4e5-f6a7-8901-bcde-f12345678901', 'Default Video Composition Agent', 'Placeholder — synced on startup from SKILL.md', NULL, 1, '2026-03-11T00:00:00.000Z', '2026-03-11T00:00:00.000Z');--> statement-breakpoint
|
|
6
|
-
-- Seed three column-gated video workflows
|
|
7
|
-
-- 1. Script Generation (TODO column) — scriptWriter agent produces script markdown
|
|
8
|
-
INSERT INTO workflows (id, name, description, project_id, feature_type, trigger_column, is_default, graph_data, created_at, updated_at) VALUES
|
|
9
|
-
('wf-video-script-gen', 'Video Script Generation', 'Generate video script from feature description. Available when video feature is in TODO.', NULL, 'video', 'todo', 0, '{"nodes":[{"id":"start","type":"start","position":{"x":50,"y":250},"data":{"label":"Start"}},{"id":"agent_script","type":"runAgent","position":{"x":300,"y":250},"data":{"label":"Run Script Writer","agentId":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","agentName":"Default Video Script Writer"}},{"id":"transition_review","type":"transitionCard","position":{"x":600,"y":250},"data":{"label":"Move to Review","fromColumn":"todo","toColumn":"in_review"}},{"id":"end_success","type":"end","position":{"x":900,"y":250},"data":{"label":"End (Success)","outcome":"success"}}],"edges":[{"id":"e1","source":"start","target":"agent_script"},{"id":"e2","source":"agent_script","target":"transition_review"},{"id":"e3","source":"transition_review","target":"end_success"}]}', '2026-03-11T00:00:00.000Z', '2026-03-11T00:00:00.000Z');--> statement-breakpoint
|
|
10
|
-
-- 2. Generate Preview (Review column) — compositionBuilder agent + bundle + TTS
|
|
11
|
-
INSERT INTO workflows (id, name, description, project_id, feature_type, trigger_column, is_default, graph_data, created_at, updated_at) VALUES
|
|
12
|
-
('wf-video-gen-preview', 'Video Generate Preview', 'Build composition, rebuild bundle, and generate TTS audio. Available when video feature is in Review.', NULL, 'video', 'in_review', 0, '{"nodes":[{"id":"start","type":"start","position":{"x":50,"y":250},"data":{"label":"Start"}},{"id":"agent_comp","type":"runAgent","position":{"x":300,"y":250},"data":{"label":"Run Composition Builder","agentId":"b2c3d4e5-f6a7-8901-bcde-f12345678901","agentName":"Default Video Composition Agent"}},{"id":"rebuild","type":"rebuildBundle","position":{"x":600,"y":250},"data":{"label":"Rebuild Bundle"}},{"id":"tts","type":"generateTTS","position":{"x":900,"y":250},"data":{"label":"Generate TTS","scriptPath":"script.md","force":false,"voiceId":""}},{"id":"transition_qa","type":"transitionCard","position":{"x":1200,"y":250},"data":{"label":"Move to QA","fromColumn":"in_review","toColumn":"qa"}},{"id":"end_success","type":"end","position":{"x":1500,"y":250},"data":{"label":"End (Success)","outcome":"success"}}],"edges":[{"id":"e1","source":"start","target":"agent_comp"},{"id":"e2","source":"agent_comp","target":"rebuild"},{"id":"e3","source":"rebuild","target":"tts"},{"id":"e4","source":"tts","target":"transition_qa"},{"id":"e5","source":"transition_qa","target":"end_success"}]}', '2026-03-11T00:00:00.000Z', '2026-03-11T00:00:00.000Z');--> statement-breakpoint
|
|
13
|
-
-- 3. Rendering Pipeline (QA column) — renderVideo with configurable settings
|
|
14
|
-
INSERT INTO workflows (id, name, description, project_id, feature_type, trigger_column, is_default, graph_data, created_at, updated_at) VALUES
|
|
15
|
-
('wf-video-render', 'Video Rendering Pipeline', 'Render video with configurable resolution and output settings. Available when video feature is in QA.', NULL, 'video', 'qa', 0, '{"nodes":[{"id":"start","type":"start","position":{"x":50,"y":250},"data":{"label":"Start"}},{"id":"render","type":"renderVideo","position":{"x":300,"y":250},"data":{"label":"Render Video","compositionId":"","resolution":"1920x1080","aspectRatio":"","fileOutputPrefix":""}},{"id":"transition_done","type":"transitionCard","position":{"x":600,"y":250},"data":{"label":"Move to Done","fromColumn":"qa","toColumn":"done"}},{"id":"end_success","type":"end","position":{"x":900,"y":250},"data":{"label":"End (Success)","outcome":"success"}}],"edges":[{"id":"e1","source":"start","target":"render"},{"id":"e2","source":"render","target":"transition_done"},{"id":"e3","source":"transition_done","target":"end_success"}]}', '2026-03-11T00:00:00.000Z', '2026-03-11T00:00:00.000Z');
|
package/templates/assistkick-product-system/packages/shared/db/migrations/0015_magenta_jazinda.sql
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ALTER TABLE `workflow_node_executions` ADD `claude_session_id` text;
|
package/templates/assistkick-product-system/packages/shared/db/migrations/0016_giant_xorn.sql
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ALTER TABLE `workflow_node_executions` ADD `cycle` integer DEFAULT 1 NOT NULL;
|
package/templates/assistkick-product-system/packages/shared/db/migrations/0020_clever_spot.sql
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
ALTER TABLE `agents` ADD `model` text DEFAULT 'claude-opus-4-6' NOT NULL;--> statement-breakpoint
|
|
2
|
-
ALTER TABLE `agents` ADD `skills` text DEFAULT '[]' NOT NULL;--> statement-breakpoint
|
|
3
|
-
ALTER TABLE `agents` ADD `grounding` text DEFAULT '' NOT NULL;--> statement-breakpoint
|
|
4
|
-
ALTER TABLE `agents` ADD `default_grounding` text;--> statement-breakpoint
|
|
5
|
-
UPDATE `agents` SET
|
|
6
|
-
`model` = 'claude-opus-4-6',
|
|
7
|
-
`skills` = CASE
|
|
8
|
-
WHEN `name` LIKE '%Developer%' THEN '["assistkick-developer"]'
|
|
9
|
-
WHEN `name` LIKE '%Reviewer%' THEN '["assistkick-code-reviewer"]'
|
|
10
|
-
WHEN `name` LIKE '%Debugger%' THEN '["assistkick-debugger"]'
|
|
11
|
-
WHEN `name` LIKE '%Video Script%' THEN '["assistkick-video-script-writer"]'
|
|
12
|
-
WHEN `name` LIKE '%Video Composition%' THEN '["assistkick-video-composition-agent"]'
|
|
13
|
-
ELSE '[]'
|
|
14
|
-
END,
|
|
15
|
-
`grounding` = CASE
|
|
16
|
-
WHEN `is_default` = 1 AND INSTR(`prompt_template`, '## CRITICAL: Data Isolation') > 0
|
|
17
|
-
THEN SUBSTR(`prompt_template`, INSTR(`prompt_template`, '## CRITICAL: Data Isolation'))
|
|
18
|
-
ELSE `prompt_template`
|
|
19
|
-
END,
|
|
20
|
-
`default_grounding` = CASE
|
|
21
|
-
WHEN `is_default` = 1 AND INSTR(`prompt_template`, '## CRITICAL: Data Isolation') > 0
|
|
22
|
-
THEN SUBSTR(`prompt_template`, INSTR(`prompt_template`, '## CRITICAL: Data Isolation'))
|
|
23
|
-
WHEN `is_default` = 1
|
|
24
|
-
THEN `prompt_template`
|
|
25
|
-
ELSE NULL
|
|
26
|
-
END;--> statement-breakpoint
|
|
27
|
-
ALTER TABLE `agents` DROP COLUMN `prompt_template`;
|
package/templates/assistkick-product-system/packages/shared/db/migrations/0021_graceful_hex.sql
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ALTER TABLE `chat_sessions` ADD `context_usage_json` text;
|
package/templates/assistkick-product-system/packages/shared/db/migrations/0022_short_kingpin.sql
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ALTER TABLE `terminal_sessions` ADD `session_type` text DEFAULT 'claude' NOT NULL;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ALTER TABLE `chat_sessions` ADD `system_prompt` text;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ALTER TABLE `projects` ADD `preview_command` text;
|