@minimalcorp/tsunagi 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/apps/web/.next/BUILD_ID +1 -1
- package/.next/standalone/apps/web/.next/app-path-routes-manifest.json +1 -0
- package/.next/standalone/apps/web/.next/build-manifest.json +3 -3
- package/.next/standalone/apps/web/.next/prerender-manifest.json +27 -3
- package/.next/standalone/apps/web/.next/routes-manifest.json +6 -0
- package/.next/standalone/apps/web/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/apps/web/.next/server/app/_not-found.rsc +14 -14
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_full.segment.rsc +14 -14
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_index.segment.rsc +9 -9
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/apps/web/.next/server/app/index.html +1 -1
- package/.next/standalone/apps/web/.next/server/app/index.rsc +16 -16
- package/.next/standalone/apps/web/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/.next/standalone/apps/web/.next/server/app/index.segments/_full.segment.rsc +16 -16
- package/.next/standalone/apps/web/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/.next/standalone/apps/web/.next/server/app/index.segments/_index.segment.rsc +9 -9
- package/.next/standalone/apps/web/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer/page/app-paths-manifest.json +3 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer/page/build-manifest.json +17 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer/page/next-font-manifest.json +12 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer/page/react-loadable-manifest.json +1 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer/page/server-reference-manifest.json +4 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer/page.js +14 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer/page.js.map +5 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer/page.js.nft.json +1 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer/page_client-reference-manifest.js +3 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer.html +1 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer.meta +15 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer.rsc +28 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer.segments/_full.segment.rsc +28 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer.segments/_head.segment.rsc +6 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer.segments/_index.segment.rsc +10 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer.segments/_tree.segment.rsc +5 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer.segments/markdown-viewer/__PAGE__.segment.rsc +9 -0
- package/.next/standalone/apps/web/.next/server/app/markdown-viewer.segments/markdown-viewer.segment.rsc +5 -0
- package/.next/standalone/apps/web/.next/server/app/page/react-loadable-manifest.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings/page/react-loadable-manifest.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings.html +1 -1
- package/.next/standalone/apps/web/.next/server/app/settings.rsc +16 -16
- package/.next/standalone/apps/web/.next/server/app/settings.segments/_full.segment.rsc +16 -16
- package/.next/standalone/apps/web/.next/server/app/settings.segments/_head.segment.rsc +4 -4
- package/.next/standalone/apps/web/.next/server/app/settings.segments/_index.segment.rsc +9 -9
- package/.next/standalone/apps/web/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/apps/web/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +4 -4
- package/.next/standalone/apps/web/.next/server/app/settings.segments/settings.segment.rsc +3 -3
- package/.next/standalone/apps/web/.next/server/app/tasks/[id]/page/react-loadable-manifest.json +1 -2
- package/.next/standalone/apps/web/.next/server/app/tasks/[id]/page.js.nft.json +1 -1
- package/.next/standalone/apps/web/.next/server/app/tasks/[id]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/apps/web/.next/server/app-paths-manifest.json +1 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__06h91ni._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__07ir8.0._.js +4 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__09p7hm0._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0n5op75._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0.q7f2f._.js +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_04.w.oh._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_04axqa9._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_07_zuit._.js +14 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_09g76g-._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{_0~zpobw._.js → _09~za13._.js} +3 -7
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0bhzppc._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0blwgwn._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0cll8v8._.js +17 -17
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{_0d06z_9._.js → _0hdww-a._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0jni6or._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0k5f9qf._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0np.qvl._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0qzog40._.js +4 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0w7u0q3._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0w9ntug._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0~~3.hs._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{_0rj6v09._.js → _13khzdv._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/apps_web__next-internal_server_app_markdown-viewer_page_actions_0p~100j.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_app_tasks_[id]_page_tsx_0jshsm2._.js +8 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_components_TaskDialog_tsx_0n7-bxv._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_components_ui_popover_tsx_0rczjct._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0_e.5ij._.js → node_modules_0-up1v_._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_00bep8g._.js → node_modules_0-~_wk~._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0pek10d._.js → node_modules_003mlzf._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0nsk~wg._.js → node_modules_00b99sc._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0p4kkxj._.js → node_modules_00eztqm._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_03l6xk8._.js → node_modules_00n~.7n._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_01ec0_l._.js → node_modules_00y6709._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_088uler._.js → node_modules_01h~cvw._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0261cdq._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0m2ei5d._.js → node_modules_0268usp._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0e805wu._.js → node_modules_03alrmj._.js} +3 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_045hbp3._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0zhd.oc._.js → node_modules_05.bx4_._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0lyr8-2._.js → node_modules_053j8ar._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_11ezb-s._.js → node_modules_056_1~u._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0lvvzo4._.js → node_modules_07he0n-._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0cldkel._.js → node_modules_097mk3k._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0vnb_k7._.js → node_modules_0a5cfl6._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0~jg31l._.js → node_modules_0a6-.-0._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0ah8aks._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0dv-j~g._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_1361-47._.js → node_modules_0dzrws4._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0s5ryxm._.js → node_modules_0f-htdx._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0fgs5zq._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0ef084~._.js → node_modules_0g2b~5_._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0uruwej._.js → node_modules_0g3nk6x._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0.04ooy._.js → node_modules_0gvgpwu._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0h4i.-g._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_01zoxen._.js → node_modules_0hu7n9i._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0i7hbp4._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0g~702_._.js → node_modules_0il~~8v._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0mjiffy._.js → node_modules_0itc0n6._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0ix68ny._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0j61u92._.js +17 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_025yuyy._.js → node_modules_0k.dq-b._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0m8d9.a._.js +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0m_m3m8._.js +31 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0nuev6u._.js +26 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0aeoz80._.js → node_modules_0p7~v_w._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0q8gl61._.js +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_10pfv5l._.js → node_modules_0qs~6kd._.js} +2 -2
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0rc41g_._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0re409x._.js +11 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0r~l4xu._.js +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0t03q3z._.js +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0ukio7y._.js +17 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0hpd6s0._.js → node_modules_0um6htk._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0uty252._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0w48dnn._.js +17 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0wqs0oz._.js +17 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0xayg56._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0~0kvqg._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0sc~~sz._.js → node_modules_0~3zt1y._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0~_aizi._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0~gn9na._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0~y-je5._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_10lb8y6._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_10pjdxx._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_11gk354._.js +17 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_12y.94p._.js +17 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_138w8a6._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_13xa192._.js +45 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_katex_dist_katex_mjs_0en46.t._.js → node_modules_katex_dist_katex_mjs_0t6de-v._.js} +1 -1
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_katex_dist_katex_mjs_0ztitki._.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_search_0._g5ub.js +3 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0~r.rz7.js +4 -0
- package/.next/standalone/apps/web/.next/server/middleware-build-manifest.js +3 -3
- package/.next/standalone/apps/web/.next/server/next-font-manifest.js +1 -1
- package/.next/standalone/apps/web/.next/server/next-font-manifest.json +5 -0
- package/.next/standalone/apps/web/.next/server/pages/404.html +1 -1
- package/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
- package/.next/standalone/apps/web/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/apps/web/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/apps/web/.next/static/chunks/02-gy067206lc.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/0398i-pe-6u0~.js +2 -0
- package/.next/standalone/apps/web/.next/static/chunks/04--c8up~sqk-.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/04ts09agah6zz.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/05uw7d_x4q7u6.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/07-klt9o3r159.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/{13gwchcem.~ps.js → 07q_qdf~5zmp_.js} +1 -1
- package/.next/standalone/apps/web/.next/static/chunks/0arb4yt3sueu_.js +12 -0
- package/.next/standalone/apps/web/.next/static/chunks/0cu6puddmfnvq.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/0mj5z6qey54d8.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/0p2_~ljj6a0wp.js +6 -0
- package/.next/standalone/apps/web/.next/static/chunks/0p2tl8u0b5c~p.js +64 -0
- package/.next/standalone/apps/web/.next/static/chunks/0qdba10v5lgw7.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/0qx1dznn_ubg6.css +4 -0
- package/.next/standalone/apps/web/.next/static/chunks/0uc12yuf66_c5.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/11r-n44afrz33.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/125ye9jxq3rra.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/13236icoyxlr6.js +1 -0
- package/.next/standalone/apps/web/.next/static/chunks/15fqm50b4xacb.js +2 -0
- package/.next/standalone/apps/web/.next/static/chunks/16~l33qru0vtt.js +1 -0
- package/dist/prisma/migrations/20261128000000_add_tab_name/migration.sql +4 -0
- package/dist/prisma/migrations/20261128100000_add_tab_file_path/migration.sql +3 -0
- package/dist/prisma/schema.prisma +7 -1
- package/dist/server/generated/prisma/internal/class.js +4 -4
- package/dist/server/generated/prisma/internal/prismaNamespace.d.ts +3 -0
- package/dist/server/generated/prisma/internal/prismaNamespace.js +3 -0
- package/dist/server/generated/prisma/internal/prismaNamespaceBrowser.d.ts +3 -0
- package/dist/server/generated/prisma/internal/prismaNamespaceBrowser.js +3 -0
- package/dist/server/generated/prisma/models/Tab.d.ts +106 -1
- package/dist/server/index.js +2 -0
- package/dist/server/lib/agents/claude.js +6 -0
- package/dist/server/lib/agents/codex.js +12 -0
- package/dist/server/lib/agents/session-title.d.ts +4 -0
- package/dist/server/lib/agents/session-title.js +86 -0
- package/dist/server/lib/agents/types.d.ts +5 -0
- package/dist/server/lib/markdown-file.d.ts +23 -0
- package/dist/server/lib/markdown-file.js +63 -0
- package/dist/server/lib/repositories/task.d.ts +19 -1
- package/dist/server/lib/repositories/task.js +47 -2
- package/dist/server/lib/services/markdown-tab.d.ts +15 -0
- package/dist/server/lib/services/markdown-tab.js +35 -0
- package/dist/server/lib/services/task-service.d.ts +15 -3
- package/dist/server/lib/services/task-service.js +27 -0
- package/dist/server/routes/hooks.js +32 -2
- package/dist/server/routes/markdown.d.ts +7 -0
- package/dist/server/routes/markdown.js +221 -0
- package/dist/server/routes/mcp.js +81 -1
- package/dist/server/routes/tasks.js +45 -9
- package/npm-shrinkwrap.json +89 -127
- package/package.json +1 -1
- package/tsunagi-marketplace/.claude-plugin/marketplace.json +1 -1
- package/tsunagi-marketplace/codex/tsunagi-task.md +9 -0
- package/tsunagi-marketplace/plugins/tsunagi-plugin/.claude-plugin/plugin.json +2 -2
- package/tsunagi-marketplace/plugins/tsunagi-plugin/skills/markdown-viewer/SKILL.md +39 -0
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__02o_btn._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0_kp63e._.js +0 -4
- package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0vv~7-r._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0-oerzu._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0hl6ols._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0lhz24m._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0nrfrqx._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0pnf7yr._.js +0 -14
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0tgd956._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0uch298._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_0ws~-u4._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/_11t..8m._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_components_ui_input_tsx_10tfquc._.js +0 -3
- package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_mermaid_dist_mermaid_core_mjs_0tj-0va._.js +0 -3
- package/.next/standalone/apps/web/.next/static/chunks/05802kvs1cqcr.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/09-44q2ehlfn5.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/0cfusgl0ky7xi.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/0k40f3q-emtpq.js +0 -6
- package/.next/standalone/apps/web/.next/static/chunks/0ktirbf52ffil.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/0nucsyd1g6g0i.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/0x1o~ag8m099..js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/0ysco_95t7--c.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/10fqyxhxwwdyy.css +0 -4
- package/.next/standalone/apps/web/.next/static/chunks/10rc-051-t9os.js +0 -64
- package/.next/standalone/apps/web/.next/static/chunks/118_bra5qi4wn.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/11qlw_akft1w9.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/12kb1a2dj8aui.js +0 -12
- package/.next/standalone/apps/web/.next/static/chunks/14a_kjf4ixo5q.js +0 -1
- package/.next/standalone/apps/web/.next/static/chunks/14hrcuw3dhhuk.js +0 -1
- /package/.next/standalone/apps/web/.next/static/{-mqLehusDf48t-mahOUkk → WrhK-J3GbcBn9osdXYuto}/_buildManifest.js +0 -0
- /package/.next/standalone/apps/web/.next/static/{-mqLehusDf48t-mahOUkk → WrhK-J3GbcBn9osdXYuto}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/apps/web/.next/static/{-mqLehusDf48t-mahOUkk → WrhK-J3GbcBn9osdXYuto}/_ssgManifest.js +0 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { LocalFileError, resolveMarkdownFile } from '../lib/markdown-file.js';
|
|
2
|
+
import { openMarkdownTab } from '../lib/services/markdown-tab.js';
|
|
1
3
|
import { v4 as uuidv4 } from 'uuid';
|
|
2
4
|
import * as taskRepo from '../lib/repositories/task.js';
|
|
3
5
|
import * as worktreeManager from '../lib/worktree-manager.js';
|
|
4
6
|
import { ptyManager } from '../pty-manager.js';
|
|
5
|
-
import { listTasks, createTask, getTask, updateTask, deleteTask, validateNewTaskBranch, TaskServiceError, } from '../lib/services/task-service.js';
|
|
7
|
+
import { listTasks, createTask, getTask, updateTask, deleteTask, validateNewTaskBranch, renameTab, emitTabsChanged as emitTabsChangedFor, TaskServiceError, } from '../lib/services/task-service.js';
|
|
6
8
|
const CREATE_ERROR_STATUS = {
|
|
7
9
|
REPO_NOT_FOUND: 404,
|
|
8
10
|
BRANCH_DUPLICATE: 409,
|
|
@@ -341,13 +343,8 @@ export async function tasksRoutes(fastify) {
|
|
|
341
343
|
return reply.status(500).send({ error: 'Failed to mark task as read' });
|
|
342
344
|
}
|
|
343
345
|
});
|
|
344
|
-
// タブの増減を他の画面(ボード・詳細のサイドバー)に通知し、新しいタブの status
|
|
345
|
-
|
|
346
|
-
const emitTabsChanged = async (taskId) => {
|
|
347
|
-
const task = await taskRepo.getTask(taskId);
|
|
348
|
-
if (task)
|
|
349
|
-
io.emit('task:tabs-changed', { task });
|
|
350
|
-
};
|
|
346
|
+
// タブの増減を他の画面(ボード・詳細のサイドバー)に通知し、新しいタブの status 購読を始めさせる
|
|
347
|
+
const emitTabsChanged = (taskId) => emitTabsChangedFor(taskId, io);
|
|
351
348
|
// GET /tasks/:id/tabs
|
|
352
349
|
fastify.get('/tasks/:id/tabs', async (request, reply) => {
|
|
353
350
|
try {
|
|
@@ -368,6 +365,16 @@ export async function tasksRoutes(fastify) {
|
|
|
368
365
|
try {
|
|
369
366
|
const { id: taskId } = request.params;
|
|
370
367
|
const requested = request.body?.mode;
|
|
368
|
+
// Markdown Viewer タブ: PTY を持たない。同じファイルのタブがあれば再利用する
|
|
369
|
+
if (requested === 'markdown') {
|
|
370
|
+
const result = await openMarkdownTab(taskId, request.body?.filePath, { io });
|
|
371
|
+
if (!result) {
|
|
372
|
+
return reply.status(404).send({ error: 'Task not found' });
|
|
373
|
+
}
|
|
374
|
+
return reply
|
|
375
|
+
.status(result.reused ? 200 : 201)
|
|
376
|
+
.send({ data: { tab: result.tab, reused: result.reused } });
|
|
377
|
+
}
|
|
371
378
|
const mode = requested === 'terminal' || requested === 'codex'
|
|
372
379
|
? requested
|
|
373
380
|
: requested === 'local' || requested === 'ollama' || requested === 'lmstudio'
|
|
@@ -385,6 +392,9 @@ export async function tasksRoutes(fastify) {
|
|
|
385
392
|
return reply.status(201).send({ data: { tab: newTab } });
|
|
386
393
|
}
|
|
387
394
|
catch (error) {
|
|
395
|
+
if (error instanceof LocalFileError) {
|
|
396
|
+
return reply.status(error.statusCode).send({ error: error.message });
|
|
397
|
+
}
|
|
388
398
|
fastify.log.error(error, 'POST /tasks/:id/tabs error');
|
|
389
399
|
return reply.status(500).send({ error: 'Failed to create tab' });
|
|
390
400
|
}
|
|
@@ -393,13 +403,39 @@ export async function tasksRoutes(fastify) {
|
|
|
393
403
|
fastify.put('/tasks/:id/tabs/:tab_id', async (request, reply) => {
|
|
394
404
|
try {
|
|
395
405
|
const { id: taskId, tab_id } = request.params;
|
|
396
|
-
const
|
|
406
|
+
const { name, ...rest } = request.body ?? {};
|
|
407
|
+
const hasName = 'name' in (request.body ?? {});
|
|
408
|
+
// markdown タブの表示ファイル差し替え(相対リンク遷移)。タブ作成と同じ検証を通す
|
|
409
|
+
if (rest.filePath !== undefined) {
|
|
410
|
+
rest.filePath = (await resolveMarkdownFile(rest.filePath)).realPath;
|
|
411
|
+
}
|
|
412
|
+
let updatedTab = null;
|
|
413
|
+
if (Object.keys(rest).length > 0 || !hasName) {
|
|
414
|
+
updatedTab = await taskRepo.updateTab(taskId, tab_id, rest);
|
|
415
|
+
if (!updatedTab) {
|
|
416
|
+
return reply.status(404).send({ error: 'Tab not found' });
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
// name は検証して他の画面にも通知する(空文字・null で名前を外す)。他の項目の更新後に行い、
|
|
420
|
+
// 失敗した更新の途中で通知しない
|
|
421
|
+
if (hasName) {
|
|
422
|
+
updatedTab = await renameTab(tab_id, name, { io, taskId });
|
|
423
|
+
}
|
|
397
424
|
if (!updatedTab) {
|
|
398
425
|
return reply.status(404).send({ error: 'Tab not found' });
|
|
399
426
|
}
|
|
427
|
+
if (rest.filePath !== undefined)
|
|
428
|
+
await emitTabsChanged(taskId);
|
|
400
429
|
return reply.status(200).send({ data: { tab: updatedTab } });
|
|
401
430
|
}
|
|
402
431
|
catch (error) {
|
|
432
|
+
if (error instanceof TaskServiceError) {
|
|
433
|
+
const status = error.code === 'INVALID_TAB_NAME' ? 400 : 404;
|
|
434
|
+
return reply.status(status).send({ error: error.message });
|
|
435
|
+
}
|
|
436
|
+
if (error instanceof LocalFileError) {
|
|
437
|
+
return reply.status(error.statusCode).send({ error: error.message });
|
|
438
|
+
}
|
|
403
439
|
fastify.log.error(error, 'PUT /tasks/:id/tabs/:tab_id error');
|
|
404
440
|
return reply.status(500).send({ error: 'Failed to update tab' });
|
|
405
441
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minimalcorp/tsunagi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@minimalcorp/tsunagi",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.7.0",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE",
|
|
11
11
|
"os": [
|
|
12
12
|
"darwin",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"node_modules/@fastify/ajv-compiler": {
|
|
69
|
-
"version": "4.0.
|
|
70
|
-
"resolved": "https://registry.npmjs.org/@fastify/ajv-compiler/-/ajv-compiler-4.0.
|
|
71
|
-
"integrity": "sha512-
|
|
69
|
+
"version": "4.0.8",
|
|
70
|
+
"resolved": "https://registry.npmjs.org/@fastify/ajv-compiler/-/ajv-compiler-4.0.8.tgz",
|
|
71
|
+
"integrity": "sha512-xYcAFYoyP/NELMgj6I7LmMAmiqeXMal0wsM2SgueN9OyMr6bVKHomO9OxuStC7bIAEl4Z3JXBbDPwpXRp59NPQ==",
|
|
72
72
|
"funding": [
|
|
73
73
|
{
|
|
74
74
|
"type": "github",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
"node_modules/@fastify/ajv-compiler/node_modules/fast-uri": {
|
|
90
|
-
"version": "4.2.
|
|
91
|
-
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-4.2.
|
|
92
|
-
"integrity": "sha512-
|
|
90
|
+
"version": "4.2.4",
|
|
91
|
+
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-4.2.4.tgz",
|
|
92
|
+
"integrity": "sha512-ARrctoImibWG27hlPe0Gc93d6HwZBYipqd9QhnXyYzS101vKmqx2J/1R8kzhnnYTph0umtJqu9rqIuYtVDaAOg==",
|
|
93
93
|
"funding": [
|
|
94
94
|
{
|
|
95
95
|
"type": "github",
|
|
@@ -103,9 +103,9 @@
|
|
|
103
103
|
"license": "BSD-3-Clause"
|
|
104
104
|
},
|
|
105
105
|
"node_modules/@fastify/busboy": {
|
|
106
|
-
"version": "3.2.
|
|
107
|
-
"resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-3.2.
|
|
108
|
-
"integrity": "sha512-
|
|
106
|
+
"version": "3.2.6",
|
|
107
|
+
"resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-3.2.6.tgz",
|
|
108
|
+
"integrity": "sha512-UPXdyAMbz/gNvjS8HONpJR2TDaHM3wQKMtSRPFkoh2LTeRRtnm+ICVYKgBYkTwlPOVzDNynOd34EH8qapwfelQ==",
|
|
109
109
|
"license": "MIT"
|
|
110
110
|
},
|
|
111
111
|
"node_modules/@fastify/cors": {
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
"license": "MIT"
|
|
146
146
|
},
|
|
147
147
|
"node_modules/@fastify/error": {
|
|
148
|
-
"version": "4.
|
|
149
|
-
"resolved": "https://registry.npmjs.org/@fastify/error/-/error-4.
|
|
150
|
-
"integrity": "sha512-
|
|
148
|
+
"version": "4.3.0",
|
|
149
|
+
"resolved": "https://registry.npmjs.org/@fastify/error/-/error-4.3.0.tgz",
|
|
150
|
+
"integrity": "sha512-mtIdc4R7HnUMOuUDQgnJkEF+Omr2p3JrSSJ44+RME/eAQ5TqdDy5MvXAjze/RyVHhJckuJKkXnMhKfPmFMKqyA==",
|
|
151
151
|
"funding": [
|
|
152
152
|
{
|
|
153
153
|
"type": "github",
|
|
@@ -196,9 +196,9 @@
|
|
|
196
196
|
"license": "MIT"
|
|
197
197
|
},
|
|
198
198
|
"node_modules/@fastify/http-proxy": {
|
|
199
|
-
"version": "11.6.
|
|
200
|
-
"resolved": "https://registry.npmjs.org/@fastify/http-proxy/-/http-proxy-11.6.
|
|
201
|
-
"integrity": "sha512-
|
|
199
|
+
"version": "11.6.10",
|
|
200
|
+
"resolved": "https://registry.npmjs.org/@fastify/http-proxy/-/http-proxy-11.6.10.tgz",
|
|
201
|
+
"integrity": "sha512-yJs06j9uH0xeNvz1QvHTzi4+XyAJ4negE7xAljqIzFtXf7n/fKyr6V1U14Pmdlw7sve3yOqwK5yL+C9wncZ30w==",
|
|
202
202
|
"funding": [
|
|
203
203
|
{
|
|
204
204
|
"type": "github",
|
|
@@ -237,9 +237,9 @@
|
|
|
237
237
|
}
|
|
238
238
|
},
|
|
239
239
|
"node_modules/@fastify/multipart": {
|
|
240
|
-
"version": "10.1.
|
|
241
|
-
"resolved": "https://registry.npmjs.org/@fastify/multipart/-/multipart-10.1.
|
|
242
|
-
"integrity": "sha512-
|
|
240
|
+
"version": "10.1.9",
|
|
241
|
+
"resolved": "https://registry.npmjs.org/@fastify/multipart/-/multipart-10.1.9.tgz",
|
|
242
|
+
"integrity": "sha512-zAQfAo9m9e6uENaPsYuNgcNptxn9DgQnASZXgNK9gQwJVP6IdV2rBGPLc6Y8SSAYWoWoCFhya5OajO8QD5fKOQ==",
|
|
243
243
|
"funding": [
|
|
244
244
|
{
|
|
245
245
|
"type": "github",
|
|
@@ -260,9 +260,9 @@
|
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
262
|
"node_modules/@fastify/proxy-addr": {
|
|
263
|
-
"version": "5.1.
|
|
264
|
-
"resolved": "https://registry.npmjs.org/@fastify/proxy-addr/-/proxy-addr-5.1.
|
|
265
|
-
"integrity": "sha512-
|
|
263
|
+
"version": "5.1.3",
|
|
264
|
+
"resolved": "https://registry.npmjs.org/@fastify/proxy-addr/-/proxy-addr-5.1.3.tgz",
|
|
265
|
+
"integrity": "sha512-ptgIgB+abBNTs5lsKNvFaKMCauPaTOE6ZIjxJr3FxCLehmYQQKYGg4srwwNICR9QQlFrYw59jWAo+i9GalVCaw==",
|
|
266
266
|
"funding": [
|
|
267
267
|
{
|
|
268
268
|
"type": "github",
|
|
@@ -280,9 +280,9 @@
|
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
282
|
"node_modules/@fastify/reply-from": {
|
|
283
|
-
"version": "12.
|
|
284
|
-
"resolved": "https://registry.npmjs.org/@fastify/reply-from/-/reply-from-12.
|
|
285
|
-
"integrity": "sha512-
|
|
283
|
+
"version": "12.9.1",
|
|
284
|
+
"resolved": "https://registry.npmjs.org/@fastify/reply-from/-/reply-from-12.9.1.tgz",
|
|
285
|
+
"integrity": "sha512-hUM97W/zwETR8je0iqNyv6aJ/9AyhWC5A35wjg98f32C1U2/xHfjMV7U9H4dzz9L99lz1YJvQ/KuslqY2hQPGw==",
|
|
286
286
|
"funding": [
|
|
287
287
|
{
|
|
288
288
|
"type": "github",
|
|
@@ -305,9 +305,9 @@
|
|
|
305
305
|
}
|
|
306
306
|
},
|
|
307
307
|
"node_modules/@hono/node-server": {
|
|
308
|
-
"version": "2.1.
|
|
309
|
-
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.
|
|
310
|
-
"integrity": "sha512-
|
|
308
|
+
"version": "2.1.11",
|
|
309
|
+
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.11.tgz",
|
|
310
|
+
"integrity": "sha512-KzKz9vl4vvr1vgLHamj+g5uonbrj5NwAdO3yzOS6cd2HjALVeOgTgeZOyAzNxejbkfOOPIcvuf/Tg8l1pEFLog==",
|
|
311
311
|
"license": "MIT",
|
|
312
312
|
"engines": {
|
|
313
313
|
"node": ">=20"
|
|
@@ -1192,18 +1192,18 @@
|
|
|
1192
1192
|
"license": "MIT"
|
|
1193
1193
|
},
|
|
1194
1194
|
"node_modules/@types/node": {
|
|
1195
|
-
"version": "26.6.
|
|
1196
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.
|
|
1197
|
-
"integrity": "sha512-
|
|
1195
|
+
"version": "26.6.10",
|
|
1196
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.10.tgz",
|
|
1197
|
+
"integrity": "sha512-WJuPHoGB8WNQuTksNF7SOQpnH02PXeDYz4iueWbBT6/hTWnShY5F3T/hoJA3fY9+uYReDZ7pyTKKx83jQa7aGg==",
|
|
1198
1198
|
"license": "MIT",
|
|
1199
1199
|
"dependencies": {
|
|
1200
1200
|
"undici-types": "~8.9.0"
|
|
1201
1201
|
}
|
|
1202
1202
|
},
|
|
1203
1203
|
"node_modules/@types/react": {
|
|
1204
|
-
"version": "19.3.
|
|
1205
|
-
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.
|
|
1206
|
-
"integrity": "sha512-
|
|
1204
|
+
"version": "19.3.2",
|
|
1205
|
+
"resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.2.tgz",
|
|
1206
|
+
"integrity": "sha512-0QJbb58RxWJL3VAa5tvk7QhJamz0S+MpFL2xDuF/+THRR+kldyhPjRZ1iwvK45AEHZ1BVGS3otPsl7QlNVRizQ==",
|
|
1207
1207
|
"license": "MIT",
|
|
1208
1208
|
"dependencies": {
|
|
1209
1209
|
"csstype": "^3.2.2"
|
|
@@ -1696,9 +1696,9 @@
|
|
|
1696
1696
|
}
|
|
1697
1697
|
},
|
|
1698
1698
|
"node_modules/csstype": {
|
|
1699
|
-
"version": "3.2.
|
|
1700
|
-
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.
|
|
1701
|
-
"integrity": "sha512-
|
|
1699
|
+
"version": "3.2.4",
|
|
1700
|
+
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.4.tgz",
|
|
1701
|
+
"integrity": "sha512-PoKaoPzQapnEoqUSnHx1u6W6ku8CVEgKsnpmmzU3m1nwkidpPBQ8V/Zq2+bWNrsOKoKLwTGdbx6xF7BXP1zLVQ==",
|
|
1702
1702
|
"license": "MIT"
|
|
1703
1703
|
},
|
|
1704
1704
|
"node_modules/d3-array": {
|
|
@@ -2041,9 +2041,9 @@
|
|
|
2041
2041
|
}
|
|
2042
2042
|
},
|
|
2043
2043
|
"node_modules/engine.io": {
|
|
2044
|
-
"version": "6.6.
|
|
2045
|
-
"resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.
|
|
2046
|
-
"integrity": "sha512-
|
|
2044
|
+
"version": "6.6.13",
|
|
2045
|
+
"resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.13.tgz",
|
|
2046
|
+
"integrity": "sha512-KoGsH77uceU1N1dyTEYgHTsEk9aEpwraBlzGtgph/OiCX5v3S27h/uwqKi8K2QLxWNoHDKWE/jW0bWbQrwwSmQ==",
|
|
2047
2047
|
"license": "MIT",
|
|
2048
2048
|
"dependencies": {
|
|
2049
2049
|
"@types/cors": "^2.8.12",
|
|
@@ -2054,7 +2054,7 @@
|
|
|
2054
2054
|
"cors": "~2.8.5",
|
|
2055
2055
|
"debug": "~4.4.1",
|
|
2056
2056
|
"engine.io-parser": "~5.2.1",
|
|
2057
|
-
"ws": "
|
|
2057
|
+
"ws": "^8.23.0"
|
|
2058
2058
|
},
|
|
2059
2059
|
"engines": {
|
|
2060
2060
|
"node": ">=10.2.0"
|
|
@@ -2112,27 +2112,6 @@
|
|
|
2112
2112
|
"node": ">= 0.6"
|
|
2113
2113
|
}
|
|
2114
2114
|
},
|
|
2115
|
-
"node_modules/engine.io/node_modules/ws": {
|
|
2116
|
-
"version": "8.21.3",
|
|
2117
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz",
|
|
2118
|
-
"integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==",
|
|
2119
|
-
"license": "MIT",
|
|
2120
|
-
"engines": {
|
|
2121
|
-
"node": ">=10.0.0"
|
|
2122
|
-
},
|
|
2123
|
-
"peerDependencies": {
|
|
2124
|
-
"bufferutil": "^4.0.1",
|
|
2125
|
-
"utf-8-validate": ">=5.0.2"
|
|
2126
|
-
},
|
|
2127
|
-
"peerDependenciesMeta": {
|
|
2128
|
-
"bufferutil": {
|
|
2129
|
-
"optional": true
|
|
2130
|
-
},
|
|
2131
|
-
"utf-8-validate": {
|
|
2132
|
-
"optional": true
|
|
2133
|
-
}
|
|
2134
|
-
}
|
|
2135
|
-
},
|
|
2136
2115
|
"node_modules/env-paths": {
|
|
2137
2116
|
"version": "3.0.0",
|
|
2138
2117
|
"resolved": "https://registry.npmjs.org/env-paths/-/env-paths-3.0.0.tgz",
|
|
@@ -2255,9 +2234,9 @@
|
|
|
2255
2234
|
}
|
|
2256
2235
|
},
|
|
2257
2236
|
"node_modules/express-rate-limit": {
|
|
2258
|
-
"version": "8.7.
|
|
2259
|
-
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.
|
|
2260
|
-
"integrity": "sha512-
|
|
2237
|
+
"version": "8.7.5",
|
|
2238
|
+
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.5.tgz",
|
|
2239
|
+
"integrity": "sha512-wi+v38cx2EqD0JnhE/e74o5tFqKWUOAPFJIgyEiqJ8v2MNpoOAA3kI2hXYOI+YM+HE5yqbdAlVxm2GqOIeYOgA==",
|
|
2261
2240
|
"license": "MIT",
|
|
2262
2241
|
"dependencies": {
|
|
2263
2242
|
"debug": "^4.4.3",
|
|
@@ -2343,9 +2322,9 @@
|
|
|
2343
2322
|
"license": "MIT"
|
|
2344
2323
|
},
|
|
2345
2324
|
"node_modules/fast-json-stringify": {
|
|
2346
|
-
"version": "7.3.
|
|
2347
|
-
"resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-7.3.
|
|
2348
|
-
"integrity": "sha512-
|
|
2325
|
+
"version": "7.3.10",
|
|
2326
|
+
"resolved": "https://registry.npmjs.org/fast-json-stringify/-/fast-json-stringify-7.3.10.tgz",
|
|
2327
|
+
"integrity": "sha512-M8P1gBHMWlGzjHgRmZDCjAo+c50yjtG91Ej3CWmG2L8cX8Z5Ast5+vniZWvfyqKjfwrs85AiKisk4ADs6E6SkA==",
|
|
2349
2328
|
"funding": [
|
|
2350
2329
|
{
|
|
2351
2330
|
"type": "github",
|
|
@@ -2367,9 +2346,9 @@
|
|
|
2367
2346
|
}
|
|
2368
2347
|
},
|
|
2369
2348
|
"node_modules/fast-json-stringify/node_modules/fast-uri": {
|
|
2370
|
-
"version": "4.2.
|
|
2371
|
-
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-4.2.
|
|
2372
|
-
"integrity": "sha512-
|
|
2349
|
+
"version": "4.2.4",
|
|
2350
|
+
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-4.2.4.tgz",
|
|
2351
|
+
"integrity": "sha512-ARrctoImibWG27hlPe0Gc93d6HwZBYipqd9QhnXyYzS101vKmqx2J/1R8kzhnnYTph0umtJqu9rqIuYtVDaAOg==",
|
|
2373
2352
|
"funding": [
|
|
2374
2353
|
{
|
|
2375
2354
|
"type": "github",
|
|
@@ -2510,9 +2489,9 @@
|
|
|
2510
2489
|
}
|
|
2511
2490
|
},
|
|
2512
2491
|
"node_modules/find-my-way": {
|
|
2513
|
-
"version": "9.10.
|
|
2514
|
-
"resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-9.10.
|
|
2515
|
-
"integrity": "sha512-
|
|
2492
|
+
"version": "9.10.2",
|
|
2493
|
+
"resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-9.10.2.tgz",
|
|
2494
|
+
"integrity": "sha512-gbLMuTm2FV5QiRh/eM0uhL4nyOvbSqqa2K3mASAtkIqxvY8ZmoLOCLMd2syLWT/SyhrvOR7GPxOKj/kcV6o8bg==",
|
|
2516
2495
|
"license": "MIT",
|
|
2517
2496
|
"dependencies": {
|
|
2518
2497
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -2694,9 +2673,9 @@
|
|
|
2694
2673
|
}
|
|
2695
2674
|
},
|
|
2696
2675
|
"node_modules/hono": {
|
|
2697
|
-
"version": "4.13.
|
|
2698
|
-
"resolved": "https://registry.npmjs.org/hono/-/hono-4.13.
|
|
2699
|
-
"integrity": "sha512-
|
|
2676
|
+
"version": "4.13.22",
|
|
2677
|
+
"resolved": "https://registry.npmjs.org/hono/-/hono-4.13.22.tgz",
|
|
2678
|
+
"integrity": "sha512-wncKd5/40Pj8grx0RZ2fgNIicFEmVFwIHT5UFLTnphR8I6AQWFf9c2JoM6ZJ9g8y4pMzg3sNlCVNe0m2Yclg0Q==",
|
|
2700
2679
|
"license": "MIT",
|
|
2701
2680
|
"engines": {
|
|
2702
2681
|
"node": ">=16.9.0"
|
|
@@ -2859,18 +2838,18 @@
|
|
|
2859
2838
|
}
|
|
2860
2839
|
},
|
|
2861
2840
|
"node_modules/jose": {
|
|
2862
|
-
"version": "6.2.
|
|
2863
|
-
"resolved": "https://registry.npmjs.org/jose/-/jose-6.2.
|
|
2864
|
-
"integrity": "sha512-
|
|
2841
|
+
"version": "6.2.18",
|
|
2842
|
+
"resolved": "https://registry.npmjs.org/jose/-/jose-6.2.18.tgz",
|
|
2843
|
+
"integrity": "sha512-doV4thUwgkrycJH4yLeqwTGIIZphHl+pk7CPReuMIhYhncmgzdko85MaCG4YQFTxqMFr1/oEH32tZuKKovcDEg==",
|
|
2865
2844
|
"license": "MIT",
|
|
2866
2845
|
"funding": {
|
|
2867
2846
|
"url": "https://github.com/sponsors/panva"
|
|
2868
2847
|
}
|
|
2869
2848
|
},
|
|
2870
2849
|
"node_modules/js-base64": {
|
|
2871
|
-
"version": "3.9.
|
|
2872
|
-
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.9.
|
|
2873
|
-
"integrity": "sha512-
|
|
2850
|
+
"version": "3.9.7",
|
|
2851
|
+
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.9.7.tgz",
|
|
2852
|
+
"integrity": "sha512-UT2XYOCbXOXYoymbytretRDFnb6E6vYPqC1blehA/alnG6vRC0mNTQ6ijXYAPtiCG9o1FDNJXJvQtCwbChFDRQ==",
|
|
2874
2853
|
"license": "BSD-3-Clause"
|
|
2875
2854
|
},
|
|
2876
2855
|
"node_modules/json-schema-ref-resolver": {
|
|
@@ -2935,9 +2914,9 @@
|
|
|
2935
2914
|
}
|
|
2936
2915
|
},
|
|
2937
2916
|
"node_modules/light-my-request": {
|
|
2938
|
-
"version": "6.8.
|
|
2939
|
-
"resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-6.8.
|
|
2940
|
-
"integrity": "sha512-
|
|
2917
|
+
"version": "6.8.1",
|
|
2918
|
+
"resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-6.8.1.tgz",
|
|
2919
|
+
"integrity": "sha512-20biUK0HAIPG9BZOK3/4s8uVAkAoi1+qW55lciHZCR0puTWipBgyMPEUjqXDWLjsZeqfO6DGsuwW5eyfsTGtyg==",
|
|
2941
2920
|
"funding": [
|
|
2942
2921
|
{
|
|
2943
2922
|
"type": "github",
|
|
@@ -3187,9 +3166,9 @@
|
|
|
3187
3166
|
}
|
|
3188
3167
|
},
|
|
3189
3168
|
"node_modules/object-inspect": {
|
|
3190
|
-
"version": "1.
|
|
3191
|
-
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.
|
|
3192
|
-
"integrity": "sha512-
|
|
3169
|
+
"version": "1.14.0",
|
|
3170
|
+
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.14.0.tgz",
|
|
3171
|
+
"integrity": "sha512-IVgHNlp/jwQX271+Xzoq9LZNTWXxZK+cEOrGBOBxXNbn7fapnZ+Ts6TVMgNOuAezwG2wdtnMX97tTPK6VEnuOQ==",
|
|
3193
3172
|
"license": "MIT",
|
|
3194
3173
|
"engines": {
|
|
3195
3174
|
"node": ">= 0.4"
|
|
@@ -3336,9 +3315,9 @@
|
|
|
3336
3315
|
"license": "MIT"
|
|
3337
3316
|
},
|
|
3338
3317
|
"node_modules/pkce-challenge": {
|
|
3339
|
-
"version": "5.0.
|
|
3340
|
-
"resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.
|
|
3341
|
-
"integrity": "sha512-
|
|
3318
|
+
"version": "5.0.2",
|
|
3319
|
+
"resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.2.tgz",
|
|
3320
|
+
"integrity": "sha512-vCc54+qyIfKC5e2UN28AZKElwqjLINgiIV3RKI8pDu93TjaAJoB3QrgMzEBouy8yOKsXVXdAinO1QArJf9x5WA==",
|
|
3342
3321
|
"license": "MIT",
|
|
3343
3322
|
"engines": {
|
|
3344
3323
|
"node": ">=16.20.0"
|
|
@@ -3638,9 +3617,9 @@
|
|
|
3638
3617
|
"license": "Unlicense"
|
|
3639
3618
|
},
|
|
3640
3619
|
"node_modules/router": {
|
|
3641
|
-
"version": "2.
|
|
3642
|
-
"resolved": "https://registry.npmjs.org/router/-/router-2.
|
|
3643
|
-
"integrity": "sha512-
|
|
3620
|
+
"version": "2.3.0",
|
|
3621
|
+
"resolved": "https://registry.npmjs.org/router/-/router-2.3.0.tgz",
|
|
3622
|
+
"integrity": "sha512-bpowRfGjEPe8t9R6fJIzhwmyCGAXwKvxBUsgJm+bJukwdcWmUXbMo7p22w7aYmQBPQTUMNqMV39YX0kMou3z8w==",
|
|
3644
3623
|
"license": "MIT",
|
|
3645
3624
|
"dependencies": {
|
|
3646
3625
|
"debug": "^4.4.0",
|
|
@@ -3651,6 +3630,10 @@
|
|
|
3651
3630
|
},
|
|
3652
3631
|
"engines": {
|
|
3653
3632
|
"node": ">= 18"
|
|
3633
|
+
},
|
|
3634
|
+
"funding": {
|
|
3635
|
+
"type": "opencollective",
|
|
3636
|
+
"url": "https://opencollective.com/express"
|
|
3654
3637
|
}
|
|
3655
3638
|
},
|
|
3656
3639
|
"node_modules/run-applescript": {
|
|
@@ -3776,9 +3759,9 @@
|
|
|
3776
3759
|
}
|
|
3777
3760
|
},
|
|
3778
3761
|
"node_modules/set-cookie-parser": {
|
|
3779
|
-
"version": "3.2.
|
|
3780
|
-
"resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-3.2.
|
|
3781
|
-
"integrity": "sha512-
|
|
3762
|
+
"version": "3.2.3",
|
|
3763
|
+
"resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-3.2.3.tgz",
|
|
3764
|
+
"integrity": "sha512-bDO7NdAkLprNt3BNl3LAh0oVnOS5+WspzxOxiboo7vRIyTqj2pvFmNWYEFynSGQgpJ+7yG/9nc/aSG20UDBUpg==",
|
|
3782
3765
|
"license": "MIT"
|
|
3783
3766
|
},
|
|
3784
3767
|
"node_modules/setprototypeof": {
|
|
@@ -3927,34 +3910,13 @@
|
|
|
3927
3910
|
}
|
|
3928
3911
|
},
|
|
3929
3912
|
"node_modules/socket.io-adapter": {
|
|
3930
|
-
"version": "2.5.
|
|
3931
|
-
"resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.
|
|
3932
|
-
"integrity": "sha512-
|
|
3913
|
+
"version": "2.5.9",
|
|
3914
|
+
"resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.9.tgz",
|
|
3915
|
+
"integrity": "sha512-SEuWaysGaqPiGApa6nvwVI5u/7k0U6em6XF4A4RbR8GY1kZUbNDAzw6v9HK/cZ0UQFcdayjLjBYxKjaB1/yPQw==",
|
|
3933
3916
|
"license": "MIT",
|
|
3934
3917
|
"dependencies": {
|
|
3935
3918
|
"debug": "~4.4.1",
|
|
3936
|
-
"ws": "
|
|
3937
|
-
}
|
|
3938
|
-
},
|
|
3939
|
-
"node_modules/socket.io-adapter/node_modules/ws": {
|
|
3940
|
-
"version": "8.21.3",
|
|
3941
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz",
|
|
3942
|
-
"integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==",
|
|
3943
|
-
"license": "MIT",
|
|
3944
|
-
"engines": {
|
|
3945
|
-
"node": ">=10.0.0"
|
|
3946
|
-
},
|
|
3947
|
-
"peerDependencies": {
|
|
3948
|
-
"bufferutil": "^4.0.1",
|
|
3949
|
-
"utf-8-validate": ">=5.0.2"
|
|
3950
|
-
},
|
|
3951
|
-
"peerDependenciesMeta": {
|
|
3952
|
-
"bufferutil": {
|
|
3953
|
-
"optional": true
|
|
3954
|
-
},
|
|
3955
|
-
"utf-8-validate": {
|
|
3956
|
-
"optional": true
|
|
3957
|
-
}
|
|
3919
|
+
"ws": "^8.23.0"
|
|
3958
3920
|
}
|
|
3959
3921
|
},
|
|
3960
3922
|
"node_modules/socket.io-parser": {
|
|
@@ -4032,9 +3994,9 @@
|
|
|
4032
3994
|
}
|
|
4033
3995
|
},
|
|
4034
3996
|
"node_modules/sql-escaper": {
|
|
4035
|
-
"version": "1.
|
|
4036
|
-
"resolved": "https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.
|
|
4037
|
-
"integrity": "sha512-
|
|
3997
|
+
"version": "1.9.1",
|
|
3998
|
+
"resolved": "https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.9.1.tgz",
|
|
3999
|
+
"integrity": "sha512-4p522TVYaJXTbMlYgAwacjyg3EJyYe9KYWYlYJVwZG1YjtzxU5m5iSzsZoGI69Po7j3i/2tKlpZQi7uvhTL+WA==",
|
|
4038
4000
|
"license": "MIT",
|
|
4039
4001
|
"engines": {
|
|
4040
4002
|
"bun": ">=1.0.0",
|
package/package.json
CHANGED
|
@@ -98,6 +98,15 @@ subagentの返却を受けた後、メインセッションの役割:
|
|
|
98
98
|
ファイルシステム上に計画ファイルを作成しない。
|
|
99
99
|
`planning` 完了時点で `description` は完成していること。`coding` 中に計画変更があれば随時更新する。
|
|
100
100
|
|
|
101
|
+
## 手順書・チェックリストを Markdown で書いた時(Markdown Viewer)
|
|
102
|
+
|
|
103
|
+
ユーザーが読んだり手作業で進めたりする Markdown ファイル(手順書・runbook・チェックリスト・作業計画等)を書き出したら、tsunagi の Markdown Viewer で開く。リポジトリの成果物(README 等)や、tsunagi タスクの実装計画(`description` に書く)には使わない。
|
|
104
|
+
|
|
105
|
+
- GitHub Flavored Markdown で書く。手作業の手順はタスクリスト `- [ ] 手順`、区切りは `##` 見出し、注意書きは `> [!NOTE]` / `> [!WARNING]` 等の alert、流れは ` ```mermaid ` の図
|
|
106
|
+
- 書き出したら絶対パスで `tsunagi_open_markdown`(`path` + `session_id` か `cwd`)を呼ぶ。タスク詳細に Markdown タブが開く(表示中タブは切り替わらず未読ドットが付く)
|
|
107
|
+
- 返却された `viewerUrl` もユーザーに提示する
|
|
108
|
+
- ユーザーが Viewer でチェックした結果はファイルに保存される。進捗の確認や続きの作業の前にファイルを読み直す
|
|
109
|
+
|
|
101
110
|
## よくある間違い
|
|
102
111
|
|
|
103
112
|
| ❌ 誤り | ✅ 正しい | 備考 |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsunagi-plugin",
|
|
3
|
-
"version": "1.0
|
|
4
|
-
"description": "tsunagiサーバーへClaude CLIイベントを転送し、MCP
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "tsunagiサーバーへClaude CLIイベントを転送し、MCPサーバーとタスク管理・Markdown Viewer スキルを提供する",
|
|
5
5
|
"hooks": {
|
|
6
6
|
"SessionStart": [
|
|
7
7
|
{
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: markdown-viewer
|
|
3
|
+
description: 手順書・チェックリスト・作業計画など、ユーザーが読んだり手作業で進めたりする Markdown ファイルを作成・更新した時に使う。tsunagi の Markdown Viewer(GFM のタスクリスト・mermaid・alert 対応、チェックはファイルへ書き戻し)をタスク詳細のタブとして開き、URL を提示する。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## いつ使うか
|
|
7
|
+
|
|
8
|
+
ユーザー向けの Markdown ファイル(手順書・runbook・チェックリスト・作業計画・調査メモ等)を**ファイルとして書き出した直後**、または内容を大きく更新した時。
|
|
9
|
+
|
|
10
|
+
- コード中の README やドキュメント修正のような「リポジトリの成果物」には使わない(ユーザーが求めた場合を除く)
|
|
11
|
+
- tsunagi タスクの実装計画は従来どおり `tsunagi_update_task` の `description` に書く(ファイルは作らない)
|
|
12
|
+
|
|
13
|
+
## 書き方
|
|
14
|
+
|
|
15
|
+
GitHub Flavored Markdown で書く。Viewer は以下を表示できる。
|
|
16
|
+
|
|
17
|
+
- 手作業の手順は**タスクリスト**にする: `- [ ] 手順`(ユーザーが Viewer でチェックすると元ファイルの `[ ]` が `[x]` に書き換わる)
|
|
18
|
+
- 見出し `##` で手順を区切る(Viewer の目次とセクション別進捗になる)
|
|
19
|
+
- 注意書きは alert: `> [!NOTE]` / `> [!TIP]` / `> [!IMPORTANT]` / `> [!WARNING]` / `> [!CAUTION]`
|
|
20
|
+
- 流れや構成は ` ```mermaid ` で図にする(Viewer 内でパン・ズームできる)
|
|
21
|
+
- コマンドはコードブロック、比較は表
|
|
22
|
+
- 画像・他の .md へのリンクは相対パスで書ける
|
|
23
|
+
|
|
24
|
+
## 開き方
|
|
25
|
+
|
|
26
|
+
1. ファイルを書き出したら、絶対パスで `tsunagi_open_markdown` を呼ぶ
|
|
27
|
+
- 現在のタスクの指定は `tsunagi-task` skill と同じ(`session_id` に環境変数 `TSUNAGI_SESSION_ID`、無ければ `cwd`)
|
|
28
|
+
- 同じファイルのタブがあれば再利用される。ユーザーの表示中タブは切り替わらず、タブに未読ドットが付く
|
|
29
|
+
2. 返却された `viewerUrl` をユーザーに提示する(ターミナルからクリックで単体ページを開ける)
|
|
30
|
+
|
|
31
|
+
`tsunagi_open_markdown` が使えない環境では、次の URL を提示する(パスは URL エンコードする):
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
http://localhost:${TSUNAGI_SERVER_PORT:-2791}/markdown-viewer?path=<絶対パス>
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## 進捗の扱い
|
|
38
|
+
|
|
39
|
+
ユーザーが Viewer でチェックした結果はファイルに保存される。進捗を確認・報告する時、続きの作業をする時は**ファイルを読み直してから**判断する(記憶している内容は古い可能性がある)。ファイルを編集すると Viewer に自動で反映される。
|