@witty-ai/skill-insight 0.4.0-beta → 0.5.0-beta
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/.env.example +50 -5
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-path-routes-manifest.json +1 -0
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/routes-manifest.json +6 -0
- package/.next/standalone/.next/server/app/_global-error.html +2 -2
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +3 -3
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/api/auth/organization/route/app-paths-manifest.json +3 -0
- package/.next/standalone/.next/server/app/api/auth/organization/route/build-manifest.json +11 -0
- package/.next/standalone/.next/server/app/api/auth/organization/route/server-reference-manifest.json +4 -0
- package/.next/standalone/.next/server/app/api/auth/organization/route.js +7 -0
- package/.next/standalone/.next/server/app/api/auth/organization/route.js.map +5 -0
- package/.next/standalone/.next/server/app/api/auth/organization/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/auth/organization/route_client-reference-manifest.js +2 -0
- package/.next/standalone/.next/server/app/api/config/create/route.js +2 -2
- package/.next/standalone/.next/server/app/api/config/create/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/config/route.js +1 -1
- package/.next/standalone/.next/server/app/api/config/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/data/route.js +1 -1
- package/.next/standalone/.next/server/app/api/data/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/executions/[executionId]/analyze-match/route.js +1 -1
- package/.next/standalone/.next/server/app/api/executions/[executionId]/analyze-match/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/otel/v1/logs/route.js +1 -1
- package/.next/standalone/.next/server/app/api/otel/v1/logs/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/otel/v1/traces/route.js +1 -1
- package/.next/standalone/.next/server/app/api/otel/v1/traces/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/proxy/[taskId]/[...path]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/proxy/[taskId]/[...path]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/proxy/[taskId]/end/route.js +3 -3
- package/.next/standalone/.next/server/app/api/proxy/[taskId]/end/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/rejudge/route.js +1 -1
- package/.next/standalone/.next/server/app/api/rejudge/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/session/route.js +3 -3
- package/.next/standalone/.next/server/app/api/session/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/settings/route.js +1 -1
- package/.next/standalone/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/skills/[id]/versions/[version]/download/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/skills/[id]/versions/[version]/parse-flow/route.js +1 -1
- package/.next/standalone/.next/server/app/api/skills/[id]/versions/[version]/parse-flow/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/skills/logs/route.js +1 -1
- package/.next/standalone/.next/server/app/api/skills/logs/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/upload/route.js +1 -1
- package/.next/standalone/.next/server/app/api/upload/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/details/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/details/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/details.html +1 -1
- package/.next/standalone/.next/server/app/details.rsc +4 -4
- package/.next/standalone/.next/server/app/details.segments/_full.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/details.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/details.segments/_index.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/details.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/details.segments/details/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/details.segments/details.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/index.html +1 -1
- package/.next/standalone/.next/server/app/index.rsc +4 -4
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/login/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login.html +1 -1
- package/.next/standalone/.next/server/app/login.rsc +4 -4
- package/.next/standalone/.next/server/app/login.segments/_full.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/login.segments/_index.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/login.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/login.segments/login.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/skills/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/skills.html +1 -1
- package/.next/standalone/.next/server/app/skills.rsc +4 -4
- package/.next/standalone/.next/server/app/skills.segments/_full.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/skills.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/skills.segments/_index.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/skills.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/skills.segments/skills/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/skills.segments/skills.segment.rsc +1 -1
- package/.next/standalone/.next/server/app-paths-manifest.json +1 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__02ddba88._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1ce5e3b8._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__4a6d443b._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__53775b48._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__5444db55._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__6923eecf._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__98b3de5e._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__a4d3d791._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__bd91659b._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__c200214a._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d7fab946._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d8c1808b._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__d9b9fecc._.js +3 -0
- package/.next/standalone/.next/server/chunks/_next-internal_server_app_api_auth_organization_route_actions_f58710b7.js +3 -0
- package/.next/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_c33286ed.js +2 -41
- package/.next/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_f42faeee.js +1 -1
- package/.next/standalone/.next/server/chunks/src_lib_12408140._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__5d576168._.js → [root-of-the-server]__40353d98._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__89851212._.js → [root-of-the-server]__480fcd92._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__28978655._.js → [root-of-the-server]__48f8fbcb._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__a5ef0b61._.js → [root-of-the-server]__49921b2a._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__317833f9._.js → [root-of-the-server]__593be3d6._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__ca101543._.js → [root-of-the-server]__5e9ff641._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__90641614._.js → [root-of-the-server]__66cc6ff2._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__cda1e286._.js → [root-of-the-server]__9889bdc8._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__42ba97b6._.js → [root-of-the-server]__9905ca7a._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__9ab7cc4a._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__7bb97139._.js → [root-of-the-server]__9d6b7d48._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__6b8b9bb9._.js → [root-of-the-server]__b8edc8c6._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__b9972e88._.js → [root-of-the-server]__d691ecb0._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__52851239._.js → [root-of-the-server]__e5ddfd15._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__9630dedf._.js → [root-of-the-server]__f72f330e._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__99ab66d7._.js → [root-of-the-server]__f843e085._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__d424fa04._.js → [root-of-the-server]__fd69d276._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{_7688d7cd._.js → _049876f0._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{_72a74a0c._.js → _09546b95._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_8f5379ab._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_cf1f3d2c._.js → _b121f1ae._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_c8c8c083._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_fd46f439._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_f2653232._.js → node_modules_039c6a11._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_da87f0e3._.js → node_modules_0d3530cd._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_afb1ecef._.js → node_modules_0e883565._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_8d9e56b7._.js → node_modules_11dbf165._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_76d6c533._.js → node_modules_2041c122._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_b007145b._.js → node_modules_235267bb._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_11d81adf._.js → node_modules_25dfb0ba._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_4ea9b27b._.js → node_modules_2b12c669._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_cc19e85c._.js → node_modules_32996880._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_62621b34._.js → node_modules_35885fe9._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_ed4150ad._.js → node_modules_38a95353._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_f596a14c._.js → node_modules_3a317c51._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_fddab329._.js → node_modules_44966ab2._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_e272ac31._.js → node_modules_53af751a._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_abf4f826._.js → node_modules_5f539891._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_86b6ffa4._.js → node_modules_60402210._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_3769cd60._.js → node_modules_60eccfb6._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_fdf808cf._.js → node_modules_632c098c._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_442994dc._.js → node_modules_6c42f75c._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_5b6dbbc3._.js → node_modules_6fbe276d._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_6716e25d._.js → node_modules_740e9d59._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_ed1f1845._.js → node_modules_7a3d551c._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_4f41f172._.js → node_modules_861cb9cf._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_2aaea4ea._.js → node_modules_8a892761._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_3964c298._.js → node_modules_a5a4946e._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_3d9afa91._.js → node_modules_a712c937._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_330b9e3c._.js → node_modules_a8c276dd._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_ad69a9e4._.js → node_modules_acc9d529._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_8301968d._.js → node_modules_ad07ab39._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_1d88c7cc._.js → node_modules_b38efa22._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_e20e8c2a._.js → node_modules_b4ef036d._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_2e206c58._.js → node_modules_b6bad701._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_c90fa812._.js → node_modules_b9810024._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_db8af6e3._.js → node_modules_b9ad808d._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_7287189a._.js → node_modules_bc287d9f._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_2e38bc5c._.js → node_modules_c6469d93._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_c657890f._.js → node_modules_c704e802._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_b8803ba6._.js → node_modules_cda46cfc._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_aa6da06c._.js → node_modules_cf171d0c._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_2d9e03d1._.js → node_modules_e8927fc2._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_app_login_page_tsx_72f58654._.js +1 -1
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +2 -2
- package/.next/standalone/.next/static/chunks/1e782a49beaf489c.js +1 -0
- package/.next/standalone/.next/static/chunks/4071dbec4cf7e72e.js +109 -0
- package/.next/standalone/.next/static/chunks/67bd1a5de2195779.js +1 -0
- package/.next/standalone/.next/static/chunks/a87b5e84254095a5.js +1 -0
- package/.next/standalone/.next/static/chunks/c6bd2818656b1f20.css +1 -0
- package/.next/standalone/.next/static/chunks/{6d12c79948c7e0ac.js → dc59a07a8f327b40.js} +1 -1
- package/.next/standalone/next.config.ts +14 -2
- package/.next/standalone/package.json +1 -1
- package/.next/standalone/scripts/opencode_plugin.ts +257 -36
- package/.next/static/chunks/1e782a49beaf489c.js +1 -0
- package/.next/static/chunks/4071dbec4cf7e72e.js +109 -0
- package/.next/static/chunks/67bd1a5de2195779.js +1 -0
- package/.next/static/chunks/a87b5e84254095a5.js +1 -0
- package/.next/static/chunks/c6bd2818656b1f20.css +1 -0
- package/.next/static/chunks/{6d12c79948c7e0ac.js → dc59a07a8f327b40.js} +1 -1
- package/package.json +1 -1
- package/scripts/opencode_plugin.ts +257 -36
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0fceba52._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__13132848._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__30769f6e._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__426bc4ab._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__610d08bc._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__75e3674c._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__761462f8._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__9aa700a4._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__b7ad2649._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__c00180dd._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__ed8f9b78._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__082c32a2._.js +0 -3
- package/.next/standalone/.next/static/chunks/222a937a6c859036.js +0 -1
- package/.next/standalone/.next/static/chunks/2a3dd49367e2c198.js +0 -1
- package/.next/standalone/.next/static/chunks/3e33f7adc10a38d3.js +0 -109
- package/.next/standalone/.next/static/chunks/428e6cf64b115e9d.css +0 -1
- package/.next/standalone/.next/static/chunks/62129f27f303a5ba.js +0 -1
- package/.next/static/chunks/222a937a6c859036.js +0 -1
- package/.next/static/chunks/2a3dd49367e2c198.js +0 -1
- package/.next/static/chunks/3e33f7adc10a38d3.js +0 -109
- package/.next/static/chunks/428e6cf64b115e9d.css +0 -1
- package/.next/static/chunks/62129f27f303a5ba.js +0 -1
- /package/.next/standalone/.next/static/{Eytv_Fh4x2HPaupjXiAYj → H581Rok68JtPV4bAVVH3l}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{Eytv_Fh4x2HPaupjXiAYj → H581Rok68JtPV4bAVVH3l}/_clientMiddlewareManifest.json +0 -0
- /package/.next/standalone/.next/static/{Eytv_Fh4x2HPaupjXiAYj → H581Rok68JtPV4bAVVH3l}/_ssgManifest.js +0 -0
- /package/.next/static/{Eytv_Fh4x2HPaupjXiAYj → H581Rok68JtPV4bAVVH3l}/_buildManifest.js +0 -0
- /package/.next/static/{Eytv_Fh4x2HPaupjXiAYj → H581Rok68JtPV4bAVVH3l}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{Eytv_Fh4x2HPaupjXiAYj → H581Rok68JtPV4bAVVH3l}/_ssgManifest.js +0 -0
|
@@ -18,9 +18,151 @@ function logDebug(msg) {
|
|
|
18
18
|
|
|
19
19
|
// Global store
|
|
20
20
|
let sessionStore = new Map();
|
|
21
|
-
let uploadedSessions = new
|
|
21
|
+
let uploadedSessions = new Map(); // sessionId -> uploaded message count
|
|
22
22
|
let sessionGraph = new Map(); // parent_id -> [child_ids]
|
|
23
23
|
let pendingChildSessions = new Map(); // child_id -> {parent_id, data}
|
|
24
|
+
let lastDeltaByPartField = new Map();
|
|
25
|
+
|
|
26
|
+
const STORE_PATH = path.join(os.homedir(), '.opencode', 'witty_plugin_session_store.json');
|
|
27
|
+
|
|
28
|
+
function cleanupOldSessions() {
|
|
29
|
+
const now = Date.now();
|
|
30
|
+
const threeDays = 3 * 24 * 3600 * 1000;
|
|
31
|
+
|
|
32
|
+
let deletedCount = 0;
|
|
33
|
+
for (const [msgId, entry] of sessionStore.entries()) {
|
|
34
|
+
const time = entry.info?.created || entry.info?.time?.created;
|
|
35
|
+
if (time && (now - time > threeDays)) {
|
|
36
|
+
sessionStore.delete(msgId);
|
|
37
|
+
deletedCount++;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
if (deletedCount > 0) logDebug(`Cleaned up ${deletedCount} old messages from sessionStore`);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function loadStore() {
|
|
44
|
+
try {
|
|
45
|
+
if (fs.existsSync(STORE_PATH)) {
|
|
46
|
+
const fileData = fs.readFileSync(STORE_PATH, 'utf8');
|
|
47
|
+
if (!fileData.trim()) return;
|
|
48
|
+
const data = JSON.parse(fileData);
|
|
49
|
+
|
|
50
|
+
// Merge sessionStore: disk entries fill in gaps, but don't overwrite in-memory entries
|
|
51
|
+
if (data.sessionStore) {
|
|
52
|
+
const diskStore = new Map(data.sessionStore);
|
|
53
|
+
for (const [msgId, entry] of diskStore.entries()) {
|
|
54
|
+
if (!sessionStore.has(msgId)) {
|
|
55
|
+
if (entry.parts && !Array.isArray(entry.parts) && typeof entry.parts === 'object' && !(entry.parts instanceof Map)) {
|
|
56
|
+
entry.parts = new Map(Object.entries(entry.parts));
|
|
57
|
+
} else if (Array.isArray(entry.parts)) {
|
|
58
|
+
entry.parts = new Map(entry.parts);
|
|
59
|
+
} else if (!entry.parts) {
|
|
60
|
+
entry.parts = new Map();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
if (entry.toolParts && !Array.isArray(entry.toolParts) && typeof entry.toolParts === 'object' && !(entry.toolParts instanceof Map)) {
|
|
64
|
+
entry.toolParts = new Map(Object.entries(entry.toolParts));
|
|
65
|
+
} else if (Array.isArray(entry.toolParts)) {
|
|
66
|
+
entry.toolParts = new Map(entry.toolParts);
|
|
67
|
+
} else if (!entry.toolParts) {
|
|
68
|
+
entry.toolParts = new Map();
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
sessionStore.set(msgId, entry);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// Merge uploadedSessions: keep the "newer" signature between memory and disk
|
|
77
|
+
if (data.uploadedSessions) {
|
|
78
|
+
for (const x of data.uploadedSessions) {
|
|
79
|
+
const sid = Array.isArray(x) ? x[0] : x;
|
|
80
|
+
const diskVal = Array.isArray(x) ? x[1] : 0;
|
|
81
|
+
|
|
82
|
+
const normalize = (v) => {
|
|
83
|
+
if (typeof v === 'number') return { count: v, lastAssistantLen: 0, lastTs: 0 };
|
|
84
|
+
if (v && typeof v === 'object') {
|
|
85
|
+
return {
|
|
86
|
+
count: Number(v.count || 0),
|
|
87
|
+
lastAssistantLen: Number(v.lastAssistantLen || 0),
|
|
88
|
+
lastTs: Number(v.lastTs || 0)
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
return { count: 0, lastAssistantLen: 0, lastTs: 0 };
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
const memSig = normalize(uploadedSessions.get(sid));
|
|
95
|
+
const diskSig = normalize(diskVal);
|
|
96
|
+
|
|
97
|
+
const diskNewer =
|
|
98
|
+
diskSig.count > memSig.count ||
|
|
99
|
+
(diskSig.count === memSig.count && diskSig.lastAssistantLen > memSig.lastAssistantLen) ||
|
|
100
|
+
(diskSig.count === memSig.count && diskSig.lastAssistantLen === memSig.lastAssistantLen && diskSig.lastTs > memSig.lastTs);
|
|
101
|
+
|
|
102
|
+
if (diskNewer) {
|
|
103
|
+
uploadedSessions.set(sid, diskVal);
|
|
104
|
+
} else if (!uploadedSessions.has(sid)) {
|
|
105
|
+
uploadedSessions.set(sid, memSig);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// Merge sessionGraph: union child lists
|
|
111
|
+
if (data.sessionGraph) {
|
|
112
|
+
const diskGraph = new Map(data.sessionGraph);
|
|
113
|
+
for (const [parentId, childIds] of diskGraph.entries()) {
|
|
114
|
+
if (!sessionGraph.has(parentId)) {
|
|
115
|
+
sessionGraph.set(parentId, childIds);
|
|
116
|
+
} else {
|
|
117
|
+
const existing = sessionGraph.get(parentId);
|
|
118
|
+
for (const cid of childIds) {
|
|
119
|
+
if (!existing.includes(cid)) existing.push(cid);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// Merge pendingChildSessions
|
|
126
|
+
if (data.pendingChildSessions) {
|
|
127
|
+
const diskPending = new Map(data.pendingChildSessions);
|
|
128
|
+
for (const [childId, childData] of diskPending.entries()) {
|
|
129
|
+
if (!pendingChildSessions.has(childId)) {
|
|
130
|
+
pendingChildSessions.set(childId, childData);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
logDebug(`Loaded store (merged): ${sessionStore.size} messages`);
|
|
136
|
+
}
|
|
137
|
+
} catch(e) {
|
|
138
|
+
logDebug("Store read err: " + e.message);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
function saveStore() {
|
|
143
|
+
try {
|
|
144
|
+
cleanupOldSessions();
|
|
145
|
+
|
|
146
|
+
// Merge with disk state to prevent concurrent process data loss.
|
|
147
|
+
// loadStore() uses merge semantics (won't overwrite in-memory entries).
|
|
148
|
+
loadStore();
|
|
149
|
+
|
|
150
|
+
const data = {
|
|
151
|
+
sessionStore: Array.from(sessionStore.entries()).map(([k, v]) => [k, {
|
|
152
|
+
...v,
|
|
153
|
+
parts: v.parts instanceof Map ? Array.from(v.parts.entries()) : (v.parts || []),
|
|
154
|
+
toolParts: v.toolParts instanceof Map ? Array.from(v.toolParts.entries()) : (v.toolParts || [])
|
|
155
|
+
}]),
|
|
156
|
+
uploadedSessions: Array.from(uploadedSessions.entries()),
|
|
157
|
+
sessionGraph: Array.from(sessionGraph.entries()),
|
|
158
|
+
pendingChildSessions: Array.from(pendingChildSessions.entries()),
|
|
159
|
+
timestamp: new Date().toISOString()
|
|
160
|
+
};
|
|
161
|
+
fs.writeFileSync(STORE_PATH, JSON.stringify(data, null, 2), 'utf8');
|
|
162
|
+
} catch(e) {
|
|
163
|
+
logDebug("Store sync err: " + e.message);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
24
166
|
|
|
25
167
|
function toMsTimestamp(v) {
|
|
26
168
|
if (v == null) return null;
|
|
@@ -120,11 +262,12 @@ function loadConfiguration() {
|
|
|
120
262
|
|
|
121
263
|
function collectSessionMessages(sessionId) {
|
|
122
264
|
const messages = [];
|
|
265
|
+
logDebug(`collectSessionMessages: scanning ${sessionStore.size} entries for session ${sessionId}`);
|
|
123
266
|
for (const [mid, entry] of sessionStore.entries()) {
|
|
124
267
|
if (entry.info.sessionID === sessionId) {
|
|
125
268
|
// Calculate latency for this message if possible from parts
|
|
126
269
|
let partBasedDuration = 0;
|
|
127
|
-
if (entry.parts.size > 0) {
|
|
270
|
+
if (entry.parts instanceof Map && entry.parts.size > 0) {
|
|
128
271
|
const parts = Array.from(entry.parts.values()).map(p => p.time?.start || 0).filter(t => t > 0).sort((a,b)=>a-b);
|
|
129
272
|
if (parts.length >= 1) {
|
|
130
273
|
const start = parts[0];
|
|
@@ -133,9 +276,13 @@ function collectSessionMessages(sessionId) {
|
|
|
133
276
|
}
|
|
134
277
|
}
|
|
135
278
|
|
|
279
|
+
const role = entry.info.role || 'unknown';
|
|
280
|
+
const content = entry.content || entry.info.content || "";
|
|
281
|
+
logDebug(`Found message in store: id=${mid}, role=${role}, content_len=${content.length}`);
|
|
282
|
+
|
|
136
283
|
messages.push({
|
|
137
|
-
role:
|
|
138
|
-
content:
|
|
284
|
+
role: role,
|
|
285
|
+
content: content,
|
|
139
286
|
tool_calls: entry.info.tool_calls || entry.info.toolCalls,
|
|
140
287
|
function_call: entry.info.function_call || entry.info.functionCall,
|
|
141
288
|
usage: entry.info.usage || entry.info.tokens,
|
|
@@ -147,6 +294,7 @@ function collectSessionMessages(sessionId) {
|
|
|
147
294
|
});
|
|
148
295
|
}
|
|
149
296
|
}
|
|
297
|
+
logDebug(`collectSessionMessages: collected ${messages.length} messages for ${sessionId}`);
|
|
150
298
|
return messages;
|
|
151
299
|
}
|
|
152
300
|
|
|
@@ -196,6 +344,7 @@ function collectSessionWithChildren(sessionId) {
|
|
|
196
344
|
}
|
|
197
345
|
|
|
198
346
|
export default async function WittySkillInsightPlugin(input) {
|
|
347
|
+
loadStore();
|
|
199
348
|
const { apiKey, host } = loadConfiguration();
|
|
200
349
|
if (!apiKey || !host) {
|
|
201
350
|
logDebug("Plugin disabled: Missing API Key or Host");
|
|
@@ -254,23 +403,6 @@ export default async function WittySkillInsightPlugin(input) {
|
|
|
254
403
|
// Attempt to find session ID in various places
|
|
255
404
|
const sessionId = event.session_id || event.properties?.sessionID || event.payload?.session_id;
|
|
256
405
|
|
|
257
|
-
// 0. Handle session.created events to establish parent-child relationships
|
|
258
|
-
if (event.type === 'session.created') {
|
|
259
|
-
const sessionInfo = event.properties?.info || event.payload?.info;
|
|
260
|
-
if (sessionInfo && sessionInfo.id && sessionInfo.parentID) {
|
|
261
|
-
const childId = sessionInfo.id;
|
|
262
|
-
const parentId = sessionInfo.parentID;
|
|
263
|
-
|
|
264
|
-
if (!sessionGraph.has(parentId)) {
|
|
265
|
-
sessionGraph.set(parentId, []);
|
|
266
|
-
}
|
|
267
|
-
if (!sessionGraph.get(parentId).includes(childId)) {
|
|
268
|
-
sessionGraph.get(parentId).push(childId);
|
|
269
|
-
logDebug(`Session created: ${childId} is child of ${parentId}`);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
406
|
// 1. Accumulate Message Metadata
|
|
275
407
|
if (event.type === 'message.created' || event.type === 'message.updated') {
|
|
276
408
|
let info = (event.payload && event.payload.message) || (event.properties && event.properties.info);
|
|
@@ -309,6 +441,8 @@ export default async function WittySkillInsightPlugin(input) {
|
|
|
309
441
|
});
|
|
310
442
|
}
|
|
311
443
|
const entry = sessionStore.get(msgId);
|
|
444
|
+
if (!(entry.parts instanceof Map)) entry.parts = new Map(Array.isArray(entry.parts) ? entry.parts : []);
|
|
445
|
+
if (entry.toolParts && !(entry.toolParts instanceof Map)) entry.toolParts = new Map(Array.isArray(entry.toolParts) ? entry.toolParts : []);
|
|
312
446
|
|
|
313
447
|
// Store part
|
|
314
448
|
const partId = part.id || `temp_${Date.now()}_${Math.random()}`;
|
|
@@ -414,22 +548,81 @@ export default async function WittySkillInsightPlugin(input) {
|
|
|
414
548
|
}
|
|
415
549
|
}
|
|
416
550
|
|
|
551
|
+
if (event.type === 'message.part.delta') {
|
|
552
|
+
const props = event.properties || event.payload || {};
|
|
553
|
+
const msgId = props.messageID || props.message_id;
|
|
554
|
+
const partId = props.partID || props.part_id;
|
|
555
|
+
const field = props.field;
|
|
556
|
+
const delta = props.delta;
|
|
557
|
+
|
|
558
|
+
if (msgId && partId && field && typeof delta === 'string') {
|
|
559
|
+
if (!sessionStore.has(msgId)) {
|
|
560
|
+
sessionStore.set(msgId, {
|
|
561
|
+
info: { sessionID: sessionId },
|
|
562
|
+
parts: new Map(),
|
|
563
|
+
toolParts: new Map(),
|
|
564
|
+
content: ''
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
const entry = sessionStore.get(msgId);
|
|
569
|
+
if (!(entry.parts instanceof Map)) entry.parts = new Map(Array.isArray(entry.parts) ? entry.parts : []);
|
|
570
|
+
|
|
571
|
+
const dedupeKey = `${msgId}:${partId}:${field}`;
|
|
572
|
+
const lastDelta = lastDeltaByPartField.get(dedupeKey);
|
|
573
|
+
if (lastDelta !== delta) {
|
|
574
|
+
lastDeltaByPartField.set(dedupeKey, delta);
|
|
575
|
+
if (lastDeltaByPartField.size > 5000) {
|
|
576
|
+
for (const k of lastDeltaByPartField.keys()) {
|
|
577
|
+
lastDeltaByPartField.delete(k);
|
|
578
|
+
if (lastDeltaByPartField.size <= 4000) break;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
const existingPart = entry.parts.get(partId) || {
|
|
583
|
+
id: partId,
|
|
584
|
+
messageID: msgId,
|
|
585
|
+
sessionID: sessionId,
|
|
586
|
+
type: 'text'
|
|
587
|
+
};
|
|
588
|
+
const prev = typeof existingPart[field] === 'string' ? existingPart[field] : '';
|
|
589
|
+
existingPart[field] = prev + delta;
|
|
590
|
+
entry.parts.set(partId, existingPart);
|
|
591
|
+
|
|
592
|
+
let full = "";
|
|
593
|
+
const sortedParts = Array.from(entry.parts.values()).sort((a, b) => {
|
|
594
|
+
const ta = a.time?.start || (a.meta && a.meta.start) || 0;
|
|
595
|
+
const tb = b.time?.start || (b.meta && b.meta.start) || 0;
|
|
596
|
+
return ta - tb;
|
|
597
|
+
});
|
|
598
|
+
|
|
599
|
+
for (const p of sortedParts) {
|
|
600
|
+
if (p.text) full += p.text;
|
|
601
|
+
else if (p.content) full += p.content;
|
|
602
|
+
}
|
|
603
|
+
entry.content = full;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
|
|
417
608
|
// 3. Upload on Session Idle
|
|
418
609
|
if (event.type === "session.idle") {
|
|
419
610
|
if (!sessionId || !sessionId.startsWith("ses")) return;
|
|
420
611
|
|
|
421
|
-
//
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
612
|
+
// Reload store from disk to pick up any data written by
|
|
613
|
+
// concurrent child processes (e.g. opencode run executed
|
|
614
|
+
// from within the opencode interactive interface).
|
|
615
|
+
loadStore();
|
|
616
|
+
|
|
617
|
+
// Only treat a session as "child" when it was detected via Task tool
|
|
618
|
+
// (i.e. registered in sessionGraph). Do NOT rely on event.parentID because
|
|
619
|
+
// nested `opencode run ...` can also set parentID and we want both sessions uploaded.
|
|
620
|
+
let foundParentId = null;
|
|
621
|
+
for (const [potentialParent, childIds] of sessionGraph.entries()) {
|
|
622
|
+
if (childIds.includes(sessionId)) {
|
|
623
|
+
foundParentId = potentialParent;
|
|
624
|
+
logDebug(`Found parent ${foundParentId} for for child ${sessionId} from sessionGraph`);
|
|
625
|
+
break;
|
|
433
626
|
}
|
|
434
627
|
}
|
|
435
628
|
|
|
@@ -587,11 +780,38 @@ export default async function WittySkillInsightPlugin(input) {
|
|
|
587
780
|
timestamp: new Date().toISOString()
|
|
588
781
|
};
|
|
589
782
|
|
|
590
|
-
|
|
591
|
-
|
|
783
|
+
let lastTs = 0;
|
|
784
|
+
for (const m of messages) {
|
|
785
|
+
const t1 = toMsTimestamp(m.timestamp) || 0;
|
|
786
|
+
const t2 = toMsTimestamp(m.timeInfo?.completed) || 0;
|
|
787
|
+
const t3 = toMsTimestamp(m.timeInfo?.created) || 0;
|
|
788
|
+
lastTs = Math.max(lastTs, t1, t2, t3);
|
|
789
|
+
}
|
|
790
|
+
const lastAssistantLen = (lastAssistantContent || '').length;
|
|
791
|
+
|
|
792
|
+
const normalize = (v) => {
|
|
793
|
+
if (typeof v === 'number') return { count: v, lastAssistantLen: 0, lastTs: 0 };
|
|
794
|
+
if (v && typeof v === 'object') {
|
|
795
|
+
return {
|
|
796
|
+
count: Number(v.count || 0),
|
|
797
|
+
lastAssistantLen: Number(v.lastAssistantLen || 0),
|
|
798
|
+
lastTs: Number(v.lastTs || 0)
|
|
799
|
+
};
|
|
800
|
+
}
|
|
801
|
+
return { count: 0, lastAssistantLen: 0, lastTs: 0 };
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
const prevSig = normalize(uploadedSessions.get(sessionId));
|
|
805
|
+
const shouldSkip =
|
|
806
|
+
messages.length <= prevSig.count &&
|
|
807
|
+
lastAssistantLen <= prevSig.lastAssistantLen &&
|
|
808
|
+
lastTs <= prevSig.lastTs;
|
|
809
|
+
|
|
810
|
+
if (shouldSkip) {
|
|
811
|
+
logDebug(`Session ${sessionId} already uploaded (count=${prevSig.count}, lastAssistantLen=${prevSig.lastAssistantLen}, lastTs=${prevSig.lastTs}) (cur: count=${messages.length}, lastAssistantLen=${lastAssistantLen}, lastTs=${lastTs}), skipping.`);
|
|
592
812
|
return;
|
|
593
813
|
}
|
|
594
|
-
uploadedSessions.
|
|
814
|
+
uploadedSessions.set(sessionId, { count: messages.length, lastAssistantLen, lastTs });
|
|
595
815
|
|
|
596
816
|
const body = JSON.stringify(payload);
|
|
597
817
|
logDebug(`Payload Body Size: ${Buffer.byteLength(body)} bytes`);
|
|
@@ -692,6 +912,7 @@ try {
|
|
|
692
912
|
} catch (err) {
|
|
693
913
|
logDebug(`Plugin Exception: ${err.message}`);
|
|
694
914
|
}
|
|
915
|
+
saveStore();
|
|
695
916
|
}
|
|
696
917
|
};
|
|
697
918
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,r)=>{t.exports=e.r(76562)},9165,e=>{"use strict";async function t(e,t){return fetch(""+e,t)}function r(e){return""+e}e.s(["apiFetch",()=>t,"getApiUrl",()=>r])},94690,e=>{"use strict";var t=e.i(43476),r=e.i(18566),i=e.i(71645),o=e.i(9165);let a=(0,i.createContext)(void 0);function u({children:e}){let[u,s]=(0,i.useState)(null),[n,l]=(0,i.useState)(null),[c,h]=(0,i.useState)(!1),[g,d]=(0,i.useState)(!1),[m,f]=(0,i.useState)(!1),v=(0,r.useRouter)(),p=(0,r.usePathname)();return(0,i.useEffect)(()=>{(0,o.apiFetch)("/api/config/status?check_org=true").then(e=>e.json()).then(e=>h(e.org_mode||!1)).catch(()=>{}).finally(()=>f(!0))},[]),(0,i.useEffect)(()=>{if(!m)return;let e=localStorage.getItem("user_id"),t=localStorage.getItem("api_key");e?(s(e),t&&l(t)):c&&!g?(d(!0),(0,o.apiFetch)("/api/auth/organization").then(async e=>{let t=await e.json().catch(()=>({}));if(!e.ok)throw Error(t?.error||`Organization auth failed: ${e.status}`);return t}).then(e=>{let t=e?.displayName||e?.username,r=e?.apiKey;if(!t)throw Error("Organization auth response missing username");localStorage.setItem("user_id",t),r&&localStorage.setItem("api_key",r),s(t),r&&l(r)}).catch(e=>console.error("Organization auth failed:",e)).finally(()=>d(!1))):"/login"!==p&&v.push("/login")},[p,v,c,g,m]),(0,t.jsx)(a.Provider,{value:{user:u,apiKey:n,login:(e,t)=>{localStorage.setItem("user_id",e),s(e),t&&(localStorage.setItem("api_key",t),l(t)),v.replace("/")},logout:()=>{localStorage.removeItem("user_id"),localStorage.removeItem("api_key"),s(null),l(null),v.push("/login")}},children:e})}function s(){let e=(0,i.useContext)(a);if(void 0===e)throw Error("useAuth must be used within an AuthProvider");return e}e.s(["AuthProvider",()=>u,"useAuth",()=>s])},97703,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let i=(0,r.createContext)(void 0);function o({children:e}){let[o,a]=(0,r.useState)("light"),[u,s]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{s(!0);let e=localStorage.getItem("skill-insight-theme");e&&a(e)},[]),(0,r.useEffect)(()=>{u&&(localStorage.setItem("skill-insight-theme",o),document.documentElement.setAttribute("data-theme",o))},[o,u]),u)?(0,t.jsx)(i.Provider,{value:{theme:o,toggleTheme:()=>{a(e=>"light"===e?"dark":"light")},isDark:"dark"===o},children:e}):null}function a(){let e=(0,r.useContext)(i);if(void 0===e)throw Error("useTheme must be used within a ThemeProvider");return e}e.s(["ThemeProvider",()=>o,"useTheme",()=>a])},1661,e=>{"use strict";var t=e.i(43476),r=e.i(94690),i=e.i(97703);function o({children:e}){return(0,t.jsx)(i.ThemeProvider,{children:(0,t.jsx)(r.AuthProvider,{children:e})})}e.s(["Providers",()=>o])}]);
|