@jean-is/render 0.8.0-rd6093c04d4f4 → 0.8.0-re701a6702d31

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 (726) hide show
  1. package/caps/made/paper.js +1 -1
  2. package/caps/scores/scores.js +22 -2
  3. package/caps/scores/sound.js +9 -8
  4. package/caps/share/view.js +2 -1
  5. package/caps/skills/directory.js +2 -0
  6. package/caps/slides/edit.js +0 -2
  7. package/caps/slides/slides.css +3 -0
  8. package/caps/slides/slides.js +5 -4
  9. package/core/events.js +5 -4
  10. package/core/files.js +26 -2
  11. package/core/fs.js +21 -75
  12. package/core/i18n.js +19 -16
  13. package/core/llm.js +2 -1
  14. package/core/loop.js +8 -0
  15. package/core/settings.js +2 -0
  16. package/locales/am.json +10 -1
  17. package/locales/approvals/fr-CA.json +3 -3
  18. package/locales/approvals/fr.json +3 -3
  19. package/locales/ar.json +10 -1
  20. package/locales/bg.json +10 -1
  21. package/locales/bn.json +10 -1
  22. package/locales/br.json +10 -1
  23. package/locales/brains/am.json +1 -1
  24. package/locales/brains/ar.json +1 -1
  25. package/locales/brains/bg.json +1 -1
  26. package/locales/brains/bn.json +1 -1
  27. package/locales/brains/br.json +1 -1
  28. package/locales/brains/co.json +1 -1
  29. package/locales/brains/cs.json +1 -1
  30. package/locales/brains/da.json +1 -1
  31. package/locales/brains/de.json +1 -1
  32. package/locales/brains/el.json +1 -1
  33. package/locales/brains/en.json +1 -1
  34. package/locales/brains/es.json +1 -1
  35. package/locales/brains/fa.json +1 -1
  36. package/locales/brains/fi.json +1 -1
  37. package/locales/brains/fr-CA.json +1 -1
  38. package/locales/brains/fr.json +1 -1
  39. package/locales/brains/ha.json +1 -1
  40. package/locales/brains/he.json +1 -1
  41. package/locales/brains/hi.json +1 -1
  42. package/locales/brains/hr.json +1 -1
  43. package/locales/brains/hu.json +1 -1
  44. package/locales/brains/id.json +1 -1
  45. package/locales/brains/it.json +1 -1
  46. package/locales/brains/ja.json +1 -1
  47. package/locales/brains/ko.json +1 -1
  48. package/locales/brains/mr.json +1 -1
  49. package/locales/brains/ms.json +1 -1
  50. package/locales/brains/nl.json +1 -1
  51. package/locales/brains/pl.json +1 -1
  52. package/locales/brains/pt.json +1 -1
  53. package/locales/brains/ro.json +1 -1
  54. package/locales/brains/ru.json +1 -1
  55. package/locales/brains/sk.json +1 -1
  56. package/locales/brains/sv.json +1 -1
  57. package/locales/brains/sw.json +1 -1
  58. package/locales/brains/ta.json +1 -1
  59. package/locales/brains/te.json +1 -1
  60. package/locales/brains/th.json +1 -1
  61. package/locales/brains/tl.json +1 -1
  62. package/locales/brains/tr.json +1 -1
  63. package/locales/brains/uk.json +1 -1
  64. package/locales/brains/ur.json +1 -1
  65. package/locales/brains/vi.json +1 -1
  66. package/locales/brains/yo.json +1 -1
  67. package/locales/brains/zh-Hans.json +1 -1
  68. package/locales/brains/zh-Hant.json +1 -1
  69. package/locales/case/co.json +8 -8
  70. package/locales/case/es.json +5 -5
  71. package/locales/case/fr-CA.json +9 -9
  72. package/locales/case/fr.json +9 -9
  73. package/locales/case/it.json +8 -8
  74. package/locales/case/pt.json +5 -5
  75. package/locales/co.json +10 -1
  76. package/locales/computer/fr-CA.json +14 -14
  77. package/locales/computer/fr.json +14 -14
  78. package/locales/connections/am.json +2 -2
  79. package/locales/connections/ar.json +2 -2
  80. package/locales/connections/bg.json +2 -2
  81. package/locales/connections/bn.json +2 -2
  82. package/locales/connections/br.json +2 -2
  83. package/locales/connections/co.json +2 -2
  84. package/locales/connections/cs.json +2 -2
  85. package/locales/connections/da.json +2 -2
  86. package/locales/connections/de.json +2 -2
  87. package/locales/connections/el.json +2 -2
  88. package/locales/connections/en.json +2 -2
  89. package/locales/connections/es.json +2 -2
  90. package/locales/connections/fa.json +2 -2
  91. package/locales/connections/fi.json +2 -2
  92. package/locales/connections/fr-CA.json +2 -2
  93. package/locales/connections/fr.json +2 -2
  94. package/locales/connections/ha.json +2 -2
  95. package/locales/connections/he.json +2 -2
  96. package/locales/connections/hi.json +2 -2
  97. package/locales/connections/hr.json +2 -2
  98. package/locales/connections/hu.json +2 -2
  99. package/locales/connections/id.json +2 -2
  100. package/locales/connections/it.json +2 -2
  101. package/locales/connections/ja.json +2 -2
  102. package/locales/connections/ko.json +2 -2
  103. package/locales/connections/mr.json +2 -2
  104. package/locales/connections/ms.json +2 -2
  105. package/locales/connections/nl.json +2 -2
  106. package/locales/connections/pl.json +2 -2
  107. package/locales/connections/pt.json +2 -2
  108. package/locales/connections/ro.json +2 -2
  109. package/locales/connections/ru.json +2 -2
  110. package/locales/connections/sk.json +2 -2
  111. package/locales/connections/sv.json +2 -2
  112. package/locales/connections/sw.json +2 -2
  113. package/locales/connections/ta.json +2 -2
  114. package/locales/connections/te.json +2 -2
  115. package/locales/connections/th.json +2 -2
  116. package/locales/connections/tl.json +2 -2
  117. package/locales/connections/tr.json +2 -2
  118. package/locales/connections/uk.json +2 -2
  119. package/locales/connections/ur.json +2 -2
  120. package/locales/connections/vi.json +2 -2
  121. package/locales/connections/yo.json +2 -2
  122. package/locales/connections/zh-Hans.json +2 -2
  123. package/locales/connections/zh-Hant.json +2 -2
  124. package/locales/creations/am.json +4 -0
  125. package/locales/creations/ar.json +4 -0
  126. package/locales/creations/bg.json +4 -0
  127. package/locales/creations/bn.json +4 -0
  128. package/locales/creations/br.json +4 -0
  129. package/locales/creations/co.json +4 -0
  130. package/locales/creations/cs.json +4 -0
  131. package/locales/creations/da.json +4 -0
  132. package/locales/creations/de.json +4 -0
  133. package/locales/creations/el.json +4 -0
  134. package/locales/creations/en.json +4 -0
  135. package/locales/creations/es.json +4 -0
  136. package/locales/creations/fa.json +4 -0
  137. package/locales/creations/fi.json +4 -0
  138. package/locales/creations/fr-CA.json +4 -0
  139. package/locales/creations/fr.json +4 -0
  140. package/locales/creations/ha.json +4 -0
  141. package/locales/creations/he.json +4 -0
  142. package/locales/creations/hi.json +4 -0
  143. package/locales/creations/hr.json +4 -0
  144. package/locales/creations/hu.json +4 -0
  145. package/locales/creations/id.json +4 -0
  146. package/locales/creations/it.json +4 -0
  147. package/locales/creations/ja.json +4 -0
  148. package/locales/creations/ko.json +4 -0
  149. package/locales/creations/mr.json +4 -0
  150. package/locales/creations/ms.json +4 -0
  151. package/locales/creations/nl.json +4 -0
  152. package/locales/creations/pl.json +4 -0
  153. package/locales/creations/pt.json +4 -0
  154. package/locales/creations/ro.json +4 -0
  155. package/locales/creations/ru.json +4 -0
  156. package/locales/creations/sk.json +4 -0
  157. package/locales/creations/sv.json +4 -0
  158. package/locales/creations/sw.json +4 -0
  159. package/locales/creations/ta.json +4 -0
  160. package/locales/creations/te.json +4 -0
  161. package/locales/creations/th.json +4 -0
  162. package/locales/creations/tl.json +4 -0
  163. package/locales/creations/tr.json +4 -0
  164. package/locales/creations/uk.json +4 -0
  165. package/locales/creations/ur.json +4 -0
  166. package/locales/creations/vi.json +4 -0
  167. package/locales/creations/yo.json +4 -0
  168. package/locales/creations/zh-Hans.json +4 -0
  169. package/locales/creations/zh-Hant.json +4 -0
  170. package/locales/cs.json +10 -1
  171. package/locales/da.json +10 -1
  172. package/locales/data/am.json +7 -0
  173. package/locales/data/ar.json +7 -0
  174. package/locales/data/bg.json +7 -0
  175. package/locales/data/bn.json +7 -0
  176. package/locales/data/br.json +7 -0
  177. package/locales/data/co.json +7 -0
  178. package/locales/data/cs.json +7 -0
  179. package/locales/data/da.json +7 -0
  180. package/locales/data/de.json +7 -0
  181. package/locales/data/el.json +7 -0
  182. package/locales/data/en.json +7 -0
  183. package/locales/data/es.json +7 -0
  184. package/locales/data/fa.json +7 -0
  185. package/locales/data/fi.json +7 -0
  186. package/locales/data/fr-CA.json +7 -0
  187. package/locales/data/fr.json +7 -0
  188. package/locales/data/ha.json +7 -0
  189. package/locales/data/he.json +7 -0
  190. package/locales/data/hi.json +7 -0
  191. package/locales/data/hr.json +7 -0
  192. package/locales/data/hu.json +7 -0
  193. package/locales/data/id.json +7 -0
  194. package/locales/data/it.json +7 -0
  195. package/locales/data/ja.json +7 -0
  196. package/locales/data/ko.json +7 -0
  197. package/locales/data/mr.json +7 -0
  198. package/locales/data/ms.json +7 -0
  199. package/locales/data/nl.json +7 -0
  200. package/locales/data/pl.json +7 -0
  201. package/locales/data/pt.json +7 -0
  202. package/locales/data/ro.json +7 -0
  203. package/locales/data/ru.json +7 -0
  204. package/locales/data/sk.json +7 -0
  205. package/locales/data/sv.json +7 -0
  206. package/locales/data/sw.json +7 -0
  207. package/locales/data/ta.json +7 -0
  208. package/locales/data/te.json +7 -0
  209. package/locales/data/th.json +7 -0
  210. package/locales/data/tl.json +7 -0
  211. package/locales/data/tr.json +7 -0
  212. package/locales/data/uk.json +7 -0
  213. package/locales/data/ur.json +7 -0
  214. package/locales/data/vi.json +7 -0
  215. package/locales/data/yo.json +7 -0
  216. package/locales/data/zh-Hans.json +7 -0
  217. package/locales/data/zh-Hant.json +7 -0
  218. package/locales/de.json +10 -1
  219. package/locales/devices/am.json +104 -0
  220. package/locales/devices/ar.json +116 -0
  221. package/locales/devices/bg.json +104 -0
  222. package/locales/devices/bn.json +104 -0
  223. package/locales/devices/br.json +113 -0
  224. package/locales/devices/co.json +107 -0
  225. package/locales/devices/cs.json +110 -0
  226. package/locales/devices/da.json +104 -0
  227. package/locales/devices/de.json +104 -0
  228. package/locales/devices/el.json +104 -0
  229. package/locales/devices/en.json +104 -0
  230. package/locales/devices/es.json +107 -0
  231. package/locales/devices/fa.json +104 -0
  232. package/locales/devices/fi.json +104 -0
  233. package/locales/devices/fr-CA.json +107 -0
  234. package/locales/devices/fr.json +107 -0
  235. package/locales/devices/ha.json +104 -0
  236. package/locales/devices/he.json +107 -0
  237. package/locales/devices/hi.json +104 -0
  238. package/locales/devices/hr.json +107 -0
  239. package/locales/devices/hu.json +104 -0
  240. package/locales/devices/id.json +101 -0
  241. package/locales/devices/it.json +107 -0
  242. package/locales/devices/ja.json +101 -0
  243. package/locales/devices/ko.json +101 -0
  244. package/locales/devices/mr.json +104 -0
  245. package/locales/devices/ms.json +101 -0
  246. package/locales/devices/nl.json +104 -0
  247. package/locales/devices/pl.json +110 -0
  248. package/locales/devices/pt.json +107 -0
  249. package/locales/devices/ro.json +107 -0
  250. package/locales/devices/ru.json +110 -0
  251. package/locales/devices/sk.json +110 -0
  252. package/locales/devices/sv.json +104 -0
  253. package/locales/devices/sw.json +104 -0
  254. package/locales/devices/ta.json +104 -0
  255. package/locales/devices/te.json +104 -0
  256. package/locales/devices/th.json +101 -0
  257. package/locales/devices/tl.json +104 -0
  258. package/locales/devices/tr.json +104 -0
  259. package/locales/devices/uk.json +110 -0
  260. package/locales/devices/ur.json +104 -0
  261. package/locales/devices/vi.json +101 -0
  262. package/locales/devices/yo.json +101 -0
  263. package/locales/devices/zh-Hans.json +101 -0
  264. package/locales/devices/zh-Hant.json +101 -0
  265. package/locales/dialogs/am.json +9 -0
  266. package/locales/dialogs/ar.json +9 -0
  267. package/locales/dialogs/bg.json +9 -0
  268. package/locales/dialogs/bn.json +9 -0
  269. package/locales/dialogs/br.json +9 -0
  270. package/locales/dialogs/co.json +13 -4
  271. package/locales/dialogs/cs.json +9 -0
  272. package/locales/dialogs/da.json +9 -0
  273. package/locales/dialogs/de.json +9 -0
  274. package/locales/dialogs/el.json +9 -0
  275. package/locales/dialogs/en.json +9 -0
  276. package/locales/dialogs/es.json +13 -4
  277. package/locales/dialogs/fa.json +9 -0
  278. package/locales/dialogs/fi.json +9 -0
  279. package/locales/dialogs/fr-CA.json +15 -6
  280. package/locales/dialogs/fr.json +15 -6
  281. package/locales/dialogs/ha.json +9 -0
  282. package/locales/dialogs/he.json +9 -0
  283. package/locales/dialogs/hi.json +9 -0
  284. package/locales/dialogs/hr.json +9 -0
  285. package/locales/dialogs/hu.json +9 -0
  286. package/locales/dialogs/id.json +9 -0
  287. package/locales/dialogs/it.json +13 -4
  288. package/locales/dialogs/ja.json +9 -0
  289. package/locales/dialogs/ko.json +9 -0
  290. package/locales/dialogs/mr.json +9 -0
  291. package/locales/dialogs/ms.json +9 -0
  292. package/locales/dialogs/nl.json +9 -0
  293. package/locales/dialogs/pl.json +9 -0
  294. package/locales/dialogs/pt.json +12 -3
  295. package/locales/dialogs/ro.json +9 -0
  296. package/locales/dialogs/ru.json +9 -0
  297. package/locales/dialogs/sk.json +9 -0
  298. package/locales/dialogs/sv.json +9 -0
  299. package/locales/dialogs/sw.json +9 -0
  300. package/locales/dialogs/ta.json +9 -0
  301. package/locales/dialogs/te.json +9 -0
  302. package/locales/dialogs/th.json +9 -0
  303. package/locales/dialogs/tl.json +9 -0
  304. package/locales/dialogs/tr.json +9 -0
  305. package/locales/dialogs/uk.json +9 -0
  306. package/locales/dialogs/ur.json +9 -0
  307. package/locales/dialogs/vi.json +9 -0
  308. package/locales/dialogs/yo.json +9 -0
  309. package/locales/dialogs/zh-Hans.json +9 -0
  310. package/locales/dialogs/zh-Hant.json +9 -0
  311. package/locales/el.json +10 -1
  312. package/locales/en.json +10 -1
  313. package/locales/es.json +10 -1
  314. package/locales/fa.json +10 -1
  315. package/locales/fi.json +10 -1
  316. package/locales/fr-CA.json +10 -1
  317. package/locales/fr.json +10 -1
  318. package/locales/ha.json +10 -1
  319. package/locales/he.json +10 -1
  320. package/locales/hi.json +10 -1
  321. package/locales/hr.json +10 -1
  322. package/locales/hu.json +10 -1
  323. package/locales/id.json +10 -1
  324. package/locales/it.json +10 -1
  325. package/locales/ja.json +10 -1
  326. package/locales/ko.json +10 -1
  327. package/locales/machine/fr-CA.json +1 -1
  328. package/locales/machine/fr.json +1 -1
  329. package/locales/made/am.json +2 -4
  330. package/locales/made/ar.json +2 -4
  331. package/locales/made/bg.json +2 -4
  332. package/locales/made/bn.json +2 -4
  333. package/locales/made/br.json +2 -4
  334. package/locales/made/co.json +2 -4
  335. package/locales/made/cs.json +2 -4
  336. package/locales/made/da.json +2 -4
  337. package/locales/made/de.json +2 -4
  338. package/locales/made/el.json +2 -4
  339. package/locales/made/en.json +2 -4
  340. package/locales/made/es.json +2 -4
  341. package/locales/made/fa.json +2 -4
  342. package/locales/made/fi.json +2 -4
  343. package/locales/made/fr-CA.json +2 -4
  344. package/locales/made/fr.json +2 -4
  345. package/locales/made/ha.json +2 -4
  346. package/locales/made/he.json +2 -4
  347. package/locales/made/hi.json +2 -4
  348. package/locales/made/hr.json +2 -4
  349. package/locales/made/hu.json +2 -4
  350. package/locales/made/id.json +2 -4
  351. package/locales/made/it.json +2 -4
  352. package/locales/made/ja.json +2 -4
  353. package/locales/made/ko.json +2 -4
  354. package/locales/made/mr.json +2 -4
  355. package/locales/made/ms.json +2 -4
  356. package/locales/made/nl.json +2 -4
  357. package/locales/made/pl.json +2 -4
  358. package/locales/made/pt.json +2 -4
  359. package/locales/made/ro.json +2 -4
  360. package/locales/made/ru.json +2 -4
  361. package/locales/made/sk.json +2 -4
  362. package/locales/made/sv.json +2 -4
  363. package/locales/made/sw.json +2 -4
  364. package/locales/made/ta.json +2 -4
  365. package/locales/made/te.json +2 -4
  366. package/locales/made/th.json +2 -4
  367. package/locales/made/tl.json +2 -4
  368. package/locales/made/tr.json +2 -4
  369. package/locales/made/uk.json +2 -4
  370. package/locales/made/ur.json +2 -4
  371. package/locales/made/vi.json +2 -4
  372. package/locales/made/yo.json +2 -4
  373. package/locales/made/zh-Hans.json +2 -4
  374. package/locales/made/zh-Hant.json +2 -4
  375. package/locales/mr.json +10 -1
  376. package/locales/ms.json +10 -1
  377. package/locales/nl.json +10 -1
  378. package/locales/people/am.json +89 -0
  379. package/locales/people/ar.json +97 -0
  380. package/locales/people/bg.json +89 -0
  381. package/locales/people/bn.json +89 -0
  382. package/locales/people/br.json +95 -0
  383. package/locales/people/co.json +91 -0
  384. package/locales/people/cs.json +93 -0
  385. package/locales/people/da.json +89 -0
  386. package/locales/people/de.json +89 -0
  387. package/locales/people/el.json +89 -0
  388. package/locales/people/en.json +89 -0
  389. package/locales/people/es.json +91 -0
  390. package/locales/people/fa.json +89 -0
  391. package/locales/people/fi.json +89 -0
  392. package/locales/people/fr-CA.json +91 -0
  393. package/locales/people/fr.json +91 -0
  394. package/locales/people/ha.json +89 -0
  395. package/locales/people/he.json +91 -0
  396. package/locales/people/hi.json +89 -0
  397. package/locales/people/hr.json +91 -0
  398. package/locales/people/hu.json +89 -0
  399. package/locales/people/id.json +87 -0
  400. package/locales/people/it.json +91 -0
  401. package/locales/people/ja.json +87 -0
  402. package/locales/people/ko.json +87 -0
  403. package/locales/people/mr.json +89 -0
  404. package/locales/people/ms.json +87 -0
  405. package/locales/people/nl.json +89 -0
  406. package/locales/people/pl.json +93 -0
  407. package/locales/people/pt.json +91 -0
  408. package/locales/people/ro.json +91 -0
  409. package/locales/people/ru.json +93 -0
  410. package/locales/people/sk.json +93 -0
  411. package/locales/people/sv.json +89 -0
  412. package/locales/people/sw.json +89 -0
  413. package/locales/people/ta.json +89 -0
  414. package/locales/people/te.json +89 -0
  415. package/locales/people/th.json +87 -0
  416. package/locales/people/tl.json +89 -0
  417. package/locales/people/tr.json +89 -0
  418. package/locales/people/uk.json +93 -0
  419. package/locales/people/ur.json +89 -0
  420. package/locales/people/vi.json +87 -0
  421. package/locales/people/yo.json +87 -0
  422. package/locales/people/zh-Hans.json +87 -0
  423. package/locales/people/zh-Hant.json +87 -0
  424. package/locales/pl.json +10 -1
  425. package/locales/profiles/am.json +4 -0
  426. package/locales/profiles/ar.json +8 -0
  427. package/locales/profiles/bg.json +4 -0
  428. package/locales/profiles/bn.json +4 -0
  429. package/locales/profiles/br.json +7 -0
  430. package/locales/profiles/co.json +5 -0
  431. package/locales/profiles/cs.json +6 -0
  432. package/locales/profiles/da.json +4 -0
  433. package/locales/profiles/de.json +4 -0
  434. package/locales/profiles/el.json +4 -0
  435. package/locales/profiles/en.json +4 -0
  436. package/locales/profiles/es.json +5 -0
  437. package/locales/profiles/fa.json +4 -0
  438. package/locales/profiles/fi.json +4 -0
  439. package/locales/profiles/fr-CA.json +5 -0
  440. package/locales/profiles/fr.json +5 -0
  441. package/locales/profiles/ha.json +4 -0
  442. package/locales/profiles/he.json +5 -0
  443. package/locales/profiles/hi.json +4 -0
  444. package/locales/profiles/hr.json +5 -0
  445. package/locales/profiles/hu.json +4 -0
  446. package/locales/profiles/id.json +3 -0
  447. package/locales/profiles/it.json +5 -0
  448. package/locales/profiles/ja.json +3 -0
  449. package/locales/profiles/ko.json +3 -0
  450. package/locales/profiles/mr.json +4 -0
  451. package/locales/profiles/ms.json +3 -0
  452. package/locales/profiles/nl.json +4 -0
  453. package/locales/profiles/pl.json +6 -0
  454. package/locales/profiles/pt.json +5 -0
  455. package/locales/profiles/ro.json +5 -0
  456. package/locales/profiles/ru.json +6 -0
  457. package/locales/profiles/sk.json +6 -0
  458. package/locales/profiles/sv.json +4 -0
  459. package/locales/profiles/sw.json +4 -0
  460. package/locales/profiles/ta.json +4 -0
  461. package/locales/profiles/te.json +4 -0
  462. package/locales/profiles/th.json +3 -0
  463. package/locales/profiles/tl.json +4 -0
  464. package/locales/profiles/tr.json +4 -0
  465. package/locales/profiles/uk.json +6 -0
  466. package/locales/profiles/ur.json +4 -0
  467. package/locales/profiles/vi.json +3 -0
  468. package/locales/profiles/yo.json +3 -0
  469. package/locales/profiles/zh-Hans.json +3 -0
  470. package/locales/profiles/zh-Hant.json +3 -0
  471. package/locales/pt.json +10 -1
  472. package/locales/receipt/am.json +0 -1
  473. package/locales/receipt/ar.json +0 -1
  474. package/locales/receipt/bg.json +0 -1
  475. package/locales/receipt/bn.json +0 -1
  476. package/locales/receipt/br.json +0 -1
  477. package/locales/receipt/co.json +0 -1
  478. package/locales/receipt/cs.json +0 -1
  479. package/locales/receipt/da.json +0 -1
  480. package/locales/receipt/de.json +0 -1
  481. package/locales/receipt/el.json +0 -1
  482. package/locales/receipt/en.json +0 -1
  483. package/locales/receipt/es.json +0 -1
  484. package/locales/receipt/fa.json +0 -1
  485. package/locales/receipt/fi.json +0 -1
  486. package/locales/receipt/fr-CA.json +0 -1
  487. package/locales/receipt/fr.json +0 -1
  488. package/locales/receipt/ha.json +0 -1
  489. package/locales/receipt/he.json +0 -1
  490. package/locales/receipt/hi.json +0 -1
  491. package/locales/receipt/hr.json +0 -1
  492. package/locales/receipt/hu.json +0 -1
  493. package/locales/receipt/id.json +0 -1
  494. package/locales/receipt/it.json +0 -1
  495. package/locales/receipt/ja.json +0 -1
  496. package/locales/receipt/ko.json +0 -1
  497. package/locales/receipt/mr.json +0 -1
  498. package/locales/receipt/ms.json +0 -1
  499. package/locales/receipt/nl.json +0 -1
  500. package/locales/receipt/pl.json +0 -1
  501. package/locales/receipt/pt.json +0 -1
  502. package/locales/receipt/ro.json +0 -1
  503. package/locales/receipt/ru.json +0 -1
  504. package/locales/receipt/sk.json +0 -1
  505. package/locales/receipt/sv.json +0 -1
  506. package/locales/receipt/sw.json +0 -1
  507. package/locales/receipt/ta.json +0 -1
  508. package/locales/receipt/te.json +0 -1
  509. package/locales/receipt/th.json +0 -1
  510. package/locales/receipt/tl.json +0 -1
  511. package/locales/receipt/tr.json +0 -1
  512. package/locales/receipt/uk.json +0 -1
  513. package/locales/receipt/ur.json +0 -1
  514. package/locales/receipt/vi.json +0 -1
  515. package/locales/receipt/yo.json +0 -1
  516. package/locales/receipt/zh-Hans.json +0 -1
  517. package/locales/receipt/zh-Hant.json +0 -1
  518. package/locales/ro.json +10 -1
  519. package/locales/routines/am.json +1 -0
  520. package/locales/routines/ar.json +1 -0
  521. package/locales/routines/bg.json +1 -0
  522. package/locales/routines/bn.json +1 -0
  523. package/locales/routines/br.json +1 -0
  524. package/locales/routines/co.json +1 -0
  525. package/locales/routines/cs.json +1 -0
  526. package/locales/routines/da.json +1 -0
  527. package/locales/routines/de.json +1 -0
  528. package/locales/routines/el.json +1 -0
  529. package/locales/routines/en.json +1 -0
  530. package/locales/routines/es.json +1 -0
  531. package/locales/routines/fa.json +1 -0
  532. package/locales/routines/fi.json +1 -0
  533. package/locales/routines/fr-CA.json +1 -0
  534. package/locales/routines/fr.json +1 -0
  535. package/locales/routines/ha.json +1 -0
  536. package/locales/routines/he.json +1 -0
  537. package/locales/routines/hi.json +1 -0
  538. package/locales/routines/hr.json +1 -0
  539. package/locales/routines/hu.json +1 -0
  540. package/locales/routines/id.json +1 -0
  541. package/locales/routines/it.json +1 -0
  542. package/locales/routines/ja.json +1 -0
  543. package/locales/routines/ko.json +1 -0
  544. package/locales/routines/mr.json +1 -0
  545. package/locales/routines/ms.json +1 -0
  546. package/locales/routines/nl.json +1 -0
  547. package/locales/routines/pl.json +1 -0
  548. package/locales/routines/pt.json +1 -0
  549. package/locales/routines/ro.json +1 -0
  550. package/locales/routines/ru.json +1 -0
  551. package/locales/routines/sk.json +1 -0
  552. package/locales/routines/sv.json +1 -0
  553. package/locales/routines/sw.json +1 -0
  554. package/locales/routines/ta.json +1 -0
  555. package/locales/routines/te.json +1 -0
  556. package/locales/routines/th.json +1 -0
  557. package/locales/routines/tl.json +1 -0
  558. package/locales/routines/tr.json +1 -0
  559. package/locales/routines/uk.json +1 -0
  560. package/locales/routines/ur.json +1 -0
  561. package/locales/routines/vi.json +1 -0
  562. package/locales/routines/yo.json +1 -0
  563. package/locales/routines/zh-Hans.json +1 -0
  564. package/locales/routines/zh-Hant.json +1 -0
  565. package/locales/ru.json +10 -1
  566. package/locales/share/am.json +2 -1
  567. package/locales/share/ar.json +2 -1
  568. package/locales/share/bg.json +2 -1
  569. package/locales/share/bn.json +2 -1
  570. package/locales/share/br.json +2 -1
  571. package/locales/share/co.json +2 -1
  572. package/locales/share/cs.json +2 -1
  573. package/locales/share/da.json +2 -1
  574. package/locales/share/de.json +2 -1
  575. package/locales/share/el.json +2 -1
  576. package/locales/share/en.json +2 -1
  577. package/locales/share/es.json +2 -1
  578. package/locales/share/fa.json +2 -1
  579. package/locales/share/fi.json +2 -1
  580. package/locales/share/fr-CA.json +2 -1
  581. package/locales/share/fr.json +2 -1
  582. package/locales/share/ha.json +2 -1
  583. package/locales/share/he.json +2 -1
  584. package/locales/share/hi.json +2 -1
  585. package/locales/share/hr.json +2 -1
  586. package/locales/share/hu.json +2 -1
  587. package/locales/share/id.json +2 -1
  588. package/locales/share/it.json +2 -1
  589. package/locales/share/ja.json +2 -1
  590. package/locales/share/ko.json +2 -1
  591. package/locales/share/mr.json +2 -1
  592. package/locales/share/ms.json +2 -1
  593. package/locales/share/nl.json +2 -1
  594. package/locales/share/pl.json +2 -1
  595. package/locales/share/pt.json +2 -1
  596. package/locales/share/ro.json +2 -1
  597. package/locales/share/ru.json +2 -1
  598. package/locales/share/sk.json +2 -1
  599. package/locales/share/sv.json +2 -1
  600. package/locales/share/sw.json +2 -1
  601. package/locales/share/ta.json +2 -1
  602. package/locales/share/te.json +2 -1
  603. package/locales/share/th.json +2 -1
  604. package/locales/share/tl.json +2 -1
  605. package/locales/share/tr.json +2 -1
  606. package/locales/share/uk.json +2 -1
  607. package/locales/share/ur.json +2 -1
  608. package/locales/share/vi.json +2 -1
  609. package/locales/share/yo.json +2 -1
  610. package/locales/share/zh-Hans.json +2 -1
  611. package/locales/share/zh-Hant.json +2 -1
  612. package/locales/sites/am.json +48 -0
  613. package/locales/sites/ar.json +52 -0
  614. package/locales/sites/bg.json +48 -0
  615. package/locales/sites/bn.json +48 -0
  616. package/locales/sites/br.json +51 -0
  617. package/locales/sites/co.json +49 -0
  618. package/locales/sites/cs.json +50 -0
  619. package/locales/sites/da.json +48 -0
  620. package/locales/sites/de.json +48 -0
  621. package/locales/sites/el.json +48 -0
  622. package/locales/sites/en.json +48 -0
  623. package/locales/sites/es.json +49 -0
  624. package/locales/sites/fa.json +48 -0
  625. package/locales/sites/fi.json +48 -0
  626. package/locales/sites/fr-CA.json +49 -0
  627. package/locales/sites/fr.json +49 -0
  628. package/locales/sites/ha.json +48 -0
  629. package/locales/sites/he.json +49 -0
  630. package/locales/sites/hi.json +48 -0
  631. package/locales/sites/hr.json +49 -0
  632. package/locales/sites/hu.json +48 -0
  633. package/locales/sites/id.json +47 -0
  634. package/locales/sites/it.json +49 -0
  635. package/locales/sites/ja.json +47 -0
  636. package/locales/sites/ko.json +47 -0
  637. package/locales/sites/mr.json +48 -0
  638. package/locales/sites/ms.json +47 -0
  639. package/locales/sites/nl.json +48 -0
  640. package/locales/sites/pl.json +50 -0
  641. package/locales/sites/pt.json +49 -0
  642. package/locales/sites/ro.json +49 -0
  643. package/locales/sites/ru.json +50 -0
  644. package/locales/sites/sk.json +50 -0
  645. package/locales/sites/sv.json +48 -0
  646. package/locales/sites/sw.json +48 -0
  647. package/locales/sites/ta.json +48 -0
  648. package/locales/sites/te.json +48 -0
  649. package/locales/sites/th.json +47 -0
  650. package/locales/sites/tl.json +48 -0
  651. package/locales/sites/tr.json +48 -0
  652. package/locales/sites/uk.json +50 -0
  653. package/locales/sites/ur.json +48 -0
  654. package/locales/sites/vi.json +47 -0
  655. package/locales/sites/yo.json +47 -0
  656. package/locales/sites/zh-Hans.json +47 -0
  657. package/locales/sites/zh-Hant.json +47 -0
  658. package/locales/sk.json +10 -1
  659. package/locales/sv.json +10 -1
  660. package/locales/sw.json +10 -1
  661. package/locales/ta.json +10 -1
  662. package/locales/te.json +10 -1
  663. package/locales/th.json +10 -1
  664. package/locales/tl.json +10 -1
  665. package/locales/tr.json +10 -1
  666. package/locales/uk.json +10 -1
  667. package/locales/ur.json +10 -1
  668. package/locales/vi.json +10 -1
  669. package/locales/web-search/am.json +1 -1
  670. package/locales/web-search/ar.json +1 -1
  671. package/locales/web-search/bg.json +1 -1
  672. package/locales/web-search/bn.json +1 -1
  673. package/locales/web-search/br.json +1 -1
  674. package/locales/web-search/co.json +1 -1
  675. package/locales/web-search/cs.json +1 -1
  676. package/locales/web-search/da.json +1 -1
  677. package/locales/web-search/de.json +1 -1
  678. package/locales/web-search/el.json +1 -1
  679. package/locales/web-search/en.json +1 -1
  680. package/locales/web-search/es.json +1 -1
  681. package/locales/web-search/fa.json +1 -1
  682. package/locales/web-search/fi.json +1 -1
  683. package/locales/web-search/fr-CA.json +1 -1
  684. package/locales/web-search/fr.json +1 -1
  685. package/locales/web-search/ha.json +1 -1
  686. package/locales/web-search/he.json +1 -1
  687. package/locales/web-search/hi.json +1 -1
  688. package/locales/web-search/hr.json +1 -1
  689. package/locales/web-search/hu.json +1 -1
  690. package/locales/web-search/id.json +1 -1
  691. package/locales/web-search/it.json +1 -1
  692. package/locales/web-search/ja.json +1 -1
  693. package/locales/web-search/ko.json +1 -1
  694. package/locales/web-search/mr.json +1 -1
  695. package/locales/web-search/ms.json +1 -1
  696. package/locales/web-search/nl.json +1 -1
  697. package/locales/web-search/pl.json +1 -1
  698. package/locales/web-search/pt.json +1 -1
  699. package/locales/web-search/ro.json +1 -1
  700. package/locales/web-search/ru.json +1 -1
  701. package/locales/web-search/sk.json +1 -1
  702. package/locales/web-search/sv.json +1 -1
  703. package/locales/web-search/sw.json +1 -1
  704. package/locales/web-search/ta.json +1 -1
  705. package/locales/web-search/te.json +1 -1
  706. package/locales/web-search/th.json +1 -1
  707. package/locales/web-search/tl.json +1 -1
  708. package/locales/web-search/tr.json +1 -1
  709. package/locales/web-search/uk.json +1 -1
  710. package/locales/web-search/ur.json +1 -1
  711. package/locales/web-search/vi.json +1 -1
  712. package/locales/web-search/yo.json +1 -1
  713. package/locales/web-search/zh-Hans.json +1 -1
  714. package/locales/web-search/zh-Hant.json +1 -1
  715. package/locales/yo.json +10 -1
  716. package/locales/zh-Hans.json +10 -1
  717. package/locales/zh-Hant.json +10 -1
  718. package/package.json +1 -1
  719. package/ui/caps.js +3 -0
  720. package/ui/export.js +3 -3
  721. package/ui/icons.js +1 -1
  722. package/ui/looks/human.css +2 -2
  723. package/ui/markdown.js +2 -2
  724. package/ui/menu-icons.js +4 -0
  725. package/ui/seal.js +62 -2
  726. package/ui/style.css +7 -5
@@ -81,7 +81,7 @@ export async function wordLook() {
81
81
  /** A picture of the project's, as a document names one. */
82
82
  const KEPT = /!\[[^\]]*\]\((\.\.\/files\/sha256-[\da-f]{64}\.(\w+))\)/g
83
83
  /** What a Word file holds as pictures, by what its Markdown says of each: the project's it names, and what's drawn on the page, by its code. @param {string} source @param {Element} [page] */
84
- const picturesIn = async (source, page) => new Map(/** @type {[string, import('./formats.js').Picture][]} */ ((await Promise.all(/** @type {Promise<any[]>[]} */ ([
84
+ export const picturesIn = async (source, page) => new Map(/** @type {[string, import('./formats.js').Picture][]} */ ((await Promise.all(/** @type {Promise<any[]>[]} */ ([
85
85
  ...[...source.matchAll(KEPT)].map(async ([, at, kind]) => [at, await forWord(new Blob([/** @type {BlobPart} */ (await app.fs.readBytes(`${app.projectDir}/${at.slice(3)}`))], { type: `image/${kind.replace('jpg', 'jpeg')}` }))]),
86
86
  // Drawn twice as fine as they show.
87
87
  ...[...page?.querySelectorAll('.drawn-form :is(app-chart, app-score, app-slides, app-latex, app-diagram)') ?? []].map(async (one) => [one.getAttribute('source'), await forWord(await /** @type {{ picture(): Promise<Blob | string> }} */ (/** @type {unknown} */ (one)).picture(), (width, height) => [width / 2, height / 2])]),
@@ -15,6 +15,7 @@ import { icon, icons } from '../../ui/menu-icons.js'
15
15
  import { styleSheet, still } from '../../ui/sheet.js'
16
16
  import { modelWorker } from '../../ui/model.js'
17
17
  import { t, dir, locale, useStrings, intlLocales } from '../../core/i18n.js'
18
+ import { serviceURL } from '../../core/settings.js'
18
19
  import { notesOf, wholeNote } from './notes.js'
19
20
 
20
21
  /** @typedef {import('./notes.js').Note} Note */
@@ -37,6 +38,23 @@ let playing = /** @type {AppScore | null} */ (null)
37
38
  /** Where the music is made: a worker of this Jean's own, or none in a saved copy, whose files come from an address that starts none. */
38
39
  const WORKER = new URL('./sound-worker.js', import.meta.url)
39
40
  const sounds = WORKER.origin === location.origin ? modelWorker(WORKER, 'The score’s sound stopped') : null
41
+ /** Jean's own list of the instruments (D338): the sounds package's version, and each file's SHA-256, which the files that come from elsewhere are checked against. */
42
+ const OWN = new URL('../../vendor/sounds/', import.meta.url)
43
+ let version = /** @type {Promise<string> | null} */ (null)
44
+
45
+ /**
46
+ * Where the instruments come from, as Settings or policy name it, at this Jean's version of them, an address of Jean's own
47
+ * when relative (an organisation's copy beside it), with Jean's own list of them; in a saved copy, the address it was saved
48
+ * with, and the list there. None when the address is ''.
49
+ * @returns {Promise<{ base: string, index?: string }>}
50
+ */
51
+ async function instruments() {
52
+ const where = String(serviceURL('sounds', app.settings.peek(), app.policy) ?? '')
53
+ if (!where || !sounds && where.includes('{version}')) throw new Error('No address for the instruments')
54
+ if (!sounds) return { base: where }
55
+ const at = await (version ??= fetch(new URL('package.json', OWN)).then((response) => response.json()).then((found) => String(found.version)))
56
+ return { base: new URL(where.replace('{version}', at), document.baseURI).href, index: new URL('sounds.json', OWN).href }
57
+ }
40
58
 
41
59
  /**
42
60
  * One note: a triangle wave and, softer, its octave, struck and fading as a plucked string does,
@@ -179,7 +197,6 @@ class AppScore extends HTMLElement {
179
197
  this.loading = null
180
198
  this.start(sound)
181
199
  }
182
- const request = { notes: this.notes, rate: sound.sampleRate, base: (/** @type {Record<string, string>} */ (app.settings.peek().urls ?? {})).sounds }
183
200
  const made = (/** @type {Record<string, any>} */ message) => {
184
201
  if (this.parts !== parts) return
185
202
  if (message.type === 'progress') return this.loading !== null && ((this.loading = message.loaded / message.total), this.paint())
@@ -190,7 +207,10 @@ class AppScore extends HTMLElement {
190
207
  if (this.started !== null) this.schedule(parts[parts.length - 1])
191
208
  ready()
192
209
  }
193
- const making = sounds ? sounds.call(request, { onMessage: made }) : import('./sound.js').then(({ render }) => render(request, made, () => this.parts !== parts))
210
+ const making = instruments().then((where) => {
211
+ const request = { notes: this.notes, rate: sound.sampleRate, ...where }
212
+ return sounds ? sounds.call(request, { onMessage: made }) : import('./sound.js').then(({ render }) => render(request, made, () => this.parts !== parts))
213
+ })
194
214
  making.catch((error) => {
195
215
  console.warn('Score', error)
196
216
  if (this.parts !== parts || parts.length) return
@@ -1,5 +1,6 @@
1
- // A score's sound (D338): the instruments its notes ask for, from MS Basic's files in vendor/sounds/,
2
- // or where a saved copy names them, each downloaded once, checked against its SHA-256 and kept apart
1
+ // A score's sound (D338): the instruments its notes ask for, MS Basic's files from where Settings or policy
2
+ // name them (jsDelivr's copy of the sounds package unless they name another), or where a saved copy names
3
+ // them, each downloaded once, checked against its SHA-256 in Jean's own list of them and kept apart
3
4
  // from app versions where the browser keeps caches, then played by spessasynth_core a second at a
4
5
  // time, each second handed on as it is made, so that the music starts with the first. In a worker
5
6
  // (./sound-worker.js), or on the page of a saved copy, whose files come from an address that starts none.
@@ -20,15 +21,15 @@ const banks = new Map()
20
21
  const channelOf = (note) => (note.instrument === 128 ? 9 : (note.track + (note.track >= 9 ? 1 : 0)) % 16)
21
22
 
22
23
  /**
23
- * The music of `notes` at `rate`, from the instruments at `base` (this Jean's own when none): what of
24
- * them has come, then each second, handed to `post`, until it is done or `stopped()`.
25
- * @param {{ notes: Note[], rate: number, base?: string }} request
24
+ * The music of `notes` at `rate`, from the instruments at `base` as `index` lists them (the list there when
25
+ * none): what of them has come, then each second, handed to `post`, until it is done or `stopped()`.
26
+ * @param {{ notes: Note[], rate: number, base: string, index?: string }} request
26
27
  * @param {(message: Record<string, any>, transfer?: Transferable[]) => void} post @param {() => boolean} stopped
27
28
  */
28
- export async function render({ notes, rate, base }, post, stopped) {
29
+ export async function render({ notes, rate, base, index }, post, stopped) {
29
30
  const { SoundBankLoader, SpessaSynthProcessor } = await (library ??= import(new URL('../../vendor/spessasynth/spessasynth.mjs', import.meta.url).href))
30
- const sounds = new URL(base || '../../vendor/sounds/', import.meta.url)
31
- const { files, programs, drums } = /** @type {Index} */ (await (await fetch(new URL('sounds.json', sounds))).json())
31
+ const sounds = new URL(base, import.meta.url)
32
+ const { files, programs, drums } = /** @type {Index} */ (await (await fetch(index ?? new URL('sounds.json', sounds))).json())
32
33
  const wanted = [...new Set(notes.map((note) => files[note.instrument === 128 ? drums : (programs[note.instrument] ?? programs[0])]))]
33
34
  const got = wanted.map((file) => (banks.has(file.path) ? file.bytes : 0))
34
35
  const total = wanted.reduce((sum, file) => sum + file.bytes, 0)
@@ -22,7 +22,8 @@ const root = document.documentElement
22
22
  root.lang = locale.value
23
23
  root.dir = dir()
24
24
 
25
- const id = location.pathname.slice(1)
25
+ // The share's id ends the address, which may open under a path of the host's (hst.ing/s/<id>).
26
+ const id = location.pathname.split('/').pop() ?? ''
26
27
  const secret = location.hash.slice(1)
27
28
  /**
28
29
  * Where the viewer is: opening; asking for the password, after a wrong one perhaps; the share drawn,
@@ -33,6 +33,8 @@ export const DIRECTORY = Object.freeze([
33
33
  { name: 'slides', group: 'drawn', icon: 'M3.5 4.5h17M5 4.5V14a1.5 1.5 0 0 0 1.5 1.5h11A1.5 1.5 0 0 0 19 14V4.5M12 15.5V18M8.5 20.5 12 18l3.5 2.5M9 12v-1.5M12 12V8M15 12V9.5' },
34
34
  // Games (D648): the capability it brings, and its sheets beside its steps.
35
35
  { name: 'game', group: 'drawn', icon: 'M7.5 7h9a4.5 4.5 0 0 1 4.4 5.4l-1 4.4a2.3 2.3 0 0 1-4 1L14 16h-4l-1.9 1.8a2.3 2.3 0 0 1-4-1l-1-4.4A4.5 4.5 0 0 1 7.5 7zM8 10v4M6 12h4M15.5 10.5v.01M17.5 13v.01', cap: 'games', beside: ['phaser.md', 'babylon.md', 'canvas.md', 'feel.md'] },
36
+ // Sites (D720): the capability it brings, and its sheets of the kinds of site and of the look.
37
+ { name: 'site', group: 'drawn', icon: 'M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zM3 9h18M6 7h.01M8.5 7h.01M7 13h6M7 16h4', cap: 'sites', beside: ['kinds.md', 'look.md'] },
36
38
  { name: 'pptx', group: 'drawn', icon: 'M6.5 3.5h8l4 4v13h-12zM14.5 3.5v4h4M9 14a3 3 0 1 0 6 0 3 3 0 1 0-6 0M12 11v3h3' },
37
39
  // Extensions (D692): the capability whose tool it brings, `extension`, which offers one on its page in Settings.
38
40
  { name: 'extension', group: 'work', icon: 'M4 10a2.5 2.5 0 0 1 2.5-2.5h2a2.25 2.25 0 1 1 3.5 0h4.5V12a2.25 2.25 0 1 1 0 3.5v2a2.5 2.5 0 0 1-2.5 2.5h-7.5A2.5 2.5 0 0 1 4 17.5Z', cap: 'extensions' },
@@ -38,8 +38,6 @@ export const withTitle = (source, title) => withSetting(source, 'title', JSON.st
38
38
  const PICTURE = /(!\[[^\]\n]*\]\(<?)([^<>)\n]+?)(>?(?:\s+(?:"[^"\n]*"|'[^'\n]*'))?\))|^([ \t]*(?:image|background|backgroundImage)[ \t]*:[ \t]*)(.+?)([ \t]*)$/gm
39
39
  /** The deck with each picture at the place `to` gives it, else where it was. @param {string} source @param {(place: string) => string | undefined | void} to */
40
40
  export const withPictures = (source, to) => source.replace(PICTURE, (all, open, place, close, key, set, rest) => ((there) => (there ? `${open ?? key}${there}${close ?? rest}` : all))(to(place?.trim() ?? set.replace(/^(['"])(.*)\1$/, '$2'))))
41
- /** The latest of the task's pictures that goes by the name a deck gives it, as the brain writes one: its case, %20 and its extension aside. @template {{ name: string }} T @param {T[]} pictures @param {string} place */
42
- export const namedIn = (pictures, place) => ((bare) => pictures.findLast((one) => bare(one.name) === bare(place)))((/** @type {string} */ name) => name.trim().toLowerCase().replace(/%20/g, ' ').replace(/\.\w+$/, ''))
43
41
  /** A place from the deck's folder, in the project, unless it is the web's, held inside or the page's own. @param {string} place */
44
42
  export const placeIn = (place) => (/^([a-z][\w+.-]*:|\/)/i.test(place) ? undefined : new URL(place, 'file:///decks/').pathname.slice(1))
45
43
 
@@ -2,6 +2,9 @@
2
2
  the room's, Jean's version of a slide ringed in the flame, the words pointed at outlined; beside the conversation, the
3
3
  deck's Markdown under its slides, as the pane is narrow; on a card, its first slide alone. */
4
4
  app-slides { display: block; }
5
+ /* deck names its stage for its slides' transitions: named only while one pages, so that through Jean's own (the drawer's, a
6
+ first answer's) it stays in the page rather than over its top bar, and two decks on screen don't share a name, which ends them. */
7
+ :root:not([data-deck-transition]) .deck-stage { view-transition-name: none; }
5
8
  app-slides .deck { gap: 0.4rem; }
6
9
  app-slides .deck-bar { flex-wrap: wrap; gap: 0.15rem; color: var(--ink-soft); font: inherit; font-size: 0.85rem; }
7
10
  app-slides .deck-bar button { min-inline-size: 2.1rem; min-block-size: 2.1rem; border-radius: 50%; color: var(--ink-soft); }
@@ -20,14 +20,15 @@ import { icon } from '../../ui/icons.js'
20
20
  import { icons } from '../../ui/menu-icons.js'
21
21
  import { styleSheet } from '../../ui/sheet.js'
22
22
  import { reviewBar } from '../../ui/review.js'
23
- import { noteRecord, linkedFiles, filesMade, callsIn } from '../../core/events.js'
23
+ import { noteRecord } from '../../core/events.js'
24
+ import { taskFiles, fileNamed } from '../../core/files.js'
24
25
  import { t, useStrings, locale, intlLocales } from '../../core/i18n.js'
25
26
  import { languageOf } from '../../ui/language.js'
26
27
  import { kitHere, withNames, words } from './kit.js'
27
28
  import { kitSlot } from './kit-slot.js'
28
29
  import { cjk } from '../layouts/shapes.js'
29
30
  import { drawing, coloured, told, wordsBelow } from '../interactive/diagram.js'
30
- import { withLayout, withoutKit, changesOf, swapped, withPictures, namedIn, placeIn } from './edit.js'
31
+ import { withLayout, withoutKit, changesOf, swapped, withPictures, placeIn } from './edit.js'
31
32
 
32
33
  await Promise.all([useStrings('slides'), useStrings('interactive'), styleSheet(new URL('../../vendor/deck/deck.css', import.meta.url)), styleSheet(new URL('slides.css', import.meta.url))])
33
34
 
@@ -137,9 +138,9 @@ class AppSlides extends HTMLElement {
137
138
 
138
139
  /** The pictures the deck names that aren't read yet: one of the task's by the name the brain gave it, else at its place from the deck's folder; none in a task saved as a page, whose room has no files. */
139
140
  async held() {
140
- const records = app.current.peek()?.records ?? [], pictures = [...linkedFiles(records), ...filesMade(callsIn(records, app.live.peek()?.turn?.steps))].filter((one) => /^image\//.test(one.mimeType ?? '')), places = /** @type {string[]} */ ([])
141
+ const records = app.current.peek()?.records ?? [], pictures = taskFiles(records, app.live.peek()?.turn?.steps).filter((one) => /^image\//.test(one.mimeType ?? '')), places = /** @type {string[]} */ ([])
141
142
  withPictures(this.source, (place) => void (!app.fs || /^[a-z][\w+.-]*:/i.test(place) || this.urls.has(place) || (places.push(place), this.urls.set(place, ''))))
142
- await Promise.all(places.map((place) => ((uri) => uri && app.fs.readBytes(`${app.projectDir}/${uri}`).then((bytes) => bytes && this.urls.set(place, URL.createObjectURL(new Blob([/** @type {BlobPart} */ (bytes)], { type: /\.svg$/i.test(uri) ? 'image/svg+xml' : '' })))))(namedIn(pictures, place)?.uri ?? placeIn(place))))
143
+ await Promise.all(places.map((place) => ((uri) => uri && app.fs.readBytes(`${app.projectDir}/${uri}`).then((bytes) => bytes && this.urls.set(place, URL.createObjectURL(new Blob([/** @type {BlobPart} */ (bytes)], { type: /\.svg$/i.test(uri) ? 'image/svg+xml' : '' })))))(fileNamed(pictures, place)?.uri ?? placeIn(place))))
143
144
  return this.isConnected
144
145
  }
145
146
 
package/core/events.js CHANGED
@@ -26,7 +26,7 @@ export const metaRecord = (by, meta) => ({ at: new Date().toISOString(), by, met
26
26
  /**
27
27
  * @typedef {{ index: number, text: string, thought: string, tools: ToolCallInfo[], compaction?: CompactionUpdate }} Step compaction: a summary read on from (D359)
28
28
  * @typedef {{ text: string, data: SystemNoteData }} Note
29
- * @typedef {{ text: string, files: ResourceLink[], at: string, upTo: number, steer?: boolean }} UserTurn upTo: how many records lead up to its end; steer: D365
29
+ * @typedef {{ text: string, files: ResourceLink[], at: string, upTo: number, steer?: boolean, theirs?: true }} UserTurn upTo: how many records lead up to its end; steer: D365; theirs: someone else's
30
30
  * @typedef {{ user: UserTurn | null, notes: Note[], steps: Step[], plan?: PlanEntry[], at: string, end?: string }} Turn
31
31
  * notes are the system notes recorded just before this turn's user message; end is when its answer was last written.
32
32
  */
@@ -55,6 +55,7 @@ export function foldTurns(records) {
55
55
  const user = /** @type {UserTurn} */ (turn.user)
56
56
  user.upTo = index + 1
57
57
  if (update._meta?.steer) user.steer = true
58
+ if (update._meta?.theirs) user.theirs = true
58
59
  if (update.content.type === 'resource_link') user.files.push(update.content)
59
60
  else user.text += update.content.text
60
61
  } else {
@@ -70,7 +71,7 @@ export function foldTurns(records) {
70
71
  /** Every file linked from the conversation, in order. @param {Envelope[]} records @returns {ResourceLink[]} */
71
72
  export const linkedFiles = (records) => records.flatMap(({ update }) => (update?.sessionUpdate === 'user_message_chunk' && update.content.type === 'resource_link' ? [update.content] : []))
72
73
 
73
- /** A picture brains that can see take as it is: PNG, JPEG, WebP or GIF. @param {ResourceLink} link */
74
+ /** A picture brains that can see take as it is: PNG, JPEG, WebP or GIF. @param {{ mimeType?: string }} link */
74
75
  export const isPicture = (link) => /^image\/(png|jpeg|webp|gif)$/.test(link.mimeType ?? '')
75
76
 
76
77
  /** @param {Turn} turn @param {AcpUpdate} update @param {number} index */
@@ -116,8 +117,8 @@ export function splitSuggestions(text) {
116
117
  /** Latest title from meta records. @param {Envelope[]} records @returns {string} */
117
118
  export const titleOf = (records) => records.findLast((record) => record.meta?.title)?.meta?.title ?? ''
118
119
 
119
- /** The words of each request, in order. @param {Envelope[]} records @returns {string[]} */
120
- export const requestsOf = (records) => records.flatMap(({ update }) => (update?.sessionUpdate === 'user_message_chunk' && update.content.type === 'text' && update.content.text ? [update.content.text] : []))
120
+ /** The words of each request, in order, but someone else's. @param {Envelope[]} records @returns {string[]} */
121
+ export const requestsOf = (records) => records.flatMap(({ update }) => (update?.sessionUpdate === 'user_message_chunk' && update.content.type === 'text' && update.content.text && !update._meta?.theirs ? [update.content.text] : []))
121
122
 
122
123
  /** The words of the request that opened the conversation. @param {Envelope[]} records */
123
124
  export const openingOf = (records) => requestsOf(records)[0] ?? ''
package/core/files.js CHANGED
@@ -2,14 +2,38 @@
2
2
  // with a [[page N]] line before each page) and .meta.json. Named by content, so the
3
3
  // same file dropped twice is stored once. Conversations link to files, never copy them.
4
4
  import { encoder, join, readJSON, walk, writeJSON } from './fs.js'
5
- import { isPicture } from './events.js'
5
+ import { isPicture, filesMade } from './events.js'
6
6
  import { lexicon, lookup } from './search.js'
7
7
 
8
- /** @import { FS, Envelope, ResourceLink, DocumentPart } from './types.js' */
8
+ /** @import { FS, Envelope, ResourceLink, DocumentPart, ToolCallInfo } from './types.js' */
9
9
  /** @typedef {{ format: 1, kind: 'file', name: string, mimeType: string, size: number, hash: string, pages: number, createdAt: string, author: string, pinned?: boolean }} FileMeta */
10
10
 
11
11
  const MARKER = /^\[\[page (\d+)\]\]$/m
12
12
 
13
+ /**
14
+ * Every file of a conversation as it came, each the user shared and each its calls made, then those of the answer being written:
15
+ * what a brain can put in what it makes. @param {Envelope[]} records @param {{ tools: ToolCallInfo[] }[]} [steps]
16
+ * @returns {{ uri: string, name: string, mimeType?: string }[]}
17
+ */
18
+ export const taskFiles = (records, steps = []) => [...records.flatMap(({ update }) => /** @type {{ uri: string, name: string, mimeType?: string }[]} */ (update?.sessionUpdate === 'user_message_chunk'
19
+ && update.content.type === 'resource_link' && update.content.uri ? [update.content] : update?.sessionUpdate === 'tool_call' ? filesMade([update]) : [])), ...filesMade(steps.flatMap((step) => step.tools))]
20
+
21
+ /**
22
+ * The file of a conversation a brain names: by its place, else the latest of that name as a brain writes one, its case, %20, a
23
+ * folder before it and its extension aside. @template {{ uri: string, name: string }} T @param {T[]} files @param {string} said
24
+ * @returns {T | undefined}
25
+ */
26
+ export const fileNamed = (files, said) => ((bare, place = String(said ?? '').trim().replace(/^(\.\.?\/)+/, '')) => files.findLast((one) => one.uri === place)
27
+ ?? files.findLast((one) => bare(one.name) === bare(place)))((/** @type {string} */ name) => name.normalize().toLowerCase().replace(/%20/g, ' ').replace(/^.*\//, '').replace(/\.\w+$/, ''))
28
+
29
+ /**
30
+ * Markdown with each picture that names a file of the task as a brain writes one, `![words](name.png)`, at that file's place from a
31
+ * folder of the project, `../files/sha256-…`, where documents and Word files take it. @param {string} markdown
32
+ * @param {{ uri: string, name: string }[]} files
33
+ */
34
+ export const picturesPlaced = (markdown, files) => markdown.replace(/(!\[[^\]\n]*\]\()(<[^>\n]+>|[^\s)]+)/g, (all, open, said) => ((one) => (one ? `${open}../${one.uri}` : all))(
35
+ /^<?([a-z][\w+.-]*:|\.\.\/files\/)/i.test(said) ? undefined : fileNamed(files, said.replace(/^<|>$/g, ''))))
36
+
13
37
  /** @param {Uint8Array} bytes */
14
38
  export async function sha256Hex(bytes) {
15
39
  const digest = await crypto.subtle.digest('SHA-256', /** @type {BufferSource} */ (bytes))
package/core/fs.js CHANGED
@@ -8,44 +8,30 @@ export function normalizeDir(path) {
8
8
  if (typeof path !== 'string') throw new TypeError(`Path must be a string, got ${typeof path}`)
9
9
  if (path.startsWith('/') || path.includes('\\')) throw new TypeError(`Invalid path: ${path}`)
10
10
  const trimmed = path.endsWith('/') ? path.slice(0, -1) : path
11
- if (trimmed === '') return ''
12
- for (const segment of trimmed.split('/')) {
13
- if (segment === '' || segment === '.' || segment === '..') throw new TypeError(`Invalid path: ${path}`)
14
- }
11
+ if (trimmed && trimmed.split('/').some((segment) => segment === '' || segment === '.' || segment === '..')) throw new TypeError(`Invalid path: ${path}`)
15
12
  return trimmed
16
13
  }
17
14
 
18
15
  /** @param {string} path relative POSIX path, e.g. "projects/x/project.md" @returns {string} */
19
- export function normalizePath(path) {
20
- const normalized = normalizeDir(path)
21
- if (normalized === '') throw new TypeError('Empty path')
22
- return normalized
23
- }
16
+ export const normalizePath = (path) => normalizeDir(path) || (() => { throw new TypeError('Empty path') })()
24
17
 
25
18
  /** Empty parts are ignored; joining nothing gives '' (the root). @param {...string} parts */
26
19
  export const join = (...parts) => parts.map(normalizeDir).filter(Boolean).join('/')
27
20
 
28
21
  /** @param {string} path @returns {string} '' for top-level entries */
29
- export function dirname(path) {
30
- const normalized = normalizePath(path)
31
- const slash = normalized.lastIndexOf('/')
32
- return slash < 0 ? '' : normalized.slice(0, slash)
33
- }
22
+ export const dirname = (path) => ((normalized) => normalized.slice(0, Math.max(normalized.lastIndexOf('/'), 0)))(normalizePath(path))
34
23
 
35
- /** @param {string} path */
36
- export function basename(path) {
37
- const normalized = normalizePath(path)
38
- return normalized.slice(normalized.lastIndexOf('/') + 1)
39
- }
24
+ /** @param {string} path @returns {string} */
25
+ export const basename = (path) => ((normalized) => normalized.slice(normalized.lastIndexOf('/') + 1))(normalizePath(path))
40
26
 
41
27
  /** Entries in the order of their names' code units, as every FS lists them. @param {DirEntry} a @param {DirEntry} b */
42
28
  export const byName = (a, b) => (a.name < b.name ? -1 : a.name > b.name ? 1 : 0)
43
29
 
44
- /** @param {unknown} text */
45
- function assertText(text) { if (typeof text !== 'string') throw new TypeError(`File content must be a string, got ${typeof text}`) }
30
+ /** File content as text, or a TypeError. @param {unknown} text @returns {string} */
31
+ export function assertText(text) { if (typeof text !== 'string') throw new TypeError(`File content must be a string, got ${typeof text}`); return text }
46
32
 
47
- /** @param {unknown} bytes */
48
- function assertBytes(bytes) { if (!(bytes instanceof Uint8Array)) throw new TypeError('File content must be a Uint8Array') }
33
+ /** File content as bytes, or a TypeError. @param {unknown} bytes @returns {Uint8Array} */
34
+ export function assertBytes(bytes) { if (!(bytes instanceof Uint8Array)) throw new TypeError('File content must be a Uint8Array'); return bytes }
49
35
 
50
36
  export const encoder = new TextEncoder()
51
37
  const decoder = new TextDecoder()
@@ -64,22 +50,13 @@ export function memoryFS(initial = {}) {
64
50
  const changed = new Map()
65
51
  let clock = 0
66
52
  /** @param {string} key @param {string | Uint8Array} value */
67
- const put = (key, value) => {
68
- files.set(key, value)
69
- changed.set(key, (clock = Math.max(clock + 1, Date.now())))
70
- }
53
+ const put = (key, value) => { files.set(key, value); changed.set(key, (clock = Math.max(clock + 1, Date.now()))) }
71
54
  /** @param {string} key */
72
- const text = (key) => {
73
- const value = files.get(key)
74
- return value === undefined ? null : typeof value === 'string' ? value : decoder.decode(value)
75
- }
55
+ const text = (key) => ((value) => (value === undefined ? null : typeof value === 'string' ? value : decoder.decode(value)))(files.get(key))
76
56
  for (const [path, value] of Object.entries(initial)) put(normalizePath(path), value)
77
57
 
78
58
  /** @param {string} path */
79
- const isDir = (path) => {
80
- for (const key of files.keys()) if (key.startsWith(path + '/')) return true
81
- return false
82
- }
59
+ const isDir = (path) => [...files.keys()].some((key) => key.startsWith(path + '/'))
83
60
 
84
61
  /** A path a file can be written at, normalized: not a directory, and under none of the files. @param {string} path */
85
62
  const writable = (path) => {
@@ -90,26 +67,11 @@ export function memoryFS(initial = {}) {
90
67
  }
91
68
 
92
69
  return {
93
- async read(path) {
94
- return text(normalizePath(path))
95
- },
96
- async readBytes(path) {
97
- const value = files.get(normalizePath(path))
98
- return value === undefined ? null : typeof value === 'string' ? encoder.encode(value) : value.slice()
99
- },
100
- async write(path, value) {
101
- assertText(value)
102
- put(writable(path), value)
103
- },
104
- async writeBytes(path, bytes) {
105
- assertBytes(bytes)
106
- put(writable(path), bytes.slice())
107
- },
108
- async append(path, value) {
109
- assertText(value)
110
- const key = writable(path)
111
- put(key, (text(key) ?? '') + value)
112
- },
70
+ read: async (path) => text(normalizePath(path)),
71
+ readBytes: async (path) => ((value) => (value === undefined ? null : typeof value === 'string' ? encoder.encode(value) : value.slice()))(files.get(normalizePath(path))),
72
+ write: async (path, value) => put(writable(path), assertText(value)),
73
+ writeBytes: async (path, bytes) => put(writable(path), assertBytes(bytes).slice()),
74
+ append: async (path, value) => ((key) => put(key, (text(key) ?? '') + assertText(value)))(writable(path)),
113
75
  async list(dir) {
114
76
  const normalized = normalizeDir(dir)
115
77
  const prefix = normalized ? normalized + '/' : ''
@@ -122,27 +84,11 @@ export function memoryFS(initial = {}) {
122
84
  }
123
85
  return [...children].map(([name, kind]) => ({ name, kind })).sort(byName)
124
86
  },
125
- async remove(path) {
126
- const key = normalizePath(path)
127
- for (const file of [...files.keys()]) {
128
- if (file === key || file.startsWith(key + '/')) files.delete(file)
129
- }
130
- },
131
- async exists(path) {
132
- const key = normalizePath(path)
133
- return files.has(key) || isDir(key)
134
- },
135
- async stat(path) {
136
- const key = normalizePath(path)
137
- const value = files.get(key)
138
- return value === undefined ? null : { size: typeof value === 'string' ? encoder.encode(value).length : value.length, lastModified: changed.get(key) ?? 0 }
139
- },
87
+ remove: async (path) => { const key = normalizePath(path); for (const file of [...files.keys()]) if (file === key || file.startsWith(key + '/')) files.delete(file) },
88
+ exists: async (path) => ((key) => files.has(key) || isDir(key))(normalizePath(path)),
89
+ stat: async (path) => ((key, value) => (value === undefined ? null : { size: typeof value === 'string' ? encoder.encode(value).length : value.length, lastModified: changed.get(key) ?? 0 }))(normalizePath(path), files.get(normalizePath(path))),
140
90
  watch: () => () => {},
141
- async estimate() {
142
- let usage = 0
143
- for (const value of files.values()) usage += value.length
144
- return { usage }
145
- },
91
+ estimate: async () => ({ usage: [...files.values()].reduce((usage, value) => usage + value.length, 0) }),
146
92
  }
147
93
  }
148
94
 
package/core/i18n.js CHANGED
@@ -78,18 +78,35 @@ const format = (value, lang) => (typeof value === 'number' ? new Intl.NumberForm
78
78
  /** @param {string} [lang] @returns {'rtl' | 'ltr'} */
79
79
  export const dir = (lang = locale.value) => (RTL.has(lang.split('-')[0].toLowerCase()) ? 'rtl' : 'ltr')
80
80
 
81
+ /** Each language's names of languages, made once: a menu of them names each language in each. @type {Map<string, Intl.DisplayNames>} */
82
+ const names = new Map()
83
+ const namesIn = (/** @type {string} */ lang) => names.get(lang) ?? names.set(lang, new Intl.DisplayNames(intlLocales(lang), { type: 'language' })).get(lang)
84
+
81
85
  /** Name of a language, written in `inLang` (defaults to itself). */
82
86
  export function languageName(/** @type {string} */ code, inLang = code) {
83
87
  try {
84
- const name = (code === inLang && SPARSE[code]?.name) || (new Intl.DisplayNames(intlLocales(inLang), { type: 'language' }).of(code) ?? code)
88
+ const name = (code === inLang && SPARSE[code]?.name) || (namesIn(inLang)?.of(code) ?? code)
85
89
  return name.charAt(0).toLocaleUpperCase(inLang) + name.slice(1)
86
90
  } catch {
87
91
  return code
88
92
  }
89
93
  }
90
94
 
91
- /** Available locales that match the user's preferences, in their order, without repeats. @param {string[]} available @param {readonly string[]} preferred e.g. navigator.languages */
95
+ /**
96
+ * Available locales that match the user's preferences, in their order, without repeats: the same tag, else the same language
97
+ * and likely script, so zh-TW meets zh-Hant and pt-BR meets pt, and the "fil" browsers say meets the "tl" Filipino is written
98
+ * in. Nothing outside it, since the site's pages run it as written (site/site.js).
99
+ * @param {string[]} available @param {readonly string[]} preferred e.g. navigator.languages
100
+ */
92
101
  export function preferredLocales(available, preferred) {
102
+ const languageAndScript = (/** @type {string} */ code) => {
103
+ try {
104
+ const { language, script } = new Intl.Locale(code).maximize()
105
+ return `${language === 'fil' ? 'tl' : language}-${script}`
106
+ } catch {
107
+ return null
108
+ }
109
+ }
93
110
  /** @type {string[]} */
94
111
  const found = []
95
112
  for (const wanted of preferred) {
@@ -103,20 +120,6 @@ export function preferredLocales(available, preferred) {
103
120
  /** Best available locale for the user's preferences. @param {string[]} available @param {readonly string[]} preferred e.g. navigator.languages */
104
121
  export const pickLocale = (available, preferred) => preferredLocales(available, preferred)[0] ?? (available.includes('en') ? 'en' : available[0])
105
122
 
106
- // Browsers say "fil" for the Filipino that the "tl" catalogue is written in.
107
- /** @type {Record<string, string>} */
108
- const SAME_LANGUAGE = { fil: 'tl' }
109
-
110
- /** Language and likely script, so zh-TW meets zh-Hant and pt-BR meets pt. @param {string} code */
111
- function languageAndScript(code) {
112
- try {
113
- const { language, script } = new Intl.Locale(code).maximize()
114
- return `${SAME_LANGUAGE[language] ?? language}-${script}`
115
- } catch {
116
- return null
117
- }
118
- }
119
-
120
123
  /** "14 MB", or "30 bytes" in words, in the current locale. @param {number} bytes */
121
124
  export function formatBytes(bytes) {
122
125
  const [unit, size] = bytes >= 1e9 ? ['gigabyte', bytes / 1e9] : bytes >= 1e6 ? ['megabyte', bytes / 1e6] : bytes >= 1e3 ? ['kilobyte', bytes / 1e3] : ['byte', bytes]
package/core/llm.js CHANGED
@@ -109,7 +109,8 @@ export function headersFor(brain, apiKey) {
109
109
  } else if (apiKey) {
110
110
  headers.authorization = `Bearer ${apiKey}`
111
111
  }
112
- for (const [name, value] of Object.entries(brain.headers ?? {})) headers[name.toLowerCase()] = value
112
+ // Never in place of the key held, which a header another device set (D700) would swap for an account of its own.
113
+ for (const [name, value] of Object.entries(brain.headers ?? {})) if (!(apiKey && /^(authorization|x-api-key|proxy-authorization)$/i.test(name))) headers[name.toLowerCase()] = value
113
114
  return headers
114
115
  }
115
116
 
package/core/loop.js CHANGED
@@ -311,6 +311,7 @@ function stepRecords(step, brainEntry, thought, text) {
311
311
  */
312
312
  async function runTool(call, tool, step, ctx, parent, waiting) {
313
313
  const { rule, askPermission, onUpdate, signal } = ctx
314
+ if (tool) call = { ...call, args: typed(tool, call.args) }
314
315
  // Stopped: nothing more runs, and nothing more is asked.
315
316
  if (signal?.aborted) throw new LLMError('Request aborted', { code: 'aborted' })
316
317
  /** @type {ToolCallInfo} */
@@ -426,6 +427,13 @@ const under = (update, parent) => ({ ...update, toolCallId: `${parent}/${update.
426
427
  /** The arguments a tool requires that a call leaves out. @param {Tool} tool @param {any} args @returns {string[]} */
427
428
  const lacking = ({ spec }, args) => (/** @type {{ required?: string[] }} */ (spec.parameters).required ?? []).filter((/** @type {string} */ name) => args?.[name] == null)
428
429
 
430
+ /**
431
+ * A call's arguments with each list or object its tool asks for that a brain sent as JSON text read as such, as some send a
432
+ * tool of another's (Claude Code's own tools): never a list left out unseen. @param {Tool} tool @param {any} args
433
+ */
434
+ const typed = ({ spec }, args) => (args && typeof args === 'object' && !Array.isArray(args) ? Object.fromEntries(Object.entries(args).map(([name, value]) => [name,
435
+ typeof value === 'string' && /^(array|object)$/.test(/** @type {any} */ (spec.parameters).properties?.[name]?.type) ? safe(() => ((read) => (typeof read === 'object' && read ? read : value))(JSON.parse(value)), value) : value])) : args)
436
+
429
437
  /** @template T @param {() => T} fn @param {T} fallback */
430
438
  function safe(fn, fallback) {
431
439
  try { return fn() } catch { return fallback }
package/core/settings.js CHANGED
@@ -29,6 +29,8 @@ export const DEFAULT_URLS = Object.freeze({
29
29
  timestamp: 'https://timestamp.sigstore.dev/api/v1/timestamp', transparencyLog: 'https://rekor.sigstore.dev',
30
30
  // The renderer a deck file links to (D595): deck's own, at its version, on jsDelivr's npm mirror.
31
31
  deck: 'https://cdn.jsdelivr.net/npm/@codename/deck@{version}/dist/deck.js',
32
+ // The instruments a score plays (D338): the sounds package on jsDelivr, at this Jean's version of it, none when ''.
33
+ sounds: 'https://cdn.jsdelivr.net/npm/@jean-is/sounds@{version}/',
32
34
  })
33
35
 
34
36
  /** @param {keyof typeof DEFAULT_URLS} name @param {Settings} settings @param {{ urls?: Record<string, string> }} [policy] */
package/locales/am.json CHANGED
@@ -9,6 +9,8 @@
9
9
  "welcome.install": "የሚጫን ነገር የለም",
10
10
  "welcome.device": "በዚህ መሣሪያ ላይ ይቀመጣል",
11
11
  "welcome.open": "ነፃ እና ክፍት ምንጭ",
12
+ "welcome.join": "{name}ን በሌላ መሣሪያ ላይ ቀድሞውኑ ይጠቀማሉ? {link}",
13
+ "welcome.bring": "እዚህ ያምጡት",
12
14
  "starter.sample": "የተመን ሉህ ይሞክሩ",
13
15
  "starter.sample.prompt": "በዓመቱ ውስጥ በጣም ያደገው የትኛው ምርት ነው? በሠንጠረዥ ያሳዩኝ።",
14
16
  "starter.music": "ዜማ መድረስ",
@@ -135,6 +137,7 @@
135
137
  "provider.fireworks": "Fireworks AI",
136
138
  "provider.xai": "xAI",
137
139
  "settings.title": "ቅንብሮች",
140
+ "settings.computer": "ኮምፒውተር",
138
141
  "settings.language": "ቋንቋ",
139
142
  "collection.title": "{name}፦ ችሎታዎች",
140
143
  "learn.home": "መነሻ ገጽ",
@@ -294,9 +297,13 @@
294
297
  "cap.backup.offer": "ተግባራትዎ የሚገኙት በዚህ አሳሽ ውስጥ ብቻ ነው። የሁሉም ነገር ቅጂ ይቀመጥ?",
295
298
  "cap.backup.yes": "ምትኬ ያውርዱ",
296
299
  "cap.share.name": "ማጋራት",
297
- "cap.sync.name": "ማመሳሰል",
300
+ "cap.sync.name": "የተመሳሰለ አቃፊ",
298
301
  "cap.sync.offer": "ተግባራትዎ፣ ፋይሎችዎና ትውስታ በሌሎች ኮምፒውተሮችዎም ላይ አንድ ዓይነት ይሁኑ? የደመና ማከማቻዎ የሚያመሳስለውን አቃፊ ይመርጣሉ።",
299
302
  "cap.sync.yes": "አቃፊ ይምረጡ",
303
+ "cap.devices.name": "መሣሪያዎችዎ",
304
+ "cap.devices.offer": "አንጎሎችዎ፣ ቅንብሮችዎና ፕሮጀክቶችዎ በስልክዎ ወይም በሌላ ኮምፒውተርም ላይ እንዲኖሩ ይፈልጋሉ? በQR ኮድና በስድስት አሃዞች ያክሉታል።",
305
+ "cap.people.name": "ሰዎች",
306
+ "cap.people.offer": "ይህን {name}ንም ለሚጠቀም ሰው መላክና መልሱን ማግኘት ይፈልጋሉ?",
300
307
  "cap.lock.name": "መቆለፊያ",
301
308
  "cap.lock.offer": "በዚህ መሣሪያ ላይ እርስዎ ብቻ እንዲከፍቷቸው ተግባራትዎን፣ ፋይሎችዎን እና ቁልፎችዎን ይቆልፉ?",
302
309
  "cap.lock.yes": "መቆለፊያ ያዘጋጁ",
@@ -428,6 +435,8 @@
428
435
  "check.fix.prompt": "ምንጮቹ እነዚህን ነጥቦች አይደግፉም። እንደገና ተረጋግጠው መልሱ ይስተካከል፦",
429
436
  "since.prompt": "ካለፈው ጊዜ ወዲህ ምን አዲስ ነገር አለ?",
430
437
  "since.closed": "ይህ ትር ሲዘጋ ሥራ ይቆማል፤ ስለዚህ ይህ አሁን ገና ተነበበ።",
438
+ "shared.came": "ከእርስዎ ጋር የተጋራ",
439
+ "shared.from": "ከ{name}",
431
440
  "cap.machine.name": "ይህ ኮምፒውተር",
432
441
  "cap.machine.offer": "የአንድ ድር ጣቢያ የልማት ሰርቨርን ወይም የራስዎን ፕሮግራሞች በዚህ ኮምፒውተር ላይ ያስኪዱ?",
433
442
  "cap.machine.yes": "ይህን ኮምፒውተር ይጠቀሙ",
@@ -22,7 +22,7 @@
22
22
  "approvals.covers.edit": "Écrire un nouveau fichier, ou en modifier un que {name} a créé ou que vous avez donné",
23
23
  "approvals.covers.search": "Chercher quelque chose, sur le web ou dans vos fichiers",
24
24
  "approvals.covers.execute": "Calculer quelque chose exactement, avec quelques lignes de code",
25
- "approvals.covers.fetch": "Ouvrir une page web, ou joindre un site",
25
+ "approvals.covers.fetch": "Ouvrir une page web ou accéder à un site",
26
26
  "approvals.covers.move": "Mettre un fichier ailleurs, ou lui donner un autre nom",
27
27
  "approvals.covers.delete": "Supprimer un fichier",
28
28
  "approvals.covers.other": "Envoyer un message, partager quelque chose, et tout ce qui passe par vos services",
@@ -43,14 +43,14 @@
43
43
  "approvals.ifText": "{name} se pose la question avant chaque action. Dans le doute, la réponse compte comme oui.",
44
44
  "approvals.films": "Vidéos",
45
45
  "approvals.what.folder": "{name} y modifie les fichiers sans demander",
46
- "approvals.what.site": "L’ordinateur peut le joindre",
46
+ "approvals.what.site": "L’ordinateur peut y accéder",
47
47
  "approvals.what.films": "Faites sans demander, bien qu’elles coûtent plus que des images",
48
48
  "approvals.what.meeting": "Les assistants de ces projets peuvent se réunir sans demander",
49
49
  "approvals.what.extension": "Peut laisser des actions se faire sans vous demander",
50
50
  "approvals.stop": "Arrêter",
51
51
  "approvals.kept": "C’est noté. Vous pourrez revenir dessus dans Autorisations.",
52
52
  "approvals.pagesIn": "Rien depuis internet",
53
- "approvals.pagesOut": "Elles peuvent joindre internet",
53
+ "approvals.pagesOut": "Elles peuvent accéder à internet",
54
54
  "approvals.inPage": "Dans la page",
55
55
  "approvals.fromInternet": "Depuis internet",
56
56
  "approvals.what.reads": "{name} y lit sans demander",
@@ -22,7 +22,7 @@
22
22
  "approvals.covers.edit": "Écrire un nouveau fichier, ou en modifier un que {name} a créé ou que vous avez donné",
23
23
  "approvals.covers.search": "Chercher quelque chose, sur le web ou dans vos fichiers",
24
24
  "approvals.covers.execute": "Calculer quelque chose exactement, avec quelques lignes de code",
25
- "approvals.covers.fetch": "Ouvrir une page web, ou joindre un site",
25
+ "approvals.covers.fetch": "Ouvrir une page web ou accéder à un site",
26
26
  "approvals.covers.move": "Mettre un fichier ailleurs, ou lui donner un autre nom",
27
27
  "approvals.covers.delete": "Supprimer un fichier",
28
28
  "approvals.covers.other": "Envoyer un message, partager quelque chose, et tout ce qui passe par vos services",
@@ -43,14 +43,14 @@
43
43
  "approvals.ifText": "{name} se pose la question avant chaque action. Dans le doute, la réponse compte comme oui.",
44
44
  "approvals.films": "Vidéos",
45
45
  "approvals.what.folder": "{name} y modifie les fichiers sans demander",
46
- "approvals.what.site": "L’ordinateur peut le joindre",
46
+ "approvals.what.site": "L’ordinateur peut y accéder",
47
47
  "approvals.what.films": "Faites sans demander, bien qu’elles coûtent plus que des images",
48
48
  "approvals.what.meeting": "Les assistants de ces projets peuvent se réunir sans demander",
49
49
  "approvals.what.extension": "Peut laisser des actions se faire sans vous demander",
50
50
  "approvals.stop": "Arrêter",
51
51
  "approvals.kept": "C’est noté. Vous pourrez revenir dessus dans Autorisations.",
52
52
  "approvals.pagesIn": "Rien depuis internet",
53
- "approvals.pagesOut": "Elles peuvent joindre internet",
53
+ "approvals.pagesOut": "Elles peuvent accéder à internet",
54
54
  "approvals.inPage": "Dans la page",
55
55
  "approvals.fromInternet": "Depuis internet",
56
56
  "approvals.what.reads": "{name} y lit sans demander",