@happyvertical/smrt-agents 0.60.9 → 0.60.11
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +81 -21
- package/dist/smrt-knowledge.json +3 -3
- package/dist/smrt-knowledge.okf.md +100 -0
- package/package.json +18 -18
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-agents",
|
|
5
|
-
"packageVersion": "0.60.
|
|
5
|
+
"packageVersion": "0.60.11",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-agents:Agent": {
|
|
8
8
|
"name": "agent",
|
|
@@ -259,8 +259,14 @@
|
|
|
259
259
|
},
|
|
260
260
|
"schema": {
|
|
261
261
|
"tableName": "agents",
|
|
262
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"agents\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"status\" TEXT DEFAULT 'idle'\n);",
|
|
262
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"agents\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"status\" TEXT DEFAULT 'idle'\n);",
|
|
263
263
|
"columns": {
|
|
264
|
+
"_sync_origin_device_id": {
|
|
265
|
+
"type": "TEXT"
|
|
266
|
+
},
|
|
267
|
+
"_sync_revision": {
|
|
268
|
+
"type": "INTEGER"
|
|
269
|
+
},
|
|
264
270
|
"id": {
|
|
265
271
|
"type": "UUID",
|
|
266
272
|
"primaryKey": true,
|
|
@@ -331,7 +337,7 @@
|
|
|
331
337
|
]
|
|
332
338
|
}
|
|
333
339
|
],
|
|
334
|
-
"version": "
|
|
340
|
+
"version": "182cb523"
|
|
335
341
|
},
|
|
336
342
|
"importPath": "@happyvertical/smrt-agents"
|
|
337
343
|
},
|
|
@@ -512,8 +518,14 @@
|
|
|
512
518
|
"collectionExportName": "AgentConfigCollection",
|
|
513
519
|
"schema": {
|
|
514
520
|
"tableName": "agent_configs",
|
|
515
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"agent_configs\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"agent_id\" TEXT,\n \"agent_class\" TEXT,\n \"slot_id\" TEXT,\n \"config_data\" JSON,\n \"schema_version\" INTEGER\n);",
|
|
521
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"agent_configs\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"agent_id\" TEXT,\n \"agent_class\" TEXT,\n \"slot_id\" TEXT,\n \"config_data\" JSON,\n \"schema_version\" INTEGER\n);",
|
|
516
522
|
"columns": {
|
|
523
|
+
"_sync_origin_device_id": {
|
|
524
|
+
"type": "TEXT"
|
|
525
|
+
},
|
|
526
|
+
"_sync_revision": {
|
|
527
|
+
"type": "INTEGER"
|
|
528
|
+
},
|
|
517
529
|
"id": {
|
|
518
530
|
"type": "UUID",
|
|
519
531
|
"primaryKey": true,
|
|
@@ -590,7 +602,7 @@
|
|
|
590
602
|
]
|
|
591
603
|
}
|
|
592
604
|
],
|
|
593
|
-
"version": "
|
|
605
|
+
"version": "d97cedb8"
|
|
594
606
|
},
|
|
595
607
|
"importPath": "@happyvertical/smrt-agents"
|
|
596
608
|
},
|
|
@@ -670,8 +682,14 @@
|
|
|
670
682
|
],
|
|
671
683
|
"schema": {
|
|
672
684
|
"tableName": "agent_configs",
|
|
673
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"agent_configs\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"agent_id\" TEXT,\n \"agent_class\" TEXT,\n \"slot_id\" TEXT,\n \"config_data\" JSON,\n \"schema_version\" INTEGER\n);",
|
|
685
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"agent_configs\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"agent_id\" TEXT,\n \"agent_class\" TEXT,\n \"slot_id\" TEXT,\n \"config_data\" JSON,\n \"schema_version\" INTEGER\n);",
|
|
674
686
|
"columns": {
|
|
687
|
+
"_sync_origin_device_id": {
|
|
688
|
+
"type": "TEXT"
|
|
689
|
+
},
|
|
690
|
+
"_sync_revision": {
|
|
691
|
+
"type": "INTEGER"
|
|
692
|
+
},
|
|
675
693
|
"id": {
|
|
676
694
|
"type": "UUID",
|
|
677
695
|
"primaryKey": true,
|
|
@@ -748,7 +766,7 @@
|
|
|
748
766
|
]
|
|
749
767
|
}
|
|
750
768
|
],
|
|
751
|
-
"version": "
|
|
769
|
+
"version": "d97cedb8"
|
|
752
770
|
},
|
|
753
771
|
"importPath": "@happyvertical/smrt-agents"
|
|
754
772
|
},
|
|
@@ -1026,8 +1044,14 @@
|
|
|
1026
1044
|
"collectionExportName": "AgentScheduleCollection",
|
|
1027
1045
|
"schema": {
|
|
1028
1046
|
"tableName": "_smrt_agent_schedules",
|
|
1029
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"_smrt_agent_schedules\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"agent_type\" TEXT,\n \"agent_id\" TEXT,\n \"agent_config\" TEXT,\n \"cron\" TEXT,\n \"timezone\" TEXT,\n \"enabled\" BOOLEAN,\n \"status\" TEXT,\n \"last_run\" TIMESTAMP,\n \"next_run\" TIMESTAMP,\n \"last_status\" TEXT,\n \"last_error\" TEXT,\n \"run_count\" INTEGER,\n \"success_count\" INTEGER,\n \"failure_count\" INTEGER,\n \"max_concurrent\" INTEGER,\n \"running_count\" INTEGER,\n \"timeout\" INTEGER,\n \"method\" TEXT,\n \"method_args\" TEXT\n);",
|
|
1047
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"_smrt_agent_schedules\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"agent_type\" TEXT,\n \"agent_id\" TEXT,\n \"agent_config\" TEXT,\n \"cron\" TEXT,\n \"timezone\" TEXT,\n \"enabled\" BOOLEAN,\n \"status\" TEXT,\n \"last_run\" TIMESTAMP,\n \"next_run\" TIMESTAMP,\n \"last_status\" TEXT,\n \"last_error\" TEXT,\n \"run_count\" INTEGER,\n \"success_count\" INTEGER,\n \"failure_count\" INTEGER,\n \"max_concurrent\" INTEGER,\n \"running_count\" INTEGER,\n \"timeout\" INTEGER,\n \"method\" TEXT,\n \"method_args\" TEXT\n);",
|
|
1030
1048
|
"columns": {
|
|
1049
|
+
"_sync_origin_device_id": {
|
|
1050
|
+
"type": "TEXT"
|
|
1051
|
+
},
|
|
1052
|
+
"_sync_revision": {
|
|
1053
|
+
"type": "INTEGER"
|
|
1054
|
+
},
|
|
1031
1055
|
"id": {
|
|
1032
1056
|
"type": "UUID",
|
|
1033
1057
|
"primaryKey": true,
|
|
@@ -1182,7 +1206,7 @@
|
|
|
1182
1206
|
]
|
|
1183
1207
|
}
|
|
1184
1208
|
],
|
|
1185
|
-
"version": "
|
|
1209
|
+
"version": "d2d72032"
|
|
1186
1210
|
},
|
|
1187
1211
|
"importPath": "@happyvertical/smrt-agents"
|
|
1188
1212
|
},
|
|
@@ -1326,8 +1350,14 @@
|
|
|
1326
1350
|
],
|
|
1327
1351
|
"schema": {
|
|
1328
1352
|
"tableName": "_smrt_agent_schedules",
|
|
1329
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"_smrt_agent_schedules\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"agent_type\" TEXT,\n \"agent_id\" TEXT,\n \"agent_config\" TEXT,\n \"cron\" TEXT,\n \"timezone\" TEXT,\n \"enabled\" BOOLEAN,\n \"status\" TEXT,\n \"last_run\" TIMESTAMP,\n \"next_run\" TIMESTAMP,\n \"last_status\" TEXT,\n \"last_error\" TEXT,\n \"run_count\" INTEGER,\n \"success_count\" INTEGER,\n \"failure_count\" INTEGER,\n \"max_concurrent\" INTEGER,\n \"running_count\" INTEGER,\n \"timeout\" INTEGER,\n \"method\" TEXT,\n \"method_args\" TEXT\n);",
|
|
1353
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"_smrt_agent_schedules\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"agent_type\" TEXT,\n \"agent_id\" TEXT,\n \"agent_config\" TEXT,\n \"cron\" TEXT,\n \"timezone\" TEXT,\n \"enabled\" BOOLEAN,\n \"status\" TEXT,\n \"last_run\" TIMESTAMP,\n \"next_run\" TIMESTAMP,\n \"last_status\" TEXT,\n \"last_error\" TEXT,\n \"run_count\" INTEGER,\n \"success_count\" INTEGER,\n \"failure_count\" INTEGER,\n \"max_concurrent\" INTEGER,\n \"running_count\" INTEGER,\n \"timeout\" INTEGER,\n \"method\" TEXT,\n \"method_args\" TEXT\n);",
|
|
1330
1354
|
"columns": {
|
|
1355
|
+
"_sync_origin_device_id": {
|
|
1356
|
+
"type": "TEXT"
|
|
1357
|
+
},
|
|
1358
|
+
"_sync_revision": {
|
|
1359
|
+
"type": "INTEGER"
|
|
1360
|
+
},
|
|
1331
1361
|
"id": {
|
|
1332
1362
|
"type": "UUID",
|
|
1333
1363
|
"primaryKey": true,
|
|
@@ -1482,7 +1512,7 @@
|
|
|
1482
1512
|
]
|
|
1483
1513
|
}
|
|
1484
1514
|
],
|
|
1485
|
-
"version": "
|
|
1515
|
+
"version": "d2d72032"
|
|
1486
1516
|
},
|
|
1487
1517
|
"importPath": "@happyvertical/smrt-agents"
|
|
1488
1518
|
},
|
|
@@ -1567,8 +1597,14 @@
|
|
|
1567
1597
|
],
|
|
1568
1598
|
"schema": {
|
|
1569
1599
|
"tableName": "_smrt_data_surface_action_tasks",
|
|
1570
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"_smrt_data_surface_action_tasks\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"args\" JSON NOT NULL\n);",
|
|
1600
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"_smrt_data_surface_action_tasks\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"args\" JSON NOT NULL\n);",
|
|
1571
1601
|
"columns": {
|
|
1602
|
+
"_sync_origin_device_id": {
|
|
1603
|
+
"type": "TEXT"
|
|
1604
|
+
},
|
|
1605
|
+
"_sync_revision": {
|
|
1606
|
+
"type": "INTEGER"
|
|
1607
|
+
},
|
|
1572
1608
|
"id": {
|
|
1573
1609
|
"type": "UUID",
|
|
1574
1610
|
"primaryKey": true,
|
|
@@ -1625,7 +1661,7 @@
|
|
|
1625
1661
|
]
|
|
1626
1662
|
}
|
|
1627
1663
|
],
|
|
1628
|
-
"version": "
|
|
1664
|
+
"version": "1fb979e9"
|
|
1629
1665
|
},
|
|
1630
1666
|
"importPath": "@happyvertical/smrt-agents/server"
|
|
1631
1667
|
},
|
|
@@ -1684,8 +1720,14 @@
|
|
|
1684
1720
|
],
|
|
1685
1721
|
"schema": {
|
|
1686
1722
|
"tableName": "_smrt_data_surface_action_tokens",
|
|
1687
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"_smrt_data_surface_action_tokens\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"token_hash\" TEXT NOT NULL UNIQUE,\n \"record\" JSON NOT NULL,\n \"consumed_by\" TEXT\n);",
|
|
1723
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"_smrt_data_surface_action_tokens\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"token_hash\" TEXT NOT NULL UNIQUE,\n \"record\" JSON NOT NULL,\n \"consumed_by\" TEXT\n);",
|
|
1688
1724
|
"columns": {
|
|
1725
|
+
"_sync_origin_device_id": {
|
|
1726
|
+
"type": "TEXT"
|
|
1727
|
+
},
|
|
1728
|
+
"_sync_revision": {
|
|
1729
|
+
"type": "INTEGER"
|
|
1730
|
+
},
|
|
1689
1731
|
"id": {
|
|
1690
1732
|
"type": "UUID",
|
|
1691
1733
|
"primaryKey": true,
|
|
@@ -1743,7 +1785,7 @@
|
|
|
1743
1785
|
]
|
|
1744
1786
|
}
|
|
1745
1787
|
],
|
|
1746
|
-
"version": "
|
|
1788
|
+
"version": "3f4eccf8"
|
|
1747
1789
|
},
|
|
1748
1790
|
"importPath": "@happyvertical/smrt-agents/server"
|
|
1749
1791
|
},
|
|
@@ -1839,8 +1881,14 @@
|
|
|
1839
1881
|
],
|
|
1840
1882
|
"schema": {
|
|
1841
1883
|
"tableName": "_smrt_data_surface_action_idempotency",
|
|
1842
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"_smrt_data_surface_action_idempotency\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"key_hash\" TEXT NOT NULL UNIQUE,\n \"status\" TEXT NOT NULL,\n \"request_fingerprint\" TEXT NOT NULL,\n \"owner_hash\" TEXT,\n \"reserved_at\" TEXT,\n \"result\" JSON,\n \"recovery\" JSON\n);",
|
|
1884
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"_smrt_data_surface_action_idempotency\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"key_hash\" TEXT NOT NULL UNIQUE,\n \"status\" TEXT NOT NULL,\n \"request_fingerprint\" TEXT NOT NULL,\n \"owner_hash\" TEXT,\n \"reserved_at\" TEXT,\n \"result\" JSON,\n \"recovery\" JSON\n);",
|
|
1843
1885
|
"columns": {
|
|
1886
|
+
"_sync_origin_device_id": {
|
|
1887
|
+
"type": "TEXT"
|
|
1888
|
+
},
|
|
1889
|
+
"_sync_revision": {
|
|
1890
|
+
"type": "INTEGER"
|
|
1891
|
+
},
|
|
1844
1892
|
"id": {
|
|
1845
1893
|
"type": "UUID",
|
|
1846
1894
|
"primaryKey": true,
|
|
@@ -1918,7 +1966,7 @@
|
|
|
1918
1966
|
]
|
|
1919
1967
|
}
|
|
1920
1968
|
],
|
|
1921
|
-
"version": "
|
|
1969
|
+
"version": "bc104907"
|
|
1922
1970
|
},
|
|
1923
1971
|
"importPath": "@happyvertical/smrt-agents/server"
|
|
1924
1972
|
},
|
|
@@ -2017,8 +2065,14 @@
|
|
|
2017
2065
|
"validationRules": [],
|
|
2018
2066
|
"schema": {
|
|
2019
2067
|
"tableName": "tenant_agents",
|
|
2020
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"tenant_agents\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"agent_class\" TEXT,\n \"status\" TEXT,\n \"permissions\" JSON,\n \"config\" JSON\n);",
|
|
2068
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"tenant_agents\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"agent_class\" TEXT,\n \"status\" TEXT,\n \"permissions\" JSON,\n \"config\" JSON\n);",
|
|
2021
2069
|
"columns": {
|
|
2070
|
+
"_sync_origin_device_id": {
|
|
2071
|
+
"type": "TEXT"
|
|
2072
|
+
},
|
|
2073
|
+
"_sync_revision": {
|
|
2074
|
+
"type": "INTEGER"
|
|
2075
|
+
},
|
|
2022
2076
|
"id": {
|
|
2023
2077
|
"type": "UUID",
|
|
2024
2078
|
"primaryKey": true,
|
|
@@ -2096,7 +2150,7 @@
|
|
|
2096
2150
|
]
|
|
2097
2151
|
}
|
|
2098
2152
|
],
|
|
2099
|
-
"version": "
|
|
2153
|
+
"version": "554fa890"
|
|
2100
2154
|
},
|
|
2101
2155
|
"importPath": "@happyvertical/smrt-agents"
|
|
2102
2156
|
},
|
|
@@ -2271,8 +2325,14 @@
|
|
|
2271
2325
|
],
|
|
2272
2326
|
"schema": {
|
|
2273
2327
|
"tableName": "tenant_agents",
|
|
2274
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"tenant_agents\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"agent_class\" TEXT,\n \"status\" TEXT,\n \"permissions\" JSON,\n \"config\" JSON\n);",
|
|
2328
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"tenant_agents\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID NOT NULL,\n \"agent_class\" TEXT,\n \"status\" TEXT,\n \"permissions\" JSON,\n \"config\" JSON\n);",
|
|
2275
2329
|
"columns": {
|
|
2330
|
+
"_sync_origin_device_id": {
|
|
2331
|
+
"type": "TEXT"
|
|
2332
|
+
},
|
|
2333
|
+
"_sync_revision": {
|
|
2334
|
+
"type": "INTEGER"
|
|
2335
|
+
},
|
|
2276
2336
|
"id": {
|
|
2277
2337
|
"type": "UUID",
|
|
2278
2338
|
"primaryKey": true,
|
|
@@ -2350,7 +2410,7 @@
|
|
|
2350
2410
|
]
|
|
2351
2411
|
}
|
|
2352
2412
|
],
|
|
2353
|
-
"version": "
|
|
2413
|
+
"version": "554fa890"
|
|
2354
2414
|
},
|
|
2355
2415
|
"importPath": "@happyvertical/smrt-agents"
|
|
2356
2416
|
}
|
package/dist/smrt-knowledge.json
CHANGED
|
@@ -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.60.
|
|
6
|
+
"packageVersion": "0.60.11",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "a9676f285c2a7b8d3d88acb68ea1136c56ac6150d3fb6e256f57c51da53de499",
|
|
11
|
+
"packageJson": "49dda66cb43a885b2c98937140841fa43e2b42cd87d79f9bb7d426ea2f286e1e",
|
|
12
12
|
"agents": "5986624bedc258c46270f39f8b3e1c45971218951dedac289ad9fcd70eebee64",
|
|
13
13
|
"moduleDoc:agents/data-surface-discovery.md": "3ea5cfbb629258b19d4bc2c7cba333e7d30a7e149c4e46a78748524d8da17563",
|
|
14
14
|
"moduleDoc:agents/lazy-config.md": "f4bb02ee228e2cf43b4680e71a15732ed2e19eadcc38223be775f3e421fcb05c",
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: "Component"
|
|
3
|
+
title: "@happyvertical/smrt-agents"
|
|
4
|
+
description: "Agent framework for building autonomous actors in the SMRT ecosystem"
|
|
5
|
+
status: "stable"
|
|
6
|
+
generated:
|
|
7
|
+
by: "smrt/scripts/generate-knowledge-okf.ts"
|
|
8
|
+
at: "2026-11-05T15:48:19Z"
|
|
9
|
+
audience: "internal"
|
|
10
|
+
evidence_level: "source-inspected"
|
|
11
|
+
source_revision: "sha256:a61ac1a68d0efbbc81bb37ad0450fa61b74d722b7c95bfb5d2085ae3d63310c6"
|
|
12
|
+
sources:
|
|
13
|
+
- id: "manifest"
|
|
14
|
+
resource: "https://github.com/happyvertical/smrt/blob/main/packages/agents/package.json"
|
|
15
|
+
title: "@happyvertical/smrt-agents package manifest"
|
|
16
|
+
- id: "agents"
|
|
17
|
+
resource: "https://github.com/happyvertical/smrt/blob/main/packages/agents/AGENTS.md"
|
|
18
|
+
title: "@happyvertical/smrt-agents packages/agents/AGENTS.md"
|
|
19
|
+
- id: "agents-2"
|
|
20
|
+
resource: "https://github.com/happyvertical/smrt/blob/main/packages/agents/agents/data-surface-denials.md"
|
|
21
|
+
title: "@happyvertical/smrt-agents packages/agents/agents/data-surface-denials.md"
|
|
22
|
+
- id: "agents-3"
|
|
23
|
+
resource: "https://github.com/happyvertical/smrt/blob/main/packages/agents/agents/data-surface-discovery.md"
|
|
24
|
+
title: "@happyvertical/smrt-agents packages/agents/agents/data-surface-discovery.md"
|
|
25
|
+
- id: "agents-4"
|
|
26
|
+
resource: "https://github.com/happyvertical/smrt/blob/main/packages/agents/agents/lazy-config.md"
|
|
27
|
+
title: "@happyvertical/smrt-agents packages/agents/agents/lazy-config.md"
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# @happyvertical/smrt-agents
|
|
31
|
+
|
|
32
|
+
## Package
|
|
33
|
+
|
|
34
|
+
- Directory: `packages/agents`
|
|
35
|
+
- Private: no
|
|
36
|
+
- Object source: `domain-artifact`
|
|
37
|
+
- Evidence level: `source-inspected`
|
|
38
|
+
|
|
39
|
+
## Documentation
|
|
40
|
+
|
|
41
|
+
- `packages/agents/AGENTS.md`
|
|
42
|
+
- `packages/agents/agents/data-surface-denials.md`
|
|
43
|
+
- `packages/agents/agents/data-surface-discovery.md`
|
|
44
|
+
- `packages/agents/agents/lazy-config.md`
|
|
45
|
+
|
|
46
|
+
## Framework dependencies
|
|
47
|
+
|
|
48
|
+
- [smrt-config](/components/smrt-config.md)
|
|
49
|
+
- [smrt-core](/components/smrt-core.md)
|
|
50
|
+
- [smrt-jobs](/components/smrt-jobs.md)
|
|
51
|
+
- [smrt-playbooks](/components/smrt-playbooks.md)
|
|
52
|
+
- [smrt-reports](/components/smrt-reports.md)
|
|
53
|
+
- [smrt-secrets](/components/smrt-secrets.md)
|
|
54
|
+
- [smrt-tenancy](/components/smrt-tenancy.md)
|
|
55
|
+
- [smrt-types](/components/smrt-types.md)
|
|
56
|
+
- [smrt-ui](/components/smrt-ui.md)
|
|
57
|
+
- [smrt-users](/components/smrt-users.md)
|
|
58
|
+
- [smrt-vitest](/components/smrt-vitest.md)
|
|
59
|
+
|
|
60
|
+
## SDK dependencies
|
|
61
|
+
|
|
62
|
+
- `@happyvertical/ai`
|
|
63
|
+
- `@happyvertical/files`
|
|
64
|
+
- `@happyvertical/logger`
|
|
65
|
+
- `@happyvertical/sql`
|
|
66
|
+
- `@happyvertical/utils`
|
|
67
|
+
|
|
68
|
+
## Exports
|
|
69
|
+
|
|
70
|
+
- `.`
|
|
71
|
+
- `./manifest`
|
|
72
|
+
- `./manifest.json`
|
|
73
|
+
- `./playground`
|
|
74
|
+
- `./server`
|
|
75
|
+
- `./svelte`
|
|
76
|
+
- `./svelte/admin`
|
|
77
|
+
- `./ui`
|
|
78
|
+
- `./vite`
|
|
79
|
+
|
|
80
|
+
## Models
|
|
81
|
+
|
|
82
|
+
- `Agent` (collection `agents`, extends `SmrtObject`, STI table)
|
|
83
|
+
- `AgentConfig` (collection `agentconfigs`, extends `SmrtObject`)
|
|
84
|
+
- `AgentConfigCollection` (collection `agentconfigs`, extends `SmrtCollection`)
|
|
85
|
+
- `AgentSchedule` (collection `agentschedules`, extends `SmrtObject`)
|
|
86
|
+
- `AgentScheduleCollection` (collection `agentschedules`, extends `SmrtCollection`)
|
|
87
|
+
- `DataSurfaceActionIdempotencyState` (collection `datasurfaceactionidempotencystates`, extends `SmrtObject`)
|
|
88
|
+
- `DataSurfaceActionTokenState` (collection `datasurfaceactiontokenstates`, extends `SmrtObject`)
|
|
89
|
+
- `SmrtDataSurfaceActionTask` (collection `smrtdatasurfaceactiontasks`, extends `SmrtObject`)
|
|
90
|
+
- `TenantAgent` (collection `tenantagents`, extends `SmrtObject`)
|
|
91
|
+
- `TenantAgentCollection` (collection `tenantagents`, extends `SmrtCollection`)
|
|
92
|
+
|
|
93
|
+
## MCP tools
|
|
94
|
+
|
|
95
|
+
- `agentconfig_get`: get on `@happyvertical/smrt-agents:AgentConfig`
|
|
96
|
+
- `agentconfig_list`: list on `@happyvertical/smrt-agents:AgentConfig`
|
|
97
|
+
- `agentschedule_get`: get on `@happyvertical/smrt-agents:AgentSchedule`
|
|
98
|
+
- `agentschedule_list`: list on `@happyvertical/smrt-agents:AgentSchedule`
|
|
99
|
+
- `tenantagent_get`: get on `@happyvertical/smrt-agents:TenantAgent`
|
|
100
|
+
- `tenantagent_list`: list on `@happyvertical/smrt-agents:TenantAgent`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/smrt-agents",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.11",
|
|
4
4
|
"smrtJsdoc": "strict",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"smrtRawPrimitives": "strict",
|
|
@@ -58,25 +58,25 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@happyvertical/ai": "^0.111.
|
|
62
|
-
"@happyvertical/files": "^0.111.
|
|
63
|
-
"@happyvertical/logger": "^0.111.
|
|
64
|
-
"@happyvertical/smrt-config": "0.60.
|
|
65
|
-
"@happyvertical/smrt-core": "0.60.
|
|
66
|
-
"@happyvertical/smrt-jobs": "0.60.
|
|
67
|
-
"@happyvertical/smrt-playbooks": "0.60.
|
|
68
|
-
"@happyvertical/smrt-reports": "0.60.
|
|
69
|
-
"@happyvertical/smrt-secrets": "0.60.
|
|
70
|
-
"@happyvertical/smrt-tenancy": "0.60.
|
|
71
|
-
"@happyvertical/smrt-types": "0.60.
|
|
72
|
-
"@happyvertical/smrt-ui": "0.60.
|
|
73
|
-
"@happyvertical/smrt-users": "0.60.
|
|
74
|
-
"@happyvertical/sql": "^0.111.
|
|
75
|
-
"@happyvertical/utils": "^0.111.
|
|
61
|
+
"@happyvertical/ai": "^0.111.5",
|
|
62
|
+
"@happyvertical/files": "^0.111.5",
|
|
63
|
+
"@happyvertical/logger": "^0.111.5",
|
|
64
|
+
"@happyvertical/smrt-config": "0.60.11",
|
|
65
|
+
"@happyvertical/smrt-core": "0.60.11",
|
|
66
|
+
"@happyvertical/smrt-jobs": "0.60.11",
|
|
67
|
+
"@happyvertical/smrt-playbooks": "0.60.11",
|
|
68
|
+
"@happyvertical/smrt-reports": "0.60.11",
|
|
69
|
+
"@happyvertical/smrt-secrets": "0.60.11",
|
|
70
|
+
"@happyvertical/smrt-tenancy": "0.60.11",
|
|
71
|
+
"@happyvertical/smrt-types": "0.60.11",
|
|
72
|
+
"@happyvertical/smrt-ui": "0.60.11",
|
|
73
|
+
"@happyvertical/smrt-users": "0.60.11",
|
|
74
|
+
"@happyvertical/sql": "^0.111.5",
|
|
75
|
+
"@happyvertical/utils": "^0.111.5"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@happyvertical/smrt-vitest": "0.60.
|
|
79
|
-
"@happyvertical/sql": "^0.111.
|
|
78
|
+
"@happyvertical/smrt-vitest": "0.60.11",
|
|
79
|
+
"@happyvertical/sql": "^0.111.5",
|
|
80
80
|
"@sentry/node": "^10.75.0",
|
|
81
81
|
"@sveltejs/package": "^2.5.8",
|
|
82
82
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|