@cat-factory/node-server 0.201.2 → 0.202.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.
@@ -1341,6 +1341,36 @@ export declare const pipelines: import("drizzle-orm/pg-core").PgTableWithColumns
1341
1341
  identity: undefined;
1342
1342
  generated: undefined;
1343
1343
  }>;
1344
+ is_default: import("drizzle-orm/pg-core").PgBuildColumn<"pipelines", import("drizzle-orm/pg-core").PgIntegerBuilder, {
1345
+ name: string;
1346
+ tableName: "pipelines";
1347
+ dataType: "number int32";
1348
+ data: number;
1349
+ driverParam: string | number;
1350
+ notNull: false;
1351
+ hasDefault: false;
1352
+ isPrimaryKey: false;
1353
+ isAutoincrement: false;
1354
+ hasRuntimeDefault: false;
1355
+ enumValues: undefined;
1356
+ identity: undefined;
1357
+ generated: undefined;
1358
+ }>;
1359
+ is_unattended_default: import("drizzle-orm/pg-core").PgBuildColumn<"pipelines", import("drizzle-orm/pg-core").PgIntegerBuilder, {
1360
+ name: string;
1361
+ tableName: "pipelines";
1362
+ dataType: "number int32";
1363
+ data: number;
1364
+ driverParam: string | number;
1365
+ notNull: false;
1366
+ hasDefault: false;
1367
+ isPrimaryKey: false;
1368
+ isAutoincrement: false;
1369
+ hasRuntimeDefault: false;
1370
+ enumValues: undefined;
1371
+ identity: undefined;
1372
+ generated: undefined;
1373
+ }>;
1344
1374
  seq: import("drizzle-orm/pg-core").PgBuildColumn<"pipelines", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgSerialBuilder>, {
1345
1375
  name: string;
1346
1376
  tableName: "pipelines";
@@ -5658,6 +5688,21 @@ export declare const riskPolicies: import("drizzle-orm/pg-core").PgTableWithColu
5658
5688
  identity: undefined;
5659
5689
  generated: undefined;
5660
5690
  }>;
5691
+ min_auto_answer_confidence: import("drizzle-orm/pg-core").PgBuildColumn<"merge_threshold_presets", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgDoublePrecisionBuilder>>, {
5692
+ name: string;
5693
+ tableName: "merge_threshold_presets";
5694
+ dataType: "number double";
5695
+ data: number;
5696
+ driverParam: string | number;
5697
+ notNull: true;
5698
+ hasDefault: true;
5699
+ isPrimaryKey: false;
5700
+ isAutoincrement: false;
5701
+ hasRuntimeDefault: false;
5702
+ enumValues: undefined;
5703
+ identity: undefined;
5704
+ generated: undefined;
5705
+ }>;
5661
5706
  is_default: import("drizzle-orm/pg-core").PgBuildColumn<"merge_threshold_presets", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>>, {
5662
5707
  name: string;
5663
5708
  tableName: "merge_threshold_presets";
@@ -8106,262 +8151,5 @@ export declare const userSecrets: import("drizzle-orm/pg-core").PgTableWithColum
8106
8151
  dialect: 'pg';
8107
8152
  }>;
8108
8153
  export { githubInstallations, githubRepos, githubUserRepoAccess, githubBranches, githubPullRequests, githubIssues, githubCommits, githubCheckRuns, githubSyncCursors, } from './tables/vcs.js';
8109
- export declare const binaryArtifacts: import("drizzle-orm/pg-core").PgTableWithColumns<{
8110
- name: "binary_artifacts";
8111
- schema: undefined;
8112
- columns: {
8113
- workspace_id: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
8114
- name: string;
8115
- tableName: "binary_artifacts";
8116
- dataType: "string";
8117
- data: string;
8118
- driverParam: string;
8119
- notNull: true;
8120
- hasDefault: false;
8121
- isPrimaryKey: false;
8122
- isAutoincrement: false;
8123
- hasRuntimeDefault: false;
8124
- enumValues: undefined;
8125
- identity: undefined;
8126
- generated: undefined;
8127
- }>;
8128
- id: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
8129
- name: string;
8130
- tableName: "binary_artifacts";
8131
- dataType: "string";
8132
- data: string;
8133
- driverParam: string;
8134
- notNull: true;
8135
- hasDefault: false;
8136
- isPrimaryKey: false;
8137
- isAutoincrement: false;
8138
- hasRuntimeDefault: false;
8139
- enumValues: undefined;
8140
- identity: undefined;
8141
- generated: undefined;
8142
- }>;
8143
- execution_id: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
8144
- name: string;
8145
- tableName: "binary_artifacts";
8146
- dataType: "string";
8147
- data: string;
8148
- driverParam: string;
8149
- notNull: false;
8150
- hasDefault: false;
8151
- isPrimaryKey: false;
8152
- isAutoincrement: false;
8153
- hasRuntimeDefault: false;
8154
- enumValues: undefined;
8155
- identity: undefined;
8156
- generated: undefined;
8157
- }>;
8158
- block_id: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
8159
- name: string;
8160
- tableName: "binary_artifacts";
8161
- dataType: "string";
8162
- data: string;
8163
- driverParam: string;
8164
- notNull: false;
8165
- hasDefault: false;
8166
- isPrimaryKey: false;
8167
- isAutoincrement: false;
8168
- hasRuntimeDefault: false;
8169
- enumValues: undefined;
8170
- identity: undefined;
8171
- generated: undefined;
8172
- }>;
8173
- kind: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
8174
- name: string;
8175
- tableName: "binary_artifacts";
8176
- dataType: "string";
8177
- data: string;
8178
- driverParam: string;
8179
- notNull: true;
8180
- hasDefault: false;
8181
- isPrimaryKey: false;
8182
- isAutoincrement: false;
8183
- hasRuntimeDefault: false;
8184
- enumValues: undefined;
8185
- identity: undefined;
8186
- generated: undefined;
8187
- }>;
8188
- view: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
8189
- name: string;
8190
- tableName: "binary_artifacts";
8191
- dataType: "string";
8192
- data: string;
8193
- driverParam: string;
8194
- notNull: false;
8195
- hasDefault: false;
8196
- isPrimaryKey: false;
8197
- isAutoincrement: false;
8198
- hasRuntimeDefault: false;
8199
- enumValues: undefined;
8200
- identity: undefined;
8201
- generated: undefined;
8202
- }>;
8203
- content_type: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
8204
- name: string;
8205
- tableName: "binary_artifacts";
8206
- dataType: "string";
8207
- data: string;
8208
- driverParam: string;
8209
- notNull: true;
8210
- hasDefault: false;
8211
- isPrimaryKey: false;
8212
- isAutoincrement: false;
8213
- hasRuntimeDefault: false;
8214
- enumValues: undefined;
8215
- identity: undefined;
8216
- generated: undefined;
8217
- }>;
8218
- byte_size: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>, {
8219
- name: string;
8220
- tableName: "binary_artifacts";
8221
- dataType: "number int32";
8222
- data: number;
8223
- driverParam: string | number;
8224
- notNull: true;
8225
- hasDefault: false;
8226
- isPrimaryKey: false;
8227
- isAutoincrement: false;
8228
- hasRuntimeDefault: false;
8229
- enumValues: undefined;
8230
- identity: undefined;
8231
- generated: undefined;
8232
- }>;
8233
- hash: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
8234
- name: string;
8235
- tableName: "binary_artifacts";
8236
- dataType: "string";
8237
- data: string;
8238
- driverParam: string;
8239
- notNull: true;
8240
- hasDefault: false;
8241
- isPrimaryKey: false;
8242
- isAutoincrement: false;
8243
- hasRuntimeDefault: false;
8244
- enumValues: undefined;
8245
- identity: undefined;
8246
- generated: undefined;
8247
- }>;
8248
- storage: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
8249
- name: string;
8250
- tableName: "binary_artifacts";
8251
- dataType: "string";
8252
- data: string;
8253
- driverParam: string;
8254
- notNull: true;
8255
- hasDefault: false;
8256
- isPrimaryKey: false;
8257
- isAutoincrement: false;
8258
- hasRuntimeDefault: false;
8259
- enumValues: undefined;
8260
- identity: undefined;
8261
- generated: undefined;
8262
- }>;
8263
- storage_key: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
8264
- name: string;
8265
- tableName: "binary_artifacts";
8266
- dataType: "string";
8267
- data: string;
8268
- driverParam: string;
8269
- notNull: true;
8270
- hasDefault: false;
8271
- isPrimaryKey: false;
8272
- isAutoincrement: false;
8273
- hasRuntimeDefault: false;
8274
- enumValues: undefined;
8275
- identity: undefined;
8276
- generated: undefined;
8277
- }>;
8278
- document_source: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
8279
- name: string;
8280
- tableName: "binary_artifacts";
8281
- dataType: "string";
8282
- data: string;
8283
- driverParam: string;
8284
- notNull: false;
8285
- hasDefault: false;
8286
- isPrimaryKey: false;
8287
- isAutoincrement: false;
8288
- hasRuntimeDefault: false;
8289
- enumValues: undefined;
8290
- identity: undefined;
8291
- generated: undefined;
8292
- }>;
8293
- document_external_id: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
8294
- name: string;
8295
- tableName: "binary_artifacts";
8296
- dataType: "string";
8297
- data: string;
8298
- driverParam: string;
8299
- notNull: false;
8300
- hasDefault: false;
8301
- isPrimaryKey: false;
8302
- isAutoincrement: false;
8303
- hasRuntimeDefault: false;
8304
- enumValues: undefined;
8305
- identity: undefined;
8306
- generated: undefined;
8307
- }>;
8308
- created_at: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifacts", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
8309
- name: string;
8310
- tableName: "binary_artifacts";
8311
- dataType: "number int53";
8312
- data: number;
8313
- driverParam: string | number;
8314
- notNull: true;
8315
- hasDefault: false;
8316
- isPrimaryKey: false;
8317
- isAutoincrement: false;
8318
- hasRuntimeDefault: false;
8319
- enumValues: undefined;
8320
- identity: undefined;
8321
- generated: undefined;
8322
- }>;
8323
- };
8324
- dialect: 'pg';
8325
- }>;
8326
- export declare const binaryArtifactBlobs: import("drizzle-orm/pg-core").PgTableWithColumns<{
8327
- name: "binary_artifact_blobs";
8328
- schema: undefined;
8329
- columns: {
8330
- storage_key: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifact_blobs", import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
8331
- name: string;
8332
- tableName: "binary_artifact_blobs";
8333
- dataType: "string";
8334
- data: string;
8335
- driverParam: string;
8336
- notNull: true;
8337
- hasDefault: false;
8338
- isPrimaryKey: false;
8339
- isAutoincrement: false;
8340
- hasRuntimeDefault: false;
8341
- enumValues: undefined;
8342
- identity: undefined;
8343
- generated: undefined;
8344
- }>;
8345
- bytes: import("drizzle-orm/pg-core").PgBuildColumn<"binary_artifact_blobs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgCustomColumnBuilder<{
8346
- dataType: 'custom';
8347
- data: Uint8Array<ArrayBufferLike>;
8348
- driverParam: Buffer<ArrayBufferLike>;
8349
- }>>, {
8350
- name: string;
8351
- tableName: "binary_artifact_blobs";
8352
- dataType: "custom";
8353
- data: Uint8Array<ArrayBufferLike>;
8354
- driverParam: Buffer<ArrayBufferLike>;
8355
- notNull: true;
8356
- hasDefault: false;
8357
- isPrimaryKey: false;
8358
- isAutoincrement: false;
8359
- hasRuntimeDefault: false;
8360
- enumValues: undefined;
8361
- identity: undefined;
8362
- generated: undefined;
8363
- }>;
8364
- };
8365
- dialect: 'pg';
8366
- }>;
8154
+ export { binaryArtifacts, binaryArtifactBlobs } from './tables/binary.js';
8367
8155
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/db/schema.ts"],"names":[],"mappings":"AAyCA,cAAc,sBAAsB,CAAA;AAEpC,cAAc,mCAAmC,CAAA;AAMjD,cAAc,sBAAsB,CAAA;AAMpC,cAAc,8BAA8B,CAAA;AAE5C,cAAc,2BAA2B,CAAA;AAGzC,cAAc,mBAAmB,CAAA;AAOjC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIzB,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCzB,CAAA;AAMD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBnC,CAAA;AAKD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc/B,CAAA;AAMD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYvB,CAAA;AAMD,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,iBAAiB,GAClB,MAAM,iBAAiB,CAAA;AAOxB,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA"}
package/dist/db/schema.js CHANGED
@@ -1,18 +1,5 @@
1
1
  import { sql } from 'drizzle-orm';
2
- import { bigint, customType, doublePrecision, index, integer, pgSchema, pgTable, primaryKey, serial, text, uniqueIndex, } from 'drizzle-orm/pg-core';
3
- // Raw binary column (Postgres `bytea`), used by the Node-only `binary_artifact_blobs`
4
- // store-in-DB blob backend. Reads/writes as a `Uint8Array`.
5
- const bytea = customType({
6
- dataType() {
7
- return 'bytea';
8
- },
9
- toDriver(value) {
10
- return Buffer.from(value);
11
- },
12
- fromDriver(value) {
13
- return new Uint8Array(value);
14
- },
15
- });
2
+ import { bigint, doublePrecision, index, integer, pgSchema, pgTable, primaryKey, serial, text, uniqueIndex, } from 'drizzle-orm/pg-core';
16
3
  // Postgres schema mirroring the Cloudflare D1 tables column-for-column (snake_case
17
4
  // field names = column names) so the shared row<->domain mappers in
18
5
  // @cat-factory/server work unchanged against either store. JSON-shaped columns are
@@ -252,12 +239,32 @@ export const pipelines = pgTable('pipelines', {
252
239
  // `'planning'` (mirror of D1 migration 0056_pipeline_purpose). NULL/absent ⇒ unclassified.
253
240
  // Drives the task pickers (a `document` task offers only `'document'`) and the builder palette.
254
241
  purpose: text('purpose'),
242
+ // The workspace's DECLARED default pipeline per resolution scope (mirror of D1 migration
243
+ // 0091_pipeline_defaults): `is_default` for a run somebody started in the app, and
244
+ // `is_unattended_default` for one nothing is watching. NULL/absent on every row means the
245
+ // scope has no declared default and its own fallback answers (the interface-mode rung in the
246
+ // app; catalog order behind it) — which is why neither is `NOT NULL DEFAULT 0`: "nobody said"
247
+ // is a real state here, unlike on `merge_threshold_presets` where a default always resolves.
248
+ is_default: integer('is_default'),
249
+ is_unattended_default: integer('is_unattended_default'),
255
250
  // Monotonic insert sequence (Postgres has no SQLite rowid): a workspace's pipelines
256
251
  // are read back in the order they were seeded — the curated `seedPipelines()` order
257
252
  // — so the catalog order (and the UI's default `pipelines[0]`) is deterministic and
258
253
  // matches the Cloudflare facade (which orders by `rowid`). Auto-assigned on insert.
259
254
  seq: serial('seq').notNull(),
260
- }, (t) => [primaryKey({ columns: [t.workspace_id, t.id] })]);
255
+ }, (t) => [
256
+ primaryKey({ columns: [t.workspace_id, t.id] }),
257
+ // One row per scope may claim a default, enforced by the store rather than by the writer
258
+ // remembering to demote: a partial unique index, so the many rows claiming NEITHER do not
259
+ // collide (a plain unique index on a nullable column would allow only one NULL on some
260
+ // engines and is the wrong statement anyway).
261
+ uniqueIndex('idx_pipelines_default')
262
+ .on(t.workspace_id)
263
+ .where(sql `${t.is_default} = 1`),
264
+ uniqueIndex('idx_pipelines_unattended_default')
265
+ .on(t.workspace_id)
266
+ .where(sql `${t.is_unattended_default} = 1`),
267
+ ]);
261
268
  export const agentRuns = pgTable('agent_runs', {
262
269
  workspace_id: text('workspace_id').notNull(),
263
270
  id: text('id').notNull(),
@@ -868,6 +875,14 @@ export const riskPolicies = pgTable('merge_threshold_presets', {
868
875
  // give up (`attended` | `unattended`; see `runAutonomySchema`). Defaults to the historical
869
876
  // behaviour, which is to stop for a person.
870
877
  autonomy: text('autonomy').notNull().default('attended'),
878
+ // The confidence floor a Requirement-Writer suggestion must report for an `unattended` run to
879
+ // take it as a review finding's answer rather than parking (mirror of D1
880
+ // 0091_pipeline_defaults). Read only under `unattended`, so the default is the shipped floor
881
+ // rather than 0: a policy that never reads it is unaffected either way, and one that does
882
+ // should not start out accepting an ungraded answer.
883
+ min_auto_answer_confidence: doublePrecision('min_auto_answer_confidence')
884
+ .notNull()
885
+ .default(0.8),
871
886
  is_default: integer('is_default').notNull().default(0),
872
887
  // The workspace's default for a run NOTHING is watching (the public API, a tracker dispatch,
873
888
  // a schedule fire). Independent of `is_default`: one row may hold both, and each scope has
@@ -1218,45 +1233,10 @@ export const userSecrets = pgTable('user_secrets', {
1218
1233
  // `tables/vcs.ts` — one cohesive group, extracted to keep this module inside its size budget —
1219
1234
  // and are re-exported below so every `from '../db/schema.js'` importer is unaffected.
1220
1235
  export { githubInstallations, githubRepos, githubUserRepoAccess, githubBranches, githubPullRequests, githubIssues, githubCommits, githubCheckRuns, githubSyncCursors, } from './tables/vcs.js';
1221
- // Binary-artifact METADATA (mirror of D1 migration 0017). The bytes live in a blob
1222
- // backend keyed by `storage_key` (R2 / S3 / the `binary_artifact_blobs` table below);
1223
- // this table holds only the queryable metadata, identical column-for-column to D1.
1224
- export const binaryArtifacts = pgTable('binary_artifacts', {
1225
- workspace_id: text('workspace_id').notNull(),
1226
- id: text('id').notNull(),
1227
- execution_id: text('execution_id'),
1228
- block_id: text('block_id'),
1229
- kind: text('kind').notNull(),
1230
- view: text('view'),
1231
- content_type: text('content_type').notNull(),
1232
- byte_size: integer('byte_size').notNull(),
1233
- hash: text('hash').notNull(),
1234
- storage: text('storage').notNull(),
1235
- storage_key: text('storage_key').notNull(),
1236
- // The imported document this artifact was rendered FROM (mirror of D1 migration 0087), or NULL
1237
- // for one a person uploaded. The document's own source identity rather than the block it is
1238
- // attached to: an import runs before any attachment exists, and only document-sourced artifacts
1239
- // are replaced wholesale on a re-import.
1240
- document_source: text('document_source'),
1241
- document_external_id: text('document_external_id'),
1242
- created_at: bigint('created_at', { mode: 'number' }).notNull(),
1243
- }, (t) => [
1244
- primaryKey({ columns: [t.workspace_id, t.id] }),
1245
- index('idx_binary_artifacts_execution').on(t.workspace_id, t.execution_id),
1246
- index('idx_binary_artifacts_block').on(t.workspace_id, t.block_id),
1247
- // The re-import reclaim deletes every artifact rendered from one document, so it is an indexed
1248
- // range delete rather than a per-workspace scan.
1249
- index('idx_binary_artifacts_document').on(t.workspace_id, t.document_source, t.document_external_id),
1250
- // The per-workspace retention sweep filters on `created_at`; index it so the prune is an
1251
- // indexed range delete (mirrors the D1 idx_binary_artifacts_created index).
1252
- index('idx_binary_artifacts_created').on(t.workspace_id, t.created_at),
1253
- ]);
1254
- // Node-ONLY blob backend: when an account selects the `db` content-storage backend, the
1255
- // bytes live in this Postgres `bytea` table (keyed by the artifact's `storage_key`). There
1256
- // is no D1 equivalent — on Cloudflare blobs always go to R2 (D1 can't hold large values), so
1257
- // this store-in-DB backend genuinely cannot exist on the Worker runtime.
1258
- export const binaryArtifactBlobs = pgTable('binary_artifact_blobs', {
1259
- storage_key: text('storage_key').primaryKey(),
1260
- bytes: bytea('bytes').notNull(),
1261
- });
1236
+ // The BINARY-artifact tables (the queryable metadata mirror of D1, plus the Node-only
1237
+ // store-in-DB blob backend and the `bytea` column type only it uses) live in
1238
+ // `tables/binary.ts` one cohesive group, extracted to keep this module inside its size
1239
+ // budget and are re-exported below so every `from '../db/schema.js'` importer is
1240
+ // unaffected and drizzle-kit still sees the tables through that entry point.
1241
+ export { binaryArtifacts, binaryArtifactBlobs } from './tables/binary.js';
1262
1242
  //# sourceMappingURL=schema.js.map