@antelopejs/dms-automation 0.5.1 → 0.6.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.
Files changed (89) hide show
  1. package/dist/frontend-module.d.ts +2 -0
  2. package/dist/frontend-module.js +19 -0
  3. package/dist/frontend-module.js.map +1 -0
  4. package/dist/index.js +2 -12
  5. package/dist/index.js.map +1 -1
  6. package/dist/pages/overview.d.ts +1 -2
  7. package/dist/pages/overview.js +14 -15
  8. package/dist/pages/overview.js.map +1 -1
  9. package/dist/pages/procedures.d.ts +1 -0
  10. package/dist/pages/procedures.js +9 -0
  11. package/dist/pages/procedures.js.map +1 -1
  12. package/dist/pages/runs.d.ts +1 -2
  13. package/dist/pages/runs.js +10 -7
  14. package/dist/pages/runs.js.map +1 -1
  15. package/dist/pages/shared.d.ts +9 -2
  16. package/dist/pages/shared.js +31 -22
  17. package/dist/pages/shared.js.map +1 -1
  18. package/dist/routes/procedureSchemas.d.ts +12 -2
  19. package/dist/routes/procedureSchemas.js +3 -1
  20. package/dist/routes/procedureSchemas.js.map +1 -1
  21. package/dist/routes/procedures.d.ts +3 -0
  22. package/dist/routes/procedures.js +22 -0
  23. package/dist/routes/procedures.js.map +1 -1
  24. package/dist/routes/runs.d.ts +1 -1
  25. package/dist/routes/runs.js +22 -3
  26. package/dist/routes/runs.js.map +1 -1
  27. package/dist/routes/stats.d.ts +4 -3
  28. package/dist/routes/stats.js +24 -9
  29. package/dist/routes/stats.js.map +1 -1
  30. package/dist/runtime/builtins/actions/log.js +1 -0
  31. package/dist/runtime/builtins/actions/log.js.map +1 -1
  32. package/dist/runtime/builtins/nodes/action.d.ts +2 -1
  33. package/dist/runtime/builtins/nodes/action.js +14 -2
  34. package/dist/runtime/builtins/nodes/action.js.map +1 -1
  35. package/dist/runtime/builtins/nodes/data.js +1 -1
  36. package/dist/runtime/builtins/nodes/data.js.map +1 -1
  37. package/dist/runtime/builtins/nodes/delay.js +1 -1
  38. package/dist/runtime/builtins/nodes/delay.js.map +1 -1
  39. package/dist/runtime/builtins/nodes/forRange.js +1 -1
  40. package/dist/runtime/builtins/nodes/forRange.js.map +1 -1
  41. package/dist/runtime/builtins/nodes/foreach.js +1 -1
  42. package/dist/runtime/builtins/nodes/foreach.js.map +1 -1
  43. package/dist/runtime/builtins/nodes/if.js +1 -1
  44. package/dist/runtime/builtins/nodes/if.js.map +1 -1
  45. package/dist/runtime/builtins/nodes/parallel.js +1 -1
  46. package/dist/runtime/builtins/nodes/parallel.js.map +1 -1
  47. package/dist/runtime/builtins/nodes/retry.js +1 -1
  48. package/dist/runtime/builtins/nodes/retry.js.map +1 -1
  49. package/dist/runtime/builtins/nodes/setVariable.js +1 -1
  50. package/dist/runtime/builtins/nodes/setVariable.js.map +1 -1
  51. package/dist/runtime/builtins/nodes/switch.js +1 -1
  52. package/dist/runtime/builtins/nodes/switch.js.map +1 -1
  53. package/dist/runtime/builtins/nodes/trigger.js +1 -1
  54. package/dist/runtime/builtins/nodes/trigger.js.map +1 -1
  55. package/dist/runtime/builtins/nodes/tryCatch.js +1 -1
  56. package/dist/runtime/builtins/nodes/tryCatch.js.map +1 -1
  57. package/dist/runtime/executor.d.ts +1 -0
  58. package/dist/runtime/executor.js +2 -0
  59. package/dist/runtime/executor.js.map +1 -1
  60. package/dist/runtime/nodeKinds.d.ts +1 -0
  61. package/dist/runtime/nodeKinds.js.map +1 -1
  62. package/dist/runtime/runProcedure.js +1 -0
  63. package/dist/runtime/runProcedure.js.map +1 -1
  64. package/dist/runtime/sideEffects.d.ts +9 -0
  65. package/dist/runtime/sideEffects.js +36 -0
  66. package/dist/runtime/sideEffects.js.map +1 -0
  67. package/dist/runtime/subscriptions.d.ts +2 -0
  68. package/dist/runtime/subscriptions.js +4 -0
  69. package/dist/runtime/subscriptions.js.map +1 -1
  70. package/dist/stats/overview.d.ts +12 -5
  71. package/dist/stats/overview.js +31 -3
  72. package/dist/stats/overview.js.map +1 -1
  73. package/frontend-vue/app/components/AttentionList.vue +16 -4
  74. package/frontend-vue/app/components/Editor/BuilderPalette.vue +2 -1
  75. package/frontend-vue/app/components/Editor/GraphCanvas.vue +3 -1
  76. package/frontend-vue/app/components/Editor/NodeInspector.vue +1 -1
  77. package/frontend-vue/app/components/Editor/nodes/GenericNode.vue +7 -3
  78. package/frontend-vue/app/components/Editor.vue +41 -5
  79. package/frontend-vue/app/components/Run/RunWaterfall.vue +6 -3
  80. package/frontend-vue/app/components/RunPeek.vue +20 -10
  81. package/frontend-vue/app/composables/useAutomationNodeKinds.ts +2 -0
  82. package/frontend-vue/app/composables/useRunActions.ts +1 -1
  83. package/frontend-vue/app/utils/describe.ts +16 -0
  84. package/frontend-vue/i18n/locales/dms-automation-en-GB.json +30 -8
  85. package/frontend-vue/i18n/locales/dms-automation-fr-FR.json +30 -8
  86. package/frontend-vue/package.json +3 -3
  87. package/frontend-vue/pnpm-lock.yaml +25 -95
  88. package/package.json +6 -5
  89. package/skills/dms-automation/SKILL.md +2 -0
@@ -16,11 +16,11 @@ importers:
16
16
  version: 3.5.44(typescript@5.9.3)
17
17
  devDependencies:
18
18
  '@antelopejs/dms':
19
- specifier: '>=0.9.3 <1.0.0'
20
- version: 0.9.3(@antelopejs/core@1.16.0)(@antelopejs/interface-auth@0.0.7(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4))
19
+ specifier: '>=0.10.0 <1.0.0'
20
+ version: 0.10.0(@antelopejs/core@1.16.0)
21
21
  '@antelopejs/dms-frontend':
22
- specifier: '>=0.6.3 <0.7.0'
23
- version: 0.6.3(@antelopejs/core@1.16.0)
22
+ specifier: '>=0.8.0 <0.9.0'
23
+ version: 0.8.0(@antelopejs/core@1.16.0)
24
24
  '@antelopejs/tooling-configs':
25
25
  specifier: '>=0.0.9 <1.0.0'
26
26
  version: 0.0.9
@@ -69,15 +69,15 @@ packages:
69
69
  engines: {node: '>=20.19'}
70
70
  hasBin: true
71
71
 
72
- '@antelopejs/dms-frontend@0.6.3':
73
- resolution: {integrity: sha512-1e9yuWC7AsqJ00ghS/DNB/RhVoCkjdniiMIDChpx5DKv1b5rkhsCKG4KRIEe8RJU9HtifPeOmA3KF2RCrgaPhg==}
74
- engines: {node: '>=20.12.0'}
72
+ '@antelopejs/dms-frontend@0.8.0':
73
+ resolution: {integrity: sha512-X3okh4WXtmsR2O3/jU7RZ8XCtZDB1X7AGErhjoDxE48NpCn5+fAztpaz5YDyKzQK4ckIBk+6wW1rB8Qg84/DEQ==}
74
+ engines: {node: '>=20.19.0'}
75
75
  hasBin: true
76
76
  peerDependencies:
77
77
  '@antelopejs/core': '>=1.16.0 <2'
78
78
 
79
- '@antelopejs/dms@0.9.3':
80
- resolution: {integrity: sha512-0OtPmrDgapK0xs11tuTyOMx+Sq5T83u4IOeC/OTkusuR2xxYnWVoWXjbKWf6fn/X/L3Gm72zx603Fr9eaXjMnA==}
79
+ '@antelopejs/dms@0.10.0':
80
+ resolution: {integrity: sha512-m8J/CuG8VLH5JwhM5mtVfw4a9tgcDWGSOLFSGE4ikmKkEjHiJnKOYFDRvM8D4gC1O5rFrMftvvGse0Ykkq2WAw==}
81
81
  peerDependencies:
82
82
  '@antelopejs/core': '>=1.16.0 <2'
83
83
  peerDependenciesMeta:
@@ -95,17 +95,11 @@ packages:
95
95
  peerDependencies:
96
96
  '@antelopejs/interface-core': '>=0.2.4 <1.0.0'
97
97
 
98
- '@antelopejs/interface-auth@0.0.7':
99
- resolution: {integrity: sha512-Sfi9QsDHLqqeZZL0calois/ivbtK2i8ulhsHmDEyzffyGye5W2Yfq+Qt1jk4pIeZQjGhlNR5QNu5xLVzLdMwZw==}
100
- peerDependencies:
101
- '@antelopejs/interface-api': '>=0.0.15 <1.0.0'
102
- '@antelopejs/interface-core': '>=0.2.4 <1.0.0'
103
-
104
98
  '@antelopejs/interface-core@0.2.4':
105
99
  resolution: {integrity: sha512-2qF6/KwahCQvvNuC/piUvPWD4wq2Npmco941HMg2/bMBoJKbhMH16WcXXRvPYznNSkU0U+6vqK6KE+2N5NojSA==}
106
100
 
107
- '@antelopejs/interface-data-api@0.2.2':
108
- resolution: {integrity: sha512-6JHaZYgEwj19CM33sHa9nvojPQ/RqCI1ddolUvTs2H5qQWsKzRCSIy/jJYyyPJiVi3zN0z+hBHghYBT8U6qhwA==}
101
+ '@antelopejs/interface-data-api@0.3.0':
102
+ resolution: {integrity: sha512-r4nQJgD8Zct/wN1WXgNdBXes0h8zv7OVAZisSnPMnQvIR14XJ40S7pEwE08ggaOFr4rtgLAB0MwbLfaC5ExiPA==}
109
103
  peerDependencies:
110
104
  '@antelopejs/interface-api': '>=0.0.15 <1.0.0'
111
105
  '@antelopejs/interface-api-util': '>=0.1.3 <1.0.0'
@@ -125,19 +119,18 @@ packages:
125
119
  peerDependencies:
126
120
  '@antelopejs/interface-core': '>=0.2.4 <1.0.0'
127
121
 
128
- '@antelopejs/interface-dms-automation@0.2.1':
129
- resolution: {integrity: sha512-2G3w/GvS2NRBN/WBGwvkHXEDajH/jlKKGgJ5ryoe2Ge/Qo0TGdux9mhZOr5as8qE3qNqCNfPNyaUtKQMv+HwLQ==}
122
+ '@antelopejs/interface-dms-automation@0.4.0':
123
+ resolution: {integrity: sha512-L8YZmFYs7m4l/kn3Uc16evBcjhMYk1O9okUMZITjAHjfwRIQwEYU64yxgNE5tSPhHhk9VTyUmoBUV5GEdOmhQg==}
130
124
  peerDependencies:
131
125
  '@antelopejs/interface-core': '>=0.2.4 <1.0.0'
132
126
 
133
- '@antelopejs/interface-dms@0.7.2':
134
- resolution: {integrity: sha512-mtlamXK7sbB5RY/uwqOHTltJb/HrcdBZEsj+eVowUOGZSaXGyyQO9Ihm6xMAFeMuZZqQVKQD6KVhPD3GYk/TgQ==}
127
+ '@antelopejs/interface-dms@0.8.0':
128
+ resolution: {integrity: sha512-+iL6YaADL9YtRws5E9+vljYoFws4jzT6WoBD3a/mcgeeq9sKIEjboaKpTdnN9RbshXV1Keq0qp4EDNpCrbLMQQ==}
135
129
  peerDependencies:
136
130
  '@antelopejs/interface-api': '>=0.0.15 <1.0.0'
137
131
  '@antelopejs/interface-api-util': '>=0.1.3 <1.0.0'
138
- '@antelopejs/interface-auth': '>=0.0.7 <1.0.0'
139
132
  '@antelopejs/interface-core': '>=0.2.4 <1.0.0'
140
- '@antelopejs/interface-data-api': '>=0.2.2 <1.0.0'
133
+ '@antelopejs/interface-data-api': '>=0.3.0 <1.0.0'
141
134
  '@antelopejs/interface-database': '>=0.1.10 <1.0.0'
142
135
  '@antelopejs/interface-database-decorators': '>=0.1.9 <1.0.0'
143
136
  '@antelopejs/interface-file-storage': '>=0.1.4 <1.0.0'
@@ -1373,9 +1366,6 @@ packages:
1373
1366
  bl@4.1.0:
1374
1367
  resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==}
1375
1368
 
1376
- bluebird@3.7.2:
1377
- resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==}
1378
-
1379
1369
  boolbase@1.0.0:
1380
1370
  resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
1381
1371
 
@@ -1592,9 +1582,6 @@ packages:
1592
1582
  resolution: {integrity: sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==}
1593
1583
  engines: {node: '>=0.3.1'}
1594
1584
 
1595
- duplexer2@0.1.4:
1596
- resolution: {integrity: sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==}
1597
-
1598
1585
  duplexify@3.7.1:
1599
1586
  resolution: {integrity: sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==}
1600
1587
 
@@ -1866,10 +1853,6 @@ packages:
1866
1853
  fs-constants@1.0.0:
1867
1854
  resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
1868
1855
 
1869
- fs-extra@11.3.1:
1870
- resolution: {integrity: sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==}
1871
- engines: {node: '>=14.14'}
1872
-
1873
1856
  fs.realpath@1.0.0:
1874
1857
  resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
1875
1858
 
@@ -2063,9 +2046,6 @@ packages:
2063
2046
  json-stable-stringify-without-jsonify@1.0.1:
2064
2047
  resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}
2065
2048
 
2066
- jsonfile@6.2.1:
2067
- resolution: {integrity: sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==}
2068
-
2069
2049
  jsonwebtoken@9.0.3:
2070
2050
  resolution: {integrity: sha512-MT/xP0CrubFRNLNKvxJ2BYfy53Zkm++5bX9dtuPbqAeQpTVe0MQTFhao8+Cp//EmJp244xt6Drw/GVEGCUj40g==}
2071
2051
  engines: {node: '>=12', npm: '>=6'}
@@ -2389,9 +2369,6 @@ packages:
2389
2369
  node-fetch-native@1.6.7:
2390
2370
  resolution: {integrity: sha512-g9yhqoedzIUm0nTnTqAQvueMPVOuIY16bqgAJJC8XOOubYFNwz6IER9qs0Gq2Xd0+CecCKFjtdDTMA4u4xG06Q==}
2391
2371
 
2392
- node-int64@0.4.0:
2393
- resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==}
2394
-
2395
2372
  node-mock-http@1.0.5:
2396
2373
  resolution: {integrity: sha512-KQyt/wLjG3TAc7DOUhpqWzgd4ERxR80JOlTK5VE5R1S12IaPVN5qkj4klBce9HPG1Njuup4Sb5bljaT34lIyjw==}
2397
2374
 
@@ -2985,10 +2962,6 @@ packages:
2985
2962
  rolldown:
2986
2963
  optional: true
2987
2964
 
2988
- universalify@2.0.1:
2989
- resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}
2990
- engines: {node: '>= 10.0.0'}
2991
-
2992
2965
  unplugin-auto-import@21.1.0:
2993
2966
  resolution: {integrity: sha512-EzrSqWIBulEqCuP7idADXH+tVKYrbwKlR5+r/lOWik0o+Ksny1kitmtryHGNSv7puzzORlcIwT/x2JStiszlHA==}
2994
2967
  engines: {node: '>=20.19.0'}
@@ -3117,9 +3090,6 @@ packages:
3117
3090
  uploadthing:
3118
3091
  optional: true
3119
3092
 
3120
- unzipper@0.12.5:
3121
- resolution: {integrity: sha512-tXYOi9R57Uj/2Z25SOs5RRSzq886MBQj2gY8dPL+xl/kv6s6SvByoKfAtvfVeEuhntWDgjd2o9p2lb4TVPAz0A==}
3122
-
3123
3093
  uri-js@4.4.1:
3124
3094
  resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
3125
3095
 
@@ -3330,14 +3300,13 @@ snapshots:
3330
3300
  semver: 7.8.5
3331
3301
  typescript: 5.9.3
3332
3302
 
3333
- '@antelopejs/dms-frontend@0.6.3(@antelopejs/core@1.16.0)':
3303
+ '@antelopejs/dms-frontend@0.8.0(@antelopejs/core@1.16.0)':
3334
3304
  dependencies:
3335
3305
  '@antelopejs/core': 1.16.0
3336
3306
  chokidar: 4.0.3
3337
3307
  commander: 13.1.0
3338
3308
  ignore: 7.0.12
3339
3309
  semver: 7.8.5
3340
- unzipper: 0.12.5
3341
3310
  optionalDependencies:
3342
3311
  '@oxc-parser/binding-darwin-arm64': 0.95.0
3343
3312
  '@oxc-parser/binding-darwin-x64': 0.95.0
@@ -3345,22 +3314,21 @@ snapshots:
3345
3314
  '@oxc-parser/binding-linux-x64-gnu': 0.95.0
3346
3315
  '@oxc-parser/binding-win32-x64-msvc': 0.95.0
3347
3316
 
3348
- '@antelopejs/dms@0.9.3(@antelopejs/core@1.16.0)(@antelopejs/interface-auth@0.0.7(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4))':
3317
+ '@antelopejs/dms@0.10.0(@antelopejs/core@1.16.0)':
3349
3318
  dependencies:
3350
3319
  2fa: 0.1.2
3351
3320
  '@antelopejs/interface-api': 0.0.15(@antelopejs/interface-core@0.2.4)
3352
3321
  '@antelopejs/interface-api-util': 0.1.3(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)
3353
3322
  '@antelopejs/interface-core': 0.2.4
3354
- '@antelopejs/interface-data-api': 0.2.2(@antelopejs/interface-api-util@0.1.3(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database-decorators@0.1.9(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4)))(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4))
3323
+ '@antelopejs/interface-data-api': 0.3.0(@antelopejs/interface-api-util@0.1.3(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database-decorators@0.1.9(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4)))(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4))
3355
3324
  '@antelopejs/interface-database': 0.1.10(@antelopejs/interface-core@0.2.4)
3356
3325
  '@antelopejs/interface-database-decorators': 0.1.9(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4))
3357
- '@antelopejs/interface-dms': 0.7.2(baf8655f8e54b8fbf2a9669a652c5bcb)
3326
+ '@antelopejs/interface-dms': 0.8.0(5c390e5d51fb2dad5cd1571f89e8c16b)
3358
3327
  '@antelopejs/interface-email': 0.0.6(@antelopejs/interface-core@0.2.4)
3359
3328
  '@antelopejs/interface-file-storage': 0.1.4(@antelopejs/interface-core@0.2.4)
3360
3329
  archiver: 7.0.1
3361
3330
  csv-stringify: 6.9.0
3362
3331
  defu: 6.1.7
3363
- ignore: 7.0.12
3364
3332
  jsonwebtoken: 9.0.3
3365
3333
  mmdb-lib: 3.0.3
3366
3334
  node-cron: 4.6.0
@@ -3371,10 +3339,9 @@ snapshots:
3371
3339
  zod: 3.24.4
3372
3340
  optionalDependencies:
3373
3341
  '@antelopejs/core': 1.16.0
3374
- '@antelopejs/interface-dms-automation': 0.2.1(@antelopejs/interface-core@0.2.4)
3342
+ '@antelopejs/interface-dms-automation': 0.4.0(@antelopejs/interface-core@0.2.4)
3375
3343
  '@antelopejs/interface-redis': 0.0.9(@antelopejs/interface-core@0.2.4)
3376
3344
  transitivePeerDependencies:
3377
- - '@antelopejs/interface-auth'
3378
3345
  - bare-abort-controller
3379
3346
  - bare-buffer
3380
3347
  - react-native-b4a
@@ -3389,16 +3356,11 @@ snapshots:
3389
3356
  dependencies:
3390
3357
  '@antelopejs/interface-core': 0.2.4
3391
3358
 
3392
- '@antelopejs/interface-auth@0.0.7(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)':
3393
- dependencies:
3394
- '@antelopejs/interface-api': 0.0.15(@antelopejs/interface-core@0.2.4)
3395
- '@antelopejs/interface-core': 0.2.4
3396
-
3397
3359
  '@antelopejs/interface-core@0.2.4':
3398
3360
  dependencies:
3399
3361
  reflect-metadata: 0.2.2
3400
3362
 
3401
- '@antelopejs/interface-data-api@0.2.2(@antelopejs/interface-api-util@0.1.3(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database-decorators@0.1.9(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4)))(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4))':
3363
+ '@antelopejs/interface-data-api@0.3.0(@antelopejs/interface-api-util@0.1.3(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database-decorators@0.1.9(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4)))(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4))':
3402
3364
  dependencies:
3403
3365
  '@antelopejs/interface-api': 0.0.15(@antelopejs/interface-core@0.2.4)
3404
3366
  '@antelopejs/interface-api-util': 0.1.3(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)
@@ -3418,22 +3380,20 @@ snapshots:
3418
3380
  dependencies:
3419
3381
  '@antelopejs/interface-core': 0.2.4
3420
3382
 
3421
- '@antelopejs/interface-dms-automation@0.2.1(@antelopejs/interface-core@0.2.4)':
3383
+ '@antelopejs/interface-dms-automation@0.4.0(@antelopejs/interface-core@0.2.4)':
3422
3384
  dependencies:
3423
3385
  '@antelopejs/interface-core': 0.2.4
3424
3386
  optional: true
3425
3387
 
3426
- '@antelopejs/interface-dms@0.7.2(baf8655f8e54b8fbf2a9669a652c5bcb)':
3388
+ '@antelopejs/interface-dms@0.8.0(5c390e5d51fb2dad5cd1571f89e8c16b)':
3427
3389
  dependencies:
3428
3390
  '@antelopejs/interface-api': 0.0.15(@antelopejs/interface-core@0.2.4)
3429
3391
  '@antelopejs/interface-api-util': 0.1.3(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)
3430
- '@antelopejs/interface-auth': 0.0.7(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)
3431
3392
  '@antelopejs/interface-core': 0.2.4
3432
- '@antelopejs/interface-data-api': 0.2.2(@antelopejs/interface-api-util@0.1.3(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database-decorators@0.1.9(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4)))(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4))
3393
+ '@antelopejs/interface-data-api': 0.3.0(@antelopejs/interface-api-util@0.1.3(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database-decorators@0.1.9(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4)))(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4))
3433
3394
  '@antelopejs/interface-database': 0.1.10(@antelopejs/interface-core@0.2.4)
3434
3395
  '@antelopejs/interface-database-decorators': 0.1.9(@antelopejs/interface-api@0.0.15(@antelopejs/interface-core@0.2.4))(@antelopejs/interface-core@0.2.4)(@antelopejs/interface-database@0.1.10(@antelopejs/interface-core@0.2.4))
3435
3396
  '@antelopejs/interface-file-storage': 0.1.4(@antelopejs/interface-core@0.2.4)
3436
- jsonwebtoken: 9.0.3
3437
3397
  randomstring: 1.3.2
3438
3398
  zod: 3.24.4
3439
3399
  zod-to-json-schema: 3.24.6(zod@3.24.4)
@@ -4743,8 +4703,6 @@ snapshots:
4743
4703
  inherits: 2.0.4
4744
4704
  readable-stream: 3.6.2
4745
4705
 
4746
- bluebird@3.7.2: {}
4747
-
4748
4706
  boolbase@1.0.0: {}
4749
4707
 
4750
4708
  brace-expansion@1.1.21:
@@ -4937,10 +4895,6 @@ snapshots:
4937
4895
 
4938
4896
  diff@7.0.0: {}
4939
4897
 
4940
- duplexer2@0.1.4:
4941
- dependencies:
4942
- readable-stream: 2.3.8
4943
-
4944
4898
  duplexify@3.7.1:
4945
4899
  dependencies:
4946
4900
  end-of-stream: 1.4.5
@@ -5276,12 +5230,6 @@ snapshots:
5276
5230
 
5277
5231
  fs-constants@1.0.0: {}
5278
5232
 
5279
- fs-extra@11.3.1:
5280
- dependencies:
5281
- graceful-fs: 4.2.11
5282
- jsonfile: 6.2.1
5283
- universalify: 2.0.1
5284
-
5285
5233
  fs.realpath@1.0.0: {}
5286
5234
 
5287
5235
  fsevents@2.3.3:
@@ -5464,12 +5412,6 @@ snapshots:
5464
5412
 
5465
5413
  json-stable-stringify-without-jsonify@1.0.1: {}
5466
5414
 
5467
- jsonfile@6.2.1:
5468
- dependencies:
5469
- universalify: 2.0.1
5470
- optionalDependencies:
5471
- graceful-fs: 4.2.11
5472
-
5473
5415
  jsonwebtoken@9.0.3:
5474
5416
  dependencies:
5475
5417
  jws: 4.0.1
@@ -5767,8 +5709,6 @@ snapshots:
5767
5709
 
5768
5710
  node-fetch-native@1.6.7: {}
5769
5711
 
5770
- node-int64@0.4.0: {}
5771
-
5772
5712
  node-mock-http@1.0.5: {}
5773
5713
 
5774
5714
  normalize-path@3.0.0: {}
@@ -6374,8 +6314,6 @@ snapshots:
6374
6314
  - vite
6375
6315
  - webpack
6376
6316
 
6377
- universalify@2.0.1: {}
6378
-
6379
6317
  unplugin-auto-import@21.1.0(@nuxt/kit@4.6.2(@nuxt/schema@4.6.2)(confbox@0.3.1)(jiti@2.7.0)(magic-string@0.30.21)(mlly@1.8.2)(rolldown@1.2.14)(unplugin@3.4.0(esbuild@0.27.7)(rolldown@1.2.14)(vite@8.3.4(esbuild@0.27.7)(jiti@2.7.0))))(@vueuse/core@14.4.0(vue@3.5.44(typescript@5.9.3)))(esbuild@0.27.7)(rolldown@1.2.14)(vite@8.3.4(esbuild@0.27.7)(jiti@2.7.0)):
6380
6318
  dependencies:
6381
6319
  local-pkg: 1.2.1
@@ -6461,14 +6399,6 @@ snapshots:
6461
6399
  optionalDependencies:
6462
6400
  ioredis: 5.11.1
6463
6401
 
6464
- unzipper@0.12.5:
6465
- dependencies:
6466
- bluebird: 3.7.2
6467
- duplexer2: 0.1.4
6468
- fs-extra: 11.3.1
6469
- graceful-fs: 4.2.11
6470
- node-int64: 0.4.0
6471
-
6472
6402
  uri-js@4.4.1:
6473
6403
  dependencies:
6474
6404
  punycode: 2.3.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antelopejs/dms-automation",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "Visual automation builder for the AntelopeJS DMS: procedures as node graphs started by schedules, webhooks, manual runs or DMS events, with a trace for every run.",
5
5
  "keywords": [
6
6
  "antelopejs",
@@ -46,11 +46,11 @@
46
46
  "@antelopejs/interface-api": ">=0.0.15 <1.0.0",
47
47
  "@antelopejs/interface-api-util": ">=0.1.3 <1.0.0",
48
48
  "@antelopejs/interface-core": ">=0.2.4 <1.0.0",
49
- "@antelopejs/interface-data-api": ">=0.2.2 <1.0.0",
49
+ "@antelopejs/interface-data-api": ">=0.3.0 <1.0.0",
50
50
  "@antelopejs/interface-database": ">=0.1.10 <1.0.0",
51
51
  "@antelopejs/interface-database-decorators": ">=0.1.9 <1.0.0",
52
- "@antelopejs/interface-dms": ">=0.7.2 <1.0.0",
53
- "@antelopejs/interface-dms-automation": ">=0.3.0 <0.4.0",
52
+ "@antelopejs/interface-dms": ">=0.8.0 <1.0.0",
53
+ "@antelopejs/interface-dms-automation": ">=0.4.0 <0.5.0",
54
54
  "defu": "^6.1.4",
55
55
  "node-cron": "^4.2.1",
56
56
  "zod": "^3.25.76"
@@ -80,6 +80,7 @@
80
80
  "./skills"
81
81
  ]
82
82
  },
83
+ "dmsFrontend": "dist/frontend-module.js",
83
84
  "scripts": {
84
85
  "build": "pnpm --filter @antelopejs/interface-dms-automation build && rimraf dist && tsc",
85
86
  "test": "pnpm run build && node --test tests/*.test.cjs",
@@ -88,7 +89,7 @@
88
89
  "test:runs-display": "pnpm run build && node --test tests/runs-display.test.cjs",
89
90
  "test:type-origin": "pnpm run build && node --test tests/type-origin.test.cjs",
90
91
  "test:type-display": "node --test tests/type-display.test.cjs",
91
- "test:unit": "pnpm run build && node --test tests/health.test.cjs tests/kpi.test.cjs tests/graph-issues.test.cjs tests/trace.test.cjs tests/schedule.test.cjs tests/pages.test.cjs tests/procedures-page.test.cjs tests/wording.test.cjs tests/health-banner.test.cjs tests/runtime-nodes.test.cjs tests/runs-api.test.cjs tests/run-detail.test.cjs tests/graph-connect.test.cjs tests/library.test.cjs tests/template-delete.test.cjs tests/overview.test.cjs tests/declared-procedures.test.cjs tests/trigger-rearm.test.cjs tests/module-departure.test.cjs tests/run-procedure.test.cjs",
92
+ "test:unit": "pnpm run build && node --test tests/health.test.cjs tests/kpi.test.cjs tests/graph-issues.test.cjs tests/trace.test.cjs tests/schedule.test.cjs tests/pages.test.cjs tests/procedures-page.test.cjs tests/wording.test.cjs tests/health-banner.test.cjs tests/runtime-nodes.test.cjs tests/runs-api.test.cjs tests/run-detail.test.cjs tests/graph-connect.test.cjs tests/library.test.cjs tests/template-delete.test.cjs tests/template-comments.test.cjs tests/overview.test.cjs tests/declared-procedures.test.cjs tests/trigger-rearm.test.cjs tests/module-departure.test.cjs tests/run-procedure.test.cjs tests/dry-run.test.cjs tests/test-run-confirm.test.cjs tests/confirm-from.test.cjs",
92
93
  "dev": "ajs project run -w -p playground",
93
94
  "lint": "oxlint && oxfmt --check . && cd frontend-vue && pnpm lint && antelopejs-check-interface-ranges",
94
95
  "typecheck": "pnpm --filter @antelopejs/interface-dms-automation typecheck && tsc --noEmit",
@@ -13,6 +13,7 @@ Runs procedures: a trigger starts a run, actions run along trigger edges, data n
13
13
  ## Key facts
14
14
 
15
15
  - Pages (owner-only): Overview, Procedures, Builder (`/modules/automation/builder?selected=<id>`), Run history, Run trace (`/modules/automation/trace?run=<id>`), Library.
16
+ - Overview, Run history and Procedures are live pages whose first block is the DMS `PageToolbar` (`@antelopejs/interface-dms/base/page-toolbar`): updated label + Live / Pause, plus on Overview and Run history the shared 24H / 7D / 30D period (`rememberKey: "automation"`, comparison menu over `previous-period` (default) / `none`, plus `previous-year` only when `runs.retentionDays` reaches a year and 30 days (or is 0), which `pageToolbar()` draws as a menu; the KPI routes read the `compareFrom` / `compareTo` the scope resolves and drop them on `comparison=none` or when no run kept reaches back to them; the Overview's runs chart (`/stats/runs-per-day`) does the same and answers `comparisonSeries`, the compared runs per bucket as a dashed `type: "line"` series over the stacked bars, plus `previousValue` / `delta` like the Runs KPI). Every period-scoped KPI and chart on those pages shows the comparison; the lists (attention, recent runs, procedure counts, triggers) are not period comparisons. No layout shift: each block's skeleton is the size of what it loads. The recent runs and procedure counts draw `RECENT_RUNS` / `PROCEDURE_COUNT_LINES` skeleton rows (from `src/stats/overview.ts`, the counts the routes send), the runs chart carries a `description` that holds the line under its total when no comparison answers, and the attention list draws two skeleton rows shaped like loaded ones, as tall as its empty state. Live: the `topics` block calls `refreshLivePageBlocks()` on each `automation.runs` / `automation.procedures` event, so every block reads through the page's live gate (no block carries its own `realtimeTopic`); the Run history and Procedures tables set `liveHold`. Its block id stays `live` (children `topics`, `toggle`, `period`, placed by `pageToolbar()` with `live.childId: "toggle"`) on Overview and Run history, `toolbar` on Procedures.
16
17
  - API under `/api/automation` (owner-only). A procedure exported from the builder (`{ name, description, graph }`) is re-created with `POST /api/automation/procedures/import` `{ json }` as a disabled draft; `PUT …/:id/enabled` `{ enabled }` enables it; `POST …/:id/run-now` `{ payload }` runs it.
17
18
  - Procedures shipped by a project or module as code: `DeclareProcedure({ id, name, description, graph, enabled })` from `@antelopejs/interface-dms-automation`, called in `start()` on every boot (idempotent, keyed by `id`, which becomes the procedure id; enabled = armed at once; never overwrites a procedure someone changed). Never insert into the module's tables directly: not armed until restart, couples to the internal schema. Details: the `dms-automation-interface` skill.
18
19
  - States: failing (last run failed, or the trigger cannot be armed), degraded (a failure in 7 days), healthy, paused, draft. Test runs never count.
@@ -25,6 +26,7 @@ Runs procedures: a trigger starts a run, actions run along trigger edges, data n
25
26
 
26
27
  - Webhook paths cannot overlap an existing route or start with `/api`, `/auth`, `/dms`, `/modules`, `/settings`; two enabled procedures cannot share method + path. URLs shown use the DMS `apiBaseUrl` (the API server, not the frontend server).
27
28
  - Version 0.4+ needs `@antelopejs/dms` 0.9 (`interface-dms` 0.7) and `@antelopejs/dms-frontend` 0.6; 0.3 is the DMS 0.8 line.
29
+ - **Test run** simulates only actions declaring `dryRun` (and runs `sideEffects: false` ones as is); every other action (HTTP request, module actions without `dryRun`) acts for real. The builder lists those steps and asks first; `POST …/:id/test` answers 409 with `realEffects` until called with `confirmRealEffects: true` (`POST …/:id/test-effects` `{ graph }` lists them). To make a project or module action safe to test, give it `dryRun` (see `dms-automation-interface`).
28
30
  - A re-run sends `[redacted]` where the original request held credentials.
29
31
  - Data-change triggers on a project's own tables: `database.table-watch` from `@antelopejs/dms-database` (`schema` = the `RegisterSchema` id, `table`). It needs a change feed: MongoDB **replica set** only (single node `--replSet rs0` + `rs.initiate()` + `replicaSet=rs0` in the URL); on a standalone server the procedure is Failing with "$changeStream is only supported on replica sets".
30
32
  - A trigger type registered after the module armed its procedures (start order, hot reload) arms them on registration; "not available" that lasts means the registering module is not loaded.