@inkeep/agents-core 0.0.0-dev-20251009005405 → 0.0.0-dev-20251009010805

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.
@@ -0,0 +1,39 @@
1
+ CREATE TABLE `functions` (
2
+ `tenant_id` text NOT NULL,
3
+ `id` text NOT NULL,
4
+ `project_id` text NOT NULL,
5
+ `input_schema` blob,
6
+ `execute_code` text NOT NULL,
7
+ `dependencies` blob,
8
+ `created_at` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
9
+ `updated_at` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
10
+ PRIMARY KEY(`tenant_id`, `project_id`, `id`),
11
+ FOREIGN KEY (`tenant_id`,`project_id`) REFERENCES `projects`(`tenant_id`,`id`) ON UPDATE no action ON DELETE cascade
12
+ );
13
+ --> statement-breakpoint
14
+ ALTER TABLE `projects` ADD `sandbox_config` text;--> statement-breakpoint
15
+ PRAGMA foreign_keys=OFF;--> statement-breakpoint
16
+ CREATE TABLE `__new_tools` (
17
+ `tenant_id` text NOT NULL,
18
+ `id` text NOT NULL,
19
+ `project_id` text NOT NULL,
20
+ `name` text NOT NULL,
21
+ `description` text,
22
+ `config` blob NOT NULL,
23
+ `function_id` text,
24
+ `credential_reference_id` text,
25
+ `headers` blob,
26
+ `image_url` text,
27
+ `capabilities` blob,
28
+ `last_error` text,
29
+ `created_at` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
30
+ `updated_at` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
31
+ PRIMARY KEY(`tenant_id`, `project_id`, `id`),
32
+ FOREIGN KEY (`tenant_id`,`project_id`) REFERENCES `projects`(`tenant_id`,`id`) ON UPDATE no action ON DELETE cascade,
33
+ FOREIGN KEY (`tenant_id`,`project_id`,`function_id`) REFERENCES `functions`(`tenant_id`,`project_id`,`id`) ON UPDATE no action ON DELETE cascade
34
+ );
35
+ --> statement-breakpoint
36
+ INSERT INTO `__new_tools`("tenant_id", "id", "project_id", "name", "config", "credential_reference_id", "headers", "image_url", "capabilities", "last_error", "created_at", "updated_at") SELECT "tenant_id", "id", "project_id", "name", "config", "credential_reference_id", "headers", "image_url", "capabilities", "last_error", "created_at", "updated_at" FROM `tools`;--> statement-breakpoint
37
+ DROP TABLE `tools`;--> statement-breakpoint
38
+ ALTER TABLE `__new_tools` RENAME TO `tools`;--> statement-breakpoint
39
+ PRAGMA foreign_keys=ON;