@fraziym/axoniz 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +76 -0
- package/dist/agents/definition.d.ts +15 -0
- package/dist/agents/definition.d.ts.map +1 -0
- package/dist/agents/definition.js +41 -0
- package/dist/agents/definition.js.map +1 -0
- package/dist/agents/index.d.ts +12 -0
- package/dist/agents/index.d.ts.map +1 -0
- package/dist/agents/index.js +11 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/registry.d.ts +17 -0
- package/dist/agents/registry.d.ts.map +1 -0
- package/dist/agents/registry.js +23 -0
- package/dist/agents/registry.js.map +1 -0
- package/dist/agents/specialized.d.ts +31 -0
- package/dist/agents/specialized.d.ts.map +1 -0
- package/dist/agents/specialized.js +75 -0
- package/dist/agents/specialized.js.map +1 -0
- package/dist/awareness/index.d.ts +14 -0
- package/dist/awareness/index.d.ts.map +1 -0
- package/dist/awareness/index.js +22 -0
- package/dist/awareness/index.js.map +1 -0
- package/dist/awareness/service.d.ts +180 -0
- package/dist/awareness/service.d.ts.map +1 -0
- package/dist/awareness/service.js +789 -0
- package/dist/awareness/service.js.map +1 -0
- package/dist/cli/entry.d.ts +13 -0
- package/dist/cli/entry.d.ts.map +1 -0
- package/dist/cli/entry.js +35 -0
- package/dist/cli/entry.js.map +1 -0
- package/dist/comms/telegram.d.ts +41 -0
- package/dist/comms/telegram.d.ts.map +1 -0
- package/dist/comms/telegram.js +332 -0
- package/dist/comms/telegram.js.map +1 -0
- package/dist/core/agent.d.ts +252 -0
- package/dist/core/agent.d.ts.map +1 -0
- package/dist/core/agent.js +1399 -0
- package/dist/core/agent.js.map +1 -0
- package/dist/core/auth.d.ts +23 -0
- package/dist/core/auth.d.ts.map +1 -0
- package/dist/core/auth.js +113 -0
- package/dist/core/auth.js.map +1 -0
- package/dist/core/authority.d.ts +118 -0
- package/dist/core/authority.d.ts.map +1 -0
- package/dist/core/authority.js +402 -0
- package/dist/core/authority.js.map +1 -0
- package/dist/core/backend/async_queue.d.ts +17 -0
- package/dist/core/backend/async_queue.d.ts.map +1 -0
- package/dist/core/backend/async_queue.js +66 -0
- package/dist/core/backend/async_queue.js.map +1 -0
- package/dist/core/backend/index.d.ts +24 -0
- package/dist/core/backend/index.d.ts.map +1 -0
- package/dist/core/backend/index.js +128 -0
- package/dist/core/backend/index.js.map +1 -0
- package/dist/core/backend/llama_server.d.ts +39 -0
- package/dist/core/backend/llama_server.d.ts.map +1 -0
- package/dist/core/backend/llama_server.js +182 -0
- package/dist/core/backend/llama_server.js.map +1 -0
- package/dist/core/backend/llamacpp.d.ts +40 -0
- package/dist/core/backend/llamacpp.d.ts.map +1 -0
- package/dist/core/backend/llamacpp.js +200 -0
- package/dist/core/backend/llamacpp.js.map +1 -0
- package/dist/core/backend/lmstudio.d.ts +53 -0
- package/dist/core/backend/lmstudio.d.ts.map +1 -0
- package/dist/core/backend/lmstudio.js +274 -0
- package/dist/core/backend/lmstudio.js.map +1 -0
- package/dist/core/backend/ollama.d.ts +25 -0
- package/dist/core/backend/ollama.d.ts.map +1 -0
- package/dist/core/backend/ollama.js +86 -0
- package/dist/core/backend/ollama.js.map +1 -0
- package/dist/core/backend/openai.d.ts +27 -0
- package/dist/core/backend/openai.d.ts.map +1 -0
- package/dist/core/backend/openai.js +84 -0
- package/dist/core/backend/openai.js.map +1 -0
- package/dist/core/backend/types.d.ts +73 -0
- package/dist/core/backend/types.d.ts.map +1 -0
- package/dist/core/backend/types.js +137 -0
- package/dist/core/backend/types.js.map +1 -0
- package/dist/core/chat_store.d.ts +77 -0
- package/dist/core/chat_store.d.ts.map +1 -0
- package/dist/core/chat_store.js +332 -0
- package/dist/core/chat_store.js.map +1 -0
- package/dist/core/cli.d.ts +82 -0
- package/dist/core/cli.d.ts.map +1 -0
- package/dist/core/cli.js +602 -0
- package/dist/core/cli.js.map +1 -0
- package/dist/core/config.d.ts +127 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/config.js +295 -0
- package/dist/core/config.js.map +1 -0
- package/dist/core/debug.d.ts +8 -0
- package/dist/core/debug.d.ts.map +1 -0
- package/dist/core/debug.js +8 -0
- package/dist/core/debug.js.map +1 -0
- package/dist/core/downloader.d.ts +31 -0
- package/dist/core/downloader.d.ts.map +1 -0
- package/dist/core/downloader.js +180 -0
- package/dist/core/downloader.js.map +1 -0
- package/dist/core/errors.d.ts +80 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +134 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/extras.d.ts +160 -0
- package/dist/core/extras.d.ts.map +1 -0
- package/dist/core/extras.js +553 -0
- package/dist/core/extras.js.map +1 -0
- package/dist/core/health.d.ts +27 -0
- package/dist/core/health.d.ts.map +1 -0
- package/dist/core/health.js +96 -0
- package/dist/core/health.js.map +1 -0
- package/dist/core/history.d.ts +50 -0
- package/dist/core/history.d.ts.map +1 -0
- package/dist/core/history.js +276 -0
- package/dist/core/history.js.map +1 -0
- package/dist/core/index.d.ts +6 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +6 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/intelligence/ast_index.d.ts +255 -0
- package/dist/core/intelligence/ast_index.d.ts.map +1 -0
- package/dist/core/intelligence/ast_index.js +1369 -0
- package/dist/core/intelligence/ast_index.js.map +1 -0
- package/dist/core/intelligence/confidence.d.ts +113 -0
- package/dist/core/intelligence/confidence.d.ts.map +1 -0
- package/dist/core/intelligence/confidence.js +298 -0
- package/dist/core/intelligence/confidence.js.map +1 -0
- package/dist/core/intelligence/context_compressor.d.ts +80 -0
- package/dist/core/intelligence/context_compressor.d.ts.map +1 -0
- package/dist/core/intelligence/context_compressor.js +245 -0
- package/dist/core/intelligence/context_compressor.js.map +1 -0
- package/dist/core/intelligence/daemon.d.ts +247 -0
- package/dist/core/intelligence/daemon.d.ts.map +1 -0
- package/dist/core/intelligence/daemon.js +842 -0
- package/dist/core/intelligence/daemon.js.map +1 -0
- package/dist/core/intelligence/index.d.ts +60 -0
- package/dist/core/intelligence/index.d.ts.map +1 -0
- package/dist/core/intelligence/index.js +101 -0
- package/dist/core/intelligence/index.js.map +1 -0
- package/dist/core/intelligence/predictor.d.ts +246 -0
- package/dist/core/intelligence/predictor.d.ts.map +1 -0
- package/dist/core/intelligence/predictor.js +590 -0
- package/dist/core/intelligence/predictor.js.map +1 -0
- package/dist/core/intelligence/reflex.d.ts +84 -0
- package/dist/core/intelligence/reflex.d.ts.map +1 -0
- package/dist/core/intelligence/reflex.js +344 -0
- package/dist/core/intelligence/reflex.js.map +1 -0
- package/dist/core/intelligence/self_correction.d.ts +121 -0
- package/dist/core/intelligence/self_correction.d.ts.map +1 -0
- package/dist/core/intelligence/self_correction.js +327 -0
- package/dist/core/intelligence/self_correction.js.map +1 -0
- package/dist/core/intelligence/skill_distiller.d.ts +100 -0
- package/dist/core/intelligence/skill_distiller.d.ts.map +1 -0
- package/dist/core/intelligence/skill_distiller.js +246 -0
- package/dist/core/intelligence/skill_distiller.js.map +1 -0
- package/dist/core/intelligence/swarm.d.ts +330 -0
- package/dist/core/intelligence/swarm.d.ts.map +1 -0
- package/dist/core/intelligence/swarm.js +1064 -0
- package/dist/core/intelligence/swarm.js.map +1 -0
- package/dist/core/intelligence/trajectory.d.ts +107 -0
- package/dist/core/intelligence/trajectory.d.ts.map +1 -0
- package/dist/core/intelligence/trajectory.js +330 -0
- package/dist/core/intelligence/trajectory.js.map +1 -0
- package/dist/core/logger.d.ts +111 -0
- package/dist/core/logger.d.ts.map +1 -0
- package/dist/core/logger.js +640 -0
- package/dist/core/logger.js.map +1 -0
- package/dist/core/loop.d.ts +123 -0
- package/dist/core/loop.d.ts.map +1 -0
- package/dist/core/loop.js +423 -0
- package/dist/core/loop.js.map +1 -0
- package/dist/core/memory.d.ts +81 -0
- package/dist/core/memory.d.ts.map +1 -0
- package/dist/core/memory.js +328 -0
- package/dist/core/memory.js.map +1 -0
- package/dist/core/metrics.d.ts +29 -0
- package/dist/core/metrics.d.ts.map +1 -0
- package/dist/core/metrics.js +109 -0
- package/dist/core/metrics.js.map +1 -0
- package/dist/core/models.d.ts +51 -0
- package/dist/core/models.d.ts.map +1 -0
- package/dist/core/models.js +146 -0
- package/dist/core/models.js.map +1 -0
- package/dist/core/optimizer.d.ts +34 -0
- package/dist/core/optimizer.d.ts.map +1 -0
- package/dist/core/optimizer.js +131 -0
- package/dist/core/optimizer.js.map +1 -0
- package/dist/core/persona.d.ts +35 -0
- package/dist/core/persona.d.ts.map +1 -0
- package/dist/core/persona.js +126 -0
- package/dist/core/persona.js.map +1 -0
- package/dist/core/rate_limit.d.ts +23 -0
- package/dist/core/rate_limit.d.ts.map +1 -0
- package/dist/core/rate_limit.js +62 -0
- package/dist/core/rate_limit.js.map +1 -0
- package/dist/core/runner.d.ts +63 -0
- package/dist/core/runner.d.ts.map +1 -0
- package/dist/core/runner.js +671 -0
- package/dist/core/runner.js.map +1 -0
- package/dist/core/stream_parser.d.ts +43 -0
- package/dist/core/stream_parser.d.ts.map +1 -0
- package/dist/core/stream_parser.js +140 -0
- package/dist/core/stream_parser.js.map +1 -0
- package/dist/core/tool_schemas.d.ts +26 -0
- package/dist/core/tool_schemas.d.ts.map +1 -0
- package/dist/core/tool_schemas.js +124 -0
- package/dist/core/tool_schemas.js.map +1 -0
- package/dist/core/which.d.ts +2 -0
- package/dist/core/which.d.ts.map +1 -0
- package/dist/core/which.js +35 -0
- package/dist/core/which.js.map +1 -0
- package/dist/goals/index.d.ts +9 -0
- package/dist/goals/index.d.ts.map +1 -0
- package/dist/goals/index.js +17 -0
- package/dist/goals/index.js.map +1 -0
- package/dist/goals/service.d.ts +115 -0
- package/dist/goals/service.d.ts.map +1 -0
- package/dist/goals/service.js +415 -0
- package/dist/goals/service.js.map +1 -0
- package/dist/goals/types.d.ts +47 -0
- package/dist/goals/types.d.ts.map +1 -0
- package/dist/goals/types.js +66 -0
- package/dist/goals/types.js.map +1 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +22 -0
- package/dist/index.js.map +1 -0
- package/dist/integrations/autonomous_startup.d.ts +51 -0
- package/dist/integrations/autonomous_startup.d.ts.map +1 -0
- package/dist/integrations/autonomous_startup.js +419 -0
- package/dist/integrations/autonomous_startup.js.map +1 -0
- package/dist/integrations/goose.d.ts +105 -0
- package/dist/integrations/goose.d.ts.map +1 -0
- package/dist/integrations/goose.js +408 -0
- package/dist/integrations/goose.js.map +1 -0
- package/dist/integrations/index.d.ts +21 -0
- package/dist/integrations/index.d.ts.map +1 -0
- package/dist/integrations/index.js +17 -0
- package/dist/integrations/index.js.map +1 -0
- package/dist/integrations/mcp.d.ts +73 -0
- package/dist/integrations/mcp.d.ts.map +1 -0
- package/dist/integrations/mcp.js +307 -0
- package/dist/integrations/mcp.js.map +1 -0
- package/dist/integrations/mempalace.d.ts +18 -0
- package/dist/integrations/mempalace.d.ts.map +1 -0
- package/dist/integrations/mempalace.js +25 -0
- package/dist/integrations/mempalace.js.map +1 -0
- package/dist/integrations/multi_agent.d.ts +82 -0
- package/dist/integrations/multi_agent.d.ts.map +1 -0
- package/dist/integrations/multi_agent.js +280 -0
- package/dist/integrations/multi_agent.js.map +1 -0
- package/dist/integrations/unified_memory.d.ts +415 -0
- package/dist/integrations/unified_memory.d.ts.map +1 -0
- package/dist/integrations/unified_memory.js +1489 -0
- package/dist/integrations/unified_memory.js.map +1 -0
- package/dist/roles/beru.yaml +48 -0
- package/dist/sidecar/client.d.ts +63 -0
- package/dist/sidecar/client.d.ts.map +1 -0
- package/dist/sidecar/client.js +222 -0
- package/dist/sidecar/client.js.map +1 -0
- package/dist/sidecar/index.d.ts +7 -0
- package/dist/sidecar/index.d.ts.map +1 -0
- package/dist/sidecar/index.js +6 -0
- package/dist/sidecar/index.js.map +1 -0
- package/dist/startup.d.ts +22 -0
- package/dist/startup.d.ts.map +1 -0
- package/dist/startup.js +194 -0
- package/dist/startup.js.map +1 -0
- package/dist/tools/_internal.d.ts +90 -0
- package/dist/tools/_internal.d.ts.map +1 -0
- package/dist/tools/_internal.js +375 -0
- package/dist/tools/_internal.js.map +1 -0
- package/dist/tools/_smoke.d.ts +2 -0
- package/dist/tools/_smoke.d.ts.map +1 -0
- package/dist/tools/_smoke.js +203 -0
- package/dist/tools/_smoke.js.map +1 -0
- package/dist/tools/axodex_tools.d.ts +51 -0
- package/dist/tools/axodex_tools.d.ts.map +1 -0
- package/dist/tools/axodex_tools.js +181 -0
- package/dist/tools/axodex_tools.js.map +1 -0
- package/dist/tools/code_tools.d.ts +33 -0
- package/dist/tools/code_tools.d.ts.map +1 -0
- package/dist/tools/code_tools.js +191 -0
- package/dist/tools/code_tools.js.map +1 -0
- package/dist/tools/computer_tools.d.ts +59 -0
- package/dist/tools/computer_tools.d.ts.map +1 -0
- package/dist/tools/computer_tools.js +348 -0
- package/dist/tools/computer_tools.js.map +1 -0
- package/dist/tools/file_tools.d.ts +51 -0
- package/dist/tools/file_tools.d.ts.map +1 -0
- package/dist/tools/file_tools.js +424 -0
- package/dist/tools/file_tools.js.map +1 -0
- package/dist/tools/index.d.ts +13 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +13 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/shell_tools.d.ts +39 -0
- package/dist/tools/shell_tools.d.ts.map +1 -0
- package/dist/tools/shell_tools.js +163 -0
- package/dist/tools/shell_tools.js.map +1 -0
- package/dist/tools/web_tools.d.ts +31 -0
- package/dist/tools/web_tools.d.ts.map +1 -0
- package/dist/tools/web_tools.js +117 -0
- package/dist/tools/web_tools.js.map +1 -0
- package/dist/voice/index.d.ts +41 -0
- package/dist/voice/index.d.ts.map +1 -0
- package/dist/voice/index.js +58 -0
- package/dist/voice/index.js.map +1 -0
- package/dist/voice/light_daemon.d.ts +197 -0
- package/dist/voice/light_daemon.d.ts.map +1 -0
- package/dist/voice/light_daemon.js +746 -0
- package/dist/voice/light_daemon.js.map +1 -0
- package/dist/voice/setup.d.ts +63 -0
- package/dist/voice/setup.d.ts.map +1 -0
- package/dist/voice/setup.js +443 -0
- package/dist/voice/setup.js.map +1 -0
- package/dist/voice/stt.d.ts +148 -0
- package/dist/voice/stt.d.ts.map +1 -0
- package/dist/voice/stt.js +361 -0
- package/dist/voice/stt.js.map +1 -0
- package/dist/voice/tts.d.ts +168 -0
- package/dist/voice/tts.d.ts.map +1 -0
- package/dist/voice/tts.js +698 -0
- package/dist/voice/tts.js.map +1 -0
- package/dist/voice/voice_loop.d.ts +101 -0
- package/dist/voice/voice_loop.d.ts.map +1 -0
- package/dist/voice/voice_loop.js +463 -0
- package/dist/voice/voice_loop.js.map +1 -0
- package/dist/voice/wake_word.d.ts +153 -0
- package/dist/voice/wake_word.d.ts.map +1 -0
- package/dist/voice/wake_word.js +458 -0
- package/dist/voice/wake_word.js.map +1 -0
- package/dist/voice/wav.d.ts +99 -0
- package/dist/voice/wav.d.ts.map +1 -0
- package/dist/voice/wav.js +306 -0
- package/dist/voice/wav.js.map +1 -0
- package/dist/web/broker.d.ts +33 -0
- package/dist/web/broker.d.ts.map +1 -0
- package/dist/web/broker.js +58 -0
- package/dist/web/broker.js.map +1 -0
- package/dist/web/open_browser.d.ts +2 -0
- package/dist/web/open_browser.d.ts.map +1 -0
- package/dist/web/open_browser.js +42 -0
- package/dist/web/open_browser.js.map +1 -0
- package/dist/web/server.d.ts +54 -0
- package/dist/web/server.d.ts.map +1 -0
- package/dist/web/server.js +831 -0
- package/dist/web/server.js.map +1 -0
- package/dist/web/static/app.js +4121 -0
- package/dist/web/static/index.html +2281 -0
- package/dist/web/static/js/MODULE_SUMMARY.md +124 -0
- package/dist/web/static/js/a11y.js +165 -0
- package/dist/web/static/js/admin.js +2145 -0
- package/dist/web/static/js/assistant.js +475 -0
- package/dist/web/static/js/calendar/reminders.js +114 -0
- package/dist/web/static/js/calendar/utils.js +166 -0
- package/dist/web/static/js/calendar.js +3348 -0
- package/dist/web/static/js/censor.js +356 -0
- package/dist/web/static/js/chat.js +4546 -0
- package/dist/web/static/js/chatRenderer.js +2294 -0
- package/dist/web/static/js/chatStream.js +276 -0
- package/dist/web/static/js/codeRunner.js +398 -0
- package/dist/web/static/js/color/hex.js +14 -0
- package/dist/web/static/js/colorPicker.js +453 -0
- package/dist/web/static/js/compare/icons.js +77 -0
- package/dist/web/static/js/compare/index.js +1482 -0
- package/dist/web/static/js/compare/models.js +104 -0
- package/dist/web/static/js/compare/panes.js +817 -0
- package/dist/web/static/js/compare/probe.js +78 -0
- package/dist/web/static/js/compare/scoreboard.js +223 -0
- package/dist/web/static/js/compare/selector.js +1335 -0
- package/dist/web/static/js/compare/state.js +58 -0
- package/dist/web/static/js/compare/stream.js +695 -0
- package/dist/web/static/js/compare/vote.js +254 -0
- package/dist/web/static/js/cookbook-diagnosis.js +694 -0
- package/dist/web/static/js/cookbook-hwfit.js +1888 -0
- package/dist/web/static/js/cookbook.js +2093 -0
- package/dist/web/static/js/cookbookDownload.js +633 -0
- package/dist/web/static/js/cookbookProgressSignal.js +29 -0
- package/dist/web/static/js/cookbookRunning.js +3506 -0
- package/dist/web/static/js/cookbookServe.js +2128 -0
- package/dist/web/static/js/document.js +9731 -0
- package/dist/web/static/js/documentLibrary.js +3376 -0
- package/dist/web/static/js/dragSort.js +265 -0
- package/dist/web/static/js/editor/ai-inpaint.js +374 -0
- package/dist/web/static/js/editor/ai-models.js +273 -0
- package/dist/web/static/js/editor/ai-rembg.js +230 -0
- package/dist/web/static/js/editor/ai-tool-runner.js +147 -0
- package/dist/web/static/js/editor/ai-tools-misc.js +216 -0
- package/dist/web/static/js/editor/build/controls.js +366 -0
- package/dist/web/static/js/editor/build/popups.js +112 -0
- package/dist/web/static/js/editor/build/right-panel.js +200 -0
- package/dist/web/static/js/editor/build/toolbar.js +73 -0
- package/dist/web/static/js/editor/build/topbar.js +131 -0
- package/dist/web/static/js/editor/build/transform-popup.js +109 -0
- package/dist/web/static/js/editor/canvas-coords.js +21 -0
- package/dist/web/static/js/editor/canvas-events.js +197 -0
- package/dist/web/static/js/editor/canvas-transforms.js +132 -0
- package/dist/web/static/js/editor/checkerboard.js +24 -0
- package/dist/web/static/js/editor/clipboard-and-drop.js +133 -0
- package/dist/web/static/js/editor/composite-helpers.js +83 -0
- package/dist/web/static/js/editor/filters/blur.js +118 -0
- package/dist/web/static/js/editor/filters/edge-feather.js +70 -0
- package/dist/web/static/js/editor/fx/adj-popup.js +677 -0
- package/dist/web/static/js/editor/fx/filter-string.js +38 -0
- package/dist/web/static/js/editor/fx/histogram.js +67 -0
- package/dist/web/static/js/editor/fx/pixel-pass.js +249 -0
- package/dist/web/static/js/editor/harmonize-masks.js +116 -0
- package/dist/web/static/js/editor/history-panel.js +176 -0
- package/dist/web/static/js/editor/keyboard-shortcuts.js +271 -0
- package/dist/web/static/js/editor/layer-helpers.js +131 -0
- package/dist/web/static/js/editor/layer-panel.js +600 -0
- package/dist/web/static/js/editor/mask-utils.js +91 -0
- package/dist/web/static/js/editor/shortcuts-popover.js +149 -0
- package/dist/web/static/js/editor/slider-ux.js +191 -0
- package/dist/web/static/js/editor/snap.js +107 -0
- package/dist/web/static/js/editor/state.js +257 -0
- package/dist/web/static/js/editor/stroke-pipeline.js +162 -0
- package/dist/web/static/js/editor/stroke-tool-sliders.js +64 -0
- package/dist/web/static/js/editor/tools/clone.js +81 -0
- package/dist/web/static/js/editor/tools/crop.js +137 -0
- package/dist/web/static/js/editor/tools/flood-fill.js +72 -0
- package/dist/web/static/js/editor/tools/lasso-mask.js +171 -0
- package/dist/web/static/js/editor/tools/lasso.js +65 -0
- package/dist/web/static/js/editor/tools/move.js +79 -0
- package/dist/web/static/js/editor/tools/stroke.js +123 -0
- package/dist/web/static/js/editor/tools/transform-drag.js +174 -0
- package/dist/web/static/js/editor/tools/transform-handles.js +271 -0
- package/dist/web/static/js/editor/tools/transform-session.js +381 -0
- package/dist/web/static/js/editor/tools/wand.js +46 -0
- package/dist/web/static/js/editor/wire-import.js +148 -0
- package/dist/web/static/js/editor/wire-inpaint-controls.js +164 -0
- package/dist/web/static/js/editor/wire-merge-buttons.js +103 -0
- package/dist/web/static/js/editor/wire-selection-controls.js +170 -0
- package/dist/web/static/js/editor/wire-topbar-menus.js +174 -0
- package/dist/web/static/js/editor/wire-topbar-overflow.js +49 -0
- package/dist/web/static/js/editor/wire-topbar.js +188 -0
- package/dist/web/static/js/emailInbox.js +1245 -0
- package/dist/web/static/js/emailLibrary/replyRecipients.js +27 -0
- package/dist/web/static/js/emailLibrary/signatureFold.js +339 -0
- package/dist/web/static/js/emailLibrary/state.js +34 -0
- package/dist/web/static/js/emailLibrary/utils.js +202 -0
- package/dist/web/static/js/emailLibrary.js +5217 -0
- package/dist/web/static/js/emojiPicker.js +311 -0
- package/dist/web/static/js/escMenuStack.js +102 -0
- package/dist/web/static/js/fileHandler.js +295 -0
- package/dist/web/static/js/gallery.js +2835 -0
- package/dist/web/static/js/galleryEditor.js +3798 -0
- package/dist/web/static/js/group.js +955 -0
- package/dist/web/static/js/init.js +405 -0
- package/dist/web/static/js/keyboard-shortcuts.js +292 -0
- package/dist/web/static/js/langIcons.js +187 -0
- package/dist/web/static/js/markdown/tableRow.js +19 -0
- package/dist/web/static/js/markdown.js +806 -0
- package/dist/web/static/js/memory.js +1418 -0
- package/dist/web/static/js/modalManager.js +1552 -0
- package/dist/web/static/js/modalSnap.js +782 -0
- package/dist/web/static/js/model/matchKey.js +19 -0
- package/dist/web/static/js/modelPicker.js +695 -0
- package/dist/web/static/js/modelSort.js +33 -0
- package/dist/web/static/js/models.js +642 -0
- package/dist/web/static/js/notes.js +5054 -0
- package/dist/web/static/js/package.json +1 -0
- package/dist/web/static/js/platform.js +47 -0
- package/dist/web/static/js/presets.js +1110 -0
- package/dist/web/static/js/providers.js +93 -0
- package/dist/web/static/js/rag.js +177 -0
- package/dist/web/static/js/research/jobs.js +335 -0
- package/dist/web/static/js/research/panel.js +1233 -0
- package/dist/web/static/js/researchSynapse.js +225 -0
- package/dist/web/static/js/search-chat.js +201 -0
- package/dist/web/static/js/search.js +52 -0
- package/dist/web/static/js/section-management.js +260 -0
- package/dist/web/static/js/sessions.js +3108 -0
- package/dist/web/static/js/settings.js +4991 -0
- package/dist/web/static/js/sidebar-layout.js +573 -0
- package/dist/web/static/js/signature.js +504 -0
- package/dist/web/static/js/skills.js +1908 -0
- package/dist/web/static/js/slashAutocomplete.js +267 -0
- package/dist/web/static/js/slashCommands.js +6099 -0
- package/dist/web/static/js/spinner.js +406 -0
- package/dist/web/static/js/storage.js +123 -0
- package/dist/web/static/js/tasks.js +2699 -0
- package/dist/web/static/js/theme.js +2086 -0
- package/dist/web/static/js/tileManager.js +386 -0
- package/dist/web/static/js/tourAutoplay.js +133 -0
- package/dist/web/static/js/tourHints.js +179 -0
- package/dist/web/static/js/tts-ai.js +521 -0
- package/dist/web/static/js/ui.js +1288 -0
- package/dist/web/static/js/util/ordinal.js +13 -0
- package/dist/web/static/js/voiceRecorder.js +283 -0
- package/dist/web/static/js/windowDrag.js +326 -0
- package/dist/web/static/js/windowResize.js +233 -0
- package/dist/web/static/landing.html +824 -0
- package/dist/web/static/lib/docx.umd.min.js +20116 -0
- package/dist/web/static/lib/highlight.min.js +1213 -0
- package/dist/web/static/lib/html2pdf.bundle.min.js +3 -0
- package/dist/web/static/lib/mammoth.browser.min.js +21 -0
- package/dist/web/static/lib/qrcode.min.js +8 -0
- package/dist/web/static/lib/xlsx.full.min.js +24 -0
- package/dist/web/static/login.html +582 -0
- package/dist/web/static/manifest.json +15 -0
- package/dist/web/static/style.css +35733 -0
- package/dist/web/static/sw.js +144 -0
- package/dist/workflows/engine.d.ts +162 -0
- package/dist/workflows/engine.d.ts.map +1 -0
- package/dist/workflows/engine.js +625 -0
- package/dist/workflows/engine.js.map +1 -0
- package/dist/workflows/index.d.ts +8 -0
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/index.js +14 -0
- package/dist/workflows/index.js.map +1 -0
- package/package.json +112 -0
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
// Shared window-resize helper. Companion to makeWindowDraggable: gives every
|
|
2
|
+
// draggable tool window (Library, Notes, Tasks, Calendar, Gallery, Email,
|
|
3
|
+
// Cookbook, Memory, Settings, Theme, Compare, Research, Sessions) edge- and
|
|
4
|
+
// corner-resize, the same way a native desktop window resizes — grab any of
|
|
5
|
+
// the four edges or four corners and drag.
|
|
6
|
+
//
|
|
7
|
+
// Why edge-proximity detection instead of injected handle elements:
|
|
8
|
+
// The windows differ structurally. `.modal-content` scrolls its own body
|
|
9
|
+
// (overflow:auto) while `.notes-pane` keeps overflow:hidden and scrolls an
|
|
10
|
+
// inner element. Absolutely-positioned handle children would scroll away
|
|
11
|
+
// with the content in the first case. Detecting pointer proximity to the
|
|
12
|
+
// window's border works uniformly regardless of the overflow model and
|
|
13
|
+
// matches the user's mental model ("drag the edges or corners").
|
|
14
|
+
//
|
|
15
|
+
// API:
|
|
16
|
+
// makeWindowResizable(content, {
|
|
17
|
+
// modal, // optional wrapping .modal (for id-based size persistence)
|
|
18
|
+
// mobileSkip, // viewport width at/below which resize is disabled (sheets)
|
|
19
|
+
// isLocked, // () => bool — skip while fullscreen / docked
|
|
20
|
+
// minWidth, minHeight,
|
|
21
|
+
// storageKey, // localStorage key to persist {w,h}; null disables
|
|
22
|
+
// onResizeEnd, // ({rect}) => void
|
|
23
|
+
// })
|
|
24
|
+
|
|
25
|
+
const EDGE = 7; // px proximity to a border that arms a resize grip
|
|
26
|
+
const MIN_W = 320; // smallest a window may be dragged to
|
|
27
|
+
const MIN_H = 200;
|
|
28
|
+
// Controls that must keep their own click/drag behaviour even when they sit
|
|
29
|
+
// within EDGE px of the window border (close buttons, sliders, inputs, links).
|
|
30
|
+
const INTERACTIVE = 'button, input, select, textarea, a, [contenteditable=""], [contenteditable="true"]';
|
|
31
|
+
|
|
32
|
+
export function makeWindowResizable(content, options = {}) {
|
|
33
|
+
if (!content) return;
|
|
34
|
+
const modal = options.modal || null;
|
|
35
|
+
const mobileSkip = (typeof options.mobileSkip === 'number') ? options.mobileSkip : 768;
|
|
36
|
+
const minW = options.minWidth || MIN_W;
|
|
37
|
+
const minH = options.minHeight || MIN_H;
|
|
38
|
+
const isLocked = options.isLocked || (() => false);
|
|
39
|
+
const onResizeEnd = options.onResizeEnd || null;
|
|
40
|
+
const storageKey = options.storageKey || null;
|
|
41
|
+
|
|
42
|
+
const _skip = () => (mobileSkip > 0 && window.innerWidth <= mobileSkip) || isLocked();
|
|
43
|
+
|
|
44
|
+
// Which borders is (cx,cy) within EDGE px of? Only counts when the pointer
|
|
45
|
+
// is also within the window's span on the perpendicular axis, so the corners
|
|
46
|
+
// resolve to true diagonal grips rather than the whole side.
|
|
47
|
+
function edgesAt(cx, cy) {
|
|
48
|
+
const r = content.getBoundingClientRect();
|
|
49
|
+
const within = (cy >= r.top - EDGE && cy <= r.bottom + EDGE && cx >= r.left - EDGE && cx <= r.right + EDGE);
|
|
50
|
+
if (!within) return { l: false, r: false, t: false, b: false, rect: r };
|
|
51
|
+
const onY = cy >= r.top - EDGE && cy <= r.bottom + EDGE;
|
|
52
|
+
const onX = cx >= r.left - EDGE && cx <= r.right + EDGE;
|
|
53
|
+
return {
|
|
54
|
+
l: Math.abs(cx - r.left) <= EDGE && onY,
|
|
55
|
+
r: Math.abs(cx - r.right) <= EDGE && onY,
|
|
56
|
+
t: Math.abs(cy - r.top) <= EDGE && onX,
|
|
57
|
+
b: Math.abs(cy - r.bottom) <= EDGE && onX,
|
|
58
|
+
rect: r,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function cursorFor(e) {
|
|
63
|
+
if ((e.l && e.t) || (e.r && e.b)) return 'nwse-resize';
|
|
64
|
+
if ((e.r && e.t) || (e.l && e.b)) return 'nesw-resize';
|
|
65
|
+
if (e.l || e.r) return 'ew-resize';
|
|
66
|
+
if (e.t || e.b) return 'ns-resize';
|
|
67
|
+
return '';
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
let hoverCursor = false;
|
|
71
|
+
function clearHoverCursor() {
|
|
72
|
+
if (hoverCursor) { content.style.cursor = ''; hoverCursor = false; }
|
|
73
|
+
}
|
|
74
|
+
function onHover(ev) {
|
|
75
|
+
if (resizing) return;
|
|
76
|
+
if (_skip()) { clearHoverCursor(); return; }
|
|
77
|
+
if (ev.target && ev.target.closest && ev.target.closest(INTERACTIVE)) { clearHoverCursor(); return; }
|
|
78
|
+
const c = cursorFor(edgesAt(ev.clientX, ev.clientY));
|
|
79
|
+
if (c) { content.style.cursor = c; hoverCursor = true; }
|
|
80
|
+
else clearHoverCursor();
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
let resizing = false;
|
|
84
|
+
let active = null;
|
|
85
|
+
let startRect = null, startX = 0, startY = 0;
|
|
86
|
+
|
|
87
|
+
function begin(cx, cy, edges) {
|
|
88
|
+
resizing = true;
|
|
89
|
+
active = edges;
|
|
90
|
+
// Kill the modal/pane open-animation (a scale transform that runs for the
|
|
91
|
+
// first ~200-250ms) BEFORE measuring. Done as a permanent inline style
|
|
92
|
+
// rather than a toggled class on purpose: a class that flips animation
|
|
93
|
+
// off→on would re-trigger the scale-in on mouseup, mis-measuring the final
|
|
94
|
+
// size and visibly popping the window. The open animation is a one-shot,
|
|
95
|
+
// so killing it for this instance is harmless (it replays on next open).
|
|
96
|
+
content.style.animation = 'none';
|
|
97
|
+
content.classList.add('window-resizing');
|
|
98
|
+
const r = content.getBoundingClientRect();
|
|
99
|
+
startRect = { left: r.left, top: r.top, width: r.width, height: r.height };
|
|
100
|
+
startX = cx; startY = cy;
|
|
101
|
+
// Pin to fixed with explicit box, same as the drag helper does, so the
|
|
102
|
+
// centering transform / margin stops fighting the new dimensions. Drop the
|
|
103
|
+
// max-width/height caps (e.g. 85vh) so the window can actually grow.
|
|
104
|
+
content.style.position = 'fixed';
|
|
105
|
+
content.style.margin = '0';
|
|
106
|
+
content.style.transform = 'none';
|
|
107
|
+
content.style.left = r.left + 'px';
|
|
108
|
+
content.style.top = r.top + 'px';
|
|
109
|
+
content.style.width = r.width + 'px';
|
|
110
|
+
content.style.height = r.height + 'px';
|
|
111
|
+
content.style.maxWidth = 'none';
|
|
112
|
+
content.style.maxHeight = 'none';
|
|
113
|
+
document.body.classList.add('window-resizing-active');
|
|
114
|
+
document.body.style.cursor = cursorFor(edges);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function move(cx, cy) {
|
|
118
|
+
if (!resizing) return;
|
|
119
|
+
const dx = cx - startX, dy = cy - startY;
|
|
120
|
+
let { left, top, width, height } = startRect;
|
|
121
|
+
const vw = window.innerWidth, vh = window.innerHeight;
|
|
122
|
+
if (active.r) width = startRect.width + dx;
|
|
123
|
+
if (active.b) height = startRect.height + dy;
|
|
124
|
+
if (active.l) { width = startRect.width - dx; left = startRect.left + dx; }
|
|
125
|
+
if (active.t) { height = startRect.height - dy; top = startRect.top + dy; }
|
|
126
|
+
// Min-size clamps — keep the opposite edge anchored when pulling from
|
|
127
|
+
// the left/top so the window doesn't jump.
|
|
128
|
+
if (width < minW) { if (active.l) left = startRect.left + (startRect.width - minW); width = minW; }
|
|
129
|
+
if (height < minH) { if (active.t) top = startRect.top + (startRect.height - minH); height = minH; }
|
|
130
|
+
// Keep the window on-screen and never larger than the viewport.
|
|
131
|
+
if (active.l && left < 0) { width += left; left = 0; }
|
|
132
|
+
if (active.t && top < 0) { height += top; top = 0; }
|
|
133
|
+
if (left + width > vw) width = Math.max(minW, vw - left);
|
|
134
|
+
if (top + height > vh) height = Math.max(minH, vh - top);
|
|
135
|
+
content.style.left = left + 'px';
|
|
136
|
+
content.style.top = top + 'px';
|
|
137
|
+
content.style.width = width + 'px';
|
|
138
|
+
content.style.height = height + 'px';
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
function end() {
|
|
142
|
+
if (!resizing) return;
|
|
143
|
+
resizing = false;
|
|
144
|
+
content.classList.remove('window-resizing');
|
|
145
|
+
document.body.classList.remove('window-resizing-active');
|
|
146
|
+
document.body.style.cursor = '';
|
|
147
|
+
clearHoverCursor();
|
|
148
|
+
const r = content.getBoundingClientRect();
|
|
149
|
+
if (storageKey) {
|
|
150
|
+
try { localStorage.setItem(storageKey, JSON.stringify({ w: Math.round(r.width), h: Math.round(r.height) })); } catch (_) {}
|
|
151
|
+
}
|
|
152
|
+
if (onResizeEnd) { try { onResizeEnd({ rect: r }); } catch (_) {} }
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
function armFrom(target, cx, cy) {
|
|
156
|
+
if (_skip()) return false;
|
|
157
|
+
if (target && target.closest && target.closest(INTERACTIVE)) return false;
|
|
158
|
+
const edges = edgesAt(cx, cy);
|
|
159
|
+
if (!(edges.l || edges.r || edges.t || edges.b)) return false;
|
|
160
|
+
begin(cx, cy, edges);
|
|
161
|
+
return true;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// Capture phase: pre-empt the header's drag listener (which lives on a
|
|
165
|
+
// descendant and fires in the bubble phase) when the grab lands on a border.
|
|
166
|
+
content.addEventListener('mousedown', (ev) => {
|
|
167
|
+
if (ev.button !== 0) return;
|
|
168
|
+
if (!armFrom(ev.target, ev.clientX, ev.clientY)) return;
|
|
169
|
+
ev.preventDefault();
|
|
170
|
+
ev.stopPropagation();
|
|
171
|
+
const mu = () => {
|
|
172
|
+
end();
|
|
173
|
+
document.removeEventListener('mousemove', mm);
|
|
174
|
+
document.removeEventListener('mouseup', mu);
|
|
175
|
+
};
|
|
176
|
+
// Self-heal a missed mouseup (released outside the window, dropped event,
|
|
177
|
+
// window blur): a move with no buttons pressed means the drag is over —
|
|
178
|
+
// finish instead of running away on every subsequent mousemove.
|
|
179
|
+
const mm = (e) => {
|
|
180
|
+
if (e.buttons === 0) { mu(); return; }
|
|
181
|
+
move(e.clientX, e.clientY);
|
|
182
|
+
};
|
|
183
|
+
document.addEventListener('mousemove', mm);
|
|
184
|
+
document.addEventListener('mouseup', mu);
|
|
185
|
+
}, true);
|
|
186
|
+
|
|
187
|
+
content.addEventListener('mousemove', onHover);
|
|
188
|
+
content.addEventListener('mouseleave', clearHoverCursor);
|
|
189
|
+
|
|
190
|
+
content.addEventListener('touchstart', (ev) => {
|
|
191
|
+
const t = ev.touches[0];
|
|
192
|
+
if (!t) return;
|
|
193
|
+
if (!armFrom(ev.target, t.clientX, t.clientY)) return;
|
|
194
|
+
ev.preventDefault();
|
|
195
|
+
ev.stopPropagation();
|
|
196
|
+
const tm = (e) => { const tt = e.touches[0]; if (tt) move(tt.clientX, tt.clientY); };
|
|
197
|
+
const te = () => {
|
|
198
|
+
end();
|
|
199
|
+
document.removeEventListener('touchmove', tm);
|
|
200
|
+
document.removeEventListener('touchend', te);
|
|
201
|
+
document.removeEventListener('touchcancel', te);
|
|
202
|
+
};
|
|
203
|
+
document.addEventListener('touchmove', tm, { passive: false });
|
|
204
|
+
document.addEventListener('touchend', te);
|
|
205
|
+
document.addEventListener('touchcancel', te);
|
|
206
|
+
}, true);
|
|
207
|
+
|
|
208
|
+
// Restore a previously chosen size on (re)open. Applying width/height inline
|
|
209
|
+
// while the window is still centered by its overlay keeps it centered at the
|
|
210
|
+
// new size; once dragged/resized it pins to fixed as usual.
|
|
211
|
+
//
|
|
212
|
+
// Deferred one frame on purpose: some windows (e.g. Notes) snap to an edge
|
|
213
|
+
// dock or fullscreen synchronously right AFTER this helper is wired. Waiting a
|
|
214
|
+
// frame lets that settle so we can re-check _skip() and NOT stretch a
|
|
215
|
+
// docked/fullscreen window to a stale windowed size. The open animation masks
|
|
216
|
+
// the one-frame delay, so there is no visible jump.
|
|
217
|
+
if (storageKey) {
|
|
218
|
+
requestAnimationFrame(() => {
|
|
219
|
+
if (_skip() || !content.isConnected) return;
|
|
220
|
+
try {
|
|
221
|
+
const saved = JSON.parse(localStorage.getItem(storageKey) || 'null');
|
|
222
|
+
if (saved && saved.w && saved.h) {
|
|
223
|
+
const w = Math.max(minW, Math.min(saved.w, window.innerWidth));
|
|
224
|
+
const h = Math.max(minH, Math.min(saved.h, window.innerHeight));
|
|
225
|
+
content.style.width = w + 'px';
|
|
226
|
+
content.style.height = h + 'px';
|
|
227
|
+
content.style.maxWidth = 'none';
|
|
228
|
+
content.style.maxHeight = 'none';
|
|
229
|
+
}
|
|
230
|
+
} catch (_) {}
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
}
|