farming-code 2.2.6
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 +287 -0
- package/README.zh_cn.md +329 -0
- package/SECURITY.md +29 -0
- package/THIRD_PARTY_NOTICES.md +106 -0
- package/backend/acp/client-services.js +312 -0
- package/backend/acp/patch-decisions.js +137 -0
- package/backend/acp/permission-security.js +108 -0
- package/backend/acp-runtime.js +1144 -0
- package/backend/acp-session-state.js +448 -0
- package/backend/acp-transcript.js +169 -0
- package/backend/agent-activity.js +186 -0
- package/backend/agent-env.js +250 -0
- package/backend/agent-json-stream.js +268 -0
- package/backend/agent-manager.js +4259 -0
- package/backend/agent-memory-report.js +583 -0
- package/backend/agent-order.js +162 -0
- package/backend/agent-provider-session.js +287 -0
- package/backend/agent-session-history.js +888 -0
- package/backend/app-server-api.js +917 -0
- package/backend/async-cache.js +94 -0
- package/backend/auth.js +178 -0
- package/backend/claude-settings.js +121 -0
- package/backend/cli-agents.js +484 -0
- package/backend/codex-app-server-home.js +39 -0
- package/backend/codex-app-server-runtime.js +901 -0
- package/backend/codex-context-window.js +189 -0
- package/backend/codex-models.js +229 -0
- package/backend/codex-rollout-follower.js +243 -0
- package/backend/codex-session-history.js +553 -0
- package/backend/codex-transcript-sanitizer.js +103 -0
- package/backend/codex-transcript.js +2341 -0
- package/backend/command-runner-child.js +67 -0
- package/backend/config-manager.js +815 -0
- package/backend/control-api.js +151 -0
- package/backend/data/chinese-poetic-words.json +8223 -0
- package/backend/data/poetic-word-sources/china.json +49209 -0
- package/backend/data/poetic-word-sources/india.json +9763 -0
- package/backend/data/poetic-word-sources/japan.json +8455 -0
- package/backend/executable-discovery.js +207 -0
- package/backend/farming-app-cli.js +790 -0
- package/backend/farming-cli.js +400 -0
- package/backend/farming-session-store.js +373 -0
- package/backend/haiku-token.js +772 -0
- package/backend/index-html.js +49 -0
- package/backend/input-parts.js +54 -0
- package/backend/input-routing.js +24 -0
- package/backend/json-cli-runtime.js +161 -0
- package/backend/local-session-engine.js +620 -0
- package/backend/main-agent-skills.js +292 -0
- package/backend/main-page-session.js +119 -0
- package/backend/native-pty-host-client.js +516 -0
- package/backend/native-pty-host-path.js +22 -0
- package/backend/native-pty-host.js +816 -0
- package/backend/native-session-engine.js +196 -0
- package/backend/network.js +23 -0
- package/backend/npm-update-helper.js +196 -0
- package/backend/packaged-node-pty.js +79 -0
- package/backend/provider-session-id.js +47 -0
- package/backend/qr-share-tickets.js +100 -0
- package/backend/review-diff-router.js +180 -0
- package/backend/review-diff-service.js +1270 -0
- package/backend/review-session-router.js +74 -0
- package/backend/review-session-service.js +432 -0
- package/backend/review-session-store.js +144 -0
- package/backend/review-state-router.js +116 -0
- package/backend/review-state-store.js +287 -0
- package/backend/run-history-store.js +70 -0
- package/backend/server.js +2446 -0
- package/backend/session-engine-bridge.js +110 -0
- package/backend/session-engine-router.js +66 -0
- package/backend/session-engine.js +39 -0
- package/backend/shell-busy-integration.js +472 -0
- package/backend/slash-command-discovery.js +296 -0
- package/backend/storage-layout.js +101 -0
- package/backend/system-monitor.js +77 -0
- package/backend/terminal-runtime-cleanup.js +80 -0
- package/backend/terminal-screen-state.js +240 -0
- package/backend/terminal-screen-worker-pool.js +165 -0
- package/backend/terminal-screen-worker-thread.js +161 -0
- package/backend/terminal-screen-worker.js +255 -0
- package/backend/terminal-status.js +356 -0
- package/backend/theme-manager.js +145 -0
- package/backend/update-service.js +1183 -0
- package/backend/usage-forecast.js +86 -0
- package/backend/usage-monitor.js +1357 -0
- package/backend/workspace-discovery.js +311 -0
- package/backend/workspace-file-router.js +431 -0
- package/backend/workspace-file-service.js +2765 -0
- package/bin/farming +5 -0
- package/config/farming.deploy.env.example +13 -0
- package/config/farming.install.env.example +17 -0
- package/dist/assets/App-BrP-ENHg.css +1 -0
- package/dist/assets/App-Dza5yEDe.js +124 -0
- package/dist/assets/FileEditorMarkdownPreview-DRDNQ8mX.css +1 -0
- package/dist/assets/FileEditorMarkdownPreview-elKWc8Im.js +404 -0
- package/dist/assets/FileEditorPane-BQLocXOp.js +5 -0
- package/dist/assets/IconGlyphs-RkMAdBXF.js +1 -0
- package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/assets/ProjectFilesSection-lS1azbgj.js +12 -0
- package/dist/assets/ReviewPage-DgnmgU2T.js +3 -0
- package/dist/assets/abap-Cc5D5h5i.js +1 -0
- package/dist/assets/abnfDiagram-VRR7QNED-BgawzDQT.js +1 -0
- package/dist/assets/apex-BKopwLmx.js +1 -0
- package/dist/assets/api-D1lyBYIQ.js +1 -0
- package/dist/assets/arc-CWoVlxJw.js +1 -0
- package/dist/assets/architecture-TIHT7OUA-CbJBFh3w.js +1 -0
- package/dist/assets/architectureDiagram-ZJ3FMSHR-DUShwPg0.js +36 -0
- package/dist/assets/array-HeX70jSN.js +1 -0
- package/dist/assets/azcli-DI-C34WA.js +1 -0
- package/dist/assets/bat-Cbp6u42z.js +1 -0
- package/dist/assets/bicep-4QA1jTCM.js +2 -0
- package/dist/assets/blockDiagram-677ZJIJ3-CeGZviXR.js +132 -0
- package/dist/assets/c4Diagram-LMCZKHZV-CLhYht6S.js +10 -0
- package/dist/assets/cameligo-Dda_adPs.js +1 -0
- package/dist/assets/channel-Uw90AO0b.js +1 -0
- package/dist/assets/chunk-2Q5K7J3B-d5WWh8jo.js +1 -0
- package/dist/assets/chunk-32BRIVSS-LFYpT-Cu.js +1 -0
- package/dist/assets/chunk-52WLFC77-BH6jDw9J.js +10 -0
- package/dist/assets/chunk-5FCAYU7R-C7AmIhYv.js +1 -0
- package/dist/assets/chunk-5HE753X5-C8cXaouP.js +1 -0
- package/dist/assets/chunk-5JV3BV7I-C1PtimcA.js +1 -0
- package/dist/assets/chunk-5TONJI2A-_81zUME8.js +2 -0
- package/dist/assets/chunk-5VM5RSS4-Dlw7AXWp.js +15 -0
- package/dist/assets/chunk-7BUUIJ7U-ZBRhjLOh.js +1 -0
- package/dist/assets/chunk-BIQX33UG-CWmzxeAw.js +1 -0
- package/dist/assets/chunk-C7G6YPKG-B_mIUlb7.js +1 -0
- package/dist/assets/chunk-CQNSW5MT-CMayolwI.js +1 -0
- package/dist/assets/chunk-CYSBUYHQ-lSPbrL3Z.js +1 -0
- package/dist/assets/chunk-DECur_0Z.js +1 -0
- package/dist/assets/chunk-EMLP6XTP-D9-jtCnM.js +1 -0
- package/dist/assets/chunk-EX3LRPZG-C63hVuAJ.js +231 -0
- package/dist/assets/chunk-FWX5IMBZ-CboX-WF_.js +2 -0
- package/dist/assets/chunk-HOUHSVGY-BOgSd6Un.js +1 -0
- package/dist/assets/chunk-ICXQ74PX-C0K-pgZt.js +2 -0
- package/dist/assets/chunk-JG7HCLWE-Cib606u_.js +2 -0
- package/dist/assets/chunk-JWPE2WC7-DSyBRaRG.js +1 -0
- package/dist/assets/chunk-KEIR6QF5-CNOHik0T.js +161 -0
- package/dist/assets/chunk-MOJQB5TN-CVMfwN_7.js +88 -0
- package/dist/assets/chunk-MOZMSUNE-D6JeZqmE.js +1 -0
- package/dist/assets/chunk-OGEWGWER-DLT3pxyw.js +1 -0
- package/dist/assets/chunk-OSBZ3O6U-C0W8KSeg.js +1 -0
- package/dist/assets/chunk-PUDLZKDR-Cd079yIQ.js +156 -0
- package/dist/assets/chunk-Q4XR5HBZ-D0jHa6SO.js +70 -0
- package/dist/assets/chunk-QBLGF6JB-p4omp7uO.js +1 -0
- package/dist/assets/chunk-R7FJI6CG-CZ_p9hSr.js +1 -0
- package/dist/assets/chunk-RYQCIY6F-CZA9pvFX.js +1 -0
- package/dist/assets/chunk-U6XO7XAA-CcXKsWxp.js +2 -0
- package/dist/assets/chunk-V7JOEXUC-CVDtR75H.js +206 -0
- package/dist/assets/chunk-VAUOI2AC-B-W2_9Ot.js +1 -0
- package/dist/assets/chunk-VR4S4FIN-FD3kWh32.js +1 -0
- package/dist/assets/chunk-WYO6CB5R-C2bGaS5r.js +127 -0
- package/dist/assets/chunk-XXDRQBXY-BBXwjhUx.js +1 -0
- package/dist/assets/chunk-Y2CYZVJY-Di0sYzi1.js +1 -0
- package/dist/assets/chunk-YOTPTUD7-BXHmEk89.js +1 -0
- package/dist/assets/chunk-ZGVPDNZ5-ymgts0zo.js +62 -0
- package/dist/assets/chunk-ZIRB5QZD-DncwlQQc.js +32 -0
- package/dist/assets/classDiagram-OUVF2IWQ-DKW_dtku.js +1 -0
- package/dist/assets/classDiagram-v2-EOCWNBFH-C8Fi7-yv.js +1 -0
- package/dist/assets/clojure-CvY8A83L.js +1 -0
- package/dist/assets/code-dark-Cjb1QGhu.css +1 -0
- package/dist/assets/code-mobile-3C2Rr-CN.css +1 -0
- package/dist/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/dist/assets/coffee-4LX2Sv8A.js +1 -0
- package/dist/assets/core-ZlAPicox.js +3 -0
- package/dist/assets/cose-bilkent-JH36ORCC-BNIAz0nN.js +1 -0
- package/dist/assets/cpp-D4AzSV28.js +1 -0
- package/dist/assets/csharp-C4nWN4Yd.js +1 -0
- package/dist/assets/csp-CiEaaS5Z.js +1 -0
- package/dist/assets/css-DXxBRsbk.js +3 -0
- package/dist/assets/css.worker-DyDu5ynT.js +89 -0
- package/dist/assets/cssMode-DDWxTPm_.js +1 -0
- package/dist/assets/cynefin-VYW2F7L2-DgXGHlRt.js +1 -0
- package/dist/assets/cynefinDiagram-TSTJHNR4-CwpobXIl.js +62 -0
- package/dist/assets/cypher-DOMzqyFA.js +1 -0
- package/dist/assets/cytoscape.esm-Cl8iC3D7.js +321 -0
- package/dist/assets/dagre-DXlcHgr3.js +1 -0
- package/dist/assets/dagre-VKFMJZFB-Dkhlfjna.js +4 -0
- package/dist/assets/dart-BWS7MXt_.js +1 -0
- package/dist/assets/defaultLocale-GJwWH1Jr.js +1 -0
- package/dist/assets/diagram-FQU43EPY-hA8dicp6.js +3 -0
- package/dist/assets/diagram-G47NLZAW-BTY6JTzO.js +24 -0
- package/dist/assets/diagram-NH7WQ7WH-xkaHHX9M.js +24 -0
- package/dist/assets/diagram-OA4YK3LP-gk_fg9UU.js +30 -0
- package/dist/assets/diagram-WEI45ONY-BvC8xd6T.js +41 -0
- package/dist/assets/dist-ClAL-Tv5.js +1 -0
- package/dist/assets/dockerfile-Baf4U3xT.js +1 -0
- package/dist/assets/ebnfDiagram-CCIWWBDH-CR7RaNat.js +1 -0
- package/dist/assets/ecl-CT7udlkQ.js +1 -0
- package/dist/assets/editor-CtbFZlk0.css +1 -0
- package/dist/assets/editor.api2-B9h6iFPK.js +872 -0
- package/dist/assets/editor.worker-Dpt_xPrs.js +26 -0
- package/dist/assets/elixir-CIbAZw5l.js +1 -0
- package/dist/assets/erDiagram-Q63AITRT-_M-JFPbj.js +85 -0
- package/dist/assets/eventmodeling-45OFAUF4-DXYTQ2nt.js +1 -0
- package/dist/assets/file-icons-EFUGSSwf.js +1 -0
- package/dist/assets/flow9-Dqiw45WV.js +1 -0
- package/dist/assets/flowDiagram-23GEKE2U-DAiS5Y7G.js +1 -0
- package/dist/assets/freemarker2-QBsTERH-.js +3 -0
- package/dist/assets/fsharp-E8E2L9jU.js +1 -0
- package/dist/assets/ganttDiagram-NO4QXBWP-Bl8P1yf_.js +292 -0
- package/dist/assets/gitGraph-TEB2WS4Q-CzTBjEvV.js +1 -0
- package/dist/assets/gitGraphDiagram-IHSO6WYX-DoHa5ysz.js +106 -0
- package/dist/assets/go-CouVSN4D.js +1 -0
- package/dist/assets/graphlib-CbSvZcZU.js +1 -0
- package/dist/assets/graphql-a6h6h5-t.js +1 -0
- package/dist/assets/handlebars-CuoxPo5A.js +1 -0
- package/dist/assets/hcl-vso3e6N-.js +1 -0
- package/dist/assets/html-gX5PEu0Q.js +1 -0
- package/dist/assets/html.worker-IWNXhnIC.js +502 -0
- package/dist/assets/htmlMode-DIWUbUxd.js +1 -0
- package/dist/assets/index-BpHPeJf0.js +10 -0
- package/dist/assets/info-DKCQHKI2-DznP7j3s.js +1 -0
- package/dist/assets/infoDiagram-FWYZ7A6U-DSFcSuUs.js +2 -0
- package/dist/assets/ini-SwZZkotR.js +1 -0
- package/dist/assets/init-BPLPMQ3Y.js +1 -0
- package/dist/assets/ishikawaDiagram-FXEZZL3T-DdkqullI.js +70 -0
- package/dist/assets/java-CtRLC4_3.js +1 -0
- package/dist/assets/javascript-BYKGIUGs.js +1 -0
- package/dist/assets/journeyDiagram-5HDEW3XC-B4hRnQJr.js +139 -0
- package/dist/assets/json.worker-c4h5s80L.js +58 -0
- package/dist/assets/jsonMode-AFmQQP6u.js +7 -0
- package/dist/assets/jsx-runtime-BthL93pI.js +1 -0
- package/dist/assets/julia-CuJWFKQH.js +1 -0
- package/dist/assets/kanban-definition-HUTT4EX6-tm2FZB2E.js +89 -0
- package/dist/assets/katex-C8DPyI6s.js +257 -0
- package/dist/assets/kotlin-B_kBhsre.js +1 -0
- package/dist/assets/less-CtrHIfz3.js +2 -0
- package/dist/assets/lexon-yVt1pJLu.js +1 -0
- package/dist/assets/line-CmsjK4kn.js +1 -0
- package/dist/assets/linear-Dld3_ERu.js +1 -0
- package/dist/assets/liquid-DBIl-f0z.js +1 -0
- package/dist/assets/lspLanguageFeatures-DK6tqicV.js +4 -0
- package/dist/assets/lua-prOwgJ4U.js +1 -0
- package/dist/assets/m3-DhrdTQ84.js +1 -0
- package/dist/assets/main-DTJwH51M.css +1 -0
- package/dist/assets/map-LZWWoeWa.js +1 -0
- package/dist/assets/markdown-DoI5HwSM.js +1 -0
- package/dist/assets/mdx-DS-bVtZN.js +1 -0
- package/dist/assets/mermaid-parser.core-BQtepoLd.js +4 -0
- package/dist/assets/mermaid.core-C7UT_EEL.js +11 -0
- package/dist/assets/mindmap-definition-LN4V7U3C-DplfjGms.js +96 -0
- package/dist/assets/mips-Dye5jsBU.js +1 -0
- package/dist/assets/monaco.contribution-CyLosfZI.js +2 -0
- package/dist/assets/msdax-TkNOyIL8.js +1 -0
- package/dist/assets/mysql-CEc-RKZF.js +1 -0
- package/dist/assets/objective-c-CqqCsQz0.js +1 -0
- package/dist/assets/ordinal-BLrOss5K.js +1 -0
- package/dist/assets/packet-7NZHBO7P-BDEPOPha.js +1 -0
- package/dist/assets/pascal-DO_pj8yg.js +1 -0
- package/dist/assets/pascaligo-1cbdZdF3.js +1 -0
- package/dist/assets/path-YdFzr2W6.js +1 -0
- package/dist/assets/pegDiagram-2B236MQR-lu3SdkQs.js +1 -0
- package/dist/assets/perl-B_N3PYfC.js +1 -0
- package/dist/assets/pgsql-9iYk1FQ7.js +1 -0
- package/dist/assets/php-rO2sgoUM.js +1 -0
- package/dist/assets/pie-RZYD4A2V-DWIrwPJQ.js +1 -0
- package/dist/assets/pieDiagram-ENE6RG2P-3fHbmDf9.js +39 -0
- package/dist/assets/pla-Cbgv60kq.js +1 -0
- package/dist/assets/postiats-y6xrhy_M.js +1 -0
- package/dist/assets/powerquery-BaD8gWNE.js +1 -0
- package/dist/assets/powershell-BMhG4JVe.js +1 -0
- package/dist/assets/preload-helper-mJowh_hw.js +1 -0
- package/dist/assets/protobuf-CdOP5kN3.js +2 -0
- package/dist/assets/pug-Ck60hNF9.js +1 -0
- package/dist/assets/python-C93q3xXz.js +1 -0
- package/dist/assets/qoder-C9LmmOSf.svg +1 -0
- package/dist/assets/qoder-Cf9gl0Y5.svg +1 -0
- package/dist/assets/qoder-gHCinseV.svg +1 -0
- package/dist/assets/qrcode-DV-_rjU8.js +3 -0
- package/dist/assets/qsharp-BcaKFfP-.js +1 -0
- package/dist/assets/quadrantDiagram-ABIIQ3AL-a5qoWz-X.js +7 -0
- package/dist/assets/r-rFNes0iK.js +1 -0
- package/dist/assets/radar-I7S5WNFK-B7OaD8vp.js +1 -0
- package/dist/assets/railroad-3IZDKUUU-BXW2nuCA.js +1 -0
- package/dist/assets/railroad-abnf-AHOZXSZD-Buw9QG2r.js +1 -0
- package/dist/assets/railroad-ebnf-EBAXGLYW-BjSi4sWJ.js +1 -0
- package/dist/assets/railroad-peg-LSFZ7HO6-DN1wIVhS.js +1 -0
- package/dist/assets/railroadDiagram-RFXS5EU6-D2TOuXW9.js +1 -0
- package/dist/assets/razor-CBifNGXO.js +1 -0
- package/dist/assets/react-dom-gtU6X-Hj.js +1 -0
- package/dist/assets/redis-DkpQ3K6G.js +1 -0
- package/dist/assets/redshift-Di9N5TI3.js +1 -0
- package/dist/assets/requirementDiagram-TGXJPOKE-LQBWpUvd.js +84 -0
- package/dist/assets/restructuredtext-By5ZzLt6.js +1 -0
- package/dist/assets/review-BcnwQtJv.css +1 -0
- package/dist/assets/rough.esm-c4PR5shF.js +1 -0
- package/dist/assets/ruby-fF5zGiLp.js +1 -0
- package/dist/assets/rust-C5b3AYY6.js +1 -0
- package/dist/assets/sankeyDiagram-HTMAVEWB-B1ohYoyK.js +40 -0
- package/dist/assets/sb-CD07UNRs.js +1 -0
- package/dist/assets/scala-jtn1ip9G.js +1 -0
- package/dist/assets/scheme-C4vqMkn_.js +1 -0
- package/dist/assets/scss-I4Glxjbz.js +3 -0
- package/dist/assets/sequenceDiagram-DBY2YBRQ-C3vM-hMq.js +162 -0
- package/dist/assets/shell-DubUcuns.js +1 -0
- package/dist/assets/sizeCapture-X5ZJPWSS-daTB6OcF.js +1 -0
- package/dist/assets/solidity-CNy2KSl2.js +1 -0
- package/dist/assets/sophia-D9_URt84.js +1 -0
- package/dist/assets/sparql-DviXpm4C.js +1 -0
- package/dist/assets/sql-vDRbAZgK.js +1 -0
- package/dist/assets/src-WBW1QxJt.js +1 -0
- package/dist/assets/st-CnpnRqA7.js +1 -0
- package/dist/assets/stateDiagram-2N3HPSRC-BvFhOryI.js +1 -0
- package/dist/assets/stateDiagram-v2-6OUMAXLB-WMrz4PNo.js +1 -0
- package/dist/assets/swift-D_g8Ganz.js +1 -0
- package/dist/assets/swimlanes-5IMT3BWC-DKF_b-2s.js +2 -0
- package/dist/assets/swimlanesDiagram-G3AALYLV-BGswC9oC.js +8 -0
- package/dist/assets/systemverilog-OuZa5h1M.js +1 -0
- package/dist/assets/tcl-DBm9ucsV.js +1 -0
- package/dist/assets/timeline-definition-FHXFAJF6-vAs11ux_.js +120 -0
- package/dist/assets/tokens-BwenNn5Q.css +1 -0
- package/dist/assets/treeView-QDETBFTQ-BVfICaZQ.js +1 -0
- package/dist/assets/treemap-6X3UGDF4-oWHPqo17.js +1 -0
- package/dist/assets/ts.worker-BwM5Ha3L.js +67719 -0
- package/dist/assets/tsMode-DGZTlTj8.js +11 -0
- package/dist/assets/twig-BRzEqX5Y.js +1 -0
- package/dist/assets/typescript-KJKfYO7K.js +1 -0
- package/dist/assets/typespec-D4ZgGeX8.js +1 -0
- package/dist/assets/useWorkspaceMenuKeyboard-CneKAZUJ.js +1 -0
- package/dist/assets/vb-DcP4s6WS.js +1 -0
- package/dist/assets/vennDiagram-L72KCM5P-BybTX_9B.js +34 -0
- package/dist/assets/wardley-OPB4EBWU-Dg8t5y3s.js +1 -0
- package/dist/assets/wardleyDiagram-EHGQE667-CicUmMBR.js +78 -0
- package/dist/assets/wgsl-CnRJ_QUf.js +298 -0
- package/dist/assets/workers-BSQRIkqa.js +1 -0
- package/dist/assets/workspace-view-state-CTyDzk2D.js +1 -0
- package/dist/assets/xml-C8FAcN6j.js +1 -0
- package/dist/assets/xychartDiagram-FW5EYKEG-BhWDyCX-.js +7 -0
- package/dist/assets/yaml-BQ4NrRhG.js +1 -0
- package/dist/assets/zsh-CLpveKlF.svg +1 -0
- package/dist/assets/zsh-FxSpMPbz.svg +1 -0
- package/dist/farming-2/app-icon-v2-180.png +0 -0
- package/dist/farming-2/app-icon-v2-192.png +0 -0
- package/dist/farming-2/app-icon-v2-512.png +0 -0
- package/dist/farming-2/app-icon-v2-maskable-512.png +0 -0
- package/dist/farming-2/app-icon-v2-master.png +0 -0
- package/dist/farming-2/favicon-v2-16.png +0 -0
- package/dist/farming-2/favicon-v2-32.png +0 -0
- package/dist/farming-2/favicon-v2-48.png +0 -0
- package/dist/farming-2/favicon-v2-64.png +0 -0
- package/dist/farming-2/favicon-v2.ico +0 -0
- package/dist/farming-2/favicon.ico +0 -0
- package/dist/farming-2/github-social-preview.png +0 -0
- package/dist/farming-2/images/avatar-watercolor-v1-bee-garden.png +0 -0
- package/dist/farming-2/images/avatar-watercolor-v2.png +0 -0
- package/dist/farming-2/images/avatar-watercolor-v3.png +0 -0
- package/dist/farming-2/legacy-icons-v1/favicon.ico +1 -0
- package/dist/farming-2/legacy-icons-v1/logo-16.png +0 -0
- package/dist/farming-2/legacy-icons-v1/logo-180.png +0 -0
- package/dist/farming-2/legacy-icons-v1/logo-192.png +0 -0
- package/dist/farming-2/legacy-icons-v1/logo-32.png +0 -0
- package/dist/farming-2/legacy-icons-v1/logo-48.png +0 -0
- package/dist/farming-2/legacy-icons-v1/logo-512.png +0 -0
- package/dist/farming-2/legacy-icons-v1/logo-64.png +0 -0
- package/dist/farming-2/logo-16.png +0 -0
- package/dist/farming-2/logo-180.png +0 -0
- package/dist/farming-2/logo-192.png +0 -0
- package/dist/farming-2/logo-32.png +0 -0
- package/dist/farming-2/logo-48.png +0 -0
- package/dist/farming-2/logo-512.png +0 -0
- package/dist/farming-2/logo-64.png +0 -0
- package/dist/farming-2/site.webmanifest +27 -0
- package/dist/farming-2/style_capsules/watercolor-pastoral.json +94 -0
- package/dist/index.html +27 -0
- package/frontend/ghostty-loader.js +24 -0
- package/frontend/runtime-paths.js +28 -0
- package/frontend/session-bridge.js +82 -0
- package/frontend/session-modal-bridge.js +331 -0
- package/frontend/skin-bridge.js +25 -0
- package/frontend/skins/crt/app.js +6940 -0
- package/frontend/skins/crt/assets/branding/farming-crt-icon.svg +11 -0
- package/frontend/skins/crt/assets/branding/farming-crt-logo-v1.png +0 -0
- package/frontend/skins/crt/assets/effects/phosphor-noise.svg +11 -0
- package/frontend/skins/crt/assets/fonts/departure-mono/DepartureMonoNerdFontMono-Regular.otf +0 -0
- package/frontend/skins/crt/assets/fonts/departure-mono/LICENSE +93 -0
- package/frontend/skins/crt/effects.js +8 -0
- package/frontend/skins/crt/index.html +1712 -0
- package/frontend/skins/crt/styles/billing.css +1003 -0
- package/frontend/skins/crt/styles/effects.css +171 -0
- package/frontend/skins/crt/styles/history.css +215 -0
- package/frontend/skins/crt/styles/monochrome-green.css +509 -0
- package/frontend/skins/crt/styles/search.css +271 -0
- package/frontend/terminal-bridge.js +192 -0
- package/frontend/theme-loader.js +84 -0
- package/frontend/themes/terminal/theme.json +24 -0
- package/frontend/vendor/ghostty-web/LICENSE +21 -0
- package/frontend/vendor/ghostty-web/__vite-browser-external-2447137e.js +4 -0
- package/frontend/vendor/ghostty-web/ghostty-vt.wasm +0 -0
- package/frontend/vendor/ghostty-web/ghostty-web.js +2963 -0
- package/frontend/vendor/ghostty-web/ghostty-web.umd.cjs +13 -0
- package/frontend/vendor/ghostty-web/index.d.ts +1842 -0
- package/index.html +23 -0
- package/package.json +144 -0
- package/scripts/sync-ghostty-vendor.js +66 -0
|
@@ -0,0 +1,1712 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Farming - AI Agent Manager</title>
|
|
7
|
+
<link rel="icon" type="image/svg+xml" href="assets/branding/farming-crt-icon.svg">
|
|
8
|
+
<link rel="stylesheet" href="../vendor/xterm/xterm.css">
|
|
9
|
+
<link rel="stylesheet" href="styles/effects.css">
|
|
10
|
+
<style>
|
|
11
|
+
* {
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
body {
|
|
18
|
+
font-family: 'Courier New', monospace;
|
|
19
|
+
background: #0f0f0f;
|
|
20
|
+
color: #00ff00;
|
|
21
|
+
height: 100vh;
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
position: relative;
|
|
25
|
+
text-shadow: 0 0 5px currentColor;
|
|
26
|
+
border: 1px solid #00ff00;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.top-bar {
|
|
30
|
+
background: #2a2a2a;
|
|
31
|
+
padding: 4px 15px;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
border-bottom: 1px solid #00ff00;
|
|
35
|
+
font-size: 12px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.top-bar-item {
|
|
39
|
+
padding: 2px 8px;
|
|
40
|
+
background: transparent;
|
|
41
|
+
margin-right: 10px;
|
|
42
|
+
font-size: 12px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.top-bar-item.system-ip {
|
|
46
|
+
margin-left: auto;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.main-container {
|
|
50
|
+
flex: 1;
|
|
51
|
+
display: flex;
|
|
52
|
+
position: relative;
|
|
53
|
+
min-height: 0;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.map-area {
|
|
58
|
+
flex: 1;
|
|
59
|
+
padding: 20px;
|
|
60
|
+
display: grid;
|
|
61
|
+
grid-template-columns: repeat(var(--crt-agent-page-columns, 2), minmax(0, 1fr));
|
|
62
|
+
grid-template-rows: repeat(var(--crt-agent-page-rows, 1), minmax(0, 1fr));
|
|
63
|
+
gap: 15px;
|
|
64
|
+
min-width: 0;
|
|
65
|
+
min-height: 0;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
position: relative;
|
|
68
|
+
z-index: 1;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.map-area.hidden {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.agent-block {
|
|
76
|
+
border: 1px solid #00ff00;
|
|
77
|
+
background: #0a0a0a;
|
|
78
|
+
padding: 10px;
|
|
79
|
+
min-height: 100px;
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
position: relative;
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.agent-block:hover {
|
|
88
|
+
background: #3a3a3a;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.agent-block.hot {
|
|
92
|
+
border-color: #ff0000;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.agent-block.warm {
|
|
96
|
+
border-color: #ff8800;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.agent-block.cool {
|
|
100
|
+
border-color: #0088ff;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.agent-block.cold {
|
|
104
|
+
border-color: #004488;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.agent-block.stopped {
|
|
108
|
+
border-color: #444;
|
|
109
|
+
opacity: 0.5;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.agent-header {
|
|
113
|
+
font-weight: bold;
|
|
114
|
+
margin-bottom: 5px;
|
|
115
|
+
padding-right: 36px;
|
|
116
|
+
white-space: nowrap;
|
|
117
|
+
overflow: hidden;
|
|
118
|
+
text-overflow: ellipsis;
|
|
119
|
+
flex: 0 0 auto;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.agent-status {
|
|
123
|
+
font-size: 12px;
|
|
124
|
+
margin-bottom: 5px;
|
|
125
|
+
color: #00ff00;
|
|
126
|
+
flex: 0 0 auto;
|
|
127
|
+
white-space: nowrap;
|
|
128
|
+
overflow: hidden;
|
|
129
|
+
text-overflow: ellipsis;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.agent-output {
|
|
133
|
+
font-size: 11px;
|
|
134
|
+
flex: 1 1 auto;
|
|
135
|
+
min-height: 60px;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
color: #00ff00;
|
|
138
|
+
position: relative;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.agent-output-tail {
|
|
142
|
+
position: absolute;
|
|
143
|
+
right: 0;
|
|
144
|
+
bottom: 0;
|
|
145
|
+
left: 0;
|
|
146
|
+
white-space: pre-wrap;
|
|
147
|
+
word-break: break-all;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.agent-output-tail.terminal-snapshot {
|
|
151
|
+
white-space: pre;
|
|
152
|
+
word-break: normal;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.terminal-snapshot-row {
|
|
156
|
+
min-height: 1em;
|
|
157
|
+
white-space: pre;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.agent-block.working .agent-output {
|
|
161
|
+
animation: blink 0.5s infinite;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@keyframes blink {
|
|
165
|
+
0%, 100% { opacity: 1; }
|
|
166
|
+
50% { opacity: 0.8; }
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.sidebar {
|
|
170
|
+
width: 200px;
|
|
171
|
+
background: #2a2a2a;
|
|
172
|
+
padding: 15px;
|
|
173
|
+
border-left: 1px solid #00ff00;
|
|
174
|
+
display: flex;
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
min-height: 0;
|
|
177
|
+
overflow-y: auto;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.sidebar-main-agent {
|
|
181
|
+
border: 1px solid #ff0000;
|
|
182
|
+
background: #1a1a1a;
|
|
183
|
+
margin-bottom: 15px;
|
|
184
|
+
flex-shrink: 0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.sidebar-main-agent-header {
|
|
188
|
+
background: #2a2a2a;
|
|
189
|
+
padding: 8px;
|
|
190
|
+
border-bottom: 1px solid #ff0000;
|
|
191
|
+
font-weight: bold;
|
|
192
|
+
color: #ff0000;
|
|
193
|
+
font-size: 12px;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.sidebar-main-agent-content {
|
|
197
|
+
padding: 10px;
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
max-height: 120px;
|
|
200
|
+
overflow: hidden;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.sidebar-main-agent-content:hover {
|
|
204
|
+
background: #2a2a2a;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.sidebar-actions {
|
|
208
|
+
flex: 1;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.sidebar-item {
|
|
212
|
+
padding: 10px;
|
|
213
|
+
margin: 5px 0;
|
|
214
|
+
border: 1px solid #00ff00;
|
|
215
|
+
cursor: pointer;
|
|
216
|
+
background: #1a1a1a;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.sidebar-item:hover {
|
|
220
|
+
background: #3a3a3a;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.sidebar-item .key {
|
|
224
|
+
color: #00ffff;
|
|
225
|
+
font-weight: bold;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.modal {
|
|
229
|
+
display: none;
|
|
230
|
+
position: fixed;
|
|
231
|
+
top: 0;
|
|
232
|
+
left: 0;
|
|
233
|
+
width: 100%;
|
|
234
|
+
height: 100%;
|
|
235
|
+
padding: 16px;
|
|
236
|
+
background: rgba(0, 0, 0, 0.8);
|
|
237
|
+
z-index: 10001;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.modal.active {
|
|
241
|
+
display: flex;
|
|
242
|
+
justify-content: center;
|
|
243
|
+
align-items: center;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.modal-content {
|
|
247
|
+
width: min(92vw, 1600px);
|
|
248
|
+
max-width: 1600px;
|
|
249
|
+
height: min(88vh, 960px);
|
|
250
|
+
max-height: calc(100vh - 32px);
|
|
251
|
+
background: #1a1a1a;
|
|
252
|
+
border: 1px solid #00ff00;
|
|
253
|
+
display: flex;
|
|
254
|
+
flex-direction: column;
|
|
255
|
+
min-width: 0;
|
|
256
|
+
min-height: 0;
|
|
257
|
+
overflow: hidden;
|
|
258
|
+
position: relative;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.modal-header {
|
|
262
|
+
padding: 10px;
|
|
263
|
+
background: #2a2a2a;
|
|
264
|
+
border-bottom: 1px solid #00ff00;
|
|
265
|
+
display: flex;
|
|
266
|
+
justify-content: space-between;
|
|
267
|
+
align-items: center;
|
|
268
|
+
gap: 12px;
|
|
269
|
+
flex-wrap: nowrap;
|
|
270
|
+
flex-shrink: 0;
|
|
271
|
+
min-width: 0;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.modal-header span {
|
|
275
|
+
flex: 1 1 auto;
|
|
276
|
+
min-width: 0;
|
|
277
|
+
white-space: nowrap;
|
|
278
|
+
overflow: hidden;
|
|
279
|
+
text-overflow: ellipsis;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.modal-header > div {
|
|
283
|
+
display: flex;
|
|
284
|
+
gap: 10px;
|
|
285
|
+
flex: 0 0 auto;
|
|
286
|
+
flex-wrap: nowrap;
|
|
287
|
+
justify-content: flex-end;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
#farming-crt .session-header-actions {
|
|
291
|
+
align-items: center;
|
|
292
|
+
gap: 10px;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
#farming-crt .session-header-actions > .kill-btn,
|
|
296
|
+
#farming-crt .session-header-actions > .close-btn {
|
|
297
|
+
height: 38px;
|
|
298
|
+
margin-left: 0;
|
|
299
|
+
padding: 0 14px;
|
|
300
|
+
font-size: 16px;
|
|
301
|
+
line-height: 1;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
#farming-crt .crt-runtime-control {
|
|
305
|
+
display: inline-flex;
|
|
306
|
+
align-items: stretch;
|
|
307
|
+
height: 38px;
|
|
308
|
+
min-height: 38px;
|
|
309
|
+
margin: 0;
|
|
310
|
+
overflow: hidden;
|
|
311
|
+
border: 1px solid var(--crt-phosphor, #00cc66);
|
|
312
|
+
color: var(--crt-phosphor, #00cc66);
|
|
313
|
+
background: #030806;
|
|
314
|
+
box-shadow:
|
|
315
|
+
0 0 7px rgba(0, 255, 102, 0.24),
|
|
316
|
+
inset 0 0 7px rgba(0, 255, 102, 0.08);
|
|
317
|
+
font-family: var(--crt-font, 'Courier New', monospace);
|
|
318
|
+
font-size: 16px;
|
|
319
|
+
line-height: 1;
|
|
320
|
+
white-space: nowrap;
|
|
321
|
+
text-shadow: none;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
#farming-crt .crt-runtime-control[hidden] {
|
|
325
|
+
display: none;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
#farming-crt .crt-runtime-control button,
|
|
329
|
+
#farming-crt .crt-command-shortcut {
|
|
330
|
+
display: grid;
|
|
331
|
+
place-items: center;
|
|
332
|
+
height: 100%;
|
|
333
|
+
border: 0;
|
|
334
|
+
border-radius: 0;
|
|
335
|
+
font: inherit;
|
|
336
|
+
line-height: 1;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
#farming-crt .crt-runtime-control button {
|
|
340
|
+
width: 46px;
|
|
341
|
+
padding: 0;
|
|
342
|
+
color: var(--crt-phosphor, #00cc66);
|
|
343
|
+
background: #030806;
|
|
344
|
+
cursor: pointer;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
#farming-crt .crt-runtime-control button + button,
|
|
348
|
+
#farming-crt .crt-command-shortcut {
|
|
349
|
+
border-left: 1px solid var(--crt-phosphor, #00cc66);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
#farming-crt .crt-runtime-control button.active,
|
|
353
|
+
#farming-crt .crt-runtime-control button:hover:not(:disabled) {
|
|
354
|
+
color: #001409;
|
|
355
|
+
background: var(--crt-phosphor-bright, #55f59b);
|
|
356
|
+
box-shadow: inset 0 0 8px rgba(0, 255, 102, 0.48);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
#farming-crt .crt-runtime-control button:disabled {
|
|
360
|
+
cursor: wait;
|
|
361
|
+
opacity: 0.62;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
#farming-crt .crt-runtime-glyph {
|
|
365
|
+
font-size: inherit;
|
|
366
|
+
font-weight: 700;
|
|
367
|
+
letter-spacing: 0.04em;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
#farming-crt .crt-command-shortcut {
|
|
371
|
+
padding: 0 15px;
|
|
372
|
+
color: var(--crt-phosphor-bright, #55f59b);
|
|
373
|
+
background: #030806;
|
|
374
|
+
font-size: inherit;
|
|
375
|
+
letter-spacing: 0.02em;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
#farming-crt .crt-runtime-control:hover {
|
|
379
|
+
box-shadow:
|
|
380
|
+
0 0 10px rgba(0, 255, 102, 0.42),
|
|
381
|
+
inset 0 0 9px rgba(0, 255, 102, 0.12);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
#farming-crt .crt-runtime-control:hover .crt-command-shortcut {
|
|
385
|
+
background: #06150d;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.crt-runtime-switch-status {
|
|
389
|
+
position: absolute;
|
|
390
|
+
inset: 49px 0 0;
|
|
391
|
+
z-index: 20;
|
|
392
|
+
display: grid;
|
|
393
|
+
place-content: center;
|
|
394
|
+
padding: 24px;
|
|
395
|
+
color: #55f59b;
|
|
396
|
+
background: rgba(1, 12, 6, 0.94);
|
|
397
|
+
text-align: center;
|
|
398
|
+
letter-spacing: 0.08em;
|
|
399
|
+
pointer-events: auto;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.crt-runtime-switch-status[hidden] {
|
|
403
|
+
display: none;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.crt-runtime-switch-status::before {
|
|
407
|
+
content: "[////]";
|
|
408
|
+
display: block;
|
|
409
|
+
margin-bottom: 12px;
|
|
410
|
+
animation: crt-runtime-switch-pulse 700ms steps(2, end) infinite;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.crt-runtime-switch-status.error {
|
|
414
|
+
color: #ff6b6b;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.crt-runtime-switch-status.error::before {
|
|
418
|
+
content: "[!!]";
|
|
419
|
+
animation: none;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
@keyframes crt-runtime-switch-pulse {
|
|
423
|
+
50% { opacity: 0.42; }
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
#settings-modal .settings-body {
|
|
427
|
+
min-height: 0;
|
|
428
|
+
padding: 20px;
|
|
429
|
+
overflow-y: auto;
|
|
430
|
+
scrollbar-gutter: stable;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
#settings-modal .settings-panel {
|
|
434
|
+
scroll-margin-block: 12px;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.terminal {
|
|
438
|
+
flex: 1;
|
|
439
|
+
min-width: 0;
|
|
440
|
+
min-height: 0;
|
|
441
|
+
padding: 4px 8px 8px;
|
|
442
|
+
overflow: hidden;
|
|
443
|
+
background:
|
|
444
|
+
radial-gradient(circle at 50% 18%, rgba(88, 255, 119, 0.08), transparent 34%),
|
|
445
|
+
linear-gradient(180deg, rgba(12, 18, 12, 0.98), rgba(7, 10, 7, 0.98));
|
|
446
|
+
position: relative;
|
|
447
|
+
display: flex;
|
|
448
|
+
flex-direction: column;
|
|
449
|
+
box-shadow: inset 0 0 30px rgba(0, 255, 102, 0.08);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.terminal::before {
|
|
453
|
+
content: "";
|
|
454
|
+
position: absolute;
|
|
455
|
+
inset: 0;
|
|
456
|
+
pointer-events: none;
|
|
457
|
+
background: linear-gradient(
|
|
458
|
+
transparent 0%,
|
|
459
|
+
rgba(255, 255, 255, 0.02) 48%,
|
|
460
|
+
rgba(0, 255, 128, 0.03) 50%,
|
|
461
|
+
transparent 100%
|
|
462
|
+
);
|
|
463
|
+
opacity: 0.5;
|
|
464
|
+
z-index: 0;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.terminal > canvas,
|
|
468
|
+
.terminal > textarea {
|
|
469
|
+
position: relative;
|
|
470
|
+
z-index: 1;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.terminal > canvas {
|
|
474
|
+
max-width: 100%;
|
|
475
|
+
max-height: 100%;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.terminal.crt-structured-session {
|
|
479
|
+
display: block;
|
|
480
|
+
overflow-y: auto;
|
|
481
|
+
padding: 18px 22px;
|
|
482
|
+
scrollbar-gutter: stable;
|
|
483
|
+
scrollbar-width: thin;
|
|
484
|
+
scrollbar-color: rgba(12, 204, 104, 0.46) transparent;
|
|
485
|
+
outline: none;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.terminal.crt-structured-session::-webkit-scrollbar {
|
|
489
|
+
width: 12px;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.terminal.crt-structured-session::-webkit-scrollbar-track {
|
|
493
|
+
background: transparent;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.terminal.crt-structured-session::-webkit-scrollbar-thumb {
|
|
497
|
+
border: 4px solid transparent;
|
|
498
|
+
border-radius: 0;
|
|
499
|
+
background: rgba(12, 204, 104, 0.46);
|
|
500
|
+
background-clip: content-box;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.terminal.crt-structured-session:focus {
|
|
504
|
+
scrollbar-color: #55f59b transparent;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.terminal.crt-structured-session:focus::-webkit-scrollbar-thumb {
|
|
508
|
+
background: #55f59b;
|
|
509
|
+
background-clip: content-box;
|
|
510
|
+
box-shadow: 0 0 5px rgba(85, 245, 155, 0.38);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.crt-structured-transcript {
|
|
514
|
+
display: grid;
|
|
515
|
+
gap: 18px;
|
|
516
|
+
position: relative;
|
|
517
|
+
z-index: 1;
|
|
518
|
+
white-space: pre-wrap;
|
|
519
|
+
overflow-wrap: anywhere;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.crt-structured-turn {
|
|
523
|
+
display: grid;
|
|
524
|
+
gap: 8px;
|
|
525
|
+
padding-bottom: 18px;
|
|
526
|
+
border-bottom: 1px solid rgba(0, 255, 0, 0.22);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.crt-structured-message {
|
|
530
|
+
margin: 0;
|
|
531
|
+
color: #00cc66;
|
|
532
|
+
line-height: 1.55;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.crt-structured-message.user {
|
|
536
|
+
color: #72f7c1;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.crt-structured-message::before {
|
|
540
|
+
display: block;
|
|
541
|
+
margin-bottom: 5px;
|
|
542
|
+
color: #00ff00;
|
|
543
|
+
font-size: 11px;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.crt-structured-message.user::before { content: "[USER]"; }
|
|
547
|
+
.crt-structured-message.assistant::before { content: "[AGENT]"; }
|
|
548
|
+
|
|
549
|
+
.crt-structured-empty,
|
|
550
|
+
.crt-structured-error {
|
|
551
|
+
color: #7d9b86;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.crt-structured-error {
|
|
555
|
+
color: #ff6b6b;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.crt-structured-composer {
|
|
559
|
+
display: none;
|
|
560
|
+
grid-template-columns: 1fr auto;
|
|
561
|
+
gap: 10px;
|
|
562
|
+
align-items: end;
|
|
563
|
+
flex: 0 0 auto;
|
|
564
|
+
padding: 10px;
|
|
565
|
+
border-top: 1px solid #00ff00;
|
|
566
|
+
background: #07110b;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.crt-structured-composer.active {
|
|
570
|
+
display: grid;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.crt-structured-composer-notices,
|
|
574
|
+
.crt-structured-composer-menu,
|
|
575
|
+
.crt-structured-attachments,
|
|
576
|
+
.crt-structured-composer-toolbar {
|
|
577
|
+
grid-column: 1 / -1;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.crt-structured-composer-notices:empty,
|
|
581
|
+
.crt-structured-attachments:empty,
|
|
582
|
+
.crt-structured-composer-menu[hidden] {
|
|
583
|
+
display: none;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.crt-structured-composer-menu,
|
|
587
|
+
.crt-structured-permission {
|
|
588
|
+
padding: 9px 11px;
|
|
589
|
+
border: 1px solid rgba(0, 255, 0, 0.5);
|
|
590
|
+
background: rgba(0, 18, 7, 0.96);
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.crt-structured-menu-title,
|
|
594
|
+
.crt-structured-permission-title {
|
|
595
|
+
margin-bottom: 7px;
|
|
596
|
+
color: #00ff00;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.crt-structured-permission-actions {
|
|
600
|
+
display: flex;
|
|
601
|
+
flex-wrap: wrap;
|
|
602
|
+
gap: 6px;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.crt-structured-menu-items {
|
|
606
|
+
display: grid;
|
|
607
|
+
gap: 4px;
|
|
608
|
+
max-height: min(240px, 36vh);
|
|
609
|
+
overflow-y: auto;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.crt-structured-menu-item,
|
|
613
|
+
.crt-structured-tool,
|
|
614
|
+
.crt-structured-permission-actions button {
|
|
615
|
+
margin: 0;
|
|
616
|
+
padding: 4px 8px;
|
|
617
|
+
border: 1px solid rgba(0, 255, 0, 0.45);
|
|
618
|
+
background: transparent;
|
|
619
|
+
color: #00cc66;
|
|
620
|
+
font: inherit;
|
|
621
|
+
cursor: pointer;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.crt-structured-menu-item:hover,
|
|
625
|
+
.crt-structured-menu-item:focus-visible,
|
|
626
|
+
.crt-structured-tool:hover,
|
|
627
|
+
.crt-structured-tool:focus-visible,
|
|
628
|
+
.crt-structured-permission-actions button:hover,
|
|
629
|
+
.crt-structured-permission-actions button:focus-visible {
|
|
630
|
+
border-color: #00ff00;
|
|
631
|
+
color: #00ff00;
|
|
632
|
+
outline: none;
|
|
633
|
+
box-shadow: 0 0 6px rgba(0, 255, 0, 0.24);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.crt-structured-menu-item.active {
|
|
637
|
+
background: #00cc66;
|
|
638
|
+
color: #001a08;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.crt-structured-menu-item {
|
|
642
|
+
width: 100%;
|
|
643
|
+
text-align: left;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.crt-structured-menu-item:hover,
|
|
647
|
+
.crt-structured-menu-item:focus-visible,
|
|
648
|
+
.crt-structured-tool:focus-visible {
|
|
649
|
+
background: #00ff00;
|
|
650
|
+
color: #001a08;
|
|
651
|
+
text-shadow: none;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.crt-structured-menu-item small,
|
|
655
|
+
.crt-structured-permission p {
|
|
656
|
+
display: block;
|
|
657
|
+
margin: 3px 0 0;
|
|
658
|
+
color: #7d9b86;
|
|
659
|
+
font-size: 11px;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.crt-structured-menu-item small {
|
|
663
|
+
display: -webkit-box;
|
|
664
|
+
overflow: hidden;
|
|
665
|
+
-webkit-box-orient: vertical;
|
|
666
|
+
-webkit-line-clamp: 2;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
.crt-structured-menu-item.active small,
|
|
670
|
+
.crt-structured-menu-item:hover small,
|
|
671
|
+
.crt-structured-menu-item:focus-visible small {
|
|
672
|
+
color: #001a08;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.crt-structured-attachments {
|
|
676
|
+
display: grid;
|
|
677
|
+
gap: 4px;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.crt-structured-attachment {
|
|
681
|
+
display: flex;
|
|
682
|
+
align-items: center;
|
|
683
|
+
gap: 8px;
|
|
684
|
+
color: #72f7c1;
|
|
685
|
+
font-size: 11px;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.crt-structured-attachment button {
|
|
689
|
+
margin: 0;
|
|
690
|
+
padding: 0 4px;
|
|
691
|
+
border: 0;
|
|
692
|
+
background: transparent;
|
|
693
|
+
color: #ff6b6b;
|
|
694
|
+
font: inherit;
|
|
695
|
+
cursor: pointer;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.crt-structured-input-field {
|
|
699
|
+
display: block;
|
|
700
|
+
min-width: 0;
|
|
701
|
+
padding: 7px 0;
|
|
702
|
+
border-bottom: 1px solid rgba(0, 255, 0, 0.34);
|
|
703
|
+
color: #00cc66;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.crt-structured-composer textarea {
|
|
707
|
+
width: 100%;
|
|
708
|
+
min-width: 0;
|
|
709
|
+
min-height: 48px;
|
|
710
|
+
max-height: 168px;
|
|
711
|
+
resize: none;
|
|
712
|
+
padding: 0;
|
|
713
|
+
border: 0;
|
|
714
|
+
outline: none;
|
|
715
|
+
color: #72f7c1;
|
|
716
|
+
background: transparent;
|
|
717
|
+
font: inherit;
|
|
718
|
+
line-height: 1.4;
|
|
719
|
+
overflow-y: hidden;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
.crt-structured-composer textarea:focus {
|
|
723
|
+
box-shadow: none;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.crt-structured-input-field:focus-within {
|
|
727
|
+
border-bottom-color: #00ff00;
|
|
728
|
+
color: #00ff00;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.crt-structured-composer textarea:disabled {
|
|
732
|
+
opacity: 0.55;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
#farming-crt #crt-structured-send {
|
|
736
|
+
min-width: 132px;
|
|
737
|
+
min-height: 34px;
|
|
738
|
+
margin: 0 0 7px;
|
|
739
|
+
padding: 5px 12px;
|
|
740
|
+
border: 1px solid #00ff00;
|
|
741
|
+
border-radius: 0;
|
|
742
|
+
color: #001a08;
|
|
743
|
+
background: #00ff00;
|
|
744
|
+
box-shadow:
|
|
745
|
+
0 0 7px rgba(0, 255, 0, 0.34),
|
|
746
|
+
inset 0 0 6px rgba(210, 255, 220, 0.24);
|
|
747
|
+
font: inherit;
|
|
748
|
+
font-weight: 700;
|
|
749
|
+
text-transform: uppercase;
|
|
750
|
+
text-shadow: none;
|
|
751
|
+
cursor: pointer;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
#farming-crt #crt-structured-send:hover:not(:disabled),
|
|
755
|
+
#farming-crt #crt-structured-send:focus-visible {
|
|
756
|
+
background: #55f59b;
|
|
757
|
+
outline: none;
|
|
758
|
+
box-shadow:
|
|
759
|
+
0 0 11px rgba(0, 255, 0, 0.52),
|
|
760
|
+
inset 0 0 8px rgba(255, 255, 255, 0.28);
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
#farming-crt #crt-structured-send:disabled {
|
|
764
|
+
border-color: #205c39;
|
|
765
|
+
color: #2d7650;
|
|
766
|
+
background: rgba(0, 28, 12, 0.7);
|
|
767
|
+
box-shadow: inset 0 0 6px rgba(0, 255, 0, 0.06);
|
|
768
|
+
opacity: 1;
|
|
769
|
+
cursor: default;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
#farming-crt #crt-structured-send[data-action="interrupt"] {
|
|
773
|
+
border-color: #ff3030;
|
|
774
|
+
color: #190000;
|
|
775
|
+
background: #ff3b30;
|
|
776
|
+
box-shadow: 0 0 8px rgba(255, 48, 48, 0.42);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.crt-structured-composer-status {
|
|
780
|
+
grid-column: 1 / -1;
|
|
781
|
+
color: #7d9b86;
|
|
782
|
+
font-size: 11px;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.crt-structured-composer-status::after {
|
|
786
|
+
content: attr(data-scroll-hint);
|
|
787
|
+
margin-left: 16px;
|
|
788
|
+
color: #087a42;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
.crt-structured-composer-status[data-scroll-active="true"]::after {
|
|
792
|
+
color: #55f59b;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.crt-structured-composer-status.error {
|
|
796
|
+
color: #ff6b6b;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.crt-structured-composer-toolbar {
|
|
800
|
+
display: flex;
|
|
801
|
+
align-items: center;
|
|
802
|
+
gap: 6px;
|
|
803
|
+
min-width: 0;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.crt-structured-composer-usage {
|
|
807
|
+
margin-left: auto;
|
|
808
|
+
color: #7d9b86;
|
|
809
|
+
font-size: 11px;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.crt-structured-file-input {
|
|
813
|
+
display: none;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.empty-state {
|
|
817
|
+
display: flex;
|
|
818
|
+
justify-content: center;
|
|
819
|
+
align-items: center;
|
|
820
|
+
flex: 1;
|
|
821
|
+
flex-direction: column;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
.empty-state h2 {
|
|
825
|
+
margin-bottom: 20px;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.modal.active {
|
|
829
|
+
z-index: 10001;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.input-dialog {
|
|
833
|
+
display: none;
|
|
834
|
+
position: fixed;
|
|
835
|
+
top: 0;
|
|
836
|
+
left: 0;
|
|
837
|
+
width: 100%;
|
|
838
|
+
height: 100%;
|
|
839
|
+
background: rgba(0, 0, 0, 0.9);
|
|
840
|
+
z-index: 10002;
|
|
841
|
+
justify-content: center;
|
|
842
|
+
align-items: center;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
.terminal,
|
|
846
|
+
.terminal * {
|
|
847
|
+
text-shadow: none !important;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.terminal canvas {
|
|
851
|
+
filter: drop-shadow(0 0 6px rgba(124, 255, 118, 0.16)) saturate(1.06);
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.input-dialog.active {
|
|
855
|
+
display: flex;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.input-dialog-content {
|
|
859
|
+
background: #1a1a1a;
|
|
860
|
+
border: 1px solid #00ff00;
|
|
861
|
+
padding: 20px;
|
|
862
|
+
width: min(92vw, 600px);
|
|
863
|
+
max-height: 80vh;
|
|
864
|
+
overflow-y: auto;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
.input-dialog-content h3 {
|
|
868
|
+
margin-bottom: 15px;
|
|
869
|
+
color: #00ff00;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.input-dialog-content button {
|
|
873
|
+
background: #00ff00;
|
|
874
|
+
color: #1a1a1a;
|
|
875
|
+
border: none;
|
|
876
|
+
padding: 10px 20px;
|
|
877
|
+
cursor: pointer;
|
|
878
|
+
font-family: 'Courier New', monospace;
|
|
879
|
+
margin-right: 10px;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
.input-dialog-content button:hover {
|
|
883
|
+
background: #00cc00;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
.input-dialog-content button:disabled {
|
|
887
|
+
background: #555;
|
|
888
|
+
color: #888;
|
|
889
|
+
cursor: not-allowed;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.input-dialog-content .close-btn {
|
|
893
|
+
background: #00ff00 !important;
|
|
894
|
+
color: #1a1a1a !important;
|
|
895
|
+
border: none !important;
|
|
896
|
+
padding: 10px 20px;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
.input-dialog-content .close-btn:hover {
|
|
900
|
+
background: #00cc00 !important;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
.agent-list {
|
|
904
|
+
margin-top: 15px;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.agent-list-group-title {
|
|
908
|
+
color: #00ff00;
|
|
909
|
+
font-size: 14px;
|
|
910
|
+
margin: 12px 0 8px;
|
|
911
|
+
text-transform: lowercase;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
.agent-item {
|
|
915
|
+
border: 1px solid #00ff00;
|
|
916
|
+
background: #0a0a0a;
|
|
917
|
+
padding: 10px;
|
|
918
|
+
margin: 8px 0;
|
|
919
|
+
cursor: pointer;
|
|
920
|
+
transition: all 0.2s;
|
|
921
|
+
position: relative;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
.agent-item:hover {
|
|
925
|
+
background: #1a2a1a;
|
|
926
|
+
border-color: #00ffff;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
.agent-item .name {
|
|
930
|
+
font-weight: bold;
|
|
931
|
+
color: #00ff00;
|
|
932
|
+
margin-bottom: 5px;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
.agent-item .description {
|
|
936
|
+
font-size: 12px;
|
|
937
|
+
color: #888;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.agent-item .key-hint {
|
|
941
|
+
display: inline-block;
|
|
942
|
+
background: #00ff00;
|
|
943
|
+
color: #1a1a1a;
|
|
944
|
+
padding: 2px 8px;
|
|
945
|
+
font-size: 10px;
|
|
946
|
+
font-weight: bold;
|
|
947
|
+
margin-left: 10px;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.close-btn {
|
|
951
|
+
background: #00ff00 !important;
|
|
952
|
+
color: #1a1a1a !important;
|
|
953
|
+
border: none !important;
|
|
954
|
+
padding: 5px 10px;
|
|
955
|
+
cursor: pointer;
|
|
956
|
+
margin-left: 10px;
|
|
957
|
+
font-family: 'Courier New', monospace;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
.close-btn:hover {
|
|
961
|
+
background: #00cc00 !important;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.kill-btn {
|
|
965
|
+
background: #ff0000 !important;
|
|
966
|
+
color: #1a1a1a !important;
|
|
967
|
+
border: none !important;
|
|
968
|
+
padding: 5px 10px;
|
|
969
|
+
cursor: pointer;
|
|
970
|
+
font-family: 'Courier New', monospace;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.kill-btn:hover {
|
|
974
|
+
background: #cc0000 !important;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.dialog-header {
|
|
978
|
+
padding: 10px;
|
|
979
|
+
background: #2a2a2a;
|
|
980
|
+
border-bottom: 1px solid #00ff00;
|
|
981
|
+
display: flex;
|
|
982
|
+
justify-content: space-between;
|
|
983
|
+
align-items: center;
|
|
984
|
+
margin: -20px -20px 15px -20px;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
.dialog-header h3 {
|
|
988
|
+
color: #00ff00;
|
|
989
|
+
margin: 0;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.key-hint {
|
|
993
|
+
position: absolute;
|
|
994
|
+
top: 5px;
|
|
995
|
+
right: 5px;
|
|
996
|
+
background: #00ff00;
|
|
997
|
+
color: #1a1a1a;
|
|
998
|
+
padding: 2px 5px;
|
|
999
|
+
font-size: 10px;
|
|
1000
|
+
font-weight: bold;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
.settings-panel {
|
|
1004
|
+
margin-bottom: 15px;
|
|
1005
|
+
padding: 10px;
|
|
1006
|
+
border: 1px solid rgba(0, 255, 0, 0.72);
|
|
1007
|
+
background: rgba(0, 255, 0, 0.018);
|
|
1008
|
+
box-shadow:
|
|
1009
|
+
0 0 6px rgba(0, 255, 0, 0.2),
|
|
1010
|
+
inset 0 0 7px rgba(0, 255, 0, 0.045);
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.settings-static-value {
|
|
1014
|
+
padding: 8px;
|
|
1015
|
+
background: #0a0a0a;
|
|
1016
|
+
border: 1px solid rgba(0, 255, 0, 0.72);
|
|
1017
|
+
color: #00ff00;
|
|
1018
|
+
box-shadow:
|
|
1019
|
+
0 0 5px rgba(0, 255, 0, 0.18),
|
|
1020
|
+
inset 0 0 5px rgba(0, 255, 0, 0.04);
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.crt-checkbox-label {
|
|
1024
|
+
display: flex;
|
|
1025
|
+
align-items: center;
|
|
1026
|
+
cursor: pointer;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
.crt-checkbox {
|
|
1030
|
+
appearance: none;
|
|
1031
|
+
-webkit-appearance: none;
|
|
1032
|
+
width: 3ch;
|
|
1033
|
+
height: 1.4em;
|
|
1034
|
+
margin: 0 10px 0 0;
|
|
1035
|
+
display: inline-grid;
|
|
1036
|
+
place-content: center;
|
|
1037
|
+
flex: 0 0 auto;
|
|
1038
|
+
color: #00ff00;
|
|
1039
|
+
background: transparent;
|
|
1040
|
+
border: 0;
|
|
1041
|
+
border-radius: 0;
|
|
1042
|
+
font: inherit;
|
|
1043
|
+
line-height: 1;
|
|
1044
|
+
cursor: pointer;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.crt-checkbox::before {
|
|
1048
|
+
content: "[ ]";
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
.crt-checkbox:checked::before {
|
|
1052
|
+
content: "[✓]";
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
.crt-checkbox:focus-visible {
|
|
1056
|
+
outline: 1px dashed currentColor;
|
|
1057
|
+
outline-offset: 2px;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
.crt-checkbox.danger {
|
|
1061
|
+
color: #ff4d4d;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
.crt-range-label,
|
|
1065
|
+
.crt-range-limits {
|
|
1066
|
+
display: flex;
|
|
1067
|
+
align-items: center;
|
|
1068
|
+
justify-content: space-between;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.crt-range-label {
|
|
1072
|
+
margin-bottom: 10px;
|
|
1073
|
+
color: #00ff00;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
.crt-range-label output,
|
|
1077
|
+
.crt-range-limits {
|
|
1078
|
+
color: #888;
|
|
1079
|
+
font-size: 12px;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
.crt-range {
|
|
1083
|
+
width: 100%;
|
|
1084
|
+
margin: 0;
|
|
1085
|
+
accent-color: #00ff00;
|
|
1086
|
+
cursor: pointer;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
.crt-range-limits {
|
|
1090
|
+
margin-top: 5px;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
.workspace-field-copy {
|
|
1094
|
+
color: #00ff00;
|
|
1095
|
+
margin-bottom: 10px;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.workspace-input {
|
|
1099
|
+
width: 100%;
|
|
1100
|
+
padding: 8px 10px;
|
|
1101
|
+
background: #0a0a0a;
|
|
1102
|
+
border: 1px solid #00ff00;
|
|
1103
|
+
color: #00ff00;
|
|
1104
|
+
font-family: 'Courier New', monospace;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
.workspace-history {
|
|
1108
|
+
margin-top: 12px;
|
|
1109
|
+
border: 1px solid #184d18;
|
|
1110
|
+
background: rgba(8, 16, 8, 0.94);
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
.workspace-history-header {
|
|
1114
|
+
display: flex;
|
|
1115
|
+
justify-content: space-between;
|
|
1116
|
+
gap: 10px;
|
|
1117
|
+
padding: 8px 10px;
|
|
1118
|
+
border-bottom: 1px solid #143514;
|
|
1119
|
+
color: #87ff87;
|
|
1120
|
+
font-size: 12px;
|
|
1121
|
+
text-transform: lowercase;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
.workspace-history-header .hint {
|
|
1125
|
+
color: #00ffff;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
.workspace-history-list {
|
|
1129
|
+
max-height: 220px;
|
|
1130
|
+
overflow-y: auto;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.input-dialog-content .workspace-history-item {
|
|
1134
|
+
width: 100%;
|
|
1135
|
+
display: flex;
|
|
1136
|
+
align-items: center;
|
|
1137
|
+
gap: 10px;
|
|
1138
|
+
padding: 8px 10px;
|
|
1139
|
+
border: 1px solid transparent;
|
|
1140
|
+
border-top: 1px solid #102910;
|
|
1141
|
+
background: transparent;
|
|
1142
|
+
color: #00ff00;
|
|
1143
|
+
font-family: 'Courier New', monospace;
|
|
1144
|
+
font-size: 12px;
|
|
1145
|
+
text-align: left;
|
|
1146
|
+
cursor: pointer;
|
|
1147
|
+
margin-right: 0;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
.input-dialog-content .workspace-history-item:first-child {
|
|
1151
|
+
border-top: none;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
.input-dialog-content .workspace-history-item:hover,
|
|
1155
|
+
.input-dialog-content .workspace-history-item.active {
|
|
1156
|
+
background: transparent;
|
|
1157
|
+
color: #9dff97;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
.input-dialog-content .workspace-history-item.active {
|
|
1161
|
+
border-color: #2fdc2f;
|
|
1162
|
+
box-shadow: inset 0 0 0 1px #2fdc2f;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.workspace-history-index {
|
|
1166
|
+
color: #00ffff;
|
|
1167
|
+
flex: 0 0 auto;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
.workspace-history-path {
|
|
1171
|
+
flex: 1;
|
|
1172
|
+
min-width: 0;
|
|
1173
|
+
word-break: break-all;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.workspace-history-badge {
|
|
1177
|
+
color: #0f0f0f;
|
|
1178
|
+
background: #00ff00;
|
|
1179
|
+
padding: 2px 6px;
|
|
1180
|
+
font-size: 10px;
|
|
1181
|
+
text-transform: uppercase;
|
|
1182
|
+
flex: 0 0 auto;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
@media (max-width: 980px) {
|
|
1186
|
+
.modal {
|
|
1187
|
+
padding: 10px;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
.modal-content {
|
|
1191
|
+
width: calc(100vw - 20px);
|
|
1192
|
+
height: calc(100vh - 20px);
|
|
1193
|
+
max-height: calc(100vh - 20px);
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.modal-header {
|
|
1197
|
+
padding: 8px 10px;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
.terminal {
|
|
1201
|
+
padding: 4px 6px 6px;
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
</style>
|
|
1205
|
+
<link rel="stylesheet" href="styles/monochrome-green.css">
|
|
1206
|
+
<link rel="stylesheet" href="styles/history.css">
|
|
1207
|
+
<link rel="stylesheet" href="styles/search.css">
|
|
1208
|
+
<link rel="stylesheet" href="styles/billing.css">
|
|
1209
|
+
</head>
|
|
1210
|
+
<body id="farming-crt">
|
|
1211
|
+
<div class="crt-phosphor-noise" aria-hidden="true"></div>
|
|
1212
|
+
<div class="crt-scan-beam" aria-hidden="true"></div>
|
|
1213
|
+
<div class="top-bar">
|
|
1214
|
+
<div class="top-bar-item">AGENTS: <span id="active-agents">0</span>/<span id="total-agents">0</span></div>
|
|
1215
|
+
<div class="top-bar-item" id="agent-page-item" hidden>PAGE: <span id="agent-page-status">1/1</span></div>
|
|
1216
|
+
<div class="top-bar-item" title="Estimated terminal output tokens per minute over the last 5 minutes">TOK/MIN: <span id="tokens-per-minute">--</span></div>
|
|
1217
|
+
<div class="top-bar-item">CPU: <span id="cpu-usage">--</span>%</div>
|
|
1218
|
+
<div class="top-bar-item">MEM: <span id="mem-percentage">--</span>%</div>
|
|
1219
|
+
<div class="top-bar-item" id="focus-region" style="display: none;">Focus: <span id="focus-region-name">--</span></div>
|
|
1220
|
+
<div class="top-bar-item system-ip">IP: <span id="system-ip">--</span></div>
|
|
1221
|
+
<div class="top-bar-item">TIME: <span id="system-time">--</span></div>
|
|
1222
|
+
<div class="top-bar-item">UPTIME: <span id="uptime">0s</span></div>
|
|
1223
|
+
</div>
|
|
1224
|
+
|
|
1225
|
+
<div class="main-container">
|
|
1226
|
+
<div class="map-area" id="map-area">
|
|
1227
|
+
<div class="empty-state" id="empty-state">
|
|
1228
|
+
<h2>No Agents Running</h2>
|
|
1229
|
+
<p>Press <strong>N</strong> to start a new agent</p>
|
|
1230
|
+
</div>
|
|
1231
|
+
</div>
|
|
1232
|
+
|
|
1233
|
+
<section class="history-area hidden" id="history-area" aria-label="History">
|
|
1234
|
+
<div class="history-header">
|
|
1235
|
+
<h2>History</h2>
|
|
1236
|
+
</div>
|
|
1237
|
+
<div class="history-list" id="history-list"></div>
|
|
1238
|
+
<div class="history-footer">
|
|
1239
|
+
<span>[↑↓] Select [Enter] Open / Continue [Esc] Back</span>
|
|
1240
|
+
<span class="history-pagination">
|
|
1241
|
+
<button type="button" id="history-page-prev" tabindex="-1" onclick="changeCrtHistoryPage(-1)">[←] Prev</button>
|
|
1242
|
+
<span id="history-page-status">1/1 · 0</span>
|
|
1243
|
+
<button type="button" id="history-page-next" tabindex="-1" onclick="changeCrtHistoryPage(1)">Next [→]</button>
|
|
1244
|
+
</span>
|
|
1245
|
+
</div>
|
|
1246
|
+
</section>
|
|
1247
|
+
|
|
1248
|
+
<section class="search-area hidden" id="search-area" aria-label="Search">
|
|
1249
|
+
<div class="search-header">
|
|
1250
|
+
<h2>Search</h2>
|
|
1251
|
+
<span class="search-status" id="search-status">STANDBY</span>
|
|
1252
|
+
</div>
|
|
1253
|
+
<label class="search-query" for="crt-search-input">
|
|
1254
|
+
<span class="search-prompt" aria-hidden="true">QUERY></span>
|
|
1255
|
+
<input
|
|
1256
|
+
id="crt-search-input"
|
|
1257
|
+
type="search"
|
|
1258
|
+
autocomplete="off"
|
|
1259
|
+
autocorrect="off"
|
|
1260
|
+
autocapitalize="none"
|
|
1261
|
+
spellcheck="false"
|
|
1262
|
+
enterkeyhint="search"
|
|
1263
|
+
placeholder="PROJECT / AGENT / SESSION"
|
|
1264
|
+
aria-label="Search projects, Agents, and sessions"
|
|
1265
|
+
data-crt-nav-key="search:input"
|
|
1266
|
+
data-crt-nav-default="true"
|
|
1267
|
+
tabindex="-1"
|
|
1268
|
+
>
|
|
1269
|
+
<span class="search-cursor" aria-hidden="true"></span>
|
|
1270
|
+
</label>
|
|
1271
|
+
<div class="search-list" id="search-list" aria-live="polite"></div>
|
|
1272
|
+
<div class="search-footer">
|
|
1273
|
+
<span>[↑↓] Select [Enter] Open / Resume [Esc] Back</span>
|
|
1274
|
+
<span id="search-result-status">0 RECORDS</span>
|
|
1275
|
+
</div>
|
|
1276
|
+
</section>
|
|
1277
|
+
|
|
1278
|
+
<section class="billing-area hidden" id="billing-area" aria-label="Billing">
|
|
1279
|
+
<div class="billing-header">
|
|
1280
|
+
<h2>Billing</h2>
|
|
1281
|
+
<div class="billing-header-actions">
|
|
1282
|
+
<div class="billing-view-switch" role="tablist" aria-label="Billing view">
|
|
1283
|
+
<button type="button" id="billing-days-tab" class="active" role="tab" aria-selected="true" data-crt-nav-key="billing:days" tabindex="-1" onclick="setCrtBillingMode('days')">[D] DAYS</button>
|
|
1284
|
+
<button type="button" id="billing-live-tab" role="tab" aria-selected="false" data-crt-nav-key="billing:live" tabindex="-1" onclick="setCrtBillingMode('live')">[L] LIVE</button>
|
|
1285
|
+
</div>
|
|
1286
|
+
<span class="billing-status" id="billing-status">STANDBY</span>
|
|
1287
|
+
</div>
|
|
1288
|
+
</div>
|
|
1289
|
+
<div class="billing-body">
|
|
1290
|
+
<div class="billing-view" id="billing-days-view">
|
|
1291
|
+
<div class="billing-summary billing-daily-summary" aria-label="Daily token usage summary">
|
|
1292
|
+
<div class="billing-summary-item"><span>TODAY</span><strong id="billing-today-total">--</strong><small>PARTIAL</small></div>
|
|
1293
|
+
<div class="billing-summary-item"><span>7D</span><strong id="billing-7d-total">--</strong></div>
|
|
1294
|
+
<div class="billing-summary-item"><span>30D</span><strong id="billing-30d-total">--</strong></div>
|
|
1295
|
+
<div class="billing-summary-item"><span>52W</span><strong id="billing-period-total">--</strong></div>
|
|
1296
|
+
<div class="billing-summary-item"><span>ACTIVE</span><strong id="billing-active-days">--</strong><small>DAYS</small></div>
|
|
1297
|
+
<div class="billing-summary-item"><span>1B+</span><strong id="billing-billion-days">--</strong><small>DAYS</small></div>
|
|
1298
|
+
</div>
|
|
1299
|
+
|
|
1300
|
+
<section class="billing-panel billing-daily-chart-panel" aria-label="Daily processed token history">
|
|
1301
|
+
<div class="billing-panel-heading">
|
|
1302
|
+
<h3>DAILY PROCESSED TOKENS // 120 DAYS // LOG SCALE</h3>
|
|
1303
|
+
<span id="billing-peak-day">PEAK --</span>
|
|
1304
|
+
</div>
|
|
1305
|
+
<div class="billing-daily-legend" aria-hidden="true">
|
|
1306
|
+
<span><i class="is-cache"></i>CACHE</span>
|
|
1307
|
+
<span><i class="is-direct"></i>INPUT / OUTPUT / OTHER</span>
|
|
1308
|
+
<span><i class="is-billion"></i>1B+ DAY</span>
|
|
1309
|
+
</div>
|
|
1310
|
+
<div class="billing-axis-meta" aria-hidden="true">
|
|
1311
|
+
<span>Y: TOKENS / DAY [LOG10]</span>
|
|
1312
|
+
<span>X: LOCAL DATE</span>
|
|
1313
|
+
</div>
|
|
1314
|
+
<div class="billing-daily-chart-frame">
|
|
1315
|
+
<div class="billing-y-axis" id="billing-y-axis" aria-hidden="true"></div>
|
|
1316
|
+
<div class="billing-daily-scroll" id="billing-daily-scroll">
|
|
1317
|
+
<div class="billing-daily-plot">
|
|
1318
|
+
<div class="billing-log-guides" id="billing-log-guides" aria-hidden="true"></div>
|
|
1319
|
+
<div class="billing-daily-bars" id="billing-daily-bars" role="grid" aria-label="Daily token totals for the last 120 days on a logarithmic scale"></div>
|
|
1320
|
+
</div>
|
|
1321
|
+
<div class="billing-daily-x-axis" id="billing-daily-x-axis" aria-hidden="true"></div>
|
|
1322
|
+
</div>
|
|
1323
|
+
</div>
|
|
1324
|
+
<div class="billing-activity-row">
|
|
1325
|
+
<span>52W ACTIVITY</span>
|
|
1326
|
+
<div class="billing-activity-strip" id="billing-activity-strip" role="img" aria-label="52-week daily activity continuity"></div>
|
|
1327
|
+
<span id="billing-daily-range">LOCAL TIME</span>
|
|
1328
|
+
</div>
|
|
1329
|
+
</section>
|
|
1330
|
+
|
|
1331
|
+
<section class="billing-panel billing-day-panel" aria-label="Selected day token details">
|
|
1332
|
+
<div class="billing-panel-heading">
|
|
1333
|
+
<h3 id="billing-day-date">SELECT A DAY</h3>
|
|
1334
|
+
<span id="billing-day-state">LOCAL HISTORY</span>
|
|
1335
|
+
</div>
|
|
1336
|
+
<div class="billing-day-details">
|
|
1337
|
+
<div class="billing-day-total"><small>TOTAL</small><strong id="billing-day-total">--</strong><span>TOKENS</span></div>
|
|
1338
|
+
<div class="billing-day-breakdown"><small>INPUT</small><strong id="billing-day-input">--</strong></div>
|
|
1339
|
+
<div class="billing-day-breakdown"><small>OUTPUT</small><strong id="billing-day-output">--</strong></div>
|
|
1340
|
+
<div class="billing-day-breakdown"><small>CACHE READ</small><strong id="billing-day-cache-read">--</strong></div>
|
|
1341
|
+
<div class="billing-day-breakdown"><small>CACHE WRITE</small><strong id="billing-day-cache-write">--</strong></div>
|
|
1342
|
+
<div class="billing-day-breakdown"><small>CHANNELS</small><strong id="billing-day-providers">--</strong></div>
|
|
1343
|
+
</div>
|
|
1344
|
+
<div class="billing-day-insights">
|
|
1345
|
+
<div class="billing-day-curve-panel">
|
|
1346
|
+
<div class="billing-day-subheading">
|
|
1347
|
+
<span>INTRADAY CURVE // 1H BINS</span>
|
|
1348
|
+
<span id="billing-day-curve-scale">-- TOK/H PEAK</span>
|
|
1349
|
+
</div>
|
|
1350
|
+
<div class="billing-day-curve-frame">
|
|
1351
|
+
<div class="billing-day-curve-y-axis" aria-hidden="true">
|
|
1352
|
+
<span id="billing-day-curve-max">--</span>
|
|
1353
|
+
<span>0</span>
|
|
1354
|
+
</div>
|
|
1355
|
+
<svg class="billing-day-curve" viewBox="0 0 600 120" preserveAspectRatio="none" role="img" aria-label="Selected day total and cache tokens by local hour">
|
|
1356
|
+
<g class="billing-day-curve-grid" aria-hidden="true">
|
|
1357
|
+
<line x1="0" y1="0" x2="600" y2="0"></line>
|
|
1358
|
+
<line x1="0" y1="40" x2="600" y2="40"></line>
|
|
1359
|
+
<line x1="0" y1="80" x2="600" y2="80"></line>
|
|
1360
|
+
<line x1="0" y1="120" x2="600" y2="120"></line>
|
|
1361
|
+
<line x1="0" y1="0" x2="0" y2="120"></line>
|
|
1362
|
+
<line x1="156.5" y1="0" x2="156.5" y2="120"></line>
|
|
1363
|
+
<line x1="313" y1="0" x2="313" y2="120"></line>
|
|
1364
|
+
<line x1="469.5" y1="0" x2="469.5" y2="120"></line>
|
|
1365
|
+
<line x1="600" y1="0" x2="600" y2="120"></line>
|
|
1366
|
+
</g>
|
|
1367
|
+
<path id="billing-day-cache-path" class="billing-day-curve-cache"></path>
|
|
1368
|
+
<path id="billing-day-total-path" class="billing-day-curve-total"></path>
|
|
1369
|
+
</svg>
|
|
1370
|
+
</div>
|
|
1371
|
+
<div class="billing-day-curve-x-axis" aria-hidden="true">
|
|
1372
|
+
<span>00</span><span>06</span><span>12</span><span>18</span><span>23</span>
|
|
1373
|
+
</div>
|
|
1374
|
+
<div class="billing-day-curve-footer">
|
|
1375
|
+
<span id="billing-day-insight-state">SELECTED DAY DETAIL</span>
|
|
1376
|
+
<span class="billing-day-curve-legend"><i class="is-total"></i>TOTAL <i class="is-cache"></i>CACHE</span>
|
|
1377
|
+
</div>
|
|
1378
|
+
</div>
|
|
1379
|
+
<div class="billing-day-share-panel">
|
|
1380
|
+
<div class="billing-day-subheading">
|
|
1381
|
+
<span>AGENT TYPE SHARE</span>
|
|
1382
|
+
<span>PROCESSED TOKENS</span>
|
|
1383
|
+
</div>
|
|
1384
|
+
<div class="billing-day-provider-shares" id="billing-day-provider-shares" aria-live="polite"></div>
|
|
1385
|
+
</div>
|
|
1386
|
+
</div>
|
|
1387
|
+
</section>
|
|
1388
|
+
</div>
|
|
1389
|
+
|
|
1390
|
+
<div class="billing-view hidden" id="billing-live-view">
|
|
1391
|
+
<div class="billing-summary" aria-label="Live token usage summary">
|
|
1392
|
+
<div class="billing-meter">
|
|
1393
|
+
<span>SIGNAL</span>
|
|
1394
|
+
<strong id="billing-current-rate">--</strong>
|
|
1395
|
+
<small>TOK/MIN · 5M</small>
|
|
1396
|
+
</div>
|
|
1397
|
+
<div class="billing-meter">
|
|
1398
|
+
<span>INTEGRAL</span>
|
|
1399
|
+
<strong id="billing-window-total">--</strong>
|
|
1400
|
+
<small>TOKENS · 60M</small>
|
|
1401
|
+
</div>
|
|
1402
|
+
<div class="billing-meter">
|
|
1403
|
+
<span>PEAK</span>
|
|
1404
|
+
<strong id="billing-peak-rate">--</strong>
|
|
1405
|
+
<small>TOK/MIN · 60M</small>
|
|
1406
|
+
</div>
|
|
1407
|
+
<div class="billing-meter">
|
|
1408
|
+
<span>DUTY</span>
|
|
1409
|
+
<strong id="billing-duty-cycle">--</strong>
|
|
1410
|
+
<small>ACTIVE BINS</small>
|
|
1411
|
+
</div>
|
|
1412
|
+
</div>
|
|
1413
|
+
|
|
1414
|
+
<section class="billing-scope-panel" aria-label="Token burn oscilloscope">
|
|
1415
|
+
<div class="billing-panel-heading">
|
|
1416
|
+
<h3>TOKEN BURN // 60 MINUTES</h3>
|
|
1417
|
+
<span id="billing-scope-scale">-- TOK/MIN PEAK</span>
|
|
1418
|
+
</div>
|
|
1419
|
+
<div class="billing-scope-screen">
|
|
1420
|
+
<canvas id="billing-scope" role="img" aria-label="Token burn rate over the last 60 minutes"></canvas>
|
|
1421
|
+
<div class="billing-scope-sweep" aria-hidden="true"></div>
|
|
1422
|
+
<div class="billing-scope-empty" id="billing-scope-empty">AWAITING SIGNAL</div>
|
|
1423
|
+
</div>
|
|
1424
|
+
<div class="billing-scope-axis" aria-hidden="true">
|
|
1425
|
+
<span>-60M</span><span>-30M</span><span>NOW</span>
|
|
1426
|
+
</div>
|
|
1427
|
+
</section>
|
|
1428
|
+
</div>
|
|
1429
|
+
|
|
1430
|
+
<div class="billing-lower-grid">
|
|
1431
|
+
<section class="billing-panel" aria-label="Quota windows">
|
|
1432
|
+
<div class="billing-panel-heading">
|
|
1433
|
+
<h3>QUOTA WINDOWS</h3>
|
|
1434
|
+
<span>LOCAL TELEMETRY</span>
|
|
1435
|
+
</div>
|
|
1436
|
+
<div class="billing-quota-list" id="billing-quota-list"></div>
|
|
1437
|
+
</section>
|
|
1438
|
+
<section class="billing-panel" aria-label="Provider channels">
|
|
1439
|
+
<div class="billing-panel-heading">
|
|
1440
|
+
<h3>CHANNELS</h3>
|
|
1441
|
+
<span>5 MINUTES</span>
|
|
1442
|
+
</div>
|
|
1443
|
+
<div class="billing-provider-list" id="billing-provider-list"></div>
|
|
1444
|
+
</section>
|
|
1445
|
+
</div>
|
|
1446
|
+
</div>
|
|
1447
|
+
<div class="billing-footer">
|
|
1448
|
+
<span>[D] Days [L] Live [R] Refresh [↑↓←→] Select Day [Esc] Back</span>
|
|
1449
|
+
<button type="button" id="billing-refresh" data-crt-nav-key="billing:refresh" data-crt-nav-default="true" tabindex="-1" onclick="refreshCrtBilling()">REFRESH [R]</button>
|
|
1450
|
+
</div>
|
|
1451
|
+
</section>
|
|
1452
|
+
|
|
1453
|
+
<div class="sidebar">
|
|
1454
|
+
<div class="sidebar-actions">
|
|
1455
|
+
<div class="sidebar-item" role="button" tabindex="-1" data-crt-nav-key="sidebar:new-agent" onclick="showInputDialog()">
|
|
1456
|
+
<span class="key">[N]</span> NEW AGENT
|
|
1457
|
+
</div>
|
|
1458
|
+
<div class="sidebar-item" id="search-sidebar-item" role="button" tabindex="-1" data-crt-nav-key="sidebar:search" onclick="showCrtSearch()">
|
|
1459
|
+
<span class="key">[F]</span> SEARCH
|
|
1460
|
+
</div>
|
|
1461
|
+
<div class="sidebar-item" id="history-sidebar-item" role="button" tabindex="-1" data-crt-nav-key="sidebar:history" onclick="showHistory()">
|
|
1462
|
+
<span class="key">[H]</span> HISTORY
|
|
1463
|
+
</div>
|
|
1464
|
+
<div class="sidebar-item" style="opacity: 0.5; cursor: not-allowed;">
|
|
1465
|
+
<span class="key">[E]</span> EXTENSIONS
|
|
1466
|
+
</div>
|
|
1467
|
+
<div class="sidebar-item" id="billing-sidebar-item" role="button" tabindex="-1" data-crt-nav-key="sidebar:billing" onclick="showCrtBilling()">
|
|
1468
|
+
<span class="key">[$]</span> BILLING
|
|
1469
|
+
</div>
|
|
1470
|
+
<div class="sidebar-item" role="button" tabindex="-1" data-crt-nav-key="sidebar:settings" onclick="showSettings()">
|
|
1471
|
+
<span class="key">[S]</span> SETTINGS
|
|
1472
|
+
</div>
|
|
1473
|
+
</div>
|
|
1474
|
+
|
|
1475
|
+
<div class="crt-brand-lockup" id="crt-brand-lockup" role="img" aria-label="Farming CRT multi-agent terminal monitor">
|
|
1476
|
+
<div class="crt-brand-mark" aria-hidden="true">
|
|
1477
|
+
<svg viewBox="0 0 64 52" focusable="false">
|
|
1478
|
+
<rect class="crt-brand-case" x="2" y="2" width="60" height="43" rx="8"></rect>
|
|
1479
|
+
<rect class="crt-brand-pane crt-brand-pane-main" data-brand-pane="main" x="9" y="9" width="19" height="29" rx="3"></rect>
|
|
1480
|
+
<rect class="crt-brand-pane crt-brand-pane-worker-a" data-brand-pane="worker-a" x="33" y="9" width="22" height="12" rx="3"></rect>
|
|
1481
|
+
<rect class="crt-brand-pane crt-brand-pane-worker-b" data-brand-pane="worker-b" x="33" y="26" width="22" height="12" rx="3"></rect>
|
|
1482
|
+
<path class="crt-brand-prompt crt-brand-prompt-main" d="M13 17l4 3-4 3m6 0h4"></path>
|
|
1483
|
+
<path class="crt-brand-prompt crt-brand-prompt-worker-a" d="M37 13l3 2-3 2m5 0h4"></path>
|
|
1484
|
+
<path class="crt-brand-prompt crt-brand-prompt-worker-b" d="M37 30l3 2-3 2m5 0h4"></path>
|
|
1485
|
+
<path class="crt-brand-stand" d="M11 50h38m5 0h2"></path>
|
|
1486
|
+
</svg>
|
|
1487
|
+
</div>
|
|
1488
|
+
<div class="crt-brand-wordmark" aria-hidden="true">
|
|
1489
|
+
<span class="crt-brand-name">FARMING</span>
|
|
1490
|
+
<span class="crt-brand-model">CRT</span>
|
|
1491
|
+
</div>
|
|
1492
|
+
</div>
|
|
1493
|
+
|
|
1494
|
+
<div class="crt-keyboard-guide" role="img" aria-label="Arrow keys move, Enter selects, Escape goes back">
|
|
1495
|
+
<svg viewBox="0 0 172 38" focusable="false" aria-hidden="true">
|
|
1496
|
+
<defs>
|
|
1497
|
+
<filter id="crt-keyboard-soft-phosphor" x="-20%" y="-20%" width="140%" height="150%">
|
|
1498
|
+
<feGaussianBlur stdDeviation="0.45" result="blur"></feGaussianBlur>
|
|
1499
|
+
<feMerge>
|
|
1500
|
+
<feMergeNode in="blur"></feMergeNode>
|
|
1501
|
+
<feMergeNode in="SourceGraphic"></feMergeNode>
|
|
1502
|
+
</feMerge>
|
|
1503
|
+
</filter>
|
|
1504
|
+
</defs>
|
|
1505
|
+
<g filter="url(#crt-keyboard-soft-phosphor)">
|
|
1506
|
+
<text class="crt-keyboard-guide-hint" x="2" y="9">USE</text>
|
|
1507
|
+
<text class="crt-keyboard-guide-hint" x="2" y="27">KEYBOARD</text>
|
|
1508
|
+
<g transform="translate(92 2)">
|
|
1509
|
+
<rect class="crt-keycap-side" x="0.5" y="2.5" width="18" height="14" rx="1.5"></rect>
|
|
1510
|
+
<rect class="crt-keycap-top" x="0.5" y="0.5" width="18" height="14" rx="1.5"></rect>
|
|
1511
|
+
<text class="crt-keycap-label" x="9.5" y="7.5">↑</text>
|
|
1512
|
+
</g>
|
|
1513
|
+
<g transform="translate(73 20)">
|
|
1514
|
+
<rect class="crt-keycap-side" x="0.5" y="2.5" width="18" height="14" rx="1.5"></rect>
|
|
1515
|
+
<rect class="crt-keycap-top" x="0.5" y="0.5" width="18" height="14" rx="1.5"></rect>
|
|
1516
|
+
<text class="crt-keycap-label" x="9.5" y="7.5">←</text>
|
|
1517
|
+
</g>
|
|
1518
|
+
<g transform="translate(92 20)">
|
|
1519
|
+
<rect class="crt-keycap-side" x="0.5" y="2.5" width="18" height="14" rx="1.5"></rect>
|
|
1520
|
+
<rect class="crt-keycap-top" x="0.5" y="0.5" width="18" height="14" rx="1.5"></rect>
|
|
1521
|
+
<text class="crt-keycap-label" x="9.5" y="7.5">↓</text>
|
|
1522
|
+
</g>
|
|
1523
|
+
<g transform="translate(111 20)">
|
|
1524
|
+
<rect class="crt-keycap-side" x="0.5" y="2.5" width="18" height="14" rx="1.5"></rect>
|
|
1525
|
+
<rect class="crt-keycap-top" x="0.5" y="0.5" width="18" height="14" rx="1.5"></rect>
|
|
1526
|
+
<text class="crt-keycap-label" x="9.5" y="7.5">→</text>
|
|
1527
|
+
</g>
|
|
1528
|
+
<g transform="translate(62 2)">
|
|
1529
|
+
<rect class="crt-keycap-side" x="0.5" y="2.5" width="28" height="14" rx="1.5"></rect>
|
|
1530
|
+
<rect class="crt-keycap-top" x="0.5" y="0.5" width="28" height="14" rx="1.5"></rect>
|
|
1531
|
+
<text class="crt-keycap-label crt-keycap-label-small" x="14.5" y="7.5">ESC</text>
|
|
1532
|
+
</g>
|
|
1533
|
+
<g transform="translate(113 2)">
|
|
1534
|
+
<path class="crt-keycap-side" d="M.5 2.5h56v32h-18v-18h-38z"></path>
|
|
1535
|
+
<path class="crt-keycap-top" d="M.5.5h56v32h-18v-18h-38z"></path>
|
|
1536
|
+
<text class="crt-keycap-label crt-keycap-label-small" x="25" y="7.5">ENTER</text>
|
|
1537
|
+
<text class="crt-keycap-label crt-keycap-return" x="47.5" y="24">↵</text>
|
|
1538
|
+
</g>
|
|
1539
|
+
</g>
|
|
1540
|
+
</svg>
|
|
1541
|
+
</div>
|
|
1542
|
+
|
|
1543
|
+
<div class="sidebar-main-agent" id="main-agent-panel" style="display: none;">
|
|
1544
|
+
<div class="sidebar-main-agent-header">
|
|
1545
|
+
MAIN AGENT <span style="background: #ff0000; color: #1a1a1a; padding: 2px 5px; font-size: 10px; font-weight: bold;">[0]</span>
|
|
1546
|
+
</div>
|
|
1547
|
+
<div class="sidebar-main-agent-content" id="main-agent-block"></div>
|
|
1548
|
+
</div>
|
|
1549
|
+
</div>
|
|
1550
|
+
</div>
|
|
1551
|
+
|
|
1552
|
+
<div class="input-dialog" id="input-dialog">
|
|
1553
|
+
<div class="input-dialog-content">
|
|
1554
|
+
<div class="dialog-header">
|
|
1555
|
+
<h3 id="dialog-title">Start Main Agent</h3>
|
|
1556
|
+
<div id="cancel-button-container">
|
|
1557
|
+
<button class="close-btn" data-crt-nav-key="new-agent:close" onclick="hideInputDialog()">Esc</button>
|
|
1558
|
+
</div>
|
|
1559
|
+
</div>
|
|
1560
|
+
<div class="agent-list" id="agent-list">
|
|
1561
|
+
<p style="color: #888; font-size: 12px;">Loading available CLI agents...</p>
|
|
1562
|
+
</div>
|
|
1563
|
+
<div id="workspace-input-container" style="display: none; margin-top: 15px;">
|
|
1564
|
+
<p class="workspace-field-copy">Workspace:</p>
|
|
1565
|
+
<input
|
|
1566
|
+
type="text"
|
|
1567
|
+
id="workspace-input"
|
|
1568
|
+
class="workspace-input"
|
|
1569
|
+
data-crt-nav-key="new-agent:workspace"
|
|
1570
|
+
placeholder="/path/to/workspace"
|
|
1571
|
+
autocomplete="off"
|
|
1572
|
+
autocorrect="off"
|
|
1573
|
+
autocapitalize="off"
|
|
1574
|
+
spellcheck="false"
|
|
1575
|
+
aria-autocomplete="none"
|
|
1576
|
+
data-form-type="other"
|
|
1577
|
+
>
|
|
1578
|
+
<div class="workspace-history" id="workspace-history" style="display: none;">
|
|
1579
|
+
<div class="workspace-history-header">
|
|
1580
|
+
<span>recent workspaces</span>
|
|
1581
|
+
<span class="hint">[↓][↑]</span>
|
|
1582
|
+
</div>
|
|
1583
|
+
<div class="workspace-history-list" id="workspace-history-list"></div>
|
|
1584
|
+
</div>
|
|
1585
|
+
<div style="margin-top: 10px;">
|
|
1586
|
+
<button data-crt-nav-key="new-agent:start" onclick="confirmStartAgent()">Start [Enter]</button>
|
|
1587
|
+
<button data-crt-nav-key="new-agent:back" onclick="backToAgentList()">Back [Esc]</button>
|
|
1588
|
+
</div>
|
|
1589
|
+
</div>
|
|
1590
|
+
</div>
|
|
1591
|
+
</div>
|
|
1592
|
+
|
|
1593
|
+
<div class="modal" id="session-modal">
|
|
1594
|
+
<div class="modal-content">
|
|
1595
|
+
<div class="modal-header">
|
|
1596
|
+
<span id="session-title">Agent Session</span>
|
|
1597
|
+
<div class="session-header-actions">
|
|
1598
|
+
<div class="crt-runtime-control" id="crt-runtime-toggle" role="group" aria-label="Session view" hidden>
|
|
1599
|
+
<button type="button" id="crt-runtime-chat" aria-label="Chat view" title="Chat view [Alt+M]" aria-pressed="false" onclick="switchCrtSessionRuntimeMode('acp')">
|
|
1600
|
+
<span class="crt-runtime-glyph" aria-hidden="true">MSG</span>
|
|
1601
|
+
</button>
|
|
1602
|
+
<button type="button" id="crt-runtime-terminal" aria-label="Terminal view" title="Terminal view [Alt+M]" aria-pressed="false" onclick="switchCrtSessionRuntimeMode('terminal')">
|
|
1603
|
+
<span class="crt-runtime-glyph" aria-hidden="true">TTY</span>
|
|
1604
|
+
</button>
|
|
1605
|
+
<span class="crt-command-shortcut" aria-hidden="true">[ALT+M]</span>
|
|
1606
|
+
</div>
|
|
1607
|
+
<button class="kill-btn" aria-label="Kill Agent, Ctrl+K" onclick="killCurrentAgent()">KILL [CTRL+K]</button>
|
|
1608
|
+
<button class="close-btn" aria-label="Close session, Ctrl+Escape" onclick="closeSession()">CLOSE [CTRL+ESC]</button>
|
|
1609
|
+
</div>
|
|
1610
|
+
</div>
|
|
1611
|
+
<div class="crt-runtime-switch-status" id="crt-runtime-switch-status" role="status" aria-live="polite" hidden>
|
|
1612
|
+
<span id="crt-runtime-switch-message"></span>
|
|
1613
|
+
</div>
|
|
1614
|
+
<div class="terminal" id="terminal-output"></div>
|
|
1615
|
+
<form class="crt-structured-composer" id="crt-structured-composer">
|
|
1616
|
+
<div class="crt-structured-composer-notices" id="crt-structured-composer-notices"></div>
|
|
1617
|
+
<div class="crt-structured-attachments" id="crt-structured-attachments"></div>
|
|
1618
|
+
<label class="crt-structured-input-field" for="crt-structured-input">
|
|
1619
|
+
<textarea id="crt-structured-input" rows="2" placeholder="Type a message..."></textarea>
|
|
1620
|
+
</label>
|
|
1621
|
+
<button type="submit" id="crt-structured-send">SEND [ENTER]</button>
|
|
1622
|
+
<div class="crt-structured-composer-toolbar" id="crt-structured-composer-toolbar">
|
|
1623
|
+
<button class="crt-structured-tool" type="button" id="crt-structured-attach">[+ FILE]</button>
|
|
1624
|
+
<button class="crt-structured-tool" type="button" id="crt-structured-command" hidden>[CMD]</button>
|
|
1625
|
+
<button class="crt-structured-tool" type="button" id="crt-structured-mode" hidden>[MODE]</button>
|
|
1626
|
+
<button class="crt-structured-tool" type="button" id="crt-structured-config" hidden>[CONFIG]</button>
|
|
1627
|
+
<span class="crt-structured-composer-usage" id="crt-structured-composer-usage"></span>
|
|
1628
|
+
</div>
|
|
1629
|
+
<div class="crt-structured-composer-menu" id="crt-structured-composer-menu" hidden></div>
|
|
1630
|
+
<input class="crt-structured-file-input" type="file" id="crt-structured-file-input" multiple>
|
|
1631
|
+
<div class="crt-structured-composer-status" id="crt-structured-composer-status"></div>
|
|
1632
|
+
</form>
|
|
1633
|
+
</div>
|
|
1634
|
+
</div>
|
|
1635
|
+
|
|
1636
|
+
<div class="modal" id="settings-modal">
|
|
1637
|
+
<div class="modal-content" style="max-width: 600px;">
|
|
1638
|
+
<div class="modal-header">
|
|
1639
|
+
<span>Settings</span>
|
|
1640
|
+
<button class="close-btn" data-crt-nav-key="settings:close" onclick="hideSettings()">Esc</button>
|
|
1641
|
+
</div>
|
|
1642
|
+
<div class="settings-body">
|
|
1643
|
+
<h3 style="margin-bottom: 15px; color: #00ff00;">UI Theme</h3>
|
|
1644
|
+
<div id="theme-list"></div>
|
|
1645
|
+
|
|
1646
|
+
<h3 style="margin: 30px 0 15px; color: #00ff00;">Display</h3>
|
|
1647
|
+
<div id="display-settings">
|
|
1648
|
+
<div id="crt-effects-container" class="settings-panel">
|
|
1649
|
+
<label class="crt-checkbox-label" tabindex="-1" data-crt-nav-key="settings:crt-effects">
|
|
1650
|
+
<input type="checkbox" id="crt-effects" class="crt-checkbox">
|
|
1651
|
+
<span style="color: #00ff00;">CRT Effects</span>
|
|
1652
|
+
<span style="color: #888; font-size: 12px; margin-left: 10px;">(Scanlines & screen curve)</span>
|
|
1653
|
+
</label>
|
|
1654
|
+
</div>
|
|
1655
|
+
<div class="settings-panel">
|
|
1656
|
+
<label class="crt-checkbox-label" tabindex="-1" data-crt-nav-key="settings:dynamic-heat">
|
|
1657
|
+
<input type="checkbox" id="dynamic-heat" class="crt-checkbox">
|
|
1658
|
+
<span style="color: #00ff00;">Dynamic Heat</span>
|
|
1659
|
+
<span style="color: #888; font-size: 12px; margin-left: 10px;">(Activity colors and sizing)</span>
|
|
1660
|
+
</label>
|
|
1661
|
+
</div>
|
|
1662
|
+
<div class="settings-panel crt-range-panel">
|
|
1663
|
+
<label for="crt-terminal-font-size" class="crt-range-label">
|
|
1664
|
+
<span>Terminal Text Size</span>
|
|
1665
|
+
<output id="crt-terminal-font-size-value" for="crt-terminal-font-size">15 px</output>
|
|
1666
|
+
</label>
|
|
1667
|
+
<input
|
|
1668
|
+
type="range"
|
|
1669
|
+
id="crt-terminal-font-size"
|
|
1670
|
+
class="crt-range"
|
|
1671
|
+
min="10"
|
|
1672
|
+
max="20"
|
|
1673
|
+
step="1"
|
|
1674
|
+
value="15"
|
|
1675
|
+
data-crt-nav-key="settings:terminal-font-size"
|
|
1676
|
+
>
|
|
1677
|
+
<div class="crt-range-limits" aria-hidden="true"><span>10 px</span><span>20 px</span></div>
|
|
1678
|
+
</div>
|
|
1679
|
+
</div>
|
|
1680
|
+
|
|
1681
|
+
<h3 style="margin: 30px 0 15px; color: #00ff00;">Session Engine</h3>
|
|
1682
|
+
<div id="session-engine-settings">
|
|
1683
|
+
<div class="settings-panel">
|
|
1684
|
+
<label style="display: block; color: #00ff00; margin-bottom: 10px;">Coding Agent Engine</label>
|
|
1685
|
+
<div class="settings-static-value">built-in</div>
|
|
1686
|
+
<div style="color: #888; font-size: 12px; margin-top: 8px;">Uses Farming's built-in local session runtime.</div>
|
|
1687
|
+
</div>
|
|
1688
|
+
<div class="settings-panel">
|
|
1689
|
+
<label class="crt-checkbox-label" tabindex="-1" data-crt-nav-key="settings:skip-permissions">
|
|
1690
|
+
<input type="checkbox" id="skip-permission-check-by-default" class="crt-checkbox danger">
|
|
1691
|
+
<span style="color: #ff4d4d;">Dangerously skip agent permissions</span>
|
|
1692
|
+
</label>
|
|
1693
|
+
<div style="color: #aa6666; font-size: 12px; margin-top: 8px;">Uses each coding agent's most aggressive built-in approval bypass mode. Shell agents are not changed.</div>
|
|
1694
|
+
</div>
|
|
1695
|
+
</div>
|
|
1696
|
+
</div>
|
|
1697
|
+
</div>
|
|
1698
|
+
</div>
|
|
1699
|
+
|
|
1700
|
+
<script src="shared/runtime-paths.js"></script>
|
|
1701
|
+
<script src="../vendor/xterm/xterm.js"></script>
|
|
1702
|
+
<script src="../vendor/xterm/addon-fit.js"></script>
|
|
1703
|
+
<script src="../vendor/xterm/addon-webgl.js"></script>
|
|
1704
|
+
<script src="shared/terminal-bridge.js"></script>
|
|
1705
|
+
<script src="shared/skin-bridge.js"></script>
|
|
1706
|
+
<script src="shared/session-bridge.js"></script>
|
|
1707
|
+
<script src="shared/session-modal-bridge.js"></script>
|
|
1708
|
+
<script type="module" src="shared/ghostty-loader.js"></script>
|
|
1709
|
+
<script src="effects.js"></script>
|
|
1710
|
+
<script src="app.js"></script>
|
|
1711
|
+
</body>
|
|
1712
|
+
</html>
|