@cat-factory/node-server 0.78.0 → 0.80.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.
@@ -0,0 +1,13 @@
1
+ CREATE TABLE "telemetry"."agent_search_queries" (
2
+ "id" text PRIMARY KEY,
3
+ "workspace_id" text NOT NULL,
4
+ "execution_id" text NOT NULL,
5
+ "agent_kind" text NOT NULL,
6
+ "provider" text,
7
+ "query" text DEFAULT '' NOT NULL,
8
+ "result_count" integer DEFAULT 0 NOT NULL,
9
+ "created_at" bigint NOT NULL
10
+ );
11
+ --> statement-breakpoint
12
+ CREATE INDEX "idx_agent_search_queries_execution" ON "telemetry"."agent_search_queries" ("workspace_id","execution_id","created_at");--> statement-breakpoint
13
+ CREATE INDEX "idx_agent_search_queries_created" ON "telemetry"."agent_search_queries" ("created_at");