@inkeep/agents-core 0.0.0-dev-20251125083010 → 0.0.0-dev-20251125085423

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.
Files changed (35) hide show
  1. package/dist/auth/auth-schema.d.ts +47 -1
  2. package/dist/auth/auth-schema.js +1 -1
  3. package/dist/auth/auth-validation-schemas.d.ts +34 -0
  4. package/dist/auth/auth-validation-schemas.js +1 -1
  5. package/dist/auth/auth.d.ts +22 -22
  6. package/dist/auth/auth.js +9 -2
  7. package/dist/auth/permissions.d.ts +9 -9
  8. package/dist/auth/permissions.js +1 -1
  9. package/dist/{chunk-W3QDM7WH.js → chunk-4FHCJ65J.js} +1 -1
  10. package/dist/{chunk-PVRIMF6N.js → chunk-DEYPSEXR.js} +1 -1
  11. package/dist/chunk-GENLXHZ4.js +159 -0
  12. package/dist/{chunk-VMSYBWFH.js → chunk-JNBVHWXX.js} +7 -4
  13. package/dist/{chunk-K6GMXJPW.js → chunk-XHODTX4H.js} +1 -1
  14. package/dist/{chunk-I6IF7ZTL.js → chunk-ZSYMSL55.js} +2 -2
  15. package/dist/{client-CD-dO-so.d.ts → client-B_3j-V4-.d.ts} +1 -1
  16. package/dist/client-exports.d.ts +5 -5
  17. package/dist/client-exports.js +2 -2
  18. package/dist/credential-stores/index.d.ts +2 -2
  19. package/dist/db/schema.d.ts +2 -2
  20. package/dist/db/schema.js +2 -2
  21. package/dist/db/test-client.d.ts +3 -3
  22. package/dist/db/test-client.js +1 -1
  23. package/dist/index.d.ts +253 -253
  24. package/dist/index.js +9 -9
  25. package/dist/{schema-BGPkUUmn.d.ts → schema-DKbG39on.d.ts} +1 -1
  26. package/dist/{server-DuzlQdBX.d.ts → server-BXoUiBMg.d.ts} +1 -1
  27. package/dist/types/index.d.ts +2 -2
  28. package/dist/{utility-Cw2pFmu3.d.ts → utility-Lo5NoRHK.d.ts} +300 -300
  29. package/dist/validation/index.d.ts +2 -2
  30. package/dist/validation/index.js +2 -2
  31. package/drizzle/0002_puzzling_goblin_queen.sql +8 -0
  32. package/drizzle/meta/0002_snapshot.json +3637 -0
  33. package/drizzle/meta/_journal.json +7 -0
  34. package/package.json +1 -1
  35. package/dist/chunk-NFTJ5JBY.js +0 -82
@@ -15,6 +15,13 @@
15
15
  "when": 1764024513126,
16
16
  "tag": "0001_calm_sheva_callister",
17
17
  "breakpoints": true
18
+ },
19
+ {
20
+ "idx": 2,
21
+ "version": "7",
22
+ "when": 1764045769142,
23
+ "tag": "0002_puzzling_goblin_queen",
24
+ "breakpoints": true
18
25
  }
19
26
  ]
20
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-core",
3
- "version": "0.0.0-dev-20251125083010",
3
+ "version": "0.0.0-dev-20251125085423",
4
4
  "description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -1,82 +0,0 @@
1
- import { pgTable, timestamp, text, boolean } from 'drizzle-orm/pg-core';
2
-
3
- // src/auth/auth-schema.ts
4
- var user = pgTable("user", {
5
- id: text("id").primaryKey(),
6
- name: text("name").notNull(),
7
- email: text("email").notNull().unique(),
8
- emailVerified: boolean("email_verified").default(false).notNull(),
9
- image: text("image"),
10
- createdAt: timestamp("created_at").defaultNow().notNull(),
11
- updatedAt: timestamp("updated_at").defaultNow().$onUpdate(() => /* @__PURE__ */ new Date()).notNull()
12
- });
13
- var session = pgTable("session", {
14
- id: text("id").primaryKey(),
15
- expiresAt: timestamp("expires_at").notNull(),
16
- token: text("token").notNull().unique(),
17
- createdAt: timestamp("created_at").defaultNow().notNull(),
18
- updatedAt: timestamp("updated_at").$onUpdate(() => /* @__PURE__ */ new Date()).notNull(),
19
- ipAddress: text("ip_address"),
20
- userAgent: text("user_agent"),
21
- userId: text("user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
22
- activeOrganizationId: text("active_organization_id")
23
- });
24
- var account = pgTable("account", {
25
- id: text("id").primaryKey(),
26
- accountId: text("account_id").notNull(),
27
- providerId: text("provider_id").notNull(),
28
- userId: text("user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
29
- accessToken: text("access_token"),
30
- refreshToken: text("refresh_token"),
31
- idToken: text("id_token"),
32
- accessTokenExpiresAt: timestamp("access_token_expires_at"),
33
- refreshTokenExpiresAt: timestamp("refresh_token_expires_at"),
34
- scope: text("scope"),
35
- password: text("password"),
36
- createdAt: timestamp("created_at").defaultNow().notNull(),
37
- updatedAt: timestamp("updated_at").$onUpdate(() => /* @__PURE__ */ new Date()).notNull()
38
- });
39
- var verification = pgTable("verification", {
40
- id: text("id").primaryKey(),
41
- identifier: text("identifier").notNull(),
42
- value: text("value").notNull(),
43
- expiresAt: timestamp("expires_at").notNull(),
44
- createdAt: timestamp("created_at").defaultNow().notNull(),
45
- updatedAt: timestamp("updated_at").defaultNow().$onUpdate(() => /* @__PURE__ */ new Date()).notNull()
46
- });
47
- var ssoProvider = pgTable("sso_provider", {
48
- id: text("id").primaryKey(),
49
- issuer: text("issuer").notNull(),
50
- oidcConfig: text("oidc_config"),
51
- samlConfig: text("saml_config"),
52
- userId: text("user_id").references(() => user.id, { onDelete: "cascade" }),
53
- providerId: text("provider_id").notNull().unique(),
54
- organizationId: text("organization_id"),
55
- domain: text("domain").notNull()
56
- });
57
- var organization = pgTable("organization", {
58
- id: text("id").primaryKey(),
59
- name: text("name").notNull(),
60
- slug: text("slug").notNull().unique(),
61
- logo: text("logo"),
62
- createdAt: timestamp("created_at").notNull(),
63
- metadata: text("metadata")
64
- });
65
- var member = pgTable("member", {
66
- id: text("id").primaryKey(),
67
- organizationId: text("organization_id").notNull().references(() => organization.id, { onDelete: "cascade" }),
68
- userId: text("user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
69
- role: text("role").default("member").notNull(),
70
- createdAt: timestamp("created_at").notNull()
71
- });
72
- var invitation = pgTable("invitation", {
73
- id: text("id").primaryKey(),
74
- organizationId: text("organization_id").notNull().references(() => organization.id, { onDelete: "cascade" }),
75
- email: text("email").notNull(),
76
- role: text("role"),
77
- status: text("status").default("pending").notNull(),
78
- expiresAt: timestamp("expires_at").notNull(),
79
- inviterId: text("inviter_id").notNull().references(() => user.id, { onDelete: "cascade" })
80
- });
81
-
82
- export { account, invitation, member, organization, session, ssoProvider, user, verification };