@almadar/std 14.25.0 → 14.27.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 (431) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +82 -82
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +110 -110
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +112 -112
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +90 -90
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -406
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +83 -83
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +122 -122
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +51 -51
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +122 -122
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +214 -214
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +329 -329
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +67 -67
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +202 -202
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +185 -185
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +122 -122
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +114 -114
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +209 -209
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1039 -1039
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2977 -2977
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2090 -2090
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +935 -935
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +760 -760
  24. package/behaviors/registry/app/atoms/std-ap-bill.orb +62 -62
  25. package/behaviors/registry/app/atoms/std-applicant.orb +497 -43
  26. package/behaviors/registry/app/atoms/std-approval-request.orb +451 -625
  27. package/behaviors/registry/app/atoms/std-campaign-goal.orb +443 -238
  28. package/behaviors/registry/app/atoms/std-change-order.orb +563 -305
  29. package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +435 -98
  30. package/behaviors/registry/app/atoms/std-checkin.orb +436 -272
  31. package/behaviors/registry/app/atoms/std-checkout-terminal.orb +458 -260
  32. package/behaviors/registry/app/atoms/std-class-roster.orb +508 -74
  33. package/behaviors/registry/app/atoms/std-class-session.orb +488 -101
  34. package/behaviors/registry/app/atoms/std-court-deadline.orb +525 -94
  35. package/behaviors/registry/app/atoms/std-customer-account.orb +576 -96
  36. package/behaviors/registry/app/atoms/std-donation-receipt.orb +497 -54
  37. package/behaviors/registry/app/atoms/std-donor.orb +440 -153
  38. package/behaviors/registry/app/atoms/std-drip-sequence.orb +453 -70
  39. package/behaviors/registry/app/atoms/std-driver.orb +477 -492
  40. package/behaviors/registry/app/atoms/std-dunning.orb +442 -515
  41. package/behaviors/registry/app/atoms/std-email-broadcast.orb +518 -65
  42. package/behaviors/registry/app/atoms/std-event.orb +467 -669
  43. package/behaviors/registry/app/atoms/std-health-score.orb +371 -436
  44. package/behaviors/registry/app/atoms/std-help-article.orb +374 -532
  45. package/behaviors/registry/app/atoms/std-help-category.orb +347 -369
  46. package/behaviors/registry/app/atoms/std-interview-slot.orb +491 -49
  47. package/behaviors/registry/app/atoms/std-invoice.orb +488 -303
  48. package/behaviors/registry/app/atoms/std-kitchen-display.orb +632 -140
  49. package/behaviors/registry/app/atoms/std-lease.orb +508 -184
  50. package/behaviors/registry/app/atoms/std-ledger-entry.orb +474 -150
  51. package/behaviors/registry/app/atoms/std-maintenance-request.orb +653 -203
  52. package/behaviors/registry/app/atoms/std-matter.orb +482 -336
  53. package/behaviors/registry/app/atoms/std-membership.orb +521 -113
  54. package/behaviors/registry/app/atoms/std-menu.orb +766 -174
  55. package/behaviors/registry/app/atoms/std-modifier-group.orb +518 -100
  56. package/behaviors/registry/app/atoms/std-nps-survey.orb +330 -338
  57. package/behaviors/registry/app/atoms/std-offer-letter.orb +493 -43
  58. package/behaviors/registry/app/atoms/std-payout-ledger.orb +376 -360
  59. package/behaviors/registry/app/atoms/std-question-bank.orb +364 -331
  60. package/behaviors/registry/app/atoms/std-receipt.orb +566 -57
  61. package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -842
  62. package/behaviors/registry/app/atoms/std-renewal-risk.orb +373 -436
  63. package/behaviors/registry/app/atoms/std-rent-charge.orb +659 -57
  64. package/behaviors/registry/app/atoms/std-reorder-rule.orb +497 -46
  65. package/behaviors/registry/app/atoms/std-response-collector.orb +456 -149
  66. package/behaviors/registry/app/atoms/std-rfi.orb +507 -466
  67. package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  68. package/behaviors/registry/app/atoms/std-segment.orb +367 -113
  69. package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  70. package/behaviors/registry/app/atoms/std-submittal.orb +538 -510
  71. package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  72. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +649 -67
  73. package/behaviors/registry/app/atoms/std-telematics-event.orb +324 -229
  74. package/behaviors/registry/app/atoms/std-template-editor.orb +527 -104
  75. package/behaviors/registry/app/atoms/std-tenant.orb +522 -63
  76. package/behaviors/registry/app/atoms/std-ticket-tier.orb +469 -457
  77. package/behaviors/registry/app/atoms/std-time-entry.orb +338 -301
  78. package/behaviors/registry/app/atoms/std-timesheet.orb +542 -298
  79. package/behaviors/registry/app/atoms/std-trial.orb +423 -337
  80. package/behaviors/registry/app/atoms/std-vehicle.orb +406 -571
  81. package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  82. package/behaviors/registry/app/atoms/std-warehouse.orb +268 -214
  83. package/behaviors/registry/app/atoms/std-work-order.orb +629 -241
  84. package/behaviors/registry/app/molecules/std-applicant-form.orb +81 -75
  85. package/behaviors/registry/app/molecules/std-application.orb +168 -253
  86. package/behaviors/registry/app/molecules/std-broadcast-builder.orb +74 -200
  87. package/behaviors/registry/app/molecules/std-cart.orb +82 -76
  88. package/behaviors/registry/app/molecules/std-form-builder.orb +422 -161
  89. package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +622 -154
  90. package/behaviors/registry/app/molecules/std-stock-adjustment.orb +512 -113
  91. package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +390 -476
  92. package/behaviors/registry/app/organisms/std-accounting.orb +120 -120
  93. package/behaviors/registry/app/organisms/std-api-gateway.orb +214 -214
  94. package/behaviors/registry/app/organisms/std-ats-recruiting.orb +143 -143
  95. package/behaviors/registry/app/organisms/std-booking-system.orb +698 -698
  96. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +282 -282
  97. package/behaviors/registry/app/organisms/std-cms.orb +315 -315
  98. package/behaviors/registry/app/organisms/std-coding-academy.orb +226 -226
  99. package/behaviors/registry/app/organisms/std-construction-pm.orb +159 -159
  100. package/behaviors/registry/app/organisms/std-crm.orb +265 -265
  101. package/behaviors/registry/app/organisms/std-customer-success.orb +106 -106
  102. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +384 -384
  103. package/behaviors/registry/app/organisms/std-document-mgmt.orb +101 -101
  104. package/behaviors/registry/app/organisms/std-ecommerce.orb +735 -735
  105. package/behaviors/registry/app/organisms/std-event-ticketing.orb +207 -207
  106. package/behaviors/registry/app/organisms/std-field-service.orb +181 -181
  107. package/behaviors/registry/app/organisms/std-finance-tracker.orb +227 -227
  108. package/behaviors/registry/app/organisms/std-fitness-studio.orb +145 -145
  109. package/behaviors/registry/app/organisms/std-fleet-mgmt.orb +149 -149
  110. package/behaviors/registry/app/organisms/std-forum.orb +150 -150
  111. package/behaviors/registry/app/organisms/std-healthcare.orb +531 -531
  112. package/behaviors/registry/app/organisms/std-helpdesk.orb +161 -161
  113. package/behaviors/registry/app/organisms/std-hr-portal.orb +455 -455
  114. package/behaviors/registry/app/organisms/std-inventory.orb +162 -162
  115. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +353 -353
  116. package/behaviors/registry/app/organisms/std-legal-case.orb +164 -164
  117. package/behaviors/registry/app/organisms/std-listings.orb +147 -147
  118. package/behaviors/registry/app/organisms/std-lms.orb +409 -409
  119. package/behaviors/registry/app/organisms/std-marketing-campaign.orb +123 -123
  120. package/behaviors/registry/app/organisms/std-marketplace.orb +251 -251
  121. package/behaviors/registry/app/organisms/std-nonprofit-donations.orb +105 -105
  122. package/behaviors/registry/app/organisms/std-notes.orb +112 -112
  123. package/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  124. package/behaviors/registry/app/organisms/std-property-mgmt.orb +178 -178
  125. package/behaviors/registry/app/organisms/std-public-help-center.orb +133 -133
  126. package/behaviors/registry/app/organisms/std-realtime-chat.orb +245 -245
  127. package/behaviors/registry/app/organisms/std-restaurant-pos.orb +131 -131
  128. package/behaviors/registry/app/organisms/std-retail-pos.orb +129 -129
  129. package/behaviors/registry/app/organisms/std-social-feed.orb +159 -159
  130. package/behaviors/registry/app/organisms/std-subscription-billing.orb +187 -187
  131. package/behaviors/registry/app/organisms/std-survey.orb +129 -129
  132. package/behaviors/registry/app/organisms/std-time-tracking.orb +167 -167
  133. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +263 -263
  134. package/behaviors/registry/app/organisms/std-wiki.orb +139 -139
  135. package/behaviors/registry/core/atoms/std-billable-hour.orb +505 -101
  136. package/behaviors/registry/core/atoms/std-branching-logic.orb +265 -594
  137. package/behaviors/registry/core/atoms/std-browse.orb +58 -58
  138. package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  139. package/behaviors/registry/core/atoms/std-calendar.orb +50 -50
  140. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +184 -184
  141. package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  142. package/behaviors/registry/core/atoms/std-display.orb +1 -1
  143. package/behaviors/registry/core/atoms/std-drawer.orb +14 -14
  144. package/behaviors/registry/core/atoms/std-esign-request.orb +29 -29
  145. package/behaviors/registry/core/atoms/std-file-store.orb +541 -159
  146. package/behaviors/registry/core/atoms/std-filter.orb +12 -12
  147. package/behaviors/registry/core/atoms/std-flag.orb +95 -95
  148. package/behaviors/registry/core/atoms/std-gallery.orb +119 -102
  149. package/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  150. package/behaviors/registry/core/atoms/std-graphs.orb +37 -37
  151. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +93 -63
  152. package/behaviors/registry/core/atoms/std-mod-queue.orb +56 -56
  153. package/behaviors/registry/core/atoms/std-modal.orb +20 -20
  154. package/behaviors/registry/core/atoms/std-page-tree.orb +341 -459
  155. package/behaviors/registry/core/atoms/std-pagination.orb +17 -17
  156. package/behaviors/registry/core/atoms/std-push.orb +38 -38
  157. package/behaviors/registry/core/atoms/std-rate-limiter.orb +168 -168
  158. package/behaviors/registry/core/atoms/std-rating-review.orb +68 -68
  159. package/behaviors/registry/core/atoms/std-related.orb +34 -34
  160. package/behaviors/registry/core/atoms/std-rich-editor.orb +298 -433
  161. package/behaviors/registry/core/atoms/std-saved-search.orb +55 -55
  162. package/behaviors/registry/core/atoms/std-search.orb +9 -9
  163. package/behaviors/registry/core/atoms/std-selection.orb +77 -77
  164. package/behaviors/registry/core/atoms/std-signature-capture.orb +89 -89
  165. package/behaviors/registry/core/atoms/std-stats.orb +104 -104
  166. package/behaviors/registry/core/atoms/std-tabs.orb +27 -27
  167. package/behaviors/registry/core/atoms/std-tag-taxonomy.orb +69 -69
  168. package/behaviors/registry/core/atoms/std-thread.orb +56 -56
  169. package/behaviors/registry/core/atoms/std-version-history.orb +462 -438
  170. package/behaviors/registry/core/atoms/std-vote.orb +39 -39
  171. package/behaviors/registry/core/molecules/std-app-layout.orb +21 -21
  172. package/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +11 -11
  173. package/behaviors/registry/core/molecules/std-dashboard.orb +52 -52
  174. package/behaviors/registry/core/molecules/std-esign-flow.orb +86 -104
  175. package/behaviors/registry/core/molecules/std-filtered-list.orb +22 -22
  176. package/behaviors/registry/core/molecules/std-form-advanced.orb +133 -133
  177. package/behaviors/registry/core/molecules/std-list.orb +71 -71
  178. package/behaviors/registry/core/molecules/std-master-detail-layout.orb +13 -13
  179. package/behaviors/registry/core/molecules/std-stack-layout.orb +12 -12
  180. package/behaviors/registry/core/molecules/std-tabs-layout.orb +11 -11
  181. package/behaviors/registry/core/molecules/std-wizard-form.orb +227 -152
  182. package/behaviors/registry/core/organisms/std-generic-app.orb +544 -544
  183. package/behaviors/registry/game/atoms/std-collision.orb +0 -595
  184. package/behaviors/registry/game/atoms/std-combat.orb +0 -524
  185. package/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  186. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +40 -40
  187. package/behaviors/registry/game/atoms/std-gameflow.orb +0 -456
  188. package/behaviors/registry/game/atoms/std-movement.orb +0 -1279
  189. package/behaviors/registry/game/atoms/std-overworld.orb +56 -56
  190. package/behaviors/registry/game/atoms/std-physics2d.orb +78 -78
  191. package/behaviors/registry/game/atoms/std-quest.orb +122 -122
  192. package/behaviors/registry/game/atoms/std-timer.orb +266 -266
  193. package/behaviors/registry/game/organisms/std-arcade-game.orb +0 -1446
  194. package/behaviors/registry/game/organisms/std-logic-training.orb +0 -1037
  195. package/behaviors/registry/game/organisms/std-platformer-app.orb +0 -2567
  196. package/behaviors/registry/game/organisms/std-puzzle-app.orb +0 -1197
  197. package/behaviors/registry/game/organisms/std-rpg-game.orb +0 -3509
  198. package/behaviors/registry/game/organisms/std-stem-lab.orb +0 -2003
  199. package/behaviors/registry/game/organisms/std-strategy-game.orb +0 -2686
  200. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +32 -32
  201. package/behaviors/registry/service/atoms/std-service-calendar-ical.orb +51 -51
  202. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +69 -69
  203. package/behaviors/registry/service/atoms/std-service-email.orb +55 -55
  204. package/behaviors/registry/service/atoms/std-service-github.orb +70 -70
  205. package/behaviors/registry/service/atoms/std-service-llm.orb +70 -70
  206. package/behaviors/registry/service/atoms/std-service-maps.orb +83 -83
  207. package/behaviors/registry/service/atoms/std-service-oauth.orb +51 -51
  208. package/behaviors/registry/service/atoms/std-service-print.orb +114 -114
  209. package/behaviors/registry/service/atoms/std-service-redis.orb +61 -61
  210. package/behaviors/registry/service/atoms/std-service-storage.orb +51 -51
  211. package/behaviors/registry/service/atoms/std-service-stripe.orb +111 -111
  212. package/behaviors/registry/service/atoms/std-service-twilio.orb +48 -48
  213. package/behaviors/registry/service/atoms/std-service-youtube.orb +45 -45
  214. package/behaviors/registry/service/organisms/std-service-marketplace.orb +911 -911
  215. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +883 -883
  216. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +82 -82
  217. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +110 -110
  218. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +112 -112
  219. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +90 -90
  220. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -406
  221. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  222. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +83 -83
  223. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +122 -122
  224. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +51 -51
  225. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +122 -122
  226. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +214 -214
  227. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +329 -329
  228. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +67 -67
  229. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +202 -202
  230. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +185 -185
  231. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +122 -122
  232. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +114 -114
  233. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +209 -209
  234. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1039 -1039
  235. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2977 -2977
  236. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2090 -2090
  237. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +935 -935
  238. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +760 -760
  239. package/dist/behaviors/registry/app/atoms/std-ap-bill.orb +62 -62
  240. package/dist/behaviors/registry/app/atoms/std-applicant.orb +497 -43
  241. package/dist/behaviors/registry/app/atoms/std-approval-request.orb +451 -625
  242. package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +443 -238
  243. package/dist/behaviors/registry/app/atoms/std-change-order.orb +563 -305
  244. package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +435 -98
  245. package/dist/behaviors/registry/app/atoms/std-checkin.orb +436 -272
  246. package/dist/behaviors/registry/app/atoms/std-checkout-terminal.orb +458 -260
  247. package/dist/behaviors/registry/app/atoms/std-class-roster.orb +508 -74
  248. package/dist/behaviors/registry/app/atoms/std-class-session.orb +488 -101
  249. package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +525 -94
  250. package/dist/behaviors/registry/app/atoms/std-customer-account.orb +576 -96
  251. package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +497 -54
  252. package/dist/behaviors/registry/app/atoms/std-donor.orb +440 -153
  253. package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +453 -70
  254. package/dist/behaviors/registry/app/atoms/std-driver.orb +477 -492
  255. package/dist/behaviors/registry/app/atoms/std-dunning.orb +442 -515
  256. package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +518 -65
  257. package/dist/behaviors/registry/app/atoms/std-event.orb +467 -669
  258. package/dist/behaviors/registry/app/atoms/std-health-score.orb +371 -436
  259. package/dist/behaviors/registry/app/atoms/std-help-article.orb +374 -532
  260. package/dist/behaviors/registry/app/atoms/std-help-category.orb +347 -369
  261. package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +491 -49
  262. package/dist/behaviors/registry/app/atoms/std-invoice.orb +488 -303
  263. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +632 -140
  264. package/dist/behaviors/registry/app/atoms/std-lease.orb +508 -184
  265. package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +474 -150
  266. package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +653 -203
  267. package/dist/behaviors/registry/app/atoms/std-matter.orb +482 -336
  268. package/dist/behaviors/registry/app/atoms/std-membership.orb +521 -113
  269. package/dist/behaviors/registry/app/atoms/std-menu.orb +766 -174
  270. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +518 -100
  271. package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +330 -338
  272. package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +493 -43
  273. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +376 -360
  274. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +364 -331
  275. package/dist/behaviors/registry/app/atoms/std-receipt.orb +566 -57
  276. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -842
  277. package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +373 -436
  278. package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +659 -57
  279. package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +497 -46
  280. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +456 -149
  281. package/dist/behaviors/registry/app/atoms/std-rfi.orb +507 -466
  282. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  283. package/dist/behaviors/registry/app/atoms/std-segment.orb +367 -113
  284. package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  285. package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -510
  286. package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  287. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +649 -67
  288. package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +324 -229
  289. package/dist/behaviors/registry/app/atoms/std-template-editor.orb +527 -104
  290. package/dist/behaviors/registry/app/atoms/std-tenant.orb +522 -63
  291. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +469 -457
  292. package/dist/behaviors/registry/app/atoms/std-time-entry.orb +338 -301
  293. package/dist/behaviors/registry/app/atoms/std-timesheet.orb +542 -298
  294. package/dist/behaviors/registry/app/atoms/std-trial.orb +423 -337
  295. package/dist/behaviors/registry/app/atoms/std-vehicle.orb +406 -571
  296. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  297. package/dist/behaviors/registry/app/atoms/std-warehouse.orb +268 -214
  298. package/dist/behaviors/registry/app/atoms/std-work-order.orb +629 -241
  299. package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +81 -75
  300. package/dist/behaviors/registry/app/molecules/std-application.orb +168 -253
  301. package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +74 -200
  302. package/dist/behaviors/registry/app/molecules/std-cart.orb +82 -76
  303. package/dist/behaviors/registry/app/molecules/std-form-builder.orb +422 -161
  304. package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +622 -154
  305. package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +512 -113
  306. package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +390 -476
  307. package/dist/behaviors/registry/app/organisms/std-accounting.orb +120 -120
  308. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +214 -214
  309. package/dist/behaviors/registry/app/organisms/std-ats-recruiting.orb +143 -143
  310. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +698 -698
  311. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +282 -282
  312. package/dist/behaviors/registry/app/organisms/std-cms.orb +315 -315
  313. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +226 -226
  314. package/dist/behaviors/registry/app/organisms/std-construction-pm.orb +159 -159
  315. package/dist/behaviors/registry/app/organisms/std-crm.orb +265 -265
  316. package/dist/behaviors/registry/app/organisms/std-customer-success.orb +106 -106
  317. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +384 -384
  318. package/dist/behaviors/registry/app/organisms/std-document-mgmt.orb +101 -101
  319. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +735 -735
  320. package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +207 -207
  321. package/dist/behaviors/registry/app/organisms/std-field-service.orb +181 -181
  322. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +227 -227
  323. package/dist/behaviors/registry/app/organisms/std-fitness-studio.orb +145 -145
  324. package/dist/behaviors/registry/app/organisms/std-fleet-mgmt.orb +149 -149
  325. package/dist/behaviors/registry/app/organisms/std-forum.orb +150 -150
  326. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +531 -531
  327. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +161 -161
  328. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +455 -455
  329. package/dist/behaviors/registry/app/organisms/std-inventory.orb +162 -162
  330. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +353 -353
  331. package/dist/behaviors/registry/app/organisms/std-legal-case.orb +164 -164
  332. package/dist/behaviors/registry/app/organisms/std-listings.orb +147 -147
  333. package/dist/behaviors/registry/app/organisms/std-lms.orb +409 -409
  334. package/dist/behaviors/registry/app/organisms/std-marketing-campaign.orb +123 -123
  335. package/dist/behaviors/registry/app/organisms/std-marketplace.orb +251 -251
  336. package/dist/behaviors/registry/app/organisms/std-nonprofit-donations.orb +105 -105
  337. package/dist/behaviors/registry/app/organisms/std-notes.orb +112 -112
  338. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  339. package/dist/behaviors/registry/app/organisms/std-property-mgmt.orb +178 -178
  340. package/dist/behaviors/registry/app/organisms/std-public-help-center.orb +133 -133
  341. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +245 -245
  342. package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +131 -131
  343. package/dist/behaviors/registry/app/organisms/std-retail-pos.orb +129 -129
  344. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +159 -159
  345. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +187 -187
  346. package/dist/behaviors/registry/app/organisms/std-survey.orb +129 -129
  347. package/dist/behaviors/registry/app/organisms/std-time-tracking.orb +167 -167
  348. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +263 -263
  349. package/dist/behaviors/registry/app/organisms/std-wiki.orb +139 -139
  350. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +505 -101
  351. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +265 -594
  352. package/dist/behaviors/registry/core/atoms/std-browse.orb +58 -58
  353. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  354. package/dist/behaviors/registry/core/atoms/std-calendar.orb +50 -50
  355. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +184 -184
  356. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  357. package/dist/behaviors/registry/core/atoms/std-display.orb +1 -1
  358. package/dist/behaviors/registry/core/atoms/std-drawer.orb +14 -14
  359. package/dist/behaviors/registry/core/atoms/std-esign-request.orb +29 -29
  360. package/dist/behaviors/registry/core/atoms/std-file-store.orb +541 -159
  361. package/dist/behaviors/registry/core/atoms/std-filter.orb +12 -12
  362. package/dist/behaviors/registry/core/atoms/std-flag.orb +95 -95
  363. package/dist/behaviors/registry/core/atoms/std-gallery.orb +119 -102
  364. package/dist/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  365. package/dist/behaviors/registry/core/atoms/std-graphs.orb +37 -37
  366. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +93 -63
  367. package/dist/behaviors/registry/core/atoms/std-mod-queue.orb +56 -56
  368. package/dist/behaviors/registry/core/atoms/std-modal.orb +20 -20
  369. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +341 -459
  370. package/dist/behaviors/registry/core/atoms/std-pagination.orb +17 -17
  371. package/dist/behaviors/registry/core/atoms/std-push.orb +38 -38
  372. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +168 -168
  373. package/dist/behaviors/registry/core/atoms/std-rating-review.orb +68 -68
  374. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -34
  375. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +298 -433
  376. package/dist/behaviors/registry/core/atoms/std-saved-search.orb +55 -55
  377. package/dist/behaviors/registry/core/atoms/std-search.orb +9 -9
  378. package/dist/behaviors/registry/core/atoms/std-selection.orb +77 -77
  379. package/dist/behaviors/registry/core/atoms/std-signature-capture.orb +89 -89
  380. package/dist/behaviors/registry/core/atoms/std-stats.orb +104 -104
  381. package/dist/behaviors/registry/core/atoms/std-tabs.orb +27 -27
  382. package/dist/behaviors/registry/core/atoms/std-tag-taxonomy.orb +69 -69
  383. package/dist/behaviors/registry/core/atoms/std-thread.orb +56 -56
  384. package/dist/behaviors/registry/core/atoms/std-version-history.orb +462 -438
  385. package/dist/behaviors/registry/core/atoms/std-vote.orb +39 -39
  386. package/dist/behaviors/registry/core/molecules/std-app-layout.orb +21 -21
  387. package/dist/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +11 -11
  388. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +52 -52
  389. package/dist/behaviors/registry/core/molecules/std-esign-flow.orb +86 -104
  390. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +22 -22
  391. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +133 -133
  392. package/dist/behaviors/registry/core/molecules/std-list.orb +71 -71
  393. package/dist/behaviors/registry/core/molecules/std-master-detail-layout.orb +13 -13
  394. package/dist/behaviors/registry/core/molecules/std-stack-layout.orb +12 -12
  395. package/dist/behaviors/registry/core/molecules/std-tabs-layout.orb +11 -11
  396. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +227 -152
  397. package/dist/behaviors/registry/core/organisms/std-generic-app.orb +544 -544
  398. package/dist/behaviors/registry/game/atoms/std-collision.orb +0 -595
  399. package/dist/behaviors/registry/game/atoms/std-combat.orb +0 -524
  400. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  401. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +40 -40
  402. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +0 -456
  403. package/dist/behaviors/registry/game/atoms/std-movement.orb +0 -1279
  404. package/dist/behaviors/registry/game/atoms/std-overworld.orb +56 -56
  405. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +78 -78
  406. package/dist/behaviors/registry/game/atoms/std-quest.orb +122 -122
  407. package/dist/behaviors/registry/game/atoms/std-timer.orb +266 -266
  408. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +0 -1446
  409. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +0 -1037
  410. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +0 -2567
  411. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +0 -1197
  412. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +0 -3509
  413. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +0 -2003
  414. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +0 -2686
  415. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +32 -32
  416. package/dist/behaviors/registry/service/atoms/std-service-calendar-ical.orb +51 -51
  417. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +69 -69
  418. package/dist/behaviors/registry/service/atoms/std-service-email.orb +55 -55
  419. package/dist/behaviors/registry/service/atoms/std-service-github.orb +70 -70
  420. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +70 -70
  421. package/dist/behaviors/registry/service/atoms/std-service-maps.orb +83 -83
  422. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +51 -51
  423. package/dist/behaviors/registry/service/atoms/std-service-print.orb +114 -114
  424. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +61 -61
  425. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +51 -51
  426. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +111 -111
  427. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +48 -48
  428. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +45 -45
  429. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +911 -911
  430. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +883 -883
  431. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-technician-dispatch",
3
3
  "version": "1.0.0",
4
- "description": "std-technician-dispatch — dispatch board for field technicians. Owns a Technician entity (id, skills, availability, current assignment, last-known location) and a single trait that loads the roster, renders an Assign / SetUnavailable data-grid, and tracks accept / reject responses so a parent molecule can wire them to its WorkOrder.",
4
+ "description": "std-technician-dispatch — dispatch board for field technicians. Lists technicians in `browsing`; opens detail in `viewing_single` with Assign / Accept / Reject / Toggle Availability actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "TechnicianDispatchOrbital",
@@ -60,6 +60,57 @@
60
60
  "category": "interaction",
61
61
  "linkedEntity": "Technician",
62
62
  "emits": [
63
+ {
64
+ "event": "OPEN_TECHNICIAN",
65
+ "payloadSchema": [
66
+ {
67
+ "name": "id",
68
+ "type": "string",
69
+ "required": true
70
+ },
71
+ {
72
+ "name": "row.id",
73
+ "type": "string",
74
+ "required": true
75
+ },
76
+ {
77
+ "name": "row.name",
78
+ "type": "string",
79
+ "required": true
80
+ },
81
+ {
82
+ "name": "row.phone",
83
+ "type": "string"
84
+ },
85
+ {
86
+ "name": "row.skills",
87
+ "type": "[string]"
88
+ },
89
+ {
90
+ "name": "row.available",
91
+ "type": "boolean"
92
+ },
93
+ {
94
+ "name": "row.currentOrderId",
95
+ "type": "string"
96
+ },
97
+ {
98
+ "name": "row.lat",
99
+ "type": "number"
100
+ },
101
+ {
102
+ "name": "row.lng",
103
+ "type": "number"
104
+ },
105
+ {
106
+ "name": "row.lastSeenAt",
107
+ "type": "string"
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ "event": "CLOSE_VIEW"
113
+ },
63
114
  {
64
115
  "event": "ASSIGN",
65
116
  "payloadSchema": [
@@ -218,6 +269,9 @@
218
269
  {
219
270
  "name": "browsing"
220
271
  },
272
+ {
273
+ "name": "viewing_single"
274
+ },
221
275
  {
222
276
  "name": "error"
223
277
  }
@@ -251,6 +305,21 @@
251
305
  }
252
306
  ]
253
307
  },
308
+ {
309
+ "key": "OPEN_TECHNICIAN",
310
+ "name": "Open Technician",
311
+ "payloadSchema": [
312
+ {
313
+ "name": "id",
314
+ "type": "string",
315
+ "required": true
316
+ },
317
+ {
318
+ "name": "row",
319
+ "type": "Technician"
320
+ }
321
+ ]
322
+ },
254
323
  {
255
324
  "key": "ASSIGN",
256
325
  "name": "Assign",
@@ -350,6 +419,10 @@
350
419
  "required": true
351
420
  }
352
421
  ]
422
+ },
423
+ {
424
+ "key": "CLOSE_VIEW",
425
+ "name": "Close View"
353
426
  }
354
427
  ],
355
428
  "transitions": [
@@ -363,8 +436,8 @@
363
436
  "Technician",
364
437
  {
365
438
  "emit": {
366
- "success": "TechnicianLoaded",
367
- "failure": "TechnicianLoadFailed"
439
+ "failure": "TechnicianLoadFailed",
440
+ "success": "TechnicianLoaded"
368
441
  }
369
442
  }
370
443
  ],
@@ -372,22 +445,22 @@
372
445
  "render-ui",
373
446
  "main",
374
447
  {
375
- "align": "center",
376
448
  "children": [
377
449
  {
378
450
  "type": "spinner"
379
451
  },
380
452
  {
381
453
  "type": "typography",
382
- "content": "Loading technicians…",
383
454
  "color": "muted",
455
+ "content": "Loading technicians…",
384
456
  "variant": "caption"
385
457
  }
386
458
  ],
387
- "gap": "md",
459
+ "type": "stack",
388
460
  "className": "py-12",
389
461
  "direction": "vertical",
390
- "type": "stack"
462
+ "gap": "md",
463
+ "align": "center"
391
464
  }
392
465
  ]
393
466
  ]
@@ -401,77 +474,107 @@
401
474
  "render-ui",
402
475
  "main",
403
476
  {
404
- "type": "stack",
405
- "gap": "md",
406
477
  "children": [
407
478
  {
408
479
  "type": "stack",
409
480
  "direction": "horizontal",
410
- "gap": "sm",
481
+ "align": "center",
411
482
  "children": [
412
483
  {
413
484
  "name": "hard-hat",
414
485
  "type": "icon"
415
486
  },
416
487
  {
417
- "variant": "h3",
418
488
  "type": "typography",
489
+ "variant": "h3",
419
490
  "content": "@config.title"
420
491
  }
421
- ]
492
+ ],
493
+ "gap": "sm"
494
+ },
495
+ {
496
+ "cols": 4.0,
497
+ "children": [
498
+ {
499
+ "type": "stat-display",
500
+ "icon": "users",
501
+ "label": "Total technicians",
502
+ "value": "@payload.data.length"
503
+ },
504
+ {
505
+ "value": "18",
506
+ "icon": "check-circle",
507
+ "type": "stat-display",
508
+ "label": "Available now"
509
+ },
510
+ {
511
+ "icon": "navigation",
512
+ "label": "On assignment",
513
+ "value": "9",
514
+ "type": "stat-display"
515
+ },
516
+ {
517
+ "icon": "clock",
518
+ "type": "stat-display",
519
+ "label": "Avg response",
520
+ "value": "12m"
521
+ }
522
+ ],
523
+ "type": "simple-grid"
422
524
  },
423
525
  {
424
526
  "type": "divider"
425
527
  },
426
528
  {
529
+ "type": "data-grid",
530
+ "entity": "@payload.data",
531
+ "cols": 1.0,
427
532
  "fields": [
428
533
  {
429
534
  "name": "name",
430
- "variant": "body",
431
- "label": "Technician"
535
+ "label": "Technician",
536
+ "variant": "body"
432
537
  },
433
538
  {
434
- "variant": "caption",
435
539
  "label": "Skills",
540
+ "variant": "caption",
436
541
  "name": "skills"
437
542
  },
438
543
  {
439
- "label": "Available",
544
+ "variant": "badge",
440
545
  "name": "available",
441
- "variant": "badge"
546
+ "label": "Available"
442
547
  },
443
548
  {
444
549
  "name": "currentOrderId",
445
- "label": "Current Order",
446
- "variant": "caption"
550
+ "variant": "caption",
551
+ "label": "Current Order"
447
552
  },
448
553
  {
449
554
  "name": "lastSeenAt",
450
- "variant": "caption",
451
- "label": "Last Seen"
555
+ "label": "Last Seen",
556
+ "variant": "caption"
452
557
  }
453
558
  ],
454
- "cols": 1.0,
455
559
  "gap": "sm",
456
- "entity": "@payload.data",
457
- "type": "data-grid",
458
560
  "itemActions": [
459
561
  {
460
- "variant": "primary",
461
- "label": "Assign",
462
- "icon": "user-plus",
463
- "event": "ASSIGN"
562
+ "icon": "arrow-right",
563
+ "label": "Open",
564
+ "event": "OPEN_TECHNICIAN",
565
+ "variant": "primary"
464
566
  },
465
567
  {
466
- "label": "Set Unavailable",
467
- "variant": "secondary",
468
- "event": "TOGGLE_AVAILABLE",
469
- "icon": "user-minus"
568
+ "variant": "danger",
569
+ "event": "ASSIGN",
570
+ "label": "Assign"
470
571
  }
471
572
  ]
472
573
  }
473
574
  ],
474
- "direction": "vertical"
575
+ "gap": "md",
576
+ "direction": "vertical",
577
+ "type": "stack"
475
578
  }
476
579
  ]
477
580
  ]
@@ -494,35 +597,267 @@
494
597
  },
495
598
  {
496
599
  "from": "browsing",
497
- "to": "browsing",
498
- "event": "ASSIGN",
600
+ "to": "viewing_single",
601
+ "event": "OPEN_TECHNICIAN",
499
602
  "effects": [
500
603
  [
501
604
  "set",
502
605
  "@entity.id",
503
- "@payload.technicianId"
606
+ "@payload.row.id"
504
607
  ],
505
608
  [
506
609
  "set",
507
- "@entity.currentOrderId",
508
- "@payload.orderId"
610
+ "@entity.name",
611
+ "@payload.row.name"
612
+ ],
613
+ [
614
+ "set",
615
+ "@entity.phone",
616
+ "@payload.row.phone"
617
+ ],
618
+ [
619
+ "set",
620
+ "@entity.skills",
621
+ "@payload.row.skills"
509
622
  ],
510
623
  [
511
624
  "set",
512
625
  "@entity.available",
513
- false
626
+ "@payload.row.available"
514
627
  ],
515
628
  [
516
- "persist",
517
- "update",
629
+ "set",
630
+ "@entity.currentOrderId",
631
+ "@payload.row.currentOrderId"
632
+ ],
633
+ [
634
+ "set",
635
+ "@entity.lat",
636
+ "@payload.row.lat"
637
+ ],
638
+ [
639
+ "set",
640
+ "@entity.lng",
641
+ "@payload.row.lng"
642
+ ],
643
+ [
644
+ "set",
645
+ "@entity.lastSeenAt",
646
+ "@payload.row.lastSeenAt"
647
+ ],
648
+ [
649
+ "render-ui",
650
+ "main",
651
+ {
652
+ "type": "stack",
653
+ "direction": "vertical",
654
+ "children": [
655
+ {
656
+ "type": "stack",
657
+ "direction": "horizontal",
658
+ "children": [
659
+ {
660
+ "type": "button",
661
+ "label": "Back",
662
+ "variant": "ghost",
663
+ "action": "CLOSE_VIEW"
664
+ },
665
+ {
666
+ "type": "icon",
667
+ "name": "hard-hat"
668
+ },
669
+ {
670
+ "type": "typography",
671
+ "variant": "h3",
672
+ "content": "@entity.name"
673
+ },
674
+ {
675
+ "label": "@entity.lastSeenAt",
676
+ "variant": "primary",
677
+ "type": "badge"
678
+ }
679
+ ],
680
+ "align": "center",
681
+ "gap": "sm"
682
+ },
683
+ {
684
+ "type": "divider"
685
+ },
686
+ {
687
+ "direction": "vertical",
688
+ "children": [
689
+ {
690
+ "type": "stack",
691
+ "direction": "horizontal",
692
+ "gap": "md",
693
+ "children": [
694
+ {
695
+ "type": "typography",
696
+ "variant": "caption",
697
+ "color": "muted",
698
+ "content": "Phone"
699
+ },
700
+ {
701
+ "content": "@entity.phone",
702
+ "variant": "body",
703
+ "type": "typography"
704
+ }
705
+ ]
706
+ },
707
+ {
708
+ "gap": "md",
709
+ "direction": "horizontal",
710
+ "type": "stack",
711
+ "children": [
712
+ {
713
+ "type": "typography",
714
+ "content": "Current order",
715
+ "variant": "caption",
716
+ "color": "muted"
717
+ },
718
+ {
719
+ "variant": "body",
720
+ "content": "@entity.currentOrderId",
721
+ "type": "typography"
722
+ }
723
+ ]
724
+ },
725
+ {
726
+ "type": "stack",
727
+ "direction": "horizontal",
728
+ "children": [
729
+ {
730
+ "variant": "caption",
731
+ "color": "muted",
732
+ "content": "Last seen",
733
+ "type": "typography"
734
+ },
735
+ {
736
+ "type": "typography",
737
+ "content": "@entity.lastSeenAt",
738
+ "variant": "body"
739
+ }
740
+ ],
741
+ "gap": "md"
742
+ }
743
+ ],
744
+ "type": "stack",
745
+ "gap": "sm"
746
+ },
747
+ {
748
+ "type": "divider"
749
+ },
750
+ {
751
+ "type": "simple-grid",
752
+ "cols": 2.0,
753
+ "children": [
754
+ {
755
+ "label": "Latitude",
756
+ "value": "@entity.lat",
757
+ "type": "stat-display",
758
+ "icon": "map-pin"
759
+ },
760
+ {
761
+ "type": "stat-display",
762
+ "icon": "map-pin",
763
+ "label": "Longitude",
764
+ "value": "@entity.lng"
765
+ }
766
+ ]
767
+ },
768
+ {
769
+ "children": [
770
+ {
771
+ "variant": "primary",
772
+ "type": "button",
773
+ "action": "ASSIGN",
774
+ "actionPayload": {
775
+ "orderId": "@entity.currentOrderId",
776
+ "technicianId": "@entity.id"
777
+ },
778
+ "label": "Assign"
779
+ },
780
+ {
781
+ "actionPayload": {
782
+ "technicianId": "@entity.id"
783
+ },
784
+ "label": "Accept",
785
+ "variant": "secondary",
786
+ "type": "button",
787
+ "action": "ACCEPT"
788
+ },
789
+ {
790
+ "action": "REJECT",
791
+ "actionPayload": {
792
+ "technicianId": "@entity.id"
793
+ },
794
+ "type": "button",
795
+ "variant": "danger",
796
+ "label": "Reject"
797
+ },
798
+ {
799
+ "action": "TOGGLE_AVAILABLE",
800
+ "actionPayload": {
801
+ "technicianId": "@entity.id",
802
+ "available": false
803
+ },
804
+ "variant": "secondary",
805
+ "label": "Toggle Available",
806
+ "type": "button"
807
+ }
808
+ ],
809
+ "direction": "horizontal",
810
+ "align": "center",
811
+ "type": "stack",
812
+ "gap": "sm"
813
+ }
814
+ ],
815
+ "gap": "md"
816
+ }
817
+ ]
818
+ ]
819
+ },
820
+ {
821
+ "from": "browsing",
822
+ "to": "loading",
823
+ "event": "ASSIGN",
824
+ "effects": [
825
+ [
826
+ "set",
827
+ "@entity.id",
828
+ "@payload.technicianId"
829
+ ],
830
+ [
831
+ "fetch",
518
832
  "Technician",
519
- "@entity",
520
833
  {
521
834
  "emit": {
522
- "failure": "TechnicianUpdateFailed",
523
- "success": "TechnicianUpdated"
835
+ "success": "TechnicianLoaded",
836
+ "failure": "TechnicianLoadFailed"
524
837
  }
525
838
  }
839
+ ],
840
+ [
841
+ "render-ui",
842
+ "main",
843
+ {
844
+ "type": "stack",
845
+ "align": "center",
846
+ "direction": "vertical",
847
+ "className": "py-12",
848
+ "gap": "md",
849
+ "children": [
850
+ {
851
+ "type": "spinner"
852
+ },
853
+ {
854
+ "type": "typography",
855
+ "content": "Assigning technician…",
856
+ "color": "muted",
857
+ "variant": "caption"
858
+ }
859
+ ]
860
+ }
526
861
  ]
527
862
  ]
528
863
  },
@@ -542,7 +877,7 @@
542
877
  },
543
878
  {
544
879
  "from": "browsing",
545
- "to": "browsing",
880
+ "to": "loading",
546
881
  "event": "REJECT",
547
882
  "effects": [
548
883
  [
@@ -551,39 +886,49 @@
551
886
  "@payload.technicianId"
552
887
  ],
553
888
  [
554
- "set",
555
- "@entity.currentOrderId",
556
- ""
557
- ],
558
- [
559
- "set",
560
- "@entity.available",
561
- true
889
+ "emit",
890
+ "AssignmentRejected",
891
+ {
892
+ "technicianId": "@payload.technicianId"
893
+ }
562
894
  ],
563
895
  [
564
- "persist",
565
- "update",
896
+ "fetch",
566
897
  "Technician",
567
- "@entity",
568
898
  {
569
899
  "emit": {
570
- "success": "TechnicianUpdated",
571
- "failure": "TechnicianUpdateFailed"
900
+ "failure": "TechnicianLoadFailed",
901
+ "success": "TechnicianLoaded"
572
902
  }
573
903
  }
574
904
  ],
575
905
  [
576
- "emit",
577
- "AssignmentRejected",
906
+ "render-ui",
907
+ "main",
578
908
  {
579
- "technicianId": "@payload.technicianId"
909
+ "direction": "vertical",
910
+ "children": [
911
+ {
912
+ "type": "spinner"
913
+ },
914
+ {
915
+ "content": "Releasing technician…",
916
+ "type": "typography",
917
+ "color": "muted",
918
+ "variant": "caption"
919
+ }
920
+ ],
921
+ "type": "stack",
922
+ "align": "center",
923
+ "className": "py-12",
924
+ "gap": "md"
580
925
  }
581
926
  ]
582
927
  ]
583
928
  },
584
929
  {
585
930
  "from": "browsing",
586
- "to": "browsing",
931
+ "to": "loading",
587
932
  "event": "TOGGLE_AVAILABLE",
588
933
  "effects": [
589
934
  [
@@ -607,6 +952,28 @@
607
952
  "success": "TechnicianUpdated"
608
953
  }
609
954
  }
955
+ ],
956
+ [
957
+ "render-ui",
958
+ "main",
959
+ {
960
+ "children": [
961
+ {
962
+ "type": "spinner"
963
+ },
964
+ {
965
+ "type": "typography",
966
+ "color": "muted",
967
+ "variant": "caption",
968
+ "content": "Updating availability…"
969
+ }
970
+ ],
971
+ "className": "py-12",
972
+ "align": "center",
973
+ "type": "stack",
974
+ "gap": "md",
975
+ "direction": "vertical"
976
+ }
610
977
  ]
611
978
  ]
612
979
  },
@@ -636,9 +1003,9 @@
636
1003
  "render-ui",
637
1004
  "main",
638
1005
  {
639
- "message": "@payload.error",
640
1006
  "type": "alert",
641
- "variant": "error"
1007
+ "variant": "error",
1008
+ "message": "@payload.error"
642
1009
  }
643
1010
  ]
644
1011
  ]
@@ -654,10 +1021,98 @@
654
1021
  "event": "AssignmentRejected"
655
1022
  },
656
1023
  {
657
- "from": "error",
1024
+ "from": "viewing_single",
658
1025
  "to": "loading",
659
- "event": "INIT",
1026
+ "event": "CLOSE_VIEW",
1027
+ "effects": [
1028
+ [
1029
+ "fetch",
1030
+ "Technician",
1031
+ {
1032
+ "emit": {
1033
+ "success": "TechnicianLoaded",
1034
+ "failure": "TechnicianLoadFailed"
1035
+ }
1036
+ }
1037
+ ],
1038
+ [
1039
+ "render-ui",
1040
+ "main",
1041
+ {
1042
+ "className": "py-12",
1043
+ "type": "stack",
1044
+ "direction": "vertical",
1045
+ "gap": "md",
1046
+ "align": "center",
1047
+ "children": [
1048
+ {
1049
+ "type": "spinner"
1050
+ },
1051
+ {
1052
+ "variant": "caption",
1053
+ "content": "Loading technicians…",
1054
+ "color": "muted",
1055
+ "type": "typography"
1056
+ }
1057
+ ]
1058
+ }
1059
+ ]
1060
+ ]
1061
+ },
1062
+ {
1063
+ "from": "viewing_single",
1064
+ "to": "loading",
1065
+ "event": "ASSIGN",
1066
+ "effects": [
1067
+ [
1068
+ "set",
1069
+ "@entity.id",
1070
+ "@payload.technicianId"
1071
+ ],
1072
+ [
1073
+ "fetch",
1074
+ "Technician",
1075
+ {
1076
+ "emit": {
1077
+ "success": "TechnicianLoaded",
1078
+ "failure": "TechnicianLoadFailed"
1079
+ }
1080
+ }
1081
+ ],
1082
+ [
1083
+ "render-ui",
1084
+ "main",
1085
+ {
1086
+ "className": "py-12",
1087
+ "gap": "md",
1088
+ "direction": "vertical",
1089
+ "type": "stack",
1090
+ "align": "center",
1091
+ "children": [
1092
+ {
1093
+ "type": "spinner"
1094
+ },
1095
+ {
1096
+ "variant": "caption",
1097
+ "content": "Assigning technician…",
1098
+ "type": "typography",
1099
+ "color": "muted"
1100
+ }
1101
+ ]
1102
+ }
1103
+ ]
1104
+ ]
1105
+ },
1106
+ {
1107
+ "from": "viewing_single",
1108
+ "to": "loading",
1109
+ "event": "ACCEPT",
660
1110
  "effects": [
1111
+ [
1112
+ "set",
1113
+ "@entity.id",
1114
+ "@payload.technicianId"
1115
+ ],
661
1116
  [
662
1117
  "fetch",
663
1118
  "Technician",
@@ -668,6 +1123,133 @@
668
1123
  }
669
1124
  }
670
1125
  ],
1126
+ [
1127
+ "render-ui",
1128
+ "main",
1129
+ {
1130
+ "type": "stack",
1131
+ "align": "center",
1132
+ "children": [
1133
+ {
1134
+ "type": "spinner"
1135
+ },
1136
+ {
1137
+ "variant": "caption",
1138
+ "type": "typography",
1139
+ "color": "muted",
1140
+ "content": "Confirming assignment…"
1141
+ }
1142
+ ],
1143
+ "gap": "md",
1144
+ "direction": "vertical",
1145
+ "className": "py-12"
1146
+ }
1147
+ ]
1148
+ ]
1149
+ },
1150
+ {
1151
+ "from": "viewing_single",
1152
+ "to": "loading",
1153
+ "event": "REJECT",
1154
+ "effects": [
1155
+ [
1156
+ "set",
1157
+ "@entity.id",
1158
+ "@payload.technicianId"
1159
+ ],
1160
+ [
1161
+ "fetch",
1162
+ "Technician",
1163
+ {
1164
+ "emit": {
1165
+ "failure": "TechnicianLoadFailed",
1166
+ "success": "TechnicianLoaded"
1167
+ }
1168
+ }
1169
+ ],
1170
+ [
1171
+ "render-ui",
1172
+ "main",
1173
+ {
1174
+ "direction": "vertical",
1175
+ "align": "center",
1176
+ "gap": "md",
1177
+ "className": "py-12",
1178
+ "children": [
1179
+ {
1180
+ "type": "spinner"
1181
+ },
1182
+ {
1183
+ "color": "muted",
1184
+ "variant": "caption",
1185
+ "type": "typography",
1186
+ "content": "Releasing technician…"
1187
+ }
1188
+ ],
1189
+ "type": "stack"
1190
+ }
1191
+ ]
1192
+ ]
1193
+ },
1194
+ {
1195
+ "from": "viewing_single",
1196
+ "to": "loading",
1197
+ "event": "TOGGLE_AVAILABLE",
1198
+ "effects": [
1199
+ [
1200
+ "set",
1201
+ "@entity.id",
1202
+ "@payload.technicianId"
1203
+ ],
1204
+ [
1205
+ "fetch",
1206
+ "Technician",
1207
+ {
1208
+ "emit": {
1209
+ "success": "TechnicianLoaded",
1210
+ "failure": "TechnicianLoadFailed"
1211
+ }
1212
+ }
1213
+ ],
1214
+ [
1215
+ "render-ui",
1216
+ "main",
1217
+ {
1218
+ "type": "stack",
1219
+ "children": [
1220
+ {
1221
+ "type": "spinner"
1222
+ },
1223
+ {
1224
+ "variant": "caption",
1225
+ "color": "muted",
1226
+ "type": "typography",
1227
+ "content": "Updating availability…"
1228
+ }
1229
+ ],
1230
+ "gap": "md",
1231
+ "align": "center",
1232
+ "className": "py-12",
1233
+ "direction": "vertical"
1234
+ }
1235
+ ]
1236
+ ]
1237
+ },
1238
+ {
1239
+ "from": "error",
1240
+ "to": "loading",
1241
+ "event": "INIT",
1242
+ "effects": [
1243
+ [
1244
+ "fetch",
1245
+ "Technician",
1246
+ {
1247
+ "emit": {
1248
+ "success": "TechnicianLoaded",
1249
+ "failure": "TechnicianLoadFailed"
1250
+ }
1251
+ }
1252
+ ],
671
1253
  [
672
1254
  "render-ui",
673
1255
  "main",
@@ -702,4 +1284,4 @@
702
1284
  ]
703
1285
  }
704
1286
  ]
705
- }
1287
+ }