sparkecoder 0.1.97 → 0.1.99
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/dist/agent/index.d.ts +3 -3
- package/dist/agent/index.js +1258 -59
- package/dist/agent/index.js.map +1 -1
- package/dist/cli.js +10657 -8949
- package/dist/cli.js.map +1 -1
- package/dist/db/index.d.ts +2 -2
- package/dist/{index-BvIissiB.d.ts → index-D5l-DMGC.d.ts} +390 -6
- package/dist/index.d.ts +5 -5
- package/dist/index.js +9985 -8069
- package/dist/index.js.map +1 -1
- package/dist/{schema-CohdIL13.d.ts → schema-ecQSnCMz.d.ts} +41 -0
- package/dist/server/index.js +8615 -6707
- package/dist/server/index.js.map +1 -1
- package/dist/skills/default/manage-mcp.md +94 -0
- package/dist/skills/default/search-conversations.md +100 -0
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.js +111 -2
- package/dist/tools/index.js.map +1 -1
- package/package.json +5 -1
- package/src/skills/default/manage-mcp.md +94 -0
- package/src/skills/default/search-conversations.md +100 -0
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/web/.next/app-path-routes-manifest.json +2 -1
- package/web/.next/standalone/web/.next/build-manifest.json +5 -5
- package/web/.next/standalone/web/.next/prerender-manifest.json +51 -3
- package/web/.next/standalone/web/.next/routes-manifest.json +13 -24
- package/web/.next/standalone/web/.next/server/app/(main)/agents/page/app-paths-manifest.json +3 -0
- package/web/.next/standalone/web/.next/server/app/{embed/[id] → (main)/agents}/page/build-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/(main)/agents/page/next-font-manifest.json +11 -0
- package/web/.next/standalone/web/.next/server/app/{embed/[id] → (main)/agents}/page.js +7 -6
- package/web/.next/standalone/web/.next/server/app/(main)/agents/page.js.nft.json +1 -0
- package/web/.next/standalone/web/.next/server/app/(main)/agents/page_client-reference-manifest.js +2 -0
- package/web/.next/standalone/web/.next/server/app/(main)/page/build-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/(main)/page/next-font-manifest.json +2 -2
- package/web/.next/standalone/web/.next/server/app/(main)/page.js.nft.json +1 -1
- package/web/.next/standalone/web/.next/server/app/(main)/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/app/(main)/session/[id]/page/build-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/(main)/session/[id]/page/next-font-manifest.json +2 -2
- package/web/.next/standalone/web/.next/server/app/(main)/session/[id]/page.js.nft.json +1 -1
- package/web/.next/standalone/web/.next/server/app/(main)/session/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/app/(main)/settings/page/app-paths-manifest.json +3 -0
- package/web/.next/standalone/web/.next/server/app/(main)/settings/page/build-manifest.json +18 -0
- package/web/.next/standalone/web/.next/server/app/(main)/settings/page/next-font-manifest.json +11 -0
- package/web/.next/standalone/web/.next/server/app/(main)/settings/page/react-loadable-manifest.json +1 -0
- package/web/.next/standalone/web/.next/server/app/(main)/settings/page/server-reference-manifest.json +4 -0
- package/web/.next/standalone/web/.next/server/app/(main)/settings/page.js +21 -0
- package/web/.next/standalone/web/.next/server/app/(main)/settings/page.js.map +5 -0
- package/web/.next/standalone/web/.next/server/app/(main)/settings/page.js.nft.json +1 -0
- package/web/.next/standalone/web/.next/server/app/(main)/settings/page_client-reference-manifest.js +2 -0
- package/web/.next/standalone/web/.next/server/app/_global-error/page/build-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/standalone/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found/page/build-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/_not-found/page/next-font-manifest.json +2 -2
- package/web/.next/standalone/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.html +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/agents.html +1 -0
- package/web/.next/standalone/web/.next/server/app/agents.meta +16 -0
- package/web/.next/standalone/web/.next/server/app/agents.rsc +25 -0
- package/web/.next/standalone/web/.next/server/app/agents.segments/!KG1haW4p/agents/__PAGE__.segment.rsc +9 -0
- package/web/.next/standalone/web/.next/server/app/agents.segments/!KG1haW4p/agents.segment.rsc +4 -0
- package/web/.next/standalone/web/.next/server/app/agents.segments/!KG1haW4p.segment.rsc +7 -0
- package/web/.next/standalone/web/.next/server/app/agents.segments/_full.segment.rsc +25 -0
- package/web/.next/standalone/web/.next/server/app/agents.segments/_head.segment.rsc +6 -0
- package/web/.next/standalone/web/.next/server/app/agents.segments/_index.segment.rsc +7 -0
- package/web/.next/standalone/web/.next/server/app/agents.segments/_tree.segment.rsc +5 -0
- package/web/.next/standalone/web/.next/server/app/api/config/route.js.nft.json +1 -1
- package/web/.next/standalone/web/.next/server/app/api/health/route.js.nft.json +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation/page/build-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/installation/page/next-font-manifest.json +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/installation/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/installation.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_full.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_index.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_tree.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs/installation/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs/installation.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/page/build-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/page/next-font-manifest.json +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills/page/build-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/skills/page/next-font-manifest.json +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/skills/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/skills.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_full.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_index.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_tree.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs/skills/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs/skills.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools/page/build-manifest.json +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/tools/page/next-font-manifest.json +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/tools/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs/tools.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_full.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_index.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_tree.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs/tools/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs/tools.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.html +2 -2
- package/web/.next/standalone/web/.next/server/app/docs.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs.segments/_full.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/_index.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs.segments/_tree.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/docs.segments/docs/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/docs.segments/docs.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.html +1 -1
- package/web/.next/standalone/web/.next/server/app/index.rsc +7 -7
- package/web/.next/standalone/web/.next/server/app/index.segments/!KG1haW4p/__PAGE__.segment.rsc +2 -2
- package/web/.next/standalone/web/.next/server/app/index.segments/!KG1haW4p.segment.rsc +2 -2
- package/web/.next/standalone/web/.next/server/app/index.segments/_full.segment.rsc +7 -7
- package/web/.next/standalone/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/web/.next/server/app/index.segments/_index.segment.rsc +3 -3
- package/web/.next/standalone/web/.next/server/app/index.segments/_tree.segment.rsc +5 -5
- package/web/.next/standalone/web/.next/server/app/settings.html +1 -0
- package/web/.next/standalone/web/.next/server/app/settings.meta +16 -0
- package/web/.next/standalone/web/.next/server/app/settings.rsc +25 -0
- package/web/.next/standalone/web/.next/server/app/settings.segments/!KG1haW4p/settings/__PAGE__.segment.rsc +9 -0
- package/web/.next/standalone/web/.next/server/app/settings.segments/!KG1haW4p/settings.segment.rsc +4 -0
- package/web/.next/standalone/web/.next/server/app/settings.segments/!KG1haW4p.segment.rsc +7 -0
- package/web/.next/standalone/web/.next/server/app/settings.segments/_full.segment.rsc +25 -0
- package/web/.next/standalone/web/.next/server/app/settings.segments/_head.segment.rsc +6 -0
- package/web/.next/standalone/web/.next/server/app/settings.segments/_index.segment.rsc +7 -0
- package/web/.next/standalone/web/.next/server/app/settings.segments/_tree.segment.rsc +5 -0
- package/web/.next/standalone/web/.next/server/app-paths-manifest.json +2 -1
- package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_60d8842c._.js → 2374f_3b04c7b5._.js} +1 -1
- package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_2801b766._.js → 2374f_5ee1ee50._.js} +1 -1
- package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_c13c8f4f._.js → 2374f_7b7dd4c7._.js} +1 -1
- package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_b7f45fdf._.js → 2374f_9e444fb0._.js} +1 -1
- package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_a383a4d9._.js → 2374f_b57914d2._.js} +1 -1
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_c2c47039._.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_806bd012._.js → 2374f_db1d6704._.js} +1 -1
- package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_f363c084._.js → 2374f_e6dbbf5d._.js} +1 -1
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_lucide-react_dist_esm_icons_50c2f239._.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__2ea52390._.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__6097da17._.js +15 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__9f149e88._.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__b050bb8f._.js +1 -1
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__c94db61a._.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_4fe3c244._.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/{web_3c2b112b._.js → web_7ca56356._.js} +3 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_8e76ee8b._.js +8 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_90d4125e._.js +7 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/web__next-internal_server_app_(main)_agents_page_actions_30f6e448.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/web__next-internal_server_app_(main)_settings_page_actions_7285839d.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_b38a47ee._.js +4 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_f7cf6b63._.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_src_app_(main)_layout_tsx_453f6492._.js +3 -0
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_src_app_(main)_page_tsx_5ac4794b._.js +1 -1
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_src_app_(main)_settings_page_tsx_eb320e07._.js +33 -0
- package/web/.next/standalone/web/.next/server/middleware-build-manifest.js +3 -3
- package/web/.next/standalone/web/.next/server/next-font-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/next-font-manifest.json +22 -18
- package/web/.next/standalone/web/.next/server/pages/404.html +1 -1
- package/web/.next/standalone/web/.next/server/pages/500.html +2 -2
- package/web/.next/standalone/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/standalone/web/.next/server/server-reference-manifest.json +1 -1
- package/web/.next/standalone/web/.next/static/chunks/03b5edce6d5b809e.js +1 -0
- package/web/.next/standalone/web/.next/static/chunks/29dcecc3c2ca92b0.js +1 -0
- package/web/.next/standalone/web/.next/static/chunks/344be859c2c8600b.css +1 -0
- package/web/.next/standalone/web/.next/static/chunks/545725e4c1237026.js +7 -0
- package/web/.next/standalone/web/.next/static/chunks/60359bdd369c0c72.js +1 -0
- package/web/.next/standalone/web/.next/static/chunks/699803c4fb2dd3fc.js +5 -0
- package/web/.next/standalone/web/.next/static/chunks/735a2408c315b2f0.js +1 -0
- package/web/.next/standalone/web/.next/static/chunks/a7d5d0791c8c6223.css +2 -0
- package/web/.next/standalone/web/.next/static/chunks/d54077a2bb8314ed.js +31 -0
- package/web/.next/standalone/web/.next/static/chunks/dc34aa94e57fa28e.js +3 -0
- package/web/.next/standalone/web/.next/static/chunks/ea89ca7892d8c557.js +1 -0
- package/web/.next/standalone/web/.next/static/chunks/f0f19357f3fb7cf8.js +1 -0
- package/web/.next/standalone/web/.next/static/chunks/f50a66c24c564585.js +13 -0
- package/web/.next/standalone/web/.next/static/chunks/f5fe518b79d1bf41.js +1 -0
- package/web/.next/standalone/web/.next/static/{static/chunks/turbopack-597558bb7b6982f6.js → chunks/turbopack-2c0905c7bbebae3f.js} +1 -1
- package/web/.next/standalone/web/.next/static/media/4fa387ec64143e14-s.c36e1862.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/53b9e256198e5412-s.853d50a3.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/5ce348bf30bf5439-s.ebceb24d.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/6306c77e7c8268e4-s.ff4a2084.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/7178b3e590c64307-s.55554cd0.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/797e433ab948586e-s.p.479bea2b.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/7d817b4c03b0c5f1-s.f377b9c4.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/8a480f0b521d4e75-s.ea323500.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/bbc41e54d2fcbd21-s.d1207556.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/caa3a2e1cccd8315-s.p.3b6cae6d.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/fef07dbb0973bf53-s.518e079e.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/chunks/03b5edce6d5b809e.js +1 -0
- package/web/.next/standalone/web/.next/static/static/chunks/29dcecc3c2ca92b0.js +1 -0
- package/web/.next/standalone/web/.next/static/static/chunks/344be859c2c8600b.css +1 -0
- package/web/.next/standalone/web/.next/static/static/chunks/545725e4c1237026.js +7 -0
- package/web/.next/standalone/web/.next/static/static/chunks/60359bdd369c0c72.js +1 -0
- package/web/.next/standalone/web/.next/static/static/chunks/699803c4fb2dd3fc.js +5 -0
- package/web/.next/standalone/web/.next/static/static/chunks/735a2408c315b2f0.js +1 -0
- package/web/.next/standalone/web/.next/static/static/chunks/a7d5d0791c8c6223.css +2 -0
- package/web/.next/standalone/web/.next/static/static/chunks/d54077a2bb8314ed.js +31 -0
- package/web/.next/standalone/web/.next/static/static/chunks/dc34aa94e57fa28e.js +3 -0
- package/web/.next/standalone/web/.next/static/static/chunks/ea89ca7892d8c557.js +1 -0
- package/web/.next/standalone/web/.next/static/static/chunks/f0f19357f3fb7cf8.js +1 -0
- package/web/.next/standalone/web/.next/static/static/chunks/f50a66c24c564585.js +13 -0
- package/web/.next/standalone/web/.next/static/static/chunks/f5fe518b79d1bf41.js +1 -0
- package/web/.next/standalone/web/.next/static/{chunks/turbopack-597558bb7b6982f6.js → static/chunks/turbopack-2c0905c7bbebae3f.js} +1 -1
- package/web/.next/standalone/web/.next/static/static/media/4fa387ec64143e14-s.c36e1862.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/53b9e256198e5412-s.853d50a3.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/5ce348bf30bf5439-s.ebceb24d.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/6306c77e7c8268e4-s.ff4a2084.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/7178b3e590c64307-s.55554cd0.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/797e433ab948586e-s.p.479bea2b.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/7d817b4c03b0c5f1-s.f377b9c4.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/8a480f0b521d4e75-s.ea323500.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/bbc41e54d2fcbd21-s.d1207556.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/caa3a2e1cccd8315-s.p.3b6cae6d.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/fef07dbb0973bf53-s.518e079e.woff2 +0 -0
- package/web/.next/standalone/web/next.config.ts +0 -54
- package/web/.next/standalone/web/package-lock.json +7 -7
- package/web/.next/standalone/web/src/app/(main)/agents/page.tsx +222 -0
- package/web/.next/standalone/web/src/app/(main)/page.tsx +40 -1
- package/web/.next/standalone/web/src/app/(main)/session/[id]/page.tsx +9 -1
- package/web/.next/standalone/web/src/app/(main)/settings/page.tsx +1116 -0
- package/web/.next/standalone/web/src/components/chat-interface.tsx +222 -19
- package/web/.next/standalone/web/src/components/pending-question-banner.tsx +106 -0
- package/web/.next/standalone/web/src/components/sessions-sidebar.tsx +120 -50
- package/web/.next/standalone/web/src/lib/api.ts +61 -5
- package/web/.next/standalone/web/src/test/api.test.ts +17 -0
- package/web/.next/standalone/web/vitest.config.ts +13 -0
- package/web/.next/static/chunks/03b5edce6d5b809e.js +1 -0
- package/web/.next/static/chunks/29dcecc3c2ca92b0.js +1 -0
- package/web/.next/static/chunks/344be859c2c8600b.css +1 -0
- package/web/.next/static/chunks/545725e4c1237026.js +7 -0
- package/web/.next/static/chunks/60359bdd369c0c72.js +1 -0
- package/web/.next/static/chunks/699803c4fb2dd3fc.js +5 -0
- package/web/.next/static/chunks/735a2408c315b2f0.js +1 -0
- package/web/.next/static/chunks/a7d5d0791c8c6223.css +2 -0
- package/web/.next/static/chunks/d54077a2bb8314ed.js +31 -0
- package/web/.next/static/chunks/dc34aa94e57fa28e.js +3 -0
- package/web/.next/static/chunks/ea89ca7892d8c557.js +1 -0
- package/web/.next/static/chunks/f0f19357f3fb7cf8.js +1 -0
- package/web/.next/static/chunks/f50a66c24c564585.js +13 -0
- package/web/.next/static/chunks/f5fe518b79d1bf41.js +1 -0
- package/web/.next/static/chunks/{turbopack-597558bb7b6982f6.js → turbopack-2c0905c7bbebae3f.js} +1 -1
- package/web/.next/static/media/4fa387ec64143e14-s.c36e1862.woff2 +0 -0
- package/web/.next/static/media/53b9e256198e5412-s.853d50a3.woff2 +0 -0
- package/web/.next/static/media/5ce348bf30bf5439-s.ebceb24d.woff2 +0 -0
- package/web/.next/static/media/6306c77e7c8268e4-s.ff4a2084.woff2 +0 -0
- package/web/.next/static/media/7178b3e590c64307-s.55554cd0.woff2 +0 -0
- package/web/.next/static/media/797e433ab948586e-s.p.479bea2b.woff2 +0 -0
- package/web/.next/static/media/7d817b4c03b0c5f1-s.f377b9c4.woff2 +0 -0
- package/web/.next/static/media/8a480f0b521d4e75-s.ea323500.woff2 +0 -0
- package/web/.next/static/media/bbc41e54d2fcbd21-s.d1207556.woff2 +0 -0
- package/web/.next/static/media/caa3a2e1cccd8315-s.p.3b6cae6d.woff2 +0 -0
- package/web/.next/static/media/fef07dbb0973bf53-s.518e079e.woff2 +0 -0
- package/web/.next/standalone/web/.next/server/app/embed/[id]/page/app-paths-manifest.json +0 -3
- package/web/.next/standalone/web/.next/server/app/embed/[id]/page/next-font-manifest.json +0 -11
- package/web/.next/standalone/web/.next/server/app/embed/[id]/page.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/embed/[id]/page_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_317b1fef._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_37dd9702._.js +0 -45
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_4d44e4ed._.js +0 -26
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_54ac917f._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_86585101._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_c59a35bb._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_fdfc7f3d._.js +0 -31
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__234f92d8._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__9a826344._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__9d3a7cbf._.js +0 -15
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__de76483d._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_08242997._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_123ffe97._.js +0 -8
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_5cca707f._.js +0 -7
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_935e81f5._.js +0 -7
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_99b01335._.js +0 -8
- package/web/.next/standalone/web/.next/server/chunks/ssr/web__next-internal_server_app_embed_[id]_page_actions_dd0b7fea.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_src_components_sessions-sidebar_tsx_92510070._.js +0 -3
- package/web/.next/standalone/web/.next/static/chunks/1ebba7ac024244f9.js +0 -5
- package/web/.next/standalone/web/.next/static/chunks/2473c16c0c2f6b5f.css +0 -2
- package/web/.next/standalone/web/.next/static/chunks/2624c966c288fd41.js +0 -13
- package/web/.next/standalone/web/.next/static/chunks/275e8268daf318b2.js +0 -7
- package/web/.next/standalone/web/.next/static/chunks/58fd0aaa2746b444.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/74b64476a24dd71e.css +0 -1
- package/web/.next/standalone/web/.next/static/chunks/767bcdfbabf0703e.js +0 -7
- package/web/.next/standalone/web/.next/static/chunks/8af263bc97c0c9ee.js +0 -3
- package/web/.next/standalone/web/.next/static/chunks/a888d448ceab1abe.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/b9ad1584d4e11d12.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/c6f40df16a9396b9.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/cfadc93a98190e5a.js +0 -3
- package/web/.next/standalone/web/.next/static/chunks/ea29be392100ab0f.js +0 -5
- package/web/.next/standalone/web/.next/static/media/4fa387ec64143e14-s.c1fdd6c2.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/7178b3e590c64307-s.b97b3418.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/797e433ab948586e-s.p.dbea232f.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/8a480f0b521d4e75-s.8e0177b5.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/bbc41e54d2fcbd21-s.799d8ef8.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/chunks/1ebba7ac024244f9.js +0 -5
- package/web/.next/standalone/web/.next/static/static/chunks/2473c16c0c2f6b5f.css +0 -2
- package/web/.next/standalone/web/.next/static/static/chunks/2624c966c288fd41.js +0 -13
- package/web/.next/standalone/web/.next/static/static/chunks/275e8268daf318b2.js +0 -7
- package/web/.next/standalone/web/.next/static/static/chunks/58fd0aaa2746b444.js +0 -1
- package/web/.next/standalone/web/.next/static/static/chunks/74b64476a24dd71e.css +0 -1
- package/web/.next/standalone/web/.next/static/static/chunks/767bcdfbabf0703e.js +0 -7
- package/web/.next/standalone/web/.next/static/static/chunks/8af263bc97c0c9ee.js +0 -3
- package/web/.next/standalone/web/.next/static/static/chunks/a888d448ceab1abe.js +0 -1
- package/web/.next/standalone/web/.next/static/static/chunks/b9ad1584d4e11d12.js +0 -1
- package/web/.next/standalone/web/.next/static/static/chunks/c6f40df16a9396b9.js +0 -1
- package/web/.next/standalone/web/.next/static/static/chunks/cfadc93a98190e5a.js +0 -3
- package/web/.next/standalone/web/.next/static/static/chunks/ea29be392100ab0f.js +0 -5
- package/web/.next/standalone/web/.next/static/static/media/4fa387ec64143e14-s.c1fdd6c2.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/7178b3e590c64307-s.b97b3418.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/797e433ab948586e-s.p.dbea232f.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/8a480f0b521d4e75-s.8e0177b5.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/bbc41e54d2fcbd21-s.799d8ef8.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/static/media/caa3a2e1cccd8315-s.p.853070df.woff2 +0 -0
- package/web/.next/standalone/web/src/app/embed/[id]/page.tsx +0 -77
- package/web/.next/standalone/web/src/lib/embed-bootstrap.ts +0 -108
- package/web/.next/static/chunks/1ebba7ac024244f9.js +0 -5
- package/web/.next/static/chunks/2473c16c0c2f6b5f.css +0 -2
- package/web/.next/static/chunks/2624c966c288fd41.js +0 -13
- package/web/.next/static/chunks/275e8268daf318b2.js +0 -7
- package/web/.next/static/chunks/58fd0aaa2746b444.js +0 -1
- package/web/.next/static/chunks/74b64476a24dd71e.css +0 -1
- package/web/.next/static/chunks/767bcdfbabf0703e.js +0 -7
- package/web/.next/static/chunks/8af263bc97c0c9ee.js +0 -3
- package/web/.next/static/chunks/a888d448ceab1abe.js +0 -1
- package/web/.next/static/chunks/b9ad1584d4e11d12.js +0 -1
- package/web/.next/static/chunks/c6f40df16a9396b9.js +0 -1
- package/web/.next/static/chunks/cfadc93a98190e5a.js +0 -3
- package/web/.next/static/chunks/ea29be392100ab0f.js +0 -5
- package/web/.next/static/media/4fa387ec64143e14-s.c1fdd6c2.woff2 +0 -0
- package/web/.next/static/media/7178b3e590c64307-s.b97b3418.woff2 +0 -0
- package/web/.next/static/media/797e433ab948586e-s.p.dbea232f.woff2 +0 -0
- package/web/.next/static/media/8a480f0b521d4e75-s.8e0177b5.woff2 +0 -0
- package/web/.next/static/media/bbc41e54d2fcbd21-s.799d8ef8.woff2 +0 -0
- package/web/.next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2 +0 -0
- package/dist/{search-CCffrVJE.d.ts → search-DOzC4ojH.d.ts} +1 -1
- /package/web/.next/standalone/web/.next/server/app/{embed/[id] → (main)/agents}/page/react-loadable-manifest.json +0 -0
- /package/web/.next/standalone/web/.next/server/app/{embed/[id] → (main)/agents}/page/server-reference-manifest.json +0 -0
- /package/web/.next/standalone/web/.next/server/app/{embed/[id] → (main)/agents}/page.js.map +0 -0
- /package/web/.next/standalone/web/.next/static/{-npGTmVDA-oK8ZjRdKQf5 → static/yyzMTo2RYusiXE0e1_kdc}/_buildManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/{-npGTmVDA-oK8ZjRdKQf5 → static/yyzMTo2RYusiXE0e1_kdc}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/standalone/web/.next/static/{-npGTmVDA-oK8ZjRdKQf5 → static/yyzMTo2RYusiXE0e1_kdc}/_ssgManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/{static/-npGTmVDA-oK8ZjRdKQf5 → yyzMTo2RYusiXE0e1_kdc}/_buildManifest.js +0 -0
- /package/web/.next/standalone/web/.next/static/{static/-npGTmVDA-oK8ZjRdKQf5 → yyzMTo2RYusiXE0e1_kdc}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/standalone/web/.next/static/{static/-npGTmVDA-oK8ZjRdKQf5 → yyzMTo2RYusiXE0e1_kdc}/_ssgManifest.js +0 -0
- /package/web/.next/static/{-npGTmVDA-oK8ZjRdKQf5 → yyzMTo2RYusiXE0e1_kdc}/_buildManifest.js +0 -0
- /package/web/.next/static/{-npGTmVDA-oK8ZjRdKQf5 → yyzMTo2RYusiXE0e1_kdc}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{-npGTmVDA-oK8ZjRdKQf5 → yyzMTo2RYusiXE0e1_kdc}/_ssgManifest.js +0 -0
package/dist/db/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Checkpoint, F as FileBackup, M as ModelMessage, a as Message, S as Session, L as LoadedSkill, T as TodoItem, b as ToolExecution, A as ActiveStream, I as IndexStatusRecord, c as IndexedChunk, d as SubagentExecution, e as SubagentStep, f as Terminal } from '../schema-
|
|
2
|
-
export { N as NewActiveStream, g as NewCheckpoint, h as NewFileBackup, i as NewIndexStatusRecord, j as NewIndexedChunk, k as NewMessage, l as NewSession, m as NewSubagentExecution, n as NewTerminal, o as NewTodoItem, p as NewToolExecution, q as SessionConfig, r as TaskConfig, U as UserContentPart, s as UserFilePart, t as UserImagePart, u as UserModelMessage, v as UserTextPart } from '../schema-
|
|
1
|
+
import { C as Checkpoint, F as FileBackup, M as ModelMessage, a as Message, S as Session, L as LoadedSkill, T as TodoItem, b as ToolExecution, A as ActiveStream, I as IndexStatusRecord, c as IndexedChunk, d as SubagentExecution, e as SubagentStep, f as Terminal } from '../schema-ecQSnCMz.js';
|
|
2
|
+
export { N as NewActiveStream, g as NewCheckpoint, h as NewFileBackup, i as NewIndexStatusRecord, j as NewIndexedChunk, k as NewMessage, l as NewSession, m as NewSubagentExecution, n as NewTerminal, o as NewTodoItem, p as NewToolExecution, q as SessionConfig, r as TaskConfig, U as UserContentPart, s as UserFilePart, t as UserImagePart, u as UserModelMessage, v as UserTextPart } from '../schema-ecQSnCMz.js';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ModelMessage, streamText } from 'ai';
|
|
2
|
-
import { S as Session, b as ToolExecution, r as TaskConfig } from './schema-
|
|
2
|
+
import { S as Session, b as ToolExecution, r as TaskConfig } from './schema-ecQSnCMz.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { B as BashToolProgress, W as WriteFileProgress, S as SearchToolProgress } from './search-
|
|
4
|
+
import { B as BashToolProgress, W as WriteFileProgress, S as SearchToolProgress } from './search-DOzC4ojH.js';
|
|
5
5
|
|
|
6
6
|
declare const ToolApprovalConfigSchema: z.ZodObject<{
|
|
7
7
|
bash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -39,8 +39,8 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
39
39
|
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
41
|
status: "completed" | "failed" | "running";
|
|
42
|
-
outputSchema: Record<string, unknown>;
|
|
43
42
|
enabled: boolean;
|
|
43
|
+
outputSchema: Record<string, unknown>;
|
|
44
44
|
error?: string | undefined;
|
|
45
45
|
maxIterations?: number | undefined;
|
|
46
46
|
webhookUrl?: string | undefined;
|
|
@@ -49,8 +49,8 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
49
49
|
iterations?: number | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
status: "completed" | "failed" | "running";
|
|
52
|
-
outputSchema: Record<string, unknown>;
|
|
53
52
|
enabled: boolean;
|
|
53
|
+
outputSchema: Record<string, unknown>;
|
|
54
54
|
error?: string | undefined;
|
|
55
55
|
maxIterations?: number | undefined;
|
|
56
56
|
webhookUrl?: string | undefined;
|
|
@@ -61,14 +61,91 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
61
61
|
computerUseEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
62
62
|
computerUseDisplayWidth: z.ZodOptional<z.ZodNumber>;
|
|
63
63
|
computerUseDisplayHeight: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
role: z.ZodOptional<z.ZodEnum<["orchestrator", "worker", "chat"]>>;
|
|
65
|
+
personality: z.ZodOptional<z.ZodString>;
|
|
66
|
+
orchestratorSessionId: z.ZodOptional<z.ZodString>;
|
|
67
|
+
slack: z.ZodOptional<z.ZodObject<{
|
|
68
|
+
channel: z.ZodOptional<z.ZodString>;
|
|
69
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
70
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
channel?: string | undefined;
|
|
73
|
+
threadTs?: string | undefined;
|
|
74
|
+
teamId?: string | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
channel?: string | undefined;
|
|
77
|
+
threadTs?: string | undefined;
|
|
78
|
+
teamId?: string | undefined;
|
|
79
|
+
}>>;
|
|
80
|
+
schedules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
81
|
+
id: z.ZodString;
|
|
82
|
+
name: z.ZodString;
|
|
83
|
+
cron: z.ZodString;
|
|
84
|
+
prompt: z.ZodString;
|
|
85
|
+
replyChannel: z.ZodOptional<z.ZodString>;
|
|
86
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
87
|
+
lastFiredAt: z.ZodOptional<z.ZodString>;
|
|
88
|
+
createdAt: z.ZodString;
|
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
|
+
id: string;
|
|
91
|
+
name: string;
|
|
92
|
+
enabled: boolean;
|
|
93
|
+
createdAt: string;
|
|
94
|
+
prompt: string;
|
|
95
|
+
cron: string;
|
|
96
|
+
replyChannel?: string | undefined;
|
|
97
|
+
lastFiredAt?: string | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
id: string;
|
|
100
|
+
name: string;
|
|
101
|
+
createdAt: string;
|
|
102
|
+
prompt: string;
|
|
103
|
+
cron: string;
|
|
104
|
+
enabled?: boolean | undefined;
|
|
105
|
+
replyChannel?: string | undefined;
|
|
106
|
+
lastFiredAt?: string | undefined;
|
|
107
|
+
}>, "many">>;
|
|
108
|
+
webhooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
109
|
+
id: z.ZodString;
|
|
110
|
+
name: z.ZodString;
|
|
111
|
+
token: z.ZodString;
|
|
112
|
+
wake: z.ZodDefault<z.ZodEnum<["now", "next"]>>;
|
|
113
|
+
template: z.ZodOptional<z.ZodString>;
|
|
114
|
+
hitCount: z.ZodDefault<z.ZodNumber>;
|
|
115
|
+
lastHitAt: z.ZodOptional<z.ZodString>;
|
|
116
|
+
createdAt: z.ZodString;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
id: string;
|
|
119
|
+
name: string;
|
|
120
|
+
createdAt: string;
|
|
121
|
+
token: string;
|
|
122
|
+
wake: "now" | "next";
|
|
123
|
+
hitCount: number;
|
|
124
|
+
template?: string | undefined;
|
|
125
|
+
lastHitAt?: string | undefined;
|
|
126
|
+
}, {
|
|
127
|
+
id: string;
|
|
128
|
+
name: string;
|
|
129
|
+
createdAt: string;
|
|
130
|
+
token: string;
|
|
131
|
+
wake?: "now" | "next" | undefined;
|
|
132
|
+
template?: string | undefined;
|
|
133
|
+
hitCount?: number | undefined;
|
|
134
|
+
lastHitAt?: string | undefined;
|
|
135
|
+
}>, "many">>;
|
|
64
136
|
}, "strip", z.ZodTypeAny, {
|
|
65
137
|
maxContextChars: number;
|
|
66
138
|
toolApprovals?: Record<string, boolean> | undefined;
|
|
67
139
|
approvalWebhook?: string | undefined;
|
|
140
|
+
slack?: {
|
|
141
|
+
channel?: string | undefined;
|
|
142
|
+
threadTs?: string | undefined;
|
|
143
|
+
teamId?: string | undefined;
|
|
144
|
+
} | undefined;
|
|
68
145
|
task?: {
|
|
69
146
|
status: "completed" | "failed" | "running";
|
|
70
|
-
outputSchema: Record<string, unknown>;
|
|
71
147
|
enabled: boolean;
|
|
148
|
+
outputSchema: Record<string, unknown>;
|
|
72
149
|
error?: string | undefined;
|
|
73
150
|
maxIterations?: number | undefined;
|
|
74
151
|
webhookUrl?: string | undefined;
|
|
@@ -80,13 +157,41 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
80
157
|
computerUseEnabled?: boolean | undefined;
|
|
81
158
|
computerUseDisplayWidth?: number | undefined;
|
|
82
159
|
computerUseDisplayHeight?: number | undefined;
|
|
160
|
+
role?: "orchestrator" | "worker" | "chat" | undefined;
|
|
161
|
+
personality?: string | undefined;
|
|
162
|
+
orchestratorSessionId?: string | undefined;
|
|
163
|
+
schedules?: {
|
|
164
|
+
id: string;
|
|
165
|
+
name: string;
|
|
166
|
+
enabled: boolean;
|
|
167
|
+
createdAt: string;
|
|
168
|
+
prompt: string;
|
|
169
|
+
cron: string;
|
|
170
|
+
replyChannel?: string | undefined;
|
|
171
|
+
lastFiredAt?: string | undefined;
|
|
172
|
+
}[] | undefined;
|
|
173
|
+
webhooks?: {
|
|
174
|
+
id: string;
|
|
175
|
+
name: string;
|
|
176
|
+
createdAt: string;
|
|
177
|
+
token: string;
|
|
178
|
+
wake: "now" | "next";
|
|
179
|
+
hitCount: number;
|
|
180
|
+
template?: string | undefined;
|
|
181
|
+
lastHitAt?: string | undefined;
|
|
182
|
+
}[] | undefined;
|
|
83
183
|
}, {
|
|
84
184
|
toolApprovals?: Record<string, boolean> | undefined;
|
|
85
185
|
approvalWebhook?: string | undefined;
|
|
186
|
+
slack?: {
|
|
187
|
+
channel?: string | undefined;
|
|
188
|
+
threadTs?: string | undefined;
|
|
189
|
+
teamId?: string | undefined;
|
|
190
|
+
} | undefined;
|
|
86
191
|
task?: {
|
|
87
192
|
status: "completed" | "failed" | "running";
|
|
88
|
-
outputSchema: Record<string, unknown>;
|
|
89
193
|
enabled: boolean;
|
|
194
|
+
outputSchema: Record<string, unknown>;
|
|
90
195
|
error?: string | undefined;
|
|
91
196
|
maxIterations?: number | undefined;
|
|
92
197
|
webhookUrl?: string | undefined;
|
|
@@ -99,6 +204,29 @@ declare const SessionConfigSchema: z.ZodObject<{
|
|
|
99
204
|
computerUseEnabled?: boolean | undefined;
|
|
100
205
|
computerUseDisplayWidth?: number | undefined;
|
|
101
206
|
computerUseDisplayHeight?: number | undefined;
|
|
207
|
+
role?: "orchestrator" | "worker" | "chat" | undefined;
|
|
208
|
+
personality?: string | undefined;
|
|
209
|
+
orchestratorSessionId?: string | undefined;
|
|
210
|
+
schedules?: {
|
|
211
|
+
id: string;
|
|
212
|
+
name: string;
|
|
213
|
+
createdAt: string;
|
|
214
|
+
prompt: string;
|
|
215
|
+
cron: string;
|
|
216
|
+
enabled?: boolean | undefined;
|
|
217
|
+
replyChannel?: string | undefined;
|
|
218
|
+
lastFiredAt?: string | undefined;
|
|
219
|
+
}[] | undefined;
|
|
220
|
+
webhooks?: {
|
|
221
|
+
id: string;
|
|
222
|
+
name: string;
|
|
223
|
+
createdAt: string;
|
|
224
|
+
token: string;
|
|
225
|
+
wake?: "now" | "next" | undefined;
|
|
226
|
+
template?: string | undefined;
|
|
227
|
+
hitCount?: number | undefined;
|
|
228
|
+
lastHitAt?: string | undefined;
|
|
229
|
+
}[] | undefined;
|
|
102
230
|
}>;
|
|
103
231
|
declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
104
232
|
defaultModel: z.ZodDefault<z.ZodString>;
|
|
@@ -192,6 +320,182 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
192
320
|
include?: string[] | undefined;
|
|
193
321
|
exclude?: string[] | undefined;
|
|
194
322
|
}>>;
|
|
323
|
+
slack: z.ZodOptional<z.ZodObject<{
|
|
324
|
+
botToken: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
325
|
+
signingSecret: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
326
|
+
defaultOrchestratorName: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
327
|
+
allowedUsers: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
328
|
+
allowedChannels: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
329
|
+
allowDmsFromAnyone: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
330
|
+
deniedReplyEnabled: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
331
|
+
deniedReplyTemplate: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
332
|
+
}, "strip", z.ZodTypeAny, {
|
|
333
|
+
botToken?: string | undefined;
|
|
334
|
+
signingSecret?: string | undefined;
|
|
335
|
+
defaultOrchestratorName?: string | undefined;
|
|
336
|
+
allowedUsers?: string[] | undefined;
|
|
337
|
+
allowedChannels?: string[] | undefined;
|
|
338
|
+
allowDmsFromAnyone?: boolean | undefined;
|
|
339
|
+
deniedReplyEnabled?: boolean | undefined;
|
|
340
|
+
deniedReplyTemplate?: string | undefined;
|
|
341
|
+
}, {
|
|
342
|
+
botToken?: string | undefined;
|
|
343
|
+
signingSecret?: string | undefined;
|
|
344
|
+
defaultOrchestratorName?: string | undefined;
|
|
345
|
+
allowedUsers?: string[] | undefined;
|
|
346
|
+
allowedChannels?: string[] | undefined;
|
|
347
|
+
allowDmsFromAnyone?: boolean | undefined;
|
|
348
|
+
deniedReplyEnabled?: boolean | undefined;
|
|
349
|
+
deniedReplyTemplate?: string | undefined;
|
|
350
|
+
}>>;
|
|
351
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
352
|
+
servers: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
353
|
+
id: z.ZodString;
|
|
354
|
+
name: z.ZodString;
|
|
355
|
+
transport: z.ZodEnum<["http", "sse", "stdio"]>;
|
|
356
|
+
url: z.ZodOptional<z.ZodString>;
|
|
357
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
358
|
+
command: z.ZodOptional<z.ZodString>;
|
|
359
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
360
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
361
|
+
createdAt: z.ZodString;
|
|
362
|
+
oauth: z.ZodOptional<z.ZodObject<{
|
|
363
|
+
authorizationUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
364
|
+
tokenUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
365
|
+
clientId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
366
|
+
clientSecret: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
367
|
+
accessToken: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
368
|
+
refreshToken: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
369
|
+
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
370
|
+
}, "strip", z.ZodTypeAny, {
|
|
371
|
+
authorizationUrl?: string | undefined;
|
|
372
|
+
tokenUrl?: string | undefined;
|
|
373
|
+
clientId?: string | undefined;
|
|
374
|
+
clientSecret?: string | undefined;
|
|
375
|
+
accessToken?: string | undefined;
|
|
376
|
+
refreshToken?: string | undefined;
|
|
377
|
+
expiresAt?: string | undefined;
|
|
378
|
+
}, {
|
|
379
|
+
authorizationUrl?: string | undefined;
|
|
380
|
+
tokenUrl?: string | undefined;
|
|
381
|
+
clientId?: string | undefined;
|
|
382
|
+
clientSecret?: string | undefined;
|
|
383
|
+
accessToken?: string | undefined;
|
|
384
|
+
refreshToken?: string | undefined;
|
|
385
|
+
expiresAt?: string | undefined;
|
|
386
|
+
}>>;
|
|
387
|
+
}, "strip", z.ZodTypeAny, {
|
|
388
|
+
id: string;
|
|
389
|
+
name: string;
|
|
390
|
+
transport: "http" | "sse" | "stdio";
|
|
391
|
+
enabled: boolean;
|
|
392
|
+
createdAt: string;
|
|
393
|
+
url?: string | undefined;
|
|
394
|
+
headers?: Record<string, string> | undefined;
|
|
395
|
+
command?: string | undefined;
|
|
396
|
+
args?: string[] | undefined;
|
|
397
|
+
oauth?: {
|
|
398
|
+
authorizationUrl?: string | undefined;
|
|
399
|
+
tokenUrl?: string | undefined;
|
|
400
|
+
clientId?: string | undefined;
|
|
401
|
+
clientSecret?: string | undefined;
|
|
402
|
+
accessToken?: string | undefined;
|
|
403
|
+
refreshToken?: string | undefined;
|
|
404
|
+
expiresAt?: string | undefined;
|
|
405
|
+
} | undefined;
|
|
406
|
+
}, {
|
|
407
|
+
id: string;
|
|
408
|
+
name: string;
|
|
409
|
+
transport: "http" | "sse" | "stdio";
|
|
410
|
+
createdAt: string;
|
|
411
|
+
url?: string | undefined;
|
|
412
|
+
headers?: Record<string, string> | undefined;
|
|
413
|
+
command?: string | undefined;
|
|
414
|
+
args?: string[] | undefined;
|
|
415
|
+
enabled?: boolean | undefined;
|
|
416
|
+
oauth?: {
|
|
417
|
+
authorizationUrl?: string | undefined;
|
|
418
|
+
tokenUrl?: string | undefined;
|
|
419
|
+
clientId?: string | undefined;
|
|
420
|
+
clientSecret?: string | undefined;
|
|
421
|
+
accessToken?: string | undefined;
|
|
422
|
+
refreshToken?: string | undefined;
|
|
423
|
+
expiresAt?: string | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
}>, "many">>>>;
|
|
426
|
+
}, "strip", z.ZodTypeAny, {
|
|
427
|
+
servers?: {
|
|
428
|
+
id: string;
|
|
429
|
+
name: string;
|
|
430
|
+
transport: "http" | "sse" | "stdio";
|
|
431
|
+
enabled: boolean;
|
|
432
|
+
createdAt: string;
|
|
433
|
+
url?: string | undefined;
|
|
434
|
+
headers?: Record<string, string> | undefined;
|
|
435
|
+
command?: string | undefined;
|
|
436
|
+
args?: string[] | undefined;
|
|
437
|
+
oauth?: {
|
|
438
|
+
authorizationUrl?: string | undefined;
|
|
439
|
+
tokenUrl?: string | undefined;
|
|
440
|
+
clientId?: string | undefined;
|
|
441
|
+
clientSecret?: string | undefined;
|
|
442
|
+
accessToken?: string | undefined;
|
|
443
|
+
refreshToken?: string | undefined;
|
|
444
|
+
expiresAt?: string | undefined;
|
|
445
|
+
} | undefined;
|
|
446
|
+
}[] | undefined;
|
|
447
|
+
}, {
|
|
448
|
+
servers?: {
|
|
449
|
+
id: string;
|
|
450
|
+
name: string;
|
|
451
|
+
transport: "http" | "sse" | "stdio";
|
|
452
|
+
createdAt: string;
|
|
453
|
+
url?: string | undefined;
|
|
454
|
+
headers?: Record<string, string> | undefined;
|
|
455
|
+
command?: string | undefined;
|
|
456
|
+
args?: string[] | undefined;
|
|
457
|
+
enabled?: boolean | undefined;
|
|
458
|
+
oauth?: {
|
|
459
|
+
authorizationUrl?: string | undefined;
|
|
460
|
+
tokenUrl?: string | undefined;
|
|
461
|
+
clientId?: string | undefined;
|
|
462
|
+
clientSecret?: string | undefined;
|
|
463
|
+
accessToken?: string | undefined;
|
|
464
|
+
refreshToken?: string | undefined;
|
|
465
|
+
expiresAt?: string | undefined;
|
|
466
|
+
} | undefined;
|
|
467
|
+
}[] | undefined;
|
|
468
|
+
}>>;
|
|
469
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
470
|
+
cfAccess: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
471
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
472
|
+
teamDomain: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
473
|
+
audTag: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
474
|
+
}, "strip", z.ZodTypeAny, {
|
|
475
|
+
enabled?: boolean | undefined;
|
|
476
|
+
teamDomain?: string | undefined;
|
|
477
|
+
audTag?: string | undefined;
|
|
478
|
+
}, {
|
|
479
|
+
enabled?: boolean | undefined;
|
|
480
|
+
teamDomain?: string | undefined;
|
|
481
|
+
audTag?: string | undefined;
|
|
482
|
+
}>>>;
|
|
483
|
+
allowedEmails: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
|
|
484
|
+
}, "strip", z.ZodTypeAny, {
|
|
485
|
+
cfAccess?: {
|
|
486
|
+
enabled?: boolean | undefined;
|
|
487
|
+
teamDomain?: string | undefined;
|
|
488
|
+
audTag?: string | undefined;
|
|
489
|
+
} | undefined;
|
|
490
|
+
allowedEmails?: string[] | undefined;
|
|
491
|
+
}, {
|
|
492
|
+
cfAccess?: {
|
|
493
|
+
enabled?: boolean | undefined;
|
|
494
|
+
teamDomain?: string | undefined;
|
|
495
|
+
audTag?: string | undefined;
|
|
496
|
+
} | undefined;
|
|
497
|
+
allowedEmails?: string[] | undefined;
|
|
498
|
+
}>>;
|
|
195
499
|
}, "strip", z.ZodTypeAny, {
|
|
196
500
|
defaultModel: string;
|
|
197
501
|
toolApprovals: {
|
|
@@ -230,6 +534,46 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
230
534
|
httpUrl?: string | undefined;
|
|
231
535
|
namespace?: string | undefined;
|
|
232
536
|
} | undefined;
|
|
537
|
+
slack?: {
|
|
538
|
+
botToken?: string | undefined;
|
|
539
|
+
signingSecret?: string | undefined;
|
|
540
|
+
defaultOrchestratorName?: string | undefined;
|
|
541
|
+
allowedUsers?: string[] | undefined;
|
|
542
|
+
allowedChannels?: string[] | undefined;
|
|
543
|
+
allowDmsFromAnyone?: boolean | undefined;
|
|
544
|
+
deniedReplyEnabled?: boolean | undefined;
|
|
545
|
+
deniedReplyTemplate?: string | undefined;
|
|
546
|
+
} | undefined;
|
|
547
|
+
mcp?: {
|
|
548
|
+
servers?: {
|
|
549
|
+
id: string;
|
|
550
|
+
name: string;
|
|
551
|
+
transport: "http" | "sse" | "stdio";
|
|
552
|
+
enabled: boolean;
|
|
553
|
+
createdAt: string;
|
|
554
|
+
url?: string | undefined;
|
|
555
|
+
headers?: Record<string, string> | undefined;
|
|
556
|
+
command?: string | undefined;
|
|
557
|
+
args?: string[] | undefined;
|
|
558
|
+
oauth?: {
|
|
559
|
+
authorizationUrl?: string | undefined;
|
|
560
|
+
tokenUrl?: string | undefined;
|
|
561
|
+
clientId?: string | undefined;
|
|
562
|
+
clientSecret?: string | undefined;
|
|
563
|
+
accessToken?: string | undefined;
|
|
564
|
+
refreshToken?: string | undefined;
|
|
565
|
+
expiresAt?: string | undefined;
|
|
566
|
+
} | undefined;
|
|
567
|
+
}[] | undefined;
|
|
568
|
+
} | undefined;
|
|
569
|
+
auth?: {
|
|
570
|
+
cfAccess?: {
|
|
571
|
+
enabled?: boolean | undefined;
|
|
572
|
+
teamDomain?: string | undefined;
|
|
573
|
+
audTag?: string | undefined;
|
|
574
|
+
} | undefined;
|
|
575
|
+
allowedEmails?: string[] | undefined;
|
|
576
|
+
} | undefined;
|
|
233
577
|
}, {
|
|
234
578
|
defaultModel?: string | undefined;
|
|
235
579
|
workingDirectory?: string | undefined;
|
|
@@ -268,6 +612,46 @@ declare const SparkcoderConfigSchema: z.ZodObject<{
|
|
|
268
612
|
include?: string[] | undefined;
|
|
269
613
|
exclude?: string[] | undefined;
|
|
270
614
|
} | undefined;
|
|
615
|
+
slack?: {
|
|
616
|
+
botToken?: string | undefined;
|
|
617
|
+
signingSecret?: string | undefined;
|
|
618
|
+
defaultOrchestratorName?: string | undefined;
|
|
619
|
+
allowedUsers?: string[] | undefined;
|
|
620
|
+
allowedChannels?: string[] | undefined;
|
|
621
|
+
allowDmsFromAnyone?: boolean | undefined;
|
|
622
|
+
deniedReplyEnabled?: boolean | undefined;
|
|
623
|
+
deniedReplyTemplate?: string | undefined;
|
|
624
|
+
} | undefined;
|
|
625
|
+
mcp?: {
|
|
626
|
+
servers?: {
|
|
627
|
+
id: string;
|
|
628
|
+
name: string;
|
|
629
|
+
transport: "http" | "sse" | "stdio";
|
|
630
|
+
createdAt: string;
|
|
631
|
+
url?: string | undefined;
|
|
632
|
+
headers?: Record<string, string> | undefined;
|
|
633
|
+
command?: string | undefined;
|
|
634
|
+
args?: string[] | undefined;
|
|
635
|
+
enabled?: boolean | undefined;
|
|
636
|
+
oauth?: {
|
|
637
|
+
authorizationUrl?: string | undefined;
|
|
638
|
+
tokenUrl?: string | undefined;
|
|
639
|
+
clientId?: string | undefined;
|
|
640
|
+
clientSecret?: string | undefined;
|
|
641
|
+
accessToken?: string | undefined;
|
|
642
|
+
refreshToken?: string | undefined;
|
|
643
|
+
expiresAt?: string | undefined;
|
|
644
|
+
} | undefined;
|
|
645
|
+
}[] | undefined;
|
|
646
|
+
} | undefined;
|
|
647
|
+
auth?: {
|
|
648
|
+
cfAccess?: {
|
|
649
|
+
enabled?: boolean | undefined;
|
|
650
|
+
teamDomain?: string | undefined;
|
|
651
|
+
audTag?: string | undefined;
|
|
652
|
+
} | undefined;
|
|
653
|
+
allowedEmails?: string[] | undefined;
|
|
654
|
+
} | undefined;
|
|
271
655
|
}>;
|
|
272
656
|
type ToolApprovalConfig = z.infer<typeof ToolApprovalConfigSchema>;
|
|
273
657
|
type SessionConfig = z.infer<typeof SessionConfigSchema>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { R as ResolvedConfig } from './index-
|
|
2
|
-
export { A as Agent, a as AgentOptions, b as AgentRunOptions, c as AgentStreamResult, S as SparkcoderConfig, T as ToolApprovalConfig } from './index-
|
|
1
|
+
import { R as ResolvedConfig } from './index-D5l-DMGC.js';
|
|
2
|
+
export { A as Agent, a as AgentOptions, b as AgentRunOptions, c as AgentStreamResult, S as SparkcoderConfig, T as ToolApprovalConfig } from './index-D5l-DMGC.js';
|
|
3
3
|
export { ServerOptions, createApp, startServer, stopServer } from './server/index.js';
|
|
4
4
|
export { checkpointQueries, closeDatabase, fileBackupQueries, getDb, initDatabase, messageQueries, sessionQueries, skillQueries, todoQueries, toolExecutionQueries } from './db/index.js';
|
|
5
|
-
import { F as FileBackup, C as Checkpoint } from './schema-
|
|
6
|
-
export { a as Message, M as ModelMessage, S as Session, q as SessionConfig, f as Terminal, T as TodoItem, b as ToolExecution } from './schema-
|
|
5
|
+
import { F as FileBackup, C as Checkpoint } from './schema-ecQSnCMz.js';
|
|
6
|
+
export { a as Message, M as ModelMessage, S as Session, q as SessionConfig, f as Terminal, T as TodoItem, b as ToolExecution } from './schema-ecQSnCMz.js';
|
|
7
7
|
export { createLoadSkillTool, createReadFileTool, createTodoTool, createTools } from './tools/index.js';
|
|
8
|
-
export { c as createBashTool, a as createWriteFileTool } from './search-
|
|
8
|
+
export { c as createBashTool, a as createWriteFileTool } from './search-DOzC4ojH.js';
|
|
9
9
|
import 'ai';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import 'hono/types';
|