feat: publish shared task and reply activities through MCP

This commit is contained in:
2026-10-07 21:38:33 +09:00
parent 48ef396ec1
commit 794859e4a4
53 changed files with 4076 additions and 453 deletions
+21
View File
@@ -0,0 +1,21 @@
CREATE TABLE `activities` (
`id` text PRIMARY KEY NOT NULL,
`proposal` text NOT NULL,
`user_state` text NOT NULL,
`user_overrides` text NOT NULL,
`created_at` integer NOT NULL,
`updated_at` integer NOT NULL
);
--> statement-breakpoint
CREATE TABLE `activity_receipts` (
`request_id` text PRIMARY KEY NOT NULL,
`input_hash` text NOT NULL,
`result` text NOT NULL
);
--> statement-breakpoint
CREATE TABLE `activity_revision` (
`id` integer PRIMARY KEY NOT NULL,
`revision` integer NOT NULL,
CONSTRAINT "activity_revision_singleton" CHECK("activity_revision"."id" = 1),
CONSTRAINT "activity_revision_nonnegative" CHECK("activity_revision"."revision" >= 0)
);