@linghun/tui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +190 -0
- package/dist/agent-completion-finalizer.d.ts +31 -0
- package/dist/agent-completion-finalizer.d.ts.map +1 -0
- package/dist/agent-completion-finalizer.js +20 -0
- package/dist/agent-handoff-safety.d.ts +13 -0
- package/dist/agent-handoff-safety.d.ts.map +1 -0
- package/dist/agent-handoff-safety.js +43 -0
- package/dist/agent-workflow-registry.d.ts +45 -0
- package/dist/agent-workflow-registry.d.ts.map +1 -0
- package/dist/agent-workflow-registry.js +12 -0
- package/dist/architecture-boundary.d.ts +151 -0
- package/dist/architecture-boundary.d.ts.map +1 -0
- package/dist/architecture-boundary.js +24 -0
- package/dist/architecture-runtime.d.ts +56 -0
- package/dist/architecture-runtime.d.ts.map +1 -0
- package/dist/architecture-runtime.js +18 -0
- package/dist/background-control-runtime.d.ts +29 -0
- package/dist/background-control-runtime.d.ts.map +1 -0
- package/dist/background-control-runtime.js +148 -0
- package/dist/bash-subcommand-parser.d.ts +34 -0
- package/dist/bash-subcommand-parser.d.ts.map +1 -0
- package/dist/bash-subcommand-parser.js +8 -0
- package/dist/batch-tool-confirmation.d.ts +18 -0
- package/dist/batch-tool-confirmation.d.ts.map +1 -0
- package/dist/batch-tool-confirmation.js +100 -0
- package/dist/break-cache-runtime.d.ts +40 -0
- package/dist/break-cache-runtime.d.ts.map +1 -0
- package/dist/break-cache-runtime.js +17 -0
- package/dist/btw-runtime.d.ts +45 -0
- package/dist/btw-runtime.d.ts.map +1 -0
- package/dist/btw-runtime.js +14 -0
- package/dist/cache-command-runtime.d.ts +22 -0
- package/dist/cache-command-runtime.d.ts.map +1 -0
- package/dist/cache-command-runtime.js +33 -0
- package/dist/cache-freshness.d.ts +26 -0
- package/dist/cache-freshness.d.ts.map +1 -0
- package/dist/cache-freshness.js +14 -0
- package/dist/capability-runtime.d.ts +75 -0
- package/dist/capability-runtime.d.ts.map +1 -0
- package/dist/capability-runtime.js +97 -0
- package/dist/chunk-2FVEKTKN.js +86 -0
- package/dist/chunk-2YL5VKJ5.js +531 -0
- package/dist/chunk-3AKXDMVS.js +85 -0
- package/dist/chunk-3GCIXKCI.js +221 -0
- package/dist/chunk-3LT6OWQ2.js +258 -0
- package/dist/chunk-3XNUDLOM.js +91 -0
- package/dist/chunk-4EIC5BCT.js +475 -0
- package/dist/chunk-4EP3TUFF.js +238 -0
- package/dist/chunk-4I2NWBOM.js +117 -0
- package/dist/chunk-4K6UB524.js +443 -0
- package/dist/chunk-4T5DJW54.js +88 -0
- package/dist/chunk-4WHZ6JKD.js +8105 -0
- package/dist/chunk-5H7RRF7C.js +6 -0
- package/dist/chunk-64MJP6FK.js +558 -0
- package/dist/chunk-66BNE332.js +1617 -0
- package/dist/chunk-6CI6TKLN.js +50 -0
- package/dist/chunk-6RJVTUWI.js +16 -0
- package/dist/chunk-6SMM5CMP.js +100 -0
- package/dist/chunk-6USL33ZO.js +289 -0
- package/dist/chunk-7ZE5JFAZ.js +760 -0
- package/dist/chunk-AKPXMCVF.js +1373 -0
- package/dist/chunk-AO4CXI37.js +284 -0
- package/dist/chunk-APJIC2O5.js +150 -0
- package/dist/chunk-B4GQTZMT.js +607 -0
- package/dist/chunk-BFVPLGAC.js +93 -0
- package/dist/chunk-BOV4K7FP.js +588 -0
- package/dist/chunk-CFMSB6ST.js +59 -0
- package/dist/chunk-CFXB5SE5.js +502 -0
- package/dist/chunk-CRQORMFF.js +32 -0
- package/dist/chunk-CRSLDQOA.js +146 -0
- package/dist/chunk-CRW3636S.js +214 -0
- package/dist/chunk-D3UTL2QX.js +86 -0
- package/dist/chunk-D7TCSOAZ.js +331 -0
- package/dist/chunk-DDXS2RDZ.js +228 -0
- package/dist/chunk-DICVLZHH.js +144 -0
- package/dist/chunk-DNQN74CC.js +1186 -0
- package/dist/chunk-DTK5NBTV.js +912 -0
- package/dist/chunk-E72U7WW7.js +50 -0
- package/dist/chunk-EBACIBJP.js +356 -0
- package/dist/chunk-ECFLCY5V.js +530 -0
- package/dist/chunk-EORRZP3F.js +109 -0
- package/dist/chunk-F43AMWLZ.js +115 -0
- package/dist/chunk-F46N43MG.js +56 -0
- package/dist/chunk-F6TVBCZV.js +51 -0
- package/dist/chunk-FRIMDSRU.js +242 -0
- package/dist/chunk-FTAEPAVY.js +314 -0
- package/dist/chunk-GC55DMZV.js +156 -0
- package/dist/chunk-GCMH5P4W.js +422 -0
- package/dist/chunk-GDQQNPBP.js +251 -0
- package/dist/chunk-GKZYTPN2.js +279 -0
- package/dist/chunk-GLWTWEGX.js +272 -0
- package/dist/chunk-GMUCSNUD.js +586 -0
- package/dist/chunk-GTP2KPLY.js +167 -0
- package/dist/chunk-GW5YDCRZ.js +42 -0
- package/dist/chunk-H3T4EF5F.js +87 -0
- package/dist/chunk-HAEU6OTS.js +381 -0
- package/dist/chunk-HQIJGQYU.js +172 -0
- package/dist/chunk-HW2TBXVK.js +34 -0
- package/dist/chunk-HWD22O6F.js +94 -0
- package/dist/chunk-I3NTAIMF.js +280 -0
- package/dist/chunk-IN42UISW.js +372 -0
- package/dist/chunk-IWUIOLMF.js +82 -0
- package/dist/chunk-J7ZE2JKP.js +283 -0
- package/dist/chunk-JBLVBO3U.js +109 -0
- package/dist/chunk-JDWXC2OQ.js +800 -0
- package/dist/chunk-JGDIO2NF.js +74 -0
- package/dist/chunk-JHGWGH2C.js +182 -0
- package/dist/chunk-JLCPHVBN.js +42 -0
- package/dist/chunk-JO5ANTMR.js +6027 -0
- package/dist/chunk-JPXSFZFC.js +100 -0
- package/dist/chunk-JQCRCDOC.js +1195 -0
- package/dist/chunk-K4FSYBSY.js +41 -0
- package/dist/chunk-K56D3X7S.js +1225 -0
- package/dist/chunk-KI7C6ZOD.js +92 -0
- package/dist/chunk-KO64OFSG.js +58 -0
- package/dist/chunk-KQJHVJZB.js +227 -0
- package/dist/chunk-KTWV5JC5.js +59 -0
- package/dist/chunk-L4XXW6Y5.js +374 -0
- package/dist/chunk-L5GOCMZP.js +18 -0
- package/dist/chunk-LDABZV5V.js +278 -0
- package/dist/chunk-LHHKPGLX.js +903 -0
- package/dist/chunk-LL7LBRDL.js +60 -0
- package/dist/chunk-LQTVYUT3.js +421 -0
- package/dist/chunk-LVIM2PA7.js +663 -0
- package/dist/chunk-M4AIK2SP.js +215 -0
- package/dist/chunk-MLUIOBKL.js +420 -0
- package/dist/chunk-MOJL4X4L.js +47 -0
- package/dist/chunk-MVONSJEN.js +300 -0
- package/dist/chunk-N7G2X2LK.js +709 -0
- package/dist/chunk-NKFKOEYX.js +146 -0
- package/dist/chunk-NMNOAFFT.js +167 -0
- package/dist/chunk-NSIKYD3X.js +74 -0
- package/dist/chunk-O7EFPSMC.js +60 -0
- package/dist/chunk-O7S3HYE6.js +210 -0
- package/dist/chunk-OEYW3JE3.js +262 -0
- package/dist/chunk-OF3K3CU5.js +159 -0
- package/dist/chunk-OMZYPQVA.js +298 -0
- package/dist/chunk-OZMX3E35.js +248 -0
- package/dist/chunk-P277M7Z5.js +303 -0
- package/dist/chunk-P4CPRJLI.js +65 -0
- package/dist/chunk-PBIPV4LD.js +494 -0
- package/dist/chunk-PGNALDEH.js +2003 -0
- package/dist/chunk-PGWW3DVE.js +157 -0
- package/dist/chunk-QB4VWH7W.js +515 -0
- package/dist/chunk-QBCGAIU7.js +120 -0
- package/dist/chunk-QIU3FJPC.js +99 -0
- package/dist/chunk-QLRTQHTR.js +744 -0
- package/dist/chunk-QTDGRZMZ.js +171 -0
- package/dist/chunk-RBOQJFIZ.js +183 -0
- package/dist/chunk-RDGM4RUE.js +178 -0
- package/dist/chunk-RM5JDRCW.js +71 -0
- package/dist/chunk-RM5QMOFY.js +189 -0
- package/dist/chunk-RMLTVKOY.js +588 -0
- package/dist/chunk-RVY34HK4.js +79 -0
- package/dist/chunk-S3YWTBXL.js +43 -0
- package/dist/chunk-SJOS5PM6.js +64 -0
- package/dist/chunk-SOPYWTFV.js +90 -0
- package/dist/chunk-SQIBPLLV.js +15 -0
- package/dist/chunk-SRZIA6B4.js +136 -0
- package/dist/chunk-SYBNJZEL.js +250 -0
- package/dist/chunk-TFZEFIQT.js +17 -0
- package/dist/chunk-THZBFYAH.js +136 -0
- package/dist/chunk-TJLC3QAS.js +83 -0
- package/dist/chunk-TYF4GJR3.js +598 -0
- package/dist/chunk-UDQT5CWK.js +252 -0
- package/dist/chunk-UOHZQIVL.js +168 -0
- package/dist/chunk-URNQUECO.js +187 -0
- package/dist/chunk-UT2TYK2A.js +148 -0
- package/dist/chunk-UT5BOJKU.js +190 -0
- package/dist/chunk-V7GDHHBL.js +526 -0
- package/dist/chunk-VCSRBS47.js +133 -0
- package/dist/chunk-VIBENDE3.js +152 -0
- package/dist/chunk-VTQL23UM.js +302 -0
- package/dist/chunk-W3KHJNSH.js +281 -0
- package/dist/chunk-W6NU7ZAV.js +52 -0
- package/dist/chunk-WHFDDZHY.js +407 -0
- package/dist/chunk-WJWYRBWH.js +48 -0
- package/dist/chunk-WKMBK5UP.js +145 -0
- package/dist/chunk-WQMSRO4D.js +489 -0
- package/dist/chunk-WV6YJGZR.js +81 -0
- package/dist/chunk-WVAQYKGL.js +269 -0
- package/dist/chunk-X7A22JHP.js +106 -0
- package/dist/chunk-XFPNU42I.js +59 -0
- package/dist/chunk-YH6UIHNF.js +161 -0
- package/dist/chunk-YPQFSFYK.js +19 -0
- package/dist/chunk-YTQFOZRZ.js +110 -0
- package/dist/chunk-ZJK25VFP.js +506 -0
- package/dist/chunk-ZOSK2UEU.js +1555 -0
- package/dist/chunk-ZYSN7AWW.js +336 -0
- package/dist/chunk-ZZ2CNCXJ.js +282 -0
- package/dist/command-panel-runtime.d.ts +33 -0
- package/dist/command-panel-runtime.d.ts.map +1 -0
- package/dist/command-panel-runtime.js +80 -0
- package/dist/compact-cache-command-runtime.d.ts +38 -0
- package/dist/compact-cache-command-runtime.d.ts.map +1 -0
- package/dist/compact-cache-command-runtime.js +146 -0
- package/dist/compact-context.d.ts +35 -0
- package/dist/compact-context.d.ts.map +1 -0
- package/dist/compact-context.js +16 -0
- package/dist/compact-preflight-runtime.d.ts +46 -0
- package/dist/compact-preflight-runtime.d.ts.map +1 -0
- package/dist/compact-preflight-runtime.js +62 -0
- package/dist/connector-runtime.d.ts +72 -0
- package/dist/connector-runtime.d.ts.map +1 -0
- package/dist/connector-runtime.js +88 -0
- package/dist/context-estimator.d.ts +20 -0
- package/dist/context-estimator.d.ts.map +1 -0
- package/dist/context-estimator.js +18 -0
- package/dist/context-window-runtime.d.ts +12 -0
- package/dist/context-window-runtime.d.ts.map +1 -0
- package/dist/context-window-runtime.js +10 -0
- package/dist/deep-compact-runtime.d.ts +53 -0
- package/dist/deep-compact-runtime.d.ts.map +1 -0
- package/dist/deep-compact-runtime.js +35 -0
- package/dist/deferred-tools-catalog.d.ts +52 -0
- package/dist/deferred-tools-catalog.d.ts.map +1 -0
- package/dist/deferred-tools-catalog.js +42 -0
- package/dist/details-status-runtime.d.ts +48 -0
- package/dist/details-status-runtime.d.ts.map +1 -0
- package/dist/details-status-runtime.js +102 -0
- package/dist/evidence-runtime.d.ts +48 -0
- package/dist/evidence-runtime.d.ts.map +1 -0
- package/dist/evidence-runtime.js +92 -0
- package/dist/extension-command-runtime.d.ts +63 -0
- package/dist/extension-command-runtime.d.ts.map +1 -0
- package/dist/extension-command-runtime.js +67 -0
- package/dist/extension-slash-runtime.d.ts +11 -0
- package/dist/extension-slash-runtime.d.ts.map +1 -0
- package/dist/extension-slash-runtime.js +79 -0
- package/dist/external-editor-runtime.d.ts +32 -0
- package/dist/external-editor-runtime.d.ts.map +1 -0
- package/dist/external-editor-runtime.js +71 -0
- package/dist/failure-learning-command-runtime.d.ts +10 -0
- package/dist/failure-learning-command-runtime.d.ts.map +1 -0
- package/dist/failure-learning-command-runtime.js +78 -0
- package/dist/failure-learning-presenter.d.ts +6 -0
- package/dist/failure-learning-presenter.d.ts.map +1 -0
- package/dist/failure-learning-presenter.js +12 -0
- package/dist/failure-learning-runtime.d.ts +39 -0
- package/dist/failure-learning-runtime.d.ts.map +1 -0
- package/dist/failure-learning-runtime.js +39 -0
- package/dist/feature-flag-runtime.d.ts +8 -0
- package/dist/feature-flag-runtime.d.ts.map +1 -0
- package/dist/feature-flag-runtime.js +12 -0
- package/dist/feishu-long-connection-runtime.d.ts +12 -0
- package/dist/feishu-long-connection-runtime.d.ts.map +1 -0
- package/dist/feishu-long-connection-runtime.js +7 -0
- package/dist/final-answer-gate.d.ts +24 -0
- package/dist/final-answer-gate.d.ts.map +1 -0
- package/dist/final-answer-gate.js +26 -0
- package/dist/ghost-text.d.ts +16 -0
- package/dist/ghost-text.d.ts.map +1 -0
- package/dist/ghost-text.js +8 -0
- package/dist/git-branch-runtime.d.ts +14 -0
- package/dist/git-branch-runtime.d.ts.map +1 -0
- package/dist/git-branch-runtime.js +68 -0
- package/dist/git-command-runtime.d.ts +22 -0
- package/dist/git-command-runtime.d.ts.map +1 -0
- package/dist/git-command-runtime.js +89 -0
- package/dist/git-operation-runtime.d.ts +188 -0
- package/dist/git-operation-runtime.d.ts.map +1 -0
- package/dist/git-operation-runtime.js +45 -0
- package/dist/git-runtime.d.ts +113 -0
- package/dist/git-runtime.d.ts.map +1 -0
- package/dist/git-runtime.js +16 -0
- package/dist/git-slash-runtime.d.ts +38 -0
- package/dist/git-slash-runtime.d.ts.map +1 -0
- package/dist/git-slash-runtime.js +18 -0
- package/dist/git-tool-dispatch-runtime.d.ts +108 -0
- package/dist/git-tool-dispatch-runtime.d.ts.map +1 -0
- package/dist/git-tool-dispatch-runtime.js +25 -0
- package/dist/git-tool-runtime.d.ts +64 -0
- package/dist/git-tool-runtime.d.ts.map +1 -0
- package/dist/git-tool-runtime.js +36 -0
- package/dist/guard-wiring.d.ts +67 -0
- package/dist/guard-wiring.d.ts.map +1 -0
- package/dist/guard-wiring.js +21 -0
- package/dist/handoff-session-runtime.d.ts +11 -0
- package/dist/handoff-session-runtime.d.ts.map +1 -0
- package/dist/handoff-session-runtime.js +36 -0
- package/dist/index-result-presenter.d.ts +14 -0
- package/dist/index-result-presenter.d.ts.map +1 -0
- package/dist/index-result-presenter.js +28 -0
- package/dist/index-runtime.d.ts +64 -0
- package/dist/index-runtime.d.ts.map +1 -0
- package/dist/index-runtime.js +28 -0
- package/dist/index-tool-runtime.d.ts +44 -0
- package/dist/index-tool-runtime.d.ts.map +1 -0
- package/dist/index-tool-runtime.js +24 -0
- package/dist/index.d.ts +57 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2346 -0
- package/dist/job-agent-command-runtime.d.ts +127 -0
- package/dist/job-agent-command-runtime.d.ts.map +1 -0
- package/dist/job-agent-command-runtime.js +138 -0
- package/dist/job-runner-presenter.d.ts +32 -0
- package/dist/job-runner-presenter.d.ts.map +1 -0
- package/dist/job-runner-presenter.js +30 -0
- package/dist/job-runtime.d.ts +65 -0
- package/dist/job-runtime.d.ts.map +1 -0
- package/dist/job-runtime.js +88 -0
- package/dist/keybinding-runtime.d.ts +29 -0
- package/dist/keybinding-runtime.d.ts.map +1 -0
- package/dist/keybinding-runtime.js +14 -0
- package/dist/log-artifact.d.ts +55 -0
- package/dist/log-artifact.d.ts.map +1 -0
- package/dist/log-artifact.js +10 -0
- package/dist/mcp-index-command-runtime.d.ts +21 -0
- package/dist/mcp-index-command-runtime.d.ts.map +1 -0
- package/dist/mcp-index-command-runtime.js +18 -0
- package/dist/mcp-index-runtime.d.ts +106 -0
- package/dist/mcp-index-runtime.d.ts.map +1 -0
- package/dist/mcp-index-runtime.js +142 -0
- package/dist/mcp-sse-runtime.d.ts +13 -0
- package/dist/mcp-sse-runtime.d.ts.map +1 -0
- package/dist/mcp-sse-runtime.js +8 -0
- package/dist/mcp-stdio-runtime.d.ts +37 -0
- package/dist/mcp-stdio-runtime.d.ts.map +1 -0
- package/dist/mcp-stdio-runtime.js +15 -0
- package/dist/memory-command-runtime.d.ts +37 -0
- package/dist/memory-command-runtime.d.ts.map +1 -0
- package/dist/memory-command-runtime.js +88 -0
- package/dist/memory-eviction-runtime.d.ts +7 -0
- package/dist/memory-eviction-runtime.d.ts.map +1 -0
- package/dist/memory-eviction-runtime.js +12 -0
- package/dist/memory-extraction-runtime.d.ts +40 -0
- package/dist/memory-extraction-runtime.d.ts.map +1 -0
- package/dist/memory-extraction-runtime.js +20 -0
- package/dist/memory-rules-runtime.d.ts +15 -0
- package/dist/memory-rules-runtime.d.ts.map +1 -0
- package/dist/memory-rules-runtime.js +14 -0
- package/dist/meta-scheduler-complexity.d.ts +16 -0
- package/dist/meta-scheduler-complexity.d.ts.map +1 -0
- package/dist/meta-scheduler-complexity.js +37 -0
- package/dist/meta-scheduler-runtime.d.ts +288 -0
- package/dist/meta-scheduler-runtime.d.ts.map +1 -0
- package/dist/meta-scheduler-runtime.js +17 -0
- package/dist/model-command-runtime.d.ts +12 -0
- package/dist/model-command-runtime.d.ts.map +1 -0
- package/dist/model-command-runtime.js +84 -0
- package/dist/model-doctor-runtime.d.ts +81 -0
- package/dist/model-doctor-runtime.d.ts.map +1 -0
- package/dist/model-doctor-runtime.js +46 -0
- package/dist/model-loop-runtime.d.ts +189 -0
- package/dist/model-loop-runtime.d.ts.map +1 -0
- package/dist/model-loop-runtime.js +141 -0
- package/dist/model-prompt-runtime.d.ts +25 -0
- package/dist/model-prompt-runtime.d.ts.map +1 -0
- package/dist/model-prompt-runtime.js +33 -0
- package/dist/model-setup-runtime.d.ts +28 -0
- package/dist/model-setup-runtime.d.ts.map +1 -0
- package/dist/model-setup-runtime.js +26 -0
- package/dist/model-stream-runtime.d.ts +47 -0
- package/dist/model-stream-runtime.d.ts.map +1 -0
- package/dist/model-stream-runtime.js +136 -0
- package/dist/model-tool-runtime.d.ts +114 -0
- package/dist/model-tool-runtime.d.ts.map +1 -0
- package/dist/model-tool-runtime.js +144 -0
- package/dist/natural-command-bridge.d.ts +158 -0
- package/dist/natural-command-bridge.d.ts.map +1 -0
- package/dist/natural-command-bridge.js +36 -0
- package/dist/pending-details-presenter.d.ts +8 -0
- package/dist/pending-details-presenter.d.ts.map +1 -0
- package/dist/pending-details-presenter.js +12 -0
- package/dist/permission-approval-runtime.d.ts +28 -0
- package/dist/permission-approval-runtime.d.ts.map +1 -0
- package/dist/permission-approval-runtime.js +136 -0
- package/dist/permission-continuation-runtime.d.ts +90 -0
- package/dist/permission-continuation-runtime.d.ts.map +1 -0
- package/dist/permission-continuation-runtime.js +68 -0
- package/dist/permission-policy-engine.d.ts +51 -0
- package/dist/permission-policy-engine.d.ts.map +1 -0
- package/dist/permission-policy-engine.js +12 -0
- package/dist/permission-presenter.d.ts +13 -0
- package/dist/permission-presenter.d.ts.map +1 -0
- package/dist/permission-presenter.js +8 -0
- package/dist/persistent-history.d.ts +18 -0
- package/dist/persistent-history.d.ts.map +1 -0
- package/dist/persistent-history.js +126 -0
- package/dist/platform-security.d.ts +4 -0
- package/dist/platform-security.d.ts.map +1 -0
- package/dist/platform-security.js +10 -0
- package/dist/process-command-runtime.d.ts +9 -0
- package/dist/process-command-runtime.d.ts.map +1 -0
- package/dist/process-command-runtime.js +11 -0
- package/dist/process-guard.d.ts +56 -0
- package/dist/process-guard.d.ts.map +1 -0
- package/dist/process-guard.js +22 -0
- package/dist/prompt-command-runtime.d.ts +12 -0
- package/dist/prompt-command-runtime.d.ts.map +1 -0
- package/dist/prompt-command-runtime.js +10 -0
- package/dist/prompt-stash.d.ts +15 -0
- package/dist/prompt-stash.d.ts.map +1 -0
- package/dist/prompt-stash.js +8 -0
- package/dist/provider-circuit-breaker.d.ts +132 -0
- package/dist/provider-circuit-breaker.d.ts.map +1 -0
- package/dist/provider-circuit-breaker.js +31 -0
- package/dist/provider-loop-runtime.d.ts +18 -0
- package/dist/provider-loop-runtime.d.ts.map +1 -0
- package/dist/provider-loop-runtime.js +16 -0
- package/dist/remote-command-runtime.d.ts +47 -0
- package/dist/remote-command-runtime.d.ts.map +1 -0
- package/dist/remote-command-runtime.js +125 -0
- package/dist/remote-inbound-bridge-runtime.d.ts +152 -0
- package/dist/remote-inbound-bridge-runtime.d.ts.map +1 -0
- package/dist/remote-inbound-bridge-runtime.js +44 -0
- package/dist/remote-mcp-presenter.d.ts +5 -0
- package/dist/remote-mcp-presenter.d.ts.map +1 -0
- package/dist/remote-mcp-presenter.js +10 -0
- package/dist/remote-repl-bridge-runtime.d.ts +134 -0
- package/dist/remote-repl-bridge-runtime.d.ts.map +1 -0
- package/dist/remote-repl-bridge-runtime.js +20 -0
- package/dist/remote-transport.d.ts +50 -0
- package/dist/remote-transport.d.ts.map +1 -0
- package/dist/remote-transport.js +14 -0
- package/dist/request-lifecycle-presenter.d.ts +25 -0
- package/dist/request-lifecycle-presenter.d.ts.map +1 -0
- package/dist/request-lifecycle-presenter.js +22 -0
- package/dist/runner-runtime.d.ts +41 -0
- package/dist/runner-runtime.d.ts.map +1 -0
- package/dist/runner-runtime.js +35 -0
- package/dist/runtime-budget.d.ts +38 -0
- package/dist/runtime-budget.d.ts.map +1 -0
- package/dist/runtime-budget.js +78 -0
- package/dist/runtime-path-marker.d.ts +112 -0
- package/dist/runtime-path-marker.d.ts.map +1 -0
- package/dist/runtime-path-marker.js +18 -0
- package/dist/runtime-status-presenter.d.ts +22 -0
- package/dist/runtime-status-presenter.d.ts.map +1 -0
- package/dist/runtime-status-presenter.js +15 -0
- package/dist/runtime-status-snapshot.d.ts +52 -0
- package/dist/runtime-status-snapshot.d.ts.map +1 -0
- package/dist/runtime-status-snapshot.js +11 -0
- package/dist/runtime-utils.d.ts +2 -0
- package/dist/runtime-utils.d.ts.map +1 -0
- package/dist/runtime-utils.js +6 -0
- package/dist/shell/clipboard.d.ts +23 -0
- package/dist/shell/clipboard.d.ts.map +1 -0
- package/dist/shell/clipboard.js +8 -0
- package/dist/shell/components/AgentProgressTree.d.ts +9 -0
- package/dist/shell/components/AgentProgressTree.d.ts.map +1 -0
- package/dist/shell/components/AgentProgressTree.js +9 -0
- package/dist/shell/components/BackgroundTaskOverlay.d.ts +8 -0
- package/dist/shell/components/BackgroundTaskOverlay.d.ts.map +1 -0
- package/dist/shell/components/BackgroundTaskOverlay.js +8 -0
- package/dist/shell/components/BtwPanel.d.ts +16 -0
- package/dist/shell/components/BtwPanel.d.ts.map +1 -0
- package/dist/shell/components/BtwPanel.js +8 -0
- package/dist/shell/components/CommandPanel.d.ts +11 -0
- package/dist/shell/components/CommandPanel.d.ts.map +1 -0
- package/dist/shell/components/CommandPanel.js +8 -0
- package/dist/shell/components/Composer.d.ts +187 -0
- package/dist/shell/components/Composer.d.ts.map +1 -0
- package/dist/shell/components/Composer.js +99 -0
- package/dist/shell/components/ConfigPanel.d.ts +11 -0
- package/dist/shell/components/ConfigPanel.d.ts.map +1 -0
- package/dist/shell/components/ConfigPanel.js +8 -0
- package/dist/shell/components/CtrlOToExpand.d.ts +30 -0
- package/dist/shell/components/CtrlOToExpand.d.ts.map +1 -0
- package/dist/shell/components/CtrlOToExpand.js +16 -0
- package/dist/shell/components/HelpPanel.d.ts +19 -0
- package/dist/shell/components/HelpPanel.d.ts.map +1 -0
- package/dist/shell/components/HelpPanel.js +8 -0
- package/dist/shell/components/HistorySearchPanel.d.ts +14 -0
- package/dist/shell/components/HistorySearchPanel.d.ts.map +1 -0
- package/dist/shell/components/HistorySearchPanel.js +104 -0
- package/dist/shell/components/MessageMarkdown.d.ts +34 -0
- package/dist/shell/components/MessageMarkdown.d.ts.map +1 -0
- package/dist/shell/components/MessageMarkdown.js +18 -0
- package/dist/shell/components/MessageResponse.d.ts +14 -0
- package/dist/shell/components/MessageResponse.d.ts.map +1 -0
- package/dist/shell/components/MessageResponse.js +6 -0
- package/dist/shell/components/MouseInputRouter.d.ts +28 -0
- package/dist/shell/components/MouseInputRouter.d.ts.map +1 -0
- package/dist/shell/components/MouseInputRouter.js +84 -0
- package/dist/shell/components/NotificationStack.d.ts +19 -0
- package/dist/shell/components/NotificationStack.d.ts.map +1 -0
- package/dist/shell/components/NotificationStack.js +6 -0
- package/dist/shell/components/OutputLine.d.ts +19 -0
- package/dist/shell/components/OutputLine.d.ts.map +1 -0
- package/dist/shell/components/OutputLine.js +38 -0
- package/dist/shell/components/ProductBlock.d.ts +10 -0
- package/dist/shell/components/ProductBlock.d.ts.map +1 -0
- package/dist/shell/components/ProductBlock.js +12 -0
- package/dist/shell/components/ScrollViewport.d.ts +43 -0
- package/dist/shell/components/ScrollViewport.d.ts.map +1 -0
- package/dist/shell/components/ScrollViewport.js +86 -0
- package/dist/shell/components/SessionsPanel.d.ts +24 -0
- package/dist/shell/components/SessionsPanel.d.ts.map +1 -0
- package/dist/shell/components/SessionsPanel.js +8 -0
- package/dist/shell/components/ShellApp.d.ts +8 -0
- package/dist/shell/components/ShellApp.d.ts.map +1 -0
- package/dist/shell/components/ShellApp.js +45 -0
- package/dist/shell/components/ShortcutPanel.d.ts +14 -0
- package/dist/shell/components/ShortcutPanel.d.ts.map +1 -0
- package/dist/shell/components/ShortcutPanel.js +59 -0
- package/dist/shell/components/SlashSuggestions.d.ts +24 -0
- package/dist/shell/components/SlashSuggestions.d.ts.map +1 -0
- package/dist/shell/components/SlashSuggestions.js +7 -0
- package/dist/shell/components/StatusFooter.d.ts +30 -0
- package/dist/shell/components/StatusFooter.d.ts.map +1 -0
- package/dist/shell/components/StatusFooter.js +7 -0
- package/dist/shell/components/StatusTray.d.ts +9 -0
- package/dist/shell/components/StatusTray.d.ts.map +1 -0
- package/dist/shell/components/StatusTray.js +6 -0
- package/dist/shell/components/StructuredDiff.d.ts +9 -0
- package/dist/shell/components/StructuredDiff.d.ts.map +1 -0
- package/dist/shell/components/StructuredDiff.js +7 -0
- package/dist/shell/components/TaskListView.d.ts +9 -0
- package/dist/shell/components/TaskListView.d.ts.map +1 -0
- package/dist/shell/components/TaskListView.js +9 -0
- package/dist/shell/components/TaskSuggestionBar.d.ts +15 -0
- package/dist/shell/components/TaskSuggestionBar.d.ts.map +1 -0
- package/dist/shell/components/TaskSuggestionBar.js +8 -0
- package/dist/shell/components/UnseenMessagePill.d.ts +12 -0
- package/dist/shell/components/UnseenMessagePill.d.ts.map +1 -0
- package/dist/shell/components/UnseenMessagePill.js +6 -0
- package/dist/shell/components/WorkflowProgressView.d.ts +9 -0
- package/dist/shell/components/WorkflowProgressView.d.ts.map +1 -0
- package/dist/shell/components/WorkflowProgressView.js +9 -0
- package/dist/shell/components/useAnchoredCursor.d.ts +32 -0
- package/dist/shell/components/useAnchoredCursor.d.ts.map +1 -0
- package/dist/shell/components/useAnchoredCursor.js +6 -0
- package/dist/shell/hooks/useRenderThrottle.d.ts +2 -0
- package/dist/shell/hooks/useRenderThrottle.d.ts.map +1 -0
- package/dist/shell/hooks/useRenderThrottle.js +35 -0
- package/dist/shell/hooks/useScrollBatcher.d.ts +10 -0
- package/dist/shell/hooks/useScrollBatcher.d.ts.map +1 -0
- package/dist/shell/hooks/useScrollBatcher.js +23 -0
- package/dist/shell/hooks/useScrollRuntime.d.ts +2 -0
- package/dist/shell/hooks/useScrollRuntime.d.ts.map +1 -0
- package/dist/shell/hooks/useScrollRuntime.js +6 -0
- package/dist/shell/hyperlink-utils.d.ts +18 -0
- package/dist/shell/hyperlink-utils.d.ts.map +1 -0
- package/dist/shell/hyperlink-utils.js +8 -0
- package/dist/shell/ink-renderer.d.ts +18 -0
- package/dist/shell/ink-renderer.d.ts.map +1 -0
- package/dist/shell/ink-renderer.js +54 -0
- package/dist/shell/models/command-transcript-presenter.d.ts +73 -0
- package/dist/shell/models/command-transcript-presenter.d.ts.map +1 -0
- package/dist/shell/models/command-transcript-presenter.js +26 -0
- package/dist/shell/models/help-panel.d.ts +37 -0
- package/dist/shell/models/help-panel.d.ts.map +1 -0
- package/dist/shell/models/help-panel.js +10 -0
- package/dist/shell/models/permission-elevation.d.ts +65 -0
- package/dist/shell/models/permission-elevation.d.ts.map +1 -0
- package/dist/shell/models/permission-elevation.js +10 -0
- package/dist/shell/models/permission-explanation.d.ts +45 -0
- package/dist/shell/models/permission-explanation.d.ts.map +1 -0
- package/dist/shell/models/permission-explanation.js +14 -0
- package/dist/shell/models/session-panel.d.ts +22 -0
- package/dist/shell/models/session-panel.d.ts.map +1 -0
- package/dist/shell/models/session-panel.js +18 -0
- package/dist/shell/models/task-scroll-state.d.ts +24 -0
- package/dist/shell/models/task-scroll-state.d.ts.map +1 -0
- package/dist/shell/models/task-scroll-state.js +26 -0
- package/dist/shell/models/terminal-input-runtime.d.ts +37 -0
- package/dist/shell/models/terminal-input-runtime.d.ts.map +1 -0
- package/dist/shell/models/terminal-input-runtime.js +18 -0
- package/dist/shell/models/transcript-scroll-state.d.ts +57 -0
- package/dist/shell/models/transcript-scroll-state.d.ts.map +1 -0
- package/dist/shell/models/transcript-scroll-state.js +12 -0
- package/dist/shell/models/transcript-selection-state.d.ts +39 -0
- package/dist/shell/models/transcript-selection-state.d.ts.map +1 -0
- package/dist/shell/models/transcript-selection-state.js +25 -0
- package/dist/shell/models/wheel-acceleration.d.ts +52 -0
- package/dist/shell/models/wheel-acceleration.d.ts.map +1 -0
- package/dist/shell/models/wheel-acceleration.js +6 -0
- package/dist/shell/output-utils.d.ts +22 -0
- package/dist/shell/output-utils.d.ts.map +1 -0
- package/dist/shell/output-utils.js +12 -0
- package/dist/shell/plain-renderer.d.ts +12 -0
- package/dist/shell/plain-renderer.d.ts.map +1 -0
- package/dist/shell/plain-renderer.js +13 -0
- package/dist/shell/progress-views.d.ts +10 -0
- package/dist/shell/progress-views.d.ts.map +1 -0
- package/dist/shell/progress-views.js +17 -0
- package/dist/shell/stdout-flush-barrier.d.ts +39 -0
- package/dist/shell/stdout-flush-barrier.d.ts.map +1 -0
- package/dist/shell/stdout-flush-barrier.js +10 -0
- package/dist/shell/terminal-capability.d.ts +54 -0
- package/dist/shell/terminal-capability.d.ts.map +1 -0
- package/dist/shell/terminal-capability.js +10 -0
- package/dist/shell/terminal-interaction-runtime.d.ts +11 -0
- package/dist/shell/terminal-interaction-runtime.d.ts.map +1 -0
- package/dist/shell/terminal-interaction-runtime.js +38 -0
- package/dist/shell/terminal-state-recovery.d.ts +52 -0
- package/dist/shell/terminal-state-recovery.d.ts.map +1 -0
- package/dist/shell/terminal-state-recovery.js +11 -0
- package/dist/shell/text-utils.d.ts +40 -0
- package/dist/shell/text-utils.d.ts.map +1 -0
- package/dist/shell/text-utils.js +26 -0
- package/dist/shell/theme.d.ts +41 -0
- package/dist/shell/theme.d.ts.map +1 -0
- package/dist/shell/theme.js +8 -0
- package/dist/shell/types.d.ts +784 -0
- package/dist/shell/types.d.ts.map +1 -0
- package/dist/shell/types.js +0 -0
- package/dist/shell/view-model.d.ts +82 -0
- package/dist/shell/view-model.d.ts.map +1 -0
- package/dist/shell/view-model.js +48 -0
- package/dist/slash-command-runtime.d.ts +64 -0
- package/dist/slash-command-runtime.d.ts.map +1 -0
- package/dist/slash-command-runtime.js +186 -0
- package/dist/slash-dispatch.d.ts +48 -0
- package/dist/slash-dispatch.d.ts.map +1 -0
- package/dist/slash-dispatch.js +53 -0
- package/dist/startup-runtime.d.ts +48 -0
- package/dist/startup-runtime.d.ts.map +1 -0
- package/dist/startup-runtime.js +43 -0
- package/dist/terminal-readiness-presenter.d.ts +131 -0
- package/dist/terminal-readiness-presenter.d.ts.map +1 -0
- package/dist/terminal-readiness-presenter.js +16 -0
- package/dist/terminal-readiness-runtime.d.ts +5 -0
- package/dist/terminal-readiness-runtime.d.ts.map +1 -0
- package/dist/terminal-readiness-runtime.js +15 -0
- package/dist/terminal-setup-runtime.d.ts +34 -0
- package/dist/terminal-setup-runtime.d.ts.map +1 -0
- package/dist/terminal-setup-runtime.js +257 -0
- package/dist/tool-output-presenter.d.ts +38 -0
- package/dist/tool-output-presenter.d.ts.map +1 -0
- package/dist/tool-output-presenter.js +16 -0
- package/dist/tool-result-budget.d.ts +42 -0
- package/dist/tool-result-budget.d.ts.map +1 -0
- package/dist/tool-result-budget.js +11 -0
- package/dist/tui-agent-job-runtime.d.ts +38 -0
- package/dist/tui-agent-job-runtime.d.ts.map +1 -0
- package/dist/tui-agent-job-runtime.js +86 -0
- package/dist/tui-context-runtime.d.ts +426 -0
- package/dist/tui-context-runtime.d.ts.map +1 -0
- package/dist/tui-context-runtime.js +65 -0
- package/dist/tui-data-types.d.ts +923 -0
- package/dist/tui-data-types.d.ts.map +1 -0
- package/dist/tui-data-types.js +0 -0
- package/dist/tui-details-runtime.d.ts +25 -0
- package/dist/tui-details-runtime.d.ts.map +1 -0
- package/dist/tui-details-runtime.js +29 -0
- package/dist/tui-memory-runtime.d.ts +33 -0
- package/dist/tui-memory-runtime.d.ts.map +1 -0
- package/dist/tui-memory-runtime.js +58 -0
- package/dist/tui-messages.d.ts +4 -0
- package/dist/tui-messages.d.ts.map +1 -0
- package/dist/tui-messages.js +6 -0
- package/dist/tui-model-runtime.d.ts +30 -0
- package/dist/tui-model-runtime.d.ts.map +1 -0
- package/dist/tui-model-runtime.js +39 -0
- package/dist/tui-output-surface.d.ts +141 -0
- package/dist/tui-output-surface.d.ts.map +1 -0
- package/dist/tui-output-surface.js +55 -0
- package/dist/tui-permission-runtime.d.ts +62 -0
- package/dist/tui-permission-runtime.d.ts.map +1 -0
- package/dist/tui-permission-runtime.js +24 -0
- package/dist/tui-state-runtime.d.ts +21 -0
- package/dist/tui-state-runtime.d.ts.map +1 -0
- package/dist/tui-state-runtime.js +47 -0
- package/dist/turn-continuity-runtime.d.ts +30 -0
- package/dist/turn-continuity-runtime.d.ts.map +1 -0
- package/dist/turn-continuity-runtime.js +8 -0
- package/dist/undo-ring.d.ts +16 -0
- package/dist/undo-ring.d.ts.map +1 -0
- package/dist/undo-ring.js +12 -0
- package/dist/usage-stats-presenter.d.ts +17 -0
- package/dist/usage-stats-presenter.d.ts.map +1 -0
- package/dist/usage-stats-presenter.js +22 -0
- package/dist/user-state-signal-runtime.d.ts +33 -0
- package/dist/user-state-signal-runtime.d.ts.map +1 -0
- package/dist/user-state-signal-runtime.js +8 -0
- package/dist/verification-command-runtime.d.ts +25 -0
- package/dist/verification-command-runtime.d.ts.map +1 -0
- package/dist/verification-command-runtime.js +51 -0
- package/dist/verification-level.d.ts +93 -0
- package/dist/verification-level.d.ts.map +1 -0
- package/dist/verification-level.js +18 -0
- package/dist/workflow-agent-runtime-bridge.d.ts +169 -0
- package/dist/workflow-agent-runtime-bridge.d.ts.map +1 -0
- package/dist/workflow-agent-runtime-bridge.js +9 -0
- package/dist/workflow-command-runtime.d.ts +94 -0
- package/dist/workflow-command-runtime.d.ts.map +1 -0
- package/dist/workflow-command-runtime.js +114 -0
- package/dist/workflow-plan-schema.d.ts +161 -0
- package/dist/workflow-plan-schema.d.ts.map +1 -0
- package/dist/workflow-plan-schema.js +12 -0
- package/dist/workflow-planner-entry.d.ts +52 -0
- package/dist/workflow-planner-entry.d.ts.map +1 -0
- package/dist/workflow-planner-entry.js +328 -0
- package/dist/workflow-task-surface.d.ts +39 -0
- package/dist/workflow-task-surface.d.ts.map +1 -0
- package/dist/workflow-task-surface.js +7 -0
- package/dist/workspace-reference-cache.d.ts +110 -0
- package/dist/workspace-reference-cache.d.ts.map +1 -0
- package/dist/workspace-reference-cache.js +12 -0
- package/package.json +41 -0
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
import {
|
|
2
|
+
formatRuntimePathDoctor,
|
|
3
|
+
formatStartupPathDoctor,
|
|
4
|
+
formatVerificationLevelDoctor
|
|
5
|
+
} from "./chunk-CRW3636S.js";
|
|
6
|
+
|
|
7
|
+
// src/terminal-readiness-presenter.ts
|
|
8
|
+
var PASSABLE_STATUSES = /* @__PURE__ */ new Set(["pass"]);
|
|
9
|
+
function formatTerminalReadinessDoctor(view, options = {}) {
|
|
10
|
+
const items = createReadinessItems(view);
|
|
11
|
+
if (!options.showAll) {
|
|
12
|
+
return formatTerminalReadinessDoctorSummary(view, items);
|
|
13
|
+
}
|
|
14
|
+
const passCount = items.filter((item) => PASSABLE_STATUSES.has(item.status)).length;
|
|
15
|
+
const blockedCount = items.filter((item) => item.status !== "pass").length;
|
|
16
|
+
const header = view.language === "en-US" ? "Doctor details (local/static only; not real smoke)" : "\u8BCA\u65AD\u8BE6\u60C5\uFF08\u4EC5\u672C\u5730/\u9759\u6001\u8F7B\u91CF\u68C0\u67E5\uFF1B\u4E0D\u662F\u771F\u5B9E smoke\uFF09";
|
|
17
|
+
const summary = view.language === "en-US" ? `Summary: ${passCount}/${items.length} local checks are pass; ${blockedCount} need attention. This is not Beta PASS, smoke-ready, or open-source-ready.` : `\u6458\u8981\uFF1A${passCount}/${items.length} \u9879\u672C\u5730\u68C0\u67E5\u4E3A pass\uFF1B${blockedCount} \u9879\u9700\u8981\u5904\u7406\u3002\u8FD9\u4E0D\u662F Beta PASS\u3001smoke-ready \u6216 open-source-ready\u3002`;
|
|
18
|
+
const lines = [
|
|
19
|
+
header,
|
|
20
|
+
summary,
|
|
21
|
+
view.language === "en-US" ? `Runtime: provider ${short(view.provider, 28)} \xB7 model ${short(view.model, 36)} \xB7 endpoint ${view.endpointProfile} \xB7 mode ${view.permissionMode}` : `\u8FD0\u884C\u65F6\uFF1Aprovider ${short(view.provider, 28)} \xB7 model ${short(view.model, 36)} \xB7 endpoint ${view.endpointProfile} \xB7 mode ${view.permissionMode}`,
|
|
22
|
+
view.language === "en-US" ? `Project: ${displayProject(view.projectPath)}` : `\u9879\u76EE\uFF1A${displayProject(view.projectPath)}`,
|
|
23
|
+
view.language === "en-US" ? "Checklist:" : "\u68C0\u67E5\u9879\uFF1A"
|
|
24
|
+
];
|
|
25
|
+
for (const item of items) {
|
|
26
|
+
lines.push(
|
|
27
|
+
`- [${item.status.toUpperCase()}] ${item.label}: ${item.summary}; ${view.language === "en-US" ? "next" : "\u4E0B\u4E00\u6B65"}: ${item.nextAction}`
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
lines.push(...formatReadinessLiteSections(view));
|
|
31
|
+
lines.push(
|
|
32
|
+
view.language === "en-US" ? "Details: use /model doctor, /index doctor, /cache status, /memory, /mcp doctor, /background, /verify last, /problems." : "\u8BE6\u60C5\uFF1A\u4F7F\u7528 /model doctor\u3001/index doctor\u3001/cache status\u3001/memory\u3001/mcp doctor\u3001/background\u3001/verify last\u3001/problems\u3002"
|
|
33
|
+
);
|
|
34
|
+
return lines.join("\n");
|
|
35
|
+
}
|
|
36
|
+
function formatTerminalReadinessDoctorSummary(view, items) {
|
|
37
|
+
const attention = items.filter((item) => item.status !== "pass");
|
|
38
|
+
const hardBlocks = attention.filter(
|
|
39
|
+
(item) => item.status === "fail" || item.status === "blocked"
|
|
40
|
+
);
|
|
41
|
+
const conclusion = hardBlocks.length > 0 ? "BLOCK" : attention.length > 0 ? "WARN" : "OK";
|
|
42
|
+
const visible = [
|
|
43
|
+
...hardBlocks,
|
|
44
|
+
...attention.filter((item) => item.status !== "fail" && item.status !== "blocked")
|
|
45
|
+
];
|
|
46
|
+
const lines = [
|
|
47
|
+
view.language === "en-US" ? `Doctor: ${conclusion} \u2014 local checks only, not a smoke or Beta verdict.` : `\u8BCA\u65AD\uFF1A${conclusion} \u2014 \u4EC5\u672C\u5730\u68C0\u67E5\uFF0C\u4E0D\u662F\u771F\u5B9E smoke \u6216 Beta \u7ED3\u8BBA\u3002`,
|
|
48
|
+
view.language === "en-US" ? `Scope: ${items.length - attention.length}/${items.length} local checks pass; ${attention.length} need attention.` : `\u8303\u56F4\uFF1A${items.length - attention.length}/${items.length} \u9879\u672C\u5730\u68C0\u67E5\u901A\u8FC7\uFF1B${attention.length} \u9879\u9700\u8981\u5904\u7406\u3002`
|
|
49
|
+
];
|
|
50
|
+
if (visible.length === 0) {
|
|
51
|
+
lines.push(
|
|
52
|
+
view.language === "en-US" ? "Reason: no local blockers found." : "\u539F\u56E0\uFF1A\u672A\u53D1\u73B0\u672C\u5730\u963B\u585E\u9879\u3002"
|
|
53
|
+
);
|
|
54
|
+
lines.push(
|
|
55
|
+
view.language === "en-US" ? "Next: use /doctor all for details before claiming readiness." : "\u4E0B\u4E00\u6B65\uFF1A\u5982\u9700\u5B8C\u6574\u6E05\u5355\uFF0C\u7528 /doctor all\uFF1B\u4E0D\u8981\u636E\u6B64\u5BA3\u79F0\u6574\u4F53 ready\u3002"
|
|
56
|
+
);
|
|
57
|
+
return lines.join("\n");
|
|
58
|
+
}
|
|
59
|
+
lines.push(view.language === "en-US" ? "Needs attention:" : "\u9700\u8981\u5904\u7406\uFF1A");
|
|
60
|
+
for (const item of visible) {
|
|
61
|
+
lines.push(
|
|
62
|
+
`- [${item.status.toUpperCase()}] ${item.label}: ${short(sanitizePrimary(item.summary), 96)}; ${view.language === "en-US" ? "next" : "\u4E0B\u4E00\u6B65"}: ${sanitizePrimary(item.nextAction)}`
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
if (attention.length > visible.length) {
|
|
66
|
+
lines.push(
|
|
67
|
+
view.language === "en-US" ? `- ${attention.length - visible.length} more item(s) hidden from the default view.` : `- \u9ED8\u8BA4\u89C6\u56FE\u5DF2\u9690\u85CF ${attention.length - visible.length} \u4E2A\u8F83\u4F4E\u4F18\u5148\u7EA7\u9879\u76EE\u3002`
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
lines.push(
|
|
71
|
+
view.language === "en-US" ? "Details: /doctor all. Problems: /problems." : "\u8BE6\u60C5\uFF1A/doctor all\u3002\u95EE\u9898\u5217\u8868\uFF1A/problems\u3002"
|
|
72
|
+
);
|
|
73
|
+
return lines.join("\n");
|
|
74
|
+
}
|
|
75
|
+
function formatTerminalReadinessStatus(view) {
|
|
76
|
+
const items = createReadinessItems(view);
|
|
77
|
+
const blocked = items.filter((item) => item.status !== "pass");
|
|
78
|
+
const headline = view.language === "en-US" ? `Readiness: local ${items.length - blocked.length}/${items.length} pass \xB7 blockers ${blocked.length} \xB7 no smoke/Beta PASS` : `Readiness\uFF1A\u672C\u5730 ${items.length - blocked.length}/${items.length} pass \xB7 \u5F85\u5904\u7406 ${blocked.length} \xB7 \u975E smoke/Beta PASS`;
|
|
79
|
+
const top = blocked.slice(0, 3).map((item) => `${item.label}: ${item.status}`);
|
|
80
|
+
return [headline, top.length > 0 ? `- ${top.join("; ")}` : void 0].filter(Boolean).join("\n");
|
|
81
|
+
}
|
|
82
|
+
function formatTerminalProblemsPanel(view) {
|
|
83
|
+
const problems = view.problems.slice(0, 8);
|
|
84
|
+
if (problems.length === 0) {
|
|
85
|
+
return view.language === "en-US" ? "Problems Lite: no current local verification/provider/background/freshness problems. This is not a readiness PASS." : "Problems Lite\uFF1A\u5F53\u524D\u6CA1\u6709\u672C\u5730 verification/provider/background/freshness \u95EE\u9898\u3002\u8FD9\u4E0D\u4EE3\u8868 readiness PASS\u3002";
|
|
86
|
+
}
|
|
87
|
+
const lines = [
|
|
88
|
+
view.language === "en-US" ? `Problems Lite: ${problems.length} current problem(s); derived from local runtime evidence only.` : `Problems Lite\uFF1A\u5F53\u524D ${problems.length} \u4E2A\u95EE\u9898\uFF1B\u4EC5\u6765\u81EA\u672C\u5730 runtime evidence\u3002`
|
|
89
|
+
];
|
|
90
|
+
for (const problem of problems) {
|
|
91
|
+
lines.push(
|
|
92
|
+
`- [${problem.severity.toUpperCase()}] ${problem.source}: ${short(sanitizePrimary(problem.summary), 140)}; ${view.language === "en-US" ? "next" : "\u4E0B\u4E00\u6B65"}: ${sanitizePrimary(problem.nextAction)}${problem.detailRef ? ` (${sanitizePrimary(problem.detailRef)})` : ""}`
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
lines.push(
|
|
96
|
+
view.language === "en-US" ? "Open details with /verify last, /details evidence, /details background <id>, or provider/index/cache doctors." : "\u53EF\u7528 /verify last\u3001/details evidence\u3001/details background <id> \u6216 provider/index/cache doctor \u67E5\u770B\u8BE6\u60C5\u3002"
|
|
97
|
+
);
|
|
98
|
+
return lines.join("\n");
|
|
99
|
+
}
|
|
100
|
+
function createReadinessItems(view) {
|
|
101
|
+
const verificationStatus = classifyVerification(view.verification?.status);
|
|
102
|
+
return [
|
|
103
|
+
{
|
|
104
|
+
id: "provider",
|
|
105
|
+
label: "provider/model",
|
|
106
|
+
// D.14A-R-Fix P1-5 — 没有真实 endpoint/provider evidence 时不显示 pass。
|
|
107
|
+
// last failure → fail;provider unknown → unknown;已配置但未 live-verified
|
|
108
|
+
// → partial(configured / not live-verified);只有 live-verified 才 pass。
|
|
109
|
+
status: view.providerFailure ? "fail" : view.provider === "unknown" ? "unknown" : view.providerLiveVerified ? "pass" : "partial",
|
|
110
|
+
summary: view.providerFailure ? `last failure ${view.providerFailure.code} on ${view.providerFailure.provider}/${view.providerFailure.model}` : view.providerLiveVerified ? `live-verified ${view.provider}/${view.model}` : `configured ${view.provider}/${view.model}; not live-verified`,
|
|
111
|
+
nextAction: view.providerFailure ? "/model doctor" : view.providerLiveVerified ? "/model doctor for details" : "send a message or run a real provider smoke to live-verify; /model doctor for config"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
id: "index",
|
|
115
|
+
label: "index",
|
|
116
|
+
status: view.index.status === "ready" ? "pass" : view.index.status === "stale" ? "stale" : view.index.status === "missing" || view.index.status === "error" ? "partial" : "unknown",
|
|
117
|
+
summary: view.language === "en-US" ? `status ${view.index.status}${typeof view.index.changedFiles === "number" ? `; changed files ${view.index.changedFiles}` : ""}` : `\u72B6\u6001 ${view.index.status}${typeof view.index.changedFiles === "number" ? `\uFF1B\u6539\u52A8\u6587\u4EF6 ${view.index.changedFiles}` : ""}`,
|
|
118
|
+
nextAction: view.index.status === "ready" ? "/index status" : "/index doctor"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
id: "cache",
|
|
122
|
+
label: "cache/context",
|
|
123
|
+
status: view.cache.workspaceSnapshot === "ready" ? "pass" : "partial",
|
|
124
|
+
summary: view.language === "en-US" ? `hit rate ${formatPercent(view.cache.latestHitRate)}; compacted ${view.cache.compacted ? "yes" : "no"}; workspace snapshot ${view.cache.workspaceSnapshot}` : `\u547D\u4E2D\u7387 ${formatPercent(view.cache.latestHitRate)}\uFF1B\u5DF2\u538B\u7F29 ${view.cache.compacted ? "\u662F" : "\u5426"}\uFF1B\u5DE5\u4F5C\u533A\u5FEB\u7167 ${view.cache.workspaceSnapshot}`,
|
|
125
|
+
nextAction: "/cache status"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
id: "memory",
|
|
129
|
+
label: "memory/rules",
|
|
130
|
+
status: view.memory.projectRules === "found" ? "pass" : "partial",
|
|
131
|
+
summary: view.language === "en-US" ? `project rules ${view.memory.projectRules}; candidates ${view.memory.candidates}; accepted ${view.memory.accepted}` : `\u9879\u76EE\u89C4\u5219 ${view.memory.projectRules}\uFF1B\u5019\u9009 ${view.memory.candidates}\uFF1B\u5DF2\u63A5\u53D7 ${view.memory.accepted}`,
|
|
132
|
+
nextAction: "/memory"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
id: "mcp",
|
|
136
|
+
label: "mcp/connect",
|
|
137
|
+
status: view.mcp.errors > 0 ? "partial" : view.mcp.enabled && view.mcp.tools > 0 ? "pass" : view.mcp.servers > 0 ? "partial" : "unknown",
|
|
138
|
+
summary: view.language === "en-US" ? `enabled ${view.mcp.enabled ? "yes" : "no"}; servers ${view.mcp.servers}; tools ${view.mcp.tools}; errors ${view.mcp.errors}` : `\u542F\u7528 ${view.mcp.enabled ? "\u662F" : "\u5426"}\uFF1B\u670D\u52A1 ${view.mcp.servers}\uFF1B\u5DE5\u5177 ${view.mcp.tools}\uFF1B\u9519\u8BEF ${view.mcp.errors}`,
|
|
139
|
+
nextAction: "/mcp doctor"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
id: "background",
|
|
143
|
+
label: "background/tasks",
|
|
144
|
+
status: view.background.blocked > 0 ? "partial" : view.background.running > 0 ? "unknown" : "pass",
|
|
145
|
+
summary: view.language === "en-US" ? `total ${view.background.total}; running ${view.background.running}; blocked ${view.background.blocked}` : `\u603B\u6570 ${view.background.total}\uFF1B\u8FD0\u884C\u4E2D ${view.background.running}\uFF1B\u963B\u585E ${view.background.blocked}`,
|
|
146
|
+
nextAction: view.background.total > 0 ? "/background" : view.background.blocked > 0 ? "/problems" : "no action"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
id: "verification",
|
|
150
|
+
label: "verification",
|
|
151
|
+
status: verificationStatus,
|
|
152
|
+
summary: view.verification ? view.language === "en-US" ? `status ${view.verification.status}; unverified ${view.verification.unverified}; risk ${view.verification.risk}` : `\u72B6\u6001 ${view.verification.status}\uFF1B\u672A\u9A8C\u8BC1 ${view.verification.unverified}\uFF1B\u98CE\u9669 ${view.verification.risk}` : "no recent verification",
|
|
153
|
+
nextAction: view.verification ? "/verify last" : "/verify plan"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
id: "freshness",
|
|
157
|
+
label: "freshness/web evidence",
|
|
158
|
+
status: view.freshness.webSourceEvidence === "present" ? "partial" : "unknown",
|
|
159
|
+
summary: view.language === "en-US" ? `web source evidence ${view.freshness.webSourceEvidence}; local presence is not source validation` : `\u7F51\u9875\u8BC1\u636E ${view.freshness.webSourceEvidence}\uFF1B\u672C\u5730\u5B58\u5728\u4E0D\u7B49\u4E8E\u6765\u6E90\u5DF2\u9A8C\u8BC1`,
|
|
160
|
+
nextAction: view.freshness.webSourceEvidence === "present" ? "/details evidence to confirm relevance and recency" : "mark current/external facts as unverified"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
id: "project-doctor",
|
|
164
|
+
label: "project doctor lite",
|
|
165
|
+
status: view.projectDoctor.status,
|
|
166
|
+
summary: view.language === "en-US" ? `package manager ${view.projectDoctor.packageManager}; scripts ${view.projectDoctor.scripts.length}; checks ${view.projectDoctor.checks.length}; configs ${view.projectDoctor.configFiles.length}; ci ${view.projectDoctor.ciFiles.length}; unknown ${view.projectDoctor.unknown.length}` : `\u5305\u7BA1\u7406\u5668 ${view.projectDoctor.packageManager}\uFF1B\u811A\u672C ${view.projectDoctor.scripts.length}\uFF1B\u68C0\u67E5 ${view.projectDoctor.checks.length}\uFF1B\u914D\u7F6E ${view.projectDoctor.configFiles.length}\uFF1BCI ${view.projectDoctor.ciFiles.length}\uFF1B\u672A\u77E5 ${view.projectDoctor.unknown.length}`,
|
|
167
|
+
nextAction: "/doctor project"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
id: "source-drift",
|
|
171
|
+
label: "source-of-truth drift lite",
|
|
172
|
+
status: view.sourceDrift.status,
|
|
173
|
+
summary: view.language === "en-US" ? `checked ${view.sourceDrift.checked.length}; issues ${view.sourceDrift.issues.length}` : `\u5DF2\u68C0\u67E5 ${view.sourceDrift.checked.length}\uFF1B\u95EE\u9898 ${view.sourceDrift.issues.length}`,
|
|
174
|
+
nextAction: view.sourceDrift.nextAction
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
id: "context-picker",
|
|
178
|
+
label: "context picker lite",
|
|
179
|
+
status: view.contextPicker.status,
|
|
180
|
+
summary: view.language === "en-US" ? `refs ${view.contextPicker.refs.length}; evidence kinds ${view.contextPicker.evidenceKinds.length}; index ${view.contextPicker.indexFreshness}` : `\u5F15\u7528 ${view.contextPicker.refs.length}\uFF1B\u8BC1\u636E\u7C7B\u578B ${view.contextPicker.evidenceKinds.length}\uFF1B\u7D22\u5F15 ${view.contextPicker.indexFreshness}`,
|
|
181
|
+
nextAction: "/doctor project"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
id: "rollback-coach",
|
|
185
|
+
label: "rollback coach lite",
|
|
186
|
+
status: view.rollbackCoach.status,
|
|
187
|
+
summary: view.language === "en-US" ? `changed files ${view.rollbackCoach.changedFiles}; untracked ${view.rollbackCoach.untrackedFiles}; checkpoints ${view.rollbackCoach.checkpoints}; git status ${view.rollbackCoach.gitStatus}; mode ${view.rollbackCoach.mode}` : `\u6539\u52A8\u6587\u4EF6 ${view.rollbackCoach.changedFiles}\uFF1B\u672A\u8DDF\u8E2A ${view.rollbackCoach.untrackedFiles}\uFF1B\u68C0\u67E5\u70B9 ${view.rollbackCoach.checkpoints}\uFF1Bgit \u72B6\u6001 ${view.rollbackCoach.gitStatus}\uFF1B\u6A21\u5F0F ${view.rollbackCoach.mode}`,
|
|
188
|
+
nextAction: view.rollbackCoach.nextAction
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: "task-cost-preview",
|
|
192
|
+
label: "task cost preview lite",
|
|
193
|
+
status: view.costPreview.status,
|
|
194
|
+
summary: view.language === "en-US" ? `level ${view.costPreview.level}; labels ${view.costPreview.labels.join(", ")}` : `\u7EA7\u522B ${view.costPreview.level}\uFF1B\u6807\u7B7E ${view.costPreview.labels.join("\u3001")}`,
|
|
195
|
+
nextAction: view.costPreview.nextAction
|
|
196
|
+
},
|
|
197
|
+
...view.runtimePath ? [guardRuntimePathToReadinessItem(view.runtimePath, view.language)] : [],
|
|
198
|
+
...view.verificationLevel ? [guardVerificationLevelToReadinessItem(view.verificationLevel, view.language)] : [],
|
|
199
|
+
...view.startupPath ? [guardStartupPathToReadinessItem(view.startupPath, view.language)] : []
|
|
200
|
+
];
|
|
201
|
+
}
|
|
202
|
+
function formatReadinessLiteSections(view) {
|
|
203
|
+
const lines = [view.language === "en-US" ? "Lite readiness surfaces:" : "\u8F7B\u91CF\u5C31\u7EEA\u5165\u53E3\uFF1A"];
|
|
204
|
+
const projectUnknown = view.projectDoctor.unknown.length ? view.language === "en-US" ? ` \xB7 unknown ${safeReadableList(view.projectDoctor.unknown)}` : ` \xB7 \u672A\u77E5 ${safeReadableList(view.projectDoctor.unknown)}` : "";
|
|
205
|
+
if (view.language === "en-US") {
|
|
206
|
+
lines.push(
|
|
207
|
+
`- Project Doctor Lite: [${view.projectDoctor.status.toUpperCase()}] package manager ${view.projectDoctor.packageManager} \xB7 scripts ${safeReadableList(view.projectDoctor.scripts)} \xB7 checks ${safeReadableList(view.projectDoctor.checks)} \xB7 configs ${safeReadableList(view.projectDoctor.configFiles)} \xB7 ci ${safeReadableList(view.projectDoctor.ciFiles)} \xB7 project rules ${view.projectDoctor.projectRules}${projectUnknown}`
|
|
208
|
+
);
|
|
209
|
+
lines.push(
|
|
210
|
+
`- Source-of-Truth Drift Linter Lite: [${view.sourceDrift.status.toUpperCase()}] checked ${safeReadableList(view.sourceDrift.checked)} \xB7 issues ${safeReadableList(view.sourceDrift.issues)} \xB7 next ${view.sourceDrift.nextAction}`
|
|
211
|
+
);
|
|
212
|
+
lines.push(
|
|
213
|
+
`- Context Picker Lite: [${view.contextPicker.status.toUpperCase()}] refs ${safeReadableList(view.contextPicker.refs)} \xB7 evidence kinds ${safeReadableList(view.contextPicker.evidenceKinds)} \xB7 index ${view.contextPicker.indexFreshness}`
|
|
214
|
+
);
|
|
215
|
+
lines.push(
|
|
216
|
+
`- Rollback Coach Lite: [${view.rollbackCoach.status.toUpperCase()}] changed files ${view.rollbackCoach.changedFiles} \xB7 untracked ${view.rollbackCoach.untrackedFiles} \xB7 checkpoints ${view.rollbackCoach.checkpoints} \xB7 git status ${view.rollbackCoach.gitStatus} \xB7 mode ${view.rollbackCoach.mode} \xB7 next ${view.rollbackCoach.nextAction}`
|
|
217
|
+
);
|
|
218
|
+
lines.push(
|
|
219
|
+
`- Task Cost Preview Lite: [${view.costPreview.status.toUpperCase()}] level ${view.costPreview.level} \xB7 labels ${safeReadableList(view.costPreview.labels)} \xB7 next ${view.costPreview.nextAction}`
|
|
220
|
+
);
|
|
221
|
+
return lines.map(sanitizePrimary);
|
|
222
|
+
}
|
|
223
|
+
lines.push(
|
|
224
|
+
`- Project Doctor Lite: [${view.projectDoctor.status.toUpperCase()}] \u5305\u7BA1\u7406\u5668 ${view.projectDoctor.packageManager} \xB7 \u811A\u672C ${safeReadableList(view.projectDoctor.scripts)} \xB7 \u68C0\u67E5 ${safeReadableList(view.projectDoctor.checks)} \xB7 \u914D\u7F6E ${safeReadableList(view.projectDoctor.configFiles)} \xB7 CI ${safeReadableList(view.projectDoctor.ciFiles)} \xB7 \u9879\u76EE\u89C4\u5219 ${view.projectDoctor.projectRules}${projectUnknown}`
|
|
225
|
+
);
|
|
226
|
+
lines.push(
|
|
227
|
+
`- Source-of-Truth Drift Linter Lite: [${view.sourceDrift.status.toUpperCase()}] \u5DF2\u68C0\u67E5 ${safeReadableList(view.sourceDrift.checked)} \xB7 \u95EE\u9898 ${safeReadableList(view.sourceDrift.issues)} \xB7 \u4E0B\u4E00\u6B65 ${view.sourceDrift.nextAction}`
|
|
228
|
+
);
|
|
229
|
+
lines.push(
|
|
230
|
+
`- Context Picker Lite: [${view.contextPicker.status.toUpperCase()}] \u5F15\u7528 ${safeReadableList(view.contextPicker.refs)} \xB7 \u8BC1\u636E\u7C7B\u578B ${safeReadableList(view.contextPicker.evidenceKinds)} \xB7 \u7D22\u5F15 ${view.contextPicker.indexFreshness}`
|
|
231
|
+
);
|
|
232
|
+
lines.push(
|
|
233
|
+
`- Rollback Coach Lite: [${view.rollbackCoach.status.toUpperCase()}] \u6539\u52A8\u6587\u4EF6 ${view.rollbackCoach.changedFiles} \xB7 \u672A\u8DDF\u8E2A ${view.rollbackCoach.untrackedFiles} \xB7 \u68C0\u67E5\u70B9 ${view.rollbackCoach.checkpoints} \xB7 git \u72B6\u6001 ${view.rollbackCoach.gitStatus} \xB7 \u6A21\u5F0F ${view.rollbackCoach.mode} \xB7 \u4E0B\u4E00\u6B65 ${view.rollbackCoach.nextAction}`
|
|
234
|
+
);
|
|
235
|
+
lines.push(
|
|
236
|
+
`- Task Cost Preview Lite: [${view.costPreview.status.toUpperCase()}] \u7EA7\u522B ${view.costPreview.level} \xB7 \u6807\u7B7E ${safeReadableList(view.costPreview.labels)} \xB7 \u4E0B\u4E00\u6B65 ${view.costPreview.nextAction}`
|
|
237
|
+
);
|
|
238
|
+
return lines.map(sanitizePrimary);
|
|
239
|
+
}
|
|
240
|
+
function classifyVerification(status) {
|
|
241
|
+
if (!status) return "unknown";
|
|
242
|
+
if (status === "pass") return "pass";
|
|
243
|
+
if (status === "cancelled" || status === "timeout" || status === "stale") return "blocked";
|
|
244
|
+
if (status === "fail") return "fail";
|
|
245
|
+
return "partial";
|
|
246
|
+
}
|
|
247
|
+
function formatPercent(value) {
|
|
248
|
+
if (value === null || Number.isNaN(value)) return "unknown";
|
|
249
|
+
return `${Math.round(value * 100)}%`;
|
|
250
|
+
}
|
|
251
|
+
function safeReadableList(values) {
|
|
252
|
+
if (values.length === 0) return "none";
|
|
253
|
+
return values.map((value) => short(sanitizePrimary(value).replace(/=/gu, " "), 32)).join(", ");
|
|
254
|
+
}
|
|
255
|
+
function displayProject(value) {
|
|
256
|
+
const normalized = value.replaceAll("\\", "/");
|
|
257
|
+
const parts = normalized.split("/").filter(Boolean);
|
|
258
|
+
const tail = parts.at(-1) ?? "project";
|
|
259
|
+
return short(`\u2026/${tail}`, 90);
|
|
260
|
+
}
|
|
261
|
+
function sanitizePrimary(value) {
|
|
262
|
+
return value.replace(/sk-[A-Za-z0-9_-]+/gu, "sk-***").replace(/Bearer\s+[A-Za-z0-9._~-]+/giu, "Bearer ***").replace(/api[_-]?key=[^\s&]+/giu, "api_key=***").replace(/[A-Z]:[\\/][^\s)]+/gu, (match) => {
|
|
263
|
+
const parts = match.replace(/\\/g, "/").split("/");
|
|
264
|
+
const tail = parts.at(-1) ?? "file";
|
|
265
|
+
return `[\u2026/${tail}]`;
|
|
266
|
+
}).replace(/\/(?:home|Users|tmp|var|private)\/[^\s)]*/gu, (match) => {
|
|
267
|
+
const parts = match.split("/");
|
|
268
|
+
const tail = parts.at(-1) ?? "file";
|
|
269
|
+
return `[\u2026/${tail}]`;
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
function short(value, max) {
|
|
273
|
+
if (value.length <= max) return value;
|
|
274
|
+
return `${value.slice(0, Math.max(0, max - 1))}\u2026`;
|
|
275
|
+
}
|
|
276
|
+
function guardRuntimePathToReadinessItem(rp, language) {
|
|
277
|
+
const marker = {
|
|
278
|
+
path: rp.path,
|
|
279
|
+
kind: rp.kind,
|
|
280
|
+
isMainPath: rp.kind === "main",
|
|
281
|
+
isFallback: rp.kind === "fallback",
|
|
282
|
+
canClaimMature: rp.canClaimMature,
|
|
283
|
+
degradedReason: rp.degradedReason,
|
|
284
|
+
detectionMethod: "default"
|
|
285
|
+
};
|
|
286
|
+
const item = formatRuntimePathDoctor(marker, language);
|
|
287
|
+
return {
|
|
288
|
+
id: item.id,
|
|
289
|
+
label: item.label,
|
|
290
|
+
status: item.ok ? "pass" : "partial",
|
|
291
|
+
summary: item.summary,
|
|
292
|
+
nextAction: item.nextAction
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
function guardVerificationLevelToReadinessItem(vl, language) {
|
|
296
|
+
const classification = {
|
|
297
|
+
level: vl.level,
|
|
298
|
+
isRealSmoke: vl.level === "real-smoke",
|
|
299
|
+
canClaimMature: vl.canClaimMature,
|
|
300
|
+
canClaimPass: vl.canClaimPass,
|
|
301
|
+
upgradeBlocked: vl.upgradeBlocked,
|
|
302
|
+
blockReason: vl.blockReason,
|
|
303
|
+
requiredForMature: vl.canClaimMature ? "already-mature" : "real-smoke-required"
|
|
304
|
+
};
|
|
305
|
+
const item = formatVerificationLevelDoctor(classification, language);
|
|
306
|
+
return {
|
|
307
|
+
id: item.id,
|
|
308
|
+
label: item.label,
|
|
309
|
+
status: vl.canClaimPass ? vl.canClaimMature ? "pass" : "partial" : "unknown",
|
|
310
|
+
summary: item.summary,
|
|
311
|
+
nextAction: item.nextAction
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
function guardStartupPathToReadinessItem(sp, language) {
|
|
315
|
+
const marker = {
|
|
316
|
+
entryKind: sp.entryKind,
|
|
317
|
+
isVerifiedCurrent: sp.isVerifiedCurrent,
|
|
318
|
+
staleRisk: sp.staleRisk,
|
|
319
|
+
staleReason: sp.staleReason
|
|
320
|
+
};
|
|
321
|
+
const item = formatStartupPathDoctor(marker, language);
|
|
322
|
+
return {
|
|
323
|
+
id: item.id,
|
|
324
|
+
label: item.label,
|
|
325
|
+
status: item.ok ? "pass" : "partial",
|
|
326
|
+
summary: item.summary,
|
|
327
|
+
nextAction: item.nextAction
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export {
|
|
332
|
+
formatTerminalReadinessDoctor,
|
|
333
|
+
formatTerminalReadinessStatus,
|
|
334
|
+
formatTerminalProblemsPanel,
|
|
335
|
+
createReadinessItems
|
|
336
|
+
};
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import {
|
|
2
|
+
deriveAgentDisplayName,
|
|
3
|
+
findDurableJob,
|
|
4
|
+
formatJobList,
|
|
5
|
+
formatJobLogs,
|
|
6
|
+
formatJobPrimary,
|
|
7
|
+
formatJobReport,
|
|
8
|
+
getDurableJobMaxSteps,
|
|
9
|
+
getDurableJobPaths,
|
|
10
|
+
getDurableJobsRoot,
|
|
11
|
+
listDurableJobs
|
|
12
|
+
} from "./chunk-TYF4GJR3.js";
|
|
13
|
+
import {
|
|
14
|
+
formatJobNextAction,
|
|
15
|
+
mapDurableJobToBackgroundResult,
|
|
16
|
+
mapDurableJobToBackgroundStatus
|
|
17
|
+
} from "./chunk-UDQT5CWK.js";
|
|
18
|
+
import {
|
|
19
|
+
MAX_BACKGROUND_TASKS
|
|
20
|
+
} from "./chunk-RDGM4RUE.js";
|
|
21
|
+
import {
|
|
22
|
+
formatIndexRuntimeRef
|
|
23
|
+
} from "./chunk-UT2TYK2A.js";
|
|
24
|
+
import {
|
|
25
|
+
truncateDisplay
|
|
26
|
+
} from "./chunk-OMZYPQVA.js";
|
|
27
|
+
|
|
28
|
+
// src/tui-agent-job-runtime.ts
|
|
29
|
+
function isAgentType(value) {
|
|
30
|
+
return value === "explorer" || value === "worker" || value === "verifier" || value === "planner";
|
|
31
|
+
}
|
|
32
|
+
function getAgentRole(type) {
|
|
33
|
+
if (type === "planner") {
|
|
34
|
+
return "planner";
|
|
35
|
+
}
|
|
36
|
+
if (type === "verifier") {
|
|
37
|
+
return "verifier";
|
|
38
|
+
}
|
|
39
|
+
return "executor";
|
|
40
|
+
}
|
|
41
|
+
function getAgentPermissionMode(type, parentMode) {
|
|
42
|
+
if (type === "explorer" || type === "planner") {
|
|
43
|
+
return "plan";
|
|
44
|
+
}
|
|
45
|
+
if (type === "verifier") {
|
|
46
|
+
return "default";
|
|
47
|
+
}
|
|
48
|
+
return parentMode;
|
|
49
|
+
}
|
|
50
|
+
function createEmptyAgentCost(task) {
|
|
51
|
+
const inputTokens = Math.ceil(task.length / 4);
|
|
52
|
+
return { inputTokens, outputTokens: 0, cacheReadTokens: 0, cacheWriteTokens: 0, estimatedCny: 0 };
|
|
53
|
+
}
|
|
54
|
+
function createAgentContextSummary(packet, task, context) {
|
|
55
|
+
const evidence = packet.evidenceRefs.map((item) => `${item.kind}:${item.source}`).slice(0, 5);
|
|
56
|
+
const files = packet.keyFiles.slice(0, 8);
|
|
57
|
+
const activeFailures = context.failureLearning.records.filter(
|
|
58
|
+
(item) => item.status === "active" && item.projectScope === context.failureLearning.projectScope
|
|
59
|
+
);
|
|
60
|
+
const freshness = context.cache.lastFreshness ? `changed ${context.cache.lastFreshness.changedKeys.slice(0, 5).join(", ") || "none"}` : "not checked";
|
|
61
|
+
const architecture = packet.currentArchitectureCard ? truncateDisplay(packet.currentArchitectureCard.recommendedApproach, 120) : "none";
|
|
62
|
+
const indexSummary = formatIndexRuntimeRef(packet.indexStatus).replace(/=/gu, " ");
|
|
63
|
+
return [
|
|
64
|
+
"Agent context package (trimmed)",
|
|
65
|
+
`handoff ${packet.id}`,
|
|
66
|
+
`task ${truncateDisplay(task, 200)}`,
|
|
67
|
+
`language ${context.language}`,
|
|
68
|
+
`todos ${packet.todos.length}`,
|
|
69
|
+
`evidence ${evidence.length > 0 ? evidence.join("; ") : "none"}`,
|
|
70
|
+
`key files ${files.length > 0 ? files.join(", ") : "none"}`,
|
|
71
|
+
`index ${indexSummary}`,
|
|
72
|
+
`cache freshness ${freshness}`,
|
|
73
|
+
`architecture ${architecture}`,
|
|
74
|
+
`failure learning ${activeFailures.length}`,
|
|
75
|
+
`permission ${context.permissionMode}`,
|
|
76
|
+
"not included: full transcript/full memory/full index/large logs"
|
|
77
|
+
].join(" | ");
|
|
78
|
+
}
|
|
79
|
+
function createAgentBackgroundTask(agent, context) {
|
|
80
|
+
const label = agent.displayName ?? deriveAgentDisplayName(agent.type, agent.task);
|
|
81
|
+
const isEn = context.language === "en-US";
|
|
82
|
+
const isTerminal = agent.status === "blocked" || agent.status === "cancelled" || agent.status === "failed";
|
|
83
|
+
const isIdle = agent.status === "idle";
|
|
84
|
+
const backgroundStatus = isTerminal ? agent.status === "blocked" ? "blocked" : agent.status === "cancelled" ? "cancelled" : agent.status === "failed" ? "failed" : "completed" : isIdle ? "completed" : agent.status === "stale" ? "stale" : "running";
|
|
85
|
+
const backgroundResult = isTerminal ? agent.status === "cancelled" ? "cancelled" : "fail" : isIdle ? mapAgentBackgroundResult(agent, agent.lastTerminalStatus) : agent.status === "stale" ? "partial" : void 0;
|
|
86
|
+
const currentStep = isTerminal ? agent.status : isIdle ? agent.activitySummary ? `idle: ${agent.activitySummary}` : "idle" : agent.status === "stale" ? "stale/resumable" : isEn ? `running ${agent.type}` : `\u6B63\u5728\u8FD0\u884C ${agent.type}`;
|
|
87
|
+
const progress = isTerminal || isIdle ? { completed: 1, total: 1, label } : { completed: 0, total: 1, label };
|
|
88
|
+
const userVisibleSummary = isTerminal ? agent.summary : isIdle ? agent.summary : agent.status === "stale" ? agent.summary : isEn ? `Started ${label}. Use /agents show ${agent.id}.` : `\u5DF2\u542F\u52A8 ${label}\u3002\u53EF\u7528 /agents show ${agent.id} \u67E5\u770B\u3002`;
|
|
89
|
+
return {
|
|
90
|
+
id: agent.id,
|
|
91
|
+
kind: "agent",
|
|
92
|
+
title: `Agent ${label}`,
|
|
93
|
+
status: backgroundStatus,
|
|
94
|
+
currentStep,
|
|
95
|
+
progress,
|
|
96
|
+
result: backgroundResult,
|
|
97
|
+
startedAt: agent.startedAt,
|
|
98
|
+
updatedAt: agent.updatedAt,
|
|
99
|
+
heartbeatIntervalMs: 3e4,
|
|
100
|
+
staleAfterMs: 12e4,
|
|
101
|
+
outputPath: agent.transcriptPath,
|
|
102
|
+
hasOutput: true,
|
|
103
|
+
userVisibleSummary,
|
|
104
|
+
nextAction: isEn ? `Use /agents cancel ${agent.id} to interrupt.` : `\u53EF\u7528 /agents cancel ${agent.id} \u4E2D\u65AD\u3002`
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function isAgentCancellable(agent) {
|
|
108
|
+
return agent.status === "running";
|
|
109
|
+
}
|
|
110
|
+
function mapAgentBackgroundResult(agent, lastTerminalStatus) {
|
|
111
|
+
if (agent.type !== "verifier") {
|
|
112
|
+
return "partial";
|
|
113
|
+
}
|
|
114
|
+
return lastTerminalStatus === "completed" ? "partial" : lastTerminalStatus === "failed" ? "fail" : "partial";
|
|
115
|
+
}
|
|
116
|
+
function findAgent(context, id) {
|
|
117
|
+
if (id) {
|
|
118
|
+
const normalized = id.trim();
|
|
119
|
+
return context.agents.find(
|
|
120
|
+
(agent) => agent.id === normalized || agent.id.endsWith(normalized) || agent.addressableName === normalized || agent.teamName === normalized
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
return context.agents.find((agent) => agent.status === "running") ?? context.agents.find((agent) => agent.status === "idle") ?? context.agents.find((agent) => agent.status === "stale") ?? context.agents.find((agent) => agent.status === "blocked") ?? context.agents[0];
|
|
124
|
+
}
|
|
125
|
+
function listCancellableAgents(context) {
|
|
126
|
+
return context.agents.filter(isAgentCancellable);
|
|
127
|
+
}
|
|
128
|
+
function formatAgentSummary(agent, _context) {
|
|
129
|
+
const displayStatus = agent.status === "idle" && agent.lastTerminalStatus ? agent.lastTerminalStatus : agent.status;
|
|
130
|
+
return `[agent] ${agent.id} \xB7 ${agent.type} \xB7 ${displayStatus} \xB7 ${agent.summary}`;
|
|
131
|
+
}
|
|
132
|
+
function findBackgroundTask(context, id) {
|
|
133
|
+
if (!id) {
|
|
134
|
+
return context.backgroundTasks[0];
|
|
135
|
+
}
|
|
136
|
+
return context.backgroundTasks.find((task) => task.id === id || task.id.endsWith(id));
|
|
137
|
+
}
|
|
138
|
+
function isActiveBackgroundStatus(status) {
|
|
139
|
+
return status === "running";
|
|
140
|
+
}
|
|
141
|
+
function isRuntimeActiveBackgroundTask(task) {
|
|
142
|
+
return task.status === "running";
|
|
143
|
+
}
|
|
144
|
+
function rememberBackgroundTask(context, task) {
|
|
145
|
+
context.backgroundTasks.unshift(task);
|
|
146
|
+
context.backgroundTasks = context.backgroundTasks.slice(0, MAX_BACKGROUND_TASKS);
|
|
147
|
+
}
|
|
148
|
+
var AUTO_REMOVE_COMPLETED_TASKS_MS = 5e3;
|
|
149
|
+
function cleanupCompletedBackgroundTasks(context) {
|
|
150
|
+
if (!context.dismissedBackgroundTaskIds) {
|
|
151
|
+
context.dismissedBackgroundTaskIds = /* @__PURE__ */ new Set();
|
|
152
|
+
}
|
|
153
|
+
const now = Date.now();
|
|
154
|
+
for (const task of context.backgroundTasks) {
|
|
155
|
+
if (task.status === "completed" && task.completedAt && !context.dismissedBackgroundTaskIds.has(task.id)) {
|
|
156
|
+
const completedTime = Date.parse(task.completedAt);
|
|
157
|
+
if (Number.isFinite(completedTime) && now - completedTime >= AUTO_REMOVE_COMPLETED_TASKS_MS) {
|
|
158
|
+
context.dismissedBackgroundTaskIds.add(task.id);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
function getBackgroundAbortControllers(context) {
|
|
164
|
+
if (!context.backgroundAbortControllers) {
|
|
165
|
+
context.backgroundAbortControllers = /* @__PURE__ */ new Map();
|
|
166
|
+
}
|
|
167
|
+
return context.backgroundAbortControllers;
|
|
168
|
+
}
|
|
169
|
+
function registerBackgroundAbortController(context, taskId) {
|
|
170
|
+
const controller = new AbortController();
|
|
171
|
+
getBackgroundAbortControllers(context).set(taskId, controller);
|
|
172
|
+
return controller;
|
|
173
|
+
}
|
|
174
|
+
function clearBackgroundAbortController(context, taskId) {
|
|
175
|
+
context.backgroundAbortControllers?.delete(taskId);
|
|
176
|
+
}
|
|
177
|
+
function abortBackgroundTask(context, taskId) {
|
|
178
|
+
const controller = context.backgroundAbortControllers?.get(taskId);
|
|
179
|
+
if (!controller) {
|
|
180
|
+
return false;
|
|
181
|
+
}
|
|
182
|
+
controller.abort();
|
|
183
|
+
clearBackgroundAbortController(context, taskId);
|
|
184
|
+
return true;
|
|
185
|
+
}
|
|
186
|
+
function toJobContext(context) {
|
|
187
|
+
return { config: context.config, projectPath: context.projectPath, language: context.language };
|
|
188
|
+
}
|
|
189
|
+
async function listDurableJobs2(context) {
|
|
190
|
+
return listDurableJobs(toJobContext(context));
|
|
191
|
+
}
|
|
192
|
+
async function findDurableJob2(context, id) {
|
|
193
|
+
return findDurableJob(toJobContext(context), id);
|
|
194
|
+
}
|
|
195
|
+
function getDurableJobsRoot2(context) {
|
|
196
|
+
return getDurableJobsRoot(toJobContext(context));
|
|
197
|
+
}
|
|
198
|
+
function getDurableJobPaths2(context, id) {
|
|
199
|
+
return getDurableJobPaths(toJobContext(context), id);
|
|
200
|
+
}
|
|
201
|
+
function formatJobList2(jobs, context) {
|
|
202
|
+
return formatJobList(jobs, toJobContext(context));
|
|
203
|
+
}
|
|
204
|
+
function formatJobPrimary2(job, context) {
|
|
205
|
+
return formatJobPrimary(job, toJobContext(context));
|
|
206
|
+
}
|
|
207
|
+
function formatJobReport2(job) {
|
|
208
|
+
return formatJobReport(job);
|
|
209
|
+
}
|
|
210
|
+
async function formatJobLogs2(job) {
|
|
211
|
+
return formatJobLogs(job);
|
|
212
|
+
}
|
|
213
|
+
function createJobBackgroundTask(job, context) {
|
|
214
|
+
const runningAgents = job.agents.filter((agent) => agent.status === "running").length;
|
|
215
|
+
return {
|
|
216
|
+
id: job.id,
|
|
217
|
+
kind: "job",
|
|
218
|
+
title: `Job: ${truncateDisplay(job.goal, 40)}`,
|
|
219
|
+
status: mapDurableJobToBackgroundStatus(job.status),
|
|
220
|
+
currentStep: job.pauseReason ?? `worker step ${job.budget.usedSteps ?? 0}/${getDurableJobMaxSteps(job)}; agents ${runningAgents}/${job.agents.length}`,
|
|
221
|
+
progress: {
|
|
222
|
+
completed: job.budget.usedSteps ?? 0,
|
|
223
|
+
total: getDurableJobMaxSteps(job),
|
|
224
|
+
label: "worker steps"
|
|
225
|
+
},
|
|
226
|
+
startedAt: job.startedAt ?? job.createdAt,
|
|
227
|
+
updatedAt: job.updatedAt,
|
|
228
|
+
completedAt: job.status === "completed" ? job.endedAt : void 0,
|
|
229
|
+
heartbeatIntervalMs: 3e4,
|
|
230
|
+
staleAfterMs: job.timeoutMs,
|
|
231
|
+
logPath: job.logPath,
|
|
232
|
+
outputPath: job.fullOutputPath,
|
|
233
|
+
hasOutput: true,
|
|
234
|
+
result: mapDurableJobToBackgroundResult(job.status),
|
|
235
|
+
userVisibleSummary: job.status === "running" ? `Job running with ${runningAgents}/${job.agents.length} agents under cap ${job.budget.maxRunningAgents}; output stays in logs.` : `Job ${job.status}; ${job.pauseReason ?? "no evidence that verification passed was generated"}.`,
|
|
236
|
+
nextAction: formatJobNextAction(job, context.language)
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
function upsertJobBackgroundTask(context, job) {
|
|
240
|
+
const existing = context.backgroundTasks.find((task2) => task2.id === job.id);
|
|
241
|
+
const task = createJobBackgroundTask(job, context);
|
|
242
|
+
if (existing) {
|
|
243
|
+
Object.assign(existing, task);
|
|
244
|
+
return existing;
|
|
245
|
+
}
|
|
246
|
+
rememberBackgroundTask(context, task);
|
|
247
|
+
return task;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export {
|
|
251
|
+
isAgentType,
|
|
252
|
+
getAgentRole,
|
|
253
|
+
getAgentPermissionMode,
|
|
254
|
+
createEmptyAgentCost,
|
|
255
|
+
createAgentContextSummary,
|
|
256
|
+
createAgentBackgroundTask,
|
|
257
|
+
isAgentCancellable,
|
|
258
|
+
mapAgentBackgroundResult,
|
|
259
|
+
findAgent,
|
|
260
|
+
listCancellableAgents,
|
|
261
|
+
formatAgentSummary,
|
|
262
|
+
findBackgroundTask,
|
|
263
|
+
isActiveBackgroundStatus,
|
|
264
|
+
isRuntimeActiveBackgroundTask,
|
|
265
|
+
rememberBackgroundTask,
|
|
266
|
+
cleanupCompletedBackgroundTasks,
|
|
267
|
+
getBackgroundAbortControllers,
|
|
268
|
+
registerBackgroundAbortController,
|
|
269
|
+
clearBackgroundAbortController,
|
|
270
|
+
abortBackgroundTask,
|
|
271
|
+
toJobContext,
|
|
272
|
+
listDurableJobs2 as listDurableJobs,
|
|
273
|
+
findDurableJob2 as findDurableJob,
|
|
274
|
+
getDurableJobsRoot2 as getDurableJobsRoot,
|
|
275
|
+
getDurableJobPaths2 as getDurableJobPaths,
|
|
276
|
+
formatJobList2 as formatJobList,
|
|
277
|
+
formatJobPrimary2 as formatJobPrimary,
|
|
278
|
+
formatJobReport2 as formatJobReport,
|
|
279
|
+
formatJobLogs2 as formatJobLogs,
|
|
280
|
+
createJobBackgroundTask,
|
|
281
|
+
upsertJobBackgroundTask
|
|
282
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { Writable } from "node:stream";
|
|
2
|
+
import type { TuiContext } from "./index.js";
|
|
3
|
+
import type { CommandPanelRow, CommandPanelView } from "./shell/types.js";
|
|
4
|
+
/**
|
|
5
|
+
* D.13Q-UX Task Surface Maturity Sweep — 通用 CommandPanel 设置器。
|
|
6
|
+
*
|
|
7
|
+
* 高级 slash 命令(/mcp, /memory, /index status, /cache, /background, /job,
|
|
8
|
+
* /plugins, /skills, /remote, /doctor, /model 等)的默认输出应走这条路径,
|
|
9
|
+
* 让命令结果落到独立面板,不污染 transcript / assistant_text 流。
|
|
10
|
+
*
|
|
11
|
+
* - ink session(context.isInkSession === true)走 commandPanelState 路径,
|
|
12
|
+
* shell.rerender 由调用栈外面统一触发。
|
|
13
|
+
* - 非 ink(plain TUI / 非交互)走 writeDiagnosticLine fallback:把 panel
|
|
14
|
+
* 的 summary + sections 拼成可读多行文本,保留原行为。
|
|
15
|
+
*
|
|
16
|
+
* 调用方应当只把"用户面向"的关键状态填进 panel;guard / runtime / binary /
|
|
17
|
+
* source / version / schemaLoaded / trustLevel / endpoint 等内部字段一律
|
|
18
|
+
* 不进 summary / sections,要么入 detailsText,要么仅在 doctor 子命令路径上输出。
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* D.13Q-UX Task Surface Maturity Sweep — explicit /details panel 装配器。
|
|
22
|
+
*
|
|
23
|
+
* 把 lastFullOutput / evidence / background 装配成一个 CommandPanel detailsText
|
|
24
|
+
* 视图,供显式 /details slash 命令和测试使用。Ctrl+O 不走这里;它只切换
|
|
25
|
+
* transcript/message block 的 verbose 展开态。
|
|
26
|
+
*
|
|
27
|
+
* 返回 undefined 表示三类内容都为空 —— 调用方走 notifications 轻提示。
|
|
28
|
+
*/
|
|
29
|
+
export declare function buildExplicitDetailsCommandPanel(context: TuiContext): CommandPanelView | undefined;
|
|
30
|
+
export declare function showCommandPanel(context: TuiContext, output: Writable, panel: CommandPanelView): void;
|
|
31
|
+
export declare function getCommandPanelRowText(row: CommandPanelRow): string;
|
|
32
|
+
export declare function getCommandPanelSelectableRows(panel: CommandPanelView): Exclude<CommandPanelRow, string>[];
|
|
33
|
+
//# sourceMappingURL=command-panel-runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-panel-runtime.d.ts","sourceRoot":"","sources":["../src/command-panel-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAG1E;;;;;;;;;;;;;;;GAeG;AACH;;;;;;;;GAQG;AACH,wBAAgB,gCAAgC,CAC9C,OAAO,EAAE,UAAU,GAClB,gBAAgB,GAAG,SAAS,CA8M9B;AAsBD,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,UAAU,EACnB,MAAM,EAAE,QAAQ,EAChB,KAAK,EAAE,gBAAgB,GACtB,IAAI,CA+BN;AAED,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,eAAe,GAAG,MAAM,CAEnE;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,gBAAgB,GACtB,OAAO,CAAC,eAAe,EAAE,MAAM,CAAC,EAAE,CAOpC"}
|