@happyvertical/smrt-agents 0.40.69 → 0.41.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.
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-agents",
5
- "packageVersion": "0.40.69",
5
+ "packageVersion": "0.41.0",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-agents:Agent": {
8
8
  "name": "agent",
@@ -710,7 +710,13 @@
710
710
  "tableStrategy": "sti",
711
711
  "tenantScoped": {
712
712
  "mode": "optional"
713
- }
713
+ },
714
+ "conflictColumns": [
715
+ "tenant_id",
716
+ "slug",
717
+ "context",
718
+ "_meta_type"
719
+ ]
714
720
  },
715
721
  "extends": "SmrtObject",
716
722
  "exportName": "Agent",
@@ -769,15 +775,10 @@
769
775
  }
770
776
  },
771
777
  "indexes": [
772
- {
773
- "name": "agents_id_idx",
774
- "columns": [
775
- "id"
776
- ]
777
- },
778
778
  {
779
779
  "name": "agents_slug_context_meta_type_idx",
780
780
  "columns": [
781
+ "tenant_id",
781
782
  "slug",
782
783
  "context",
783
784
  "_meta_type"
@@ -789,6 +790,13 @@
789
790
  "columns": [
790
791
  "_meta_type"
791
792
  ]
793
+ },
794
+ {
795
+ "name": "agents_tenant_id_created_at_idx",
796
+ "columns": [
797
+ "tenant_id",
798
+ "created_at"
799
+ ]
792
800
  }
793
801
  ],
794
802
  "version": "dde8777b"
@@ -952,7 +960,12 @@
952
960
  "cli": true,
953
961
  "tenantScoped": {
954
962
  "mode": "optional"
955
- }
963
+ },
964
+ "conflictColumns": [
965
+ "tenant_id",
966
+ "slug",
967
+ "context"
968
+ ]
956
969
  },
957
970
  "extends": "SmrtObject",
958
971
  "exportName": "AgentConfig",
@@ -1019,19 +1032,21 @@
1019
1032
  }
1020
1033
  },
1021
1034
  "indexes": [
1022
- {
1023
- "name": "agent_configs_id_idx",
1024
- "columns": [
1025
- "id"
1026
- ]
1027
- },
1028
1035
  {
1029
1036
  "name": "agent_configs_slug_context_idx",
1030
1037
  "columns": [
1038
+ "tenant_id",
1031
1039
  "slug",
1032
1040
  "context"
1033
1041
  ],
1034
1042
  "unique": true
1043
+ },
1044
+ {
1045
+ "name": "agent_configs_tenant_id_created_at_idx",
1046
+ "columns": [
1047
+ "tenant_id",
1048
+ "created_at"
1049
+ ]
1035
1050
  }
1036
1051
  ],
1037
1052
  "version": "25c6ac4c"
@@ -1121,12 +1136,6 @@
1121
1136
  }
1122
1137
  },
1123
1138
  "indexes": [
1124
- {
1125
- "name": "agent_configs_id_idx",
1126
- "columns": [
1127
- "id"
1128
- ]
1129
- },
1130
1139
  {
1131
1140
  "name": "agent_configs_slug_context_idx",
1132
1141
  "columns": [
@@ -1134,6 +1143,12 @@
1134
1143
  "context"
1135
1144
  ],
1136
1145
  "unique": true
1146
+ },
1147
+ {
1148
+ "name": "agent_configs_created_at_idx",
1149
+ "columns": [
1150
+ "created_at"
1151
+ ]
1137
1152
  }
1138
1153
  ],
1139
1154
  "version": "9162bcd3"
@@ -1364,9 +1379,24 @@
1364
1379
  "get"
1365
1380
  ]
1366
1381
  },
1382
+ "indexes": [
1383
+ {
1384
+ "name": "_smrt_agent_schedules_enabled_status_next_run_idx",
1385
+ "columns": [
1386
+ "enabled",
1387
+ "status",
1388
+ "nextRun"
1389
+ ]
1390
+ }
1391
+ ],
1367
1392
  "tenantScoped": {
1368
1393
  "mode": "optional"
1369
- }
1394
+ },
1395
+ "conflictColumns": [
1396
+ "tenant_id",
1397
+ "slug",
1398
+ "context"
1399
+ ]
1370
1400
  },
1371
1401
  "extends": "SmrtObject",
1372
1402
  "exportName": "AgentSchedule",
@@ -1503,19 +1533,29 @@
1503
1533
  }
1504
1534
  },
1505
1535
  "indexes": [
1506
- {
1507
- "name": "_smrt_agent_schedules_id_idx",
1508
- "columns": [
1509
- "id"
1510
- ]
1511
- },
1512
1536
  {
1513
1537
  "name": "_smrt_agent_schedules_slug_context_idx",
1514
1538
  "columns": [
1539
+ "tenant_id",
1515
1540
  "slug",
1516
1541
  "context"
1517
1542
  ],
1518
1543
  "unique": true
1544
+ },
1545
+ {
1546
+ "name": "_smrt_agent_schedules_enabled_status_next_run_idx",
1547
+ "columns": [
1548
+ "enabled",
1549
+ "status",
1550
+ "next_run"
1551
+ ]
1552
+ },
1553
+ {
1554
+ "name": "_smrt_agent_schedules_tenant_id_created_at_idx",
1555
+ "columns": [
1556
+ "tenant_id",
1557
+ "created_at"
1558
+ ]
1519
1559
  }
1520
1560
  ],
1521
1561
  "version": "c21a1f29"
@@ -1643,12 +1683,6 @@
1643
1683
  }
1644
1684
  },
1645
1685
  "indexes": [
1646
- {
1647
- "name": "_smrt_agent_schedules_id_idx",
1648
- "columns": [
1649
- "id"
1650
- ]
1651
- },
1652
1686
  {
1653
1687
  "name": "_smrt_agent_schedules_slug_context_idx",
1654
1688
  "columns": [
@@ -1656,6 +1690,12 @@
1656
1690
  "context"
1657
1691
  ],
1658
1692
  "unique": true
1693
+ },
1694
+ {
1695
+ "name": "_smrt_agent_schedules_created_at_idx",
1696
+ "columns": [
1697
+ "created_at"
1698
+ ]
1659
1699
  }
1660
1700
  ],
1661
1701
  "version": "d45601b0"
@@ -1812,12 +1852,6 @@
1812
1852
  }
1813
1853
  },
1814
1854
  "indexes": [
1815
- {
1816
- "name": "tenant_agents_id_idx",
1817
- "columns": [
1818
- "id"
1819
- ]
1820
- },
1821
1855
  {
1822
1856
  "name": "tenant_agents_tenant_id_agent_class_idx",
1823
1857
  "columns": [
@@ -1825,6 +1859,20 @@
1825
1859
  "agent_class"
1826
1860
  ],
1827
1861
  "unique": true
1862
+ },
1863
+ {
1864
+ "name": "tenant_agents_slug_context_idx",
1865
+ "columns": [
1866
+ "slug",
1867
+ "context"
1868
+ ]
1869
+ },
1870
+ {
1871
+ "name": "tenant_agents_tenant_id_created_at_idx",
1872
+ "columns": [
1873
+ "tenant_id",
1874
+ "created_at"
1875
+ ]
1828
1876
  }
1829
1877
  ],
1830
1878
  "version": "9892a054"
@@ -2002,12 +2050,6 @@
2002
2050
  }
2003
2051
  },
2004
2052
  "indexes": [
2005
- {
2006
- "name": "tenant_agents_id_idx",
2007
- "columns": [
2008
- "id"
2009
- ]
2010
- },
2011
2053
  {
2012
2054
  "name": "tenant_agents_slug_context_idx",
2013
2055
  "columns": [
@@ -2015,6 +2057,12 @@
2015
2057
  "context"
2016
2058
  ],
2017
2059
  "unique": true
2060
+ },
2061
+ {
2062
+ "name": "tenant_agents_created_at_idx",
2063
+ "columns": [
2064
+ "created_at"
2065
+ ]
2018
2066
  }
2019
2067
  ],
2020
2068
  "version": "fbe7be99"
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.d.ts","sourceRoot":"","sources":["../src/schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,cAAc,EACd,UAAU,EAEX,MAAM,0BAA0B,CAAC;AAalC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAExE;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAYa,aAAc,SAAQ,UAAU;IAC3C;;;OAGG;IAEH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE/B,kEAAkE;IAElE,SAAS,EAAE,MAAM,CAAM;IAEvB,kEAAkE;IAElE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE9B;;;;;OAKG;IAEH,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAM;IAE1C,yDAAyD;IAEzD,IAAI,EAAE,MAAM,CAAM;IAElB,sDAAsD;IAEtD,QAAQ,EAAE,MAAM,CAAS;IAEzB,sCAAsC;IAEtC,OAAO,EAAE,OAAO,CAAQ;IAExB,8BAA8B;IAE9B,MAAM,EAAE,cAAc,CAAY;IAElC,kCAAkC;IAElC,OAAO,EAAE,IAAI,GAAG,IAAI,CAAQ;IAE5B,8BAA8B;IAE9B,OAAO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GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAI9D;;;;;;;;OAQG;IACG,UAAU,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;IAI5C;;;;;;;;OAQG;IACG,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAQjE;;OAEG;IACG,YAAY,CAChB,MAAM,EAAE,cAAc,GAAG,cAAc,EAAE,EACzC,OAAO,GAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAO,GAC/B,OAAO,CAAC,aAAa,EAAE,CAAC;IAU3B;;OAEG;IACG,eAAe,CACnB,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,OAAO,CAAA;KAAO,GAC1D,OAAO,CAAC,aAAa,EAAE,CAAC;CAgB5B;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,GAAE,MAAc,GAAG,IAAI,CA4D7E;AA8CD,eAAe,aAAa,CAAC"}
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-agents",
6
- "packageVersion": "0.40.69",
6
+ "packageVersion": "0.41.0",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "31fc0a96debab2925bbffb52c0754dd268f5c9937d1c3b97409768afdcc1e799",
11
- "packageJson": "551ea86cc869a259a6773dc4be3d5ab26ea08ebe8bb4a9efe3fe31db58108b50",
10
+ "manifest": "4bf980c8d85e28a41ec7a2b5dd8caf8075bf8afef494c86f1cdb2cc26c3b66c2",
11
+ "packageJson": "27f054ce163e791581585bcb4411e004d500ba58837f9b4f4c6e977519c5517e",
12
12
  "agents": "737f345126de4f98e96586ac78c8b366f838296a7e85d2fa90fad4f3ed6c7ed6"
13
13
  },
14
14
  "exports": [
@@ -527,6 +527,12 @@
527
527
  "field": "tenantId"
528
528
  },
529
529
  "tableStrategy": "sti",
530
+ "conflictColumns": [
531
+ "tenant_id",
532
+ "slug",
533
+ "context",
534
+ "_meta_type"
535
+ ],
530
536
  "surfaces": [],
531
537
  "relationshipFeatures": [
532
538
  "uuidColumns"
@@ -628,6 +634,11 @@
628
634
  "mode": "optional",
629
635
  "field": "tenantId"
630
636
  },
637
+ "conflictColumns": [
638
+ "tenant_id",
639
+ "slug",
640
+ "context"
641
+ ],
631
642
  "surfaces": [
632
643
  {
633
644
  "kind": "api",
@@ -935,6 +946,11 @@
935
946
  "mode": "optional",
936
947
  "field": "tenantId"
937
948
  },
949
+ "conflictColumns": [
950
+ "tenant_id",
951
+ "slug",
952
+ "context"
953
+ ],
938
954
  "surfaces": [
939
955
  {
940
956
  "kind": "api",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-agents",
3
- "version": "0.40.69",
3
+ "version": "0.41.0",
4
4
  "type": "module",
5
5
  "smrtRawPrimitives": "strict",
6
6
  "description": "Agent framework for building autonomous actors in the SMRT ecosystem",
@@ -59,13 +59,13 @@
59
59
  "@happyvertical/ai": "^0.88.0",
60
60
  "@happyvertical/files": "^0.88.0",
61
61
  "@happyvertical/utils": "^0.88.0",
62
- "@happyvertical/smrt-config": "0.40.69",
63
- "@happyvertical/smrt-core": "0.40.69",
64
- "@happyvertical/smrt-secrets": "0.40.69",
65
- "@happyvertical/smrt-tenancy": "0.40.69",
66
- "@happyvertical/smrt-types": "0.40.69",
67
- "@happyvertical/smrt-ui": "0.40.69",
68
- "@happyvertical/smrt-users": "0.40.69"
62
+ "@happyvertical/smrt-config": "0.41.0",
63
+ "@happyvertical/smrt-core": "0.41.0",
64
+ "@happyvertical/smrt-tenancy": "0.41.0",
65
+ "@happyvertical/smrt-secrets": "0.41.0",
66
+ "@happyvertical/smrt-types": "0.41.0",
67
+ "@happyvertical/smrt-ui": "0.41.0",
68
+ "@happyvertical/smrt-users": "0.41.0"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@happyvertical/logger": "^0.88.0",
@@ -82,7 +82,7 @@
82
82
  "typescript": "5.9.3",
83
83
  "vite": "8.1.4",
84
84
  "vitest": "4.1.10",
85
- "@happyvertical/smrt-vitest": "0.40.69"
85
+ "@happyvertical/smrt-vitest": "0.41.0"
86
86
  },
87
87
  "keywords": [
88
88
  "agent",