@adminide-stack/clock-tik-mobile 0.0.0-stage → 12.0.37-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/.claude-flow/data/pending-insights.jsonl +43 -0
  2. package/.claude-flow/sessions/session-1794323376548.json +14 -0
  3. package/CHANGELOG.md +41 -0
  4. package/jest.config.cjs +22 -0
  5. package/lib/assets/home/loop-day.jpg +0 -0
  6. package/lib/assets/home/loop-day.mp4 +0 -0
  7. package/lib/assets/home/loop-time-back.jpg +0 -0
  8. package/lib/assets/home/loop-time-back.mp4 +0 -0
  9. package/lib/assets/home/loop-where.jpg +0 -0
  10. package/lib/assets/home/loop-where.mp4 +0 -0
  11. package/lib/assets/home/reel-gym.jpg +0 -0
  12. package/lib/assets/home/reel-gym.mp4 +0 -0
  13. package/lib/assets/home/reel-internet.jpg +0 -0
  14. package/lib/assets/home/reel-internet.mp4 +0 -0
  15. package/lib/assets/icon.png +0 -0
  16. package/lib/assets/lottie/.claude-flow/data/pending-insights.jsonl +1 -0
  17. package/lib/assets/lottie/lucy-mark-calendar.json +1827 -0
  18. package/lib/assets/lottie/lucy-mark-call.json +1470 -0
  19. package/lib/assets/lottie/lucy-mark-connect.json +2552 -0
  20. package/lib/assets/lottie/lucy-mark-details.json +1735 -0
  21. package/lib/assets/lottie/lucy-mark-email.json +1363 -0
  22. package/lib/assets/lottie/lucy-mark-message.json +1154 -0
  23. package/lib/assets/lottie/lucy-mark-search.json +1067 -0
  24. package/lib/assets/lottie/lucy-mark-think.json +1253 -0
  25. package/lib/assets/lottie/lucy-mark-write.json +1532 -0
  26. package/lib/assets/lottie/time-back.json +16458 -0
  27. package/lib/assets/lottie/where-lucy-works-chat.json +6170 -0
  28. package/lib/assets/lottie/where-lucy-works-cloud.json +10066 -0
  29. package/lib/assets/lottie/where-lucy-works-mine-none.json +2478 -0
  30. package/lib/assets/lottie/where-lucy-works-mine-offline.json +2373 -0
  31. package/lib/assets/lottie/where-lucy-works-mine-online.json +7881 -0
  32. package/lib/assets/sounds/hours-back.m4a +0 -0
  33. package/lib/assets/sounds/meet-lucy.m4a +0 -0
  34. package/lib/assets/sounds/power-on.m4a +0 -0
  35. package/lib/assets/sounds/wind-back.m4a +0 -0
  36. package/lib/assets/sounds/youre-in.m4a +0 -0
  37. package/lib/chat/agent.js +358 -0
  38. package/lib/chat/agent.js.map +1 -0
  39. package/lib/chat/appFront.js +32 -0
  40. package/lib/chat/appFront.js.map +1 -0
  41. package/lib/chat/auth.js +370 -0
  42. package/lib/chat/auth.js.map +1 -0
  43. package/lib/chat/chores.js +360 -0
  44. package/lib/chat/chores.js.map +1 -0
  45. package/lib/chat/connectors.js +45 -0
  46. package/lib/chat/connectors.js.map +1 -0
  47. package/lib/chat/jobs.js +223 -0
  48. package/lib/chat/jobs.js.map +1 -0
  49. package/lib/chat/lucyMotion.js +6 -0
  50. package/lib/chat/lucyMotion.js.map +1 -0
  51. package/lib/chat/protocol.js +111 -0
  52. package/lib/chat/protocol.js.map +1 -0
  53. package/lib/chat/results.js +133 -0
  54. package/lib/chat/results.js.map +1 -0
  55. package/lib/chat/store.js +81 -0
  56. package/lib/chat/store.js.map +1 -0
  57. package/lib/chat/useDictation.js +168 -0
  58. package/lib/chat/useDictation.js.map +1 -0
  59. package/lib/chat/useLucyChat.js +451 -0
  60. package/lib/chat/useLucyChat.js.map +1 -0
  61. package/lib/chat/useMyComputer.js +32 -0
  62. package/lib/chat/useMyComputer.js.map +1 -0
  63. package/lib/chat/whereLucyWorks.js +52 -0
  64. package/lib/chat/whereLucyWorks.js.map +1 -0
  65. package/lib/chat/workspace.js +124 -0
  66. package/lib/chat/workspace.js.map +1 -0
  67. package/lib/components/AreaShot.js +289 -0
  68. package/lib/components/AreaShot.js.map +1 -0
  69. package/lib/components/Backdrops.js +262 -0
  70. package/lib/components/Backdrops.js.map +1 -0
  71. package/lib/components/BottomSheet.js +61 -0
  72. package/lib/components/BottomSheet.js.map +1 -0
  73. package/lib/components/ChatSheets.js +429 -0
  74. package/lib/components/ChatSheets.js.map +1 -0
  75. package/lib/components/ConnectorLogo.js +91 -0
  76. package/lib/components/ConnectorLogo.js.map +1 -0
  77. package/lib/components/CustomDrawer.js +534 -0
  78. package/lib/components/CustomDrawer.js.map +1 -0
  79. package/lib/components/IdeasPane.js +394 -0
  80. package/lib/components/IdeasPane.js.map +1 -0
  81. package/lib/components/ImessageSheet.js +261 -0
  82. package/lib/components/ImessageSheet.js.map +1 -0
  83. package/lib/components/KeyboardAvoider.js +29 -0
  84. package/lib/components/KeyboardAvoider.js.map +1 -0
  85. package/lib/components/Logo.js +81 -0
  86. package/lib/components/Logo.js.map +1 -0
  87. package/lib/components/LucyWorking.js +67 -0
  88. package/lib/components/LucyWorking.js.map +1 -0
  89. package/lib/components/Markdown.js +260 -0
  90. package/lib/components/Markdown.js.map +1 -0
  91. package/lib/components/Media.js +93 -0
  92. package/lib/components/Media.js.map +1 -0
  93. package/lib/components/MessagesAppIcon.js +23 -0
  94. package/lib/components/MessagesAppIcon.js.map +1 -0
  95. package/lib/components/MicButton.js +71 -0
  96. package/lib/components/MicButton.js.map +1 -0
  97. package/lib/components/ResultCards.js +974 -0
  98. package/lib/components/ResultCards.js.map +1 -0
  99. package/lib/components/SignInPrompt.js +148 -0
  100. package/lib/components/SignInPrompt.js.map +1 -0
  101. package/lib/components/SignedOut.js +38 -0
  102. package/lib/components/SignedOut.js.map +1 -0
  103. package/lib/components/TalkToLucyHero.js +487 -0
  104. package/lib/components/TalkToLucyHero.js.map +1 -0
  105. package/lib/components/TalkToLucySheet.js +182 -0
  106. package/lib/components/TalkToLucySheet.js.map +1 -0
  107. package/lib/components/WhereLucyWorks.js +277 -0
  108. package/lib/components/WhereLucyWorks.js.map +1 -0
  109. package/lib/components/WorkspaceSection.js +271 -0
  110. package/lib/components/WorkspaceSection.js.map +1 -0
  111. package/lib/components/YantraMark.js +13 -0
  112. package/lib/components/YantraMark.js.map +1 -0
  113. package/lib/components/drawerHeader.js +38 -0
  114. package/lib/components/drawerHeader.js.map +1 -0
  115. package/lib/components/lottieInstalled.js +6 -0
  116. package/lib/components/lottieInstalled.js.map +1 -0
  117. package/lib/components/ui.js +550 -0
  118. package/lib/components/ui.js.map +1 -0
  119. package/lib/components/useSignOut.js +7 -0
  120. package/lib/components/useSignOut.js.map +1 -0
  121. package/lib/components/viewport.js +121 -0
  122. package/lib/components/viewport.js.map +1 -0
  123. package/lib/components/voiceDial.js +10 -0
  124. package/lib/components/voiceDial.js.map +1 -0
  125. package/lib/compute.js +157 -0
  126. package/lib/compute.js.map +1 -0
  127. package/lib/config/env-config.js +27 -0
  128. package/lib/config/env-config.js.map +1 -0
  129. package/lib/config/routes.js +15 -0
  130. package/lib/config/routes.js.map +1 -0
  131. package/lib/content.js +25 -0
  132. package/lib/content.js.map +1 -0
  133. package/lib/hooks/keyboardCover.js +39 -0
  134. package/lib/hooks/keyboardCover.js.map +1 -0
  135. package/lib/hooks/useKeyboard.js +121 -0
  136. package/lib/hooks/useKeyboard.js.map +1 -0
  137. package/lib/hooks/useReducedMotion.js +13 -0
  138. package/lib/hooks/useReducedMotion.js.map +1 -0
  139. package/lib/imessage/openMessages.js +25 -0
  140. package/lib/imessage/openMessages.js.map +1 -0
  141. package/lib/imessage/platform.js +12 -0
  142. package/lib/imessage/platform.js.map +1 -0
  143. package/lib/imessage/textLink.js +262 -0
  144. package/lib/imessage/textLink.js.map +1 -0
  145. package/lib/index.js +1 -0
  146. package/lib/index.js.map +1 -0
  147. package/lib/live/card.js +28 -0
  148. package/lib/live/card.js.map +1 -0
  149. package/lib/live/liveActivity.js +144 -0
  150. package/lib/live/liveActivity.js.map +1 -0
  151. package/lib/module.js +3 -0
  152. package/lib/module.js.map +1 -0
  153. package/lib/offer/BlackFridayOffer.js +378 -0
  154. package/lib/offer/BlackFridayOffer.js.map +1 -0
  155. package/lib/offer/blackFriday.js +78 -0
  156. package/lib/offer/blackFriday.js.map +1 -0
  157. package/lib/offer/parts.js +624 -0
  158. package/lib/offer/parts.js.map +1 -0
  159. package/lib/offer/state.js +63 -0
  160. package/lib/offer/state.js.map +1 -0
  161. package/lib/push/push.js +142 -0
  162. package/lib/push/push.js.map +1 -0
  163. package/lib/push/usePushNotifications.js +39 -0
  164. package/lib/push/usePushNotifications.js.map +1 -0
  165. package/lib/routes.json +175 -0
  166. package/lib/screens/Account/index.js +209 -0
  167. package/lib/screens/Account/index.js.map +1 -0
  168. package/lib/screens/Chat/index.js +710 -0
  169. package/lib/screens/Chat/index.js.map +1 -0
  170. package/lib/screens/Chores/index.js +18 -0
  171. package/lib/screens/Chores/index.js.map +1 -0
  172. package/lib/screens/Connectors/index.js +17 -0
  173. package/lib/screens/Connectors/index.js.map +1 -0
  174. package/lib/screens/History/index.js +380 -0
  175. package/lib/screens/History/index.js.map +1 -0
  176. package/lib/screens/Home/index.js +2715 -0
  177. package/lib/screens/Home/index.js.map +1 -0
  178. package/lib/screens/Home/media.js +25 -0
  179. package/lib/screens/Home/media.js.map +1 -0
  180. package/lib/screens/Welcome/index.js +1066 -0
  181. package/lib/screens/Welcome/index.js.map +1 -0
  182. package/lib/talk/talkToLucy.js +139 -0
  183. package/lib/talk/talkToLucy.js.map +1 -0
  184. package/lib/theme/colors.js +29 -0
  185. package/lib/theme/colors.js.map +1 -0
  186. package/lib/theme/fonts.js +17 -0
  187. package/lib/theme/fonts.js.map +1 -0
  188. package/lib/theme/muse.js +134 -0
  189. package/lib/theme/muse.js.map +1 -0
  190. package/lib/utils/links.js +54 -0
  191. package/lib/utils/links.js.map +1 -0
  192. package/lib/utils/yantraLinks.js +68 -0
  193. package/lib/utils/yantraLinks.js.map +1 -0
  194. package/lib/welcome/flow.js +375 -0
  195. package/lib/welcome/flow.js.map +1 -0
  196. package/lib/welcome/haptics.js +125 -0
  197. package/lib/welcome/haptics.js.map +1 -0
  198. package/lib/welcome/parts.js +1996 -0
  199. package/lib/welcome/parts.js.map +1 -0
  200. package/lib/welcome/powerOn.js +29 -0
  201. package/lib/welcome/powerOn.js.map +1 -0
  202. package/lib/welcome/seen.js +41 -0
  203. package/lib/welcome/seen.js.map +1 -0
  204. package/lib/welcome/sound.js +110 -0
  205. package/lib/welcome/sound.js.map +1 -0
  206. package/package.json +66 -5
  207. package/rollup.config.mjs +42 -0
  208. package/src/.claude-flow/data/pending-insights.jsonl +19 -0
  209. package/src/.claude-flow/sessions/session-1795013028422.json +14 -0
  210. package/src/__tests__/auth.test.ts +94 -0
  211. package/src/__tests__/blackFriday.test.ts +75 -0
  212. package/src/__tests__/cardTokens.test.ts +77 -0
  213. package/src/__tests__/chores.test.ts +188 -0
  214. package/src/__tests__/choresList.test.ts +100 -0
  215. package/src/__tests__/connectLink.test.ts +21 -0
  216. package/src/__tests__/content.test.ts +54 -0
  217. package/src/__tests__/dictation.test.ts +186 -0
  218. package/src/__tests__/envConfig.test.ts +14 -0
  219. package/src/__tests__/haptics.test.ts +202 -0
  220. package/src/__tests__/jobs.test.ts +130 -0
  221. package/src/__tests__/keyboardCover.test.ts +84 -0
  222. package/src/__tests__/liveCard.test.ts +39 -0
  223. package/src/__tests__/lockedPhone.test.ts +355 -0
  224. package/src/__tests__/lucyMotion.test.ts +34 -0
  225. package/src/__tests__/platform.test.ts +32 -0
  226. package/src/__tests__/powerOn.test.ts +62 -0
  227. package/src/__tests__/protocol.test.ts +125 -0
  228. package/src/__tests__/push.test.ts +111 -0
  229. package/src/__tests__/results.test.ts +256 -0
  230. package/src/__tests__/sound.test.ts +248 -0
  231. package/src/__tests__/talkToLucy.test.ts +205 -0
  232. package/src/__tests__/textLink.test.ts +91 -0
  233. package/src/__tests__/voiceDial.test.ts +53 -0
  234. package/src/__tests__/welcomeFlow.test.ts +157 -0
  235. package/src/__tests__/whereLucyWorks.test.ts +81 -0
  236. package/src/__tests__/yantraLinks.test.ts +96 -0
  237. package/src/assets/home/loop-day.jpg +0 -0
  238. package/src/assets/home/loop-day.mp4 +0 -0
  239. package/src/assets/home/loop-time-back.jpg +0 -0
  240. package/src/assets/home/loop-time-back.mp4 +0 -0
  241. package/src/assets/home/loop-where.jpg +0 -0
  242. package/src/assets/home/loop-where.mp4 +0 -0
  243. package/src/assets/home/reel-gym.jpg +0 -0
  244. package/src/assets/home/reel-gym.mp4 +0 -0
  245. package/src/assets/home/reel-internet.jpg +0 -0
  246. package/src/assets/home/reel-internet.mp4 +0 -0
  247. package/src/assets/icon.png +0 -0
  248. package/src/assets/lottie/.claude-flow/data/pending-insights.jsonl +1 -0
  249. package/src/assets/lottie/lucy-mark-calendar.json +1827 -0
  250. package/src/assets/lottie/lucy-mark-call.json +1470 -0
  251. package/src/assets/lottie/lucy-mark-connect.json +2552 -0
  252. package/src/assets/lottie/lucy-mark-details.json +1735 -0
  253. package/src/assets/lottie/lucy-mark-email.json +1363 -0
  254. package/src/assets/lottie/lucy-mark-message.json +1154 -0
  255. package/src/assets/lottie/lucy-mark-search.json +1067 -0
  256. package/src/assets/lottie/lucy-mark-think.json +1253 -0
  257. package/src/assets/lottie/lucy-mark-write.json +1532 -0
  258. package/src/assets/lottie/time-back.json +16458 -0
  259. package/src/assets/lottie/where-lucy-works-chat.json +6170 -0
  260. package/src/assets/lottie/where-lucy-works-cloud.json +10066 -0
  261. package/src/assets/lottie/where-lucy-works-mine-none.json +2478 -0
  262. package/src/assets/lottie/where-lucy-works-mine-offline.json +2373 -0
  263. package/src/assets/lottie/where-lucy-works-mine-online.json +7881 -0
  264. package/src/assets/sounds/hours-back.m4a +0 -0
  265. package/src/assets/sounds/meet-lucy.m4a +0 -0
  266. package/src/assets/sounds/power-on.m4a +0 -0
  267. package/src/assets/sounds/wind-back.m4a +0 -0
  268. package/src/assets/sounds/youre-in.m4a +0 -0
  269. package/src/chat/.claude-flow/data/pending-insights.jsonl +1 -0
  270. package/src/chat/agent.ts +376 -0
  271. package/src/chat/appFront.ts +39 -0
  272. package/src/chat/auth.ts +433 -0
  273. package/src/chat/chores.ts +394 -0
  274. package/src/chat/connectors.ts +75 -0
  275. package/src/chat/jobs.ts +228 -0
  276. package/src/chat/lucyMotion.ts +33 -0
  277. package/src/chat/protocol.ts +192 -0
  278. package/src/chat/results.ts +224 -0
  279. package/src/chat/store.ts +87 -0
  280. package/src/chat/useDictation.ts +201 -0
  281. package/src/chat/useLucyChat.ts +458 -0
  282. package/src/chat/useMyComputer.ts +41 -0
  283. package/src/chat/whereLucyWorks.ts +97 -0
  284. package/src/chat/workspace.ts +127 -0
  285. package/src/components/.claude-flow/data/pending-insights.jsonl +3 -0
  286. package/src/components/AreaShot.tsx +239 -0
  287. package/src/components/Backdrops.tsx +323 -0
  288. package/src/components/BottomSheet.tsx +96 -0
  289. package/src/components/ChatSheets.tsx +565 -0
  290. package/src/components/ConnectorLogo.tsx +116 -0
  291. package/src/components/CustomDrawer.tsx +526 -0
  292. package/src/components/IdeasPane.tsx +318 -0
  293. package/src/components/ImessageSheet.tsx +280 -0
  294. package/src/components/KeyboardAvoider.tsx +45 -0
  295. package/src/components/Logo.tsx +97 -0
  296. package/src/components/LucyWorking.tsx +122 -0
  297. package/src/components/Markdown.tsx +219 -0
  298. package/src/components/Media.tsx +173 -0
  299. package/src/components/MessagesAppIcon.tsx +51 -0
  300. package/src/components/MicButton.tsx +92 -0
  301. package/src/components/ResultCards.tsx +1067 -0
  302. package/src/components/SignInPrompt.tsx +182 -0
  303. package/src/components/SignedOut.tsx +47 -0
  304. package/src/components/TalkToLucyHero.tsx +540 -0
  305. package/src/components/TalkToLucySheet.tsx +208 -0
  306. package/src/components/VoiceOrb.tsx +364 -0
  307. package/src/components/WhereLucyWorks.tsx +261 -0
  308. package/src/components/WorkspaceSection.tsx +307 -0
  309. package/src/components/YantraMark.tsx +30 -0
  310. package/src/components/drawerHeader.tsx +46 -0
  311. package/src/components/kit.tsx +309 -0
  312. package/src/components/lottieInstalled.ts +7 -0
  313. package/src/components/ui.tsx +700 -0
  314. package/src/components/useSignOut.ts +21 -0
  315. package/src/components/viewport.tsx +166 -0
  316. package/src/components/voiceDial.ts +45 -0
  317. package/src/compute.ts +168 -0
  318. package/src/config/env-config.ts +50 -0
  319. package/src/config/routes.ts +28 -0
  320. package/src/content.ts +217 -0
  321. package/src/hooks/keyboardCover.ts +70 -0
  322. package/src/hooks/useKeyboard.ts +135 -0
  323. package/src/hooks/useReducedMotion.ts +19 -0
  324. package/src/imessage/openMessages.ts +53 -0
  325. package/src/imessage/platform.ts +32 -0
  326. package/src/imessage/textLink.ts +307 -0
  327. package/src/index.ts +24 -0
  328. package/src/live/card.ts +62 -0
  329. package/src/live/liveActivity.ts +192 -0
  330. package/src/module.ts +8 -0
  331. package/src/offer/BlackFridayOffer.tsx +394 -0
  332. package/src/offer/blackFriday.ts +109 -0
  333. package/src/offer/parts.tsx +650 -0
  334. package/src/offer/state.ts +78 -0
  335. package/src/push/push.ts +171 -0
  336. package/src/push/usePushNotifications.ts +47 -0
  337. package/src/screens/Account/index.tsx +310 -0
  338. package/src/screens/Chat/.claude-flow/data/pending-insights.jsonl +4 -0
  339. package/src/screens/Chat/index.tsx +891 -0
  340. package/src/screens/Chores/index.tsx +35 -0
  341. package/src/screens/Connectors/index.tsx +35 -0
  342. package/src/screens/History/index.tsx +346 -0
  343. package/src/screens/Home/index.tsx +2776 -0
  344. package/src/screens/Home/media.ts +31 -0
  345. package/src/screens/Welcome/index.tsx +1182 -0
  346. package/src/talk/talkToLucy.ts +187 -0
  347. package/src/theme/colors.ts +38 -0
  348. package/src/theme/fonts.ts +30 -0
  349. package/src/theme/muse.ts +86 -0
  350. package/src/utils/links.ts +84 -0
  351. package/src/utils/yantraLinks.ts +94 -0
  352. package/src/welcome/flow.ts +418 -0
  353. package/src/welcome/haptics.ts +179 -0
  354. package/src/welcome/parts.tsx +2160 -0
  355. package/src/welcome/powerOn.ts +84 -0
  356. package/src/welcome/seen.ts +68 -0
  357. package/src/welcome/sound.ts +173 -0
  358. package/tools/lottie/chat.motion +0 -0
  359. package/tools/lottie/cloud.motion +0 -0
  360. package/tools/lottie/generate.mjs +1209 -0
  361. package/tools/lottie/inter-glyphs.json +4416 -0
  362. package/tools/lottie/lucy-mark-calendar.motion +0 -0
  363. package/tools/lottie/lucy-mark-call.motion +0 -0
  364. package/tools/lottie/lucy-mark-connect.motion +0 -0
  365. package/tools/lottie/lucy-mark-details.motion +0 -0
  366. package/tools/lottie/lucy-mark-email.motion +0 -0
  367. package/tools/lottie/lucy-mark-message.motion +0 -0
  368. package/tools/lottie/lucy-mark-search.motion +0 -0
  369. package/tools/lottie/lucy-mark-think.motion +0 -0
  370. package/tools/lottie/lucy-mark-write.motion +0 -0
  371. package/tools/lottie/mark.json +1 -0
  372. package/tools/lottie/mine-none.motion +0 -0
  373. package/tools/lottie/mine-offline.motion +0 -0
  374. package/tools/lottie/mine-online.motion +0 -0
  375. package/tools/lottie/time-back.mjs +604 -0
  376. package/tools/sounds/render.mjs +730 -0
  377. package/tsconfig.json +17 -0
  378. package/README.md +0 -3
@@ -0,0 +1,78 @@
1
+ /**
2
+ * What this phone remembers about an offer (offer/blackFriday.ts): nothing yet, shown, or claimed. Home shows the offer
3
+ * once, then only its chip, and neither once it is claimed.
4
+ */
5
+ import { useEffect, useState } from 'react';
6
+ import AsyncStorage from '@react-native-async-storage/async-storage';
7
+
8
+ export type OfferSeen = 'new' | 'seen' | 'claimed';
9
+
10
+ const key = (id: string) => `clockbook.offer.${id}`;
11
+ const known = new Map<string, OfferSeen>();
12
+ const listeners = new Set<(id: string, seen: OfferSeen) => void>();
13
+
14
+ function tell(id: string, seen: OfferSeen): void {
15
+ known.set(id, seen);
16
+ listeners.forEach((listener) => listener(id, seen));
17
+ }
18
+
19
+ export async function readOffer(id: string): Promise<OfferSeen> {
20
+ const got = known.get(id);
21
+ if (got) return got;
22
+ let seen: OfferSeen = 'new';
23
+ try {
24
+ const stored = await AsyncStorage.getItem(key(id));
25
+ if (stored === 'seen' || stored === 'claimed') seen = stored;
26
+ } catch {
27
+ // Storage that cannot be read must not show the offer on every launch: count it as shown.
28
+ seen = 'seen';
29
+ }
30
+ if (!known.has(id)) known.set(id, seen);
31
+ return known.get(id) ?? seen;
32
+ }
33
+
34
+ /** Shown (as soon as it opens), or claimed. Claimed stays claimed. */
35
+ export async function markOffer(id: string, seen: 'seen' | 'claimed'): Promise<void> {
36
+ if (known.get(id) === 'claimed') return;
37
+ tell(id, seen);
38
+ try {
39
+ await AsyncStorage.setItem(key(id), seen);
40
+ } catch {
41
+ /* remembered until the app closes */
42
+ }
43
+ }
44
+
45
+ /** For seeing the offer again in a development or test build. */
46
+ export async function resetOffer(id: string): Promise<void> {
47
+ tell(id, 'new');
48
+ try {
49
+ await AsyncStorage.removeItem(key(id));
50
+ } catch {
51
+ /* nothing kept to clear */
52
+ }
53
+ }
54
+
55
+ /** null while it is being read, then what this phone remembers about the offer; kept current. */
56
+ export function useOfferSeen(id: string): OfferSeen | null {
57
+ const [seen, setSeen] = useState<OfferSeen | null>(known.get(id) ?? null);
58
+ useEffect(() => {
59
+ let alive = true;
60
+ const listener = (which: string, value: OfferSeen) => {
61
+ if (which === id) setSeen(value);
62
+ };
63
+ listeners.add(listener);
64
+ const got = known.get(id);
65
+ if (got) {
66
+ setSeen(got);
67
+ } else {
68
+ readOffer(id)
69
+ .then((value) => alive && setSeen(value))
70
+ .catch(() => undefined);
71
+ }
72
+ return () => {
73
+ alive = false;
74
+ listeners.delete(listener);
75
+ };
76
+ }, [id]);
77
+ return seen;
78
+ }
@@ -0,0 +1,171 @@
1
+ /**
2
+ * Push notifications on this phone, as the Yantra app does them (its src/chat/chatPush.ts): permission, the Expo push
3
+ * token, and saving it to the person's account with Yantra's `setDeviceToken`, on the same backend Lucy's chat is
4
+ * minted on (chat/auth.ts). Yantra's server decides what notifies and sends it; this file only makes the phone
5
+ * reachable, and opens Lucy's chat when a notification is tapped.
6
+ *
7
+ * Needs the `expo-notifications` config plugin in the binary (the `aps-environment` entitlement on iOS, FCM through
8
+ * google-services.json on Android). A build without the native module reports 'unsupported' instead of crashing:
9
+ * the package is only required once its native module is known to be there.
10
+ */
11
+ import Constants from 'expo-constants';
12
+ import { requireOptionalNativeModule } from 'expo-modules-core';
13
+ import { Platform } from 'react-native';
14
+ import { agentBackendUrl, auth0Token, gql } from '../chat/auth';
15
+
16
+ type ExpoNotifications = typeof import('expo-notifications');
17
+
18
+ export type PushStatus = 'granted' | 'denied' | 'undetermined' | 'unsupported';
19
+
20
+ /** The Android channel Yantra's server targets (`channelId` in its Expo messages). */
21
+ export const NOTIFICATION_CHANNEL_ID = 'messages';
22
+
23
+ let loaded: ExpoNotifications | null | undefined;
24
+ /** expo-notifications, or null on a binary built without it. */
25
+ export function notifications(): ExpoNotifications | null {
26
+ if (loaded !== undefined) return loaded;
27
+ try {
28
+ loaded = requireOptionalNativeModule('ExpoPushTokenManager')
29
+ ? // eslint-disable-next-line global-require, @typescript-eslint/no-require-imports
30
+ (require('expo-notifications') as ExpoNotifications)
31
+ : null;
32
+ } catch {
33
+ loaded = null;
34
+ }
35
+ return loaded;
36
+ }
37
+
38
+ /** Simulators and emulators cannot receive remote pushes. */
39
+ function isDevice(): boolean {
40
+ try {
41
+ // eslint-disable-next-line global-require, @typescript-eslint/no-require-imports
42
+ return Boolean((require('expo-device') as { isDevice?: boolean }).isDevice);
43
+ } catch {
44
+ return true;
45
+ }
46
+ }
47
+
48
+ /** What Yantra sends when one of Lucy's chores ends (adminIde project-mgmt live-card.ts doneNotice). */
49
+ export const CHORE_DONE_KIND = 'lucy-chore';
50
+
51
+ let chatOnScreen = false;
52
+ /** Lucy's chat is showing (screens/Chat): her "done" notifications stay quiet then, the reply is right there. */
53
+ export function setChatOnScreen(showing: boolean): void {
54
+ chatOnScreen = showing;
55
+ }
56
+
57
+ const SHOW = { shouldShowBanner: true, shouldShowList: true, shouldPlaySound: true, shouldSetBadge: false };
58
+ const QUIET = { shouldShowBanner: false, shouldShowList: false, shouldPlaySound: false, shouldSetBadge: false };
59
+
60
+ /** How a notification that arrives while the app is open shows: as a banner, except a chore's end in her chat. */
61
+ export function presentWhileOpen(data: unknown): typeof SHOW {
62
+ const kind = (data as { kind?: unknown } | null | undefined)?.kind;
63
+ return kind === CHORE_DONE_KIND && chatOnScreen ? QUIET : SHOW;
64
+ }
65
+
66
+ let handlerInstalled = false;
67
+ /** Notifications that arrive while the app is open show as a banner too (but see presentWhileOpen). */
68
+ export function installNotificationHandler(): void {
69
+ const n = notifications();
70
+ if (handlerInstalled || !n) return;
71
+ handlerInstalled = true;
72
+ n.setNotificationHandler({
73
+ handleNotification: async (notification) => presentWhileOpen(notification?.request?.content?.data),
74
+ });
75
+ }
76
+
77
+ export async function ensureNotificationChannel(): Promise<void> {
78
+ const n = notifications();
79
+ if (!n || Platform.OS !== 'android') return;
80
+ await n
81
+ .setNotificationChannelAsync(NOTIFICATION_CHANNEL_ID, {
82
+ name: 'Lucy',
83
+ description: 'Lucy’s replies and the chores she finishes',
84
+ importance: n.AndroidImportance.HIGH,
85
+ sound: 'default',
86
+ vibrationPattern: [0, 200, 120, 200],
87
+ lockscreenVisibility: n.AndroidNotificationVisibility.PRIVATE,
88
+ showBadge: true,
89
+ })
90
+ .catch(() => undefined);
91
+ }
92
+
93
+ export async function readPushStatus(): Promise<PushStatus> {
94
+ const n = notifications();
95
+ if (!n || !isDevice()) return 'unsupported';
96
+ try {
97
+ const perms = await n.getPermissionsAsync();
98
+ if (perms.granted || perms.ios?.status === n.IosAuthorizationStatus.PROVISIONAL) return 'granted';
99
+ return perms.status === 'denied' ? 'denied' : 'undetermined';
100
+ } catch {
101
+ return 'unsupported';
102
+ }
103
+ }
104
+
105
+ function easProjectId(): string | undefined {
106
+ const extra = Constants.expoConfig?.extra as { eas?: { projectId?: string } } | undefined;
107
+ return extra?.eas?.projectId ?? (Constants as { easConfig?: { projectId?: string } }).easConfig?.projectId;
108
+ }
109
+
110
+ /** Saves this phone's Expo push token to the signed-in account on Yantra's backend. */
111
+ async function saveToken(token: string): Promise<void> {
112
+ const [url, bearer] = await Promise.all([agentBackendUrl(), auth0Token()]);
113
+ await gql(
114
+ url,
115
+ bearer,
116
+ 'mutation SetDeviceToken($deviceToken: String) { setDeviceToken(deviceToken: $deviceToken) { id } }',
117
+ { deviceToken: token },
118
+ );
119
+ }
120
+
121
+ let lastSaved: string | null = null;
122
+
123
+ /**
124
+ * Registers this phone for the signed-in account's pushes when permission is granted; with `ask`, asks first (iOS
125
+ * asks only once). Safe to call often: the server keeps one row per token, and an unchanged token is not resent.
126
+ */
127
+ export async function registerForPush({ ask = false }: { ask?: boolean } = {}): Promise<PushStatus> {
128
+ const n = notifications();
129
+ let status = await readPushStatus();
130
+ if (!n || status === 'unsupported') return 'unsupported';
131
+ if (status === 'undetermined' && ask) {
132
+ try {
133
+ await n.requestPermissionsAsync({ ios: { allowAlert: true, allowBadge: true, allowSound: true } });
134
+ } catch {
135
+ return 'unsupported';
136
+ }
137
+ status = await readPushStatus();
138
+ }
139
+ if (status !== 'granted') return status;
140
+ await ensureNotificationChannel();
141
+ let token: string;
142
+ try {
143
+ token = (await n.getExpoPushTokenAsync({ projectId: easProjectId() })).data;
144
+ } catch (error) {
145
+ // No aps-environment entitlement, or no google-services.json, in this binary.
146
+ console.warn('[push] could not get a push token', error);
147
+ return 'unsupported';
148
+ }
149
+ if (token === lastSaved) return 'granted';
150
+ try {
151
+ await saveToken(token);
152
+ lastSaved = token;
153
+ } catch (error) {
154
+ // Retried the next time the app comes to the front; the permission itself is fine.
155
+ console.warn('[push] could not register the push token', error);
156
+ }
157
+ return 'granted';
158
+ }
159
+
160
+ /** Forget the saved token (sign-out): the next sign-in registers again. */
161
+ export function forgetPushToken(): void {
162
+ lastSaved = null;
163
+ }
164
+
165
+ /**
166
+ * This phone's push token, once it is registered to the signed-in account: what a chore's record names, so the
167
+ * chore's "done" notification reaches this phone (Yantra sends it only to a phone registered on the account).
168
+ */
169
+ export function registeredPushToken(): string | null {
170
+ return lastSaved;
171
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Push for the signed-in person: asks once after sign-in, registers the phone with Yantra's backend (push.ts), keeps
3
+ * that registration fresh whenever the app comes back to the front, and opens Lucy's chat when a notification is
4
+ * tapped (including the one that launched the app).
5
+ */
6
+ import { useEffect, useRef } from 'react';
7
+ import { AppState } from 'react-native';
8
+ import { forgetPushToken, installNotificationHandler, notifications, registerForPush } from './push';
9
+
10
+ export function usePushNotifications(signedIn: boolean, openChat: () => void): void {
11
+ const open = useRef(openChat);
12
+ open.current = openChat;
13
+
14
+ useEffect(() => {
15
+ installNotificationHandler();
16
+ }, []);
17
+
18
+ useEffect(() => {
19
+ if (!signedIn) {
20
+ forgetPushToken();
21
+ return undefined;
22
+ }
23
+ registerForPush({ ask: true }).catch(() => undefined);
24
+ const sub = AppState.addEventListener('change', (state) => {
25
+ if (state === 'active') registerForPush().catch(() => undefined);
26
+ });
27
+ return () => sub.remove();
28
+ }, [signedIn]);
29
+
30
+ useEffect(() => {
31
+ const n = notifications();
32
+ if (!n) return undefined;
33
+ let handled: string | null = null;
34
+ const go = (id: string) => {
35
+ if (id === handled) return;
36
+ handled = id;
37
+ open.current();
38
+ };
39
+ n.getLastNotificationResponseAsync()
40
+ .then((r) => {
41
+ if (r) go(r.notification.request.identifier);
42
+ })
43
+ .catch(() => undefined);
44
+ const sub = n.addNotificationResponseReceivedListener((r) => go(r.notification.request.identifier));
45
+ return () => sub.remove();
46
+ }, []);
47
+ }
@@ -0,0 +1,310 @@
1
+ /**
2
+ * Account, as a calm Muse-style settings screen (theme/muse.ts): who is signed in, and what they have with Lucy (her
3
+ * chores, the apps she can use, texting her, putting her on the Action Button, how she works), support and deleting
4
+ * the account, then Sign out. Opened from the drawer's profile row (as Yantra's drawer opens its account), so the
5
+ * chat's header stays about the chat.
6
+ */
7
+ import React, { useCallback, useMemo, useState } from 'react';
8
+ import { Alert, Image, Pressable, ScrollView, StyleSheet, Text, View } from 'react-native';
9
+ import { useNavigation } from '@react-navigation/native';
10
+ import { SafeAreaView } from 'react-native-safe-area-context';
11
+ import { AuthMobileNavigationRoutesEnum, useIsUserAuthenticated } from '@adminide-stack/user-auth0-client';
12
+ import { useDeleteUserAccountMutation } from 'common/graphql';
13
+ import { clearChatToken } from '../../chat/auth';
14
+ import { clearTextLinkCodes } from '../../imessage/textLink';
15
+ import { businessLink, openUrl } from '../../utils/links';
16
+ import {
17
+ ChoresSheet,
18
+ ConnectSheet,
19
+ displayName,
20
+ HelpSheet,
21
+ useChoreCount,
22
+ type Person,
23
+ } from '../../components/ChatSheets';
24
+ import { ImessageSheet } from '../../components/ImessageSheet';
25
+ import { TalkGlyph, TalkToLucySheet } from '../../components/TalkToLucySheet';
26
+ import { WorkspaceSection } from '../../components/WorkspaceSection';
27
+ import { MessagesAppIcon } from '../../components/MessagesAppIcon';
28
+ import { TEXT_LUCY } from '../../imessage/platform';
29
+ import { listeningHome, phoneModel, talkCopy, talkPlace, talkToLucyAvailable } from '../../talk/talkToLucy';
30
+ import { Mark } from '../../components/Logo';
31
+ import { Button, Group, GroupLabel, GroupRow, ScreenHeader } from '../../components/ui';
32
+ import { CLOCKBOOK_ROUTES, drawerRoute } from '../../config/routes';
33
+ import { useSignOut } from '../../components/useSignOut';
34
+ import { PAD, type, ui } from '../../theme/muse';
35
+
36
+ type SheetKey = 'chores' | 'connect' | 'help' | 'imessage' | 'talk';
37
+
38
+ /** The profile's picture, or the initial on Clockbook orange. */
39
+ function ProfileAvatar({ person, size }: { person: Person | null; size: number }) {
40
+ const round = { width: size, height: size, borderRadius: size / 2 };
41
+ if (person?.picture)
42
+ return <Image source={{ uri: person.picture }} style={round} accessibilityIgnoresInvertColors />;
43
+ return (
44
+ <View style={[round, s.initial]}>
45
+ <Text style={[s.initialText, { fontSize: size * 0.42 }]}>
46
+ {displayName(person).charAt(0).toUpperCase()}
47
+ </Text>
48
+ </View>
49
+ );
50
+ }
51
+
52
+ export default function AccountScreen() {
53
+ const navigation = useNavigation<{
54
+ goBack: () => void;
55
+ canGoBack: () => boolean;
56
+ navigate: (route: string, params?: object) => void;
57
+ }>();
58
+ const { authenticated, user } = useIsUserAuthenticated();
59
+ const person = (user ?? null) as Person | null;
60
+ const signedIn = Boolean(authenticated && user);
61
+ const [sheet, setSheet] = useState<SheetKey | null>(null);
62
+ const chores = useChoreCount(signedIn);
63
+ const close = () => setSheet(null);
64
+ const [deleteUserAccount, { loading: deleting }] = useDeleteUserAccountMutation();
65
+ // Talk to Lucy where this phone can have it: on the Action Button, or in Control Center on an iPhone without one.
66
+ const talk = useMemo(() => {
67
+ if (!talkToLucyAvailable()) return null;
68
+ const model = phoneModel();
69
+ const place = talkPlace(model);
70
+ return { place, copy: talkCopy(place, model) };
71
+ }, []);
72
+
73
+ // Signed out here, then Home (see useSignOut: the auth package's Logout screen stranded a sheet).
74
+ const toHome = useCallback(
75
+ () => navigation.navigate(...drawerRoute(CLOCKBOOK_ROUTES.HOME, { at: Date.now() })),
76
+ [navigation],
77
+ );
78
+ const signOut = useSignOut(toHome);
79
+
80
+ // As Yantra's Account: the server deletes the account, then this phone forgets Lucy's token and signs out.
81
+ const runDelete = useCallback(async () => {
82
+ try {
83
+ const { data } = await deleteUserAccount();
84
+ if (!data?.deleteUserAccount) throw new Error('The server did not confirm the account was deleted.');
85
+ clearTextLinkCodes();
86
+ await clearChatToken();
87
+ signOut();
88
+ } catch (error) {
89
+ Alert.alert(
90
+ 'Could not delete account',
91
+ error instanceof Error ? error.message : 'Please try again, or contact support.',
92
+ );
93
+ }
94
+ }, [deleteUserAccount, signOut]);
95
+
96
+ // Asked twice, as Yantra does: it cannot be undone.
97
+ const confirmDelete = useCallback(() => {
98
+ if (deleting) return;
99
+ Alert.alert(
100
+ 'Delete account',
101
+ 'This permanently deletes your Clockbook account and the data associated with it. This cannot be undone.',
102
+ [
103
+ { text: 'Cancel', style: 'cancel' },
104
+ {
105
+ text: 'Delete account',
106
+ style: 'destructive',
107
+ onPress: () =>
108
+ Alert.alert('Are you sure?', 'Your account will be deleted immediately.', [
109
+ { text: 'Cancel', style: 'cancel' },
110
+ { text: 'Delete account', style: 'destructive', onPress: () => void runDelete() },
111
+ ]),
112
+ },
113
+ ],
114
+ );
115
+ }, [deleting, runDelete]);
116
+
117
+ const back = () =>
118
+ navigation.canGoBack() ? navigation.goBack() : navigation.navigate(...drawerRoute(CLOCKBOOK_ROUTES.HOME));
119
+
120
+ return (
121
+ <SafeAreaView style={s.page} edges={['top', 'left', 'right', 'bottom']}>
122
+ <ScreenHeader title="Account" onBack={back} />
123
+
124
+ <ScrollView contentContainerStyle={s.content}>
125
+ {signedIn ? (
126
+ <>
127
+ <View style={s.profile}>
128
+ <ProfileAvatar person={person} size={76} />
129
+ <Text style={[type.title, s.name]} numberOfLines={1}>
130
+ {displayName(person)}
131
+ </Text>
132
+ {person?.email && person.email !== displayName(person) ? (
133
+ <Text style={type.subhead} numberOfLines={1}>
134
+ {person.email}
135
+ </Text>
136
+ ) : null}
137
+ </View>
138
+
139
+ <GroupLabel>Lucy</GroupLabel>
140
+ <Group>
141
+ <GroupRow
142
+ icon="list-outline"
143
+ label="Lucy’s chores"
144
+ detail="What she’s on, and what she finished"
145
+ badge={chores.working || undefined}
146
+ onPress={() => setSheet('chores')}
147
+ />
148
+ <GroupRow
149
+ icon="apps-outline"
150
+ label="Connect your apps"
151
+ detail="Calendar, Gmail, logins and more"
152
+ onPress={() => setSheet('connect')}
153
+ />
154
+ <GroupRow
155
+ leading={
156
+ <View style={s.leading}>
157
+ <MessagesAppIcon size={30} />
158
+ </View>
159
+ }
160
+ label={TEXT_LUCY}
161
+ detail="Hand her a chore from Messages"
162
+ onPress={() => setSheet('imessage')}
163
+ />
164
+ {talk ? (
165
+ <GroupRow
166
+ leading={<TalkGlyph place={talk.place} />}
167
+ label={talk.copy.row}
168
+ detail={talk.copy.rowDetail}
169
+ onPress={() => setSheet('talk')}
170
+ />
171
+ ) : null}
172
+ <GroupRow
173
+ icon="help-circle-outline"
174
+ label="How Lucy works"
175
+ onPress={() => setSheet('help')}
176
+ last
177
+ />
178
+ </Group>
179
+
180
+ <GroupLabel>Workspace</GroupLabel>
181
+ <WorkspaceSection enabled={signedIn} />
182
+
183
+ <GroupLabel>Support</GroupLabel>
184
+ <Group>
185
+ <GroupRow
186
+ icon="help-buoy-outline"
187
+ label="Contact support"
188
+ onPress={() => openUrl(businessLink('/contact-us'))}
189
+ />
190
+ <GroupRow
191
+ icon="trash-outline"
192
+ label={deleting ? 'Deleting…' : 'Delete account'}
193
+ destructive
194
+ disabled={deleting}
195
+ chevron={false}
196
+ onPress={confirmDelete}
197
+ last
198
+ />
199
+ </Group>
200
+ <Text style={[type.footnote, s.footnote]}>
201
+ Deleting your account permanently removes it and its data.
202
+ </Text>
203
+
204
+ <Group style={s.signOut}>
205
+ <GroupRow
206
+ icon="log-out-outline"
207
+ label="Sign out"
208
+ destructive
209
+ disabled={deleting}
210
+ chevron={false}
211
+ onPress={signOut}
212
+ last
213
+ />
214
+ </Group>
215
+ </>
216
+ ) : (
217
+ <View style={s.signedOut}>
218
+ <View style={s.mark}>
219
+ <Mark size={44} />
220
+ </View>
221
+ <Text style={[type.title, { textAlign: 'center' }]} accessibilityRole="header">
222
+ Sign in to Clockbook
223
+ </Text>
224
+ <Text style={[type.callout, s.signedOutBody]}>
225
+ Your chats with Lucy, her chores and the apps she uses are in your account.
226
+ </Text>
227
+ <Button
228
+ label="Sign in"
229
+ icon="log-in-outline"
230
+ onPress={() =>
231
+ navigation.navigate(AuthMobileNavigationRoutesEnum.Login, { redirect: 'back' })
232
+ }
233
+ style={s.signInButton}
234
+ />
235
+ <Pressable
236
+ accessibilityRole="button"
237
+ onPress={() =>
238
+ navigation.navigate(AuthMobileNavigationRoutesEnum.SignUp, { redirect: 'back' })
239
+ }
240
+ hitSlop={8}
241
+ >
242
+ <Text style={type.subhead}>
243
+ New to Clockbook? <Text style={s.link}>Create an account</Text>
244
+ </Text>
245
+ </Pressable>
246
+ </View>
247
+ )}
248
+ </ScrollView>
249
+
250
+ <ChoresSheet
251
+ visible={sheet === 'chores'}
252
+ onClose={() => {
253
+ close();
254
+ chores.refresh();
255
+ }}
256
+ />
257
+ <ConnectSheet visible={sheet === 'connect'} onClose={close} />
258
+ <HelpSheet visible={sheet === 'help'} onClose={close} />
259
+ <ImessageSheet
260
+ visible={sheet === 'imessage'}
261
+ onClose={close}
262
+ onChatHere={() => {
263
+ close();
264
+ navigation.navigate(...drawerRoute(CLOCKBOOK_ROUTES.CHAT, { at: Date.now() }));
265
+ }}
266
+ onSignIn={() => {
267
+ close();
268
+ navigation.navigate(AuthMobileNavigationRoutesEnum.Login, { redirect: 'back' });
269
+ }}
270
+ />
271
+ {talk ? (
272
+ <TalkToLucySheet
273
+ visible={sheet === 'talk'}
274
+ place={talk.place}
275
+ copy={talk.copy}
276
+ onClose={close}
277
+ onTryNow={() => {
278
+ close();
279
+ navigation.navigate(...drawerRoute(CLOCKBOOK_ROUTES.HOME, listeningHome()));
280
+ }}
281
+ />
282
+ ) : null}
283
+ </SafeAreaView>
284
+ );
285
+ }
286
+
287
+ const s = StyleSheet.create({
288
+ page: { flex: 1, backgroundColor: ui.bg },
289
+ content: { paddingBottom: 36 },
290
+ profile: { alignItems: 'center', paddingTop: 18, paddingBottom: 6, paddingHorizontal: PAD, gap: 2 },
291
+ name: { marginTop: 14 },
292
+ initial: { backgroundColor: ui.accent, alignItems: 'center', justifyContent: 'center' },
293
+ initialText: { fontWeight: '700', color: ui.surface },
294
+ leading: { marginRight: 12 },
295
+ footnote: { paddingHorizontal: PAD + 6, marginTop: 8 },
296
+ signOut: { marginTop: 28 },
297
+ signedOut: { alignItems: 'center', gap: 10, paddingTop: 48, paddingHorizontal: PAD + 8 },
298
+ mark: {
299
+ width: 76,
300
+ height: 76,
301
+ borderRadius: 38,
302
+ backgroundColor: ui.accentSoft,
303
+ alignItems: 'center',
304
+ justifyContent: 'center',
305
+ marginBottom: 8,
306
+ },
307
+ signedOutBody: { textAlign: 'center', color: ui.muted },
308
+ signInButton: { alignSelf: 'stretch', marginTop: 14, marginBottom: 4 },
309
+ link: { fontWeight: '600', color: ui.accentText },
310
+ });
@@ -0,0 +1,4 @@
1
+ {"type":"edit","file":"/Applications/MAMP/htdocs/cdmbase-projects/cdmbase-github/clockbook/feature-mobile-app/clock-tik/packages-modules/clock-tik/mobile/src/chat/chores.ts","success":true,"timestamp":1794314667734,"sessionId":null}
2
+ {"type":"edit","file":"/Applications/MAMP/htdocs/cdmbase-projects/cdmbase-github/clockbook/feature-mobile-app/clock-tik/packages-modules/clock-tik/mobile/src/chat/connectors.ts","success":true,"timestamp":1794314669125,"sessionId":null}
3
+ {"type":"edit","file":"/Applications/MAMP/htdocs/cdmbase-projects/cdmbase-github/clockbook/feature-mobile-app/clock-tik/packages-modules/clock-tik/mobile/src/__tests__/chores.test.ts","success":true,"timestamp":1794314814999,"sessionId":null}
4
+ {"type":"edit","file":"/Applications/MAMP/htdocs/cdmbase-projects/cdmbase-github/clockbook/feature-mobile-app/clock-tik/packages-modules/clock-tik/mobile/src/chat/useDictation.ts","success":true,"timestamp":1795000135581,"sessionId":null}