clawmini 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gemini/settings.json +46 -0
- package/.prettierrc +7 -0
- package/GEMINI.md +11 -0
- package/README.md +137 -0
- package/dist/adapter-discord/index.d.mts +5 -0
- package/dist/adapter-discord/index.d.mts.map +1 -0
- package/dist/adapter-discord/index.mjs +456 -0
- package/dist/adapter-discord/index.mjs.map +1 -0
- package/dist/chats-DKgTeU7i.mjs +91 -0
- package/dist/chats-DKgTeU7i.mjs.map +1 -0
- package/dist/chats-Zd_HXDHx.mjs +29 -0
- package/dist/chats-Zd_HXDHx.mjs.map +1 -0
- package/dist/cli/index.d.mts +1 -0
- package/dist/cli/index.mjs +850 -0
- package/dist/cli/index.mjs.map +1 -0
- package/dist/cli/lite.d.mts +1 -0
- package/dist/cli/lite.mjs +4434 -0
- package/dist/cli/lite.mjs.map +1 -0
- package/dist/daemon/index.d.mts +5 -0
- package/dist/daemon/index.d.mts.map +1 -0
- package/dist/daemon/index.mjs +1222 -0
- package/dist/daemon/index.mjs.map +1 -0
- package/dist/fetch-BjZVyU3Z.mjs +37 -0
- package/dist/fetch-BjZVyU3Z.mjs.map +1 -0
- package/dist/fs-B5wW0oaH.mjs +14 -0
- package/dist/fs-B5wW0oaH.mjs.map +1 -0
- package/dist/lite-Dl7WXyaH.mjs +80 -0
- package/dist/lite-Dl7WXyaH.mjs.map +1 -0
- package/dist/rolldown-runtime-95iHPtFO.mjs +18 -0
- package/dist/web/_app/env.js +1 -0
- package/dist/web/_app/immutable/assets/0.GI4C4dpV.css +1 -0
- package/dist/web/_app/immutable/chunks/B5abRDXp.js +1 -0
- package/dist/web/_app/immutable/chunks/B8yYFADm.js +1 -0
- package/dist/web/_app/immutable/chunks/BPy8HLo7.js +5 -0
- package/dist/web/_app/immutable/chunks/Bi0jeV7Q.js +1 -0
- package/dist/web/_app/immutable/chunks/BmUXQ3wy.js +2 -0
- package/dist/web/_app/immutable/chunks/C3k55nDF.js +1 -0
- package/dist/web/_app/immutable/chunks/COekwvP2.js +1 -0
- package/dist/web/_app/immutable/chunks/CSvS_NwK.js +1 -0
- package/dist/web/_app/immutable/chunks/CpaGRn9L.js +1 -0
- package/dist/web/_app/immutable/chunks/CyNaE55B.js +1 -0
- package/dist/web/_app/immutable/chunks/DG5RZBw-.js +2 -0
- package/dist/web/_app/immutable/chunks/Dc-UOHw9.js +1 -0
- package/dist/web/_app/immutable/chunks/DcrmIfTj.js +1 -0
- package/dist/web/_app/immutable/chunks/ZkLyk0mE.js +1 -0
- package/dist/web/_app/immutable/entry/app.B-vZe7PN.js +2 -0
- package/dist/web/_app/immutable/entry/start.oP1AgKhs.js +1 -0
- package/dist/web/_app/immutable/nodes/0.B5WFN0zw.js +1 -0
- package/dist/web/_app/immutable/nodes/1.D1wtJb2k.js +1 -0
- package/dist/web/_app/immutable/nodes/2.CK3CLC0f.js +1 -0
- package/dist/web/_app/immutable/nodes/3.BB5wCoBf.js +4 -0
- package/dist/web/_app/immutable/nodes/4.Dr2jvAXK.js +1 -0
- package/dist/web/_app/immutable/nodes/5.BJl7oM3b.js +1 -0
- package/dist/web/_app/version.json +1 -0
- package/dist/web/index.html +37 -0
- package/dist/web/robots.txt +3 -0
- package/dist/workspace-CSgfo_2J.mjs +383 -0
- package/dist/workspace-CSgfo_2J.mjs.map +1 -0
- package/docs/01_chats/development_log.md +36 -0
- package/docs/01_chats/notes.md +27 -0
- package/docs/01_chats/prd.md +47 -0
- package/docs/01_chats/questions.md +19 -0
- package/docs/01_chats/tickets.md +67 -0
- package/docs/02_sessions/development_log.md +79 -0
- package/docs/02_sessions/notes.md +40 -0
- package/docs/02_sessions/prd.md +75 -0
- package/docs/02_sessions/questions.md +7 -0
- package/docs/02_sessions/tickets.md +68 -0
- package/docs/03_web_interface/development_log.md +60 -0
- package/docs/03_web_interface/notes.md +29 -0
- package/docs/03_web_interface/prd.md +42 -0
- package/docs/03_web_interface/questions.md +8 -0
- package/docs/03_web_interface/tickets.md +59 -0
- package/docs/04_agents/development_log.md +54 -0
- package/docs/04_agents/notes.md +45 -0
- package/docs/04_agents/prd.md +47 -0
- package/docs/04_agents/questions.md +13 -0
- package/docs/04_agents/tickets.md +107 -0
- package/docs/05_routers/development_log.md +13 -0
- package/docs/05_routers/notes.md +40 -0
- package/docs/05_routers/prd.md +55 -0
- package/docs/05_routers/questions.md +21 -0
- package/docs/05_routers/tickets.md +109 -0
- package/docs/06_agent_templates/development_log.md +38 -0
- package/docs/06_agent_templates/notes.md +25 -0
- package/docs/06_agent_templates/prd.md +34 -0
- package/docs/06_agent_templates/questions.md +11 -0
- package/docs/06_agent_templates/tickets.md +49 -0
- package/docs/06_cron/development_log.md +51 -0
- package/docs/06_cron/notes.md +14 -0
- package/docs/06_cron/prd.md +92 -0
- package/docs/06_cron/questions.md +15 -0
- package/docs/06_cron/tickets.md +75 -0
- package/docs/07_web_chat_ux/development_log.md +30 -0
- package/docs/07_web_chat_ux/notes.md +25 -0
- package/docs/07_web_chat_ux/prd.md +46 -0
- package/docs/07_web_chat_ux/questions.md +7 -0
- package/docs/07_web_chat_ux/tickets.md +48 -0
- package/docs/08_agent_api/development_log.md +52 -0
- package/docs/08_agent_api/notes.md +31 -0
- package/docs/08_agent_api/prd.md +56 -0
- package/docs/08_agent_api/questions.md +14 -0
- package/docs/08_agent_api/tickets.md +104 -0
- package/docs/09_agent_fallbacks/development_log.md +52 -0
- package/docs/09_agent_fallbacks/notes.md +40 -0
- package/docs/09_agent_fallbacks/prd.md +55 -0
- package/docs/09_agent_fallbacks/questions.md +10 -0
- package/docs/09_agent_fallbacks/tickets.md +88 -0
- package/docs/09_discord_adapter/development_log.md +95 -0
- package/docs/09_discord_adapter/notes.md +18 -0
- package/docs/09_discord_adapter/prd.md +57 -0
- package/docs/09_discord_adapter/questions.md +16 -0
- package/docs/09_discord_adapter/tickets.md +116 -0
- package/docs/10_file_attachments/development_log.md +55 -0
- package/docs/10_file_attachments/notes.md +59 -0
- package/docs/10_file_attachments/prd.md +73 -0
- package/docs/10_file_attachments/questions.md +15 -0
- package/docs/10_file_attachments/tickets.md +88 -0
- package/docs/11_message_verbosity/development_log.md +43 -0
- package/docs/11_message_verbosity/notes.md +26 -0
- package/docs/11_message_verbosity/prd.md +44 -0
- package/docs/11_message_verbosity/questions.md +8 -0
- package/docs/11_message_verbosity/tickets.md +33 -0
- package/docs/12_environments/development_log.md +43 -0
- package/docs/12_environments/notes.md +45 -0
- package/docs/12_environments/prd.md +113 -0
- package/docs/12_environments/questions.md +17 -0
- package/docs/12_environments/tickets.md +87 -0
- package/docs/12_setup_flow_improvements/development_log.md +40 -0
- package/docs/12_setup_flow_improvements/notes.md +34 -0
- package/docs/12_setup_flow_improvements/prd.md +35 -0
- package/docs/12_setup_flow_improvements/questions.md +8 -0
- package/docs/12_setup_flow_improvements/tickets.md +122 -0
- package/docs/13_discord_typing_indicators/development_log.md +38 -0
- package/docs/13_discord_typing_indicators/notes.md +18 -0
- package/docs/13_discord_typing_indicators/prd.md +41 -0
- package/docs/13_discord_typing_indicators/questions.md +6 -0
- package/docs/13_discord_typing_indicators/tickets.md +60 -0
- package/docs/14_interruptions/development_log.md +50 -0
- package/docs/14_interruptions/notes.md +38 -0
- package/docs/14_interruptions/prd.md +46 -0
- package/docs/14_interruptions/questions.md +12 -0
- package/docs/14_interruptions/tickets.md +69 -0
- package/docs/15_sandbox_policies/development_log.md +95 -0
- package/docs/15_sandbox_policies/notes.md +33 -0
- package/docs/15_sandbox_policies/prd.md +163 -0
- package/docs/15_sandbox_policies/questions.md +10 -0
- package/docs/15_sandbox_policies/tickets.md +196 -0
- package/docs/CHECKS.md +9 -0
- package/docs/guides/discord_adapter_setup.md +69 -0
- package/docs/guides/sandbox_policies.md +76 -0
- package/eslint.config.js +47 -0
- package/napkin.md +21 -0
- package/package.json +50 -0
- package/scripts/create_worktree.sh +49 -0
- package/scripts/get_pr_comments.sh +36 -0
- package/src/adapter-discord/client.test.ts +65 -0
- package/src/adapter-discord/client.ts +41 -0
- package/src/adapter-discord/config.test.ts +156 -0
- package/src/adapter-discord/config.ts +61 -0
- package/src/adapter-discord/forwarder.test.ts +493 -0
- package/src/adapter-discord/forwarder.ts +246 -0
- package/src/adapter-discord/index.test.ts +399 -0
- package/src/adapter-discord/index.ts +147 -0
- package/src/adapter-discord/state.test.ts +65 -0
- package/src/adapter-discord/state.ts +44 -0
- package/src/cli/client.ts +46 -0
- package/src/cli/commands/agents.ts +138 -0
- package/src/cli/commands/chats.ts +79 -0
- package/src/cli/commands/down.ts +32 -0
- package/src/cli/commands/environments.ts +39 -0
- package/src/cli/commands/export-lite.ts +62 -0
- package/src/cli/commands/init.ts +79 -0
- package/src/cli/commands/jobs.ts +141 -0
- package/src/cli/commands/messages.ts +103 -0
- package/src/cli/commands/up.ts +26 -0
- package/src/cli/commands/web-api/agents.ts +138 -0
- package/src/cli/commands/web-api/chats.ts +213 -0
- package/src/cli/commands/web-api/utils.ts +27 -0
- package/src/cli/commands/web.ts +105 -0
- package/src/cli/e2e/adapter-discord.test.ts +76 -0
- package/src/cli/e2e/agents.test.ts +140 -0
- package/src/cli/e2e/basic.test.ts +43 -0
- package/src/cli/e2e/cron.test.ts +132 -0
- package/src/cli/e2e/daemon.test.ts +293 -0
- package/src/cli/e2e/environments.test.ts +66 -0
- package/src/cli/e2e/export-lite-func.test.ts +155 -0
- package/src/cli/e2e/export-lite.test.ts +51 -0
- package/src/cli/e2e/fallbacks.test.ts +169 -0
- package/src/cli/e2e/global-setup.ts +15 -0
- package/src/cli/e2e/init.test.ts +70 -0
- package/src/cli/e2e/messages.test.ts +294 -0
- package/src/cli/e2e/requests.test.ts +165 -0
- package/src/cli/e2e/utils.ts +66 -0
- package/src/cli/index.test.ts +7 -0
- package/src/cli/index.ts +29 -0
- package/src/cli/lite.ts +247 -0
- package/src/cli/utils.ts +4 -0
- package/src/daemon/auth.test.ts +50 -0
- package/src/daemon/auth.ts +69 -0
- package/src/daemon/chats.ts +26 -0
- package/src/daemon/cron.test.ts +28 -0
- package/src/daemon/cron.ts +159 -0
- package/src/daemon/events.ts +15 -0
- package/src/daemon/index.ts +212 -0
- package/src/daemon/message-agent.test.ts +132 -0
- package/src/daemon/message-extraction.test.ts +166 -0
- package/src/daemon/message-fallbacks.test.ts +313 -0
- package/src/daemon/message-interruption.test.ts +125 -0
- package/src/daemon/message-queue.test.ts +143 -0
- package/src/daemon/message-router.test.ts +106 -0
- package/src/daemon/message-session.test.ts +127 -0
- package/src/daemon/message-test-utils.ts +41 -0
- package/src/daemon/message-typing.test.ts +93 -0
- package/src/daemon/message-verbosity.test.ts +127 -0
- package/src/daemon/message.ts +600 -0
- package/src/daemon/observation.test.ts +118 -0
- package/src/daemon/policy-request-service.test.ts +87 -0
- package/src/daemon/policy-request-service.ts +62 -0
- package/src/daemon/policy-utils.test.ts +138 -0
- package/src/daemon/policy-utils.ts +152 -0
- package/src/daemon/queue.test.ts +89 -0
- package/src/daemon/queue.ts +87 -0
- package/src/daemon/request-store.test.ts +103 -0
- package/src/daemon/request-store.ts +96 -0
- package/src/daemon/router-policy-request.test.ts +99 -0
- package/src/daemon/router.test.ts +380 -0
- package/src/daemon/router.ts +510 -0
- package/src/daemon/routers/slash-command.test.ts +145 -0
- package/src/daemon/routers/slash-command.ts +58 -0
- package/src/daemon/routers/slash-interrupt.test.ts +30 -0
- package/src/daemon/routers/slash-interrupt.ts +7 -0
- package/src/daemon/routers/slash-new.test.ts +59 -0
- package/src/daemon/routers/slash-new.ts +14 -0
- package/src/daemon/routers/slash-policies.test.ts +167 -0
- package/src/daemon/routers/slash-policies.ts +131 -0
- package/src/daemon/routers/slash-stop.test.ts +30 -0
- package/src/daemon/routers/slash-stop.ts +3 -0
- package/src/daemon/routers/types.ts +10 -0
- package/src/daemon/routers/utils.ts +22 -0
- package/src/daemon/routers.test.ts +141 -0
- package/src/daemon/routers.ts +115 -0
- package/src/daemon/utils/spawn.ts +61 -0
- package/src/shared/agent-utils.ts +30 -0
- package/src/shared/chats.test.ts +112 -0
- package/src/shared/chats.ts +164 -0
- package/src/shared/config.test.ts +90 -0
- package/src/shared/config.ts +100 -0
- package/src/shared/event-source.ts +121 -0
- package/src/shared/fetch.ts +45 -0
- package/src/shared/lite.ts +129 -0
- package/src/shared/policies.ts +24 -0
- package/src/shared/utils/env.ts +27 -0
- package/src/shared/utils/fs.ts +13 -0
- package/src/shared/workspace.test.ts +345 -0
- package/src/shared/workspace.ts +500 -0
- package/templates/environments/cladding/env.json +7 -0
- package/templates/environments/macos/env.json +8 -0
- package/templates/environments/macos/sandbox.sb +21 -0
- package/templates/environments/macos-proxy/allowlist.txt +1 -0
- package/templates/environments/macos-proxy/env.json +14 -0
- package/templates/environments/macos-proxy/proxy.mjs +86 -0
- package/templates/environments/macos-proxy/sandbox.sb +34 -0
- package/templates/gemini/settings.json +11 -0
- package/templates/gemini-claw/.gemini/hooks/clawmini-logging.sh +17 -0
- package/templates/gemini-claw/.gemini/settings.json +24 -0
- package/templates/gemini-claw/.gemini/skills/clawmini-jobs/SKILL.md +40 -0
- package/templates/gemini-claw/.gemini/system.md +98 -0
- package/templates/gemini-claw/BOOTSTRAP.md +54 -0
- package/templates/gemini-claw/GEMINI.md +107 -0
- package/templates/gemini-claw/HEARTBEAT.md +3 -0
- package/templates/gemini-claw/MEMORY.md +2 -0
- package/templates/gemini-claw/SOUL.md +42 -0
- package/templates/gemini-claw/TOOLS.md +38 -0
- package/templates/gemini-claw/USER.md +15 -0
- package/templates/gemini-claw/memory/.gitkeep +0 -0
- package/templates/gemini-claw/settings.json +24 -0
- package/templates/opencode/settings.json +11 -0
- package/tsconfig.json +42 -0
- package/tsdown.config.ts +19 -0
- package/vitest.config.ts +9 -0
- package/web/.svelte-kit/ambient.d.ts +382 -0
- package/web/.svelte-kit/generated/client/app.js +35 -0
- package/web/.svelte-kit/generated/client/matchers.js +1 -0
- package/web/.svelte-kit/generated/client/nodes/0.js +3 -0
- package/web/.svelte-kit/generated/client/nodes/1.js +1 -0
- package/web/.svelte-kit/generated/client/nodes/2.js +1 -0
- package/web/.svelte-kit/generated/client/nodes/3.js +1 -0
- package/web/.svelte-kit/generated/client/nodes/4.js +3 -0
- package/web/.svelte-kit/generated/client/nodes/5.js +3 -0
- package/web/.svelte-kit/generated/client-optimized/app.js +35 -0
- package/web/.svelte-kit/generated/client-optimized/matchers.js +1 -0
- package/web/.svelte-kit/generated/client-optimized/nodes/0.js +3 -0
- package/web/.svelte-kit/generated/client-optimized/nodes/1.js +1 -0
- package/web/.svelte-kit/generated/client-optimized/nodes/2.js +1 -0
- package/web/.svelte-kit/generated/client-optimized/nodes/3.js +1 -0
- package/web/.svelte-kit/generated/client-optimized/nodes/4.js +3 -0
- package/web/.svelte-kit/generated/client-optimized/nodes/5.js +3 -0
- package/web/.svelte-kit/generated/root.js +3 -0
- package/web/.svelte-kit/generated/root.svelte +68 -0
- package/web/.svelte-kit/generated/server/internal.js +53 -0
- package/web/.svelte-kit/non-ambient.d.ts +46 -0
- package/web/.svelte-kit/output/client/.vite/manifest.json +251 -0
- package/web/.svelte-kit/output/client/_app/immutable/assets/0.GI4C4dpV.css +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/B5abRDXp.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/B8yYFADm.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/BPy8HLo7.js +5 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/Bi0jeV7Q.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/BmUXQ3wy.js +2 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/C3k55nDF.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/COekwvP2.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/CSvS_NwK.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/CpaGRn9L.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/CyNaE55B.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DG5RZBw-.js +2 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/Dc-UOHw9.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/DcrmIfTj.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/chunks/ZkLyk0mE.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/entry/app.B-vZe7PN.js +2 -0
- package/web/.svelte-kit/output/client/_app/immutable/entry/start.oP1AgKhs.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/0.B5WFN0zw.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/1.D1wtJb2k.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/2.CK3CLC0f.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/3.BB5wCoBf.js +4 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/4.Dr2jvAXK.js +1 -0
- package/web/.svelte-kit/output/client/_app/immutable/nodes/5.BJl7oM3b.js +1 -0
- package/web/.svelte-kit/output/client/_app/version.json +1 -0
- package/web/.svelte-kit/output/client/robots.txt +3 -0
- package/web/.svelte-kit/output/prerendered/dependencies/_app/env.js +1 -0
- package/web/.svelte-kit/output/server/.vite/manifest.json +215 -0
- package/web/.svelte-kit/output/server/_app/immutable/assets/_layout.GI4C4dpV.css +1 -0
- package/web/.svelte-kit/output/server/chunks/Icon.js +153 -0
- package/web/.svelte-kit/output/server/chunks/bot.js +2753 -0
- package/web/.svelte-kit/output/server/chunks/client.js +47 -0
- package/web/.svelte-kit/output/server/chunks/environment.js +34 -0
- package/web/.svelte-kit/output/server/chunks/exports.js +231 -0
- package/web/.svelte-kit/output/server/chunks/false.js +4 -0
- package/web/.svelte-kit/output/server/chunks/index-server.js +20 -0
- package/web/.svelte-kit/output/server/chunks/index.js +24 -0
- package/web/.svelte-kit/output/server/chunks/internal.js +133 -0
- package/web/.svelte-kit/output/server/chunks/plus.js +81 -0
- package/web/.svelte-kit/output/server/chunks/root.js +4076 -0
- package/web/.svelte-kit/output/server/chunks/shared.js +789 -0
- package/web/.svelte-kit/output/server/chunks/utils.js +43 -0
- package/web/.svelte-kit/output/server/entries/fallbacks/error.svelte.js +11 -0
- package/web/.svelte-kit/output/server/entries/pages/_layout.svelte.js +3944 -0
- package/web/.svelte-kit/output/server/entries/pages/_layout.ts.js +28 -0
- package/web/.svelte-kit/output/server/entries/pages/_page.svelte.js +7 -0
- package/web/.svelte-kit/output/server/entries/pages/agents/_page.svelte.js +379 -0
- package/web/.svelte-kit/output/server/entries/pages/chats/_id_/_page.svelte.js +292 -0
- package/web/.svelte-kit/output/server/entries/pages/chats/_id_/_page.ts.js +17 -0
- package/web/.svelte-kit/output/server/entries/pages/chats/_id_/settings/_page.svelte.js +259 -0
- package/web/.svelte-kit/output/server/entries/pages/chats/_id_/settings/_page.ts.js +17 -0
- package/web/.svelte-kit/output/server/index.js +3748 -0
- package/web/.svelte-kit/output/server/internal.js +14 -0
- package/web/.svelte-kit/output/server/manifest-full.js +63 -0
- package/web/.svelte-kit/output/server/manifest.js +63 -0
- package/web/.svelte-kit/output/server/nodes/0.js +13 -0
- package/web/.svelte-kit/output/server/nodes/1.js +8 -0
- package/web/.svelte-kit/output/server/nodes/2.js +8 -0
- package/web/.svelte-kit/output/server/nodes/3.js +8 -0
- package/web/.svelte-kit/output/server/nodes/4.js +13 -0
- package/web/.svelte-kit/output/server/nodes/5.js +13 -0
- package/web/.svelte-kit/output/server/remote-entry.js +557 -0
- package/web/.svelte-kit/tsconfig.json +67 -0
- package/web/.svelte-kit/types/route_meta_data.json +17 -0
- package/web/.svelte-kit/types/src/routes/$types.d.ts +26 -0
- package/web/.svelte-kit/types/src/routes/agents/$types.d.ts +18 -0
- package/web/.svelte-kit/types/src/routes/chats/[id]/$types.d.ts +21 -0
- package/web/.svelte-kit/types/src/routes/chats/[id]/proxy+page.ts +20 -0
- package/web/.svelte-kit/types/src/routes/chats/[id]/settings/$types.d.ts +21 -0
- package/web/.svelte-kit/types/src/routes/chats/[id]/settings/proxy+page.ts +19 -0
- package/web/.svelte-kit/types/src/routes/proxy+layout.ts +35 -0
- package/web/README.md +42 -0
- package/web/components.json +16 -0
- package/web/package.json +41 -0
- package/web/src/app.css +121 -0
- package/web/src/app.d.ts +13 -0
- package/web/src/app.html +11 -0
- package/web/src/demo.spec.ts +7 -0
- package/web/src/lib/app-state.svelte.ts +3 -0
- package/web/src/lib/assets/favicon.svg +1 -0
- package/web/src/lib/components/app/app-sidebar-test-wrapper.svelte +10 -0
- package/web/src/lib/components/app/app-sidebar.svelte +171 -0
- package/web/src/lib/components/app/app-sidebar.svelte.spec.ts +13 -0
- package/web/src/lib/components/ui/button/button.svelte +82 -0
- package/web/src/lib/components/ui/button/index.ts +17 -0
- package/web/src/lib/components/ui/dialog/dialog-close.svelte +7 -0
- package/web/src/lib/components/ui/dialog/dialog-content.svelte +45 -0
- package/web/src/lib/components/ui/dialog/dialog-description.svelte +17 -0
- package/web/src/lib/components/ui/dialog/dialog-footer.svelte +20 -0
- package/web/src/lib/components/ui/dialog/dialog-header.svelte +20 -0
- package/web/src/lib/components/ui/dialog/dialog-overlay.svelte +20 -0
- package/web/src/lib/components/ui/dialog/dialog-portal.svelte +7 -0
- package/web/src/lib/components/ui/dialog/dialog-title.svelte +17 -0
- package/web/src/lib/components/ui/dialog/dialog-trigger.svelte +7 -0
- package/web/src/lib/components/ui/dialog/dialog.svelte +7 -0
- package/web/src/lib/components/ui/dialog/index.ts +34 -0
- package/web/src/lib/components/ui/input/index.ts +7 -0
- package/web/src/lib/components/ui/input/input.svelte +52 -0
- package/web/src/lib/components/ui/separator/index.ts +7 -0
- package/web/src/lib/components/ui/separator/separator.svelte +21 -0
- package/web/src/lib/components/ui/sheet/index.ts +34 -0
- package/web/src/lib/components/ui/sheet/sheet-close.svelte +7 -0
- package/web/src/lib/components/ui/sheet/sheet-content.svelte +60 -0
- package/web/src/lib/components/ui/sheet/sheet-description.svelte +17 -0
- package/web/src/lib/components/ui/sheet/sheet-footer.svelte +20 -0
- package/web/src/lib/components/ui/sheet/sheet-header.svelte +20 -0
- package/web/src/lib/components/ui/sheet/sheet-overlay.svelte +20 -0
- package/web/src/lib/components/ui/sheet/sheet-portal.svelte +7 -0
- package/web/src/lib/components/ui/sheet/sheet-title.svelte +17 -0
- package/web/src/lib/components/ui/sheet/sheet-trigger.svelte +7 -0
- package/web/src/lib/components/ui/sheet/sheet.svelte +7 -0
- package/web/src/lib/components/ui/sidebar/constants.ts +6 -0
- package/web/src/lib/components/ui/sidebar/context.svelte.ts +79 -0
- package/web/src/lib/components/ui/sidebar/index.ts +75 -0
- package/web/src/lib/components/ui/sidebar/sidebar-content.svelte +24 -0
- package/web/src/lib/components/ui/sidebar/sidebar-footer.svelte +21 -0
- package/web/src/lib/components/ui/sidebar/sidebar-group-action.svelte +36 -0
- package/web/src/lib/components/ui/sidebar/sidebar-group-content.svelte +21 -0
- package/web/src/lib/components/ui/sidebar/sidebar-group-label.svelte +34 -0
- package/web/src/lib/components/ui/sidebar/sidebar-group.svelte +21 -0
- package/web/src/lib/components/ui/sidebar/sidebar-header.svelte +21 -0
- package/web/src/lib/components/ui/sidebar/sidebar-input.svelte +21 -0
- package/web/src/lib/components/ui/sidebar/sidebar-inset.svelte +24 -0
- package/web/src/lib/components/ui/sidebar/sidebar-menu-action.svelte +43 -0
- package/web/src/lib/components/ui/sidebar/sidebar-menu-badge.svelte +29 -0
- package/web/src/lib/components/ui/sidebar/sidebar-menu-button.svelte +103 -0
- package/web/src/lib/components/ui/sidebar/sidebar-menu-item.svelte +21 -0
- package/web/src/lib/components/ui/sidebar/sidebar-menu-skeleton.svelte +36 -0
- package/web/src/lib/components/ui/sidebar/sidebar-menu-sub-button.svelte +43 -0
- package/web/src/lib/components/ui/sidebar/sidebar-menu-sub-item.svelte +21 -0
- package/web/src/lib/components/ui/sidebar/sidebar-menu-sub.svelte +25 -0
- package/web/src/lib/components/ui/sidebar/sidebar-menu.svelte +21 -0
- package/web/src/lib/components/ui/sidebar/sidebar-provider.svelte +53 -0
- package/web/src/lib/components/ui/sidebar/sidebar-rail.svelte +36 -0
- package/web/src/lib/components/ui/sidebar/sidebar-separator.svelte +19 -0
- package/web/src/lib/components/ui/sidebar/sidebar-trigger.svelte +35 -0
- package/web/src/lib/components/ui/sidebar/sidebar.svelte +104 -0
- package/web/src/lib/components/ui/skeleton/index.ts +7 -0
- package/web/src/lib/components/ui/skeleton/skeleton.svelte +17 -0
- package/web/src/lib/components/ui/switch/index.ts +7 -0
- package/web/src/lib/components/ui/switch/switch.svelte +29 -0
- package/web/src/lib/components/ui/textarea/index.ts +7 -0
- package/web/src/lib/components/ui/textarea/textarea.svelte +23 -0
- package/web/src/lib/components/ui/tooltip/index.ts +19 -0
- package/web/src/lib/components/ui/tooltip/tooltip-content.svelte +52 -0
- package/web/src/lib/components/ui/tooltip/tooltip-portal.svelte +7 -0
- package/web/src/lib/components/ui/tooltip/tooltip-provider.svelte +7 -0
- package/web/src/lib/components/ui/tooltip/tooltip-trigger.svelte +7 -0
- package/web/src/lib/components/ui/tooltip/tooltip.svelte +7 -0
- package/web/src/lib/hooks/is-mobile.svelte.ts +9 -0
- package/web/src/lib/index.ts +1 -0
- package/web/src/lib/types.ts +23 -0
- package/web/src/lib/utils.ts +13 -0
- package/web/src/routes/+layout.svelte +67 -0
- package/web/src/routes/+layout.ts +34 -0
- package/web/src/routes/+page.svelte +7 -0
- package/web/src/routes/agents/+page.svelte +206 -0
- package/web/src/routes/chats/[id]/+page.svelte +406 -0
- package/web/src/routes/chats/[id]/+page.ts +19 -0
- package/web/src/routes/chats/[id]/page.svelte.spec.ts +102 -0
- package/web/src/routes/chats/[id]/settings/+page.svelte +165 -0
- package/web/src/routes/chats/[id]/settings/+page.ts +18 -0
- package/web/src/routes/page.svelte.spec.ts +13 -0
- package/web/static/robots.txt +3 -0
- package/web/svelte.config.js +21 -0
- package/web/tsconfig.json +20 -0
- package/web/vite.config.ts +41 -0
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
|
|
2
|
+
// this file is generated — do not edit it
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/// <reference types="@sveltejs/kit" />
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* This module provides access to environment variables that are injected _statically_ into your bundle at build time and are limited to _private_ access.
|
|
9
|
+
*
|
|
10
|
+
* | | Runtime | Build time |
|
|
11
|
+
* | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
|
12
|
+
* | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
|
|
13
|
+
* | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) |
|
|
14
|
+
*
|
|
15
|
+
* Static environment variables are [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env` at build time and then statically injected into your bundle at build time, enabling optimisations like dead code elimination.
|
|
16
|
+
*
|
|
17
|
+
* **_Private_ access:**
|
|
18
|
+
*
|
|
19
|
+
* - This module cannot be imported into client-side code
|
|
20
|
+
* - This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured)
|
|
21
|
+
*
|
|
22
|
+
* For example, given the following build time environment:
|
|
23
|
+
*
|
|
24
|
+
* ```env
|
|
25
|
+
* ENVIRONMENT=production
|
|
26
|
+
* PUBLIC_BASE_URL=http://site.com
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* With the default `publicPrefix` and `privatePrefix`:
|
|
30
|
+
*
|
|
31
|
+
* ```ts
|
|
32
|
+
* import { ENVIRONMENT, PUBLIC_BASE_URL } from '$env/static/private';
|
|
33
|
+
*
|
|
34
|
+
* console.log(ENVIRONMENT); // => "production"
|
|
35
|
+
* console.log(PUBLIC_BASE_URL); // => throws error during build
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* The above values will be the same _even if_ different values for `ENVIRONMENT` or `PUBLIC_BASE_URL` are set at runtime, as they are statically replaced in your code with their build time values.
|
|
39
|
+
*/
|
|
40
|
+
declare module '$env/static/private' {
|
|
41
|
+
export const NVM_INC: string;
|
|
42
|
+
export const MANPATH: string;
|
|
43
|
+
export const rvm_use_flag: string;
|
|
44
|
+
export const GHOSTTY_RESOURCES_DIR: string;
|
|
45
|
+
export const rvm_bin_path: string;
|
|
46
|
+
export const TERM_PROGRAM: string;
|
|
47
|
+
export const NODE: string;
|
|
48
|
+
export const INIT_CWD: string;
|
|
49
|
+
export const rvm_quiet_flag: string;
|
|
50
|
+
export const GEM_HOME: string;
|
|
51
|
+
export const NVM_CD_FLAGS: string;
|
|
52
|
+
export const rvm_gemstone_url: string;
|
|
53
|
+
export const SHELL: string;
|
|
54
|
+
export const TERM: string;
|
|
55
|
+
export const rvm_docs_type: string;
|
|
56
|
+
export const IRBRC: string;
|
|
57
|
+
export const HOMEBREW_REPOSITORY: string;
|
|
58
|
+
export const TMPDIR: string;
|
|
59
|
+
export const npm_config_global_prefix: string;
|
|
60
|
+
export const TERM_PROGRAM_VERSION: string;
|
|
61
|
+
export const COLOR: string;
|
|
62
|
+
export const rvm_hook: string;
|
|
63
|
+
export const MY_RUBY_HOME: string;
|
|
64
|
+
export const npm_config_noproxy: string;
|
|
65
|
+
export const npm_config_local_prefix: string;
|
|
66
|
+
export const ZSH: string;
|
|
67
|
+
export const PNPM_HOME: string;
|
|
68
|
+
export const NVM_DIR: string;
|
|
69
|
+
export const USER: string;
|
|
70
|
+
export const rvm_gemstone_package_file: string;
|
|
71
|
+
export const LS_COLORS: string;
|
|
72
|
+
export const COMMAND_MODE: string;
|
|
73
|
+
export const npm_config_globalconfig: string;
|
|
74
|
+
export const rvm_path: string;
|
|
75
|
+
export const SSH_AUTH_SOCK: string;
|
|
76
|
+
export const __CF_USER_TEXT_ENCODING: string;
|
|
77
|
+
export const npm_execpath: string;
|
|
78
|
+
export const rvm_proxy: string;
|
|
79
|
+
export const rvm_ruby_file: string;
|
|
80
|
+
export const PAGER: string;
|
|
81
|
+
export const LSCOLORS: string;
|
|
82
|
+
export const rvm_silent_flag: string;
|
|
83
|
+
export const rvm_prefix: string;
|
|
84
|
+
export const rvm_ruby_make: string;
|
|
85
|
+
export const PATH: string;
|
|
86
|
+
export const npm_package_json: string;
|
|
87
|
+
export const LaunchInstanceID: string;
|
|
88
|
+
export const GHOSTTY_SHELL_FEATURES: string;
|
|
89
|
+
export const _: string;
|
|
90
|
+
export const npm_config_userconfig: string;
|
|
91
|
+
export const npm_config_init_module: string;
|
|
92
|
+
export const __CFBundleIdentifier: string;
|
|
93
|
+
export const npm_command: string;
|
|
94
|
+
export const PWD: string;
|
|
95
|
+
export const npm_lifecycle_event: string;
|
|
96
|
+
export const EDITOR: string;
|
|
97
|
+
export const npm_package_name: string;
|
|
98
|
+
export const rvm_sdk: string;
|
|
99
|
+
export const LANG: string;
|
|
100
|
+
export const npm_config_npm_version: string;
|
|
101
|
+
export const XPC_FLAGS: string;
|
|
102
|
+
export const npm_config_node_gyp: string;
|
|
103
|
+
export const npm_package_bin_clawmini: string;
|
|
104
|
+
export const npm_package_version: string;
|
|
105
|
+
export const XPC_SERVICE_NAME: string;
|
|
106
|
+
export const rvm_version: string;
|
|
107
|
+
export const GEMINI_API_KEY: string;
|
|
108
|
+
export const rvm_script_name: string;
|
|
109
|
+
export const rvm_pretty_print_flag: string;
|
|
110
|
+
export const HOME: string;
|
|
111
|
+
export const SHLVL: string;
|
|
112
|
+
export const rvm_ruby_mode: string;
|
|
113
|
+
export const TERMINFO: string;
|
|
114
|
+
export const HOMEBREW_PREFIX: string;
|
|
115
|
+
export const npm_config_cache: string;
|
|
116
|
+
export const LESS: string;
|
|
117
|
+
export const LOGNAME: string;
|
|
118
|
+
export const npm_lifecycle_script: string;
|
|
119
|
+
export const rvm_alias_expanded: string;
|
|
120
|
+
export const GEM_PATH: string;
|
|
121
|
+
export const XDG_DATA_DIRS: string;
|
|
122
|
+
export const GHOSTTY_BIN_DIR: string;
|
|
123
|
+
export const NVM_BIN: string;
|
|
124
|
+
export const npm_config_user_agent: string;
|
|
125
|
+
export const rvm_nightly_flag: string;
|
|
126
|
+
export const rvm_ruby_make_install: string;
|
|
127
|
+
export const INFOPATH: string;
|
|
128
|
+
export const HOMEBREW_CELLAR: string;
|
|
129
|
+
export const rvm_niceness: string;
|
|
130
|
+
export const rvm_ruby_bits: string;
|
|
131
|
+
export const rvm_bin_flag: string;
|
|
132
|
+
export const rvm_only_path_flag: string;
|
|
133
|
+
export const RUBY_VERSION: string;
|
|
134
|
+
export const SECURITYSESSIONID: string;
|
|
135
|
+
export const npm_node_execpath: string;
|
|
136
|
+
export const npm_config_prefix: string;
|
|
137
|
+
export const COLORTERM: string;
|
|
138
|
+
export const NODE_ENV: string;
|
|
139
|
+
export const PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS: string;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* This module provides access to environment variables that are injected _statically_ into your bundle at build time and are _publicly_ accessible.
|
|
144
|
+
*
|
|
145
|
+
* | | Runtime | Build time |
|
|
146
|
+
* | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
|
147
|
+
* | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
|
|
148
|
+
* | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) |
|
|
149
|
+
*
|
|
150
|
+
* Static environment variables are [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env` at build time and then statically injected into your bundle at build time, enabling optimisations like dead code elimination.
|
|
151
|
+
*
|
|
152
|
+
* **_Public_ access:**
|
|
153
|
+
*
|
|
154
|
+
* - This module _can_ be imported into client-side code
|
|
155
|
+
* - **Only** variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`) are included
|
|
156
|
+
*
|
|
157
|
+
* For example, given the following build time environment:
|
|
158
|
+
*
|
|
159
|
+
* ```env
|
|
160
|
+
* ENVIRONMENT=production
|
|
161
|
+
* PUBLIC_BASE_URL=http://site.com
|
|
162
|
+
* ```
|
|
163
|
+
*
|
|
164
|
+
* With the default `publicPrefix` and `privatePrefix`:
|
|
165
|
+
*
|
|
166
|
+
* ```ts
|
|
167
|
+
* import { ENVIRONMENT, PUBLIC_BASE_URL } from '$env/static/public';
|
|
168
|
+
*
|
|
169
|
+
* console.log(ENVIRONMENT); // => throws error during build
|
|
170
|
+
* console.log(PUBLIC_BASE_URL); // => "http://site.com"
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* The above values will be the same _even if_ different values for `ENVIRONMENT` or `PUBLIC_BASE_URL` are set at runtime, as they are statically replaced in your code with their build time values.
|
|
174
|
+
*/
|
|
175
|
+
declare module '$env/static/public' {
|
|
176
|
+
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* This module provides access to environment variables set _dynamically_ at runtime and that are limited to _private_ access.
|
|
181
|
+
*
|
|
182
|
+
* | | Runtime | Build time |
|
|
183
|
+
* | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
|
184
|
+
* | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
|
|
185
|
+
* | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) |
|
|
186
|
+
*
|
|
187
|
+
* Dynamic environment variables are defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`.
|
|
188
|
+
*
|
|
189
|
+
* **_Private_ access:**
|
|
190
|
+
*
|
|
191
|
+
* - This module cannot be imported into client-side code
|
|
192
|
+
* - This module includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured)
|
|
193
|
+
*
|
|
194
|
+
* > [!NOTE] In `dev`, `$env/dynamic` includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
|
|
195
|
+
*
|
|
196
|
+
* > [!NOTE] To get correct types, environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
|
|
197
|
+
* >
|
|
198
|
+
* > ```env
|
|
199
|
+
* > MY_FEATURE_FLAG=
|
|
200
|
+
* > ```
|
|
201
|
+
* >
|
|
202
|
+
* > You can override `.env` values from the command line like so:
|
|
203
|
+
* >
|
|
204
|
+
* > ```sh
|
|
205
|
+
* > MY_FEATURE_FLAG="enabled" npm run dev
|
|
206
|
+
* > ```
|
|
207
|
+
*
|
|
208
|
+
* For example, given the following runtime environment:
|
|
209
|
+
*
|
|
210
|
+
* ```env
|
|
211
|
+
* ENVIRONMENT=production
|
|
212
|
+
* PUBLIC_BASE_URL=http://site.com
|
|
213
|
+
* ```
|
|
214
|
+
*
|
|
215
|
+
* With the default `publicPrefix` and `privatePrefix`:
|
|
216
|
+
*
|
|
217
|
+
* ```ts
|
|
218
|
+
* import { env } from '$env/dynamic/private';
|
|
219
|
+
*
|
|
220
|
+
* console.log(env.ENVIRONMENT); // => "production"
|
|
221
|
+
* console.log(env.PUBLIC_BASE_URL); // => undefined
|
|
222
|
+
* ```
|
|
223
|
+
*/
|
|
224
|
+
declare module '$env/dynamic/private' {
|
|
225
|
+
export const env: {
|
|
226
|
+
NVM_INC: string;
|
|
227
|
+
MANPATH: string;
|
|
228
|
+
rvm_use_flag: string;
|
|
229
|
+
GHOSTTY_RESOURCES_DIR: string;
|
|
230
|
+
rvm_bin_path: string;
|
|
231
|
+
TERM_PROGRAM: string;
|
|
232
|
+
NODE: string;
|
|
233
|
+
INIT_CWD: string;
|
|
234
|
+
rvm_quiet_flag: string;
|
|
235
|
+
GEM_HOME: string;
|
|
236
|
+
NVM_CD_FLAGS: string;
|
|
237
|
+
rvm_gemstone_url: string;
|
|
238
|
+
SHELL: string;
|
|
239
|
+
TERM: string;
|
|
240
|
+
rvm_docs_type: string;
|
|
241
|
+
IRBRC: string;
|
|
242
|
+
HOMEBREW_REPOSITORY: string;
|
|
243
|
+
TMPDIR: string;
|
|
244
|
+
npm_config_global_prefix: string;
|
|
245
|
+
TERM_PROGRAM_VERSION: string;
|
|
246
|
+
COLOR: string;
|
|
247
|
+
rvm_hook: string;
|
|
248
|
+
MY_RUBY_HOME: string;
|
|
249
|
+
npm_config_noproxy: string;
|
|
250
|
+
npm_config_local_prefix: string;
|
|
251
|
+
ZSH: string;
|
|
252
|
+
PNPM_HOME: string;
|
|
253
|
+
NVM_DIR: string;
|
|
254
|
+
USER: string;
|
|
255
|
+
rvm_gemstone_package_file: string;
|
|
256
|
+
LS_COLORS: string;
|
|
257
|
+
COMMAND_MODE: string;
|
|
258
|
+
npm_config_globalconfig: string;
|
|
259
|
+
rvm_path: string;
|
|
260
|
+
SSH_AUTH_SOCK: string;
|
|
261
|
+
__CF_USER_TEXT_ENCODING: string;
|
|
262
|
+
npm_execpath: string;
|
|
263
|
+
rvm_proxy: string;
|
|
264
|
+
rvm_ruby_file: string;
|
|
265
|
+
PAGER: string;
|
|
266
|
+
LSCOLORS: string;
|
|
267
|
+
rvm_silent_flag: string;
|
|
268
|
+
rvm_prefix: string;
|
|
269
|
+
rvm_ruby_make: string;
|
|
270
|
+
PATH: string;
|
|
271
|
+
npm_package_json: string;
|
|
272
|
+
LaunchInstanceID: string;
|
|
273
|
+
GHOSTTY_SHELL_FEATURES: string;
|
|
274
|
+
_: string;
|
|
275
|
+
npm_config_userconfig: string;
|
|
276
|
+
npm_config_init_module: string;
|
|
277
|
+
__CFBundleIdentifier: string;
|
|
278
|
+
npm_command: string;
|
|
279
|
+
PWD: string;
|
|
280
|
+
npm_lifecycle_event: string;
|
|
281
|
+
EDITOR: string;
|
|
282
|
+
npm_package_name: string;
|
|
283
|
+
rvm_sdk: string;
|
|
284
|
+
LANG: string;
|
|
285
|
+
npm_config_npm_version: string;
|
|
286
|
+
XPC_FLAGS: string;
|
|
287
|
+
npm_config_node_gyp: string;
|
|
288
|
+
npm_package_bin_clawmini: string;
|
|
289
|
+
npm_package_version: string;
|
|
290
|
+
XPC_SERVICE_NAME: string;
|
|
291
|
+
rvm_version: string;
|
|
292
|
+
GEMINI_API_KEY: string;
|
|
293
|
+
rvm_script_name: string;
|
|
294
|
+
rvm_pretty_print_flag: string;
|
|
295
|
+
HOME: string;
|
|
296
|
+
SHLVL: string;
|
|
297
|
+
rvm_ruby_mode: string;
|
|
298
|
+
TERMINFO: string;
|
|
299
|
+
HOMEBREW_PREFIX: string;
|
|
300
|
+
npm_config_cache: string;
|
|
301
|
+
LESS: string;
|
|
302
|
+
LOGNAME: string;
|
|
303
|
+
npm_lifecycle_script: string;
|
|
304
|
+
rvm_alias_expanded: string;
|
|
305
|
+
GEM_PATH: string;
|
|
306
|
+
XDG_DATA_DIRS: string;
|
|
307
|
+
GHOSTTY_BIN_DIR: string;
|
|
308
|
+
NVM_BIN: string;
|
|
309
|
+
npm_config_user_agent: string;
|
|
310
|
+
rvm_nightly_flag: string;
|
|
311
|
+
rvm_ruby_make_install: string;
|
|
312
|
+
INFOPATH: string;
|
|
313
|
+
HOMEBREW_CELLAR: string;
|
|
314
|
+
rvm_niceness: string;
|
|
315
|
+
rvm_ruby_bits: string;
|
|
316
|
+
rvm_bin_flag: string;
|
|
317
|
+
rvm_only_path_flag: string;
|
|
318
|
+
RUBY_VERSION: string;
|
|
319
|
+
SECURITYSESSIONID: string;
|
|
320
|
+
npm_node_execpath: string;
|
|
321
|
+
npm_config_prefix: string;
|
|
322
|
+
COLORTERM: string;
|
|
323
|
+
NODE_ENV: string;
|
|
324
|
+
PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS: string;
|
|
325
|
+
[key: `PUBLIC_${string}`]: undefined;
|
|
326
|
+
[key: `${string}`]: string | undefined;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* This module provides access to environment variables set _dynamically_ at runtime and that are _publicly_ accessible.
|
|
332
|
+
*
|
|
333
|
+
* | | Runtime | Build time |
|
|
334
|
+
* | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
|
|
335
|
+
* | Private | [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private) | [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private) |
|
|
336
|
+
* | Public | [`$env/dynamic/public`](https://svelte.dev/docs/kit/$env-dynamic-public) | [`$env/static/public`](https://svelte.dev/docs/kit/$env-static-public) |
|
|
337
|
+
*
|
|
338
|
+
* Dynamic environment variables are defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`.
|
|
339
|
+
*
|
|
340
|
+
* **_Public_ access:**
|
|
341
|
+
*
|
|
342
|
+
* - This module _can_ be imported into client-side code
|
|
343
|
+
* - **Only** variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`) are included
|
|
344
|
+
*
|
|
345
|
+
* > [!NOTE] In `dev`, `$env/dynamic` includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
|
|
346
|
+
*
|
|
347
|
+
* > [!NOTE] To get correct types, environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
|
|
348
|
+
* >
|
|
349
|
+
* > ```env
|
|
350
|
+
* > MY_FEATURE_FLAG=
|
|
351
|
+
* > ```
|
|
352
|
+
* >
|
|
353
|
+
* > You can override `.env` values from the command line like so:
|
|
354
|
+
* >
|
|
355
|
+
* > ```sh
|
|
356
|
+
* > MY_FEATURE_FLAG="enabled" npm run dev
|
|
357
|
+
* > ```
|
|
358
|
+
*
|
|
359
|
+
* For example, given the following runtime environment:
|
|
360
|
+
*
|
|
361
|
+
* ```env
|
|
362
|
+
* ENVIRONMENT=production
|
|
363
|
+
* PUBLIC_BASE_URL=http://example.com
|
|
364
|
+
* ```
|
|
365
|
+
*
|
|
366
|
+
* With the default `publicPrefix` and `privatePrefix`:
|
|
367
|
+
*
|
|
368
|
+
* ```ts
|
|
369
|
+
* import { env } from '$env/dynamic/public';
|
|
370
|
+
* console.log(env.ENVIRONMENT); // => undefined, not public
|
|
371
|
+
* console.log(env.PUBLIC_BASE_URL); // => "http://example.com"
|
|
372
|
+
* ```
|
|
373
|
+
*
|
|
374
|
+
* ```
|
|
375
|
+
*
|
|
376
|
+
* ```
|
|
377
|
+
*/
|
|
378
|
+
declare module '$env/dynamic/public' {
|
|
379
|
+
export const env: {
|
|
380
|
+
[key: `PUBLIC_${string}`]: string | undefined;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export { matchers } from './matchers.js';
|
|
2
|
+
|
|
3
|
+
export const nodes = [
|
|
4
|
+
() => import('./nodes/0'),
|
|
5
|
+
() => import('./nodes/1'),
|
|
6
|
+
() => import('./nodes/2'),
|
|
7
|
+
() => import('./nodes/3'),
|
|
8
|
+
() => import('./nodes/4'),
|
|
9
|
+
() => import('./nodes/5')
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export const server_loads = [];
|
|
13
|
+
|
|
14
|
+
export const dictionary = {
|
|
15
|
+
"/": [2],
|
|
16
|
+
"/agents": [3],
|
|
17
|
+
"/chats/[id]": [4],
|
|
18
|
+
"/chats/[id]/settings": [5]
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export const hooks = {
|
|
22
|
+
handleError: (({ error }) => { console.error(error) }),
|
|
23
|
+
|
|
24
|
+
reroute: (() => {}),
|
|
25
|
+
transport: {}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const decoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.decode]));
|
|
29
|
+
export const encoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.encode]));
|
|
30
|
+
|
|
31
|
+
export const hash = false;
|
|
32
|
+
|
|
33
|
+
export const decode = (type, value) => decoders[type](value);
|
|
34
|
+
|
|
35
|
+
export { default as root } from '../root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const matchers = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as component } from "../../../../../node_modules/@sveltejs/kit/src/runtime/components/svelte-5/error.svelte";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as component } from "../../../../src/routes/+page.svelte";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as component } from "../../../../src/routes/agents/+page.svelte";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export { matchers } from './matchers.js';
|
|
2
|
+
|
|
3
|
+
export const nodes = [
|
|
4
|
+
() => import('./nodes/0'),
|
|
5
|
+
() => import('./nodes/1'),
|
|
6
|
+
() => import('./nodes/2'),
|
|
7
|
+
() => import('./nodes/3'),
|
|
8
|
+
() => import('./nodes/4'),
|
|
9
|
+
() => import('./nodes/5')
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export const server_loads = [];
|
|
13
|
+
|
|
14
|
+
export const dictionary = {
|
|
15
|
+
"/": [2],
|
|
16
|
+
"/agents": [3],
|
|
17
|
+
"/chats/[id]": [4],
|
|
18
|
+
"/chats/[id]/settings": [5]
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export const hooks = {
|
|
22
|
+
handleError: (({ error }) => { console.error(error) }),
|
|
23
|
+
|
|
24
|
+
reroute: (() => {}),
|
|
25
|
+
transport: {}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const decoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.decode]));
|
|
29
|
+
export const encoders = Object.fromEntries(Object.entries(hooks.transport).map(([k, v]) => [k, v.encode]));
|
|
30
|
+
|
|
31
|
+
export const hash = false;
|
|
32
|
+
|
|
33
|
+
export const decode = (type, value) => decoders[type](value);
|
|
34
|
+
|
|
35
|
+
export { default as root } from '../root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const matchers = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as component } from "../../../../../node_modules/@sveltejs/kit/src/runtime/components/svelte-5/error.svelte";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as component } from "../../../../src/routes/+page.svelte";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as component } from "../../../../src/routes/agents/+page.svelte";
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<!-- This file is generated by @sveltejs/kit — do not edit it! -->
|
|
2
|
+
<svelte:options runes={true} />
|
|
3
|
+
<script>
|
|
4
|
+
import { setContext, onMount, tick } from 'svelte';
|
|
5
|
+
import { browser } from '$app/environment';
|
|
6
|
+
|
|
7
|
+
// stores
|
|
8
|
+
let { stores, page, constructors, components = [], form, data_0 = null, data_1 = null } = $props();
|
|
9
|
+
|
|
10
|
+
if (!browser) {
|
|
11
|
+
// svelte-ignore state_referenced_locally
|
|
12
|
+
setContext('__svelte__', stores);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if (browser) {
|
|
16
|
+
$effect.pre(() => stores.page.set(page));
|
|
17
|
+
} else {
|
|
18
|
+
// svelte-ignore state_referenced_locally
|
|
19
|
+
stores.page.set(page);
|
|
20
|
+
}
|
|
21
|
+
$effect(() => {
|
|
22
|
+
stores;page;constructors;components;form;data_0;data_1;
|
|
23
|
+
stores.page.notify();
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
let mounted = $state(false);
|
|
27
|
+
let navigated = $state(false);
|
|
28
|
+
let title = $state(null);
|
|
29
|
+
|
|
30
|
+
onMount(() => {
|
|
31
|
+
const unsubscribe = stores.page.subscribe(() => {
|
|
32
|
+
if (mounted) {
|
|
33
|
+
navigated = true;
|
|
34
|
+
tick().then(() => {
|
|
35
|
+
title = document.title || 'untitled page';
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
mounted = true;
|
|
41
|
+
return unsubscribe;
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
const Pyramid_1=$derived(constructors[1])
|
|
45
|
+
</script>
|
|
46
|
+
|
|
47
|
+
{#if constructors[1]}
|
|
48
|
+
{@const Pyramid_0 = constructors[0]}
|
|
49
|
+
<!-- svelte-ignore binding_property_non_reactive -->
|
|
50
|
+
<Pyramid_0 bind:this={components[0]} data={data_0} {form} params={page.params}>
|
|
51
|
+
<!-- svelte-ignore binding_property_non_reactive -->
|
|
52
|
+
<Pyramid_1 bind:this={components[1]} data={data_1} {form} params={page.params} />
|
|
53
|
+
</Pyramid_0>
|
|
54
|
+
|
|
55
|
+
{:else}
|
|
56
|
+
{@const Pyramid_0 = constructors[0]}
|
|
57
|
+
<!-- svelte-ignore binding_property_non_reactive -->
|
|
58
|
+
<Pyramid_0 bind:this={components[0]} data={data_0} {form} params={page.params} />
|
|
59
|
+
|
|
60
|
+
{/if}
|
|
61
|
+
|
|
62
|
+
{#if mounted}
|
|
63
|
+
<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px">
|
|
64
|
+
{#if navigated}
|
|
65
|
+
{title}
|
|
66
|
+
{/if}
|
|
67
|
+
</div>
|
|
68
|
+
{/if}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
|
|
2
|
+
import root from '../root.js';
|
|
3
|
+
import { set_building, set_prerendering } from '__sveltekit/environment';
|
|
4
|
+
import { set_assets } from '$app/paths/internal/server';
|
|
5
|
+
import { set_manifest, set_read_implementation } from '__sveltekit/server';
|
|
6
|
+
import { set_private_env, set_public_env } from '../../../../node_modules/@sveltejs/kit/src/runtime/shared-server.js';
|
|
7
|
+
|
|
8
|
+
export const options = {
|
|
9
|
+
app_template_contains_nonce: false,
|
|
10
|
+
async: false,
|
|
11
|
+
csp: {"mode":"auto","directives":{"upgrade-insecure-requests":false,"block-all-mixed-content":false},"reportOnly":{"upgrade-insecure-requests":false,"block-all-mixed-content":false}},
|
|
12
|
+
csrf_check_origin: true,
|
|
13
|
+
csrf_trusted_origins: [],
|
|
14
|
+
embedded: false,
|
|
15
|
+
env_public_prefix: 'PUBLIC_',
|
|
16
|
+
env_private_prefix: '',
|
|
17
|
+
hash_routing: false,
|
|
18
|
+
hooks: null, // added lazily, via `get_hooks`
|
|
19
|
+
preload_strategy: "modulepreload",
|
|
20
|
+
root,
|
|
21
|
+
service_worker: false,
|
|
22
|
+
service_worker_options: undefined,
|
|
23
|
+
templates: {
|
|
24
|
+
app: ({ head, body, assets, nonce, env }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, interactive-widget=resizes-content\" />\n\t\t" + head + "\n\t</head>\n\t<body data-sveltekit-preload-data=\"hover\">\n\t\t<div style=\"display: contents\">" + body + "</div>\n\t</body>\n</html>\n",
|
|
25
|
+
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
26
|
+
},
|
|
27
|
+
version_hash: "2krgzd"
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export async function get_hooks() {
|
|
31
|
+
let handle;
|
|
32
|
+
let handleFetch;
|
|
33
|
+
let handleError;
|
|
34
|
+
let handleValidationError;
|
|
35
|
+
let init;
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
let reroute;
|
|
39
|
+
let transport;
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
return {
|
|
43
|
+
handle,
|
|
44
|
+
handleFetch,
|
|
45
|
+
handleError,
|
|
46
|
+
handleValidationError,
|
|
47
|
+
init,
|
|
48
|
+
reroute,
|
|
49
|
+
transport
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { set_assets, set_building, set_manifest, set_prerendering, set_private_env, set_public_env, set_read_implementation };
|