@cat-factory/node-server 0.26.0 → 0.27.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/container.d.ts.map +1 -1
- package/dist/container.js +7 -2
- package/dist/container.js.map +1 -1
- package/dist/db/schema.d.ts +15 -0
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/schema.js +1 -0
- package/dist/db/schema.js.map +1 -1
- package/dist/execution/pgBossRunner.d.ts.map +1 -1
- package/dist/execution/pgBossRunner.js +8 -1
- package/dist/execution/pgBossRunner.js.map +1 -1
- package/dist/repositories/drizzle.d.ts.map +1 -1
- package/dist/repositories/drizzle.js +3 -0
- package/dist/repositories/drizzle.js.map +1 -1
- package/drizzle/20260626163949_tan_blacklash/migration.sql +1 -0
- package/drizzle/20260626163949_tan_blacklash/snapshot.json +11525 -0
- package/drizzle/20260626190431_gorgeous_spirit/snapshot.json +252 -3
- package/package.json +15 -15
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "8",
|
|
3
2
|
"dialect": "postgres",
|
|
4
|
-
"id": "
|
|
3
|
+
"id": "f9bb450d-f49d-450b-9ba5-b912ddda07e6",
|
|
5
4
|
"prevIds": [
|
|
6
|
-
"
|
|
5
|
+
"2b431dbc-8987-4098-994f-0524a47d55d6",
|
|
6
|
+
"93b58aea-6bbd-484a-aa67-ff3c67b0735b",
|
|
7
|
+
"95ea1628-a8f4-4440-b645-36e9b2b2e87f"
|
|
7
8
|
],
|
|
9
|
+
"version": "8",
|
|
8
10
|
"ddl": [
|
|
9
11
|
{
|
|
10
12
|
"name": "provisioning",
|
|
@@ -54,6 +56,12 @@
|
|
|
54
56
|
"entityType": "tables",
|
|
55
57
|
"schema": "public"
|
|
56
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"isRlsEnabled": false,
|
|
61
|
+
"name": "brainstorm_sessions",
|
|
62
|
+
"entityType": "tables",
|
|
63
|
+
"schema": "public"
|
|
64
|
+
},
|
|
57
65
|
{
|
|
58
66
|
"isRlsEnabled": false,
|
|
59
67
|
"name": "clarity_reviews",
|
|
@@ -1583,6 +1591,162 @@
|
|
|
1583
1591
|
"schema": "public",
|
|
1584
1592
|
"table": "blocks"
|
|
1585
1593
|
},
|
|
1594
|
+
{
|
|
1595
|
+
"type": "text",
|
|
1596
|
+
"typeSchema": null,
|
|
1597
|
+
"notNull": true,
|
|
1598
|
+
"dimensions": 0,
|
|
1599
|
+
"default": null,
|
|
1600
|
+
"generated": null,
|
|
1601
|
+
"identity": null,
|
|
1602
|
+
"name": "workspace_id",
|
|
1603
|
+
"entityType": "columns",
|
|
1604
|
+
"schema": "public",
|
|
1605
|
+
"table": "brainstorm_sessions"
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"type": "text",
|
|
1609
|
+
"typeSchema": null,
|
|
1610
|
+
"notNull": true,
|
|
1611
|
+
"dimensions": 0,
|
|
1612
|
+
"default": null,
|
|
1613
|
+
"generated": null,
|
|
1614
|
+
"identity": null,
|
|
1615
|
+
"name": "id",
|
|
1616
|
+
"entityType": "columns",
|
|
1617
|
+
"schema": "public",
|
|
1618
|
+
"table": "brainstorm_sessions"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"type": "text",
|
|
1622
|
+
"typeSchema": null,
|
|
1623
|
+
"notNull": true,
|
|
1624
|
+
"dimensions": 0,
|
|
1625
|
+
"default": null,
|
|
1626
|
+
"generated": null,
|
|
1627
|
+
"identity": null,
|
|
1628
|
+
"name": "block_id",
|
|
1629
|
+
"entityType": "columns",
|
|
1630
|
+
"schema": "public",
|
|
1631
|
+
"table": "brainstorm_sessions"
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
"type": "text",
|
|
1635
|
+
"typeSchema": null,
|
|
1636
|
+
"notNull": true,
|
|
1637
|
+
"dimensions": 0,
|
|
1638
|
+
"default": null,
|
|
1639
|
+
"generated": null,
|
|
1640
|
+
"identity": null,
|
|
1641
|
+
"name": "stage",
|
|
1642
|
+
"entityType": "columns",
|
|
1643
|
+
"schema": "public",
|
|
1644
|
+
"table": "brainstorm_sessions"
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"type": "text",
|
|
1648
|
+
"typeSchema": null,
|
|
1649
|
+
"notNull": true,
|
|
1650
|
+
"dimensions": 0,
|
|
1651
|
+
"default": null,
|
|
1652
|
+
"generated": null,
|
|
1653
|
+
"identity": null,
|
|
1654
|
+
"name": "status",
|
|
1655
|
+
"entityType": "columns",
|
|
1656
|
+
"schema": "public",
|
|
1657
|
+
"table": "brainstorm_sessions"
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"type": "text",
|
|
1661
|
+
"typeSchema": null,
|
|
1662
|
+
"notNull": true,
|
|
1663
|
+
"dimensions": 0,
|
|
1664
|
+
"default": "'[]'",
|
|
1665
|
+
"generated": null,
|
|
1666
|
+
"identity": null,
|
|
1667
|
+
"name": "items",
|
|
1668
|
+
"entityType": "columns",
|
|
1669
|
+
"schema": "public",
|
|
1670
|
+
"table": "brainstorm_sessions"
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"type": "text",
|
|
1674
|
+
"typeSchema": null,
|
|
1675
|
+
"notNull": false,
|
|
1676
|
+
"dimensions": 0,
|
|
1677
|
+
"default": null,
|
|
1678
|
+
"generated": null,
|
|
1679
|
+
"identity": null,
|
|
1680
|
+
"name": "model",
|
|
1681
|
+
"entityType": "columns",
|
|
1682
|
+
"schema": "public",
|
|
1683
|
+
"table": "brainstorm_sessions"
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"type": "text",
|
|
1687
|
+
"typeSchema": null,
|
|
1688
|
+
"notNull": false,
|
|
1689
|
+
"dimensions": 0,
|
|
1690
|
+
"default": null,
|
|
1691
|
+
"generated": null,
|
|
1692
|
+
"identity": null,
|
|
1693
|
+
"name": "converged_direction",
|
|
1694
|
+
"entityType": "columns",
|
|
1695
|
+
"schema": "public",
|
|
1696
|
+
"table": "brainstorm_sessions"
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
"type": "integer",
|
|
1700
|
+
"typeSchema": null,
|
|
1701
|
+
"notNull": true,
|
|
1702
|
+
"dimensions": 0,
|
|
1703
|
+
"default": "1",
|
|
1704
|
+
"generated": null,
|
|
1705
|
+
"identity": null,
|
|
1706
|
+
"name": "iteration",
|
|
1707
|
+
"entityType": "columns",
|
|
1708
|
+
"schema": "public",
|
|
1709
|
+
"table": "brainstorm_sessions"
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"type": "integer",
|
|
1713
|
+
"typeSchema": null,
|
|
1714
|
+
"notNull": true,
|
|
1715
|
+
"dimensions": 0,
|
|
1716
|
+
"default": "1",
|
|
1717
|
+
"generated": null,
|
|
1718
|
+
"identity": null,
|
|
1719
|
+
"name": "max_iterations",
|
|
1720
|
+
"entityType": "columns",
|
|
1721
|
+
"schema": "public",
|
|
1722
|
+
"table": "brainstorm_sessions"
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"type": "bigint",
|
|
1726
|
+
"typeSchema": null,
|
|
1727
|
+
"notNull": true,
|
|
1728
|
+
"dimensions": 0,
|
|
1729
|
+
"default": null,
|
|
1730
|
+
"generated": null,
|
|
1731
|
+
"identity": null,
|
|
1732
|
+
"name": "created_at",
|
|
1733
|
+
"entityType": "columns",
|
|
1734
|
+
"schema": "public",
|
|
1735
|
+
"table": "brainstorm_sessions"
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"type": "bigint",
|
|
1739
|
+
"typeSchema": null,
|
|
1740
|
+
"notNull": true,
|
|
1741
|
+
"dimensions": 0,
|
|
1742
|
+
"default": null,
|
|
1743
|
+
"generated": null,
|
|
1744
|
+
"identity": null,
|
|
1745
|
+
"name": "updated_at",
|
|
1746
|
+
"entityType": "columns",
|
|
1747
|
+
"schema": "public",
|
|
1748
|
+
"table": "brainstorm_sessions"
|
|
1749
|
+
},
|
|
1586
1750
|
{
|
|
1587
1751
|
"type": "text",
|
|
1588
1752
|
"typeSchema": null,
|
|
@@ -4755,6 +4919,19 @@
|
|
|
4755
4919
|
"schema": "public",
|
|
4756
4920
|
"table": "merge_threshold_presets"
|
|
4757
4921
|
},
|
|
4922
|
+
{
|
|
4923
|
+
"type": "integer",
|
|
4924
|
+
"typeSchema": null,
|
|
4925
|
+
"notNull": true,
|
|
4926
|
+
"dimensions": 0,
|
|
4927
|
+
"default": "10",
|
|
4928
|
+
"generated": null,
|
|
4929
|
+
"identity": null,
|
|
4930
|
+
"name": "human_review_grace_minutes",
|
|
4931
|
+
"entityType": "columns",
|
|
4932
|
+
"schema": "public",
|
|
4933
|
+
"table": "merge_threshold_presets"
|
|
4934
|
+
},
|
|
4758
4935
|
{
|
|
4759
4936
|
"type": "integer",
|
|
4760
4937
|
"typeSchema": null,
|
|
@@ -9188,6 +9365,32 @@
|
|
|
9188
9365
|
"schema": "public",
|
|
9189
9366
|
"table": "workspace_settings"
|
|
9190
9367
|
},
|
|
9368
|
+
{
|
|
9369
|
+
"type": "integer",
|
|
9370
|
+
"typeSchema": null,
|
|
9371
|
+
"notNull": true,
|
|
9372
|
+
"dimensions": 0,
|
|
9373
|
+
"default": "0",
|
|
9374
|
+
"generated": null,
|
|
9375
|
+
"identity": null,
|
|
9376
|
+
"name": "delegate_agents_to_runner_pool",
|
|
9377
|
+
"entityType": "columns",
|
|
9378
|
+
"schema": "public",
|
|
9379
|
+
"table": "workspace_settings"
|
|
9380
|
+
},
|
|
9381
|
+
{
|
|
9382
|
+
"type": "integer",
|
|
9383
|
+
"typeSchema": null,
|
|
9384
|
+
"notNull": true,
|
|
9385
|
+
"dimensions": 0,
|
|
9386
|
+
"default": "0",
|
|
9387
|
+
"generated": null,
|
|
9388
|
+
"identity": null,
|
|
9389
|
+
"name": "delegate_test_env_to_provider",
|
|
9390
|
+
"entityType": "columns",
|
|
9391
|
+
"schema": "public",
|
|
9392
|
+
"table": "workspace_settings"
|
|
9393
|
+
},
|
|
9191
9394
|
{
|
|
9192
9395
|
"type": "text",
|
|
9193
9396
|
"typeSchema": null,
|
|
@@ -9614,6 +9817,41 @@
|
|
|
9614
9817
|
"schema": "public",
|
|
9615
9818
|
"table": "blocks"
|
|
9616
9819
|
},
|
|
9820
|
+
{
|
|
9821
|
+
"nameExplicit": true,
|
|
9822
|
+
"columns": [
|
|
9823
|
+
{
|
|
9824
|
+
"value": "workspace_id",
|
|
9825
|
+
"isExpression": false,
|
|
9826
|
+
"asc": true,
|
|
9827
|
+
"nullsFirst": false,
|
|
9828
|
+
"opclass": null
|
|
9829
|
+
},
|
|
9830
|
+
{
|
|
9831
|
+
"value": "block_id",
|
|
9832
|
+
"isExpression": false,
|
|
9833
|
+
"asc": true,
|
|
9834
|
+
"nullsFirst": false,
|
|
9835
|
+
"opclass": null
|
|
9836
|
+
},
|
|
9837
|
+
{
|
|
9838
|
+
"value": "stage",
|
|
9839
|
+
"isExpression": false,
|
|
9840
|
+
"asc": true,
|
|
9841
|
+
"nullsFirst": false,
|
|
9842
|
+
"opclass": null
|
|
9843
|
+
}
|
|
9844
|
+
],
|
|
9845
|
+
"isUnique": false,
|
|
9846
|
+
"where": null,
|
|
9847
|
+
"with": "",
|
|
9848
|
+
"method": "btree",
|
|
9849
|
+
"concurrently": false,
|
|
9850
|
+
"name": "idx_brainstorm_sessions_block_stage",
|
|
9851
|
+
"entityType": "indexes",
|
|
9852
|
+
"schema": "public",
|
|
9853
|
+
"table": "brainstorm_sessions"
|
|
9854
|
+
},
|
|
9617
9855
|
{
|
|
9618
9856
|
"nameExplicit": true,
|
|
9619
9857
|
"columns": [
|
|
@@ -11344,6 +11582,17 @@
|
|
|
11344
11582
|
"schema": "public",
|
|
11345
11583
|
"table": "blocks"
|
|
11346
11584
|
},
|
|
11585
|
+
{
|
|
11586
|
+
"columns": [
|
|
11587
|
+
"workspace_id",
|
|
11588
|
+
"id"
|
|
11589
|
+
],
|
|
11590
|
+
"nameExplicit": false,
|
|
11591
|
+
"name": "brainstorm_sessions_pkey",
|
|
11592
|
+
"entityType": "pks",
|
|
11593
|
+
"schema": "public",
|
|
11594
|
+
"table": "brainstorm_sessions"
|
|
11595
|
+
},
|
|
11347
11596
|
{
|
|
11348
11597
|
"columns": [
|
|
11349
11598
|
"workspace_id",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/node-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"description": "Node.js runtime facade for the Agent Architecture Board: serves the shared @cat-factory/server Hono app via @hono/node-server, wiring Node implementations of the runtime ports (persistence, gateways, model provisioning).",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
"pg": "^8.22.0",
|
|
32
32
|
"pg-boss": "^12.21.0",
|
|
33
33
|
"ws": "^8.21.0",
|
|
34
|
-
"@cat-factory/agents": "0.
|
|
35
|
-
"@cat-factory/consensus": "0.7.
|
|
36
|
-
"@cat-factory/
|
|
37
|
-
"@cat-factory/
|
|
38
|
-
"@cat-factory/
|
|
39
|
-
"@cat-factory/kernel": "0.
|
|
40
|
-
"@cat-factory/observability-langfuse": "0.7.
|
|
41
|
-
"@cat-factory/orchestration": "0.
|
|
42
|
-
"@cat-factory/prompt-fragments": "0.7.
|
|
43
|
-
"@cat-factory/provider-bedrock": "0.7.
|
|
44
|
-
"@cat-factory/provider-cloudflare": "0.7.
|
|
45
|
-
"@cat-factory/server": "0.
|
|
46
|
-
"@cat-factory/spend": "0.10.
|
|
34
|
+
"@cat-factory/agents": "0.18.1",
|
|
35
|
+
"@cat-factory/consensus": "0.7.48",
|
|
36
|
+
"@cat-factory/contracts": "0.35.0",
|
|
37
|
+
"@cat-factory/gates": "0.2.1",
|
|
38
|
+
"@cat-factory/integrations": "0.23.1",
|
|
39
|
+
"@cat-factory/kernel": "0.38.0",
|
|
40
|
+
"@cat-factory/observability-langfuse": "0.7.45",
|
|
41
|
+
"@cat-factory/orchestration": "0.28.1",
|
|
42
|
+
"@cat-factory/prompt-fragments": "0.7.33",
|
|
43
|
+
"@cat-factory/provider-bedrock": "0.7.48",
|
|
44
|
+
"@cat-factory/provider-cloudflare": "0.7.48",
|
|
45
|
+
"@cat-factory/server": "0.32.0",
|
|
46
|
+
"@cat-factory/spend": "0.10.6"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/node": "^26.0.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"drizzle-kit": "1.0.0-rc.3",
|
|
53
53
|
"typescript": "7.0.1-rc",
|
|
54
54
|
"vitest": "^4.1.9",
|
|
55
|
-
"@cat-factory/conformance": "0.8.
|
|
55
|
+
"@cat-factory/conformance": "0.8.4"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsc -b tsconfig.build.json",
|