@inkeep/agents-core 0.67.4 → 0.68.1
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/dist/auth/auth-schema.d.ts +1369 -1
- package/dist/auth/auth-schema.js +139 -6
- package/dist/auth/auth-validation-schemas.d.ts +137 -137
- package/dist/auth/auth.d.ts +2231 -0
- package/dist/auth/auth.js +23 -1
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/agents.d.ts +41 -41
- package/dist/data-access/manage/artifactComponents.d.ts +10 -10
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +16 -16
- package/dist/data-access/manage/skills.d.ts +11 -11
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +30 -30
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +15 -15
- package/dist/data-access/manage/tools.d.ts +30 -30
- package/dist/data-access/manage/triggers.d.ts +4 -4
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/apps.d.ts +11 -11
- package/dist/data-access/runtime/conversations.d.ts +16 -16
- package/dist/data-access/runtime/feedback.d.ts +6 -6
- package/dist/data-access/runtime/messages.d.ts +6 -6
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +457 -457
- package/dist/db/runtime/runtime-schema.d.ts +418 -418
- package/dist/db/runtime/runtime-schema.js +7 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/validation/schemas/skills.d.ts +38 -38
- package/dist/validation/schemas.d.ts +1907 -1907
- package/drizzle/runtime/0036_swift_hammerhead.sql +90 -0
- package/drizzle/runtime/meta/0036_snapshot.json +5915 -0
- package/drizzle/runtime/meta/_journal.json +8 -1
- package/package.json +2 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
CREATE TABLE "jwks" (
|
|
2
|
+
"id" text PRIMARY KEY NOT NULL,
|
|
3
|
+
"public_key" text NOT NULL,
|
|
4
|
+
"private_key" text NOT NULL,
|
|
5
|
+
"created_at" timestamp NOT NULL,
|
|
6
|
+
"expires_at" timestamp
|
|
7
|
+
);
|
|
8
|
+
--> statement-breakpoint
|
|
9
|
+
CREATE TABLE "oauth_access_token" (
|
|
10
|
+
"id" text PRIMARY KEY NOT NULL,
|
|
11
|
+
"token" text,
|
|
12
|
+
"client_id" text NOT NULL,
|
|
13
|
+
"session_id" text,
|
|
14
|
+
"user_id" text,
|
|
15
|
+
"reference_id" text,
|
|
16
|
+
"refresh_id" text,
|
|
17
|
+
"expires_at" timestamp,
|
|
18
|
+
"created_at" timestamp,
|
|
19
|
+
"scopes" text[] NOT NULL,
|
|
20
|
+
CONSTRAINT "oauth_access_token_token_unique" UNIQUE("token")
|
|
21
|
+
);
|
|
22
|
+
--> statement-breakpoint
|
|
23
|
+
CREATE TABLE "oauth_client" (
|
|
24
|
+
"id" text PRIMARY KEY NOT NULL,
|
|
25
|
+
"client_id" text NOT NULL,
|
|
26
|
+
"client_secret" text,
|
|
27
|
+
"disabled" boolean DEFAULT false,
|
|
28
|
+
"skip_consent" boolean,
|
|
29
|
+
"enable_end_session" boolean,
|
|
30
|
+
"subject_type" text,
|
|
31
|
+
"scopes" text[],
|
|
32
|
+
"user_id" text,
|
|
33
|
+
"created_at" timestamp,
|
|
34
|
+
"updated_at" timestamp,
|
|
35
|
+
"name" text,
|
|
36
|
+
"uri" text,
|
|
37
|
+
"icon" text,
|
|
38
|
+
"contacts" text[],
|
|
39
|
+
"tos" text,
|
|
40
|
+
"policy" text,
|
|
41
|
+
"software_id" text,
|
|
42
|
+
"software_version" text,
|
|
43
|
+
"software_statement" text,
|
|
44
|
+
"redirect_uris" text[] NOT NULL,
|
|
45
|
+
"post_logout_redirect_uris" text[],
|
|
46
|
+
"token_endpoint_auth_method" text,
|
|
47
|
+
"grant_types" text[],
|
|
48
|
+
"response_types" text[],
|
|
49
|
+
"public" boolean,
|
|
50
|
+
"type" text,
|
|
51
|
+
"require_pkce" boolean,
|
|
52
|
+
"reference_id" text,
|
|
53
|
+
"metadata" jsonb,
|
|
54
|
+
CONSTRAINT "oauth_client_client_id_unique" UNIQUE("client_id")
|
|
55
|
+
);
|
|
56
|
+
--> statement-breakpoint
|
|
57
|
+
CREATE TABLE "oauth_consent" (
|
|
58
|
+
"id" text PRIMARY KEY NOT NULL,
|
|
59
|
+
"client_id" text NOT NULL,
|
|
60
|
+
"user_id" text,
|
|
61
|
+
"reference_id" text,
|
|
62
|
+
"scopes" text[] NOT NULL,
|
|
63
|
+
"created_at" timestamp,
|
|
64
|
+
"updated_at" timestamp
|
|
65
|
+
);
|
|
66
|
+
--> statement-breakpoint
|
|
67
|
+
CREATE TABLE "oauth_refresh_token" (
|
|
68
|
+
"id" text PRIMARY KEY NOT NULL,
|
|
69
|
+
"token" text NOT NULL,
|
|
70
|
+
"client_id" text NOT NULL,
|
|
71
|
+
"session_id" text,
|
|
72
|
+
"user_id" text NOT NULL,
|
|
73
|
+
"reference_id" text,
|
|
74
|
+
"expires_at" timestamp,
|
|
75
|
+
"created_at" timestamp,
|
|
76
|
+
"revoked" timestamp,
|
|
77
|
+
"auth_time" timestamp,
|
|
78
|
+
"scopes" text[] NOT NULL
|
|
79
|
+
);
|
|
80
|
+
--> statement-breakpoint
|
|
81
|
+
ALTER TABLE "oauth_access_token" ADD CONSTRAINT "oauth_access_token_client_id_oauth_client_client_id_fk" FOREIGN KEY ("client_id") REFERENCES "public"."oauth_client"("client_id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
82
|
+
ALTER TABLE "oauth_access_token" ADD CONSTRAINT "oauth_access_token_session_id_session_id_fk" FOREIGN KEY ("session_id") REFERENCES "public"."session"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
|
|
83
|
+
ALTER TABLE "oauth_access_token" ADD CONSTRAINT "oauth_access_token_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
84
|
+
ALTER TABLE "oauth_access_token" ADD CONSTRAINT "oauth_access_token_refresh_id_oauth_refresh_token_id_fk" FOREIGN KEY ("refresh_id") REFERENCES "public"."oauth_refresh_token"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
85
|
+
ALTER TABLE "oauth_client" ADD CONSTRAINT "oauth_client_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
86
|
+
ALTER TABLE "oauth_consent" ADD CONSTRAINT "oauth_consent_client_id_oauth_client_client_id_fk" FOREIGN KEY ("client_id") REFERENCES "public"."oauth_client"("client_id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
87
|
+
ALTER TABLE "oauth_consent" ADD CONSTRAINT "oauth_consent_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
88
|
+
ALTER TABLE "oauth_refresh_token" ADD CONSTRAINT "oauth_refresh_token_client_id_oauth_client_client_id_fk" FOREIGN KEY ("client_id") REFERENCES "public"."oauth_client"("client_id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
|
|
89
|
+
ALTER TABLE "oauth_refresh_token" ADD CONSTRAINT "oauth_refresh_token_session_id_session_id_fk" FOREIGN KEY ("session_id") REFERENCES "public"."session"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
|
|
90
|
+
ALTER TABLE "oauth_refresh_token" ADD CONSTRAINT "oauth_refresh_token_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;
|