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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/api/artifact/route.js +9 -9
- package/.next/server/app/api/artifact/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/files/route.js +3 -3
- package/.next/server/app/api/bot/memory/files/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/memory/route.js +8 -8
- package/.next/server/app/api/bot/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/route.js +8 -8
- package/.next/server/app/api/bot/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/thread/[id]/route.js +3 -3
- package/.next/server/app/api/bot/thread/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/bot/thread/route.js +3 -3
- package/.next/server/app/api/bot/thread/route.js.nft.json +1 -1
- package/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/server/app/api/events/route.js.nft.json +1 -1
- package/.next/server/app/api/favicon/[host]/route.js.nft.json +1 -1
- package/.next/server/app/api/file/[...path]/route.js +4 -4
- package/.next/server/app/api/file/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/catalog/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/credits/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/route.js.nft.json +1 -1
- package/.next/server/app/api/llm-model/subscription/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/oauth/callback/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/tools/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/edit/route.js +11 -11
- package/.next/server/app/api/memory/edit/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/reach/route.js +11 -11
- package/.next/server/app/api/reach/route.js.nft.json +1 -1
- package/.next/server/app/api/routine/route.js +7 -7
- package/.next/server/app/api/routine/route.js.nft.json +1 -1
- package/.next/server/app/api/signins/route.js +5 -5
- package/.next/server/app/api/signins/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/[source]/[name]/route.js +7 -7
- package/.next/server/app/api/skills/[source]/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/skills/route.js +7 -7
- package/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/call/route.js +5 -5
- package/.next/server/app/api/thursday/call/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/settings/route.js +5 -5
- package/.next/server/app/api/thursday/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/text/route.js +13 -13
- package/.next/server/app/api/thursday/text/route.js.nft.json +1 -1
- package/.next/server/app/api/thursday/tool-call/route.js +12 -12
- package/.next/server/app/api/thursday/tool-call/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/files/route.js +8 -8
- package/.next/server/app/api/workspace/files/route.js.nft.json +1 -1
- package/.next/server/app/api/workspace/route.js +9 -9
- package/.next/server/app/api/workspace/route.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +3 -3
- package/.next/server/app/artifact/[...path]/page.js +4 -4
- package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next/server/app/page/server-reference-manifest.json +60 -60
- package/.next/server/app/page.js +5 -5
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__00qyw01._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__01ypm_z._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__021dkui._.js +3 -0
- package/.next/server/chunks/{[root-of-the-server]__18e65_-._.js → [root-of-the-server]__03xamry._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__05dp5tr._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__09gdscj._.js +7 -0
- package/.next/server/chunks/{[root-of-the-server]__10_7vqz._.js → [root-of-the-server]__0b36yfw._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1gamvcz._.js → [root-of-the-server]__0jzwdg-._.js} +2 -2
- package/.next/server/chunks/[root-of-the-server]__0mrk2it._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__0nmust6._.js +5 -0
- package/.next/server/chunks/[root-of-the-server]__0svzjwa._.js +7 -0
- package/.next/server/chunks/{[root-of-the-server]__16yw3mb._.js → [root-of-the-server]__12m24xl._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1zrwxis._.js → [root-of-the-server]__12tahb4._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1ep-pao._.js → [root-of-the-server]__1_h4hf9._.js} +4 -4
- package/.next/server/chunks/{[root-of-the-server]__1-tdj60._.js → [root-of-the-server]__1de1o6m._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__1voqqyc._.js → [root-of-the-server]__1ignh6-._.js} +1 -1
- package/.next/server/chunks/[root-of-the-server]__1t02-1p._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__1ygplx1._.js +1 -1
- package/.next/server/chunks/{[root-of-the-server]__11g20j-._.js → [root-of-the-server]__1yl5l25._.js} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1mbd2w_._.js → [root-of-the-server]__208vmyf._.js} +1 -1
- package/.next/server/chunks/{_1mfu9a3._.js → _02lipqs._.js} +1 -1
- package/.next/server/chunks/_05sa7xl._.js +1 -1
- package/.next/server/chunks/{_1rg5bfd._.js → _074f2ts._.js} +1 -1
- package/.next/server/chunks/_07nxi75._.js +37 -37
- package/.next/server/chunks/_08354bn._.js +12 -12
- package/.next/server/chunks/_08btiir._.js +7 -0
- package/.next/server/chunks/_0caua_s._.js +1 -1
- package/.next/server/chunks/{_0qoush_._.js → _0gt6cbj._.js} +1 -1
- package/.next/server/chunks/_0xygcxs._.js +37 -37
- package/.next/server/chunks/{_09c4we8._.js → _17i1lt2._.js} +1 -1
- package/.next/server/chunks/_19kea1l._.js +9 -9
- package/.next/server/chunks/_1gn2r2q._.js +3 -3
- package/.next/server/chunks/{_03niwml._.js → _1ntwp1s._.js} +1 -1
- package/.next/server/chunks/_1q6e56i._.js +3 -3
- package/.next/server/chunks/{_02fn1o3._.js → _1tkzgtm._.js} +1 -1
- package/.next/server/chunks/_1wl2g8_._.js +2 -2
- package/.next/server/chunks/{_1w6uf9k._.js → _1y3mnz4._.js} +1 -1
- package/.next/server/chunks/features_workspace_workspace_ts_13h82gv._.js +4 -4
- package/.next/server/chunks/features_workspace_workspace_ts_1iyjroj._.js +4 -4
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0cux6zt._.js → node_modules_consola_dist_chunks_prompt_mjs_04oxl25._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_0w32bqh._.js → node_modules_consola_dist_chunks_prompt_mjs_0g87zst._.js} +1 -1
- package/.next/server/chunks/{node_modules_consola_dist_chunks_prompt_mjs_1clmnaj._.js → node_modules_consola_dist_chunks_prompt_mjs_1341cnf._.js} +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__02jdtqa._.js → [root-of-the-server]__07660xu._.js} +3 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__07iyl1_._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__0rnjkw2._.js → [root-of-the-server]__0g__u45._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__17h1ggo._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1jyeu61._.js +1 -1
- package/.next/server/chunks/ssr/_0-i6wdi._.js +3 -0
- package/.next/server/chunks/ssr/{_1k0efi3._.js → _00g5sq-._.js} +2 -2
- package/.next/server/chunks/ssr/{_0ncuqct._.js → _03akcjz._.js} +2 -2
- package/.next/server/chunks/ssr/{_0l1-xc6._.js → _06xy39t._.js} +2 -2
- package/.next/server/chunks/ssr/_088vzgn._.js +3 -0
- package/.next/server/chunks/ssr/_0fo4552._.js +7 -7
- package/.next/server/chunks/ssr/_0r0g9ki._.js +1 -1
- package/.next/server/chunks/ssr/{_1dqaksc._.js → _0sefgiu._.js} +2 -2
- package/.next/server/chunks/ssr/_0v9r8g2._.js +3 -0
- package/.next/server/chunks/ssr/_0x8ophf._.js +1 -1
- package/.next/server/chunks/ssr/{_0w8r7o7._.js → _1-41lck._.js} +2 -2
- package/.next/server/chunks/ssr/{_11pnnvd._.js → _113ukfo._.js} +3 -3
- package/.next/server/chunks/ssr/_12p8f9_._.js +3 -0
- package/.next/server/chunks/ssr/{_10fwcz_._.js → _14dfh7a._.js} +2 -2
- package/.next/server/chunks/ssr/{_1f6s34p._.js → _1_gwau0._.js} +2 -2
- package/.next/server/chunks/ssr/{_0wupyvd._.js → _1hn3szq._.js} +2 -2
- package/.next/server/chunks/ssr/_1neoj22._.js +1 -1
- package/.next/server/chunks/ssr/{_17ble8k._.js → _1o7a11b._.js} +3 -3
- package/.next/server/chunks/ssr/{_0y28gl3._.js → _1swhm5m._.js} +3 -3
- package/.next/server/chunks/ssr/_1uij_rj._.js +1 -1
- package/.next/server/chunks/ssr/_1umbr78._.js +1 -1
- package/.next/server/chunks/ssr/_1w9w1ok._.js +1 -1
- package/.next/server/chunks/ssr/_1wac78_._.js +3 -0
- package/.next/server/chunks/ssr/{_1z586yw._.js → _20ywznt._.js} +2 -2
- package/.next/server/chunks/ssr/features_0796o8r._.js +1 -1
- package/.next/server/chunks/ssr/{features_bot_1k25jdg._.js → features_bot_0j4h9qu._.js} +2 -2
- package/.next/server/chunks/ssr/features_bot_1knyan7._.js +3 -0
- package/.next/server/chunks/ssr/{features_config_11dpa7r._.js → features_config_1xrlh3l._.js} +3 -3
- package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
- package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
- package/.next/server/chunks/ssr/features_routine_components_routine-setting_tsx_055fknz._.js +1 -1
- package/.next/server/chunks/ssr/features_workspace_workspace_ts_1wc7_u_._.js +4 -4
- package/.next/server/chunks/ssr/{node_modules_1r5o-bo._.js → node_modules_00kqq8n._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0u24mg0._.js → node_modules_04o9dd2._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0mark4f._.js → node_modules_05jatne._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0bas34k._.js → node_modules_06rkzq5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0y5uubt._.js → node_modules_07w6r9n._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ka8te1._.js → node_modules_08ld3lm._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0n1js5k._.js → node_modules_0ft86sp._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_156m1qh._.js → node_modules_0g0lr19._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0bbwe-u._.js → node_modules_0kg-vd-._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0x_2io2._.js → node_modules_0nl9i29._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_18yn_bs._.js → node_modules_0p0xf5f._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0-8r9yw._.js → node_modules_0pyepmf._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1dzye0n._.js → node_modules_0vg-4fo._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1xua-g1._.js → node_modules_0y5upun._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1o9n7_n._.js → node_modules_13seln7._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1ozyial._.js → node_modules_15vsfpv._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0sdjzae._.js → node_modules_17azpeb._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1zkzksd._.js → node_modules_1_il5l7._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0-ew8f8._.js → node_modules_1aeg65a._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0etz1i0._.js → node_modules_1d73q89._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0ld7p-1._.js → node_modules_1iq8zjs._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_138kcrz._.js → node_modules_1mcsva4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0uibk9z._.js → node_modules_1mhg5br._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1tj7_9z._.js → node_modules_1mqisle._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_02uwbwp._.js → node_modules_1va4lz9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_097cl9f._.js → node_modules_207ay1p._.js} +1 -1
- 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
- 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
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +61 -61
- package/.next/static/chunks/04toe_3nqfjqt.js +1 -0
- package/.next/static/chunks/{245_cp14iz637.js → 0780wmy0_rva8.js} +1 -1
- package/.next/static/chunks/{314szf8yer-3n.js → 09opsnra7k4k0.js} +2 -2
- package/.next/static/chunks/{42m371fn687r5.js → 0if7xqoj3ysfj.js} +1 -1
- package/.next/static/chunks/{0609ejkwuy4sf.js → 1-q6so9vze75d.js} +2 -2
- package/.next/static/chunks/{23tx-2paw9qa6.js → 106jbz6qd0c5l.js} +1 -1
- package/.next/static/chunks/19wkcgzetkh6-.js +1 -0
- package/.next/static/chunks/{39miwvg4k-b2d.js → 1_me_-lnpwdfd.js} +1 -1
- package/.next/static/chunks/{2oa4gpkzjtpni.js → 1mkw_05uc8_ft.js} +1 -1
- package/.next/static/chunks/1njjf8bfkg4_v.js +1 -0
- package/.next/static/chunks/{1ub9obhgfm4jl.js → 25ciqm-ee14nf.js} +1 -1
- package/.next/static/chunks/{2xjr5b-yk_h3o.js → 29laj9_xhx0d1.js} +1 -1
- package/.next/static/chunks/{2jbjyazqfqyoh.js → 2b306ek_blfp1.js} +1 -1
- package/.next/static/chunks/2mpqmpf8wcst1.js +15 -0
- package/.next/static/chunks/{3ro66d9dc70bc.js → 2rpyc6mevfhu6.js} +1 -1
- package/.next/static/chunks/{0cl_fgkphk1oz.js → 2wj77vx62ng3n.js} +1 -1
- package/.next/static/chunks/{3j-l8un0d77v7.js → 2y2v3bk65fdle.js} +3 -3
- package/.next/static/chunks/{3vwjs5kq11417.js → 32oho7re_n3dq.js} +1 -1
- package/.next/static/chunks/388l-zszwa_jf.js +1 -0
- package/.next/static/chunks/{0q4ws7qd21chx.js → 3_s5svfgu9kl_.js} +3 -3
- package/.next/static/chunks/3bwrvpjk95_x4.js +1 -0
- package/.next/static/chunks/{07vcuxousbmy1.js → 3suz18umxycuk.js} +1 -1
- package/.next/static/chunks/{0unonxbajyknw.js → 44n-w1bs83ejz.js} +1 -1
- package/README.md +12 -12
- package/guide/bots.md +48 -8
- package/guide/calls.md +13 -12
- package/guide/setup.md +4 -2
- package/package.json +1 -1
- package/public/sounds/NOTICE +3 -0
- package/public/sounds/opening-land.ogg +0 -0
- package/public/sounds/opening-rise.ogg +0 -0
- package/public/sounds/opening-step-1.ogg +0 -0
- package/public/sounds/opening-step-2.ogg +0 -0
- package/public/sounds/opening-step-3.ogg +0 -0
- package/skills/README.md +3 -0
- package/skills/artifact/SKILL.md +6 -5
- package/skills/artifact/references/book.md +23 -8
- package/skills/artifact/references/deck.md +4 -2
- package/skills/artifact/references/document.md +9 -0
- package/skills/artifact/references/sheet.md +113 -0
- package/skills/artifact/runtime/book/book.css +75 -0
- package/skills/artifact/runtime/book/book.html +6 -3
- package/skills/artifact/runtime/book/book.js +21 -0
- package/skills/artifact/runtime/canvas/canvas.css +1 -1
- package/skills/artifact/runtime/canvas/canvas.js +11 -1
- package/skills/artifact/runtime/deck/deck.css +164 -1
- package/skills/artifact/runtime/deck/deck.js +76 -1
- package/skills/artifact/runtime/document/docx.js +631 -0
- package/skills/artifact/runtime/document/markdown.mjs +58 -2
- package/skills/artifact/runtime/document/quick.css +66 -0
- package/skills/artifact/runtime/document/quick.html +1 -0
- package/skills/artifact/runtime/document/quick.js +154 -0
- package/skills/artifact/runtime/document/word.mjs +65 -0
- package/skills/artifact/runtime/sheet/format.mjs +392 -0
- package/skills/artifact/runtime/sheet/formula.mjs +755 -0
- package/skills/artifact/runtime/sheet/sheet.css +499 -0
- package/skills/artifact/runtime/sheet/sheet.html +102 -0
- package/skills/artifact/runtime/sheet/sheet.js +1361 -0
- package/skills/artifact/runtime/sheet/xlsx.mjs +320 -0
- package/skills/artifact/runtime/shell/head.html +1 -1
- package/skills/artifact/runtime/shell/shell.css +3 -0
- package/skills/artifact/runtime/shell/wear.mjs +47 -1
- package/skills/artifact/runtime/vendor/fflate.LICENSE.md +23 -0
- package/skills/artifact/runtime/vendor/fflate.mjs +2710 -0
- package/skills/artifact/scripts/book.mjs +160 -11
- package/skills/artifact/scripts/chart.mjs +229 -11
- package/skills/artifact/scripts/document.mjs +29 -2
- package/skills/artifact/scripts/spreadsheet.mjs +1165 -0
- package/skills/data-report/SKILL.md +8 -1
- package/.next/server/chunks/[root-of-the-server]__0aijj66._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0tvoct-._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__118qjk_._.js +0 -7
- package/.next/server/chunks/[root-of-the-server]__1b8tp42._.js +0 -5
- package/.next/server/chunks/[root-of-the-server]__1gzcbda._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1qcn1ti._.js +0 -7
- package/.next/server/chunks/_0xx3ryc._.js +0 -7
- package/.next/server/chunks/ssr/[root-of-the-server]__1y5_1cv._.js +0 -3
- package/.next/server/chunks/ssr/_0-ou1b0._.js +0 -3
- package/.next/server/chunks/ssr/_1g48r6t._.js +0 -3
- package/.next/server/chunks/ssr/_1u5vsy-._.js +0 -3
- package/.next/server/chunks/ssr/features_bot_1s_-2vj._.js +0 -3
- package/.next/server/chunks/ssr/lib_utils_ts_0_f1xvm._.js +0 -3
- package/.next/static/chunks/00d54fcfm-lko.js +0 -1
- package/.next/static/chunks/0gjlsu6vrfzod.js +0 -1
- package/.next/static/chunks/17yqt1p_svv13.js +0 -1
- package/.next/static/chunks/203pbwecfs3tm.js +0 -1
- package/.next/static/chunks/3ghvoe_mlljzs.js +0 -15
- package/.next/static/chunks/3gn7dubb4-pwy.js +0 -1
- /package/.next/static/{RtLRT9EEaGn-OqwpMFdYg → SNCDmWKeIrXB6yqnwzClS}/_buildManifest.js +0 -0
- /package/.next/static/{RtLRT9EEaGn-OqwpMFdYg → SNCDmWKeIrXB6yqnwzClS}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{RtLRT9EEaGn-OqwpMFdYg → SNCDmWKeIrXB6yqnwzClS}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94682,e=>{"use strict";var t=e.i(843476),n=e.i(24071),s=e.i(482022),r=e.i(569644),i=e.i(456420);let o={name:"images",size:24,node:[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]]};o.node;let a=(0,i.default)(o);var l=e.i(759659),c=e.i(271645),d=e.i(798120),u=e.i(167881),m=e.i(917162),f=e.i(671428),h=e.i(41533),x=e.i(95187);let p=(0,x.createServerReference)("7fcd156c67c7a10820368590817bd764985e7e6340",x.callServer,void 0,x.findSourceMapURL,"deleteArtifactAction");var g=e.i(635963),b=e.i(895836),v=e.i(83928),j=e.i(621285),y=e.i(988027),k=e.i(245629),N=e.i(609856),w=e.i(283653),S=e.i(647163);function A(e){let t=new Map;for(let n of e){let e=t.get(n.bot)??[];e.push(n),t.set(n.bot,e)}return[...t].map(([e,t])=>({bot:e,rows:t}))}function C({label:e,mark:n,count:s,active:r,onPick:i}){return(0,t.jsxs)("button",{type:"button",onClick:i,className:(0,S.cn)("mx-2 flex h-9 items-center gap-2 rounded-md px-2 text-left text-[13px] outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",r?(0,S.cn)(b.PICKED_ROW,"font-medium"):"text-muted-foreground hover:bg-muted/60 hover:text-foreground"),children:[n??(0,t.jsx)(a,{className:"size-4 shrink-0"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:e}),(0,t.jsx)("span",{className:"shrink-0 font-mono text-[10.5px] text-muted-foreground/70 tabular-nums",children:s})]})}function $({row:e,file:i,onOpen:o,onBack:a,onGone:c,onShelf:f}){let[h]=(0,N.useServerAction)(y.revealFileAction),[x,g]=(0,N.useServerAction)(p,{okMessage:"Deleted",onOk:()=>{(0,w.revalidate)(d.queryKey.artifacts),i?a():c()}}),b=i?{path:i.path,bytes:i.bytes,at:i.at}:"file"===e.kind?{path:e.path,bytes:e.bytes,at:e.at}:null,v=async e=>{await m.notify.confirm({title:`Delete ${e.split("/").pop()}?`,description:b?"It is deleted from disk for good.":"The folder and everything in it are deleted from disk for good.",okText:"Delete",destructive:!0})&&x(e)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex h-11 shrink-0 items-center gap-3 border-b border-border/60 px-6",children:[(0,t.jsxs)("button",{type:"button",onClick:i?a:f,className:"-ml-1 flex shrink-0 items-center gap-1 rounded-md px-1.5 py-1 font-mono text-[11px] text-muted-foreground outline-none hover:bg-muted/60 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,t.jsx)(n.ChevronLeft,{className:"size-3"}),i?e.name:"Shelf"]}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px] text-foreground",children:b?b.path.split("/").pop()??e.name:e.name}),(0,t.jsx)("span",{className:"shrink-0 font-mono text-[11px] text-muted-foreground/70",children:b?`${(0,S.formatBytes)(b.bytes)} \xb7 ${(0,k.shortAgo)(b.at)}`:`${e.count} ${1===e.count?"file":"files"} \xb7 ${(0,k.shortAgo)(e.at)}`}),b&&(0,t.jsx)("a",{href:d.queryKey.fileView(b.path),target:"_blank",rel:"noreferrer","aria-label":"Open in a new tab",className:"grid size-7 shrink-0 place-items-center rounded-md text-muted-foreground outline-none transition-colors hover:bg-muted/60 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:(0,t.jsx)(s.ExternalLink,{className:"size-4"})}),(0,t.jsx)(u.Button,{size:"icon-sm",variant:"ghost","aria-label":"Reveal in the file manager",className:"text-muted-foreground",onClick:()=>h(b?.path??e.path),children:(0,t.jsx)(r.FolderOpen,{})}),(0,t.jsx)(u.Button,{size:"icon-sm",variant:"ghost","aria-label":"Delete",loading:g,className:"ml-1.5 text-muted-foreground hover:text-destructive",onClick:()=>v(b?.path??e.path),children:(0,t.jsx)(l.Trash2,{})})]}),(0,t.jsx)("div",{className:"min-h-0 flex-1 overflow-auto",children:b?(0,t.jsx)(j.FilePreview,{path:b.path,bytes:b.bytes}):(0,t.jsx)(T,{path:e.path,onOpen:o})})]})}function T({path:e,onOpen:n}){let{data:s,isLoading:r,error:i}=(0,w.useServerRoute)(d.queryKey.artifactSet(e,h.ARTIFACT_VIEW.setFiles));if(r)return(0,t.jsx)("div",{className:"grid grid-cols-4 gap-3 p-5",children:Array.from({length:8},(e,n)=>(0,t.jsx)(f.Skeleton,{className:"aspect-4/3 w-full rounded-xl"},n))});if(i)return(0,t.jsx)(b.SettingError,{message:i.message});let o=s?.files??[];return 0===o.length?(0,t.jsx)("p",{className:"p-5 text-xs text-muted-foreground/60",children:"Nothing in here the app can open."}):(0,t.jsxs)("div",{className:"p-5",children:[(0,t.jsx)("div",{className:"grid grid-cols-4 gap-3",children:o.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>n(e),title:`${e.name} \xb7 ${(0,S.formatBytes)(e.bytes)}`,className:"flex flex-col gap-1.5 text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-offset-2",children:[(0,t.jsx)(F,{file:e}),(0,t.jsx)("span",{className:"truncate font-mono text-[11px] text-muted-foreground",children:e.name})]},e.path))}),s&&s.total>o.length&&(0,t.jsx)("p",{className:"pt-4 font-mono text-[11px] text-muted-foreground/60",children:`${o.length} of ${s.total.toLocaleString("en")} — the rest are in the folder`})]})}function F({file:e}){return(0,t.jsx)(v.FileThumb,{path:e.path,bytes:e.bytes,glyph:"size-5",className:"aspect-4/3 w-full rounded-xl ring-1 ring-foreground/5 ring-inset"})}function z({entries:e,bots:n,onPick:s}){return(0,t.jsx)("div",{className:"space-y-7 p-6",children:A(e).map(({bot:e,rows:i})=>(0,t.jsxs)("section",{className:"space-y-3",children:[(0,t.jsxs)("h3",{className:"flex items-center gap-2 text-sm font-medium",children:[e&&(0,t.jsx)(g.BotMark,{size:20,seed:e,...(0,g.markOf)(e,n),notify:!1,className:"shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e??"Unsorted"}),(0,t.jsx)("span",{className:"font-mono text-[11px] font-normal text-muted-foreground",children:i.length})]}),(0,t.jsx)("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))] gap-x-4 gap-y-5",children:i.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>s(e),className:"group flex min-w-0 flex-col gap-1.5 rounded-xl text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50",children:["set"===e.kind?(0,t.jsx)("span",{className:"grid aspect-4/3 w-full place-items-center rounded-xl bg-muted/60 text-muted-foreground transition-colors group-hover:bg-muted",children:(0,t.jsx)(r.FolderOpen,{className:"size-5"})}):(0,t.jsx)(v.FileThumb,{path:e.path,bytes:e.bytes,glyph:"size-5",className:"aspect-4/3 w-full rounded-xl ring-1 ring-foreground/5 ring-inset"}),(0,t.jsxs)("span",{className:"min-w-0 space-y-0.5 px-0.5",children:[(0,t.jsx)("span",{className:"block truncate text-[13px]",children:e.name}),(0,t.jsxs)("span",{className:"block truncate font-mono text-[10.5px] text-muted-foreground",children:["set"===e.kind?`${e.count} ${1===e.count?"file":"files"} \xb7 `:"",(0,k.shortAgo)(e.at)]})]})]},e.path))})]},e??""))})}function R({empty:e}){return(0,t.jsx)("div",{className:"p-8",children:(0,t.jsx)("p",{className:"max-w-lg text-sm leading-relaxed text-muted-foreground",children:e?"Nothing finished yet. When a bot ends a job with something to hand over — a page, a report, a set of pictures — it lands here.":"Pick something on the left. Each bot's work is under its face; a folder it filled is one row, and opens as a sheet."})})}e.s(["ArtifactSetting",0,function(){let[e,n]=(0,c.useState)(null),[s,i]=(0,c.useState)(""),[o,a]=(0,c.useState)(void 0),[l,m]=(0,c.useState)(h.ARTIFACT_VIEW.rows),{data:f,isLoading:x,error:p}=(0,w.useServerRoute)(d.queryKey.artifactShelf(l),{keepPreviousData:!0}),{data:v}=(0,w.useServerRoute)(d.queryKey.bot),[j]=(0,N.useServerAction)(y.revealFileAction);if(x)return(0,t.jsx)(b.SettingPanesSkeleton,{});if(p)return(0,t.jsx)(b.SettingError,{message:p.message});let k=f?.entries??[],S=f?.total??0,T=s.trim().toLowerCase(),F=k.filter(e=>(void 0===o||e.bot===o)&&(!T||e.name.toLowerCase().includes(T)||e.bot?.toLowerCase().includes(T))),M=k.find(t=>t.path===e?.row.path)??e?.row;return(0,t.jsx)(b.SettingPanes,{footer:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.SettingRailNote,{children:(0,t.jsxs)("span",{className:"font-mono",children:[(0,t.jsx)("span",{className:"font-medium text-foreground",children:"finished"}),` \xb7 ${function(e,t,n){if(0===t)return"empty";let s=t>e.length?`${e.length} of ${t.toLocaleString("en")} results`:`${t} ${1===t?"result":"results"}`;return n>t?`${s} \xb7 ${n.toLocaleString("en")} files`:s}(k,S,f?.files??0)}`]})}),(0,t.jsxs)(u.Button,{variant:"outline",size:"sm",onClick:()=>j(h.PATHS.artifacts),children:[(0,t.jsx)(r.FolderOpen,{}),"Reveal folder"]})]}),left:(0,t.jsxs)("div",{className:"flex flex-col py-2",children:[(0,t.jsx)(b.SettingFilter,{value:s,onChange:i,placeholder:"Filter files",className:"mx-2 mb-1.5 w-auto"}),(0,t.jsx)(C,{label:"Everyone",count:k.length,active:void 0===o,onPick:()=>{a(void 0),n(null)}}),A(k).map(({bot:e,rows:s})=>(0,t.jsx)(C,{label:e??"Unsorted",mark:e?(0,t.jsx)(g.BotMark,{size:18,seed:e,...(0,g.markOf)(e,v),notify:!1,className:"shrink-0"}):void 0,count:s.length,active:o===e,onPick:()=>{a(e),n(null)}},e??"")),S>k.length&&(0,t.jsx)("button",{type:"button",onClick:()=>m(l+h.ARTIFACT_VIEW.rows),className:"mx-2 mt-2 rounded-md px-2 py-1.5 text-left font-mono text-[11px] text-muted-foreground outline-none hover:bg-muted/60 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:`Show ${Math.min(h.ARTIFACT_VIEW.rows,S-k.length)} more of ${S.toLocaleString("en")}`})]}),right:M?(0,t.jsx)($,{row:M,file:e?.file??null,onOpen:e=>n({row:M,file:e}),onBack:()=>n({row:M,file:null}),onGone:()=>n(null),onShelf:()=>n(null)},M.path):F.length>0?(0,t.jsx)(z,{entries:F,bots:v,onPick:e=>n({row:e,file:null})}):(0,t.jsx)(R,{empty:0===S})})}],94682)},759659,e=>{"use strict";var t=e.i(456420);let n={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};n.node;let s=(0,t.default)(n);e.s(["Trash2",0,s],759659)}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94682,e=>{"use strict";var t=e.i(843476),n=e.i(24071),s=e.i(482022),r=e.i(569644),i=e.i(456420);let o={name:"images",size:24,node:[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]]};o.node;let a=(0,i.default)(o);var l=e.i(759659),c=e.i(271645),d=e.i(798120),u=e.i(167881),f=e.i(917162),m=e.i(671428),h=e.i(41533),x=e.i(95187);let p=(0,x.createServerReference)("7ffe9c06b7ad8cad1d561d1902b1d2342207e19610",x.callServer,void 0,x.findSourceMapURL,"deleteArtifactAction");var g=e.i(635963),b=e.i(895836),v=e.i(83928),j=e.i(621285),y=e.i(108096),k=e.i(245629),N=e.i(609856),w=e.i(283653),S=e.i(647163);function A(e){let t=new Map;for(let n of e){let e=t.get(n.bot)??[];e.push(n),t.set(n.bot,e)}return[...t].map(([e,t])=>({bot:e,rows:t}))}function C({label:e,mark:n,count:s,active:r,onPick:i}){return(0,t.jsxs)("button",{type:"button",onClick:i,className:(0,S.cn)("mx-2 flex h-9 items-center gap-2 rounded-md px-2 text-left text-[13px] outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",r?(0,S.cn)(b.PICKED_ROW,"font-medium"):"text-muted-foreground hover:bg-muted/60 hover:text-foreground"),children:[n??(0,t.jsx)(a,{className:"size-4 shrink-0"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:e}),(0,t.jsx)("span",{className:"shrink-0 font-mono text-[10.5px] text-muted-foreground/70 tabular-nums",children:s})]})}function $({row:e,file:i,onOpen:o,onBack:a,onGone:c,onShelf:m}){let[h]=(0,N.useServerAction)(y.revealFileAction),[x,g]=(0,N.useServerAction)(p,{okMessage:"Deleted",onOk:()=>{(0,w.revalidate)(d.queryKey.artifacts),i?a():c()}}),b=i?{path:i.path,bytes:i.bytes,at:i.at}:"file"===e.kind?{path:e.path,bytes:e.bytes,at:e.at}:null,v=async e=>{await f.notify.confirm({title:`Delete ${e.split("/").pop()}?`,description:b?"It is deleted from disk for good.":"The folder and everything in it are deleted from disk for good.",okText:"Delete",destructive:!0})&&x(e)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex h-11 shrink-0 items-center gap-3 border-b border-border/60 px-6",children:[(0,t.jsxs)("button",{type:"button",onClick:i?a:m,className:"-ml-1 flex shrink-0 items-center gap-1 rounded-md px-1.5 py-1 font-mono text-[11px] text-muted-foreground outline-none hover:bg-muted/60 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:[(0,t.jsx)(n.ChevronLeft,{className:"size-3"}),i?e.name:"Shelf"]}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px] text-foreground",children:b?b.path.split("/").pop()??e.name:e.name}),(0,t.jsx)("span",{className:"shrink-0 font-mono text-[11px] text-muted-foreground/70",children:b?`${(0,S.formatBytes)(b.bytes)} \xb7 ${(0,k.shortAgo)(b.at)}`:`${e.count} ${1===e.count?"file":"files"} \xb7 ${(0,k.shortAgo)(e.at)}`}),b&&(0,t.jsx)("a",{href:d.queryKey.fileView(b.path),target:"_blank",rel:"noreferrer","aria-label":"Open in a new tab",className:"grid size-7 shrink-0 place-items-center rounded-md text-muted-foreground outline-none transition-colors hover:bg-muted/60 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50",children:(0,t.jsx)(s.ExternalLink,{className:"size-4"})}),(0,t.jsx)(u.Button,{size:"icon-sm",variant:"ghost","aria-label":"Reveal in the file manager",className:"text-muted-foreground",onClick:()=>h(b?.path??e.path),children:(0,t.jsx)(r.FolderOpen,{})}),(0,t.jsx)(u.Button,{size:"icon-sm",variant:"ghost","aria-label":"Delete",loading:g,className:"ml-1.5 text-muted-foreground hover:text-destructive",onClick:()=>v(b?.path??e.path),children:(0,t.jsx)(l.Trash2,{})})]}),(0,t.jsx)("div",{className:"min-h-0 flex-1 overflow-auto",children:b?(0,t.jsx)(j.FilePreview,{path:b.path,bytes:b.bytes}):(0,t.jsx)(T,{path:e.path,onOpen:o})})]})}function T({path:e,onOpen:n}){let{data:s,isLoading:r,error:i}=(0,w.useServerRoute)(d.queryKey.artifactSet(e,h.ARTIFACT_VIEW.setFiles));if(r)return(0,t.jsx)("div",{className:"grid grid-cols-4 gap-3 p-5",children:Array.from({length:8},(e,n)=>(0,t.jsx)(m.Skeleton,{className:"aspect-4/3 w-full rounded-xl"},n))});if(i)return(0,t.jsx)(b.SettingError,{message:i.message});let o=s?.files??[];return 0===o.length?(0,t.jsx)("p",{className:"p-5 text-xs text-muted-foreground/60",children:"Nothing in here the app can open."}):(0,t.jsxs)("div",{className:"p-5",children:[(0,t.jsx)("div",{className:"grid grid-cols-4 gap-3",children:o.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>n(e),title:`${e.name} \xb7 ${(0,S.formatBytes)(e.bytes)}`,className:"flex flex-col gap-1.5 text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-offset-2",children:[(0,t.jsx)(F,{file:e}),(0,t.jsx)("span",{className:"truncate font-mono text-[11px] text-muted-foreground",children:e.name})]},e.path))}),s&&s.total>o.length&&(0,t.jsx)("p",{className:"pt-4 font-mono text-[11px] text-muted-foreground/60",children:`${o.length} of ${s.total.toLocaleString("en")} — the rest are in the folder`})]})}function F({file:e}){return(0,t.jsx)(v.FileThumb,{path:e.path,bytes:e.bytes,glyph:"size-5",className:"aspect-4/3 w-full rounded-xl ring-1 ring-foreground/5 ring-inset"})}function z({entries:e,bots:n,onPick:s}){return(0,t.jsx)("div",{className:"space-y-7 p-6",children:A(e).map(({bot:e,rows:i})=>(0,t.jsxs)("section",{className:"space-y-3",children:[(0,t.jsxs)("h3",{className:"flex items-center gap-2 text-sm font-medium",children:[e&&(0,t.jsx)(g.BotMark,{size:20,seed:e,...(0,g.markOf)(e,n),notify:!1,className:"shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e??"Unsorted"}),(0,t.jsx)("span",{className:"font-mono text-[11px] font-normal text-muted-foreground",children:i.length})]}),(0,t.jsx)("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))] gap-x-4 gap-y-5",children:i.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>s(e),className:"group flex min-w-0 flex-col gap-1.5 rounded-xl text-left outline-none focus-visible:ring-3 focus-visible:ring-ring/50",children:["set"===e.kind?(0,t.jsx)("span",{className:"grid aspect-4/3 w-full place-items-center rounded-xl bg-muted/60 text-muted-foreground transition-colors group-hover:bg-muted",children:(0,t.jsx)(r.FolderOpen,{className:"size-5"})}):(0,t.jsx)(v.FileThumb,{path:e.path,bytes:e.bytes,glyph:"size-5",className:"aspect-4/3 w-full rounded-xl ring-1 ring-foreground/5 ring-inset"}),(0,t.jsxs)("span",{className:"min-w-0 space-y-0.5 px-0.5",children:[(0,t.jsx)("span",{className:"block truncate text-[13px]",children:e.name}),(0,t.jsxs)("span",{className:"block truncate font-mono text-[10.5px] text-muted-foreground",children:["set"===e.kind?`${e.count} ${1===e.count?"file":"files"} \xb7 `:"",(0,k.shortAgo)(e.at)]})]})]},e.path))})]},e??""))})}function R({empty:e}){return(0,t.jsx)("div",{className:"p-8",children:(0,t.jsx)("p",{className:"max-w-lg text-sm leading-relaxed text-muted-foreground",children:e?"Nothing finished yet. When a bot ends a job with something to hand over — a page, a report, a set of pictures — it lands here.":"Pick something on the left. Each bot's work is under its face; a folder it filled is one row, and opens as a sheet."})})}e.s(["ArtifactSetting",0,function(){let[e,n]=(0,c.useState)(null),[s,i]=(0,c.useState)(""),[o,a]=(0,c.useState)(void 0),[l,f]=(0,c.useState)(h.ARTIFACT_VIEW.rows),{data:m,isLoading:x,error:p}=(0,w.useServerRoute)(d.queryKey.artifactShelf(l),{keepPreviousData:!0}),{data:v}=(0,w.useServerRoute)(d.queryKey.bot),[j]=(0,N.useServerAction)(y.revealFileAction);if(x)return(0,t.jsx)(b.SettingPanesSkeleton,{});if(p)return(0,t.jsx)(b.SettingError,{message:p.message});let k=m?.entries??[],S=m?.total??0,T=s.trim().toLowerCase(),F=k.filter(e=>(void 0===o||e.bot===o)&&(!T||e.name.toLowerCase().includes(T)||e.bot?.toLowerCase().includes(T))),M=k.find(t=>t.path===e?.row.path)??e?.row;return(0,t.jsx)(b.SettingPanes,{footer:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.SettingRailNote,{children:(0,t.jsxs)("span",{className:"font-mono",children:[(0,t.jsx)("span",{className:"font-medium text-foreground",children:"finished"}),` \xb7 ${function(e,t,n){if(0===t)return"empty";let s=t>e.length?`${e.length} of ${t.toLocaleString("en")} results`:`${t} ${1===t?"result":"results"}`;return n>t?`${s} \xb7 ${n.toLocaleString("en")} files`:s}(k,S,m?.files??0)}`]})}),(0,t.jsxs)(u.Button,{variant:"outline",size:"sm",onClick:()=>j(h.PATHS.artifacts),children:[(0,t.jsx)(r.FolderOpen,{}),"Reveal folder"]})]}),left:(0,t.jsxs)("div",{className:"flex flex-col py-2",children:[(0,t.jsx)(b.SettingFilter,{value:s,onChange:i,placeholder:"Filter files",className:"mx-2 mb-1.5 w-auto"}),(0,t.jsx)(C,{label:"Everyone",count:k.length,active:void 0===o,onPick:()=>{a(void 0),n(null)}}),A(k).map(({bot:e,rows:s})=>(0,t.jsx)(C,{label:e??"Unsorted",mark:e?(0,t.jsx)(g.BotMark,{size:18,seed:e,...(0,g.markOf)(e,v),notify:!1,className:"shrink-0"}):void 0,count:s.length,active:o===e,onPick:()=>{a(e),n(null)}},e??"")),S>k.length&&(0,t.jsx)("button",{type:"button",onClick:()=>f(l+h.ARTIFACT_VIEW.rows),className:"mx-2 mt-2 rounded-md px-2 py-1.5 text-left font-mono text-[11px] text-muted-foreground outline-none hover:bg-muted/60 hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-inset",children:`Show ${Math.min(h.ARTIFACT_VIEW.rows,S-k.length)} more of ${S.toLocaleString("en")}`})]}),right:M?(0,t.jsx)($,{row:M,file:e?.file??null,onOpen:e=>n({row:M,file:e}),onBack:()=>n({row:M,file:null}),onGone:()=>n(null),onShelf:()=>n(null)},M.path):F.length>0?(0,t.jsx)(z,{entries:F,bots:v,onPick:e=>n({row:e,file:null})}):(0,t.jsx)(R,{empty:0===S})})}],94682)},759659,e=>{"use strict";var t=e.i(456420);let n={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};n.node;let s=(0,t.default)(n);e.s(["Trash2",0,s],759659)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,464487,e=>{"use strict";var t=e.i(95187);let a=(0,t.createServerReference)("7fa9003abe0969a8da9b1b0f3049dc79cba7c10505",t.callServer,void 0,t.findSourceMapURL,"deleteWorkspaceFileAction");e.s(["deleteWorkspaceFileAction",0,a])},333999,e=>{"use strict";var t=e.i(271645),a=e.i(647163);e.s(["useObjectState",0,e=>{let[s,c]=(0,t.useState)(e);return[s,(0,t.useCallback)(e=>{c(t=>{let s=(0,a.isFunction)(e)?e(t):e;return Object.keys(s).some(e=>!Object.is(t[e],s[e]))?{...t,...s}:t})},[])]}])},759659,e=>{"use strict";var t=e.i(456420);let a={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};a.node;let s=(0,t.default)(a);e.s(["Trash2",0,s],759659)}]);
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
<a href="https://youtu.be/
|
|
3
|
+
<a href="https://youtu.be/7XmsAtwQGjo">
|
|
4
4
|
<picture>
|
|
5
5
|
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/hero-dark.png">
|
|
6
6
|
<img src="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/hero-light.png" alt="Thursday — an open-source voice assistant on GPT-Live 1, with a team of AI bots: one has finished a page, another is searching the web" width="880">
|
|
@@ -16,7 +16,7 @@ Runs on your computer, on your own OpenAI key. You talk; bots take the slow work
|
|
|
16
16
|
[](https://nodejs.org)
|
|
17
17
|
[](https://discord.gg/Qmysdh9Fy8)
|
|
18
18
|
|
|
19
|
-
[English](README.md) · [한국어](README.ko.md) · [▶ Watch the
|
|
19
|
+
[English](README.md) · [한국어](README.ko.md) · [▶ Watch the film](https://youtu.be/7XmsAtwQGjo) · [a real call](https://youtu.be/V7fBDY3cYRU)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
@@ -40,8 +40,8 @@ Needs Node.js 22.18+ and one OpenAI API key, pasted into the first screen. Pick
|
|
|
40
40
|
A speech model that opens a browser goes silent for a minute, and a silent call is a dead call. So anything slower than a few seconds goes to a bot, and she keeps talking — interrupt her, change the subject, or ask how the job is going.
|
|
41
41
|
|
|
42
42
|
<picture>
|
|
43
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/talk-dark.png">
|
|
44
|
-
<img src="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/talk-light.png" alt="On a call: she says a bot is on it and will tell you when it is back
|
|
43
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/film-talk-dark.png">
|
|
44
|
+
<img src="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/film-talk-light.png" alt="On a call: she says a bot is on it and will tell you when it is back, and the job is handed over" width="880">
|
|
45
45
|
</picture>
|
|
46
46
|
|
|
47
47
|
### One ask, a whole team
|
|
@@ -49,8 +49,8 @@ A speech model that opens a browser goes silent for a minute, and a silent call
|
|
|
49
49
|
Bots hand parts of a job to each other, check what comes back, and ask you only when a decision is yours. Every handoff is saved: open the thread to see who did what, or step in.
|
|
50
50
|
|
|
51
51
|
<picture>
|
|
52
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/team-dark.png">
|
|
53
|
-
<img src="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/team-light.png" alt="
|
|
52
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/film-team-dark.png">
|
|
53
|
+
<img src="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/film-team-light.png" alt="While she tells you what was compared, two bots work a shop in their browser, and a question waits on you: keep the two that ship late?" width="880">
|
|
54
54
|
</picture>
|
|
55
55
|
|
|
56
56
|
### Errands, in a real browser
|
|
@@ -58,8 +58,8 @@ Bots hand parts of a job to each other, check what comes back, and ask you only
|
|
|
58
58
|
Orders, bookings, forms, the inbox. A bot uses its own browser or the Chrome you are already signed into. A purchase stops at the Pay button, left open on your screen for you to press.
|
|
59
59
|
|
|
60
60
|
<picture>
|
|
61
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/errands-dark.png">
|
|
62
|
-
<img src="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/errands-light.png" alt="
|
|
61
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/film-errands-dark.png">
|
|
62
|
+
<img src="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/film-errands-light.png" alt="Two bots in a browser of their own, one handing the other the job, searching a shop while she stays on the call" width="880">
|
|
63
63
|
</picture>
|
|
64
64
|
|
|
65
65
|
### Results you can keep
|
|
@@ -67,15 +67,15 @@ Orders, bookings, forms, the inbox. A bot uses its own browser or the Chrome you
|
|
|
67
67
|
Pages, charts, videos, slides, docs and scripts, saved as files on your machine. A finished one shows up in the corner of your screen, and “show me” opens it.
|
|
68
68
|
|
|
69
69
|
<picture>
|
|
70
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/results-dark.png">
|
|
71
|
-
<img src="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/results-light.png" alt="A
|
|
70
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/film-results-dark.png">
|
|
71
|
+
<img src="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/film-results-light.png" alt="A finished job lands in the corner as a card; opened, it is the page a bot made, saved as a file" width="880">
|
|
72
72
|
</picture>
|
|
73
73
|
|
|
74
74
|
## And also
|
|
75
75
|
|
|
76
76
|
<picture>
|
|
77
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/more-dark.png">
|
|
78
|
-
<img src="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/more-light.png" alt="
|
|
77
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/film-more-dark.png">
|
|
78
|
+
<img src="https://raw.githubusercontent.com/cgoinglove/thursday/main/docs/images/film-more-light.png" alt="Routines: every weekday at nine, a bot, a job and a time. From your phone: write to her from Telegram, Discord or Slack. Memory you can read: plain notes you can open, edit or delete. Every bot, its own model, picked per bot" width="880">
|
|
79
79
|
</picture>
|
|
80
80
|
|
|
81
81
|
## How it works
|
package/guide/bots.md
CHANGED
|
@@ -193,12 +193,16 @@ from — its stylesheets, scripts and fonts — stay off the shelf.
|
|
|
193
193
|
|
|
194
194
|
## Books, canvases, decks and pages
|
|
195
195
|
|
|
196
|
+
The bar at the top of a page, a canvas or a deck names the bot that made it beside its face, as its
|
|
197
|
+
face was when the file was made: changing the bot's look later leaves its earlier work as it was.
|
|
196
198
|
A page, a canvas or a deck opened inside the app takes its keys once it has been clicked; before
|
|
197
199
|
that, keys go to the app. Opened in its own tab (↗) it has the whole window and the keyboard, under
|
|
198
200
|
its own top bar.
|
|
199
201
|
|
|
200
202
|
Asked to explain something simply, **Tutor** makes a picture book: a picture and a line or two a
|
|
201
|
-
page, turned by swiping, the arrow keys, or tapping the right or left of the page.
|
|
203
|
+
page, turned by swiping, the arrow keys, or tapping the right or left of the page. Its cover names
|
|
204
|
+
the bot that drew it, and a book that teaches something to remember may end on a quiz: tapping a
|
|
205
|
+
pick marks it right or not and shows the answer. The same book can
|
|
202
206
|
be a PDF, or a video that reads itself aloud (landscape, or portrait when asked); when the request
|
|
203
207
|
does not say which, it asks first. It remembers what the user already knows and how they liked being
|
|
204
208
|
taught. Drawn pictures need an image model in **Settings › Models**, and the video a speech model;
|
|
@@ -206,7 +210,7 @@ without one the video asks for it and stops.
|
|
|
206
210
|
|
|
207
211
|
Asked how something should look, **Designer** hands back a canvas: the ways it could go, side by
|
|
208
212
|
side on one surface, each with a note on what it is for and what it costs, and the one it would carry
|
|
209
|
-
forward outlined. Drag to move it, pinch or hold ⌘ and scroll to zoom; the arrow keys bring the
|
|
213
|
+
forward outlined and marked with a word over it, such as "Leading". Drag to move it, pinch or hold ⌘ and scroll to zoom; the arrow keys bring the
|
|
210
214
|
options up one at a time, and 0 fits it all back in the window. Boards on one canvas can be different
|
|
211
215
|
sizes — a phone beside a desktop screen, a poster beside a post — and a button on one board can lead
|
|
212
216
|
to the next, so a flow of screens is walked through the way it would be used. Every option is also a
|
|
@@ -229,11 +233,13 @@ was said about the options.
|
|
|
229
233
|
|
|
230
234
|
Something to present, or to be walked through a step at a time, comes back as a **deck**. Any bot
|
|
231
235
|
can make one: it writes what each slide says and picks its layout — a cover, one claim on its own,
|
|
232
|
-
two to four cards side by side, one big figure
|
|
233
|
-
|
|
236
|
+
two to four cards side by side, one big figure or two to four side by side, a table, a quote, a
|
|
237
|
+
picture or a chart with a heading, dates along a line, two sides compared, a close with what happens
|
|
238
|
+
next — and one of four palettes (green, blue, terracotta, or gold on black). The
|
|
234
239
|
app draws every slide, so each deck is laid out alike, and a slide that holds more words than fit
|
|
235
240
|
has its type made smaller until they do; one that still does not fit is sent back to the bot to say
|
|
236
|
-
less.
|
|
241
|
+
less. Every slide after the cover carries its number, and the cover names the bot that made it with its
|
|
242
|
+
face. Beside the deck sit a picture of every slide and one of all of them together. Slides are shown one at a time, fitted to the window, with every slide small in a strip at the
|
|
237
243
|
foot — click one to jump to it, or fold the strip away. The bar at its top names who made it and holds the arrows and
|
|
238
244
|
the count, Notes (what is said over the slide), full screen, Present, a theme button and **Export**
|
|
239
245
|
(**Print · one slide a page**, **This slide as a picture**, **Download this file**). The arrow keys,
|
|
@@ -251,10 +257,44 @@ the top bar says **Changed since it opened · not kept** and shows **Reload**. A
|
|
|
251
257
|
deck starts from the deck as it is, with what was edited in it, and a deck made before an update to
|
|
252
258
|
the app takes on its new look the next time a bot changes it.
|
|
253
259
|
|
|
260
|
+
Numbers to keep working on — a ledger, a budget, a list of clients, results by month — come back
|
|
261
|
+
as a **sheet**: a real Excel file (.xlsx) and a page beside it that shows it in the app. The file
|
|
262
|
+
opens in Excel, Numbers or Google Sheets (uploaded to Drive), with its formulas, number formats, a
|
|
263
|
+
frozen header with a filter, and a totals row. The page has a tab for each sheet, the formula or
|
|
264
|
+
value of the cell picked over the grid, and the sum, average and count of the cells picked at its
|
|
265
|
+
foot; the arrow keys move, Shift widens the pick, and ⌘C copies it to paste into any spreadsheet.
|
|
266
|
+
A cell worked out by a formula has a faint tint; pick one and the cells it uses are edged in
|
|
267
|
+
colours, the same colours as its references in the formula line, and so while one is typed.
|
|
268
|
+
The button on a column's heading sorts it or keeps only the values ticked, which the totals follow;
|
|
269
|
+
that is a view and changes nothing in the file. **Export** has the Excel file, the sheet as CSV,
|
|
270
|
+
the sheet copied, and print. **Edit** changes the sheet itself, no Excel needed: type over a cell
|
|
271
|
+
or double-click it (F2 too), write a formula starting with `=` in the cell or the formula line,
|
|
272
|
+
rename a column on its heading, paste cells copied from any spreadsheet, and Delete clears the cells
|
|
273
|
+
picked. The tools beside the formula line put a row under the one picked (its formulas carried
|
|
274
|
+
down) or a column beside it, take out the rows or columns picked, set how a column's values read —
|
|
275
|
+
grouped, with decimals, a percent, negatives in red, or dates — and undo (⌘Z) or redo. In a column
|
|
276
|
+
of dates, a date typed as 2026-07-02 is a real date in Excel too, and dates written as text there
|
|
277
|
+
become dates when the column is made one. Formulas elsewhere move as Excel moves them, and one that points at a cell
|
|
278
|
+
taken out shows #REF!. A formula that cannot be read stays in the cell to be put right. The app
|
|
279
|
+
keeps each change a moment later into the page and the Excel file both. If the file was changed in
|
|
280
|
+
Excel since the page drew it, nothing is saved over it: the top bar says **Changed since it opened
|
|
281
|
+
· not kept**, and **Reload** shows the file as it is now. A bot asked to change the sheet reads the
|
|
282
|
+
file first when it was changed there. Receipts and invoices — photos or PDFs — come back as a
|
|
283
|
+
sheet of what was spent, by category and month; so does a bank's or a card's export, the CSV
|
|
284
|
+
downloaded from it in any encoding (a bot never signs in to a bank). A bot also reads an Excel file handed to it —
|
|
285
|
+
"what is in this spreadsheet?" — and can show it the same way; an old .xls has to be saved as .xlsx
|
|
286
|
+
first.
|
|
287
|
+
|
|
254
288
|
Something to read — a report, a memo, a comparison, a plan, notes of a meeting — comes back as one
|
|
255
|
-
page: a title with the date
|
|
256
|
-
marked), chips for dates, people and status, checklists, tables with the pick
|
|
257
|
-
sources at the end.
|
|
289
|
+
page: a title with the date, who it is by and how long it takes to read, its contents beside it (the
|
|
290
|
+
section being read is marked), chips for dates, people and status, checklists, tables with the pick
|
|
291
|
+
marked, and the sources at the end. Pressing a table's heading puts the rows in that column's order,
|
|
292
|
+
up, down, then back as written; that order is only for reading and is never saved. A small number
|
|
293
|
+
beside a sentence is where it comes from: pointing at it shows the source, and the full list is at
|
|
294
|
+
the end. It reads on a phone and prints as a document, and **Export › Word file** saves it as a
|
|
295
|
+
.docx — the page as it is now, edits included, with its headings, lists, tables, notes, pictures
|
|
296
|
+
and charts — to send or submit, no Word needed to make it; a bot asked for a Word file hands one
|
|
297
|
+
back beside the page. **Edit** in its top bar makes the
|
|
258
298
|
page editable in place: a paragraph gets a handle and a **+** to put something after it, selected
|
|
259
299
|
words get their formatting over them, and a chip — a date, a person, a status — moves as one piece:
|
|
260
300
|
pressing it opens its words, and Enter or Esc closes it. Typing `/` on an empty line opens the same
|
package/guide/calls.md
CHANGED
|
@@ -107,18 +107,19 @@ opens in a new tab.
|
|
|
107
107
|
|
|
108
108
|
Everything here but her face is in **Settings › Thursday**, and changes apply from the next call.
|
|
109
109
|
|
|
110
|
-
- **Face**: she is drawn in emoji, and
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
or
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
it is a single tail
|
|
110
|
+
- **Face**: on a Mac, iPhone or iPad she is drawn in Apple's emoji, and on every other system in
|
|
111
|
+
letters: other systems draw emoji in their own style, and letters are lighter to draw. No setting
|
|
112
|
+
changes her face. At rest she is a face of smoke: it keeps moving inside her and drifts off her
|
|
113
|
+
edge on a wind that comes and goes. She opens her eyes as the app opens and again every twenty
|
|
114
|
+
seconds or so, waking one of three ways — a sigh of smoke, shaking off a crust of dust, or turning
|
|
115
|
+
round to face you — and before she closes them she does one thing: looks about, winks, dozes off,
|
|
116
|
+
her head goes round once, or she lets out a long breath of smoke that fills the space around her.
|
|
117
|
+
When her head turns, only her face turns; the smoke round her stays where it is. While her eyes
|
|
118
|
+
are open her smoke grows thick and far-reaching, and she closes them slowly, looking down, as if
|
|
119
|
+
falling asleep. That happens only while she is resting. She can spell a short word: CALL while she
|
|
120
|
+
rings, OK as finished work comes in, a goodbye as a call ends (BYE, SEE YA, NIGHT and a few
|
|
121
|
+
others, by the hour), and whatever she chooses to show. While she works it is a single tail
|
|
122
|
+
circling.
|
|
122
123
|
- **Voice**: the voice runs on GPT-Live 1, with 22 voices to pick from; clicking a name plays it.
|
|
123
124
|
It is the one setting here a written call or a phone does not use.
|
|
124
125
|
- **Style**: who she is to them — ten of them, and the only difference is how she talks. The row
|
package/guide/setup.md
CHANGED
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
## The first run
|
|
4
4
|
|
|
5
5
|
The first time the app opens, she comes in larger than the screen and steps down to her own size,
|
|
6
|
-
and opens her eyes there
|
|
6
|
+
and opens her eyes there, with a soft beat on each step and a run of chimes as she lands; a browser
|
|
7
|
+
keeps a page silent until it is clicked, so the opening is often seen without its sound. When the
|
|
8
|
+
system is set to reduce motion, she is simply there. Then it walks
|
|
7
9
|
through six steps on the call screen itself: a voice key, the microphone, which bots come along, what
|
|
8
10
|
they think with, her style, and the first call. She talks
|
|
9
11
|
through it in a recorded voice, in English, and says so first; her real voice starts with the first
|
|
10
|
-
call. The speaker button at the top right mutes the recording, and stays muted the next time. Every
|
|
12
|
+
call. The speaker button at the top right mutes the recording, and stays muted the next time, the opening's sounds with it. Every
|
|
11
13
|
step can be passed and done later from the screens below. With a key the last button is **Call
|
|
12
14
|
her**; without one it is **Look around**. It stops showing once a call has been placed, and adding
|
|
13
15
|
`?intro` to the address brings it back.
|
package/package.json
CHANGED
package/public/sounds/NOTICE
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
The opening sounds (opening-rise, opening-step-1..3, opening-land) are this project's own,
|
|
2
|
+
synthesized for it and released under its MIT license with the rest of the repository.
|
|
3
|
+
|
|
1
4
|
The sounds in this folder come from the Android Open Source Project,
|
|
2
5
|
platform/frameworks/base, data/sounds/effects/ogg:
|
|
3
6
|
https://android.googlesource.com/platform/frameworks/base/+/refs/heads/main/data/sounds/effects/ogg/
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/skills/README.md
CHANGED
|
@@ -29,6 +29,9 @@ now only run the chart, the document script and the camera the artifact skill ho
|
|
|
29
29
|
what changed. Beyond it and the three below, `artifact` is this app's own.
|
|
30
30
|
- **`artifact/runtime/vendor/marked.mjs`** is marked 16.4.2 (MIT, `marked.LICENSE.md` beside it),
|
|
31
31
|
unchanged: it turns a document's Markdown into its body.
|
|
32
|
+
- **`artifact/runtime/vendor/fflate.mjs`** is fflate 0.8.3 (MIT, `fflate.LICENSE.md` beside it),
|
|
33
|
+
its ES module build unchanged: it zips and unzips a sheet's .xlsx (`runtime/sheet/xlsx.mjs`),
|
|
34
|
+
which is otherwise written and read here, with no spreadsheet library.
|
|
32
35
|
- **`artifact`'s app kit** (`runtime/app`, `scripts/app.mjs`) follows Anthropic's
|
|
33
36
|
`web-artifacts-builder` (Apache-2.0, `artifact/LICENSE.txt`): React, TypeScript, Tailwind
|
|
34
37
|
CSS and shadcn/ui, bundled into one HTML file. Changed from it: vite with vite-plugin-singlefile
|
package/skills/artifact/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: artifact
|
|
3
|
-
description: "Makes what the user keeps or uses: a document, canvas, picture book, deck, page or app. Use it for a report or memo, options or a mockup at real size, an explanation in pictures, slides, a tool such as a calculator or a tracker, numbers as a chart, or a diagram of how something is built."
|
|
3
|
+
description: "Makes what the user keeps or uses: a document, canvas, picture book, deck, sheet, page or app. Use it for a report or memo, options or a mockup at real size, an explanation in pictures, slides, an Excel sheet or reading one, a tool such as a calculator or a tracker, numbers as a chart, or a diagram of how something is built."
|
|
4
4
|
license: Complete terms in LICENSE.txt
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -16,9 +16,9 @@ the type, light and dark, a head that names it with Edit and Export, and the pic
|
|
|
16
16
|
|
|
17
17
|
| They will | Kind | Start | Read first |
|
|
18
18
|
|---|---|---|---|
|
|
19
|
-
| read it — a report, a memo, options compared, a plan, notes of a meeting, research with its photos | document | write Markdown, then `node $S/document.mjs put <name> <file.md>` | `references/document.md` |
|
|
19
|
+
| read it — a report, a memo, options compared, a plan, notes of a meeting, research with its photos; or a Word file of it | document | write Markdown, then `node $S/document.mjs put <name> <file.md>`; a .docx: `document.mjs docx <name>` | `references/document.md` |
|
|
20
20
|
| choose between ways something could look, or see it at its real size — an app or phone screen, a landing page, a poster, a post | canvas | `node $S/canvas.mjs new <name>` | `references/canvas.md`, then `references/craft.md` |
|
|
21
|
-
| understand one thing simply — a picture and a line or two a page, to swipe, as a PDF or read aloud | picture book | `node $S/book.mjs new <name>` | `references/book.md` |
|
|
21
|
+
| understand one thing simply — a picture and a line or two a page, to swipe, as a PDF or read aloud | picture book | `node $S/book.mjs new <name>`, then its pages: `book.mjs put <name> <pages.html>` | `references/book.md` |
|
|
22
22
|
| watch it presented | deck | the `make_deck` tool | `references/deck.md` |
|
|
23
23
|
|
|
24
24
|
- **Write the content, never the file around it.** Each script makes its file and puts what you
|
|
@@ -35,6 +35,7 @@ document.
|
|
|
35
35
|
|
|
36
36
|
| They will | Kind | Start | Read first |
|
|
37
37
|
|---|---|---|---|
|
|
38
|
+
| keep working on numbers — a ledger, a budget, a list of clients, results by month; or read an .xlsx they gave you | sheet | `node $S/spreadsheet.mjs put <name> <book.json or data.csv>` | `references/sheet.md` |
|
|
38
39
|
| use a small tool — a calculator, a converter, a checklist that remembers | page | one HTML file you write whole, its `<style>` and `<script>` inside it | `references/app.md` |
|
|
39
40
|
| use an app — screens, state that builds up, forms, charts that respond | app | `node $S/app.mjs new <name>`, write it in React, `build` it | `references/app.md` |
|
|
40
41
|
| see how something is built or flows — a system, a process, calls in order | diagram | the archify engine in `$S/archify` | `references/diagram.md` |
|
|
@@ -43,8 +44,8 @@ document.
|
|
|
43
44
|
|
|
44
45
|
Numbers they should see are a chart, drawn into the document, page or book that carries them:
|
|
45
46
|
`node $S/chart.mjs <file.html> <figure id> <data.csv>`; on a slide, a board or a post, it is a
|
|
46
|
-
picture: `node $S/chart.mjs <picture.svg> <data.csv
|
|
47
|
-
hand-write chart SVG.
|
|
47
|
+
picture: `node $S/chart.mjs <picture.svg> <data.csv>`. A line, bars, upright columns, a donut or
|
|
48
|
+
stacked bars (`--kind`; no arguments lists every option). Never hand-write chart SVG.
|
|
48
49
|
|
|
49
50
|
A few paragraphs that answer a question stay your final text; a kind here is for what they will
|
|
50
51
|
keep, share, use or come back to.
|
|
@@ -4,7 +4,8 @@ Anything explained the way a children's picture book explains it: each page is
|
|
|
4
4
|
one picture with at most two short lines under it, in simple words. One HTML
|
|
5
5
|
file is the book, and the same file is printed to a PDF or read aloud into a
|
|
6
6
|
video, so the three never disagree. The book's own file holds its style and page
|
|
7
|
-
turning:
|
|
7
|
+
turning: write the pages in a file of your own and `put` them in; never edit or
|
|
8
|
+
rewrite the book's file.
|
|
8
9
|
|
|
9
10
|
## Contents
|
|
10
11
|
- The two rules
|
|
@@ -37,12 +38,19 @@ first is the cover, asking the question the book answers.
|
|
|
37
38
|
2. Write the whole story before any picture: one row per page, its picture, its
|
|
38
39
|
line or two, and `data-say`, the sentence read over it in a video — a little
|
|
39
40
|
fuller than the lines, spoken the way a person would read the page aloud.
|
|
40
|
-
3. Make the pictures (below), then write
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
3. Make the pictures (below), then write every page, in order, in a file of your
|
|
42
|
+
own (`<scratch>/pages.html`): `<section class="page" data-say="…">`, a `<figure>`
|
|
43
|
+
holding the picture, one or two `<p>`. The first is the cover,
|
|
44
|
+
`<section class="page cover" data-say="…">` with its picture and an `<h1>`. Then:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
node <skill dir>/scripts/book.mjs put <name> <scratch>/pages.html --lang <the book's language, e.g. ko>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
A book is named by its folder under your artifacts, or given by its path — the way
|
|
51
|
+
to reach one another job made. It checks each page and puts them all into the book, in place of what it held; a
|
|
52
|
+
page it cannot take stops it, named, and nothing is written: fix that page in
|
|
53
|
+
your file and put again. To change the book later, change your file and put it again.
|
|
46
54
|
4. Look at it once when a page carries a picture you did not draw — a photo you
|
|
47
55
|
downloaded, a generated one — or when a page may not fit. A book drawn in SVG
|
|
48
56
|
alone needs no browser at all; hand it back and skip to 5. To look:
|
|
@@ -54,7 +62,14 @@ first is the cover, asking the question the book answers.
|
|
|
54
62
|
That is every page, numbered, on one picture for a single `look_at`, drawn in
|
|
55
63
|
a headless browser of its own, never in this job's. Fix what it shows, then
|
|
56
64
|
stop.
|
|
57
|
-
5.
|
|
65
|
+
5. When the book teaches something to remember, its last page may ask about it: a quiz page is
|
|
66
|
+
`<section class="page quiz" data-say="the question, read aloud">` with an `<h2>` question, an
|
|
67
|
+
`<ol class="choices">` of two to four `<li><button>` picks, each a picture (inline `<svg>`) and
|
|
68
|
+
a word or two, `data-right` on the one that is right, and a `<p class="answer">` that says why.
|
|
69
|
+
It goes in your pages file like any page.
|
|
70
|
+
The reader taps a pick and the page marks it and shows the answer; a PDF prints the answer.
|
|
71
|
+
Ask only what the pages showed.
|
|
72
|
+
6. Hand back the path. The user turns pages with a swipe, the arrow keys or a
|
|
58
73
|
tap on the right or left of a page, and `#3` in the address opens page 3.
|
|
59
74
|
|
|
60
75
|
## Pictures
|
|
@@ -10,8 +10,10 @@ fill them well.
|
|
|
10
10
|
never the topic ("Rent").
|
|
11
11
|
- **One idea a slide.** A statement beats a list; three parallel points are `cards`; one number
|
|
12
12
|
that carries the point is `number`; the same questions asked of several things are a `table`;
|
|
13
|
-
someone's own words are a `quote` with who said it
|
|
14
|
-
|
|
13
|
+
someone's own words are a `quote` with who said it; dates in order are a `timeline`; the way
|
|
14
|
+
things are beside the way they will be, or two options, are a `compare`, the side argued for on
|
|
15
|
+
the right; two to four figures that make one point together are `stats`. More than a slide holds
|
|
16
|
+
is two slides — the app never shrinks words to fit.
|
|
15
17
|
- **Open with a `cover` and end with a `close`** that says what to do or remember, not "Thank you".
|
|
16
18
|
- **Nothing invented.** A figure you were not given is a visible `[FIGURE]`; a number carries its
|
|
17
19
|
source in the slide's footer.
|
|
@@ -47,6 +47,11 @@ A page that fits none starts from nothing: a `# ` title, then the page.
|
|
|
47
47
|
- **A note set apart** is a GitHub alert: `> [!NOTE]`, `> [!TIP]`, `> [!WARNING]`, `> [!CAUTION]`.
|
|
48
48
|
A plain `>` stays a quotation.
|
|
49
49
|
- **A checklist** is `- [ ]` and `- [x]`; the reader ticks it in the page.
|
|
50
|
+
- **Where a claim comes from** is a footnote: `the claim.[^rent]` in the text and
|
|
51
|
+
`[^rent]: The index, [its page](url)` on a line of its own anywhere. They are numbered in the
|
|
52
|
+
order cited and gathered at the end, and the reader sees one by pointing at its number.
|
|
53
|
+
- **A table's columns sort** by a press on their heading while it is read; write the rows in
|
|
54
|
+
the order that answers the question.
|
|
50
55
|
- **A picture** alone in its paragraph, ``, becomes a picture with that
|
|
51
56
|
caption. It sits beside the document's file, saved there from the page it came from.
|
|
52
57
|
- **HTML inside the Markdown passes through** for what Markdown lacks: a chip
|
|
@@ -67,6 +72,10 @@ A page that fits none starts from nothing: a `# ` title, then the page.
|
|
|
67
72
|
Never write chart SVG by hand.
|
|
68
73
|
- **How something is built or flows** is a diagram, a page of its own (`references/diagram.md`);
|
|
69
74
|
name both files when you hand them back.
|
|
75
|
+
- **A Word file** — when they need a .docx to send or submit — is the document as it is, edits
|
|
76
|
+
and all: `node $THURSDAY_SKILLS/artifact/scripts/document.mjs docx <name>` writes `<name>.docx`
|
|
77
|
+
beside the page. Run it after the last `put` or chart, and hand back both paths. The reader has
|
|
78
|
+
the same in the page's Export.
|
|
70
79
|
|
|
71
80
|
## Changing it
|
|
72
81
|
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# A sheet
|
|
2
|
+
|
|
3
|
+
Numbers people keep working on — a ledger, a list of clients, a budget, results by month — are a
|
|
4
|
+
sheet: a real `.xlsx` that opens in Excel, Numbers and Google Sheets, and a page beside it that
|
|
5
|
+
shows it in the app, with its tabs, sorting and filters on each column, and the sum of the cells
|
|
6
|
+
picked. `S=<skill dir>/scripts`
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
node $S/spreadsheet.mjs put <name> <scratch>/<name>.json # or a .csv, one sheet
|
|
10
|
+
node $S/spreadsheet.mjs shots <name> # look at it once
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Both land in `artifacts/<name>/`: hand back the page and the `.xlsx`.
|
|
14
|
+
|
|
15
|
+
## The workbook, written
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"title": "Q3 sales",
|
|
20
|
+
"sheets": [
|
|
21
|
+
{
|
|
22
|
+
"name": "Sales",
|
|
23
|
+
"columns": [
|
|
24
|
+
{ "name": "Date", "format": "yyyy-mm-dd" },
|
|
25
|
+
{ "name": "Client" },
|
|
26
|
+
{ "name": "Qty", "format": "#,##0" },
|
|
27
|
+
{ "name": "Price", "format": "\"$\"#,##0.00" },
|
|
28
|
+
{ "name": "Amount", "format": "\"$\"#,##0.00", "formula": "=C{r}*D{r}" }
|
|
29
|
+
],
|
|
30
|
+
"rows": [
|
|
31
|
+
["2026-07-02", "Hanbit", 40, 32.5, null],
|
|
32
|
+
["2026-07-03", "Gaon", 12, 58, null]
|
|
33
|
+
],
|
|
34
|
+
"totals": { "label": "Total", "Qty": "sum", "Amount": "sum" }
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "By client",
|
|
38
|
+
"columns": [
|
|
39
|
+
{ "name": "Client" },
|
|
40
|
+
{ "name": "Sales", "format": "\"$\"#,##0", "formula": "=SUMIF(Sales!B:B,A{r},Sales!E:E)" }
|
|
41
|
+
],
|
|
42
|
+
"rows": [["Hanbit"], ["Gaon"]]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
- **A row is a list of cells, one a column.** A number is a number (`32000`, never `"32,000"`),
|
|
49
|
+
text is text, an empty cell `null`. A date is written `"2026-07-02"` (`"2026-07-02 14:30"` with
|
|
50
|
+
a time) in a column whose `format` is a date's; there it is a date in Excel too — it sorts,
|
|
51
|
+
filters by month and works with `DATE`, `YEAR`, `MONTH`, `EOMONTH` and `SUMIFS` by range. In a
|
|
52
|
+
column without one it stays text.
|
|
53
|
+
- **A column worked out from others has a `formula`**, `{r}` standing for the row's own number;
|
|
54
|
+
its cells in `rows` are `null`. One cell of its own is `{ "f": "=…" }`. Formulas are Excel's,
|
|
55
|
+
and the file keeps them, so Excel works them out again when the user changes a number. What is
|
|
56
|
+
worked out here for the page: `+ - * / ^ & %`, comparisons, `SUM AVERAGE MIN MAX COUNT COUNTA
|
|
57
|
+
SUBTOTAL SUMIF COUNTIF AVERAGEIF SUMIFS COUNTIFS AVERAGEIFS ROUND ABS IF IFERROR AND OR NOT
|
|
58
|
+
CONCAT DATE YEAR MONTH DAY EOMONTH TODAY`, and another sheet's
|
|
59
|
+
cells as `Sheet!B2` (`'Two words'!B:B`). Anything else stops: work the value out yourself and
|
|
60
|
+
write it.
|
|
61
|
+
- **A summary of rows in the same workbook is a formula over them** — `SUMIF`, `COUNTIF`,
|
|
62
|
+
`AVERAGEIF` on the other sheet, as in "By client" above; by month, a first-of-month date in a
|
|
63
|
+
`yyyy-mm` column and `=SUMIFS(Sales!E:E,Sales!A:A,">="&A{r},Sales!A:A,"<"&EOMONTH(A{r},0)+1)` (before the next
|
|
64
|
+
month's first day, so a month's last evening counts) —
|
|
65
|
+
so it follows when a row changes; a number you worked out and typed in does not.
|
|
66
|
+
- **`totals`** adds a last row, bold, the first column holding `label`: `sum`, `average`,
|
|
67
|
+
`count`, `min` or `max` for the columns named. It counts only the rows a filter shows, in
|
|
68
|
+
Excel and in the page alike.
|
|
69
|
+
- **`format`** is how a column's numbers read, as an Excel code: `#,##0`, `#,##0.00`, `0`,
|
|
70
|
+
`0.0%` (a share: `0.25` reads `25.0%`), and a sign or a word before or after in quotes —
|
|
71
|
+
`"$"#,##0.00`, `#,##0"원"`, `"€"#,##0`. A second part after `;` is for negatives and a third for
|
|
72
|
+
zero, in `[Red]` if it helps: `#,##0;[Red]-#,##0`, `#,##0;(#,##0);"-"`. Dates: `yyyy-mm-dd`,
|
|
73
|
+
`yyyy-mm`, `d mmm yyyy`, `yyyy"년" m"월" d"일"`, `yyyy-mm-dd hh:mm`. The currency and the way a
|
|
74
|
+
date reads are the user's, from what they said or what they wrote; never assume one.
|
|
75
|
+
- **A sheet's `name`** is at most 31 characters, none of `[ ] : * ? / \`. Header row 1 is frozen
|
|
76
|
+
with a filter on it; widths fit the text unless a column gives `width` in characters.
|
|
77
|
+
- **Nothing invented**: a figure you do not have is an empty cell, and a note in your answer says
|
|
78
|
+
which.
|
|
79
|
+
|
|
80
|
+
## Receipts, and a bank's export
|
|
81
|
+
|
|
82
|
+
- **Receipts and invoices** they hand you — photos or PDFs — are one sheet, a row each: the date
|
|
83
|
+
(a `yyyy-mm-dd` column), where, what for (a category, the same words each time), the amount,
|
|
84
|
+
and the file's name. Look at each one: a photo with `look_at`, a PDF's text with
|
|
85
|
+
`node $THURSDAY_SKILLS/media-digest/scripts/text.mjs <file.pdf> --out <scratch>/<n>.txt`. A
|
|
86
|
+
figure you cannot read is an empty cell, named in your answer, never a guess. `totals` sums
|
|
87
|
+
the amounts; a second sheet by category is `SUMIF` over them, by month `SUMIFS`. Amounts in
|
|
88
|
+
more than one currency get a currency column and are summed a currency at a time (`SUMIFS` by
|
|
89
|
+
currency, no `totals` across them) — won and dollars are never added. Their files stay where
|
|
90
|
+
they are, as they are named.
|
|
91
|
+
- **A bank's or a card's export** is the CSV they downloaded; never sign in to their bank for it.
|
|
92
|
+
`read <file.csv>` prints its lines numbered and says which line it takes as the columns. When
|
|
93
|
+
it says the file is not UTF-8, give the likeliest `--encoding` for where the bank is; if its
|
|
94
|
+
words then do not read right, try the next. It also says what it could not take: a total under
|
|
95
|
+
the table (leave it out with `--until <the table's last line>`), or dates written day or month
|
|
96
|
+
first (`--dates dmy` for 03.07.2026, `--dates mdy` for 07/03/2026 — as the bank's country
|
|
97
|
+
writes them). Then add `--json <scratch>/<name>.json`: the table as put takes it, dates as
|
|
98
|
+
dates, amounts as numbers. Add a column there — a category for each row — and `put <name>`
|
|
99
|
+
that file; a budget by month and category is a second sheet of `SUMIFS` over it.
|
|
100
|
+
|
|
101
|
+
## Their own .xlsx, and changes
|
|
102
|
+
|
|
103
|
+
- **What a workbook holds**: `read <name | file.xlsx>` prints each sheet's size, first rows and
|
|
104
|
+
formulas; `--rows 50` shows more, `--csv <folder>` writes every sheet as a CSV to work on or to
|
|
105
|
+
chart (`chart.mjs`). A file the user gave you is read the same way; an `.xls` has to be saved
|
|
106
|
+
as `.xlsx` first.
|
|
107
|
+
- **Showing theirs in the app**: `view <file.xlsx> [--name <name>]` copies it into your folder
|
|
108
|
+
with a page beside it.
|
|
109
|
+
- **Changing a sheet**: `read <name> --json <scratch>/<name>.json` writes the workbook as it is now
|
|
110
|
+
— the user's changes in Excel or with **Edit** in the app, formats, formulas, totals — in the
|
|
111
|
+
form above. Change that file and `put <name> <it> --over`. Writing it again from what you wrote
|
|
112
|
+
before undoes their changes, which is why a `put` without `--over` stops once they changed it.
|
|
113
|
+
After they changed it in Excel, `view <name>` draws the page again from the file as it is.
|