thursday-agent 0.16.0 → 0.17.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 (278) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/prerender-manifest.json +3 -3
  4. package/.next/server/app/_global-error/page.js.nft.json +1 -1
  5. package/.next/server/app/_global-error.html +1 -1
  6. package/.next/server/app/_global-error.rsc +1 -1
  7. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  10. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  11. package/.next/server/app/_not-found.html +1 -1
  12. package/.next/server/app/_not-found.rsc +1 -1
  13. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  14. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  15. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  16. package/.next/server/app/api/artifact/route.js +9 -9
  17. package/.next/server/app/api/artifact/route.js.nft.json +1 -1
  18. package/.next/server/app/api/bot/memory/files/route.js +3 -3
  19. package/.next/server/app/api/bot/memory/files/route.js.nft.json +1 -1
  20. package/.next/server/app/api/bot/memory/route.js +8 -8
  21. package/.next/server/app/api/bot/memory/route.js.nft.json +1 -1
  22. package/.next/server/app/api/bot/route.js +8 -8
  23. package/.next/server/app/api/bot/route.js.nft.json +1 -1
  24. package/.next/server/app/api/bot/thread/[id]/route.js +3 -3
  25. package/.next/server/app/api/bot/thread/[id]/route.js.nft.json +1 -1
  26. package/.next/server/app/api/bot/thread/route.js +3 -3
  27. package/.next/server/app/api/bot/thread/route.js.nft.json +1 -1
  28. package/.next/server/app/api/config/route.js.nft.json +1 -1
  29. package/.next/server/app/api/events/route.js.nft.json +1 -1
  30. package/.next/server/app/api/favicon/[host]/route.js.nft.json +1 -1
  31. package/.next/server/app/api/file/[...path]/route.js +4 -4
  32. package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
  33. package/.next/server/app/api/llm-model/catalog/route.js.nft.json +1 -1
  34. package/.next/server/app/api/llm-model/credits/route.js.nft.json +1 -1
  35. package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
  36. package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -1
  37. package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
  38. package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
  39. package/.next/server/app/api/mcp/route.js.nft.json +1 -1
  40. package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
  41. package/.next/server/app/api/memory/edit/route.js +11 -11
  42. package/.next/server/app/api/memory/edit/route.js.nft.json +1 -1
  43. package/.next/server/app/api/memory/route.js.nft.json +1 -1
  44. package/.next/server/app/api/reach/route.js +11 -11
  45. package/.next/server/app/api/reach/route.js.nft.json +1 -1
  46. package/.next/server/app/api/routine/route.js +7 -7
  47. package/.next/server/app/api/routine/route.js.nft.json +1 -1
  48. package/.next/server/app/api/signins/route.js +5 -5
  49. package/.next/server/app/api/signins/route.js.nft.json +1 -1
  50. package/.next/server/app/api/skills/[source]/[name]/route.js +7 -7
  51. package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
  52. package/.next/server/app/api/skills/route.js +7 -7
  53. package/.next/server/app/api/skills/route.js.nft.json +1 -1
  54. package/.next/server/app/api/thursday/call/route.js +5 -5
  55. package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
  56. package/.next/server/app/api/thursday/settings/route.js +5 -5
  57. package/.next/server/app/api/thursday/settings/route.js.nft.json +1 -1
  58. package/.next/server/app/api/thursday/text/route.js +13 -13
  59. package/.next/server/app/api/thursday/text/route.js.nft.json +1 -1
  60. package/.next/server/app/api/thursday/tool-call/route.js +12 -12
  61. package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
  62. package/.next/server/app/api/workspace/files/route.js +8 -8
  63. package/.next/server/app/api/workspace/files/route.js.nft.json +1 -1
  64. package/.next/server/app/api/workspace/route.js +9 -9
  65. package/.next/server/app/api/workspace/route.js.nft.json +1 -1
  66. package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +3 -3
  67. package/.next/server/app/artifact/[...path]/page.js +4 -4
  68. package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
  69. package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
  70. package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  71. package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  72. package/.next/server/app/page/server-reference-manifest.json +60 -60
  73. package/.next/server/app/page.js +5 -5
  74. package/.next/server/app/page.js.nft.json +1 -1
  75. package/.next/server/app/page_client-reference-manifest.js +1 -1
  76. package/.next/server/chunks/[root-of-the-server]__00qyw01._.js +1 -1
  77. package/.next/server/chunks/[root-of-the-server]__01ypm_z._.js +3 -0
  78. package/.next/server/chunks/[root-of-the-server]__021dkui._.js +3 -0
  79. package/.next/server/chunks/{[root-of-the-server]__18e65_-._.js → [root-of-the-server]__03xamry._.js} +2 -2
  80. package/.next/server/chunks/[root-of-the-server]__05dp5tr._.js +1 -1
  81. package/.next/server/chunks/[root-of-the-server]__09gdscj._.js +7 -0
  82. package/.next/server/chunks/{[root-of-the-server]__10_7vqz._.js → [root-of-the-server]__0b36yfw._.js} +1 -1
  83. package/.next/server/chunks/{[root-of-the-server]__1gamvcz._.js → [root-of-the-server]__0jzwdg-._.js} +2 -2
  84. package/.next/server/chunks/[root-of-the-server]__0mrk2it._.js +1 -1
  85. package/.next/server/chunks/[root-of-the-server]__0nmust6._.js +5 -0
  86. package/.next/server/chunks/[root-of-the-server]__0svzjwa._.js +7 -0
  87. package/.next/server/chunks/{[root-of-the-server]__16yw3mb._.js → [root-of-the-server]__12m24xl._.js} +1 -1
  88. package/.next/server/chunks/{[root-of-the-server]__1zrwxis._.js → [root-of-the-server]__12tahb4._.js} +1 -1
  89. package/.next/server/chunks/{[root-of-the-server]__1ep-pao._.js → [root-of-the-server]__1_h4hf9._.js} +4 -4
  90. package/.next/server/chunks/{[root-of-the-server]__1-tdj60._.js → [root-of-the-server]__1de1o6m._.js} +2 -2
  91. package/.next/server/chunks/{[root-of-the-server]__1voqqyc._.js → [root-of-the-server]__1ignh6-._.js} +1 -1
  92. package/.next/server/chunks/[root-of-the-server]__1t02-1p._.js +3 -0
  93. package/.next/server/chunks/[root-of-the-server]__1ygplx1._.js +1 -1
  94. package/.next/server/chunks/{[root-of-the-server]__11g20j-._.js → [root-of-the-server]__1yl5l25._.js} +1 -1
  95. package/.next/server/chunks/{[root-of-the-server]__1mbd2w_._.js → [root-of-the-server]__208vmyf._.js} +1 -1
  96. package/.next/server/chunks/{_1mfu9a3._.js → _02lipqs._.js} +1 -1
  97. package/.next/server/chunks/_05sa7xl._.js +1 -1
  98. package/.next/server/chunks/{_1rg5bfd._.js → _074f2ts._.js} +1 -1
  99. package/.next/server/chunks/_07nxi75._.js +37 -37
  100. package/.next/server/chunks/_08354bn._.js +12 -12
  101. package/.next/server/chunks/_08btiir._.js +7 -0
  102. package/.next/server/chunks/_0caua_s._.js +1 -1
  103. package/.next/server/chunks/{_0qoush_._.js → _0gt6cbj._.js} +1 -1
  104. package/.next/server/chunks/_0xygcxs._.js +37 -37
  105. package/.next/server/chunks/{_09c4we8._.js → _17i1lt2._.js} +1 -1
  106. package/.next/server/chunks/_19kea1l._.js +9 -9
  107. package/.next/server/chunks/_1gn2r2q._.js +3 -3
  108. package/.next/server/chunks/{_03niwml._.js → _1ntwp1s._.js} +1 -1
  109. package/.next/server/chunks/_1q6e56i._.js +3 -3
  110. package/.next/server/chunks/{_02fn1o3._.js → _1tkzgtm._.js} +1 -1
  111. package/.next/server/chunks/_1wl2g8_._.js +2 -2
  112. package/.next/server/chunks/{_1w6uf9k._.js → _1y3mnz4._.js} +1 -1
  113. package/.next/server/chunks/features_workspace_workspace_ts_13h82gv._.js +4 -4
  114. package/.next/server/chunks/features_workspace_workspace_ts_1iyjroj._.js +4 -4
  115. package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0cux6zt._.js → node_modules_consola_dist_chunks_prompt_mjs_04oxl25._.js} +1 -1
  116. package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0w32bqh._.js → node_modules_consola_dist_chunks_prompt_mjs_0g87zst._.js} +1 -1
  117. package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_1clmnaj._.js → node_modules_consola_dist_chunks_prompt_mjs_1341cnf._.js} +1 -1
  118. package/.next/server/chunks/ssr/{[root-of-the-server]__02jdtqa._.js → [root-of-the-server]__07660xu._.js} +3 -3
  119. package/.next/server/chunks/ssr/[root-of-the-server]__07iyl1_._.js +3 -0
  120. package/.next/server/chunks/ssr/{[root-of-the-server]__0rnjkw2._.js → [root-of-the-server]__0g__u45._.js} +2 -2
  121. package/.next/server/chunks/ssr/[root-of-the-server]__17h1ggo._.js +1 -1
  122. package/.next/server/chunks/ssr/[root-of-the-server]__1jyeu61._.js +1 -1
  123. package/.next/server/chunks/ssr/_0-i6wdi._.js +3 -0
  124. package/.next/server/chunks/ssr/{_1k0efi3._.js → _00g5sq-._.js} +2 -2
  125. package/.next/server/chunks/ssr/{_0ncuqct._.js → _03akcjz._.js} +2 -2
  126. package/.next/server/chunks/ssr/{_0l1-xc6._.js → _06xy39t._.js} +2 -2
  127. package/.next/server/chunks/ssr/_088vzgn._.js +3 -0
  128. package/.next/server/chunks/ssr/_0fo4552._.js +7 -7
  129. package/.next/server/chunks/ssr/_0r0g9ki._.js +1 -1
  130. package/.next/server/chunks/ssr/{_1dqaksc._.js → _0sefgiu._.js} +2 -2
  131. package/.next/server/chunks/ssr/_0v9r8g2._.js +3 -0
  132. package/.next/server/chunks/ssr/_0x8ophf._.js +1 -1
  133. package/.next/server/chunks/ssr/{_0w8r7o7._.js → _1-41lck._.js} +2 -2
  134. package/.next/server/chunks/ssr/{_11pnnvd._.js → _113ukfo._.js} +3 -3
  135. package/.next/server/chunks/ssr/_12p8f9_._.js +3 -0
  136. package/.next/server/chunks/ssr/{_10fwcz_._.js → _14dfh7a._.js} +2 -2
  137. package/.next/server/chunks/ssr/{_1f6s34p._.js → _1_gwau0._.js} +2 -2
  138. package/.next/server/chunks/ssr/{_0wupyvd._.js → _1hn3szq._.js} +2 -2
  139. package/.next/server/chunks/ssr/_1neoj22._.js +1 -1
  140. package/.next/server/chunks/ssr/{_17ble8k._.js → _1o7a11b._.js} +3 -3
  141. package/.next/server/chunks/ssr/{_0y28gl3._.js → _1swhm5m._.js} +3 -3
  142. package/.next/server/chunks/ssr/_1uij_rj._.js +1 -1
  143. package/.next/server/chunks/ssr/_1umbr78._.js +1 -1
  144. package/.next/server/chunks/ssr/_1w9w1ok._.js +1 -1
  145. package/.next/server/chunks/ssr/_1wac78_._.js +3 -0
  146. package/.next/server/chunks/ssr/{_1z586yw._.js → _20ywznt._.js} +2 -2
  147. package/.next/server/chunks/ssr/features_0796o8r._.js +1 -1
  148. package/.next/server/chunks/ssr/{features_bot_1k25jdg._.js → features_bot_0j4h9qu._.js} +2 -2
  149. package/.next/server/chunks/ssr/features_bot_1knyan7._.js +3 -0
  150. package/.next/server/chunks/ssr/{features_config_11dpa7r._.js → features_config_1xrlh3l._.js} +3 -3
  151. package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
  152. package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
  153. package/.next/server/chunks/ssr/features_routine_components_routine-setting_tsx_055fknz._.js +1 -1
  154. package/.next/server/chunks/ssr/features_workspace_workspace_ts_1wc7_u_._.js +4 -4
  155. package/.next/server/chunks/ssr/{node_modules_1r5o-bo._.js → node_modules_00kqq8n._.js} +1 -1
  156. package/.next/server/chunks/ssr/{node_modules_0u24mg0._.js → node_modules_04o9dd2._.js} +1 -1
  157. package/.next/server/chunks/ssr/{node_modules_0mark4f._.js → node_modules_05jatne._.js} +1 -1
  158. package/.next/server/chunks/ssr/{node_modules_0bas34k._.js → node_modules_06rkzq5._.js} +1 -1
  159. package/.next/server/chunks/ssr/{node_modules_0y5uubt._.js → node_modules_07w6r9n._.js} +1 -1
  160. package/.next/server/chunks/ssr/{node_modules_0ka8te1._.js → node_modules_08ld3lm._.js} +1 -1
  161. package/.next/server/chunks/ssr/{node_modules_0n1js5k._.js → node_modules_0ft86sp._.js} +1 -1
  162. package/.next/server/chunks/ssr/{node_modules_156m1qh._.js → node_modules_0g0lr19._.js} +1 -1
  163. package/.next/server/chunks/ssr/{node_modules_0bbwe-u._.js → node_modules_0kg-vd-._.js} +1 -1
  164. package/.next/server/chunks/ssr/{node_modules_0x_2io2._.js → node_modules_0nl9i29._.js} +1 -1
  165. package/.next/server/chunks/ssr/{node_modules_18yn_bs._.js → node_modules_0p0xf5f._.js} +1 -1
  166. package/.next/server/chunks/ssr/{node_modules_0-8r9yw._.js → node_modules_0pyepmf._.js} +1 -1
  167. package/.next/server/chunks/ssr/{node_modules_1dzye0n._.js → node_modules_0vg-4fo._.js} +1 -1
  168. package/.next/server/chunks/ssr/{node_modules_1xua-g1._.js → node_modules_0y5upun._.js} +1 -1
  169. package/.next/server/chunks/ssr/{node_modules_1o9n7_n._.js → node_modules_13seln7._.js} +1 -1
  170. package/.next/server/chunks/ssr/{node_modules_1ozyial._.js → node_modules_15vsfpv._.js} +1 -1
  171. package/.next/server/chunks/ssr/{node_modules_0sdjzae._.js → node_modules_17azpeb._.js} +1 -1
  172. package/.next/server/chunks/ssr/{node_modules_1zkzksd._.js → node_modules_1_il5l7._.js} +1 -1
  173. package/.next/server/chunks/ssr/{node_modules_0-ew8f8._.js → node_modules_1aeg65a._.js} +1 -1
  174. package/.next/server/chunks/ssr/{node_modules_0etz1i0._.js → node_modules_1d73q89._.js} +1 -1
  175. package/.next/server/chunks/ssr/{node_modules_0ld7p-1._.js → node_modules_1iq8zjs._.js} +1 -1
  176. package/.next/server/chunks/ssr/{node_modules_138kcrz._.js → node_modules_1mcsva4._.js} +1 -1
  177. package/.next/server/chunks/ssr/{node_modules_0uibk9z._.js → node_modules_1mhg5br._.js} +1 -1
  178. package/.next/server/chunks/ssr/{node_modules_1tj7_9z._.js → node_modules_1mqisle._.js} +1 -1
  179. package/.next/server/chunks/ssr/{node_modules_02uwbwp._.js → node_modules_1va4lz9._.js} +1 -1
  180. package/.next/server/chunks/ssr/{node_modules_097cl9f._.js → node_modules_207ay1p._.js} +1 -1
  181. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_133hjui._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0hefprb._.js} +1 -1
  182. package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1b3vwd3._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1uuvrfp._.js} +1 -1
  183. package/.next/server/middleware-build-manifest.js +3 -3
  184. package/.next/server/pages/404.html +1 -1
  185. package/.next/server/pages/500.html +1 -1
  186. package/.next/server/server-reference-manifest.js +1 -1
  187. package/.next/server/server-reference-manifest.json +61 -61
  188. package/.next/static/chunks/04toe_3nqfjqt.js +1 -0
  189. package/.next/static/chunks/{245_cp14iz637.js → 0780wmy0_rva8.js} +1 -1
  190. package/.next/static/chunks/{314szf8yer-3n.js → 09opsnra7k4k0.js} +2 -2
  191. package/.next/static/chunks/{42m371fn687r5.js → 0if7xqoj3ysfj.js} +1 -1
  192. package/.next/static/chunks/{0609ejkwuy4sf.js → 1-q6so9vze75d.js} +2 -2
  193. package/.next/static/chunks/{23tx-2paw9qa6.js → 106jbz6qd0c5l.js} +1 -1
  194. package/.next/static/chunks/19wkcgzetkh6-.js +1 -0
  195. package/.next/static/chunks/{39miwvg4k-b2d.js → 1_me_-lnpwdfd.js} +1 -1
  196. package/.next/static/chunks/{2oa4gpkzjtpni.js → 1mkw_05uc8_ft.js} +1 -1
  197. package/.next/static/chunks/1njjf8bfkg4_v.js +1 -0
  198. package/.next/static/chunks/{1ub9obhgfm4jl.js → 25ciqm-ee14nf.js} +1 -1
  199. package/.next/static/chunks/{2xjr5b-yk_h3o.js → 29laj9_xhx0d1.js} +1 -1
  200. package/.next/static/chunks/{2jbjyazqfqyoh.js → 2b306ek_blfp1.js} +1 -1
  201. package/.next/static/chunks/2mpqmpf8wcst1.js +15 -0
  202. package/.next/static/chunks/{3ro66d9dc70bc.js → 2rpyc6mevfhu6.js} +1 -1
  203. package/.next/static/chunks/{0cl_fgkphk1oz.js → 2wj77vx62ng3n.js} +1 -1
  204. package/.next/static/chunks/{3j-l8un0d77v7.js → 2y2v3bk65fdle.js} +3 -3
  205. package/.next/static/chunks/{3vwjs5kq11417.js → 32oho7re_n3dq.js} +1 -1
  206. package/.next/static/chunks/388l-zszwa_jf.js +1 -0
  207. package/.next/static/chunks/{0q4ws7qd21chx.js → 3_s5svfgu9kl_.js} +3 -3
  208. package/.next/static/chunks/3bwrvpjk95_x4.js +1 -0
  209. package/.next/static/chunks/{07vcuxousbmy1.js → 3suz18umxycuk.js} +1 -1
  210. package/.next/static/chunks/{0unonxbajyknw.js → 44n-w1bs83ejz.js} +1 -1
  211. package/README.md +12 -12
  212. package/guide/bots.md +48 -8
  213. package/guide/calls.md +13 -12
  214. package/guide/setup.md +4 -2
  215. package/package.json +1 -1
  216. package/public/sounds/NOTICE +3 -0
  217. package/public/sounds/opening-land.ogg +0 -0
  218. package/public/sounds/opening-rise.ogg +0 -0
  219. package/public/sounds/opening-step-1.ogg +0 -0
  220. package/public/sounds/opening-step-2.ogg +0 -0
  221. package/public/sounds/opening-step-3.ogg +0 -0
  222. package/skills/README.md +3 -0
  223. package/skills/artifact/SKILL.md +6 -5
  224. package/skills/artifact/references/book.md +23 -8
  225. package/skills/artifact/references/deck.md +4 -2
  226. package/skills/artifact/references/document.md +9 -0
  227. package/skills/artifact/references/sheet.md +113 -0
  228. package/skills/artifact/runtime/book/book.css +75 -0
  229. package/skills/artifact/runtime/book/book.html +6 -3
  230. package/skills/artifact/runtime/book/book.js +21 -0
  231. package/skills/artifact/runtime/canvas/canvas.css +1 -1
  232. package/skills/artifact/runtime/canvas/canvas.js +11 -1
  233. package/skills/artifact/runtime/deck/deck.css +164 -1
  234. package/skills/artifact/runtime/deck/deck.js +76 -1
  235. package/skills/artifact/runtime/document/docx.js +631 -0
  236. package/skills/artifact/runtime/document/markdown.mjs +58 -2
  237. package/skills/artifact/runtime/document/quick.css +66 -0
  238. package/skills/artifact/runtime/document/quick.html +1 -0
  239. package/skills/artifact/runtime/document/quick.js +154 -0
  240. package/skills/artifact/runtime/document/word.mjs +65 -0
  241. package/skills/artifact/runtime/sheet/format.mjs +392 -0
  242. package/skills/artifact/runtime/sheet/formula.mjs +755 -0
  243. package/skills/artifact/runtime/sheet/sheet.css +499 -0
  244. package/skills/artifact/runtime/sheet/sheet.html +102 -0
  245. package/skills/artifact/runtime/sheet/sheet.js +1361 -0
  246. package/skills/artifact/runtime/sheet/xlsx.mjs +320 -0
  247. package/skills/artifact/runtime/shell/head.html +1 -1
  248. package/skills/artifact/runtime/shell/shell.css +3 -0
  249. package/skills/artifact/runtime/shell/wear.mjs +47 -1
  250. package/skills/artifact/runtime/vendor/fflate.LICENSE.md +23 -0
  251. package/skills/artifact/runtime/vendor/fflate.mjs +2710 -0
  252. package/skills/artifact/scripts/book.mjs +160 -11
  253. package/skills/artifact/scripts/chart.mjs +229 -11
  254. package/skills/artifact/scripts/document.mjs +29 -2
  255. package/skills/artifact/scripts/spreadsheet.mjs +1165 -0
  256. package/skills/data-report/SKILL.md +8 -1
  257. package/.next/server/chunks/[root-of-the-server]__0aijj66._.js +0 -3
  258. package/.next/server/chunks/[root-of-the-server]__0tvoct-._.js +0 -3
  259. package/.next/server/chunks/[root-of-the-server]__118qjk_._.js +0 -7
  260. package/.next/server/chunks/[root-of-the-server]__1b8tp42._.js +0 -5
  261. package/.next/server/chunks/[root-of-the-server]__1gzcbda._.js +0 -3
  262. package/.next/server/chunks/[root-of-the-server]__1qcn1ti._.js +0 -7
  263. package/.next/server/chunks/_0xx3ryc._.js +0 -7
  264. package/.next/server/chunks/ssr/[root-of-the-server]__1y5_1cv._.js +0 -3
  265. package/.next/server/chunks/ssr/_0-ou1b0._.js +0 -3
  266. package/.next/server/chunks/ssr/_1g48r6t._.js +0 -3
  267. package/.next/server/chunks/ssr/_1u5vsy-._.js +0 -3
  268. package/.next/server/chunks/ssr/features_bot_1s_-2vj._.js +0 -3
  269. package/.next/server/chunks/ssr/lib_utils_ts_0_f1xvm._.js +0 -3
  270. package/.next/static/chunks/00d54fcfm-lko.js +0 -1
  271. package/.next/static/chunks/0gjlsu6vrfzod.js +0 -1
  272. package/.next/static/chunks/17yqt1p_svv13.js +0 -1
  273. package/.next/static/chunks/203pbwecfs3tm.js +0 -1
  274. package/.next/static/chunks/3ghvoe_mlljzs.js +0 -15
  275. package/.next/static/chunks/3gn7dubb4-pwy.js +0 -1
  276. /package/.next/static/{RtLRT9EEaGn-OqwpMFdYg → SNCDmWKeIrXB6yqnwzClS}/_buildManifest.js +0 -0
  277. /package/.next/static/{RtLRT9EEaGn-OqwpMFdYg → SNCDmWKeIrXB6yqnwzClS}/_clientMiddlewareManifest.js +0 -0
  278. /package/.next/static/{RtLRT9EEaGn-OqwpMFdYg → SNCDmWKeIrXB6yqnwzClS}/_ssgManifest.js +0 -0
@@ -152,6 +152,77 @@ body {
152
152
  .page.cover::after {
153
153
  content: none;
154
154
  }
155
+ /* Who made the book, small under its title */
156
+ .page.cover > .maker {
157
+ display: flex;
158
+ align-items: center;
159
+ gap: 0.5em;
160
+ margin: 0;
161
+ color: var(--muted);
162
+ font-size: max(0.9rem, 2.2vmin);
163
+ font-weight: 600;
164
+ }
165
+ .maker .sh-mark {
166
+ width: 1.4em;
167
+ height: 1.4em;
168
+ }
169
+
170
+ /* A quiz: the question, two to four picks side by side, and the answer once one is picked */
171
+ .page.quiz > h2 {
172
+ flex: none;
173
+ max-width: 26ch;
174
+ margin: 0;
175
+ font-size: max(1.5rem, 5vmin);
176
+ line-height: 1.2;
177
+ text-wrap: balance;
178
+ }
179
+ .page.quiz .choices {
180
+ display: flex;
181
+ flex-wrap: wrap;
182
+ justify-content: center;
183
+ gap: 2.4vmin;
184
+ margin: 0;
185
+ padding: 0;
186
+ list-style: none;
187
+ }
188
+ .page.quiz .choices button {
189
+ display: flex;
190
+ flex-direction: column;
191
+ align-items: center;
192
+ gap: 1.4vmin;
193
+ min-width: 18vmin;
194
+ min-height: 44px;
195
+ padding: 2.4vmin 3vmin;
196
+ border: 2px solid color-mix(in srgb, var(--fg) 14%, transparent);
197
+ border-radius: 2.4vmin;
198
+ background: var(--bg);
199
+ color: var(--fg);
200
+ font: inherit;
201
+ font-size: max(1.05rem, 3.2vmin);
202
+ font-weight: 650;
203
+ cursor: pointer;
204
+ }
205
+ .page.quiz .choices button svg,
206
+ .page.quiz .choices button img {
207
+ width: 16vmin;
208
+ height: 12vmin;
209
+ object-fit: contain;
210
+ }
211
+ .page.quiz[data-answered] .choices button[data-right] {
212
+ border-color: var(--green);
213
+ background: color-mix(in srgb, var(--green) 14%, var(--bg));
214
+ }
215
+ .page.quiz[data-answered="wrong"] .choices button[aria-pressed="true"] {
216
+ border-color: var(--red);
217
+ }
218
+ .page.quiz .answer {
219
+ visibility: hidden;
220
+ font-size: max(1.05rem, 3.2vmin);
221
+ font-weight: 600;
222
+ }
223
+ .page.quiz[data-answered] .answer {
224
+ visibility: visible;
225
+ }
155
226
 
156
227
  /* A tall frame (a phone, a vertical video): keep the words above the player's buttons */
157
228
  @media (max-aspect-ratio: 9 / 16) {
@@ -178,4 +249,8 @@ body {
178
249
  .page mark {
179
250
  print-color-adjust: exact;
180
251
  }
252
+ /* On paper there is nothing to press: the answer is printed */
253
+ .page.quiz .answer {
254
+ visibility: visible;
255
+ }
181
256
  }
@@ -9,13 +9,16 @@
9
9
  </style>
10
10
  </head>
11
11
  <body>
12
- <!-- One <section class="page"> per page, in reading order, all inside <main>: one picture and
12
+ <!-- `book.mjs put` writes the pages into <main>, from a file of the bot's own.
13
+ One <section class="page"> per page, in reading order: one picture and
13
14
  at most two short lines. data-say is the sentence read aloud over that page when the book
14
15
  becomes a video. The picture is an <img src="name.jpg"> beside this file (a real one names
15
16
  its source in a <figcaption>) or an inline <svg viewBox="…"> filled with var(--ink)
16
17
  var(--paper) var(--blue) var(--sky) var(--yellow) var(--green) var(--red) var(--purple),
17
- which follow light and dark. <mark> a new word on the page that shows it. Set lang above
18
- to the book's language. -->
18
+ which follow light and dark. <mark> a new word on the page that shows it. put --lang
19
+ sets lang above to the book's language. -->
20
+ <!-- Who made the book, as they looked then; the page turning sets it on the cover -->
21
+ {{maker}}
19
22
  <main>
20
23
  <section class="page cover" data-say="{{title}}">
21
24
  <figure></figure>
@@ -2,6 +2,27 @@
2
2
  // page, and the address (#3) naming the page open, so a link or a reload lands there.
3
3
  (() => {
4
4
  const pages = [...document.querySelectorAll(".page")];
5
+
6
+ // Who made it, on the cover: kept outside the pages, so a cover written anew still has it
7
+ const maker = document.querySelector("body > .maker");
8
+ const cover = document.querySelector(".page.cover");
9
+ if (maker && cover) {
10
+ cover.append(maker);
11
+ maker.hidden = false;
12
+ }
13
+
14
+ // A quiz page: a pick is marked right or not, and the answer shows under it
15
+ for (const quiz of document.querySelectorAll(".page.quiz"))
16
+ quiz.addEventListener("click", (event) => {
17
+ const pick = event.target.closest(".choices button");
18
+ if (!pick) return;
19
+ for (const one of quiz.querySelectorAll(".choices button"))
20
+ one.removeAttribute("aria-pressed");
21
+ pick.setAttribute("aria-pressed", "true");
22
+ quiz.dataset.answered = pick.hasAttribute("data-right")
23
+ ? "right"
24
+ : "wrong";
25
+ });
5
26
  // The video renderer takes one frame from each [data-slide]
6
27
  for (const page of pages) page.dataset.slide = "";
7
28
 
@@ -379,7 +379,7 @@ body[data-tool="note"] #field {
379
379
  0 0 0 1px var(--sh-brand),
380
380
  var(--sh-shadow);
381
381
  }
382
- .frame.leading > h2::after {
382
+ .frame.leading > h2[data-mark]::after {
383
383
  content: attr(data-mark);
384
384
  padding: 0 0.375rem;
385
385
  border: 1px solid var(--sh-brand);
@@ -906,8 +906,10 @@
906
906
  copy.querySelector(`#${id}`)?.removeAttribute("style");
907
907
  copy.querySelector("body")?.removeAttribute("data-tool");
908
908
  copy.querySelector("body")?.classList.remove("cv-no-layers");
909
- for (const frame of copy.querySelectorAll(".frame"))
909
+ for (const frame of copy.querySelectorAll(".frame")) {
910
910
  frame.classList.remove("picked", "cut");
911
+ frame.querySelector(":scope > h2")?.removeAttribute("data-mark");
912
+ }
911
913
  for (const note of copy.querySelectorAll(".note.sticky")) {
912
914
  note.classList.remove("cv-note-on");
913
915
  note.removeAttribute("contenteditable");
@@ -915,6 +917,14 @@
915
917
  for (const el of copy.querySelectorAll(".swatches")) el.remove();
916
918
  };
917
919
 
920
+ // The word a leading board is marked with (its data-mark) shown on its strip, which is
921
+ // where the stylesheet can read it; the file keeps it on the board alone (shell.clean)
922
+ for (const frame of boards()) {
923
+ const strip = frame.querySelector(":scope > h2");
924
+ if (frame.classList.contains("leading") && frame.dataset.mark && strip)
925
+ strip.dataset.mark = frame.dataset.mark;
926
+ }
927
+
918
928
  // Opens on the board the address names, else fitted to the whole canvas. Fonts change
919
929
  // how tall a note is, and the fit is measured from that.
920
930
  const open = () => (named() === -1 ? fit() : show(named()));
@@ -173,10 +173,45 @@ section[data-slide].dk-footed {
173
173
  text-overflow: ellipsis;
174
174
  }
175
175
 
176
+ /* Where a slide stands in the deck, at the right of the band a footer uses */
177
+ .dk-page {
178
+ position: absolute;
179
+ right: 128px;
180
+ bottom: 64px;
181
+ color: var(--dk-muted);
182
+ font-size: 24px;
183
+ font-variant-numeric: tabular-nums;
184
+ }
185
+ .dk-dark .dk-page {
186
+ color: var(--dk-on-accent-muted);
187
+ }
188
+ section[data-slide]:has(.dk-page) .dk-foot {
189
+ right: 300px;
190
+ }
191
+ /* Who made it, over the cover's title: the face and name the page's head carries */
192
+ .dk-maker {
193
+ position: absolute;
194
+ top: 64px;
195
+ left: 128px;
196
+ display: flex;
197
+ align-items: center;
198
+ gap: 14px;
199
+ color: var(--dk-muted);
200
+ font-size: 24px;
201
+ font-weight: 600;
202
+ }
203
+ .dk-maker .sh-mark {
204
+ width: 32px;
205
+ height: 32px;
206
+ }
207
+
176
208
  /* A content slide keeps its heading at the top margin, so it never hops between
177
209
  neighbours, and its body in the middle of what is left. */
178
210
  .dk-cards,
179
- .dk-table {
211
+ .dk-table,
212
+ .dk-timeline,
213
+ .dk-compare,
214
+ .dk-stats {
180
215
  justify-content: flex-start;
181
216
  gap: calc(56px * var(--dk-fit, 1));
182
217
  }
@@ -586,3 +621,131 @@ body.shot section[data-slide] {
586
621
  @page {
587
622
  margin: 0;
588
623
  }
624
+
625
+ /* A timeline: dates along one line, each with what happens then */
626
+ .dk-line {
627
+ display: flex;
628
+ width: 100%;
629
+ margin: 0;
630
+ padding: 0;
631
+ list-style: none;
632
+ }
633
+ .dk-when {
634
+ display: flex;
635
+ flex: 1;
636
+ flex-direction: column;
637
+ gap: calc(20px * var(--dk-fit, 1));
638
+ min-width: 0;
639
+ }
640
+ .dk-date {
641
+ color: var(--dk-accent);
642
+ font-family: var(--dk-head);
643
+ font-size: calc(44px * var(--dk-fit, 1));
644
+ }
645
+ /* A dot and the line on to the next dot; the last one has no line after it */
646
+ .dk-mark {
647
+ display: flex;
648
+ align-items: center;
649
+ }
650
+ .dk-tick {
651
+ flex: none;
652
+ width: 20px;
653
+ height: 20px;
654
+ border-radius: 50%;
655
+ background: var(--dk-accent);
656
+ }
657
+ .dk-rule {
658
+ flex: 1;
659
+ height: 2px;
660
+ background: var(--dk-accent);
661
+ }
662
+ .dk-when:last-child .dk-rule {
663
+ visibility: hidden;
664
+ }
665
+ .dk-when > :not(.dk-mark) {
666
+ padding-right: 32px;
667
+ }
668
+ .dk-when h3 {
669
+ font-size: calc(40px * var(--dk-fit, 1));
670
+ font-weight: 600;
671
+ line-height: 1.2;
672
+ }
673
+ .dk-when p:not(.dk-date) {
674
+ color: var(--dk-muted);
675
+ font-size: calc(28px * var(--dk-fit, 1));
676
+ line-height: 1.5;
677
+ }
678
+
679
+ /* Two sides, the right one in the accent: what the slide argues for */
680
+ .dk-sides {
681
+ align-items: stretch;
682
+ }
683
+ .dk-side {
684
+ display: flex;
685
+ flex: 1;
686
+ flex-direction: column;
687
+ gap: calc(24px * var(--dk-fit, 1));
688
+ min-width: 0;
689
+ padding: calc(48px * var(--dk-fit, 1));
690
+ border: 1px solid var(--dk-line);
691
+ border-radius: 16px;
692
+ background: var(--dk-card);
693
+ }
694
+ .dk-side.dk-after {
695
+ border-color: var(--dk-accent);
696
+ background: var(--dk-accent);
697
+ color: var(--dk-on-accent);
698
+ }
699
+ .dk-side-l {
700
+ color: var(--dk-muted);
701
+ font-size: calc(28px * var(--dk-fit, 1));
702
+ font-weight: 600;
703
+ }
704
+ .dk-after .dk-side-l {
705
+ color: var(--dk-on-accent-muted);
706
+ }
707
+ .dk-side ul {
708
+ display: flex;
709
+ flex-direction: column;
710
+ gap: calc(16px * var(--dk-fit, 1));
711
+ margin: 0;
712
+ padding-left: 1.1em;
713
+ font-size: calc(34px * var(--dk-fit, 1));
714
+ line-height: 1.35;
715
+ }
716
+ .dk-arrow {
717
+ align-self: center;
718
+ color: var(--dk-accent);
719
+ font-size: 56px;
720
+ }
721
+
722
+ /* Two to four figures side by side, each over what it counts */
723
+ .dk-figures {
724
+ gap: 0;
725
+ }
726
+ .dk-stat {
727
+ display: flex;
728
+ flex: 1;
729
+ flex-direction: column;
730
+ gap: calc(16px * var(--dk-fit, 1));
731
+ min-width: 0;
732
+ padding: 0 48px;
733
+ border-left: 1px solid var(--dk-line);
734
+ }
735
+ .dk-stat:first-child {
736
+ padding-left: 0;
737
+ border-left: 0;
738
+ }
739
+ .dk-stat-v {
740
+ color: var(--dk-accent);
741
+ font-size: calc(150px * var(--dk-fit, 1));
742
+ font-weight: 300;
743
+ line-height: 1;
744
+ letter-spacing: -0.03em;
745
+ white-space: nowrap;
746
+ font-variant-numeric: lining-nums tabular-nums;
747
+ }
748
+ .dk-stat-l {
749
+ color: var(--dk-muted);
750
+ font-size: calc(32px * var(--dk-fit, 1));
751
+ }
@@ -69,6 +69,7 @@
69
69
  /** What each layout puts on its slide, and the class that lays it out (deck.css). */
70
70
  const LAYOUTS = {
71
71
  cover: (s) => [
72
+ maker(),
72
73
  s.eyebrow && el("p", "dk-eyebrow", s.eyebrow, "eyebrow"),
73
74
  el("h1", "dk-title", s.title, "title"),
74
75
  s.subtitle && el("p", "dk-sub", s.subtitle, "subtitle"),
@@ -146,6 +147,59 @@
146
147
  img.alt = s.alt ?? "";
147
148
  return [words, img];
148
149
  },
150
+ timeline: (s) => {
151
+ const line = el("ol", "dk-line");
152
+ (s.steps ?? []).forEach((step, i) => {
153
+ const one = el("li", "dk-when");
154
+ // A dot and the line on to the next one
155
+ const mark = el("div", "dk-mark");
156
+ mark.append(el("i", "dk-tick"), el("i", "dk-rule"));
157
+ one.append(
158
+ el("p", "dk-date", step.when, `steps.${i}.when`),
159
+ mark,
160
+ el("h3", "", step.title, `steps.${i}.title`),
161
+ );
162
+ if (step.text) one.append(el("p", "", step.text, `steps.${i}.text`));
163
+ line.append(one);
164
+ });
165
+ const body = el("div", "dk-body");
166
+ body.append(line);
167
+ return [el("h2", "dk-head", s.title, "title"), body];
168
+ },
169
+ compare: (s) => {
170
+ const row = el("div", "dk-row dk-sides");
171
+ (s.sides ?? []).forEach((side, i) => {
172
+ if (i === 1) {
173
+ const arrow = el("span", "dk-arrow", "→");
174
+ arrow.setAttribute("aria-hidden", "true");
175
+ row.append(arrow);
176
+ }
177
+ const box = el("div", i === 1 ? "dk-side dk-after" : "dk-side");
178
+ const list = el("ul");
179
+ (side.points ?? []).forEach((point, j) =>
180
+ list.append(el("li", "", point, `sides.${i}.points.${j}`)),
181
+ );
182
+ box.append(el("p", "dk-side-l", side.label, `sides.${i}.label`), list);
183
+ row.append(box);
184
+ });
185
+ const body = el("div", "dk-body");
186
+ body.append(row);
187
+ return [el("h2", "dk-head", s.title, "title"), body];
188
+ },
189
+ stats: (s) => {
190
+ const row = el("div", "dk-row dk-figures");
191
+ (s.stats ?? []).forEach((one, i) => {
192
+ const box = el("div", "dk-stat");
193
+ box.append(
194
+ el("p", "dk-stat-v", one.value, `stats.${i}.value`),
195
+ el("p", "dk-stat-l", one.label, `stats.${i}.label`),
196
+ );
197
+ row.append(box);
198
+ });
199
+ const body = el("div", "dk-body");
200
+ body.append(row);
201
+ return [el("h2", "dk-head", s.title, "title"), body];
202
+ },
149
203
  close: (s, section) => {
150
204
  section.classList.add("dk-dark");
151
205
  const steps = el("div", "dk-steps");
@@ -164,11 +218,29 @@
164
218
  },
165
219
  };
166
220
 
221
+ /**
222
+ * Who made the deck, on its cover: the face and name the page's head carries (shell
223
+ * wear.mjs), as they were when the deck was made. Nothing when no bot made it.
224
+ */
225
+ const maker = () => {
226
+ const who = document.querySelector(".sh-head .sh-who");
227
+ if (!who?.dataset.bot) return null;
228
+ const by = el("p", "dk-maker");
229
+ const face = who.querySelector(".sh-mark")?.cloneNode(true);
230
+ if (face) {
231
+ face.removeAttribute("width");
232
+ face.removeAttribute("height");
233
+ by.append(face);
234
+ }
235
+ by.append(document.createTextNode(who.dataset.bot));
236
+ return by;
237
+ };
238
+
167
239
  /** Hangul breaks between words, never inside one (deck.css :lang(ko)), so a slide in it says so. */
168
240
  const HANGUL = /[\u1100-\u11ff\u3130-\u318f\uac00-\ud7af]/;
169
241
 
170
242
  /** One slide of the deck, drawn. A layout this page does not know is drawn as a statement. */
171
- const draw = (s) => {
243
+ const draw = (s, at) => {
172
244
  const layout = LAYOUTS[s.layout] ? s.layout : "statement";
173
245
  const section = el("section", `dk-${layout}`);
174
246
  section.dataset.slide = "";
@@ -179,6 +251,9 @@
179
251
  section.classList.add("dk-footed");
180
252
  section.append(el("p", "dk-foot", s.footer, "footer"));
181
253
  }
254
+ // Where it stands in the deck, on every slide after the cover
255
+ if (at > 0 || layout !== "cover")
256
+ section.append(el("p", "dk-page", `${at + 1} / ${data.slides.length}`));
182
257
  return section;
183
258
  };
184
259