@pheem49/mint 1.15.0 → 1.16.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/Cargo.lock +1012 -69
- package/Cargo.toml +5 -2
- package/LICENSE +21 -654
- package/README.md +92 -817
- package/Release_Note.md +53 -560
- package/apps/mint-companion/src-tauri/Cargo.toml +20 -0
- package/apps/mint-companion/src-tauri/build.rs +3 -0
- package/apps/mint-companion/src-tauri/src/main.rs +468 -0
- package/apps/mint-companion/tsconfig.json +20 -0
- package/apps/mint-companion/vite.config.ts +3 -0
- package/components.json +19 -0
- package/crates/mint-cli/Cargo.toml +6 -0
- package/crates/mint-cli/src/agent/live_status.rs +187 -39
- package/crates/mint-cli/src/agent.rs +323 -95
- package/crates/mint-cli/src/commands/agent.rs +69 -55
- package/crates/mint-cli/src/commands/integrations.rs +7 -0
- package/crates/mint-cli/src/commands/knowledge.rs +12 -32
- package/crates/mint-cli/src/commands/mod.rs +44 -0
- package/crates/mint-cli/src/image.rs +31 -33
- package/crates/mint-cli/src/interactive/chat_tui.rs +3594 -483
- package/crates/mint-cli/src/interactive/input_box.rs +56 -6
- package/crates/mint-cli/src/interactive/slash_commands.rs +208 -56
- package/crates/mint-cli/src/interactive/tool_activity.rs +328 -0
- package/crates/mint-cli/src/interactive.rs +64 -40
- package/crates/mint-cli/src/main.rs +13 -7
- package/crates/mint-cli/src/mcp.rs +5 -0
- package/crates/mint-cli/src/mod_host.rs +6 -0
- package/crates/mint-cli/src/mods_cli.rs +62 -0
- package/crates/mint-cli/src/mods_ui.rs +187 -0
- package/crates/mint-cli/src/onboard.rs +5 -31
- package/crates/mint-cli/src/terminal_theme.rs +3 -1
- package/crates/mint-cli/src/updater.rs +56 -2
- package/crates/mint-cli/tests/library_intake.rs +77 -0
- package/crates/mint-cli/tests/mods_testing.rs +133 -0
- package/crates/mint-companion-protocol/Cargo.toml +10 -0
- package/crates/mint-companion-protocol/src/lib.rs +163 -0
- package/crates/mint-core/Cargo.toml +6 -3
- package/crates/mint-core/build.rs +26 -0
- package/crates/mint-core/src/agent/chat.rs +167 -39
- package/crates/mint-core/src/agent/code_tools.rs +15 -0
- package/crates/mint-core/src/agent/memory/sources.rs +240 -0
- package/crates/mint-core/src/agent/memory.rs +147 -13
- package/crates/mint-core/src/agent/skill_inventory.rs +325 -0
- package/crates/mint-core/src/agent/skills.rs +437 -90
- package/crates/mint-core/src/agent.rs +1 -0
- package/crates/mint-core/src/api_server/routes/background_jobs.rs +310 -0
- package/crates/mint-core/src/api_server/routes/chat.rs +216 -199
- package/crates/mint-core/src/api_server/routes/html_preview.rs +77 -0
- package/crates/mint-core/src/api_server/routes/library.rs +97 -0
- package/crates/mint-core/src/api_server/routes/media_gen.rs +10 -57
- package/crates/mint-core/src/api_server/routes/misc.rs +104 -107
- package/crates/mint-core/src/api_server/routes/mod.rs +6 -0
- package/crates/mint-core/src/api_server/routes/mods.rs +31 -0
- package/crates/mint-core/src/api_server/routes/sessions.rs +41 -0
- package/crates/mint-core/src/api_server/routes/skills_subagents.rs +12 -42
- package/crates/mint-core/src/api_server/routes/slash.rs +50 -1
- package/crates/mint-core/src/api_server/routes/sources.rs +101 -0
- package/crates/mint-core/src/api_server.rs +118 -9
- package/crates/mint-core/src/avatar_bridge.rs +11 -2
- package/crates/mint-core/src/browser/session.rs +52 -0
- package/crates/mint-core/src/companion.rs +716 -0
- package/crates/mint-core/src/cron/scheduler.rs +34 -2
- package/crates/mint-core/src/integrations/channels.rs +87 -345
- package/crates/mint-core/src/integrations/mcp.rs +397 -50
- package/crates/mint-core/src/integrations/mcp_calls.rs +823 -0
- package/crates/mint-core/src/integrations/mcp_catalog.rs +267 -0
- package/crates/mint-core/src/integrations/mcp_device.rs +319 -0
- package/crates/mint-core/src/integrations/mcp_result.rs +356 -0
- package/crates/mint-core/src/integrations/webhooks.rs +539 -0
- package/crates/mint-core/src/integrations.rs +2 -0
- package/crates/mint-core/src/lib.rs +85 -26
- package/crates/mint-core/src/media/gemini_live.rs +134 -14
- package/crates/mint-core/src/media/image_models.rs +3 -27
- package/crates/mint-core/src/media/image_workflow.rs +216 -0
- package/crates/mint-core/src/media/library/intake.rs +144 -0
- package/crates/mint-core/src/media/library/migration.rs +56 -0
- package/crates/mint-core/src/media/library/removal.rs +55 -0
- package/crates/mint-core/src/media/library/tests.rs +730 -0
- package/crates/mint-core/src/media/library/thumbnails.rs +72 -0
- package/crates/mint-core/src/media/library.rs +545 -0
- package/crates/mint-core/src/media/model_catalog.rs +375 -0
- package/crates/mint-core/src/media/pictures.rs +79 -222
- package/crates/mint-core/src/media/video_models.rs +3 -22
- package/crates/mint-core/src/media.rs +3 -0
- package/crates/mint-core/src/mods/manager.rs +1124 -0
- package/crates/mint-core/src/mods/mod.rs +569 -0
- package/crates/mint-core/src/mods/operations.rs +204 -0
- package/crates/mint-core/src/mods/session.rs +146 -0
- package/crates/mint-core/src/mods/slash.rs +59 -0
- package/crates/mint-core/src/mods/telemetry.rs +306 -0
- package/crates/mint-core/src/orchestration/approvals.rs +344 -0
- package/crates/mint-core/src/orchestration/context_render.rs +104 -0
- package/crates/mint-core/src/orchestration/mcp_review.rs +153 -0
- package/crates/mint-core/src/orchestration/memory_skill.rs +104 -32
- package/crates/mint-core/src/orchestration/mod.rs +2139 -244
- package/crates/mint-core/src/orchestration/mod_authoring_regressions.rs +209 -0
- package/crates/mint-core/src/orchestration/progress_clock.rs +80 -0
- package/crates/mint-core/src/orchestration/repeated_failures.rs +116 -0
- package/crates/mint-core/src/orchestration/review_regressions.rs +449 -0
- package/crates/mint-core/src/orchestration/run_control.rs +196 -0
- package/crates/mint-core/src/orchestration/tools/files.rs +161 -14
- package/crates/mint-core/src/orchestration/tools/media.rs +37 -41
- package/crates/mint-core/src/orchestration/tools/misc.rs +3 -2
- package/crates/mint-core/src/orchestration/tools/mod.rs +2 -0
- package/crates/mint-core/src/orchestration/tools/mods.rs +161 -0
- package/crates/mint-core/src/orchestration/tools/plugins_mcp.rs +303 -71
- package/crates/mint-core/src/orchestration/tools/shell.rs +95 -2
- package/crates/mint-core/src/orchestration/workspace_helpers.rs +4 -1
- package/crates/mint-core/src/prompts/agent.rs +17 -2
- package/crates/mint-core/src/prompts/tool_catalog.rs +28 -2
- package/crates/mint-core/src/search/knowledge.rs +7 -1
- package/crates/mint-core/src/search/linked_folders/index.rs +177 -13
- package/crates/mint-core/src/search/linked_folders.rs +83 -2
- package/crates/mint-core/src/slash/catalog.rs +1 -1
- package/crates/mint-core/src/slash/mod.rs +174 -11
- package/crates/mint-core/src/slash/mods.rs +155 -0
- package/crates/mint-core/src/system/bg_shell.rs +1129 -95
- package/crates/mint-core/src/system/config.rs +5 -10
- package/crates/mint-core/src/system/html_preview.rs +398 -0
- package/crates/mint-core/src/system/mint_web.rs +164 -0
- package/crates/mint-core/src/system/release_notes.rs +18 -0
- package/crates/mint-core/src/system/shell.rs +21 -6
- package/crates/mint-core/src/system/workspace.rs +72 -8
- package/crates/mint-core/src/system/workspace_history.rs +604 -0
- package/crates/mint-core/src/system.rs +4 -0
- package/crates/mint-core/tests/background_retention.rs +34 -0
- package/crates/mint-core/tests/background_shutdown.rs +24 -0
- package/crates/mint-core/tests/library_http.rs +209 -0
- package/crates/mint-core/tests/mcp_contract.rs +283 -0
- package/crates/mint-core/tests/mcp_stdio.rs +11 -10
- package/crates/mint-core/tests/media_model_catalog_http.rs +403 -0
- package/crates/mint-core/tests/mods_http.rs +215 -0
- package/crates/mint-core/tests/terminal_shutdown.rs +109 -0
- package/crates/mint-mod-runtime/Cargo.toml +18 -0
- package/crates/mint-mod-runtime/src/lib.rs +507 -0
- package/crates/mint-mod-runtime/src/sdk.js +56 -0
- package/crates/mint-mod-runtime/src/test_sdk.js +32 -0
- package/crates/mint-mod-runtime/src/testing.rs +94 -0
- package/crates/mint-mod-runtime/tests/runtime.rs +156 -0
- package/docs/mods/AUTHORING.md +61 -0
- package/docs/mods/README.md +139 -0
- package/docs/mods/TESTING.md +56 -0
- package/docs/mods/mint-mods.d.ts +66 -0
- package/examples/device-mcp/README.md +22 -0
- package/examples/device-mcp/contract.md +49 -0
- package/examples/device-mcp/mock-device.mjs +66 -0
- package/examples/device-mcp/server.mjs +48 -0
- package/examples/device-mcp/server.test.mjs +78 -0
- package/examples/mods/task-checklist/README.md +1 -0
- package/examples/mods/task-checklist/main.ts +17 -0
- package/examples/mods/task-checklist/manifest.json +1 -0
- package/examples/mods/task-checklist/tests/checklist.test.ts +15 -0
- package/examples/mods/token-meter/README.md +1 -0
- package/examples/mods/token-meter/main.ts +8 -0
- package/examples/mods/token-meter/manifest.json +1 -0
- package/examples/mods/tool-guard/README.md +1 -0
- package/examples/mods/tool-guard/main.ts +9 -0
- package/examples/mods/tool-guard/manifest.json +1 -0
- package/out/web/assets/CliSessionsView-CtzUJpK_.css +1 -0
- package/out/web/assets/CliSessionsView-D7hw0Mgj.js +1 -0
- package/out/web/assets/CodeReviewPage-C7bEOJfd.js +4 -0
- package/out/web/assets/CodeReviewPage-Dte9uLiL.css +1 -0
- package/out/web/assets/CommandPalette-0RrF-AOT.js +1 -0
- package/out/web/assets/ImageStudioPanel-CdxkAf_r.js +1 -0
- package/out/web/assets/LibraryPage--Qfisp6D.js +2 -0
- package/out/web/assets/LibraryPage-DAxUTAg7.css +1 -0
- package/out/web/assets/LinkedFoldersView-2nfZbDgN.js +1 -0
- package/out/web/assets/McpRegistryPicker-h9uS8_wT.js +1 -0
- package/out/web/assets/McpServersView-slfQJzNB.js +1 -0
- package/out/web/assets/MintDashboard-BSR5XpXh.js +25 -0
- package/out/web/assets/MintDashboard-CWUcCGhd.css +1 -0
- package/out/web/assets/PluginsView-l7LSm503.js +1 -0
- package/out/web/assets/ScheduledTasksView-CttmLbq1.js +1 -0
- package/out/web/assets/SettingsWindow-BCMLYvEV.js +4 -0
- package/out/web/assets/SettingsWindow-DcMVmU9u.css +1 -0
- package/out/web/assets/SkillsView-rNs1qr_U.js +2 -0
- package/out/web/assets/ToolSurfacePage-B9DzEPWN.js +37 -0
- package/out/web/assets/ToolSurfacePage-CTfgggF2.css +1 -0
- package/out/web/assets/VeoStudioPanel-DiJs_Cg2.js +4 -0
- package/out/web/assets/WorkspaceSelector-B2xIp04D.js +1 -0
- package/out/web/assets/WorkspaceSelector-Ca8uJOsS.css +1 -0
- package/out/web/assets/{abnfDiagram-VCTEODGH-ByMyfanq.js → abnfDiagram-VCTEODGH-CD0CjoGl.js} +1 -1
- package/out/web/assets/{architecture-7GRP2DOG-CLq2kEOB.js → architecture-7GRP2DOG-RKV83OeZ.js} +1 -1
- package/out/web/assets/{architectureDiagram-5GKGNRK7-6PoVSmNG.js → architectureDiagram-5GKGNRK7-nN_HAFct.js} +1 -1
- package/out/web/assets/{blockDiagram-NRAW4CY4-cKw9mAKi.js → blockDiagram-NRAW4CY4-BrrqzHW5.js} +1 -1
- package/out/web/assets/{c4Diagram-UCG6FXSJ-Cqy8N5Ge.js → c4Diagram-UCG6FXSJ-DTdV8_zE.js} +1 -1
- package/out/web/assets/{chunk-75Z2AOVW-3qybijF5.js → chunk-75Z2AOVW-_M0z5olV.js} +1 -1
- package/out/web/assets/chunk-CKBBP62Z-BpQEgeHF.js +2 -0
- package/out/web/assets/{chunk-CLGD4ZFX-CndDQkww.js → chunk-CLGD4ZFX-D54yGvGS.js} +1 -1
- package/out/web/assets/{chunk-DSNCTWBM-Cc4NxvgD.js → chunk-DSNCTWBM-C-gvT2ru.js} +1 -1
- package/out/web/assets/{chunk-DU6HZSFF-drzh6GsU.js → chunk-DU6HZSFF-CnFngIhW.js} +1 -1
- package/out/web/assets/{chunk-F27PBJKO-FiY35l4v.js → chunk-F27PBJKO-BqtWrnEO.js} +1 -1
- package/out/web/assets/{chunk-G27WJ6UU-Bjt9Il4A.js → chunk-G27WJ6UU-Ckoq5mi2.js} +1 -1
- package/out/web/assets/{chunk-GMAD6QVW-Bppi3Ctd.js → chunk-GMAD6QVW-BuhEcgHq.js} +1 -1
- package/out/web/assets/{chunk-JQ64N6SF-DGg5kcEV.js → chunk-JQ64N6SF-CF8T7GiZ.js} +1 -1
- package/out/web/assets/{chunk-LCL6LL3I-CCYcjd7p.js → chunk-LCL6LL3I-BhXV9zyH.js} +1 -1
- package/out/web/assets/{chunk-OBVCFTLP-DJeNil5M.js → chunk-OBVCFTLP-CRIkunUB.js} +1 -1
- package/out/web/assets/{chunk-P2QGCYS3-lRzkRjBB.js → chunk-P2QGCYS3-UFEU6BxZ.js} +1 -1
- package/out/web/assets/{chunk-POPQ4Y6H-DouASMBW.js → chunk-POPQ4Y6H-CQcrNbjr.js} +1 -1
- package/out/web/assets/{chunk-PWAF6VOD-DMmD1vVf.js → chunk-PWAF6VOD-Cc2uVDsG.js} +1 -1
- package/out/web/assets/{chunk-R7TYR2AO-CYLA5UC5.js → chunk-R7TYR2AO-DiCxzdAY.js} +1 -1
- package/out/web/assets/{chunk-RHFEMEQ7-BiXwEcUT.js → chunk-RHFEMEQ7-b7hnPmrR.js} +1 -1
- package/out/web/assets/{chunk-SVP7TREG-BV-zPslF.js → chunk-SVP7TREG-Bu_yYb-V.js} +1 -1
- package/out/web/assets/{chunk-TEH6E4GO-B2RGEohZ.js → chunk-TEH6E4GO-G4Cdlyrt.js} +1 -1
- package/out/web/assets/classDiagram-DTDB5LWJ-RnC2mYO4.js +1 -0
- package/out/web/assets/classDiagram-v2-JRS7N3AN-RnC2mYO4.js +1 -0
- package/out/web/assets/config-CnvCChUM.js +2 -0
- package/out/web/assets/config-DM6oIVO3.css +1 -0
- package/out/web/assets/core-DsKkQ7ig.js +1 -0
- package/out/web/assets/{cynefin-OW5HDTMX-Cas4csHM.js → cynefin-OW5HDTMX-CnzQfOGp.js} +1 -1
- package/out/web/assets/{cynefinDiagram-5FMLGOSQ-Bbpj66Y3.js → cynefinDiagram-5FMLGOSQ-DVtQnfpm.js} +1 -1
- package/out/web/assets/{dagre-3AP2YEHR-B0-2RDEd.js → dagre-3AP2YEHR-DG76_k5_.js} +1 -1
- package/out/web/assets/{diagram-S7CK7UJ4-BdzEjUyH.js → diagram-S7CK7UJ4-CaouUoze.js} +1 -1
- package/out/web/assets/{diagram-UQ7AKVKN-CJDwyPxF.js → diagram-UQ7AKVKN-B4bEc26B.js} +1 -1
- package/out/web/assets/{diagram-VSXAHHWV-BxaG1r_B.js → diagram-VSXAHHWV-BJ86Ov2Y.js} +1 -1
- package/out/web/assets/{diagram-VX7I27RA-BMmUqm8f.js → diagram-VX7I27RA-7hH5IPYf.js} +1 -1
- package/out/web/assets/{diagram-Z3DM3KII-CFtd03eE.js → diagram-Z3DM3KII-CCM4clo8.js} +1 -1
- package/out/web/assets/dist-js-BkYNznHX.js +1 -0
- package/out/web/assets/{ebnfDiagram-PWID7BFC-DwAen1hO.js → ebnfDiagram-PWID7BFC-Da7WAM3k.js} +1 -1
- package/out/web/assets/{erDiagram-SSCWMZ5O-BCZSHACj.js → erDiagram-SSCWMZ5O-CzzmnZWT.js} +1 -1
- package/out/web/assets/{event-ChBVpRy0.js → event-Cdt7Byyj.js} +1 -1
- package/out/web/assets/{eventmodeling-NTZA5JFV-XHStE4E_.js → eventmodeling-NTZA5JFV-xcfsA0XD.js} +1 -1
- package/out/web/assets/flowDiagram-A5DVABFB-JdtH1673.js +1 -0
- package/out/web/assets/{ganttDiagram-EL5Y4UJY-BAEu1Cql.js → ganttDiagram-EL5Y4UJY-B3ClFGmL.js} +1 -1
- package/out/web/assets/{gitGraph-4MIJSDKK-r32Vyper.js → gitGraph-4MIJSDKK-BZ_y_cDU.js} +1 -1
- package/out/web/assets/{gitGraphDiagram-WWUBYQGX-z9o9qt6V.js → gitGraphDiagram-WWUBYQGX-drhRSYm3.js} +1 -1
- package/out/web/assets/index-BZ9xgmMP.css +1 -0
- package/out/web/assets/index-Ca8cCS4h.js +168 -0
- package/out/web/assets/{info-A6RAGUB7-BvLaC2cw.js → info-A6RAGUB7-B7I3K0F1.js} +1 -1
- package/out/web/assets/{infoDiagram-RXCK75RN-Be6WAXXw.js → infoDiagram-RXCK75RN-deX_1MPh.js} +1 -1
- package/out/web/assets/{ishikawaDiagram-5VMMS53U-DZjoHJHC.js → ishikawaDiagram-5VMMS53U-s38yo28y.js} +1 -1
- package/out/web/assets/{journeyDiagram-EYS64GPL-CtVkjkGm.js → journeyDiagram-EYS64GPL-CZn2kB8b.js} +1 -1
- package/out/web/assets/jsx-runtime-DN4NhQUK.js +1 -0
- package/out/web/assets/{kanban-definition-3QL26DDD-CW5FMv1w.js → kanban-definition-3QL26DDD-DodjgySL.js} +1 -1
- package/out/web/assets/markdown-CMhYIcWB.js +39 -0
- package/out/web/assets/{mermaid-parser.core-aUgCqsZ5.js → mermaid-parser.core-Whu2rlJC.js} +3 -3
- package/out/web/assets/{mermaid.core-D57sEiSL.js → mermaid.core-CKyPo8VH.js} +4 -4
- package/out/web/assets/{mindmap-definition-FBJOCRG2-DAmSpM3a.js → mindmap-definition-FBJOCRG2-260WBDxZ.js} +1 -1
- package/out/web/assets/modelManager-CUaGWMWu.js +2 -0
- package/out/web/assets/{oauthManager-9jxicDWJ.js → oauthManager-DlNhXJr6.js} +1 -1
- package/out/web/assets/{packet-AYTQ26CC-DJ27iIoJ.js → packet-AYTQ26CC-CEeIRKRG.js} +1 -1
- package/out/web/assets/{pegDiagram-XKGWAZYB-Bj3ii-gS.js → pegDiagram-XKGWAZYB-BYadI-KO.js} +1 -1
- package/out/web/assets/{pie-WAS4IAKB-DG5mCUbc.js → pie-WAS4IAKB-D8uf4dh5.js} +1 -1
- package/out/web/assets/{pieDiagram-E7YTZNPT-BrJLPnDA.js → pieDiagram-E7YTZNPT-CjSDy4hO.js} +1 -1
- package/out/web/assets/{quadrantDiagram-AXDQQJYC-3x_TmF3j.js → quadrantDiagram-AXDQQJYC-B8D3gU5d.js} +1 -1
- package/out/web/assets/{radar-RG4KPBEZ-CrXaTTuV.js → radar-RG4KPBEZ-DZJxnokY.js} +1 -1
- package/out/web/assets/{railroad-74A4TZTK-BpqMH9BE.js → railroad-74A4TZTK-DBysUiUi.js} +1 -1
- package/out/web/assets/{railroad-abnf-HS5TGJTU-DHI0uLlV.js → railroad-abnf-HS5TGJTU-CHWxoJYg.js} +1 -1
- package/out/web/assets/{railroad-ebnf-LZEXJU2U-CQCb316y.js → railroad-ebnf-LZEXJU2U-DDv7X6bY.js} +1 -1
- package/out/web/assets/{railroad-peg-WCYAUIDC-Ph1giKkH.js → railroad-peg-WCYAUIDC-DpfcYYNJ.js} +1 -1
- package/out/web/assets/{railroadDiagram-O6MQD6OU-BRq6wIxx.js → railroadDiagram-O6MQD6OU-CYtyv0t3.js} +1 -1
- package/out/web/assets/{requirementDiagram-EFPCY7ZU-DIJj6G1g.js → requirementDiagram-EFPCY7ZU-D2X-Ewik.js} +1 -1
- package/out/web/assets/{sankeyDiagram-P5KCCOFB-DZajSryq.js → sankeyDiagram-P5KCCOFB-Bn2x6C4Y.js} +1 -1
- package/out/web/assets/{sequenceDiagram-WJ2MYXX4-DxJCWyZS.js → sequenceDiagram-WJ2MYXX4-BvFLKtPd.js} +1 -1
- package/out/web/assets/{stateDiagram-HBIQ2CUA-k6voi8Vf.js → stateDiagram-HBIQ2CUA-Bx0GWeaY.js} +1 -1
- package/out/web/assets/stateDiagram-v2-4QOOHH4V--hol1yg_.js +1 -0
- package/out/web/assets/{swimlanes-XN3QIQJK-igYhTjXB.js → swimlanes-XN3QIQJK-CCma0T7L.js} +1 -1
- package/out/web/assets/swimlanesDiagram-VK2B7HYN-BkohoVsU.js +8 -0
- package/out/web/assets/{timeline-definition-24CTP7MA-Dke2p93p.js → timeline-definition-24CTP7MA-iCRhhJ7C.js} +1 -1
- package/out/web/assets/{treeView-Q6P3EWNA-hNELnXUs.js → treeView-Q6P3EWNA-DZ-y08qp.js} +1 -1
- package/out/web/assets/{treemap-WGGIJYW6-D2B6wDsx.js → treemap-WGGIJYW6-De0CxzMx.js} +1 -1
- package/out/web/assets/{vennDiagram-4TSXK5OY-CDkW7rUP.js → vennDiagram-4TSXK5OY-w_7aZ6xe.js} +1 -1
- package/out/web/assets/{wardley-WFR3VGLG-BECdXETi.js → wardley-WFR3VGLG-DT0y0xJ4.js} +1 -1
- package/out/web/assets/{wardleyDiagram-VM6X3IG4-B5BycpQ4.js → wardleyDiagram-VM6X3IG4-DAdXELbQ.js} +1 -1
- package/out/web/assets/window-BJCVtyET.js +1 -0
- package/out/web/assets/{xychartDiagram-S5SC5T6Z-CtJS3b--.js → xychartDiagram-S5SC5T6Z-IZIXf3Vo.js} +1 -1
- package/out/web/index-web.html +3 -2
- package/out/web/index.html +3 -2
- package/package.json +71 -22
- package/shared-modules/.github/workflows/ci.yml +120 -0
- package/shared-modules/.github/workflows/update.yaml +28 -0
- package/slash-commands.json +7 -2
- package/src/bin/auto-build.js +66 -0
- package/src/bin/desktop.js +113 -0
- package/src/bin/desktop.test.js +113 -0
- package/src/bin/index.js +18 -25
- package/src/bin/index.test.js +89 -0
- package/src/bin/measure-effects.mjs +53 -0
- package/src/bin/package.test.js +28 -0
- package/src/bin/release-notes.test.js +84 -0
- package/src/bin/styles.test.js +20 -0
- package/src/bin/web.js +5 -0
- package/src/bin/web.test.js +39 -0
- package/src/renderer/index.html +0 -2
- package/src/renderer/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -1
- package/src/renderer/shared/agentProgress.ts +33 -0
- package/src/renderer/shared/components/AgentActivityDrawer.tsx +3 -2
- package/src/renderer/shared/components/AgentActivityTable.tsx +1 -1
- package/src/renderer/shared/components/ApprovalCard.test.tsx +24 -0
- package/src/renderer/shared/components/ApprovalCard.tsx +10 -3
- package/src/renderer/shared/components/ArtifactPreviewPanel.tsx +88 -37
- package/src/renderer/shared/components/AuthGate.tsx +75 -39
- package/src/renderer/shared/components/BackgroundTerminals.tsx +181 -0
- package/src/renderer/shared/components/ChatCodeBlock.tsx +8 -4
- package/src/renderer/shared/components/ChatMessageItem.test.tsx +68 -0
- package/src/renderer/shared/components/ChatMessageItem.tsx +36 -16
- package/src/renderer/shared/components/ChatPanel.test.tsx +21 -0
- package/src/renderer/shared/components/ChatPanel.tsx +294 -272
- package/src/renderer/shared/components/ChunkErrorBoundary.tsx +4 -102
- package/src/renderer/shared/components/CliSessionsView.test.tsx +125 -0
- package/src/renderer/shared/components/CliSessionsView.tsx +61 -13
- package/src/renderer/shared/components/CodeReviewPage.tsx +111 -8
- package/src/renderer/shared/components/CollapsiblePasteInput.tsx +90 -0
- package/src/renderer/shared/components/ContextCompactionStatus.tsx +17 -0
- package/src/renderer/shared/components/DashboardSidebar.tsx +15 -128
- package/src/renderer/shared/components/DesktopTitlebar.tsx +45 -19
- package/src/renderer/shared/components/ErrorNotice.tsx +29 -0
- package/src/renderer/shared/components/FormattedMessage.tsx +11 -0
- package/src/renderer/shared/components/GeminiLiveOverlay.css +86 -0
- package/src/renderer/shared/components/GeminiLiveOverlay.test.tsx +24 -0
- package/src/renderer/shared/components/GeminiLiveOverlay.tsx +85 -101
- package/src/renderer/shared/components/GlideSelect.css +138 -0
- package/src/renderer/shared/components/GlideSelect.d.ts +31 -0
- package/src/renderer/shared/components/GlideSelect.jsx +266 -0
- package/src/renderer/shared/components/ImageSearchCard.tsx +46 -56
- package/src/renderer/shared/components/ImageStudioPanel.tsx +9 -8
- package/src/renderer/shared/components/LibraryItemCard.tsx +72 -0
- package/src/renderer/shared/components/LibraryPage.tsx +165 -0
- package/src/renderer/shared/components/LibraryPreview.tsx +59 -0
- package/src/renderer/shared/components/McpServersView.tsx +27 -8
- package/src/renderer/shared/components/McpToolAllowlist.tsx +2 -4
- package/src/renderer/shared/components/McpToolResults.tsx +99 -0
- package/src/renderer/shared/components/MintDashboard.tsx +308 -770
- package/src/renderer/shared/components/ModSessionControls.tsx +8 -0
- package/src/renderer/shared/components/ModUi.test.tsx +65 -0
- package/src/renderer/shared/components/ModUi.tsx +26 -0
- package/src/renderer/shared/components/ModelSelectorPopover.tsx +14 -7
- package/src/renderer/shared/components/ModsPanel.tsx +156 -0
- package/src/renderer/shared/components/ProgressActivity.tsx +17 -0
- package/src/renderer/shared/components/ReviewHistory.tsx +42 -0
- package/src/renderer/shared/components/RewindModal.tsx +5 -12
- package/src/renderer/shared/components/RunSummaryDashboard.tsx +6 -12
- package/src/renderer/shared/components/ScheduledTasksView.tsx +7 -6
- package/src/renderer/shared/components/SelectField.test.tsx +27 -0
- package/src/renderer/shared/components/SelectField.tsx +38 -0
- package/src/renderer/shared/components/SessionSources.tsx +48 -0
- package/src/renderer/shared/components/SessionSourcesPopover.tsx +61 -0
- package/src/renderer/shared/components/Settings/AgentsTab.tsx +7 -6
- package/src/renderer/shared/components/Settings/AudioTab.tsx +8 -7
- package/src/renderer/shared/components/Settings/AutomationTab.tsx +2 -2
- package/src/renderer/shared/components/Settings/GeneralTab.tsx +33 -32
- package/src/renderer/shared/components/Settings/MemoryTab.test.tsx +37 -0
- package/src/renderer/shared/components/Settings/MemoryTab.tsx +71 -31
- package/src/renderer/shared/components/Settings/NotificationsTab.test.tsx +15 -0
- package/src/renderer/shared/components/Settings/NotificationsTab.tsx +84 -0
- package/src/renderer/shared/components/Settings/ThemeTab.tsx +19 -11
- package/src/renderer/shared/components/SlashChoicePanel.tsx +88 -0
- package/src/renderer/shared/components/SlashSuggestions.test.tsx +33 -0
- package/src/renderer/shared/components/SlashSuggestions.tsx +38 -10
- package/src/renderer/shared/components/SourcesBlock.tsx +12 -20
- package/src/renderer/shared/components/ToolSurfacePage.test.tsx +32 -0
- package/src/renderer/shared/components/ToolSurfacePage.tsx +59 -11
- package/src/renderer/shared/components/ToolsPanelToggle.tsx +13 -0
- package/src/renderer/shared/components/VeoStudioPanel.tsx +9 -8
- package/src/renderer/shared/components/ViewedImages.tsx +36 -0
- package/src/renderer/shared/components/VirtualChatHistory.tsx +82 -0
- package/src/renderer/shared/components/VoicePill.css +85 -0
- package/src/renderer/shared/components/VoicePill.d.ts +12 -0
- package/src/renderer/shared/components/VoicePill.jsx +190 -0
- package/src/renderer/shared/components/VoicePill.test.tsx +22 -0
- package/src/renderer/shared/components/WorkspaceContextPopover.tsx +20 -15
- package/src/renderer/shared/components/WorkspacePaneResizer.tsx +92 -0
- package/src/renderer/shared/components/WorkspacePreviewActions.test.tsx +44 -0
- package/src/renderer/shared/components/WorkspacePreviewActions.tsx +19 -0
- package/src/renderer/shared/components/WorkspaceSelector.tsx +13 -8
- package/src/renderer/shared/components/background-terminals.css +292 -0
- package/src/renderer/shared/components/ui/README.md +52 -0
- package/src/renderer/shared/components/ui/button.tsx +37 -0
- package/src/renderer/shared/components/ui/demo.tsx +26 -0
- package/src/renderer/shared/components/ui/error-recovery.css +35 -0
- package/src/renderer/shared/components/ui/error-recovery.tsx +35 -0
- package/src/renderer/shared/components/ui/voice-powered-orb.css +6 -0
- package/src/renderer/shared/components/ui/voice-powered-orb.tsx +374 -0
- package/src/renderer/shared/components/workspace-selector.css +248 -0
- package/src/renderer/shared/constants/config.ts +30 -1
- package/src/renderer/shared/constants/slashCommands.ts +1 -1
- package/src/renderer/shared/conversation/lifecycle.test.ts +362 -0
- package/src/renderer/shared/conversation/lifecycle.ts +418 -0
- package/src/renderer/shared/conversation/projectNavigation.test.ts +105 -0
- package/src/renderer/shared/conversation/projectNavigation.ts +39 -0
- package/src/renderer/shared/conversation/sourcesTransport.ts +27 -0
- package/src/renderer/shared/conversation/syncView.test.ts +1 -34
- package/src/renderer/shared/conversation/syncView.ts +0 -37
- package/src/renderer/shared/conversation/transport.test.ts +163 -0
- package/src/renderer/shared/conversation/transport.ts +159 -0
- package/src/renderer/shared/conversation/useConversationCoordinator.ts +30 -72
- package/src/renderer/shared/css/agent-observability.css +20 -21
- package/src/renderer/shared/css/auth-gate.css +112 -13
- package/src/renderer/shared/css/code-review.css +33 -0
- package/src/renderer/shared/css/code-sessions.css +27 -0
- package/src/renderer/shared/css/collapsed-paste.css +35 -0
- package/src/renderer/shared/css/effects.css +15 -0
- package/src/renderer/shared/css/error-notice.css +60 -0
- package/src/renderer/shared/css/library.css +476 -0
- package/src/renderer/shared/css/management-views.css +138 -0
- package/src/renderer/shared/css/mcp-results.css +11 -0
- package/src/renderer/shared/css/model-selector.css +163 -105
- package/src/renderer/shared/css/mods.css +77 -0
- package/src/renderer/shared/css/notification-notice.css +28 -0
- package/src/renderer/shared/css/session-sources-popover.css +9 -0
- package/src/renderer/shared/css/session-sources.css +23 -0
- package/src/renderer/shared/css/settings/memory.css +154 -0
- package/src/renderer/shared/css/settings/notifications.css +11 -0
- package/src/renderer/shared/css/settings/theme.css +5 -0
- package/src/renderer/shared/css/slash-choice.css +95 -0
- package/src/renderer/shared/css/slash-suggestions.css +68 -0
- package/src/renderer/shared/css/sources-block.css +91 -0
- package/src/renderer/shared/css/thinking-status.css +46 -0
- package/src/renderer/shared/css/tools-panel.css +7 -0
- package/src/renderer/shared/css/ui-tailwind.css +19 -0
- package/src/renderer/shared/css/viewed-images.css +15 -0
- package/src/renderer/shared/fonts.css +46 -0
- package/src/renderer/shared/fonts.ts +3 -12
- package/src/renderer/shared/lib/utils.ts +6 -0
- package/src/renderer/shared/library/controller.test.ts +61 -0
- package/src/renderer/shared/library/controller.ts +57 -0
- package/src/renderer/shared/library/transport.test.ts +26 -0
- package/src/renderer/shared/library/transport.ts +60 -0
- package/src/renderer/shared/library/useLibraryFile.ts +38 -0
- package/src/renderer/shared/mods.ts +58 -0
- package/src/renderer/shared/platform.test.ts +57 -1
- package/src/renderer/shared/platform.ts +46 -1
- package/src/renderer/shared/theme/themeManager.test.ts +43 -0
- package/src/renderer/shared/theme/themeManager.ts +17 -4
- package/src/renderer/shared/types.ts +56 -2
- package/src/renderer/shared/utils/agentActivity.test.ts +75 -0
- package/src/renderer/shared/utils/agentActivity.ts +42 -3
- package/src/renderer/shared/utils/approval.tsx +7 -0
- package/src/renderer/shared/utils/artifactBrowser.test.ts +80 -0
- package/src/renderer/shared/utils/artifactBrowser.ts +41 -0
- package/src/renderer/shared/utils/contextCompaction.test.tsx +48 -0
- package/src/renderer/shared/utils/contextCompaction.ts +21 -0
- package/src/renderer/shared/utils/effectVisibility.ts +9 -0
- package/src/renderer/shared/utils/markdown.tsx +3 -3
- package/src/renderer/shared/utils/mcpResults.test.tsx +91 -0
- package/src/renderer/shared/utils/modViewport.ts +7 -0
- package/src/renderer/shared/utils/nativeRecordingSession.test.ts +61 -0
- package/src/renderer/shared/utils/nativeRecordingSession.ts +46 -0
- package/src/renderer/shared/utils/notificationSettings.test.ts +14 -0
- package/src/renderer/shared/utils/notificationSettings.ts +23 -0
- package/src/renderer/shared/utils/notifications.test.ts +51 -0
- package/src/renderer/shared/utils/notifications.ts +54 -0
- package/src/renderer/shared/utils/pastedText.test.ts +20 -0
- package/src/renderer/shared/utils/pastedText.ts +13 -0
- package/src/renderer/shared/utils/progressCache.test.ts +32 -0
- package/src/renderer/shared/utils/sessionSources.test.ts +31 -0
- package/src/renderer/shared/utils/sessionSources.ts +34 -0
- package/src/renderer/shared/utils/slashCommandProcessor.ts +1 -1
- package/src/renderer/shared/utils/sourceAttachments.ts +28 -0
- package/src/renderer/shared/utils/speech.ts +51 -9
- package/src/renderer/shared/utils/syntaxHighlight.test.tsx +22 -0
- package/src/renderer/shared/utils/syntaxHighlight.tsx +26 -0
- package/src/renderer/shared/utils/useGeminiLiveVoice.ts +49 -5
- package/src/renderer/shared/utils/useLatestCallback.ts +9 -0
- package/src/renderer/shared/utils/useNativeVoiceInput.ts +80 -72
- package/src/renderer/shared/utils/useSessionSources.ts +33 -0
- package/src/renderer/shared/utils/viewedImages.ts +26 -0
- package/src/renderer/shared/utils/workspacePane.test.ts +33 -0
- package/src/renderer/shared/utils/workspacePane.ts +20 -0
- package/src/renderer/shared/utils/workspacePreview.test.ts +24 -0
- package/src/renderer/shared/utils/workspacePreview.ts +16 -0
- package/src/renderer/shared/utils/workspaceSnapshot.test.ts +49 -0
- package/src/renderer/shared/utils/workspaceSnapshot.ts +26 -0
- package/src/renderer/shared/utils/workspaces.ts +10 -0
- package/src/renderer/shared/workspaceUndo.ts +88 -0
- package/src/renderer/src/App.tsx +9 -1
- package/src/renderer/src/components/LiveTranslateControls.tsx +65 -0
- package/src/renderer/src/components/PicturesLibrary.tsx +2 -288
- package/src/renderer/src/components/ScreenPicker.css +67 -30
- package/src/renderer/src/components/ScreenPicker.tsx +201 -60
- package/src/renderer/src/components/SettingsWindow.tsx +10 -5
- package/src/renderer/src/components/WorkspacePanel.tsx +222 -32
- package/src/renderer/src/components/browser-shell.css +1 -1
- package/src/renderer/src/components/browser-suggestions-popup.css +1 -1
- package/src/renderer/src/components/liveTranslateFrames.test.ts +26 -5
- package/src/renderer/src/components/liveTranslateFrames.ts +18 -7
- package/src/renderer/src/components/liveTranslateLanguage.ts +6 -0
- package/src/renderer/src/css/app-shell.css +52 -137
- package/src/renderer/src/css/chat.css +21 -495
- package/src/renderer/src/css/desktop-tools.css +199 -1
- package/src/renderer/src/css/misc.css +0 -52
- package/src/renderer/src/css/pictures.css +2 -415
- package/src/renderer/src/css/settings/base.css +50 -47
- package/src/renderer/src/css/sidebar-workspace.css +151 -94
- package/src/renderer/src/css/tool-surfaces.css +65 -9
- package/src/renderer/src/css/widget.css +1 -1
- package/src/renderer/src/env.d.ts +1 -9
- package/src/renderer/src/index.css +1 -1
- package/src/renderer/src/main.tsx +2 -1
- package/src/renderer/src/proactiveSuggestions.ts +29 -0
- package/src/renderer/src/tauri.ts +122 -330
- package/src/renderer/src/voiceInput.ts +2 -1
- package/src/renderer/src-web/components/PicturesLibrary.tsx +2 -285
- package/src/renderer/src-web/components/PullToRefresh.tsx +1 -1
- package/src/renderer/src-web/components/SettingsWindow.tsx +10 -5
- package/src/renderer/src-web/css/app-shell.css +24 -121
- package/src/renderer/src-web/css/chat.css +21 -495
- package/src/renderer/src-web/css/misc.css +0 -52
- package/src/renderer/src-web/css/mobile.css +15 -14
- package/src/renderer/src-web/css/pictures.css +2 -462
- package/src/renderer/src-web/css/settings/base.css +50 -47
- package/src/renderer/src-web/css/sidebar-workspace.css +9 -95
- package/src/renderer/src-web/css/widget.css +1 -1
- package/src/renderer/src-web/env.d.ts +1 -12
- package/src/renderer/src-web/index.css +1 -1
- package/src/renderer/src-web/main.tsx +2 -1
- package/src/renderer/src-web/proactiveSuggestions.ts +3 -0
- package/src/renderer/src-web/tauri.ts +129 -354
- package/src/renderer/tests/backgroundTerminals.browser.html +81 -0
- package/src/renderer/tests/chatPanelFixture.ts +23 -0
- package/src/renderer/tests/chatPerformance.browser.html +71 -0
- package/src/renderer/tests/cliSessions.browser.html +82 -0
- package/src/renderer/tests/collapsedPaste.browser.html +70 -0
- package/src/renderer/tests/composerMenus.browser.html +116 -0
- package/src/renderer/tests/contextCompaction.browser.html +17 -0
- package/src/renderer/tests/conversationLifecycle.browser.html +70 -0
- package/src/renderer/tests/effectsPerformance.browser.html +13 -0
- package/src/renderer/tests/errorRecovery.browser.html +21 -0
- package/src/renderer/tests/glideSelect.browser.html +71 -0
- package/src/renderer/tests/glideSelect.preview.html +27 -0
- package/src/renderer/tests/library.browser.html +1 -0
- package/src/renderer/tests/library.browser.tsx +78 -0
- package/src/renderer/tests/liveOrb.browser.html +49 -0
- package/src/renderer/tests/liveVoice.browser.html +29 -0
- package/src/renderer/tests/modInput.browser.html +22 -0
- package/src/renderer/tests/sessionSources.browser.html +1 -0
- package/src/renderer/tests/sessionSources.browser.tsx +107 -0
- package/src/renderer/tests/skills.browser.html +24 -0
- package/src/renderer/tests/toolsPanel.browser.html +1 -0
- package/src/renderer/tests/toolsPanel.browser.tsx +113 -0
- package/src/renderer/tests/viewedImages.browser.html +1 -0
- package/src/renderer/tests/viewedImages.browser.tsx +93 -0
- package/src/renderer/tests/voicePill.browser.html +80 -0
- package/src/renderer/tests/voicePill.preview.html +34 -0
- package/src/renderer/tests/webSources.browser.html +1 -0
- package/src/renderer/tests/webSources.browser.tsx +98 -0
- package/src/renderer/tests/workspaceUndo.browser.html +92 -0
- package/src-tauri/Cargo.toml +40 -0
- package/src-tauri/build.rs +3 -0
- package/src-tauri/src/app/lifecycle.rs +277 -0
- package/src-tauri/src/app/mod.rs +4 -0
- package/src-tauri/src/app/shortcuts.rs +40 -0
- package/src-tauri/src/app/tray.rs +52 -0
- package/src-tauri/src/background/events.rs +70 -0
- package/src-tauri/src/background/headless.rs +230 -0
- package/src-tauri/src/background/mod.rs +4 -0
- package/src-tauri/src/background/proactive.rs +262 -0
- package/src-tauri/src/commands/approvals.rs +20 -0
- package/src-tauri/src/commands/auth.rs +127 -0
- package/src-tauri/src/commands/conversation.rs +642 -0
- package/src-tauri/src/commands/integrations.rs +157 -0
- package/src-tauri/src/commands/media.rs +179 -0
- package/src-tauri/src/commands/mod.rs +11 -0
- package/src-tauri/src/commands/mods.rs +6 -0
- package/src-tauri/src/commands/settings.rs +141 -0
- package/src-tauri/src/commands/voice.rs +153 -0
- package/src-tauri/src/commands/workspace.rs +501 -0
- package/src-tauri/src/lib.rs +10 -0
- package/src-tauri/src/main.rs +3 -0
- package/src-tauri/src/native/actions.rs +206 -0
- package/src-tauri/src/native/browser.rs +252 -0
- package/src-tauri/src/native/capture.rs +695 -0
- package/src-tauri/src/native/discord_rpc.rs +99 -0
- package/src-tauri/src/native/integrations.rs +126 -0
- package/src-tauri/src/native/mod.rs +12 -0
- package/src-tauri/src/native/notifications.rs +51 -0
- package/src-tauri/src/native/plugins.rs +14 -0
- package/src-tauri/src/native/system.rs +250 -0
- package/src-tauri/src/native/terminal.rs +201 -0
- package/src-tauri/src/native/updater.rs +148 -0
- package/src-tauri/src/native/windows.rs +143 -0
- package/tsconfig.json +2 -0
- package/vite.config.ts +4 -1
- package/vite.config.web.ts +4 -0
- package/.cargo/config.toml +0 -13
- package/.claude/settings.local.json +0 -182
- package/.codex +0 -0
- package/CLAUDE.md +0 -102
- package/ROADMAP.md +0 -30
- package/mint-presentation-demo.mp4 +0 -0
- package/out/web/Live2DCubismCore.js +0 -9
- package/out/web/assets/CliSessionsView-BxUVWEEL.js +0 -1
- package/out/web/assets/CliSessionsView-CBDTXuQv.css +0 -1
- package/out/web/assets/CodeReviewPage-DkMgfcos.css +0 -1
- package/out/web/assets/CodeReviewPage-jKlmLJwT.js +0 -3
- package/out/web/assets/CommandPalette-DnwPA5hy.js +0 -1
- package/out/web/assets/ImageStudioPanel-BR1XFwhR.js +0 -1
- package/out/web/assets/LinkedFoldersView-bi-CWQ-I.js +0 -1
- package/out/web/assets/McpRegistryPicker-D5tEFnyq.js +0 -1
- package/out/web/assets/McpServersView-BGG1dhFM.js +0 -1
- package/out/web/assets/MintDashboard-BIglDEWX.js +0 -20
- package/out/web/assets/MintDashboard-DSMywSgs.css +0 -1
- package/out/web/assets/ModelPanel-CbJ1PFoZ.js +0 -1
- package/out/web/assets/PicturesLibrary-CQP0fLP1.css +0 -1
- package/out/web/assets/PicturesLibrary-DoYN7T1p.js +0 -1
- package/out/web/assets/PluginsView-CU1HWXGk.js +0 -1
- package/out/web/assets/ScheduledTasksView-Bnl36y2N.js +0 -1
- package/out/web/assets/SettingsWindow-DhWLAn9T.css +0 -1
- package/out/web/assets/SettingsWindow-Dw8L01pw.js +0 -2
- package/out/web/assets/SkillsView-cnl8aY5p.js +0 -2
- package/out/web/assets/ToolSurfacePage-CgsQw6l5.css +0 -1
- package/out/web/assets/ToolSurfacePage-Cz2VJAPZ.js +0 -37
- package/out/web/assets/VeoStudioPanel-D4JnERWR.js +0 -4
- package/out/web/assets/chunk-CKBBP62Z-cIrXq6jN.js +0 -2
- package/out/web/assets/classDiagram-DTDB5LWJ-Dq0smRWk.js +0 -1
- package/out/web/assets/classDiagram-v2-JRS7N3AN-Dq0smRWk.js +0 -1
- package/out/web/assets/config-C-ZFtipU.css +0 -1
- package/out/web/assets/config-eEDngJXO.js +0 -1
- package/out/web/assets/core-hQ2VA9Ti.js +0 -1
- package/out/web/assets/dist-js-Bf2bhoku.js +0 -1
- package/out/web/assets/flowDiagram-A5DVABFB-BLg7nEcd.js +0 -1
- package/out/web/assets/index-Btsf4L8M.css +0 -1
- package/out/web/assets/index-D8D9MeRA.js +0 -11
- package/out/web/assets/lucide-react-Ip3L6Jtn.js +0 -1
- package/out/web/assets/markdown-BSeeUbJH.js +0 -38
- package/out/web/assets/modelManager-tMVmJVAW.js +0 -2
- package/out/web/assets/prompt-latin-400-normal-BQ9zjSN8.woff2 +0 -0
- package/out/web/assets/prompt-latin-400-normal-CxU4ec_r.woff +0 -0
- package/out/web/assets/prompt-latin-500-normal-B1edBDQ9.woff +0 -0
- package/out/web/assets/prompt-latin-500-normal-CxzxEHZc.woff2 +0 -0
- package/out/web/assets/prompt-latin-600-normal-CSDDLorv.woff +0 -0
- package/out/web/assets/prompt-latin-600-normal-hKZWXsc1.woff2 +0 -0
- package/out/web/assets/prompt-latin-700-normal-BfbftDSq.woff +0 -0
- package/out/web/assets/prompt-latin-700-normal-I2gc831J.woff2 +0 -0
- package/out/web/assets/prompt-thai-400-normal-BrkKv8cO.woff2 +0 -0
- package/out/web/assets/prompt-thai-400-normal-DJypnfr3.woff +0 -0
- package/out/web/assets/prompt-thai-500-normal-C18pDUoL.woff2 +0 -0
- package/out/web/assets/prompt-thai-500-normal-D7YNqUJD.woff +0 -0
- package/out/web/assets/prompt-thai-600-normal-CYPViXds.woff +0 -0
- package/out/web/assets/prompt-thai-600-normal-MrdfU7zR.woff2 +0 -0
- package/out/web/assets/prompt-thai-700-normal-Cb5ilR-c.woff +0 -0
- package/out/web/assets/prompt-thai-700-normal-Cg4aQ0Nn.woff2 +0 -0
- package/out/web/assets/stateDiagram-v2-4QOOHH4V-DeEc0lGZ.js +0 -1
- package/out/web/assets/swimlanesDiagram-VK2B7HYN-DpVik9v7.js +0 -8
- package/out/web/assets/window-5qYXKoW7.js +0 -1
- package/skills-lock.json +0 -77
- package/src/renderer/public/Live2DCubismCore.js +0 -9
- package/src/renderer/src/companionWidget.ts +0 -95
- package/src/renderer/src/components/Live2DStage.tsx +0 -412
- package/src/renderer/src/components/ModelPanel.tsx +0 -155
- package/src/renderer/src/css/model.css +0 -628
- package/src/renderer/src-web/companionWidget.ts +0 -37
- package/src/renderer/src-web/components/ModelPanel.tsx +0 -12
- package/src/renderer/src-web/css/model.css +0 -628
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* Mods lives in Tools; above-composer bands keep their chat placement. */
|
|
2
|
+
.mint-mods { position: relative; min-height: 1px; color: var(--text-main); }
|
|
3
|
+
.mods-panel button, .mod-band button { font: inherit; cursor: pointer; }
|
|
4
|
+
.mods-panel { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; overflow: hidden; background: var(--panel-bg, #171719); font-size: 12px; }
|
|
5
|
+
.mods-panel-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px 13px; border-bottom: 1px solid var(--border); }
|
|
6
|
+
.mods-panel-icon { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border: 1px solid var(--accent-border, var(--border)); border-radius: 11px; background: var(--accent-subtle, var(--surface-strong)); color: var(--accent); }
|
|
7
|
+
.mods-panel-title { flex: 1; min-width: 0; }
|
|
8
|
+
.mods-panel-title strong { font-size: 14px; font-weight: 650; }
|
|
9
|
+
.mods-panel-title p { margin: 3px 0 0; color: var(--text-muted); font-size: 11px; }
|
|
10
|
+
.mods-panel nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--border); }
|
|
11
|
+
.mods-panel nav button { padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--text-muted); }
|
|
12
|
+
.mods-panel nav button[aria-pressed=true] { border-color: var(--accent-border, var(--accent)); background: var(--accent-subtle, var(--surface-strong)); color: var(--text-main); font-weight: 600; }
|
|
13
|
+
.mod-content { flex: 1; min-height: 0; overflow: auto; padding: 14px 16px 16px; }
|
|
14
|
+
.mods-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; }
|
|
15
|
+
.mods-toolbar label { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text-muted); white-space: nowrap; }
|
|
16
|
+
.mods-panel select, .mod-input input { min-height: 34px; max-width: 100%; padding: 5px 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-strong); color: var(--text-main); font: inherit; }
|
|
17
|
+
.mods-toolbar select { min-width: 126px; color: var(--text-main); }
|
|
18
|
+
.mods-panel button, .mod-band button { min-height: 32px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-bg); color: var(--text-main); }
|
|
19
|
+
.mods-panel button:hover:not(:disabled) { border-color: var(--border-strong, var(--accent)); background: var(--bg-surface-hover, var(--surface-strong)); }
|
|
20
|
+
.mods-panel .mods-import { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 6px 10px; white-space: nowrap; }
|
|
21
|
+
.mods-empty { display: grid; justify-items: center; gap: 7px; padding: 28px 18px; border: 1px dashed var(--border); border-radius: 11px; background: var(--bg-surface-soft, transparent); color: var(--text-muted); text-align: center; }
|
|
22
|
+
.mods-empty svg { color: var(--accent); }
|
|
23
|
+
.mods-empty strong { color: var(--text-main); font-size: 13px; }
|
|
24
|
+
.mods-empty p { max-width: 30ch; margin: 0; line-height: 1.5; }
|
|
25
|
+
.mod-entry { display: grid; gap: 9px; min-width: 0; margin-bottom: 10px; padding: 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--bg-surface-soft, var(--surface-bg)); }
|
|
26
|
+
.mod-entry-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
|
|
27
|
+
.mod-entry-heading > div { display: grid; gap: 3px; min-width: 0; }
|
|
28
|
+
.mod-entry-heading strong { overflow-wrap: anywhere; font-size: 13px; font-weight: 650; }
|
|
29
|
+
.mod-entry-heading small, .mod-hint { color: var(--text-muted); font-size: 11px; line-height: 1.45; }
|
|
30
|
+
.mod-entry .mod-hint { margin: 0; overflow-wrap: anywhere; }
|
|
31
|
+
.mod-status { flex: 0 0 auto; padding: 3px 7px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-size: 10px; font-weight: 600; line-height: 1.2; }
|
|
32
|
+
.mod-status.is-active { border-color: var(--accent-border, var(--accent)); background: var(--accent-subtle, transparent); color: var(--accent); }
|
|
33
|
+
.mod-status.is-error { border-color: var(--status-error, var(--danger)); color: var(--status-error, var(--danger)); }
|
|
34
|
+
.mod-entry-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 3px; }
|
|
35
|
+
.mods-panel .mod-primary-action { min-height: 34px; padding: 6px 13px; border-color: var(--accent); background: var(--accent); color: var(--accent-contrast, #fff); font-weight: 650; }
|
|
36
|
+
.mods-panel .mod-primary-action:hover:not(:disabled) { border-color: var(--accent-hover, var(--accent)); background: var(--accent-hover, var(--accent)); }
|
|
37
|
+
.mods-panel .mod-primary-action.is-disable { border-color: var(--border); background: var(--surface-bg); color: var(--text-main); }
|
|
38
|
+
.mods-panel .mod-primary-action.is-disable:hover:not(:disabled) { border-color: var(--border-strong, var(--accent)); background: var(--bg-surface-hover, var(--surface-strong)); }
|
|
39
|
+
.mod-entry-more { margin-left: auto; }
|
|
40
|
+
.mod-entry-more[open] { flex-basis: 100%; }
|
|
41
|
+
.mod-entry-more > summary, .mod-session-settings > summary { display: flex; align-items: center; justify-content: flex-end; gap: 5px; width: fit-content; min-height: 32px; margin-left: auto; padding: 5px 0; color: var(--text-muted); cursor: pointer; list-style: none; }
|
|
42
|
+
.mod-entry-more > summary::-webkit-details-marker, .mod-session-settings > summary::-webkit-details-marker { display: none; }
|
|
43
|
+
.mod-entry-more[open] > summary svg, .mod-session-settings[open] > summary svg { transform: rotate(180deg); }
|
|
44
|
+
.mod-entry-more .mod-actions { justify-content: flex-end; margin: 7px 0; }
|
|
45
|
+
.mod-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
46
|
+
.mod-actions button, .mod-session-controls button { min-height: 32px; padding: 6px 10px; }
|
|
47
|
+
.mod-session-settings { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--border); }
|
|
48
|
+
.mod-session-settings > summary { justify-content: flex-start; width: 100%; margin: 0; }
|
|
49
|
+
.mod-session-settings[open] .mod-session-controls { margin: 8px 0 0; }
|
|
50
|
+
.mod-session-controls { margin: 0; }
|
|
51
|
+
.mod-session-controls .mod-hint { margin: 7px 0 0; }
|
|
52
|
+
.mod-session-controls button[aria-pressed=true] { border-color: var(--accent-border, var(--accent)); background: var(--accent-subtle, var(--surface-strong)); }
|
|
53
|
+
.mods-panel details details { margin-top: 9px; }
|
|
54
|
+
.mods-panel pre { max-height: 240px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; line-height: 1.5; }
|
|
55
|
+
.mod-error { margin: 0; padding: 8px 10px; border: 1px solid var(--status-error, var(--danger)); border-radius: 8px; color: var(--status-error, var(--danger)); font-size: 11px; overflow-wrap: anywhere; }
|
|
56
|
+
.mods-panel button:disabled { opacity: .5; cursor: not-allowed; }
|
|
57
|
+
.mods-panel button:focus-visible, .mods-panel summary:focus-visible, .mods-panel select:focus-visible { outline: 2px solid var(--border-focus, var(--accent)); outline-offset: 2px; }
|
|
58
|
+
@media (max-width: 360px) { .mods-toolbar { align-items: stretch; flex-direction: column; } .mods-toolbar label { justify-content: space-between; } }
|
|
59
|
+
@media (forced-colors: active) { .mod-status, .mod-entry, .mods-empty { border-color: CanvasText; } .mods-panel .mod-primary-action { color: ButtonText; } }
|
|
60
|
+
|
|
61
|
+
.mod-stack { display: flex; flex-direction: column; gap: 8px; }
|
|
62
|
+
.mod-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
|
|
63
|
+
.mod-band { padding: 8px 12px; margin-bottom: 6px; border-left: 2px solid var(--accent, #7edbb5); background: var(--surface-strong); font-size: 13px; }
|
|
64
|
+
.mod-badge { font-size: 12px; color: var(--text-muted); }
|
|
65
|
+
.mod-input, .mod-progress, .mod-revisions { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
|
|
66
|
+
.mod-progress progress { width: 100%; }
|
|
67
|
+
.mod-table-scroll { overflow-x: auto; }
|
|
68
|
+
.mod-table-scroll table { width: 100%; border-collapse: collapse; font-size: 12px; }
|
|
69
|
+
.mod-table-scroll th, .mod-table-scroll td { text-align: left; padding: 7px; border-bottom: 1px solid var(--border); }
|
|
70
|
+
.mod-stack-row { flex-direction: row; flex-wrap: nowrap; align-items: center; overflow-x: auto; }
|
|
71
|
+
.mod-stack-row > * { flex-shrink: 0; white-space: pre; }
|
|
72
|
+
.mint-mods .mod-color-default { color: var(--text-main); }
|
|
73
|
+
.mint-mods .mod-color-yellow { color: #e5b94e; }
|
|
74
|
+
.mint-mods .mod-color-cyan { color: #48c9d4; }
|
|
75
|
+
.mint-mods .mod-color-blue { color: #7baaff; }
|
|
76
|
+
.mint-mods .mod-color-magenta { color: #d994ed; }
|
|
77
|
+
.mint-mods .mod-color-red { color: #ff9595; }
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.mint-notification-notice {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: 12px;
|
|
5
|
+
flex: 0 0 auto;
|
|
6
|
+
margin: 8px 12px;
|
|
7
|
+
padding: 12px 14px;
|
|
8
|
+
border: 1px solid var(--border, #303036);
|
|
9
|
+
border-radius: 12px;
|
|
10
|
+
background: var(--bg-overlay, #18181b);
|
|
11
|
+
color: var(--text-main, #f4f4f5);
|
|
12
|
+
overflow-wrap: anywhere;
|
|
13
|
+
-webkit-app-region: no-drag;
|
|
14
|
+
}
|
|
15
|
+
.mint-notification-notice > span { flex: 1; min-width: 0; }
|
|
16
|
+
.mint-notification-notice[data-kind="warning"] { border-color: #b88737; }
|
|
17
|
+
.mint-notification-notice button {
|
|
18
|
+
flex: 0 0 auto;
|
|
19
|
+
min-height: 32px;
|
|
20
|
+
padding: 4px 10px;
|
|
21
|
+
border: 1px solid var(--border, #303036);
|
|
22
|
+
border-radius: 8px;
|
|
23
|
+
background: transparent;
|
|
24
|
+
color: inherit;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
.mint-notification-notice button:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
|
|
28
|
+
.mint-notification-notice button:focus-visible { outline: 2px solid var(--accent, #10b981); outline-offset: 2px; }
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
.session-sources-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; min-height: 32px; padding: 5px 9px; border: 1px solid var(--border); border-radius: var(--radius-xs, 6px); background: var(--surface-bg); color: var(--text-main); font: inherit; font-size: 12px; cursor: pointer; }
|
|
2
|
+
.session-sources-toggle:hover, .session-sources-toggle.is-open { background: var(--surface-strong); color: var(--accent); }
|
|
3
|
+
.session-sources-popover { position: fixed; z-index: 600; width: min(360px, calc(100vw - 24px)); overflow: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-overlay, #111113); color: var(--text-main); box-shadow: var(--shadow-lg, 0 20px 60px #0007); }
|
|
4
|
+
.session-sources-popover .session-sources { margin-top: 0; padding: 12px; border-top: 0; }
|
|
5
|
+
.session-sources-popover .session-sources-heading { padding-right: 32px; }
|
|
6
|
+
.session-sources-close { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--text-muted); cursor: pointer; }
|
|
7
|
+
.session-sources-close:hover { background: var(--bg-surface-hover); color: var(--text-main); }
|
|
8
|
+
.session-sources-toggle:focus-visible, .session-sources-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
9
|
+
@media (max-width: 760px) { .session-sources-toggle { min-height: 36px; } }
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.session-sources { margin-top: 8px; padding: 10px; border-top: 1px solid var(--border-subtle, var(--border)); }
|
|
2
|
+
.session-sources-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--text-secondary, var(--text-main)); font-size: 12px; font-weight: 600; }
|
|
3
|
+
.session-sources-heading > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
|
|
4
|
+
.session-sources-heading small { color: var(--text-muted); font-size: 10px; font-weight: 400; }
|
|
5
|
+
.session-sources-heading > span:last-child { color: var(--text-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
|
|
6
|
+
.session-sources-group h3 { margin: 14px 0 5px; color: var(--text-muted); font-size: 10px; font-weight: 500; }
|
|
7
|
+
.session-sources-group ul { margin: 0; padding: 0; list-style: none; }
|
|
8
|
+
.session-source-row { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px; border-radius: var(--radius-xs, 6px); color: var(--text-main); text-decoration: none; }
|
|
9
|
+
a.session-source-row:hover { background: var(--bg-surface-hover, var(--surface-strong)); }
|
|
10
|
+
.session-source-icon { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; overflow: hidden; color: var(--text-muted); border-radius: 5px; background: var(--bg-surface-soft, var(--surface-strong)); }
|
|
11
|
+
.session-source-icon.is-file { color: var(--accent); }
|
|
12
|
+
.session-source-icon img { width: 100%; height: 100%; object-fit: cover; }
|
|
13
|
+
.session-source-icon.is-web img { width: 20px; height: 20px; object-fit: contain; }
|
|
14
|
+
.session-source-copy { flex: 1; min-width: 0; }
|
|
15
|
+
.session-source-copy strong, .session-source-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
16
|
+
.session-source-copy strong { font-size: 12px; font-weight: 400; line-height: 1.5; }
|
|
17
|
+
.session-source-copy small { color: var(--text-muted); font-size: 10px; line-height: 1.4; }
|
|
18
|
+
.session-sources-empty, .session-sources-error { margin: 10px 0 0; color: var(--text-muted); font-size: 11px; line-height: 1.5; }
|
|
19
|
+
.session-sources-error { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
|
|
20
|
+
.session-sources-more, .session-sources-error button { min-height: 30px; padding: 5px 6px; border: 0; border-radius: var(--radius-xs, 6px); background: transparent; color: var(--text-muted); font: inherit; font-size: 11px; cursor: pointer; }
|
|
21
|
+
.session-sources-more { margin-top: 6px; }
|
|
22
|
+
.session-sources-more:hover, .session-sources-error button:hover { color: var(--text-main); background: var(--bg-surface-hover, var(--surface-strong)); }
|
|
23
|
+
.session-sources a:focus-visible, .session-sources button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/* Reading-first profile memory; shared by native Desktop and Web Settings.
|
|
2
|
+
Keep Mint's semantic theme tokens, quiet section dividers, and native font. */
|
|
3
|
+
.settings-container .memory-tab {
|
|
4
|
+
max-width: 800px;
|
|
5
|
+
gap: 28px;
|
|
6
|
+
padding-top: 8px;
|
|
7
|
+
user-select: text;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.memory-intro h2 {
|
|
11
|
+
margin: 6px 0 10px;
|
|
12
|
+
color: var(--text-primary);
|
|
13
|
+
font-size: 1.5rem;
|
|
14
|
+
font-weight: 600;
|
|
15
|
+
line-height: 1.3;
|
|
16
|
+
letter-spacing: -0.025em;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.memory-intro > p:last-child,
|
|
20
|
+
.memory-helper,
|
|
21
|
+
.memory-scope-note p {
|
|
22
|
+
color: var(--text-muted);
|
|
23
|
+
font-size: 0.875rem;
|
|
24
|
+
line-height: 1.65;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.memory-name-section {
|
|
28
|
+
display: grid;
|
|
29
|
+
gap: 10px;
|
|
30
|
+
padding-bottom: 24px;
|
|
31
|
+
border-bottom: 1px solid var(--border);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.memory-name-section label,
|
|
35
|
+
.memory-section-heading h3 {
|
|
36
|
+
color: var(--text-primary);
|
|
37
|
+
font-size: 1rem;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
line-height: 1.5;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.memory-tab .memory-name-section input {
|
|
43
|
+
max-width: 400px;
|
|
44
|
+
min-height: 44px;
|
|
45
|
+
padding: 10px 14px;
|
|
46
|
+
font-size: 1rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.memory-section-heading {
|
|
50
|
+
display: flex;
|
|
51
|
+
justify-content: space-between;
|
|
52
|
+
align-items: flex-start;
|
|
53
|
+
gap: 16px;
|
|
54
|
+
margin-bottom: 20px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.memory-section-heading .memory-helper {
|
|
58
|
+
margin-top: 5px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.memory-tab .memory-mode-button {
|
|
62
|
+
flex-shrink: 0;
|
|
63
|
+
min-height: 44px;
|
|
64
|
+
padding: 10px 14px;
|
|
65
|
+
font-size: 0.85rem;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.memory-tab .memory-mode-button:focus-visible {
|
|
69
|
+
outline: 2px solid var(--accent);
|
|
70
|
+
outline-offset: 3px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.memory-instructions-content {
|
|
74
|
+
min-width: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.memory-reading-frame {
|
|
78
|
+
max-height: 360px;
|
|
79
|
+
overflow-y: auto;
|
|
80
|
+
padding: 16px 18px;
|
|
81
|
+
border: 1px solid var(--border);
|
|
82
|
+
border-radius: var(--radius-sm);
|
|
83
|
+
background: var(--input-bg);
|
|
84
|
+
color: var(--text-primary);
|
|
85
|
+
font-size: 1rem;
|
|
86
|
+
line-height: 1.8;
|
|
87
|
+
overflow-wrap: anywhere;
|
|
88
|
+
white-space: pre-wrap;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.memory-reading-frame:focus-visible {
|
|
92
|
+
outline: 2px solid var(--accent);
|
|
93
|
+
outline-offset: 3px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.memory-editor-label {
|
|
97
|
+
display: block;
|
|
98
|
+
margin-bottom: 10px;
|
|
99
|
+
color: var(--text-primary);
|
|
100
|
+
font-size: 0.875rem;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.memory-tab textarea.memory-editor {
|
|
104
|
+
min-height: 260px;
|
|
105
|
+
max-width: 100%;
|
|
106
|
+
padding: 14px 16px;
|
|
107
|
+
font-family: inherit;
|
|
108
|
+
font-size: 1rem;
|
|
109
|
+
line-height: 1.8;
|
|
110
|
+
resize: vertical;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.memory-instructions-content > .memory-helper {
|
|
114
|
+
margin-top: 10px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.memory-empty {
|
|
118
|
+
padding: 20px;
|
|
119
|
+
border: 1px dashed var(--border-strong);
|
|
120
|
+
border-radius: var(--radius-sm);
|
|
121
|
+
color: var(--text-primary);
|
|
122
|
+
font-size: 1rem;
|
|
123
|
+
line-height: 1.6;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.memory-empty .memory-helper {
|
|
127
|
+
margin-top: 6px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.memory-scope-note {
|
|
131
|
+
margin-top: 4px;
|
|
132
|
+
padding-top: 20px;
|
|
133
|
+
border-top: 1px solid var(--border);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.memory-scope-note strong {
|
|
137
|
+
display: block;
|
|
138
|
+
margin-bottom: 6px;
|
|
139
|
+
color: var(--text-soft);
|
|
140
|
+
font-size: 0.875rem;
|
|
141
|
+
font-weight: 600;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
@media (max-width: 760px) {
|
|
145
|
+
.settings-container .memory-tab { gap: 24px; }
|
|
146
|
+
.memory-intro h2 { font-size: 1.25rem; }
|
|
147
|
+
.memory-section-heading { flex-direction: column; gap: 12px; }
|
|
148
|
+
.memory-tab .memory-name-section input { max-width: none; }
|
|
149
|
+
.memory-reading-frame { padding: 14px; }
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@media (prefers-reduced-motion: reduce) {
|
|
153
|
+
.settings-container .memory-tab { animation: none; }
|
|
154
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
.notifications-tab .toggle-row { gap: 20px; }
|
|
2
|
+
.notifications-tab .toggle-row > div { min-width: 0; }
|
|
3
|
+
.notifications-tab .toggle-row input:disabled + .settings-toggle-slider { opacity: .45; }
|
|
4
|
+
.notifications-tab .toggle-row input:focus-visible + .settings-toggle-slider { outline: 2px solid var(--accent, #10b981); outline-offset: 3px; }
|
|
5
|
+
.notifications-tab .settings-toggle-switch { flex-shrink: 0; }
|
|
6
|
+
.notifications-permission-state { color: var(--text-main); }
|
|
7
|
+
.notifications-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
|
|
8
|
+
.notifications-feedback { color: var(--text-secondary, var(--text-muted)); overflow-wrap: anywhere; }
|
|
9
|
+
@media (max-width: 560px) {
|
|
10
|
+
.notifications-actions button { flex: 1 1 180px; }
|
|
11
|
+
}
|
|
@@ -267,6 +267,11 @@
|
|
|
267
267
|
margin: 2px 0 0;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
+
.reduced-effects-row input:focus-visible + .settings-toggle-slider {
|
|
271
|
+
outline: 2px solid var(--accent, #10b981);
|
|
272
|
+
outline-offset: 3px;
|
|
273
|
+
}
|
|
274
|
+
|
|
270
275
|
.section-current-badge {
|
|
271
276
|
font-size: 0.68rem;
|
|
272
277
|
font-weight: 600;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
.slash-choice-panel {
|
|
2
|
+
position: absolute;
|
|
3
|
+
inset-inline: 0;
|
|
4
|
+
bottom: calc(100% + 8px);
|
|
5
|
+
z-index: 101;
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-column: 1 / -1;
|
|
8
|
+
grid-row: 1;
|
|
9
|
+
min-width: 0;
|
|
10
|
+
gap: 8px;
|
|
11
|
+
margin: 0;
|
|
12
|
+
max-height: min(38dvh, 340px);
|
|
13
|
+
overflow-y: auto;
|
|
14
|
+
overscroll-behavior: contain;
|
|
15
|
+
padding: 10px 12px 8px;
|
|
16
|
+
color: var(--text-main, #e8e8e8);
|
|
17
|
+
background: var(--panel-bg, #252525);
|
|
18
|
+
border: 1px solid var(--border, #343434);
|
|
19
|
+
border-radius: 18px;
|
|
20
|
+
font-family: var(--font-sans, Inter, system-ui, sans-serif);
|
|
21
|
+
box-shadow: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.slash-choice-heading {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: flex-start;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
gap: 12px;
|
|
29
|
+
padding-bottom: 8px;
|
|
30
|
+
border-bottom: 1px solid var(--border, #343434);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.slash-choice-heading > div { min-width: 0; }
|
|
34
|
+
.slash-choice-command { color: var(--text-muted, #858585); font-size: 12px; font-weight: 700; }
|
|
35
|
+
.slash-choice-heading p { margin: 3px 0 0; color: var(--text-main, #e8e8e8); font-size: 13px; line-height: 1.4; white-space: pre-line; }
|
|
36
|
+
|
|
37
|
+
.slash-choice-heading > button {
|
|
38
|
+
flex: 0 0 auto;
|
|
39
|
+
padding: 0 5px;
|
|
40
|
+
color: var(--text-muted, #858585);
|
|
41
|
+
background: transparent;
|
|
42
|
+
border: 0;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
font: inherit;
|
|
45
|
+
font-size: 16px;
|
|
46
|
+
line-height: 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.slash-choice-options { display: grid; gap: 2px; }
|
|
50
|
+
.slash-choice-options > button {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: flex-start;
|
|
53
|
+
gap: 9px;
|
|
54
|
+
width: 100%;
|
|
55
|
+
min-height: 32px;
|
|
56
|
+
padding: 6px 8px;
|
|
57
|
+
color: var(--text-main, #e8e8e8);
|
|
58
|
+
text-align: left;
|
|
59
|
+
background: transparent;
|
|
60
|
+
border: 0;
|
|
61
|
+
border-radius: 4px;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
font: inherit;
|
|
64
|
+
font-size: 13px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.slash-choice-options > button > span { color: var(--text-muted, #858585); min-width: 18px; text-align: center; border-radius: 50%; background: var(--surface-hover, #333); }
|
|
68
|
+
.slash-choice-options > button:hover, .slash-choice-options > button:focus-visible {
|
|
69
|
+
color: var(--text-muted, #858585);
|
|
70
|
+
background: var(--surface-strong, #222);
|
|
71
|
+
outline: none;
|
|
72
|
+
}
|
|
73
|
+
.slash-choice-hint { padding-top: 5px; color: var(--text-muted, #858585); border-top: 1px solid var(--border, #343434); font-size: 11px; }
|
|
74
|
+
|
|
75
|
+
@media (max-width: 600px) {
|
|
76
|
+
.slash-choice-panel { margin: 0; padding: 8px 10px 7px; max-height: min(34dvh, 280px); }
|
|
77
|
+
.slash-choice-options > button { min-height: 40px; }
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.slash-choice-options > button.active {
|
|
81
|
+
background: var(--surface-hover, #272727);
|
|
82
|
+
color: var(--text-main, #e8e8e8);
|
|
83
|
+
}
|
|
84
|
+
.slash-choice-options > button:focus-visible {
|
|
85
|
+
outline: 2px solid var(--text-muted);
|
|
86
|
+
outline-offset: -2px;
|
|
87
|
+
}
|
|
88
|
+
.slash-choice-status {
|
|
89
|
+
position: absolute;
|
|
90
|
+
width: 1px;
|
|
91
|
+
height: 1px;
|
|
92
|
+
overflow: hidden;
|
|
93
|
+
clip-path: inset(50%);
|
|
94
|
+
white-space: nowrap;
|
|
95
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* One compact command menu for Desktop and Web, aligned to the composer. */
|
|
2
|
+
#chat-form > .slash-suggestions-popup {
|
|
3
|
+
position: absolute;
|
|
4
|
+
inset-inline: 0;
|
|
5
|
+
bottom: calc(100% + 8px);
|
|
6
|
+
z-index: 100;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
min-width: 0;
|
|
10
|
+
max-height: min(38dvh, 340px);
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
color: var(--text-main);
|
|
13
|
+
background: var(--panel-bg);
|
|
14
|
+
border: 1px solid var(--border-default, var(--border));
|
|
15
|
+
border-radius: 18px;
|
|
16
|
+
box-shadow: var(--shadow-lg);
|
|
17
|
+
font-family: var(--font-sans, Inter, system-ui, sans-serif);
|
|
18
|
+
}
|
|
19
|
+
.slash-suggestions-header {
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
gap: 12px;
|
|
23
|
+
padding: 10px 12px 8px;
|
|
24
|
+
color: var(--text-muted);
|
|
25
|
+
font-size: 12px;
|
|
26
|
+
}
|
|
27
|
+
.slash-suggestions-count { font-size: 11px; }
|
|
28
|
+
.slash-suggestions-list {
|
|
29
|
+
min-height: 0;
|
|
30
|
+
overflow-y: auto;
|
|
31
|
+
overscroll-behavior: contain;
|
|
32
|
+
padding: 0 5px 5px;
|
|
33
|
+
scrollbar-width: thin;
|
|
34
|
+
}
|
|
35
|
+
.slash-suggestions-group-label {
|
|
36
|
+
padding: 8px 7px 4px;
|
|
37
|
+
color: var(--text-muted);
|
|
38
|
+
font-size: 11px;
|
|
39
|
+
}
|
|
40
|
+
.slash-suggestion-item {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
gap: 9px;
|
|
44
|
+
width: 100%;
|
|
45
|
+
min-height: 32px;
|
|
46
|
+
padding: 6px 8px;
|
|
47
|
+
border: 0;
|
|
48
|
+
border-radius: 8px;
|
|
49
|
+
background: transparent;
|
|
50
|
+
text-align: start;
|
|
51
|
+
font: inherit;
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
}
|
|
54
|
+
.slash-suggestion-item:hover, .slash-suggestion-item.active { background: var(--surface-hover, var(--bg-surface-soft)); }
|
|
55
|
+
.slash-suggestion-item:focus-visible { outline: 2px solid var(--text-muted); outline-offset: -2px; }
|
|
56
|
+
.slash-cmd-icon { display: flex; flex: 0 0 15px; color: var(--text-muted); }
|
|
57
|
+
.slash-cmd-name { flex: 0 0 auto; color: var(--text-main); font-size: 13px; font-weight: 500; white-space: nowrap; }
|
|
58
|
+
.slash-cmd-body { flex: 1; min-width: 0; }
|
|
59
|
+
.slash-cmd-desc { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); font-size: 12px; }
|
|
60
|
+
.skill-badge { flex: 0 0 auto; color: var(--text-muted); font-size: 11px; }
|
|
61
|
+
.slash-cmd-usage { color: var(--text-muted); font: 12px var(--font-mono, monospace); overflow-wrap: anywhere; }
|
|
62
|
+
.slash-suggestions-empty { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; color: var(--text-muted); font-size: 13px; }
|
|
63
|
+
.slash-suggestions-hint { padding: 7px 12px; border-top: 1px solid var(--border-default, var(--border)); color: var(--text-muted); font-size: 10px; }
|
|
64
|
+
@media (max-width: 760px) {
|
|
65
|
+
#chat-form > .slash-suggestions-popup { max-height: min(34dvh, 280px); border-radius: 16px; }
|
|
66
|
+
.slash-suggestion-item { min-height: 40px; }
|
|
67
|
+
.slash-cmd-name { max-width: 48%; overflow: hidden; text-overflow: ellipsis; }
|
|
68
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
.sources-block {
|
|
2
|
+
min-width: 0;
|
|
3
|
+
max-width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.source-card-group {
|
|
7
|
+
position: relative;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
flex: 1 1 180px;
|
|
11
|
+
max-width: 240px;
|
|
12
|
+
min-width: 160px;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.source-card {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
flex: 1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.source-card-thumbnail {
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 80px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.source-card-content {
|
|
28
|
+
min-width: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.source-card-group > .source-links-popover {
|
|
32
|
+
width: 260px;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.sources-more-button {
|
|
37
|
+
flex: 1 1 160px;
|
|
38
|
+
max-width: 200px;
|
|
39
|
+
min-height: 68px;
|
|
40
|
+
font: inherit;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.sources-more-button:focus-visible {
|
|
44
|
+
outline: 2px solid var(--interactive-fg-hover, #38bdf8);
|
|
45
|
+
outline-offset: 2px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media (max-width: 600px) {
|
|
49
|
+
.sources-block {
|
|
50
|
+
align-self: stretch;
|
|
51
|
+
width: 100%;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.sources-cards {
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.source-card-group {
|
|
59
|
+
flex: none;
|
|
60
|
+
width: 100%;
|
|
61
|
+
max-width: none;
|
|
62
|
+
min-width: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.source-card {
|
|
66
|
+
flex-direction: row;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.source-card-thumbnail {
|
|
70
|
+
position: relative;
|
|
71
|
+
width: 80px;
|
|
72
|
+
height: auto;
|
|
73
|
+
min-height: 80px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.source-card-thumbnail img {
|
|
77
|
+
position: absolute;
|
|
78
|
+
inset: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.source-card-group > .source-links-popover {
|
|
82
|
+
width: 100%;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.sources-more-button {
|
|
86
|
+
flex: none;
|
|
87
|
+
width: 100%;
|
|
88
|
+
max-width: none;
|
|
89
|
+
min-height: 44px;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* Match the TUI's quiet left-to-right glow; timing and cancel hints stay still. */
|
|
2
|
+
.thinking-status {
|
|
3
|
+
color: var(--text-soft);
|
|
4
|
+
overflow-wrap: anywhere;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.thinking-status-label {
|
|
8
|
+
color: var(--text-main);
|
|
9
|
+
font-weight: 600;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.thinking-status-meta {
|
|
13
|
+
font-variant-numeric: tabular-nums;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
|
|
17
|
+
.thinking-status-label {
|
|
18
|
+
background-image: linear-gradient(
|
|
19
|
+
90deg,
|
|
20
|
+
var(--text-muted) 0%,
|
|
21
|
+
var(--text-muted) 35%,
|
|
22
|
+
var(--text-main) 50%,
|
|
23
|
+
var(--text-muted) 65%,
|
|
24
|
+
var(--text-muted) 100%
|
|
25
|
+
);
|
|
26
|
+
background-size: 250% 100%;
|
|
27
|
+
background-position: 100% 0;
|
|
28
|
+
background-clip: text;
|
|
29
|
+
-webkit-background-clip: text;
|
|
30
|
+
color: transparent;
|
|
31
|
+
animation: thinkingStatusSweep 2.4s linear infinite;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@keyframes thinkingStatusSweep {
|
|
36
|
+
from { background-position: 100% 0; }
|
|
37
|
+
to { background-position: 0% 0; }
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
|
|
41
|
+
.thinking-status-label {
|
|
42
|
+
animation: none;
|
|
43
|
+
background: none;
|
|
44
|
+
color: var(--text-main);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
.tools-panel-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; min-height: 32px; padding: 5px 9px; border: 1px solid var(--border); border-radius: var(--radius-xs, 6px); background: var(--surface-bg); color: var(--text-main); font: inherit; font-size: 12px; cursor: pointer; }
|
|
2
|
+
.tools-panel-toggle > svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
|
|
3
|
+
.tools-panel-toggle:hover, .tools-panel-toggle.is-open { background: var(--surface-strong); color: var(--accent); }
|
|
4
|
+
.tools-panel-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
5
|
+
.tools-task-count { display: inline-grid; place-items: center; flex-shrink: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent-subtle, var(--surface-strong)); color: var(--accent); font-size: 10px; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; }
|
|
6
|
+
.mint-titlebar-icon-button.tools-panel-toggle { width: auto; min-width: 32px; }
|
|
7
|
+
.mint-titlebar-icon-button .tools-toggle-label { display: none; }
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* Utilities for shared shadcn primitives; Mint retains its existing base styles. */
|
|
2
|
+
@layer theme, base, components, utilities;
|
|
3
|
+
@import 'tailwindcss/theme.css' layer(theme);
|
|
4
|
+
@import 'tailwindcss/utilities.css' layer(utilities) source(none);
|
|
5
|
+
@source '../components/ui';
|
|
6
|
+
@theme inline {
|
|
7
|
+
--color-background: var(--bg-overlay);
|
|
8
|
+
--color-primary: var(--accent);
|
|
9
|
+
--color-primary-foreground: var(--accent-contrast, #ffffff);
|
|
10
|
+
--color-destructive: var(--danger);
|
|
11
|
+
--color-destructive-foreground: var(--pure-white);
|
|
12
|
+
--color-input: var(--border-default);
|
|
13
|
+
--color-accent: var(--bg-surface-hover);
|
|
14
|
+
--color-accent-foreground: var(--text-main);
|
|
15
|
+
--color-secondary: var(--bg-surface-soft);
|
|
16
|
+
--color-secondary-foreground: var(--text-main);
|
|
17
|
+
--color-muted-foreground: var(--text-muted);
|
|
18
|
+
--color-ring: var(--accent);
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.viewed-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; max-width: 680px; margin: 12px 0; }
|
|
2
|
+
.viewed-image { min-width: 0; margin: 0; }
|
|
3
|
+
.viewed-image:only-child { max-width: 420px; }
|
|
4
|
+
.viewed-image-button { display: block; width: 100%; padding: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg-surface-soft); cursor: zoom-in; }
|
|
5
|
+
.viewed-image-button img { display: block; width: 100%; height: 260px; object-fit: contain; }
|
|
6
|
+
.viewed-image figcaption { margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); font-size: 12px; }
|
|
7
|
+
.viewed-image-error { margin: 0; padding: 16px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-muted); font-size: 13px; }
|
|
8
|
+
.viewed-image-dialog { box-sizing: border-box; width: fit-content; max-width: 96vw; max-height: 94dvh; padding: 12px; overflow: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-overlay); color: var(--text-main); }
|
|
9
|
+
.viewed-image-dialog::backdrop { background: rgba(0, 0, 0, .75); }
|
|
10
|
+
.viewed-image-dialog header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; }
|
|
11
|
+
.viewed-image-dialog header span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
|
|
12
|
+
.viewed-image-dialog button { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-surface-soft); color: var(--text-main); cursor: pointer; }
|
|
13
|
+
.viewed-image-dialog > img { display: block; max-width: 100%; max-height: calc(94dvh - 86px); object-fit: contain; }
|
|
14
|
+
.viewed-image-button:focus-visible, .viewed-image-dialog button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
|
|
15
|
+
@media (max-width: 480px) { .viewed-image-button img { height: 220px; } }
|