@agent-native/core 0.177.0-nightly-20260906034133 → 0.177.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.
- package/corpus/README.md +1 -1
- package/corpus/templates/analytics/CHANGELOG.md +13 -0
- package/corpus/templates/calendar/CHANGELOG.md +20 -0
- package/corpus/templates/clips/CHANGELOG.md +7 -0
- package/corpus/templates/clips/server/plugins/db.ts +10 -2
- package/corpus/templates/content/CHANGELOG.md +6 -0
- package/corpus/templates/design/CHANGELOG.md +16 -0
- package/corpus/templates/design/app/components/design/EditPanel.tsx +8 -1
- package/corpus/templates/design/app/components/design/MultiScreenCanvas.tsx +12 -20
- package/corpus/templates/design/app/components/design/multi-screen/board-surface-html.ts +23 -22
- package/corpus/templates/design/app/pages/DesignEditor.tsx +43 -6
- package/corpus/templates/design/app/pages/Index.tsx +10 -3
- package/corpus/templates/design/app/pages/Templates.tsx +1 -18
- package/corpus/templates/design/app/pages/design-editor/canvas-primitive-insert.ts +25 -11
- package/corpus/templates/design/app/pages/design-editor/canvas-primitives.ts +8 -18
- package/corpus/templates/design/app/pages/design-editor/commands/create-primitive.ts +4 -0
- package/corpus/templates/design/changelog/2026-09-04-board-text-is-readable-on-a-light-canvas.md +6 -0
- package/corpus/templates/design/changelog/2026-09-04-designs-grid-fills-its-last-row.md +6 -0
- package/corpus/templates/design/changelog/2026-09-04-no-design-system-now-sticks-when-you-choose-it.md +6 -0
- package/corpus/templates/design/changelog/2026-09-04-the-canvas-keeps-its-colour-when-you-draw-on-it.md +6 -0
- package/corpus/templates/design/changelog/2026-09-04-the-design-system-picker-stays-after-a-template-fil.md +6 -0
- package/corpus/templates/dispatch/CHANGELOG.md +6 -0
- package/corpus/templates/factory/CHANGELOG.md +18 -0
- package/corpus/templates/mail/CHANGELOG.md +11 -0
- package/dist/automation/index.d.ts +1 -1
- package/dist/chat-threads/schema.d.ts +4 -4
- package/dist/chat-threads/schema.js +5 -5
- package/dist/collab/routes.d.ts +1 -1
- package/dist/collab/struct-routes.d.ts +1 -1
- package/dist/email-catalog/log.js +2 -0
- package/dist/email-catalog/schema.d.ts +1 -1
- package/dist/email-catalog/schema.js +2 -2
- package/dist/file-upload/actions/upload-image.d.ts +2 -2
- package/dist/observability/routes.d.ts +4 -4
- package/dist/org/migrations.js +36 -8
- package/dist/org/schema.d.ts +8 -8
- package/dist/org/schema.js +13 -9
- package/dist/progress/routes.d.ts +1 -1
- package/dist/secrets/routes.d.ts +6 -6
- package/dist/secrets/schema.d.ts +2 -2
- package/dist/secrets/schema.js +3 -3
- package/dist/server/identity-sso-migrations.js +24 -4
- package/package.json +3 -3
- package/corpus/templates/clips/data/clips-transactional-emails/config.json +0 -3
package/dist/secrets/schema.d.ts
CHANGED
|
@@ -153,7 +153,7 @@ export declare const appSecrets: import("drizzle-orm/pg-core").PgTableWithColumn
|
|
|
153
153
|
name: "created_at";
|
|
154
154
|
tableName: "app_secrets";
|
|
155
155
|
dataType: "number";
|
|
156
|
-
columnType: "
|
|
156
|
+
columnType: "PgBigInt53";
|
|
157
157
|
data: number;
|
|
158
158
|
driverParam: string | number;
|
|
159
159
|
notNull: true;
|
|
@@ -170,7 +170,7 @@ export declare const appSecrets: import("drizzle-orm/pg-core").PgTableWithColumn
|
|
|
170
170
|
name: "updated_at";
|
|
171
171
|
tableName: "app_secrets";
|
|
172
172
|
dataType: "number";
|
|
173
|
-
columnType: "
|
|
173
|
+
columnType: "PgBigInt53";
|
|
174
174
|
data: number;
|
|
175
175
|
driverParam: string | number;
|
|
176
176
|
notNull: true;
|
package/dist/secrets/schema.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* (by orgId). OAuth-kind secrets never create a row here — they surface via
|
|
10
10
|
* `@agent-native/core/oauth-tokens` instead.
|
|
11
11
|
*/
|
|
12
|
-
import { table, text,
|
|
12
|
+
import { table, text, bigint } from "../db/schema.js";
|
|
13
13
|
export const appSecrets = table("app_secrets", {
|
|
14
14
|
id: text("id").primaryKey(),
|
|
15
15
|
/** "user" or "workspace" — who the secret is scoped to. */
|
|
@@ -26,8 +26,8 @@ export const appSecrets = table("app_secrets", {
|
|
|
26
26
|
description: text("description"),
|
|
27
27
|
/** JSON array of allowed URL origins. Null = allow all. */
|
|
28
28
|
urlAllowlist: text("url_allowlist"),
|
|
29
|
-
createdAt:
|
|
30
|
-
updatedAt:
|
|
29
|
+
createdAt: bigint("created_at", { mode: "number" }).notNull(),
|
|
30
|
+
updatedAt: bigint("updated_at", { mode: "number" }).notNull(),
|
|
31
31
|
});
|
|
32
32
|
/**
|
|
33
33
|
* Raw SQL for creating the app_secrets table. Used by the on-demand
|
|
@@ -16,9 +16,9 @@ export const IDENTITY_SSO_MIGRATIONS = [
|
|
|
16
16
|
redirect_uri TEXT NOT NULL,
|
|
17
17
|
authority TEXT NOT NULL,
|
|
18
18
|
code_challenge TEXT NOT NULL,
|
|
19
|
-
created_at
|
|
20
|
-
expires_at
|
|
21
|
-
consumed_at
|
|
19
|
+
created_at BIGINT,
|
|
20
|
+
expires_at BIGINT,
|
|
21
|
+
consumed_at BIGINT
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
CREATE INDEX IF NOT EXISTS identity_sso_flow_state_expires_idx
|
|
@@ -26,11 +26,31 @@ export const IDENTITY_SSO_MIGRATIONS = [
|
|
|
26
26
|
|
|
27
27
|
CREATE TABLE IF NOT EXISTS identity_sso_jti (
|
|
28
28
|
jti TEXT PRIMARY KEY,
|
|
29
|
-
seen_at
|
|
29
|
+
seen_at BIGINT
|
|
30
30
|
);
|
|
31
31
|
|
|
32
32
|
CREATE INDEX IF NOT EXISTS identity_sso_jti_seen_idx
|
|
33
33
|
ON identity_sso_jti (seen_at);
|
|
34
34
|
`,
|
|
35
35
|
},
|
|
36
|
+
{
|
|
37
|
+
// Widening only. `created_at`/`expires_at`/`consumed_at`/`seen_at` store
|
|
38
|
+
// JS `Date.now()` millisecond epochs (13 digits) but v1 declared them
|
|
39
|
+
// `INTEGER` — Postgres int4, max 2,147,483,647 — so every SSO flow-state
|
|
40
|
+
// insert overflows with `value "<ms epoch>" is out of range for type
|
|
41
|
+
// integer`. This is the framework release migration (see module doc), so
|
|
42
|
+
// it's the one that actually creates these tables in production.
|
|
43
|
+
version: 2,
|
|
44
|
+
name: "identity-sso-timestamps-bigint",
|
|
45
|
+
sql: `
|
|
46
|
+
-- guard:allow-destructive-ddl — widen legacy int4 timestamp storage to preserve Date.now() values
|
|
47
|
+
ALTER TABLE identity_sso_flow_state ALTER COLUMN created_at TYPE BIGINT;
|
|
48
|
+
-- guard:allow-destructive-ddl — widen legacy int4 timestamp storage to preserve Date.now() values
|
|
49
|
+
ALTER TABLE identity_sso_flow_state ALTER COLUMN expires_at TYPE BIGINT;
|
|
50
|
+
-- guard:allow-destructive-ddl — widen legacy int4 timestamp storage to preserve Date.now() values
|
|
51
|
+
ALTER TABLE identity_sso_flow_state ALTER COLUMN consumed_at TYPE BIGINT;
|
|
52
|
+
-- guard:allow-destructive-ddl — widen legacy int4 timestamp storage to preserve Date.now() values
|
|
53
|
+
ALTER TABLE identity_sso_jti ALTER COLUMN seen_at TYPE BIGINT;
|
|
54
|
+
`,
|
|
55
|
+
},
|
|
36
56
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.177.0
|
|
3
|
+
"version": "0.177.0",
|
|
4
4
|
"description": "The agentic application framework for building autonomous agents with intuitive UIs",
|
|
5
5
|
"homepage": "https://github.com/BuilderIO/agent-native#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -439,8 +439,8 @@
|
|
|
439
439
|
"y-protocols": "^1.0.7",
|
|
440
440
|
"yjs": "^13.6.32",
|
|
441
441
|
"zod": "^4.3.6",
|
|
442
|
-
"@agent-native/recap-cli": "0.5.
|
|
443
|
-
"@agent-native/toolkit": "^0.19.4
|
|
442
|
+
"@agent-native/recap-cli": "0.5.26",
|
|
443
|
+
"@agent-native/toolkit": "^0.19.4"
|
|
444
444
|
},
|
|
445
445
|
"devDependencies": {
|
|
446
446
|
"@ai-sdk/anthropic": "^3.0.71",
|