@maincode-ai/matilda-code 0.21.10-preview.1 → 0.21.11

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.
Files changed (75) hide show
  1. package/bundled/mainy/docs/configuration/settings.md +1 -1
  2. package/bundled/mainy/docs/matilda-serve.md +6 -6
  3. package/chunks/{agent-XXSEYARS.js → agent-ZFZ4HJQC.js} +1 -1
  4. package/chunks/{agent-headless-YBWTAFUH.js → agent-headless-KH2BKLP7.js} +1 -1
  5. package/chunks/{ca-H4HPSGTI.js → ca-EUJBUYX5.js} +1 -1
  6. package/chunks/{chunk-FRRBNNEB.js → chunk-25NCTG5H.js} +63 -54
  7. package/chunks/{chunk-WJO3QSBJ.js → chunk-4YVN5HXG.js} +2 -2
  8. package/chunks/{chunk-MKFQMX37.js → chunk-5427BPR2.js} +2 -2
  9. package/chunks/{chunk-GC2F575A.js → chunk-6GBNB5Z2.js} +1 -1
  10. package/chunks/{chunk-3HUM74NZ.js → chunk-EQGA7LH7.js} +2 -2
  11. package/chunks/{chunk-TO3ID3JW.js → chunk-GHBKFIHC.js} +2 -2
  12. package/chunks/{chunk-S4UT3QLV.js → chunk-HWOQNYAO.js} +1 -1
  13. package/chunks/chunk-M53RP3YP.js +31 -0
  14. package/chunks/{chunk-HOCFKXNJ.js → chunk-NIQK6NX3.js} +1 -1
  15. package/chunks/{chunk-4TQ7ABLG.js → chunk-NVM7W7TG.js} +17 -17
  16. package/chunks/{chunk-66NIIU2R.js → chunk-Q55AVE2N.js} +1 -1
  17. package/chunks/chunk-QFNFLE2I.js +2625 -0
  18. package/chunks/chunk-RK2AKQAX.js +39 -0
  19. package/chunks/chunk-T2T2UEPY.js +4 -0
  20. package/chunks/chunk-VI74YQQO.js +8 -0
  21. package/chunks/{chunk-YSIECQIZ.js → chunk-WRQLIPXW.js} +3 -3
  22. package/chunks/{computer-use-HX2LYMYD.js → computer-use-SXP25RZQ.js} +1 -1
  23. package/chunks/{contextCommand-W7DBC37U.js → contextCommand-3GN5CAOK.js} +1 -1
  24. package/chunks/{de-S7F37S4F.js → de-DNEPG7S7.js} +1 -1
  25. package/chunks/{dist-ZOFMYY3D.js → dist-ME6647DQ.js} +1 -1
  26. package/chunks/{dist-SCXU6QWY.js → dist-P6SLWL5V.js} +1 -1
  27. package/chunks/{dist-PVENOVGI.js → dist-VG3ZDJ2A.js} +1 -1
  28. package/chunks/{dist-N66KF4KX.js → dist-YTCHM57U.js} +1 -1
  29. package/chunks/{edit-HFUF2RN3.js → edit-KX6V4PH3.js} +1 -1
  30. package/chunks/{en-S6DMCJQZ.js → en-NOD6KQNM.js} +1 -1
  31. package/chunks/{enter-worktree-LFCL64PJ.js → enter-worktree-X47BSJLE.js} +1 -1
  32. package/chunks/{enterPlanMode-TREN7ULJ.js → enterPlanMode-F22ZNTYJ.js} +1 -1
  33. package/chunks/{exit-worktree-MH2J4P42.js → exit-worktree-XY5UMDHX.js} +1 -1
  34. package/chunks/{exitPlanMode-PQO3EFFT.js → exitPlanMode-G3QLIWJ4.js} +1 -1
  35. package/chunks/{fr-RFJP3KVL.js → fr-2OE5WLJ4.js} +1 -1
  36. package/chunks/{geminiContentGenerator-FE5UVAOZ.js → geminiContentGenerator-EQEGOXOV.js} +1 -1
  37. package/chunks/{glob-VZAYMEQA.js → glob-KSBEWI3E.js} +1 -1
  38. package/chunks/{goal-tools-JN27F5BA.js → goal-tools-6QTC3UI7.js} +1 -1
  39. package/chunks/{grep-2VT5TSRU.js → grep-6TTPZ524.js} +1 -1
  40. package/chunks/{ja-UTJHPL3M.js → ja-3B6V5KS7.js} +1 -1
  41. package/chunks/{matildaAgentContentGenerator-EYETUHCZ.js → matildaAgentContentGenerator-OV4U6DJD.js} +1 -1
  42. package/chunks/{matildaContentGenerator-IWKH3YC4.js → matildaContentGenerator-ETIAWE22.js} +1 -1
  43. package/chunks/{matildaOAuth2-GRS5K3D4.js → matildaOAuth2-WOY7ZS43.js} +1 -1
  44. package/chunks/{monitor-AMIVJKDL.js → monitor-F4K5HOZX.js} +1 -1
  45. package/chunks/{notebook-edit-BQUXXNEO.js → notebook-edit-TL7CI5EA.js} +1 -1
  46. package/chunks/{openaiContentGenerator-4M7WBW3G.js → openaiContentGenerator-MGASUFQL.js} +1 -1
  47. package/chunks/{pt-KXMOTADP.js → pt-KP2JCPUY.js} +1 -1
  48. package/chunks/{read-file-FNJZCMIZ.js → read-file-6EAPS2KG.js} +1 -1
  49. package/chunks/{ripGrep-UOEUWYVF.js → ripGrep-K6SFFUIE.js} +1 -1
  50. package/chunks/{ru-EWGWZPQH.js → ru-K7IQQKHC.js} +1 -1
  51. package/chunks/{scheduler-ASQLD6BW.js → scheduler-TKWPD4LP.js} +1 -1
  52. package/chunks/{serve-FIDAAJAB.js → serve-ZQX2WBLF.js} +31 -31
  53. package/chunks/{shell-S732E2W4.js → shell-AZRK5GIO.js} +1 -1
  54. package/chunks/{skill-VXNOQCSI.js → skill-KDM3UUML.js} +1 -1
  55. package/chunks/src-SGI6VLOS.js +3 -0
  56. package/chunks/{team-create-CXY3MRCE.js → team-create-F4KQRGMB.js} +1 -1
  57. package/chunks/{tool-search-AJ57WSJC.js → tool-search-JFCD5W5M.js} +1 -1
  58. package/chunks/{web-fetch-63M6GZQL.js → web-fetch-REWGIRWQ.js} +1 -1
  59. package/chunks/{workflow-55OAJ6XH.js → workflow-SEFYGBED.js} +2 -2
  60. package/chunks/{write-file-2TWXQRDB.js → write-file-UAGVBZMC.js} +1 -1
  61. package/cli.js +494 -489
  62. package/locales/ca.js +8 -2
  63. package/locales/de.js +9 -2
  64. package/locales/en.js +15 -8
  65. package/locales/fr.js +9 -2
  66. package/locales/ja.js +8 -2
  67. package/locales/pt.js +8 -2
  68. package/locales/ru.js +9 -2
  69. package/package.json +2 -2
  70. package/chunks/chunk-2W6MZZHZ.js +0 -39
  71. package/chunks/chunk-ESSYHTAZ.js +0 -8
  72. package/chunks/chunk-JSFA3NEP.js +0 -5
  73. package/chunks/chunk-TZIDSCTF.js +0 -31
  74. package/chunks/chunk-VVIJGBQK.js +0 -2615
  75. package/chunks/src-QZENX46P.js +0 -3
@@ -15,7 +15,7 @@ import{b as e}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";e();var t={"
15
15
  `," Issue: API key not found in environment or settings\n":` \u554F\u984C: \u74B0\u5883\u5909\u6570\u307E\u305F\u306F\u8A2D\u5B9A\u306B API Key \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093
16
16
  `," Run `matilda auth coding-plan` to re-configure.\n":" `matilda auth coding-plan` \u3092\u5B9F\u884C\u3057\u3066\u518D\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002\n","\u2713 Authentication Method: {{type}}":"\u2713 \u8A8D\u8A3C\u65B9\u6CD5: {{type}}"," Status: Configured\n":` \u30B9\u30C6\u30FC\u30BF\u30B9: \u8A2D\u5B9A\u6E08\u307F
17
17
  `,"Failed to check authentication status: {{error}}":"\u8A8D\u8A3C\u30B9\u30C6\u30FC\u30BF\u30B9\u306E\u78BA\u8A8D\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {{error}}","Select an option:":"\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u9078\u629E:","Raw mode not available. Please run in an interactive terminal.":"Raw\u30E2\u30FC\u30C9\u304C\u5229\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u30A4\u30F3\u30BF\u30E9\u30AF\u30C6\u30A3\u30D6\u30BF\u30FC\u30DF\u30CA\u30EB\u3067\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002","(Use \u2191 \u2193 arrows to navigate, Enter to select, Ctrl+C to exit)\n":`(\u2191 \u2193 \u77E2\u5370\u30AD\u30FC\u3067\u79FB\u52D5\u3001Enter \u3067\u9078\u629E\u3001Ctrl+C \u3067\u7D42\u4E86)
18
- `,"to toggle compact mode":"\u30B3\u30F3\u30D1\u30AF\u30C8\u30E2\u30FC\u30C9\u306E\u5207\u308A\u66FF\u3048","Hide tool output for a cleaner view (toggle with Ctrl+O).":"\u30B3\u30F3\u30D1\u30AF\u30C8\u30E2\u30FC\u30C9\u3067\u30C4\u30FC\u30EB\u51FA\u529B\u3092\u975E\u8868\u793A\u306B\u3057\u307E\u3059\uFF08Ctrl+O \u3067\u5207\u308A\u66FF\u3048\uFF09\u3002","Press Ctrl+O to show full tool output":"Ctrl+O \u3067\u5B8C\u5168\u306A\u30C4\u30FC\u30EB\u51FA\u529B\u3092\u8868\u793A","Switch to plan mode or exit plan mode":"\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u306B\u5207\u308A\u66FF\u3048\u308B\u304B\u3001\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3092\u7D42\u4E86\u3059\u308B","Exited plan mode. Previous approval mode restored.":"\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3092\u7D42\u4E86\u3057\u307E\u3057\u305F\u3002\u4EE5\u524D\u306E\u627F\u8A8D\u30E2\u30FC\u30C9\u306B\u623B\u308A\u307E\u3057\u305F\u3002","Enabled plan mode. The agent will analyze and plan without executing tools.":"\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3092\u6709\u52B9\u306B\u3057\u307E\u3057\u305F\u3002\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306F\u30C4\u30FC\u30EB\u3092\u5B9F\u884C\u305B\u305A\u306B\u5206\u6790\u3068\u8A08\u753B\u306E\u307F\u3092\u884C\u3044\u307E\u3059\u3002",'Already in plan mode. Use "/plan exit" to exit plan mode.':'\u3059\u3067\u306B\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3067\u3059\u3002"/plan exit" \u3067\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3092\u7D42\u4E86\u3057\u307E\u3059\u3002','Not in plan mode. Use "/plan" to enter plan mode first.':'\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002"/plan" \u3067\u5148\u306B\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u306B\u5165\u3063\u3066\u304F\u3060\u3055\u3044\u3002',"Set up Matilda's status line UI":"Matilda \u306E\u30B9\u30C6\u30FC\u30BF\u30B9\u30E9\u30A4\u30F3 UI \u3092\u8A2D\u5B9A","Open the memory manager.":"\u30E1\u30E2\u30EA\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC\u3092\u958B\u304F\u3002","Save a durable memory to the memory system.":"\u6C38\u7D9A\u30E1\u30E2\u30EA\u3092\u30E1\u30E2\u30EA\u30B7\u30B9\u30C6\u30E0\u306B\u4FDD\u5B58\u3059\u308B\u3002",prompts:"\u30D7\u30ED\u30F3\u30D7\u30C8","\u2191 to manage attachments":"\u2191 \u3067\u6DFB\u4ED8\u3092\u7BA1\u7406","\u2190 \u2192 select, Delete to remove, \u2193 to exit":"\u2190 \u2192 \u3067\u9078\u629E\u3001Delete \u3067\u524A\u9664\u3001\u2193 \u3067\u7D42\u4E86","Attachments: ":"\u6DFB\u4ED8: ","(tab to cycle)":"(Tab \u3067\u5207\u308A\u66FF\u3048)","Toggle this help display":"\u3053\u306E\u30D8\u30EB\u30D7\u8868\u793A\u3092\u5207\u308A\u66FF\u3048","Toggle shell mode":"\u30B7\u30A7\u30EB\u30E2\u30FC\u30C9\u3092\u5207\u308A\u66FF\u3048","Open command menu":"\u30B3\u30DE\u30F3\u30C9\u30E1\u30CB\u30E5\u30FC\u3092\u958B\u304F","Add file context":"\u30D5\u30A1\u30A4\u30EB\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u3092\u8FFD\u52A0","Accept suggestion / Autocomplete":"\u5019\u88DC\u3092\u53D7\u3051\u5165\u308C\u308B / \u81EA\u52D5\u88DC\u5B8C","Reverse search history":"\u5C65\u6B74\u3092\u9006\u65B9\u5411\u306B\u691C\u7D22","Press ? again to close":"? \u3092\u3082\u3046\u4E00\u5EA6\u62BC\u3057\u3066\u9589\u3058\u308B","for shell mode":"\u30B7\u30A7\u30EB\u30E2\u30FC\u30C9\u7528","for commands":"\u30B3\u30DE\u30F3\u30C9\u7528","for file paths":"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9\u7528","to clear input":"\u5165\u529B\u3092\u30AF\u30EA\u30A2","to cycle approvals":"\u627F\u8A8D\u30E2\u30FC\u30C9\u3092\u5207\u308A\u66FF\u3048","to quit":"\u7D42\u4E86","for newline":"\u6539\u884C","to clear screen":"\u753B\u9762\u3092\u30AF\u30EA\u30A2","to search history":"\u5C65\u6B74\u3092\u691C\u7D22","to paste images":"\u753B\u50CF\u3092\u8CBC\u308A\u4ED8\u3051","for external editor":"\u5916\u90E8\u30A8\u30C7\u30A3\u30BF\u7528","? for shortcuts":"? \u3067\u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u8868\u793A",'Invalid approval mode "{{arg}}". Valid modes: {{modes}}':'\u7121\u52B9\u306A\u627F\u8A8D\u30E2\u30FC\u30C9 "{{arg}}" \u3067\u3059\u3002\u6709\u52B9\u306A\u30E2\u30FC\u30C9: {{modes}}','Approval mode set to "{{mode}}"':'\u627F\u8A8D\u30E2\u30FC\u30C9\u3092 "{{mode}}" \u306B\u8A2D\u5B9A\u3057\u307E\u3057\u305F',"(Use Enter to apply scope, Tab to go back)":"(Enter \u3067\u30B9\u30B3\u30FC\u30D7\u3092\u9069\u7528\u3001Tab \u3067\u623B\u308B)","Extension Agents":"\u62E1\u5F35\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8","Terminal Bell Notification":"\u30BF\u30FC\u30DF\u30CA\u30EB\u30D9\u30EB\u901A\u77E5","Enable Usage Statistics":"\u4F7F\u7528\u7D71\u8A08\u3092\u6709\u52B9\u5316","Preferred Editor":"\u512A\u5148\u30A8\u30C7\u30A3\u30BF","Auto-connect to IDE":"IDE \u306B\u81EA\u52D5\u63A5\u7D9A","Language: UI":"\u8A00\u8A9E: UI","Language: Model":"\u8A00\u8A9E: \u30E2\u30C7\u30EB","Show Line Numbers in Code":"\u30B3\u30FC\u30C9\u306E\u884C\u756A\u53F7\u3092\u8868\u793A","Show Welcome Back Dialog":"\u304A\u304B\u3048\u308A\u30C0\u30A4\u30A2\u30ED\u30B0\u3092\u8868\u793A","Enable User Feedback":"\u30E6\u30FC\u30B6\u30FC\u30D5\u30A3\u30FC\u30C9\u30D0\u30C3\u30AF\u3092\u6709\u52B9\u5316","How is Matilda doing this session? (optional)":"\u3053\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u3067\u306E Matilda \u306E\u8ABF\u5B50\u306F\u3069\u3046\u3067\u3059\u304B\uFF1F\uFF08\u4EFB\u610F\uFF09","Interactive Shell (PTY)":"\u5BFE\u8A71\u578B\u30B7\u30A7\u30EB (PTY)","Select Editor":"\u30A8\u30C7\u30A3\u30BF\u3092\u9078\u629E","Editor Preference":"\u30A8\u30C7\u30A3\u30BF\u8A2D\u5B9A","These editors are currently supported. Please note that some editors cannot be used in sandbox mode.":"\u73FE\u5728\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u30A8\u30C7\u30A3\u30BF\u3067\u3059\u3002\u30B5\u30F3\u30C9\u30DC\u30C3\u30AF\u30B9\u30E2\u30FC\u30C9\u3067\u306F\u4E00\u90E8\u306E\u30A8\u30C7\u30A3\u30BF\u304C\u5229\u7528\u3067\u304D\u306A\u3044\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002","Your preferred editor is:":"\u73FE\u5728\u306E\u512A\u5148\u30A8\u30C7\u30A3\u30BF:","Open MCP management dialog":"MCP \u7BA1\u7406\u30C0\u30A4\u30A2\u30ED\u30B0\u3092\u958B\u304F","Install an extension from a git repo or local path":"git \u30EA\u30DD\u30B8\u30C8\u30EA\u307E\u305F\u306F\u30ED\u30FC\u30AB\u30EB\u30D1\u30B9\u304B\u3089\u62E1\u5F35\u6A5F\u80FD\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB","Disable an extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u7121\u52B9\u5316","Enable an extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u6709\u52B9\u5316","Uninstall an extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB","Manage extension settings":"\u62E1\u5F35\u6A5F\u80FD\u306E\u8A2D\u5B9A\u3092\u7BA1\u7406","Lists installed extensions.":"\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u6E08\u307F\u306E\u62E1\u5F35\u6A5F\u80FD\u3092\u4E00\u89A7\u8868\u793A\u3057\u307E\u3059\u3002","Updates all extensions or a named extension to the latest version.":"\u3059\u3079\u3066\u306E\u62E1\u5F35\u6A5F\u80FD\u3001\u307E\u305F\u306F\u6307\u5B9A\u3057\u305F\u62E1\u5F35\u6A5F\u80FD\u3092\u6700\u65B0\u30D0\u30FC\u30B8\u30E7\u30F3\u306B\u66F4\u65B0\u3057\u307E\u3059\u3002","Open extensions page in your browser":"\u30D6\u30E9\u30A6\u30B6\u3067\u62E1\u5F35\u6A5F\u80FD\u30DA\u30FC\u30B8\u3092\u958B\u304F","Manage Extensions":"\u62E1\u5F35\u6A5F\u80FD\u3092\u7BA1\u7406","Extension Details":"\u62E1\u5F35\u6A5F\u80FD\u306E\u8A73\u7D30","View Extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u8868\u793A","Update Extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u66F4\u65B0","Disable Extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u7121\u52B9\u5316","Enable Extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u6709\u52B9\u5316","Uninstall Extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB","Select Scope":"\u30B9\u30B3\u30FC\u30D7\u3092\u9078\u629E","User Scope":"\u30E6\u30FC\u30B6\u30FC\u30B9\u30B3\u30FC\u30D7","Workspace Scope":"\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u30B9\u30B3\u30FC\u30D7","No extensions found.":"\u62E1\u5F35\u6A5F\u80FD\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",'Are you sure you want to uninstall extension "{{name}}"?':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F',"This action cannot be undone.":"\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093\u3002",'Extension "{{name}}" updated successfully.':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u66F4\u65B0\u3057\u307E\u3057\u305F\u3002',"Name:":"\u540D\u524D:","MCP Servers:":"MCP Servers:","Settings:":"\u8A2D\u5B9A:","View Details":"\u8A73\u7D30\u3092\u8868\u793A","Update failed:":"\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F:","Updating {{name}}...":"{{name}} \u3092\u66F4\u65B0\u4E2D...","Update complete!":"\u66F4\u65B0\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\uFF01","User (global)":"\u30E6\u30FC\u30B6\u30FC (\u30B0\u30ED\u30FC\u30D0\u30EB)","Workspace (project-specific)":"\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9 (\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u56FA\u6709)",'Disable "{{name}}" - Select Scope':'"{{name}}" \u3092\u7121\u52B9\u5316 - \u30B9\u30B3\u30FC\u30D7\u3092\u9078\u629E','Enable "{{name}}" - Select Scope':'"{{name}}" \u3092\u6709\u52B9\u5316 - \u30B9\u30B3\u30FC\u30D7\u3092\u9078\u629E',"No extension selected":"\u62E1\u5F35\u6A5F\u80FD\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093","{{count}} extensions installed":"{{count}} \u500B\u306E\u62E1\u5F35\u6A5F\u80FD\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u6E08\u307F","up to date":"\u6700\u65B0","update available":"\u66F4\u65B0\u3042\u308A","checking...":"\u78BA\u8A8D\u4E2D...","not updatable":"\u66F4\u65B0\u4E0D\u53EF","LLM output language set to {{lang}}":"LLM \u51FA\u529B\u8A00\u8A9E\u3092 {{lang}} \u306B\u8A2D\u5B9A\u3057\u307E\u3057\u305F","Tool Approval Mode":"\u30C4\u30FC\u30EB\u627F\u8A8D\u30E2\u30FC\u30C9","Quick side question without derailing the main yarn":"\u30E1\u30A4\u30F3\u306E\u4F1A\u8A71\u306B\u5F71\u97FF\u3092\u4E0E\u3048\u305A\u306B\u3001\u3061\u3087\u3063\u3068\u3057\u305F\u8CEA\u554F\u3092\u3059\u308B","Manage Arena sessions":"Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u7BA1\u7406","Start an Arena session with multiple models competing on the same task":"\u540C\u3058\u30BF\u30B9\u30AF\u3067\u8907\u6570\u30E2\u30C7\u30EB\u3092\u7AF6\u308F\u305B\u308B Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u958B\u59CB","Stop the current Arena session":"\u73FE\u5728\u306E Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u505C\u6B62","Show the current Arena session status":"\u73FE\u5728\u306E Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u72B6\u614B\u3092\u8868\u793A","Select a model result and merge its diff into the current workspace":"\u30E2\u30C7\u30EB\u7D50\u679C\u3092\u9078\u629E\u3057\u3001\u305D\u306E\u5DEE\u5206\u3092\u73FE\u5728\u306E\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u306B\u30DE\u30FC\u30B8","No running Arena session found.":"\u5B9F\u884C\u4E2D\u306E Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002","No Arena session found. Start one with /arena start.":"Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002/arena start \u3067\u958B\u59CB\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Arena session is still running. Wait for it to complete or use /arena stop first.":"Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u306F\u307E\u3060\u5B9F\u884C\u4E2D\u3067\u3059\u3002\u5B8C\u4E86\u3092\u5F85\u3064\u304B\u3001\u6700\u521D\u306B /arena stop \u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002","No successful agent results to select from. All agents failed or were cancelled.":"\u9078\u629E\u53EF\u80FD\u306A\u6210\u529F\u3057\u305F\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u3059\u3079\u3066\u306E\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u304C\u5931\u6557\u3057\u305F\u304B\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F\u3002","Use /arena stop to end the session.":"/arena stop \u3067\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u7D42\u4E86\u3057\u3066\u304F\u3060\u3055\u3044\u3002",'No idle agent found matching "{{name}}".':'"{{name}}" \u306B\u4E00\u81F4\u3059\u308B\u30A2\u30A4\u30C9\u30EB\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002',"Failed to apply changes from {{label}}: {{error}}":"{{label}} \u304B\u3089\u306E\u5909\u66F4\u306E\u9069\u7528\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {{error}}","Applied changes from {{label}} to workspace. Arena session complete.":"{{label}} \u304B\u3089\u306E\u5909\u66F4\u3092\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u306B\u9069\u7528\u3057\u307E\u3057\u305F\u3002Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002","Discard all Arena results and clean up worktrees?":"\u3059\u3079\u3066\u306E Arena \u7D50\u679C\u3092\u7834\u68C4\u3057\u3066\u30EF\u30FC\u30AF\u30C4\u30EA\u30FC\u3092\u30AF\u30EA\u30FC\u30F3\u30A2\u30C3\u30D7\u3057\u307E\u3059\u304B\uFF1F","Arena results discarded. All worktrees cleaned up.":"Arena \u7D50\u679C\u304C\u7834\u68C4\u3055\u308C\u307E\u3057\u305F\u3002\u3059\u3079\u3066\u306E\u30EF\u30FC\u30AF\u30C4\u30EA\u30FC\u304C\u30AF\u30EA\u30FC\u30F3\u30A2\u30C3\u30D7\u3055\u308C\u307E\u3057\u305F\u3002","Arena is not supported in non-interactive mode. Use interactive mode to start an Arena session.":"Arena \u306F\u975E\u5BFE\u8A71\u30E2\u30FC\u30C9\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5BFE\u8A71\u30E2\u30FC\u30C9\u3067 Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u958B\u59CB\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Arena is not supported in non-interactive mode. Use interactive mode to stop an Arena session.":"Arena \u306F\u975E\u5BFE\u8A71\u30E2\u30FC\u30C9\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5BFE\u8A71\u30E2\u30FC\u30C9\u3067 Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u505C\u6B62\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Arena is not supported in non-interactive mode.":"Arena \u306F\u975E\u5BFE\u8A71\u30E2\u30FC\u30C9\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002","An Arena session exists. Use /arena stop or /arena select to end it before starting a new one.":"\u65E2\u5B58\u306E Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u3042\u308A\u307E\u3059\u3002\u65B0\u3057\u3044\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u958B\u59CB\u3059\u308B\u524D\u306B /arena stop \u307E\u305F\u306F /arena select \u3067\u7D42\u4E86\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Usage: /arena start --models model1,model2 <task>":"\u4F7F\u7528\u6CD5: /arena start --models model1,model2 <task>","Models to compete (required, at least 2)":"\u7AF6\u5408\u3055\u305B\u308B\u30E2\u30C7\u30EB\uFF08\u5FC5\u9808\u3001\u6700\u4F4E2\u3064\uFF09","Format: authType:modelId or just modelId":"\u5F62\u5F0F: authType:modelId \u307E\u305F\u306F modelId \u306E\u307F","Arena requires at least 2 models. Use --models model1,model2 to specify.":"Arena \u306B\u306F\u6700\u4F4E 2 \u3064\u306E\u30E2\u30C7\u30EB\u304C\u5FC5\u8981\u3067\u3059\u3002--models model1,model2 \u3067\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",'Arena started with {{count}} agents on task: "{{task}}"\nModels:\n{{modelList}}':`Arena \u304C {{count}} \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3067\u30BF\u30B9\u30AF "{{task}}" \u3092\u958B\u59CB\u3057\u307E\u3057\u305F
18
+ `,"to toggle compact mode":"\u30B3\u30F3\u30D1\u30AF\u30C8\u30E2\u30FC\u30C9\u306E\u5207\u308A\u66FF\u3048","Hide tool output for a cleaner view (toggle with Ctrl+O).":"\u30B3\u30F3\u30D1\u30AF\u30C8\u30E2\u30FC\u30C9\u3067\u30C4\u30FC\u30EB\u51FA\u529B\u3092\u975E\u8868\u793A\u306B\u3057\u307E\u3059\uFF08Ctrl+O \u3067\u5207\u308A\u66FF\u3048\uFF09\u3002","Press Ctrl+O to show full tool output":"Ctrl+O \u3067\u5B8C\u5168\u306A\u30C4\u30FC\u30EB\u51FA\u529B\u3092\u8868\u793A","Switch to plan mode or exit plan mode":"\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u306B\u5207\u308A\u66FF\u3048\u308B\u304B\u3001\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3092\u7D42\u4E86\u3059\u308B","Exited plan mode. Previous approval mode restored.":"\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3092\u7D42\u4E86\u3057\u307E\u3057\u305F\u3002\u4EE5\u524D\u306E\u627F\u8A8D\u30E2\u30FC\u30C9\u306B\u623B\u308A\u307E\u3057\u305F\u3002","Enabled plan mode. The agent will analyze and plan without executing tools.":"\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3092\u6709\u52B9\u306B\u3057\u307E\u3057\u305F\u3002\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306F\u30C4\u30FC\u30EB\u3092\u5B9F\u884C\u305B\u305A\u306B\u5206\u6790\u3068\u8A08\u753B\u306E\u307F\u3092\u884C\u3044\u307E\u3059\u3002",'Already in plan mode. Use "/plan exit" to exit plan mode.':'\u3059\u3067\u306B\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3067\u3059\u3002"/plan exit" \u3067\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3092\u7D42\u4E86\u3057\u307E\u3059\u3002','Not in plan mode. Use "/plan" to enter plan mode first.':'\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002"/plan" \u3067\u5148\u306B\u30D7\u30E9\u30F3\u30E2\u30FC\u30C9\u306B\u5165\u3063\u3066\u304F\u3060\u3055\u3044\u3002',"Set up Matilda's status line UI":"Matilda \u306E\u30B9\u30C6\u30FC\u30BF\u30B9\u30E9\u30A4\u30F3 UI \u3092\u8A2D\u5B9A","Open the memory manager.":"\u30E1\u30E2\u30EA\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC\u3092\u958B\u304F\u3002","Save a durable memory to the memory system.":"\u6C38\u7D9A\u30E1\u30E2\u30EA\u3092\u30E1\u30E2\u30EA\u30B7\u30B9\u30C6\u30E0\u306B\u4FDD\u5B58\u3059\u308B\u3002",prompts:"\u30D7\u30ED\u30F3\u30D7\u30C8","\u2191 to manage attachments":"\u2191 \u3067\u6DFB\u4ED8\u3092\u7BA1\u7406","\u2190 \u2192 select, Delete to remove, \u2193 to exit":"\u2190 \u2192 \u3067\u9078\u629E\u3001Delete \u3067\u524A\u9664\u3001\u2193 \u3067\u7D42\u4E86","Attachments: ":"\u6DFB\u4ED8: ","(tab to cycle)":"(Tab \u3067\u5207\u308A\u66FF\u3048)","Toggle this help display":"\u3053\u306E\u30D8\u30EB\u30D7\u8868\u793A\u3092\u5207\u308A\u66FF\u3048","Toggle shell mode":"\u30B7\u30A7\u30EB\u30E2\u30FC\u30C9\u3092\u5207\u308A\u66FF\u3048","Open command menu":"\u30B3\u30DE\u30F3\u30C9\u30E1\u30CB\u30E5\u30FC\u3092\u958B\u304F","Add file context":"\u30D5\u30A1\u30A4\u30EB\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u3092\u8FFD\u52A0","Accept suggestion / Autocomplete":"\u5019\u88DC\u3092\u53D7\u3051\u5165\u308C\u308B / \u81EA\u52D5\u88DC\u5B8C","Reverse search history":"\u5C65\u6B74\u3092\u9006\u65B9\u5411\u306B\u691C\u7D22","Press ? again to close":"? \u3092\u3082\u3046\u4E00\u5EA6\u62BC\u3057\u3066\u9589\u3058\u308B","for shell mode":"\u30B7\u30A7\u30EB\u30E2\u30FC\u30C9\u7528","for commands":"\u30B3\u30DE\u30F3\u30C9\u7528","for file paths":"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9\u7528","to clear input":"\u5165\u529B\u3092\u30AF\u30EA\u30A2","to cycle approvals":"\u627F\u8A8D\u30E2\u30FC\u30C9\u3092\u5207\u308A\u66FF\u3048","to quit":"\u7D42\u4E86","for newline":"\u6539\u884C","to clear screen":"\u753B\u9762\u3092\u30AF\u30EA\u30A2","to search history":"\u5C65\u6B74\u3092\u691C\u7D22","to paste images":"\u753B\u50CF\u3092\u8CBC\u308A\u4ED8\u3051","for external editor":"\u5916\u90E8\u30A8\u30C7\u30A3\u30BF\u7528","? for shortcuts":"? \u3067\u30B7\u30E7\u30FC\u30C8\u30AB\u30C3\u30C8\u8868\u793A",'Invalid approval mode "{{arg}}". Valid modes: {{modes}}':'\u7121\u52B9\u306A\u627F\u8A8D\u30E2\u30FC\u30C9 "{{arg}}" \u3067\u3059\u3002\u6709\u52B9\u306A\u30E2\u30FC\u30C9: {{modes}}','Approval mode set to "{{mode}}"':'\u627F\u8A8D\u30E2\u30FC\u30C9\u3092 "{{mode}}" \u306B\u8A2D\u5B9A\u3057\u307E\u3057\u305F',"(Use Enter to apply scope, Tab to go back)":"(Enter \u3067\u30B9\u30B3\u30FC\u30D7\u3092\u9069\u7528\u3001Tab \u3067\u623B\u308B)","Extension Agents":"\u62E1\u5F35\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8","Terminal Bell Notification":"\u30BF\u30FC\u30DF\u30CA\u30EB\u30D9\u30EB\u901A\u77E5","Enable Usage Statistics":"\u4F7F\u7528\u7D71\u8A08\u3092\u6709\u52B9\u5316","Preferred Editor":"\u512A\u5148\u30A8\u30C7\u30A3\u30BF","Auto-connect to IDE":"IDE \u306B\u81EA\u52D5\u63A5\u7D9A","Language: UI":"\u8A00\u8A9E: UI","Language: Model":"\u8A00\u8A9E: \u30E2\u30C7\u30EB","Show Line Numbers in Code":"\u30B3\u30FC\u30C9\u306E\u884C\u756A\u53F7\u3092\u8868\u793A","Show Welcome Back Dialog":"\u304A\u304B\u3048\u308A\u30C0\u30A4\u30A2\u30ED\u30B0\u3092\u8868\u793A","Enable User Feedback":"\u30E6\u30FC\u30B6\u30FC\u30D5\u30A3\u30FC\u30C9\u30D0\u30C3\u30AF\u3092\u6709\u52B9\u5316","How well is Matilda working for you?":"Matilda \u306E\u4F7F\u3044\u5FC3\u5730\u306F\u3044\u304B\u304C\u3067\u3059\u304B\uFF1F","Give a rating from 1 to 5:":"1\u301C5\u3067\u8A55\u4FA1\u3057\u3066\u304F\u3060\u3055\u3044\uFF1A","Tell us more and/or give suggestions!":"\u8A73\u3057\u3044\u611F\u60F3\u3084\u3054\u63D0\u6848\u3092\u304A\u805E\u304B\u305B\u304F\u3060\u3055\u3044\uFF01","1\u20135 rate \xB7 \u2190\u2192 adjust \xB7 enter next \xB7 esc dismiss":"1\u20135 \u8A55\u4FA1 \xB7 \u2190\u2192 \u8ABF\u6574 \xB7 enter \u6B21\u3078 \xB7 esc \u9589\u3058\u308B","enter submit \xB7 shift+enter newline \xB7 tab back \xB7 esc dismiss":"enter \u9001\u4FE1 \xB7 shift+enter \u6539\u884C \xB7 tab \u623B\u308B \xB7 esc \u9589\u3058\u308B","Interactive Shell (PTY)":"\u5BFE\u8A71\u578B\u30B7\u30A7\u30EB (PTY)","Select Editor":"\u30A8\u30C7\u30A3\u30BF\u3092\u9078\u629E","Editor Preference":"\u30A8\u30C7\u30A3\u30BF\u8A2D\u5B9A","These editors are currently supported. Please note that some editors cannot be used in sandbox mode.":"\u73FE\u5728\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u308B\u30A8\u30C7\u30A3\u30BF\u3067\u3059\u3002\u30B5\u30F3\u30C9\u30DC\u30C3\u30AF\u30B9\u30E2\u30FC\u30C9\u3067\u306F\u4E00\u90E8\u306E\u30A8\u30C7\u30A3\u30BF\u304C\u5229\u7528\u3067\u304D\u306A\u3044\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002","Your preferred editor is:":"\u73FE\u5728\u306E\u512A\u5148\u30A8\u30C7\u30A3\u30BF:","Open MCP management dialog":"MCP \u7BA1\u7406\u30C0\u30A4\u30A2\u30ED\u30B0\u3092\u958B\u304F","Install an extension from a git repo or local path":"git \u30EA\u30DD\u30B8\u30C8\u30EA\u307E\u305F\u306F\u30ED\u30FC\u30AB\u30EB\u30D1\u30B9\u304B\u3089\u62E1\u5F35\u6A5F\u80FD\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB","Disable an extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u7121\u52B9\u5316","Enable an extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u6709\u52B9\u5316","Uninstall an extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB","Manage extension settings":"\u62E1\u5F35\u6A5F\u80FD\u306E\u8A2D\u5B9A\u3092\u7BA1\u7406","Lists installed extensions.":"\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u6E08\u307F\u306E\u62E1\u5F35\u6A5F\u80FD\u3092\u4E00\u89A7\u8868\u793A\u3057\u307E\u3059\u3002","Updates all extensions or a named extension to the latest version.":"\u3059\u3079\u3066\u306E\u62E1\u5F35\u6A5F\u80FD\u3001\u307E\u305F\u306F\u6307\u5B9A\u3057\u305F\u62E1\u5F35\u6A5F\u80FD\u3092\u6700\u65B0\u30D0\u30FC\u30B8\u30E7\u30F3\u306B\u66F4\u65B0\u3057\u307E\u3059\u3002","Open extensions page in your browser":"\u30D6\u30E9\u30A6\u30B6\u3067\u62E1\u5F35\u6A5F\u80FD\u30DA\u30FC\u30B8\u3092\u958B\u304F","Manage Extensions":"\u62E1\u5F35\u6A5F\u80FD\u3092\u7BA1\u7406","Extension Details":"\u62E1\u5F35\u6A5F\u80FD\u306E\u8A73\u7D30","View Extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u8868\u793A","Update Extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u66F4\u65B0","Disable Extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u7121\u52B9\u5316","Enable Extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u6709\u52B9\u5316","Uninstall Extension":"\u62E1\u5F35\u6A5F\u80FD\u3092\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB","Select Scope":"\u30B9\u30B3\u30FC\u30D7\u3092\u9078\u629E","User Scope":"\u30E6\u30FC\u30B6\u30FC\u30B9\u30B3\u30FC\u30D7","Workspace Scope":"\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u30B9\u30B3\u30FC\u30D7","No extensions found.":"\u62E1\u5F35\u6A5F\u80FD\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",'Are you sure you want to uninstall extension "{{name}}"?':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F',"This action cannot be undone.":"\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093\u3002",'Extension "{{name}}" updated successfully.':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u66F4\u65B0\u3057\u307E\u3057\u305F\u3002',"Name:":"\u540D\u524D:","MCP Servers:":"MCP Servers:","Settings:":"\u8A2D\u5B9A:","View Details":"\u8A73\u7D30\u3092\u8868\u793A","Update failed:":"\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F:","Updating {{name}}...":"{{name}} \u3092\u66F4\u65B0\u4E2D...","Update complete!":"\u66F4\u65B0\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\uFF01","User (global)":"\u30E6\u30FC\u30B6\u30FC (\u30B0\u30ED\u30FC\u30D0\u30EB)","Workspace (project-specific)":"\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9 (\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u56FA\u6709)",'Disable "{{name}}" - Select Scope':'"{{name}}" \u3092\u7121\u52B9\u5316 - \u30B9\u30B3\u30FC\u30D7\u3092\u9078\u629E','Enable "{{name}}" - Select Scope':'"{{name}}" \u3092\u6709\u52B9\u5316 - \u30B9\u30B3\u30FC\u30D7\u3092\u9078\u629E',"No extension selected":"\u62E1\u5F35\u6A5F\u80FD\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093","{{count}} extensions installed":"{{count}} \u500B\u306E\u62E1\u5F35\u6A5F\u80FD\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u6E08\u307F","up to date":"\u6700\u65B0","update available":"\u66F4\u65B0\u3042\u308A","checking...":"\u78BA\u8A8D\u4E2D...","not updatable":"\u66F4\u65B0\u4E0D\u53EF","LLM output language set to {{lang}}":"LLM \u51FA\u529B\u8A00\u8A9E\u3092 {{lang}} \u306B\u8A2D\u5B9A\u3057\u307E\u3057\u305F","Tool Approval Mode":"\u30C4\u30FC\u30EB\u627F\u8A8D\u30E2\u30FC\u30C9","Quick side question without derailing the main yarn":"\u30E1\u30A4\u30F3\u306E\u4F1A\u8A71\u306B\u5F71\u97FF\u3092\u4E0E\u3048\u305A\u306B\u3001\u3061\u3087\u3063\u3068\u3057\u305F\u8CEA\u554F\u3092\u3059\u308B","Manage Arena sessions":"Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u7BA1\u7406","Start an Arena session with multiple models competing on the same task":"\u540C\u3058\u30BF\u30B9\u30AF\u3067\u8907\u6570\u30E2\u30C7\u30EB\u3092\u7AF6\u308F\u305B\u308B Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u958B\u59CB","Stop the current Arena session":"\u73FE\u5728\u306E Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u505C\u6B62","Show the current Arena session status":"\u73FE\u5728\u306E Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u72B6\u614B\u3092\u8868\u793A","Select a model result and merge its diff into the current workspace":"\u30E2\u30C7\u30EB\u7D50\u679C\u3092\u9078\u629E\u3057\u3001\u305D\u306E\u5DEE\u5206\u3092\u73FE\u5728\u306E\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u306B\u30DE\u30FC\u30B8","No running Arena session found.":"\u5B9F\u884C\u4E2D\u306E Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002","No Arena session found. Start one with /arena start.":"Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002/arena start \u3067\u958B\u59CB\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Arena session is still running. Wait for it to complete or use /arena stop first.":"Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u306F\u307E\u3060\u5B9F\u884C\u4E2D\u3067\u3059\u3002\u5B8C\u4E86\u3092\u5F85\u3064\u304B\u3001\u6700\u521D\u306B /arena stop \u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002","No successful agent results to select from. All agents failed or were cancelled.":"\u9078\u629E\u53EF\u80FD\u306A\u6210\u529F\u3057\u305F\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u7D50\u679C\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u3059\u3079\u3066\u306E\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u304C\u5931\u6557\u3057\u305F\u304B\u30AD\u30E3\u30F3\u30BB\u30EB\u3055\u308C\u307E\u3057\u305F\u3002","Use /arena stop to end the session.":"/arena stop \u3067\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u7D42\u4E86\u3057\u3066\u304F\u3060\u3055\u3044\u3002",'No idle agent found matching "{{name}}".':'"{{name}}" \u306B\u4E00\u81F4\u3059\u308B\u30A2\u30A4\u30C9\u30EB\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002',"Failed to apply changes from {{label}}: {{error}}":"{{label}} \u304B\u3089\u306E\u5909\u66F4\u306E\u9069\u7528\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {{error}}","Applied changes from {{label}} to workspace. Arena session complete.":"{{label}} \u304B\u3089\u306E\u5909\u66F4\u3092\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9\u306B\u9069\u7528\u3057\u307E\u3057\u305F\u3002Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002","Discard all Arena results and clean up worktrees?":"\u3059\u3079\u3066\u306E Arena \u7D50\u679C\u3092\u7834\u68C4\u3057\u3066\u30EF\u30FC\u30AF\u30C4\u30EA\u30FC\u3092\u30AF\u30EA\u30FC\u30F3\u30A2\u30C3\u30D7\u3057\u307E\u3059\u304B\uFF1F","Arena results discarded. All worktrees cleaned up.":"Arena \u7D50\u679C\u304C\u7834\u68C4\u3055\u308C\u307E\u3057\u305F\u3002\u3059\u3079\u3066\u306E\u30EF\u30FC\u30AF\u30C4\u30EA\u30FC\u304C\u30AF\u30EA\u30FC\u30F3\u30A2\u30C3\u30D7\u3055\u308C\u307E\u3057\u305F\u3002","Arena is not supported in non-interactive mode. Use interactive mode to start an Arena session.":"Arena \u306F\u975E\u5BFE\u8A71\u30E2\u30FC\u30C9\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5BFE\u8A71\u30E2\u30FC\u30C9\u3067 Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u958B\u59CB\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Arena is not supported in non-interactive mode. Use interactive mode to stop an Arena session.":"Arena \u306F\u975E\u5BFE\u8A71\u30E2\u30FC\u30C9\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u5BFE\u8A71\u30E2\u30FC\u30C9\u3067 Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u505C\u6B62\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Arena is not supported in non-interactive mode.":"Arena \u306F\u975E\u5BFE\u8A71\u30E2\u30FC\u30C9\u3067\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002","An Arena session exists. Use /arena stop or /arena select to end it before starting a new one.":"\u65E2\u5B58\u306E Arena \u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u3042\u308A\u307E\u3059\u3002\u65B0\u3057\u3044\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u958B\u59CB\u3059\u308B\u524D\u306B /arena stop \u307E\u305F\u306F /arena select \u3067\u7D42\u4E86\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Usage: /arena start --models model1,model2 <task>":"\u4F7F\u7528\u6CD5: /arena start --models model1,model2 <task>","Models to compete (required, at least 2)":"\u7AF6\u5408\u3055\u305B\u308B\u30E2\u30C7\u30EB\uFF08\u5FC5\u9808\u3001\u6700\u4F4E2\u3064\uFF09","Format: authType:modelId or just modelId":"\u5F62\u5F0F: authType:modelId \u307E\u305F\u306F modelId \u306E\u307F","Arena requires at least 2 models. Use --models model1,model2 to specify.":"Arena \u306B\u306F\u6700\u4F4E 2 \u3064\u306E\u30E2\u30C7\u30EB\u304C\u5FC5\u8981\u3067\u3059\u3002--models model1,model2 \u3067\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002",'Arena started with {{count}} agents on task: "{{task}}"\nModels:\n{{modelList}}':`Arena \u304C {{count}} \u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3067\u30BF\u30B9\u30AF "{{task}}" \u3092\u958B\u59CB\u3057\u307E\u3057\u305F
19
19
  \u30E2\u30C7\u30EB:
20
20
  {{modelList}}`,"Arena panes are running in tmux. Attach with: `{{command}}`":"Arena \u30DA\u30A4\u30F3\u304C tmux \u3067\u5B9F\u884C\u4E2D\u3067\u3059\u3002\u6B21\u306E\u30B3\u30DE\u30F3\u30C9\u3067\u63A5\u7D9A: `{{command}}`","[{{label}}] failed: {{error}}":"[{{label}}] \u5931\u6557: {{error}}","Loading suggestions...":"\u63D0\u6848\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D...",'Show context window usage breakdown. Use "/context detail" for per-item breakdown.':'\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u30A6\u30A3\u30F3\u30C9\u30A6\u4F7F\u7528\u91CF\u306E\u5185\u8A33\u3092\u8868\u793A\u3057\u307E\u3059\u3002\u9805\u76EE\u3054\u3068\u306E\u5185\u8A33\u306F "/context detail" \u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002',"Show per-item context usage breakdown.":"\u9805\u76EE\u3054\u3068\u306E\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u4F7F\u7528\u91CF\u306E\u5185\u8A33\u3092\u8868\u793A\u3057\u307E\u3059\u3002",Status:"\u30B9\u30C6\u30FC\u30BF\u30B9",Matilda:"Matilda",Runtime:"\u30E9\u30F3\u30BF\u30A4\u30E0",OS:"OS",Auth:"\u8A8D\u8A3C",Proxy:"\u30D7\u30ED\u30AD\u30B7","Updating...":"\u66F4\u65B0\u4E2D...",Unknown:"\u4E0D\u660E",Error:"\u30A8\u30E9\u30FC","Version:":"\u30D0\u30FC\u30B8\u30E7\u30F3:","Use '/extensions install' to install your first extension.":"'/extensions install' \u3092\u4F7F\u3063\u3066\u6700\u521D\u306E\u62E1\u5F35\u6A5F\u80FD\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u3066\u304F\u3060\u3055\u3044\u3002",Theme:"\u30C6\u30FC\u30DE",Bad:"\u60AA\u3044",Fine:"\u666E\u901A",Good:"\u826F\u3044",Dismiss:"\u9589\u3058\u308B","No extensions installed.":"\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3055\u308C\u305F\u62E1\u5F35\u6A5F\u80FD\u306F\u3042\u308A\u307E\u305B\u3093\u3002",'Extension "{{name}}" not found.':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002',"No extensions to update.":"\u66F4\u65B0\u3059\u308B\u62E1\u5F35\u6A5F\u80FD\u306F\u3042\u308A\u307E\u305B\u3093\u3002","Usage: /extensions install <source>":"\u4F7F\u7528\u6CD5: /extensions install <source>",'Installing extension from "{{source}}"...':'"{{source}}" \u304B\u3089\u62E1\u5F35\u6A5F\u80FD\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u3066\u3044\u307E\u3059...','Extension "{{name}}" installed successfully.':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u307E\u3057\u305F\u3002','Failed to install extension from "{{source}}": {{error}}':'"{{source}}" \u304B\u3089\u306E\u62E1\u5F35\u6A5F\u80FD\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u306B\u5931\u6557\u3057\u307E\u3057\u305F: {{error}}',"Do you want to continue? [Y/n]: ":"\u7D9A\u884C\u3057\u307E\u3059\u304B\uFF1F [Y/n]: ","Do you want to continue?":"\u7D9A\u884C\u3057\u307E\u3059\u304B\uFF1F",'Installing extension "{{name}}".':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u3066\u3044\u307E\u3059\u3002',"**Extensions may introduce unexpected behavior. Ensure you have investigated the extension source and trust the author.**":"**\u62E1\u5F35\u6A5F\u80FD\u306F\u4E88\u671F\u3057\u306A\u3044\u52D5\u4F5C\u3092\u5F15\u304D\u8D77\u3053\u3059\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002\u30BD\u30FC\u30B9\u3092\u78BA\u8A8D\u3057\u3001\u4F5C\u8005\u3092\u4FE1\u983C\u3067\u304D\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002**","This extension will run the following MCP servers:":"\u3053\u306E\u62E1\u5F35\u6A5F\u80FD\u306F\u6B21\u306E MCP servers \u3092\u5B9F\u884C\u3057\u307E\u3059:",local:"\u30ED\u30FC\u30AB\u30EB",remote:"\u30EA\u30E2\u30FC\u30C8","This extension will add the following commands: {{commands}}.":"\u3053\u306E\u62E1\u5F35\u6A5F\u80FD\u306F\u6B21\u306E\u30B3\u30DE\u30F3\u30C9\u3092\u8FFD\u52A0\u3057\u307E\u3059: {{commands}}\u3002","This extension will append info to your MATILDA.md context using {{fileName}}":"\u3053\u306E\u62E1\u5F35\u6A5F\u80FD\u306F {{fileName}} \u3092\u4F7F\u3063\u3066 MATILDA.md \u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u306B\u60C5\u5831\u3092\u8FFD\u8A18\u3057\u307E\u3059","This extension will install the following skills:":"\u3053\u306E\u62E1\u5F35\u6A5F\u80FD\u306F\u6B21\u306E\u30B9\u30AD\u30EB\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u307E\u3059:","This extension will install the following subagents:":"\u3053\u306E\u62E1\u5F35\u6A5F\u80FD\u306F\u6B21\u306E\u30B5\u30D6\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u307E\u3059:",'Installation cancelled for "{{name}}".':'"{{name}}" \u306E\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3092\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3057\u305F\u3002',"--ref and --auto-update are not applicable for marketplace extensions.":"--ref \u3068 --auto-update \u306F\u30DE\u30FC\u30B1\u30C3\u30C8\u30D7\u30EC\u30A4\u30B9\u62E1\u5F35\u6A5F\u80FD\u306B\u306F\u9069\u7528\u3067\u304D\u307E\u305B\u3093\u3002",'Extension "{{name}}" installed successfully and enabled.':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u3001\u6709\u52B9\u5316\u3057\u307E\u3057\u305F\u3002',"The github URL, local path, or marketplace source (marketplace-url:plugin-name) of the extension to install.":"\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3059\u308B\u62E1\u5F35\u6A5F\u80FD\u306E GitHub URL\u3001\u30ED\u30FC\u30AB\u30EB\u30D1\u30B9\u3001\u307E\u305F\u306F\u30DE\u30FC\u30B1\u30C3\u30C8\u30D7\u30EC\u30A4\u30B9\u30BD\u30FC\u30B9 (marketplace-url:plugin-name)\u3002","The git ref to install from.":"\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u5143\u306E git ref\u3002","Enable auto-update for this extension.":"\u3053\u306E\u62E1\u5F35\u6A5F\u80FD\u306E\u81EA\u52D5\u66F4\u65B0\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","Enable pre-release versions for this extension.":"\u3053\u306E\u62E1\u5F35\u6A5F\u80FD\u3067\u30D7\u30EC\u30EA\u30EA\u30FC\u30B9\u7248\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","Acknowledge the security risks of installing an extension and skip the confirmation prompt.":"\u62E1\u5F35\u6A5F\u80FD\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u306E\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u30EA\u30B9\u30AF\u3092\u4E86\u627F\u3057\u3001\u78BA\u8A8D\u30D7\u30ED\u30F3\u30D7\u30C8\u3092\u30B9\u30AD\u30C3\u30D7\u3057\u307E\u3059\u3002","The source argument must be provided.":"source \u5F15\u6570\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",'Extension "{{name}}" successfully uninstalled.':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u6B63\u5E38\u306B\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u307E\u3057\u305F\u3002',"Uninstalls an extension.":"\u62E1\u5F35\u6A5F\u80FD\u3092\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3057\u307E\u3059\u3002","The name or source path of the extension to uninstall.":"\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3059\u308B\u62E1\u5F35\u6A5F\u80FD\u306E\u540D\u524D\u307E\u305F\u306F\u30BD\u30FC\u30B9\u30D1\u30B9\u3002","Please include the name of the extension to uninstall as a positional argument.":"\u30A2\u30F3\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3059\u308B\u62E1\u5F35\u6A5F\u80FD\u540D\u3092\u4F4D\u7F6E\u5F15\u6570\u3068\u3057\u3066\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Enables an extension.":"\u62E1\u5F35\u6A5F\u80FD\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002","The name of the extension to enable.":"\u6709\u52B9\u5316\u3059\u308B\u62E1\u5F35\u6A5F\u80FD\u306E\u540D\u524D\u3002","The scope to enable the extenison in. If not set, will be enabled in all scopes.":"\u62E1\u5F35\u6A5F\u80FD\u3092\u6709\u52B9\u5316\u3059\u308B\u30B9\u30B3\u30FC\u30D7\u3002\u672A\u6307\u5B9A\u306E\u5834\u5408\u306F\u3059\u3079\u3066\u306E\u30B9\u30B3\u30FC\u30D7\u3067\u6709\u52B9\u5316\u3055\u308C\u307E\u3059\u3002",'Extension "{{name}}" successfully enabled for scope "{{scope}}".':'\u30B9\u30B3\u30FC\u30D7 "{{scope}}" \u3067\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u6B63\u5E38\u306B\u6709\u52B9\u5316\u3057\u307E\u3057\u305F\u3002','Extension "{{name}}" successfully enabled in all scopes.':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u3059\u3079\u3066\u306E\u30B9\u30B3\u30FC\u30D7\u3067\u6B63\u5E38\u306B\u6709\u52B9\u5316\u3057\u307E\u3057\u305F\u3002',"Invalid scope: {{scope}}. Please use one of {{scopes}}.":"\u7121\u52B9\u306A\u30B9\u30B3\u30FC\u30D7\u3067\u3059: {{scope}}\u3002{{scopes}} \u306E\u3044\u305A\u308C\u304B\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Disables an extension.":"\u62E1\u5F35\u6A5F\u80FD\u3092\u7121\u52B9\u306B\u3057\u307E\u3059\u3002","The name of the extension to disable.":"\u7121\u52B9\u5316\u3059\u308B\u62E1\u5F35\u6A5F\u80FD\u306E\u540D\u524D\u3002","The scope to disable the extenison in.":"\u62E1\u5F35\u6A5F\u80FD\u3092\u7121\u52B9\u5316\u3059\u308B\u30B9\u30B3\u30FC\u30D7\u3002",'Extension "{{name}}" successfully disabled for scope "{{scope}}".':'\u30B9\u30B3\u30FC\u30D7 "{{scope}}" \u3067\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u6B63\u5E38\u306B\u7121\u52B9\u5316\u3057\u307E\u3057\u305F\u3002','Extension "{{name}}" successfully updated: {{oldVersion}} \u2192 {{newVersion}}.':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u66F4\u65B0\u3057\u307E\u3057\u305F: {{oldVersion}} \u2192 {{newVersion}}\u3002','Unable to install extension "{{name}}" due to missing install metadata':'\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u30E1\u30BF\u30C7\u30FC\u30BF\u304C\u4E0D\u8DB3\u3057\u3066\u3044\u308B\u305F\u3081\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3067\u304D\u307E\u305B\u3093','Extension "{{name}}" is already up to date.':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u306F\u3059\u3067\u306B\u6700\u65B0\u3067\u3059\u3002',"Update all extensions.":"\u3059\u3079\u3066\u306E\u62E1\u5F35\u6A5F\u80FD\u3092\u66F4\u65B0\u3057\u307E\u3059\u3002","The name of the extension to update.":"\u66F4\u65B0\u3059\u308B\u62E1\u5F35\u6A5F\u80FD\u306E\u540D\u524D\u3002","Either an extension name or --all must be provided":"\u62E1\u5F35\u6A5F\u80FD\u540D\u307E\u305F\u306F --all \u306E\u3044\u305A\u308C\u304B\u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059","Path:":"\u30D1\u30B9:","Type:":"\u7A2E\u985E:","Ref:":"\u53C2\u7167:","Release tag:":"\u30EA\u30EA\u30FC\u30B9\u30BF\u30B0:","Enabled (User):":"\u6709\u52B9 (\u30E6\u30FC\u30B6\u30FC):","Enabled (Workspace):":"\u6709\u52B9 (\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9):","Context files:":"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u30D5\u30A1\u30A4\u30EB:","Skills:":"\u30B9\u30AD\u30EB:","Agents:":"\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8:","MCP servers:":"MCP servers:","Link extension failed to install.":"\u30EA\u30F3\u30AF\u62E1\u5F35\u6A5F\u80FD\u306E\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002",'Extension "{{name}}" linked successfully and enabled.':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u3092\u6B63\u5E38\u306B\u30EA\u30F3\u30AF\u3057\u3001\u6709\u52B9\u5316\u3057\u307E\u3057\u305F\u3002',"Links an extension from a local path. Updates made to the local path will always be reflected.":"\u30ED\u30FC\u30AB\u30EB\u30D1\u30B9\u304B\u3089\u62E1\u5F35\u6A5F\u80FD\u3092\u30EA\u30F3\u30AF\u3057\u307E\u3059\u3002\u30ED\u30FC\u30AB\u30EB\u30D1\u30B9\u3078\u306E\u66F4\u65B0\u306F\u5E38\u306B\u53CD\u6620\u3055\u308C\u307E\u3059\u3002","The name of the extension to link.":"\u30EA\u30F3\u30AF\u3059\u308B\u62E1\u5F35\u6A5F\u80FD\u306E\u540D\u524D\u3002","Set a specific setting for an extension.":"\u62E1\u5F35\u6A5F\u80FD\u306B\u7279\u5B9A\u306E\u8A2D\u5B9A\u3092\u884C\u3044\u307E\u3059\u3002","Name of the extension to configure.":"\u8A2D\u5B9A\u3059\u308B\u62E1\u5F35\u6A5F\u80FD\u306E\u540D\u524D\u3002","The setting to configure (name or env var).":"\u8A2D\u5B9A\u3059\u308B\u9805\u76EE (\u540D\u524D\u307E\u305F\u306F\u74B0\u5883\u5909\u6570)\u3002","The scope to set the setting in.":"\u8A2D\u5B9A\u3092\u9069\u7528\u3059\u308B\u30B9\u30B3\u30FC\u30D7\u3002","List all settings for an extension.":"\u62E1\u5F35\u6A5F\u80FD\u306E\u3059\u3079\u3066\u306E\u8A2D\u5B9A\u3092\u4E00\u89A7\u8868\u793A\u3057\u307E\u3059\u3002","Name of the extension.":"\u62E1\u5F35\u6A5F\u80FD\u306E\u540D\u524D\u3002",'Extension "{{name}}" has no settings to configure.':'\u62E1\u5F35\u6A5F\u80FD "{{name}}" \u306B\u306F\u8A2D\u5B9A\u53EF\u80FD\u306A\u9805\u76EE\u304C\u3042\u308A\u307E\u305B\u3093\u3002','Settings for "{{name}}":':'"{{name}}" \u306E\u8A2D\u5B9A:',"(workspace)":"(\u30EF\u30FC\u30AF\u30B9\u30DA\u30FC\u30B9)","(user)":"(\u30E6\u30FC\u30B6\u30FC)","[not set]":"[\u672A\u8A2D\u5B9A]","[value stored in keychain]":"[\u5024\u306F\u30AD\u30FC\u30C1\u30A7\u30FC\u30F3\u306B\u4FDD\u5B58\u3055\u308C\u3066\u3044\u307E\u3059]","Value:":"\u5024:","Manage extension settings.":"\u62E1\u5F35\u6A5F\u80FD\u306E\u8A2D\u5B9A\u3092\u7BA1\u7406\u3057\u307E\u3059\u3002","You need to specify a command (set or list).":"\u30B3\u30DE\u30F3\u30C9 (set \u307E\u305F\u306F list) \u3092\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002","No plugins available in this marketplace.":"\u3053\u306E\u30DE\u30FC\u30B1\u30C3\u30C8\u30D7\u30EC\u30A4\u30B9\u3067\u5229\u7528\u53EF\u80FD\u306A\u30D7\u30E9\u30B0\u30A4\u30F3\u306F\u3042\u308A\u307E\u305B\u3093\u3002",'Select a plugin to install from marketplace "{{name}}":':'\u30DE\u30FC\u30B1\u30C3\u30C8\u30D7\u30EC\u30A4\u30B9 "{{name}}" \u304B\u3089\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3059\u308B\u30D7\u30E9\u30B0\u30A4\u30F3\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044:',"Plugin selection cancelled.":"\u30D7\u30E9\u30B0\u30A4\u30F3\u9078\u629E\u3092\u30AD\u30E3\u30F3\u30BB\u30EB\u3057\u307E\u3057\u305F\u3002",'Select a plugin from "{{name}}"':'"{{name}}" \u304B\u3089\u30D7\u30E9\u30B0\u30A4\u30F3\u3092\u9078\u629E',"Use \u2191\u2193 or j/k to navigate, Enter to select, Escape to cancel":"\u2191\u2193 \u307E\u305F\u306F j/k \u3067\u79FB\u52D5\u3001Enter \u3067\u9078\u629E\u3001Escape \u3067\u30AD\u30E3\u30F3\u30BB\u30EB","{{count}} more above":"\u4E0A\u306B\u3042\u3068 {{count}} \u4EF6","{{count}} more below":"\u4E0B\u306B\u3042\u3068 {{count}} \u4EF6","Press c to copy the authorization URL to your clipboard.":"c \u30AD\u30FC\u3067\u8A8D\u8A3C URL \u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3059\u3002","Copy request sent to your terminal. If paste is empty, copy the URL above manually.":"\u30B3\u30D4\u30FC\u8981\u6C42\u3092\u30BF\u30FC\u30DF\u30CA\u30EB\u306B\u9001\u4FE1\u3057\u307E\u3057\u305F\u3002\u8CBC\u308A\u4ED8\u3051\u7D50\u679C\u304C\u7A7A\u306E\u5834\u5408\u306F\u3001\u4E0A\u306E URL \u3092\u624B\u52D5\u3067\u30B3\u30D4\u30FC\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Cannot write to terminal \u2014 copy the URL above manually.":"\u30BF\u30FC\u30DF\u30CA\u30EB\u306B\u66F8\u304D\u8FBC\u3081\u306A\u3044\u305F\u3081\u3001\u4E0A\u306E URL \u3092\u624B\u52D5\u3067\u30B3\u30D4\u30FC\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Missing API key for OpenAI-compatible auth. Set settings.security.auth.apiKey, or set the {{envKeyHint}} environment variable.":"OpenAI \u4E92\u63DB\u8A8D\u8A3C\u7528\u306E API Key \u304C\u3042\u308A\u307E\u305B\u3093\u3002`settings.security.auth.apiKey` \u3092\u8A2D\u5B9A\u3059\u308B\u304B\u3001\u74B0\u5883\u5909\u6570 {{envKeyHint}} \u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002","{{envKeyHint}} environment variable not found. Please set it in your .env file or environment variables.":"\u74B0\u5883\u5909\u6570 {{envKeyHint}} \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002.env \u30D5\u30A1\u30A4\u30EB\u307E\u305F\u306F\u74B0\u5883\u5909\u6570\u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002","{{envKeyHint}} environment variable not found (or set settings.security.auth.apiKey). Please set it in your .env file or environment variables.":"\u74B0\u5883\u5909\u6570 {{envKeyHint}} \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 (\u307E\u305F\u306F settings.security.auth.apiKey \u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044)\u3002.env \u30D5\u30A1\u30A4\u30EB\u307E\u305F\u306F\u74B0\u5883\u5909\u6570\u306B\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Missing API key for OpenAI-compatible auth. Set the {{envKeyHint}} environment variable.":"OpenAI \u4E92\u63DB\u8A8D\u8A3C\u7528\u306E API Key \u304C\u3042\u308A\u307E\u305B\u3093\u3002\u74B0\u5883\u5909\u6570 {{envKeyHint}} \u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044\u3002","Anthropic provider missing required baseUrl in modelProviders[].baseUrl.":"Anthropic \u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3067\u5FC5\u9808\u306E `modelProviders[].baseUrl` \u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002","ANTHROPIC_BASE_URL environment variable not found.":"\u74B0\u5883\u5909\u6570 ANTHROPIC_BASE_URL \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002","Invalid auth method selected.":"\u7121\u52B9\u306A\u8A8D\u8A3C\u65B9\u5F0F\u304C\u9078\u629E\u3055\u308C\u307E\u3057\u305F\u3002","API Key":"API Key","(default)":"(\u30C7\u30D5\u30A9\u30EB\u30C8)","(not set)":"(\u672A\u8A2D\u5B9A)","Command Format Migration":"\u30B3\u30DE\u30F3\u30C9\u5F62\u5F0F\u306E\u79FB\u884C","Found {{count}} TOML command file:":"TOML \u5F62\u5F0F\u306E\u30B3\u30DE\u30F3\u30C9\u30D5\u30A1\u30A4\u30EB\u304C {{count}} \u4EF6\u898B\u3064\u304B\u308A\u307E\u3057\u305F:","Found {{count}} TOML command files:":"TOML \u5F62\u5F0F\u306E\u30B3\u30DE\u30F3\u30C9\u30D5\u30A1\u30A4\u30EB\u304C {{count}} \u4EF6\u898B\u3064\u304B\u308A\u307E\u3057\u305F:","The TOML format is deprecated. Would you like to migrate them to Markdown format?":"TOML \u5F62\u5F0F\u306F\u975E\u63A8\u5968\u3067\u3059\u3002Markdown \u5F62\u5F0F\u3078\u79FB\u884C\u3057\u307E\u3059\u304B\uFF1F","(Backups will be created and original files will be preserved)":"(\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u304C\u4F5C\u6210\u3055\u308C\u3001\u5143\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u4FDD\u6301\u3055\u308C\u307E\u3059)","Enter value...":"\u5024\u3092\u5165\u529B...","Enter sensitive value...":"\u6A5F\u5BC6\u306A\u5024\u3092\u5165\u529B...","Press Enter to submit, Escape to cancel":"Enter \u3067\u9001\u4FE1\u3001Escape \u3067\u30AD\u30E3\u30F3\u30BB\u30EB","Markdown file already exists: {{filename}}":"Markdown \u30D5\u30A1\u30A4\u30EB\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059: {{filename}}","TOML Command Format Deprecation Notice":"TOML \u30B3\u30DE\u30F3\u30C9\u5F62\u5F0F\u5EC3\u6B62\u4E88\u5B9A\u306E\u304A\u77E5\u3089\u305B","Found {{count}} command file(s) in TOML format:":"TOML \u5F62\u5F0F\u306E\u30B3\u30DE\u30F3\u30C9\u30D5\u30A1\u30A4\u30EB\u304C {{count}} \u4EF6\u898B\u3064\u304B\u308A\u307E\u3057\u305F:","The TOML format for commands is being deprecated in favor of Markdown format.":"\u30B3\u30DE\u30F3\u30C9\u306E TOML \u5F62\u5F0F\u306F\u5EC3\u6B62\u4E88\u5B9A\u3067\u3001Markdown \u5F62\u5F0F\u306B\u79FB\u884C\u3057\u307E\u3059\u3002","Markdown format is more readable and easier to edit.":"Markdown \u5F62\u5F0F\u306F\u3088\u308A\u8AAD\u307F\u3084\u3059\u304F\u3001\u7DE8\u96C6\u3057\u3084\u3059\u304F\u306A\u308A\u307E\u3059\u3002","You can migrate these files automatically using:":"\u6B21\u306E\u65B9\u6CD5\u3067\u3053\u308C\u3089\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u81EA\u52D5\u79FB\u884C\u3067\u304D\u307E\u3059:","Or manually convert each file:":"\u307E\u305F\u306F\u5404\u30D5\u30A1\u30A4\u30EB\u3092\u624B\u52D5\u3067\u5909\u63DB\u3067\u304D\u307E\u3059:",'TOML: prompt = "..." / description = "..."':'TOML: prompt = "..." / description = "..."',"Markdown: YAML frontmatter + content":"Markdown: YAML \u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC + \u672C\u6587","The migration tool will:":"\u79FB\u884C\u30C4\u30FC\u30EB\u306F\u6B21\u3092\u884C\u3044\u307E\u3059:","Convert TOML files to Markdown":"TOML \u30D5\u30A1\u30A4\u30EB\u3092 Markdown \u306B\u5909\u63DB","Create backups of original files":"\u5143\u306E\u30D5\u30A1\u30A4\u30EB\u306E\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3092\u4F5C\u6210","Preserve all command functionality":"\u3059\u3079\u3066\u306E\u30B3\u30DE\u30F3\u30C9\u6A5F\u80FD\u3092\u4FDD\u6301","TOML format will continue to work for now, but migration is recommended.":"TOML \u5F62\u5F0F\u306F\u5F53\u9762\u5F15\u304D\u7D9A\u304D\u4F7F\u7528\u3067\u304D\u307E\u3059\u304C\u3001\u79FB\u884C\u3092\u63A8\u5968\u3057\u307E\u3059\u3002","Unknown extensions source: {{source}}.":"\u4E0D\u660E\u306A\u62E1\u5F35\u6A5F\u80FD\u30BD\u30FC\u30B9\u3067\u3059: {{source}}\u3002","Would open extensions page in your browser: {{url}} (skipped in test environment)":"\u30D6\u30E9\u30A6\u30B6\u3067\u62E1\u5F35\u6A5F\u80FD\u30DA\u30FC\u30B8\u3092\u958B\u304F\u4E88\u5B9A\u3067\u3057\u305F: {{url}} (\u30C6\u30B9\u30C8\u74B0\u5883\u306E\u305F\u3081\u30B9\u30AD\u30C3\u30D7)","View available extensions at {{url}}":"{{url}} \u3067\u5229\u7528\u53EF\u80FD\u306A\u62E1\u5F35\u6A5F\u80FD\u3092\u8868\u793A","Opening extensions page in your browser: {{url}}":"\u30D6\u30E9\u30A6\u30B6\u3067\u62E1\u5F35\u6A5F\u80FD\u30DA\u30FC\u30B8\u3092\u958B\u3044\u3066\u3044\u307E\u3059: {{url}}","Failed to open browser. Check out the extensions gallery at {{url}}":"\u30D6\u30E9\u30A6\u30B6\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u62E1\u5F35\u6A5F\u80FD\u30AE\u30E3\u30E9\u30EA\u30FC\u3092 {{url}} \u3067\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044","Retrying in {{seconds}} seconds\u2026 (attempt {{attempt}}/{{maxRetries}})":"{{seconds}} \u79D2\u5F8C\u306B\u518D\u8A66\u884C\u3057\u307E\u3059\u2026 ({{attempt}}/{{maxRetries}} \u56DE\u76EE)","Press Ctrl+Y to retry":"Ctrl+Y \u3067\u518D\u8A66\u884C","No failed request to retry.":"\u518D\u8A66\u884C\u3067\u304D\u308B\u5931\u6557\u3057\u305F\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u3042\u308A\u307E\u305B\u3093\u3002","to retry last request":"\u6700\u5F8C\u306E\u30EA\u30AF\u30A8\u30B9\u30C8\u3092\u518D\u8A66\u884C","Lock release warning":"\u30ED\u30C3\u30AF\u89E3\u9664\u306E\u8B66\u544A","Metadata write warning":"\u30E1\u30BF\u30C7\u30FC\u30BF\u66F8\u304D\u8FBC\u307F\u306E\u8B66\u544A","Subsequent dreams may be skipped as locked until the next session's staleness sweep cleans the file.":"\u6B21\u56DE\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u671F\u9650\u5207\u308C\u30AF\u30EA\u30FC\u30F3\u30A2\u30C3\u30D7\u3067\u30D5\u30A1\u30A4\u30EB\u304C\u524A\u9664\u3055\u308C\u308B\u307E\u3067\u3001\u4EE5\u964D\u306E dream \u306F\u30ED\u30C3\u30AF\u4E2D\u3068\u3057\u3066\u30B9\u30AD\u30C3\u30D7\u3055\u308C\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002","The scheduler gate did not see this dream's timestamp; the next dream cycle may re-fire sooner than usual.":"\u30B9\u30B1\u30B8\u30E5\u30FC\u30E9\u30FC\u30B2\u30FC\u30C8\u304C\u3053\u306E dream \u306E\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u3092\u8A8D\u8B58\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u6B21\u306E dream \u30B5\u30A4\u30AF\u30EB\u306F\u901A\u5E38\u3088\u308A\u65E9\u304F\u518D\u5B9F\u884C\u3055\u308C\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002"," (not in model registry)":"\uFF08\u30E2\u30C7\u30EB\u30EC\u30B8\u30B9\u30C8\u30EA\u306B\u3042\u308A\u307E\u305B\u3093\uFF09","Attribution: commit":"\u30B3\u30DF\u30C3\u30C8\u306E\u5E30\u5C5E\u8868\u793A","\u4E2D\u56FD (China)":"\u4E2D\u56FD","\u4E2D\u56FD (China) - \u963F\u91CC\u4E91\u767E\u70BC":"\u4E2D\u56FD - \u963F\u91CC\u4E91\u767E\u70BC","Activity Heatmap":"\u30A2\u30AF\u30C6\u30A3\u30D3\u30C6\u30A3\u30D2\u30FC\u30C8\u30DE\u30C3\u30D7",Less:"\u5C11",More:"\u591A",Sessions:"\u30BB\u30C3\u30B7\u30E7\u30F3\u6570",Duration:"\u6240\u8981\u6642\u9593",Projects:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8","Loading stats...":"\u7D71\u8A08\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D...","(no data)":"(\u30C7\u30FC\u30BF\u306A\u3057)",d:"\u65E5",h:"\u6642",m:"\u5206",Input:"\u5165\u529B",Models:"\u30E2\u30C7\u30EB","All time":"\u5168\u671F\u9593","Last 7 days":"\u904E\u53BB 7 \u65E5\u9593","Last 30 days":"\u904E\u53BB 30 \u65E5\u9593","Show usage statistics dashboard.":"\u4F7F\u7528\u7D71\u8A08\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u8868\u793A\u3059\u308B\u3002","tab \xB7 esc":"tab \xB7 esc","tab \xB7 r dates \xB7 \u2190\u2192 month \xB7 esc":"tab \xB7 r dates \xB7 \u2190\u2192 month \xB7 esc","tab \xB7 r dates \xB7 esc":"tab \xB7 r dates \xB7 esc","API Requests":"API\u30EA\u30AF\u30A8\u30B9\u30C8","Tool Calls":"\u30C4\u30FC\u30EB\u547C\u3073\u51FA\u3057","Success rate":"\u6210\u529F\u7387","Code Changes":"\u30B3\u30FC\u30C9\u5909\u66F4",Tool:"\u30C4\u30FC\u30EB",reqs:"\u30EA\u30AF\u30A8\u30B9\u30C8",in:"\u5165\u529B",out:"\u51FA\u529B","In/Out":"\u5165\u529B/\u51FA\u529B"};export{t as default};
21
21
  /**
@@ -1,6 +1,6 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
- import{b as t}from"./chunk-66NIIU2R.js";import"./chunk-YSIECQIZ.js";import"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import"./chunk-SDTWBD62.js";import"./chunk-FRRBNNEB.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import"./chunk-T4P4KEDW.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import{b as n}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";n();function a(e,o){return new t(e,o)}export{t as MatildaAgentContentGenerator,a as createMatildaAgentContentGenerator};
3
+ import{b as t}from"./chunk-Q55AVE2N.js";import"./chunk-WRQLIPXW.js";import"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import"./chunk-SDTWBD62.js";import"./chunk-25NCTG5H.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import"./chunk-T4P4KEDW.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import{b as n}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";n();function a(e,o){return new t(e,o)}export{t as MatildaAgentContentGenerator,a as createMatildaAgentContentGenerator};
4
4
  /**
5
5
  * @license
6
6
  * Copyright 2026 Matilda Team
@@ -1,6 +1,6 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
- import{a as l,i as p}from"./chunk-2W6MZZHZ.js";import"./chunk-ODZOYHIC.js";import"./chunk-VVIJGBQK.js";import"./chunk-TZIDSCTF.js";import"./chunk-TXMXCR7D.js";import"./chunk-YULUB745.js";import"./chunk-NYEWHSBL.js";import"./chunk-QN6WSWMM.js";import"./chunk-2HQMJ2IU.js";import"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import"./chunk-MTMU7JYZ.js";import"./chunk-SPW5DXX4.js";import"./chunk-RNKDFE2S.js";import"./chunk-TO3ID3JW.js";import"./chunk-MKFQMX37.js";import"./chunk-47XR7IMP.js";import"./chunk-FFFZ2QMG.js";import"./chunk-SNLH42QJ.js";import"./chunk-HYVP4472.js";import"./chunk-QKYGQLWC.js";import"./chunk-QH7736R5.js";import"./chunk-4CSSDBOS.js";import"./chunk-JXUDKX6D.js";import"./chunk-66NIIU2R.js";import"./chunk-GUFIMKF5.js";import"./chunk-YSIECQIZ.js";import{d as u}from"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import{k as c}from"./chunk-SDTWBD62.js";import"./chunk-FRRBNNEB.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import"./chunk-T4P4KEDW.js";import{c as h}from"./chunk-S4UT3QLV.js";import"./chunk-XCFLI3OC.js";import"./chunk-ESSYHTAZ.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import{ba as d,s as i,t as a}from"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import{b as s}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";s();var m=class extends p{debugLogger=d("MATILDA");matildaClient;sharedManager;currentToken;constructor(e,t,n){let r=new l(t,n);super(t,n,r),this.matildaClient=e,this.sharedManager=h.getInstance(),t?.baseUrl&&t?.apiKey&&(this.pipeline.client.baseURL=t?.baseUrl,this.pipeline.client.apiKey=t?.apiKey)}getCurrentEndpoint(e){let t=e||u,n="/v1",r=t.startsWith("http")?t:`https://${t}`;return r.endsWith(n)||r.endsWith("/api/v1")||r.endsWith("/api/v1/code")?r:`${r}${n}`}shouldSuppressErrorLogging(e,t){return this.isAuthError(e)}async getValidToken(){try{let e=await this.sharedManager.getValidCredentials(this.matildaClient);if(!e.access_token)throw new Error("No access token available");return{token:e.access_token,endpoint:this.getCurrentEndpoint(e.resource_url)}}catch(e){throw this.isAuthError(e)?e:(this.debugLogger.warn("Failed to get token from shared manager:",e),new Error("Failed to obtain a valid legacy OAuth access token. Please re-authenticate with Matilda."))}}async executeWithCredentialManagement(e){let t=async()=>{let{token:n,endpoint:r}=await this.getValidToken();this.pipeline.client.apiKey=n,this.pipeline.client.baseURL=r;try{return await e()}catch(o){throw a(o)?new i:o}};try{return await t()}catch(n){if(this.isAuthError(n))return await this.sharedManager.getValidCredentials(this.matildaClient,!0),await c("retry",t);throw n}}async generateContent(e,t){return this.executeWithCredentialManagement(()=>super.generateContent(e,t))}async generateContentStream(e,t){let n=await this.executeWithCredentialManagement(()=>super.generateContentStream(e,t));return async function*(){try{yield*n}catch(r){throw a(r)?new i:r}}()}async countTokens(e){return super.countTokens(e)}async embedContent(e){return this.executeWithCredentialManagement(()=>super.embedContent(e))}isAuthError(e){if(!e||a(e))return!1;let t=e instanceof Error?e.message.toLowerCase():String(e).toLowerCase(),n=e,r=n?.status||n?.code;return Number(r)===403?!1:r===401||r==="401"||t.includes("unauthorized")||t.includes("invalid api key")||t.includes("invalid access token")||t.includes("token expired")||t.includes("authentication")||t.includes("token")&&t.includes("expired")}getCurrentToken(){return this.currentToken?this.currentToken:this.sharedManager.getCurrentCredentials()?.access_token||null}clearToken(){this.currentToken=void 0,this.sharedManager.clearCache()}};export{m as MatildaContentGenerator};
3
+ import{a as l,i as p}from"./chunk-RK2AKQAX.js";import"./chunk-ODZOYHIC.js";import"./chunk-QFNFLE2I.js";import"./chunk-M53RP3YP.js";import"./chunk-TXMXCR7D.js";import"./chunk-YULUB745.js";import"./chunk-NYEWHSBL.js";import"./chunk-QN6WSWMM.js";import"./chunk-2HQMJ2IU.js";import"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import"./chunk-MTMU7JYZ.js";import"./chunk-SPW5DXX4.js";import"./chunk-RNKDFE2S.js";import"./chunk-GHBKFIHC.js";import"./chunk-5427BPR2.js";import"./chunk-47XR7IMP.js";import"./chunk-FFFZ2QMG.js";import"./chunk-SNLH42QJ.js";import"./chunk-HYVP4472.js";import"./chunk-QKYGQLWC.js";import"./chunk-QH7736R5.js";import"./chunk-4CSSDBOS.js";import"./chunk-JXUDKX6D.js";import"./chunk-Q55AVE2N.js";import"./chunk-GUFIMKF5.js";import"./chunk-WRQLIPXW.js";import{d as u}from"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import{k as c}from"./chunk-SDTWBD62.js";import"./chunk-25NCTG5H.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import"./chunk-T4P4KEDW.js";import{c as h}from"./chunk-HWOQNYAO.js";import"./chunk-XCFLI3OC.js";import"./chunk-VI74YQQO.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import{ba as d,s as i,t as a}from"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import{b as s}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";s();var m=class extends p{debugLogger=d("MATILDA");matildaClient;sharedManager;currentToken;constructor(e,t,n){let r=new l(t,n);super(t,n,r),this.matildaClient=e,this.sharedManager=h.getInstance(),t?.baseUrl&&t?.apiKey&&(this.pipeline.client.baseURL=t?.baseUrl,this.pipeline.client.apiKey=t?.apiKey)}getCurrentEndpoint(e){let t=e||u,n="/v1",r=t.startsWith("http")?t:`https://${t}`;return r.endsWith(n)||r.endsWith("/api/v1")||r.endsWith("/api/v1/code")?r:`${r}${n}`}shouldSuppressErrorLogging(e,t){return this.isAuthError(e)}async getValidToken(){try{let e=await this.sharedManager.getValidCredentials(this.matildaClient);if(!e.access_token)throw new Error("No access token available");return{token:e.access_token,endpoint:this.getCurrentEndpoint(e.resource_url)}}catch(e){throw this.isAuthError(e)?e:(this.debugLogger.warn("Failed to get token from shared manager:",e),new Error("Failed to obtain a valid legacy OAuth access token. Please re-authenticate with Matilda."))}}async executeWithCredentialManagement(e){let t=async()=>{let{token:n,endpoint:r}=await this.getValidToken();this.pipeline.client.apiKey=n,this.pipeline.client.baseURL=r;try{return await e()}catch(o){throw a(o)?new i:o}};try{return await t()}catch(n){if(this.isAuthError(n))return await this.sharedManager.getValidCredentials(this.matildaClient,!0),await c("retry",t);throw n}}async generateContent(e,t){return this.executeWithCredentialManagement(()=>super.generateContent(e,t))}async generateContentStream(e,t){let n=await this.executeWithCredentialManagement(()=>super.generateContentStream(e,t));return async function*(){try{yield*n}catch(r){throw a(r)?new i:r}}()}async countTokens(e){return super.countTokens(e)}async embedContent(e){return this.executeWithCredentialManagement(()=>super.embedContent(e))}isAuthError(e){if(!e||a(e))return!1;let t=e instanceof Error?e.message.toLowerCase():String(e).toLowerCase(),n=e,r=n?.status||n?.code;return Number(r)===403?!1:r===401||r==="401"||t.includes("unauthorized")||t.includes("invalid api key")||t.includes("invalid access token")||t.includes("token expired")||t.includes("authentication")||t.includes("token")&&t.includes("expired")}getCurrentToken(){return this.currentToken?this.currentToken:this.sharedManager.getCurrentCredentials()?.access_token||null}clearToken(){this.currentToken=void 0,this.sharedManager.clearCache()}};export{m as MatildaContentGenerator};
4
4
  /**
5
5
  * @license
6
6
  * Copyright 2025 Matilda
@@ -1,3 +1,3 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
- import{d as a,e as b,f as c,g as d,h as e,i as f,j as g,k as h,l as i,m as j,n as k,o as l,p as m,q as n,r as o,s as p,t as q}from"./chunk-S4UT3QLV.js";import"./chunk-XCFLI3OC.js";import"./chunk-ESSYHTAZ.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import"./chunk-MH2P4YXC.js";import"./chunk-FWDMPRKU.js";import"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";export{d as CredentialsClearRequiredError,n as MATILDA_CREDENTIAL_FILE_MODE,j as MatildaOAuth2Client,k as MatildaOAuth2Event,e as MatildaOAuthPollError,o as cacheMatildaCredentials,q as clearCachedCredentialFile,p as clearMatildaCredentials,b as generateCodeChallenge,a as generateCodeVerifier,c as generatePKCEPair,m as getMatildaOAuthClient,f as isDeviceAuthorizationSuccess,h as isDeviceTokenPending,g as isDeviceTokenSuccess,i as isErrorResponse,l as matildaOAuth2Events};
3
+ import{d as a,e as b,f as c,g as d,h as e,i as f,j as g,k as h,l as i,m as j,n as k,o as l,p as m,q as n,r as o,s as p,t as q}from"./chunk-HWOQNYAO.js";import"./chunk-XCFLI3OC.js";import"./chunk-VI74YQQO.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import"./chunk-MH2P4YXC.js";import"./chunk-FWDMPRKU.js";import"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";export{d as CredentialsClearRequiredError,n as MATILDA_CREDENTIAL_FILE_MODE,j as MatildaOAuth2Client,k as MatildaOAuth2Event,e as MatildaOAuthPollError,o as cacheMatildaCredentials,q as clearCachedCredentialFile,p as clearMatildaCredentials,b as generateCodeChallenge,a as generateCodeVerifier,c as generatePKCEPair,m as getMatildaOAuthClient,f as isDeviceAuthorizationSuccess,h as isDeviceTokenPending,g as isDeviceTokenSuccess,i as isErrorResponse,l as matildaOAuth2Events};
@@ -1,6 +1,6 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
- import{Ec as tt,Me as st,Ne as at,Pc as ot,Sc as et,Se as L,Tc as A,Te as lt,Yc as C,Zc as nt,bd as it,vi as P,xi as ct,ze as rt}from"./chunk-VVIJGBQK.js";import"./chunk-TZIDSCTF.js";import"./chunk-TXMXCR7D.js";import"./chunk-YULUB745.js";import"./chunk-NYEWHSBL.js";import"./chunk-QN6WSWMM.js";import"./chunk-2HQMJ2IU.js";import"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import"./chunk-MTMU7JYZ.js";import"./chunk-SPW5DXX4.js";import"./chunk-RNKDFE2S.js";import"./chunk-TO3ID3JW.js";import"./chunk-MKFQMX37.js";import"./chunk-47XR7IMP.js";import"./chunk-FFFZ2QMG.js";import"./chunk-SNLH42QJ.js";import"./chunk-HYVP4472.js";import"./chunk-QKYGQLWC.js";import"./chunk-QH7736R5.js";import"./chunk-4CSSDBOS.js";import"./chunk-JXUDKX6D.js";import"./chunk-66NIIU2R.js";import"./chunk-GUFIMKF5.js";import"./chunk-YSIECQIZ.js";import"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import"./chunk-SDTWBD62.js";import"./chunk-FRRBNNEB.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import{g as Z,i as q,p as Y,q as Q}from"./chunk-T4P4KEDW.js";import"./chunk-S4UT3QLV.js";import"./chunk-XCFLI3OC.js";import"./chunk-ESSYHTAZ.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import{K as J,ba as K,d as m}from"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import{b as H}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";H();import{spawn as mt}from"node:child_process";import dt from"node:path";import{randomUUID as Et}from"node:crypto";var u=K("MONITOR"),St=1e3,O=1e4,kt=3e5,N=6e5,ut=80,R=4096,ft=5,pt=1e3;function gt(l){return l.length>ut?l.slice(0,ut-1)+"\u2026":l}var xt=new Set(["task-notification","task-id","tool-use-id","kind","status","event-count","summary","result"]),Rt=/<(\/?)([a-zA-Z][a-zA-Z0-9-]*)>/g;function ht(l){let y="";for(let t=0;t<l.length;t++){let e=l.charCodeAt(t);if(e===9){y+=l[t];continue}e<32||e>=128&&e<=159||(y+=l[t])}return y=y.replace(Rt,(t,e,a)=>xt.has(String(a).toLowerCase())?e==="/"?`</\u200B${a}>`:`<\u200B${a}>`:t),y}var U=class extends Z{constructor(t,e){super(e);this.config=t}callId;setCallId(t){this.callId=t}getDescription(){let t=this.params.description||C(this.params.command).spawnCommand;return`Monitor: ${gt(t)}`}async getDefaultPermission(){let t=C(this.params.command).safetyCommand;try{if(await L(t))return"allow"}catch(e){u.warn("AST read-only check failed, falling back to ask:",e)}return"ask"}async getConfirmationDetails(t){let e=C(this.params.command),a=et(e.safetyCommand),f=[];for(let s of a){let p=!1;try{p=await L(s)}catch(d){u.warn("AST read-only check failed for monitor sub-command, falling back to ask:",d)}p||f.push(s)}let S=f.length>0?f:a,M=[...new Set(S.map(s=>A(s)).filter(s=>!!s))],v=[];try{let s=[];for(let p of S){let d=await lt(p);s.push(...d)}v=[...new Set(s)].map(p=>`Monitor(${p})`)}catch(s){u.warn("Failed to extract monitor command rules:",s),v=[`Monitor(${e.safetyCommand})`]}let i=it(e.safetyCommand,this.params.command),c={type:"exec",title:"Monitor",command:e.spawnCommand,rootCommand:M.join(", ")||(A(e.safetyCommand)??e.spawnCommand),permissionRules:v,onConfirm:async(s,p)=>{}};return i&&(c.warnings=i),c}async execute(t){if(t.aborted)return{llmContent:"Monitor was cancelled before it could start.",returnDisplay:"Monitor cancelled."};let e=C(this.params.command),a=e.spawnCommand;e.strippedTrailingAmp&&u.warn("Stripped trailing & from monitor command \u2014 monitor lifecycle handles backgrounding");let f=ht(this.params.description||a),S=gt(f),M=Math.min(this.params.max_events??St,O),v=Math.min(this.params.idle_timeout_ms??kt,N),i=`mon_${Et().replace(/-/g,"").slice(0,16)}`,c=this.config.getMonitorRegistry(),s=tt()??void 0;if(c.getRunning().length>=P)return{llmContent:`Cannot start monitor: maximum concurrent monitors (${P}) reached. Stop an existing monitor first.`,returnDisplay:"Monitor rejected: too many concurrent monitors."};let d=new AbortController,g={monitorId:i,command:a,description:f,status:"running",startTime:Date.now(),abortController:d,toolUseId:this.callId,eventCount:0,lastEventTime:0,maxEvents:M,idleTimeoutMs:v,droppedLines:0,outputFile:ct(this.config.storage.getProjectDir(),this.config.getSessionId(),i),...s?{ownerAgentId:s}:{}},{executable:vt,argsPrefix:Tt}=ot(),n;try{n=mt(vt,[...Tt,a],{cwd:this.params.directory||this.config.getTargetDir(),stdio:["ignore","pipe","pipe"],detached:!0,env:{...at(),MATILDA_CODE:"1",TERM:"dumb",PAGER:"cat",...st()}})}catch(o){return{llmContent:`Monitor failed to start: ${m(o)}`,returnDisplay:`Monitor failed: ${m(o)}`}}g.pid=n.pid;let b=!1,w,D=o=>{w??=o};n.on("error",D);let B={value:""},G={value:""},k=ft,I=Date.now(),$=o=>{let r=ht(o);if(r.length===0||r.trim().length===0)return;let T=Date.now(),_=T-I;if(_<0)u.warn(`Monitor ${i}: clock moved backwards by ${-_}ms, resetting refill timestamp`),I=T;else{let h=Math.floor(_/pt);h>0&&(k=Math.min(ft,k+h),I+=h*pt)}k>0?(k--,c.emitEvent(i,r)):g.droppedLines++},j=()=>{for(let o of[B,G]){let r=o.value.trim();r.length>0&&$(r),o.value=""}},_t=()=>{if(!(b||!n.pid))if(process.platform==="win32")mt("taskkill",["/pid",n.pid.toString(),"/f","/t"],{stdio:"ignore"}).on("error",r=>u.warn(`Monitor taskkill failed for pid ${n.pid}: ${m(r)}`));else{try{process.kill(-n.pid,"SIGTERM")}catch(o){u.warn(`Monitor ${i} SIGTERM failed (pid=${n.pid}): ${m(o)}`)}setTimeout(()=>{if(!b&&n.pid)try{process.kill(-n.pid,"SIGKILL")}catch(o){u.warn(`Monitor ${i} SIGKILL escalation failed (pid=${n.pid}): ${m(o)}`)}},200).unref?.()}},E=()=>{j(),_t()};d.signal.addEventListener("abort",E,{once:!0}),d.signal.aborted&&E();try{c.register(g)}catch(o){return E(),d.signal.removeEventListener("abort",E),n.stdout?.destroy?.(),n.stderr?.destroy?.(),n.removeListener("error",D),n.on("error",()=>{}),{llmContent:`Monitor failed to start: ${m(o)}`,returnDisplay:`Monitor failed: ${m(o)}`}}let z=(o,r)=>{if(g.status!=="running")return;let T=rt(r.toString("utf-8"));if(o.value+=T,!o.value.includes(`
3
+ import{Di as P,Fi as ct,Ge as rt,Lc as tt,Te as st,Ue as at,Wc as ot,Zc as et,Ze as L,_c as A,_e as lt,dd as C,ed as nt,id as it}from"./chunk-QFNFLE2I.js";import"./chunk-M53RP3YP.js";import"./chunk-TXMXCR7D.js";import"./chunk-YULUB745.js";import"./chunk-NYEWHSBL.js";import"./chunk-QN6WSWMM.js";import"./chunk-2HQMJ2IU.js";import"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import"./chunk-MTMU7JYZ.js";import"./chunk-SPW5DXX4.js";import"./chunk-RNKDFE2S.js";import"./chunk-GHBKFIHC.js";import"./chunk-5427BPR2.js";import"./chunk-47XR7IMP.js";import"./chunk-FFFZ2QMG.js";import"./chunk-SNLH42QJ.js";import"./chunk-HYVP4472.js";import"./chunk-QKYGQLWC.js";import"./chunk-QH7736R5.js";import"./chunk-4CSSDBOS.js";import"./chunk-JXUDKX6D.js";import"./chunk-Q55AVE2N.js";import"./chunk-GUFIMKF5.js";import"./chunk-WRQLIPXW.js";import"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import"./chunk-SDTWBD62.js";import"./chunk-25NCTG5H.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import{g as Z,i as q,p as Y,q as Q}from"./chunk-T4P4KEDW.js";import"./chunk-HWOQNYAO.js";import"./chunk-XCFLI3OC.js";import"./chunk-VI74YQQO.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import{K as J,ba as K,d as m}from"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import{b as H}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";H();import{spawn as mt}from"node:child_process";import dt from"node:path";import{randomUUID as Et}from"node:crypto";var u=K("MONITOR"),St=1e3,O=1e4,kt=3e5,N=6e5,ut=80,R=4096,ft=5,pt=1e3;function gt(l){return l.length>ut?l.slice(0,ut-1)+"\u2026":l}var xt=new Set(["task-notification","task-id","tool-use-id","kind","status","event-count","summary","result"]),Rt=/<(\/?)([a-zA-Z][a-zA-Z0-9-]*)>/g;function ht(l){let y="";for(let t=0;t<l.length;t++){let e=l.charCodeAt(t);if(e===9){y+=l[t];continue}e<32||e>=128&&e<=159||(y+=l[t])}return y=y.replace(Rt,(t,e,a)=>xt.has(String(a).toLowerCase())?e==="/"?`</\u200B${a}>`:`<\u200B${a}>`:t),y}var U=class extends Z{constructor(t,e){super(e);this.config=t}callId;setCallId(t){this.callId=t}getDescription(){let t=this.params.description||C(this.params.command).spawnCommand;return`Monitor: ${gt(t)}`}async getDefaultPermission(){let t=C(this.params.command).safetyCommand;try{if(await L(t))return"allow"}catch(e){u.warn("AST read-only check failed, falling back to ask:",e)}return"ask"}async getConfirmationDetails(t){let e=C(this.params.command),a=et(e.safetyCommand),f=[];for(let s of a){let p=!1;try{p=await L(s)}catch(d){u.warn("AST read-only check failed for monitor sub-command, falling back to ask:",d)}p||f.push(s)}let S=f.length>0?f:a,M=[...new Set(S.map(s=>A(s)).filter(s=>!!s))],v=[];try{let s=[];for(let p of S){let d=await lt(p);s.push(...d)}v=[...new Set(s)].map(p=>`Monitor(${p})`)}catch(s){u.warn("Failed to extract monitor command rules:",s),v=[`Monitor(${e.safetyCommand})`]}let i=it(e.safetyCommand,this.params.command),c={type:"exec",title:"Monitor",command:e.spawnCommand,rootCommand:M.join(", ")||(A(e.safetyCommand)??e.spawnCommand),permissionRules:v,onConfirm:async(s,p)=>{}};return i&&(c.warnings=i),c}async execute(t){if(t.aborted)return{llmContent:"Monitor was cancelled before it could start.",returnDisplay:"Monitor cancelled."};let e=C(this.params.command),a=e.spawnCommand;e.strippedTrailingAmp&&u.warn("Stripped trailing & from monitor command \u2014 monitor lifecycle handles backgrounding");let f=ht(this.params.description||a),S=gt(f),M=Math.min(this.params.max_events??St,O),v=Math.min(this.params.idle_timeout_ms??kt,N),i=`mon_${Et().replace(/-/g,"").slice(0,16)}`,c=this.config.getMonitorRegistry(),s=tt()??void 0;if(c.getRunning().length>=P)return{llmContent:`Cannot start monitor: maximum concurrent monitors (${P}) reached. Stop an existing monitor first.`,returnDisplay:"Monitor rejected: too many concurrent monitors."};let d=new AbortController,g={monitorId:i,command:a,description:f,status:"running",startTime:Date.now(),abortController:d,toolUseId:this.callId,eventCount:0,lastEventTime:0,maxEvents:M,idleTimeoutMs:v,droppedLines:0,outputFile:ct(this.config.storage.getProjectDir(),this.config.getSessionId(),i),...s?{ownerAgentId:s}:{}},{executable:vt,argsPrefix:Tt}=ot(),n;try{n=mt(vt,[...Tt,a],{cwd:this.params.directory||this.config.getTargetDir(),stdio:["ignore","pipe","pipe"],detached:!0,env:{...at(),MATILDA_CODE:"1",TERM:"dumb",PAGER:"cat",...st()}})}catch(o){return{llmContent:`Monitor failed to start: ${m(o)}`,returnDisplay:`Monitor failed: ${m(o)}`}}g.pid=n.pid;let b=!1,w,D=o=>{w??=o};n.on("error",D);let B={value:""},G={value:""},k=ft,I=Date.now(),$=o=>{let r=ht(o);if(r.length===0||r.trim().length===0)return;let T=Date.now(),_=T-I;if(_<0)u.warn(`Monitor ${i}: clock moved backwards by ${-_}ms, resetting refill timestamp`),I=T;else{let h=Math.floor(_/pt);h>0&&(k=Math.min(ft,k+h),I+=h*pt)}k>0?(k--,c.emitEvent(i,r)):g.droppedLines++},j=()=>{for(let o of[B,G]){let r=o.value.trim();r.length>0&&$(r),o.value=""}},_t=()=>{if(!(b||!n.pid))if(process.platform==="win32")mt("taskkill",["/pid",n.pid.toString(),"/f","/t"],{stdio:"ignore"}).on("error",r=>u.warn(`Monitor taskkill failed for pid ${n.pid}: ${m(r)}`));else{try{process.kill(-n.pid,"SIGTERM")}catch(o){u.warn(`Monitor ${i} SIGTERM failed (pid=${n.pid}): ${m(o)}`)}setTimeout(()=>{if(!b&&n.pid)try{process.kill(-n.pid,"SIGKILL")}catch(o){u.warn(`Monitor ${i} SIGKILL escalation failed (pid=${n.pid}): ${m(o)}`)}},200).unref?.()}},E=()=>{j(),_t()};d.signal.addEventListener("abort",E,{once:!0}),d.signal.aborted&&E();try{c.register(g)}catch(o){return E(),d.signal.removeEventListener("abort",E),n.stdout?.destroy?.(),n.stderr?.destroy?.(),n.removeListener("error",D),n.on("error",()=>{}),{llmContent:`Monitor failed to start: ${m(o)}`,returnDisplay:`Monitor failed: ${m(o)}`}}let z=(o,r)=>{if(g.status!=="running")return;let T=rt(r.toString("utf-8"));if(o.value+=T,!o.value.includes(`
4
4
  `)&&o.value.length>R){let h=o.value.trim();h.length>0&&$(h.slice(0,R)+"..."),o.value="";return}let _=o.value.split(`
5
5
  `);o.value=_.pop()??"";for(let h of _){let x=h.trim();if(x.length===0)continue;let wt=x.length>R?x.slice(0,R)+"...":x;$(wt)}};n.stdout?.on("data",o=>z(B,o)),n.stderr?.on("data",o=>z(G,o));let F=!1,X=()=>{F||(F=!0,j(),d.signal.removeEventListener("abort",E),g.droppedLines>0&&u.info(`Monitor ${i} dropped ${g.droppedLines} lines due to throttling`))},V=null,Ct=(o,r)=>{g.status==="running"&&(d.signal.aborted?c.cancel(i):o!==null&&o!==0?c.fail(i,`Exit code ${o}`):r?c.fail(i,`Killed by signal ${r}`):c.complete(i,o))},Mt=(o,r)=>{b=!0,V={code:o,sig:r}},bt=(o,r)=>{b=!0,X();let T=V??{code:o,sig:r};Ct(T.code,T.sig)},W=o=>{b=!0,X(),g.status==="running"&&c.fail(i,m(o))};return n.on("exit",Mt),n.on("close",bt),n.on("error",W),n.removeListener("error",D),w?(W(w),{llmContent:`Monitor failed to start: ${m(w)}`,returnDisplay:`Monitor failed: ${m(w)}`}):{llmContent:`Monitor started.
6
6
  id: ${i}
@@ -1,6 +1,6 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
- import{$e as X,Qe as y,cf as Z,ga as R,se as D,te as Y,uc as Q}from"./chunk-VVIJGBQK.js";import"./chunk-TZIDSCTF.js";import"./chunk-TXMXCR7D.js";import"./chunk-YULUB745.js";import"./chunk-NYEWHSBL.js";import"./chunk-QN6WSWMM.js";import"./chunk-2HQMJ2IU.js";import"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import"./chunk-MTMU7JYZ.js";import"./chunk-SPW5DXX4.js";import"./chunk-RNKDFE2S.js";import"./chunk-TO3ID3JW.js";import"./chunk-MKFQMX37.js";import"./chunk-47XR7IMP.js";import"./chunk-FFFZ2QMG.js";import"./chunk-SNLH42QJ.js";import"./chunk-HYVP4472.js";import"./chunk-QKYGQLWC.js";import"./chunk-QH7736R5.js";import"./chunk-4CSSDBOS.js";import"./chunk-JXUDKX6D.js";import"./chunk-66NIIU2R.js";import"./chunk-GUFIMKF5.js";import"./chunk-YSIECQIZ.js";import"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import"./chunk-SDTWBD62.js";import{J as B,K as k,L as U,Lb as z,M as K,N as q,O as b,P as W,Q as j,R as C,S as J,T as V,U as w,V as M,_c as H,ca as G}from"./chunk-FRRBNNEB.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import{g as $,i as L,p as c,q as x}from"./chunk-T4P4KEDW.js";import"./chunk-S4UT3QLV.js";import"./chunk-XCFLI3OC.js";import"./chunk-ESSYHTAZ.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import{D as _,E as N,G as T,ba as F}from"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import{b as v}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";v();import*as E from"node:fs";import*as m from"node:path";var ee=F("NOTEBOOK_EDIT");function g(d,r,t){return ee.debug("prior-read-rejected",{path:d,reason:r,type:t.type,displayMessage:t.displayMessage}),t}var u=class extends Error{constructor(t,e){super(t);this.type=e;this.name="NotebookEditError"}};function te(d,r){if(r==="delete")return"";if(typeof d!="string")throw new u(`new_source is required when edit_mode is "${r}".`,"invalid_tool_params");return d}function I(d,r){return d?q(d,r):`cell-${r}`}function oe(d,r,t){if(!r){if(t==="insert")return-1;throw new u("cell_id is required for replace and delete operations.","invalid_tool_params")}if(W(d,r))throw new u(`Cell ID "${r}" is ambiguous in the rendered notebook. Re-read the notebook and target a stable real cell ID before editing.`,"invalid_tool_params");let e=j(d,r);if(e===-1)throw new u(`Cell with ID "${r}" not found in notebook.`,"notebook_cell_not_found");return e}function ie(d,r,t,e){let o={cell_type:r,metadata:{},source:w(t,e)},i=J(d);return i&&(o.id=i),M(o,r),o}function O(d,r){let t;try{t=k(d)}catch(a){throw new u(a instanceof Error?a.message:String(a),"notebook_invalid_json")}let e=r.edit_mode??"replace",o=te(r.new_source,e),i=b(t),n=oe(t,r.cell_id,e),l=C(t),p=U(d),s=(a,f)=>{let h=e==="insert"||e==="delete";return{...f,updatedContent:K(a,p),requiresReadAfterWrite:h&&!(i&&b(a))}};switch(e){case"insert":{let a=r.cell_type??"code",f=n===-1?0:n+1,h=ie(t,a,o,V(t,f));return t.cells.splice(f,0,h),s(t,{editedCellId:I(h,f),editedCellType:a,language:l,mode:e})}case"delete":{let[a]=t.cells.splice(n,1);return s(t,{editedCellId:I(a,n),editedCellType:a?.cell_type,language:l,mode:e})}case"replace":{let a=t.cells[n];if(!a)throw new u(`Cell index ${n} is out of range.`,"notebook_cell_not_found");let f=r.cell_type??a.cell_type;return a.source=w(o,Array.isArray(a.source)),M(a,f),s(t,{editedCellId:I(a,n),editedCellType:f,language:l,mode:e})}default:throw new u(`Unsupported notebook edit mode: ${e}`,"invalid_tool_params")}}function re(d,r,t){let e,o;try{e=k(r),o=k(d)}catch(i){throw new u(i instanceof Error?i.message:String(i),"notebook_invalid_json")}return{updatedContent:r,editedCellId:t.cell_id??"user-modified-notebook",editedCellType:void 0,language:C(e),mode:t.edit_mode??"replace",requiresReadAfterWrite:!b(o)||!b(e)}}async function A(d,r,t={}){if(d.getFileReadCacheDisabled())return{ok:!0};let e;try{e=await E.promises.stat(r)}catch(i){let n=i?.code;return n==="ENOENT"?t.expectExisting?g(r,"missing-after-read",{ok:!1,type:"file_changed_since_read",rawMessage:`Notebook ${r} disappeared after it was read. Re-read it with the ${c.READ_FILE} tool before editing it.`,displayMessage:`notebook disappeared after last read; re-run ${c.READ_FILE} first.`}):{ok:!0}:g(r,"stat-failed",{ok:!1,type:"prior_read_verification_failed",rawMessage:`Could not stat ${r} to verify prior notebook read (${n??"unknown error"}). Re-read it with the ${c.READ_FILE} tool before editing it.`,displayMessage:`cannot verify prior read of ${r}; re-run ${c.READ_FILE} before editing this notebook.`})}if(e.isDirectory())return g(r,"target-is-directory",{ok:!1,type:"target_is_directory",rawMessage:`${r} is a directory. The NotebookEdit tool only operates on .ipynb files.`,displayMessage:"path is a directory; cannot edit as a notebook."});if(!e.isFile())return g(r,"target-not-regular-file",{ok:!1,type:"target_not_regular_file",rawMessage:`${r} is not a regular file. The NotebookEdit tool only operates on .ipynb files.`,displayMessage:"special file; cannot edit as a notebook."});let o=d.getFileReadCache().check(e);return o.state==="fresh"&&o.entry.lastReadAt!==void 0&&o.entry.lastReadWasFull?{ok:!0}:o.state==="fresh"&&o.entry.lastReadAt!==void 0&&!o.entry.lastReadWasFull?g(r,"truncated-cache-entry",{ok:!1,type:"edit_requires_prior_read",rawMessage:`Notebook ${r} is too large for cell-level editing because its rendered output was truncated when read. Reduce the notebook output size or split the notebook before editing cells.`,displayMessage:"notebook too large for cell-level editing."}):o.state==="stale"?g(r,"stale-cache-entry",{ok:!1,type:"file_changed_since_read",rawMessage:`Notebook ${r} has been modified since you last read it. Re-read it with the ${c.READ_FILE} tool before editing it.`,displayMessage:`notebook changed since last read; re-run ${c.READ_FILE} first.`}):g(r,`cache-${o.state}`,{ok:!1,type:"edit_requires_prior_read",rawMessage:`Notebook ${r} has not been fully read in this session. Use the ${c.READ_FILE} tool first, without offset or limit, before editing cells.`,displayMessage:`${c.READ_FILE} required before editing this notebook.`})}var P=class extends ${constructor(t,e,o){super(e);this.config=t;this.modifyMetadata=o}toolLocations(){return[{path:this.params.notebook_path}]}getDescription(){let t=N(this.params.notebook_path,this.config.getTargetDir()),e=this.params.edit_mode??"replace",o=this.params.cell_id??"beginning";return`${e} notebook cell ${o} in ${_(t)}`}async getDefaultPermission(){return"ask"}async getConfirmationDetails(t){let e=await this.prepareEdit(t),o=m.basename(this.params.notebook_path),i=R(o,e.originalContent,e.updatedContent,"Current","Proposed",D);return{type:"edit",title:`Confirm Notebook Edit: ${_(N(this.params.notebook_path,this.config.getTargetDir()))}`,fileName:o,filePath:this.params.notebook_path,fileDiff:i,originalContent:e.originalContent,newContent:e.updatedContent,onConfirm:async l=>{l==="proceed_always"&&this.config.setApprovalMode("auto-edit")}}}async prepareEdit(t){let e=await A(this.config,this.params.notebook_path);if(!e.ok)throw new y(e.rawMessage,e.type);let o,i=!1,n,l="lf";try{let s=await this.config.getFileSystemService().readTextFile({path:this.params.notebook_path});o=s.content,i=s._meta?.bom??!1,n=s._meta?.encoding,l=s._meta?.lineEnding??X(s.content)}catch(s){throw t.aborted?s:s?.code==="ENOENT"?new y(`Notebook file not found: ${this.params.notebook_path}`,"file_not_found"):new y(`Error reading notebook: ${s instanceof Error?s.message:String(s)}`,"read_content_failure")}let p=await A(this.config,this.params.notebook_path,{expectExisting:!0});if(!p.ok)throw new y(p.rawMessage,p.type);try{return this.modifyMetadata?.modifiedNotebookContent!==void 0?{...re(o,this.modifyMetadata.modifiedNotebookContent,this.params),originalContent:o,bom:i,encoding:n,lineEnding:l}:{...O(o,this.params),originalContent:o,bom:i,encoding:n,lineEnding:l}}catch(s){throw s instanceof u?new y(s.message,s.type):s}}async execute(t){let e;try{e=await this.prepareEdit(t)}catch(o){if(t.aborted)throw o;let i=o instanceof y?o.errorType:"notebook_edit_failure",n=o instanceof Error?o.message:String(o);return{llmContent:n,returnDisplay:`Error: ${n}`,error:{message:n,type:i}}}try{try{await this.config.getFileHistoryService().trackEdit(this.params.notebook_path)}catch{}let o=await A(this.config,this.params.notebook_path,{expectExisting:!0});if(!o.ok)return{llmContent:o.rawMessage,returnDisplay:`Error: ${o.displayMessage}`,error:{message:o.rawMessage,type:o.type}};await this.config.getFileSystemService().writeTextFile({path:this.params.notebook_path,content:e.updatedContent,_meta:{bom:e.bom,encoding:e.encoding,lineEnding:e.lineEnding}}),this.modifyMetadata?.modifiedByUser||Q.getInstance().recordEdit(this.params.notebook_path,e.originalContent,e.updatedContent);try{let a=E.statSync(this.params.notebook_path),f=this.config.getFileReadCache();e.requiresReadAfterWrite?f.invalidate(a):f.recordWrite(this.params.notebook_path,a,{cacheable:!1})}catch(a){ee.warn(`[NotebookEdit] post-write cache update failed for ${this.params.notebook_path}: ${a instanceof Error?a.message:String(a)}`)}let i=m.basename(this.params.notebook_path),n=R(i,e.originalContent,e.updatedContent,"Current","Proposed",D),l=Y(i,e.originalContent,this.modifyMetadata?.aiProposedContent??e.updatedContent,e.updatedContent);z(this.config,new H(S.Name,"update",e.updatedContent.split(`
3
+ import{Ae as Y,Bc as Q,Xe as y,ga as R,gf as X,jf as Z,ze as D}from"./chunk-QFNFLE2I.js";import"./chunk-M53RP3YP.js";import"./chunk-TXMXCR7D.js";import"./chunk-YULUB745.js";import"./chunk-NYEWHSBL.js";import"./chunk-QN6WSWMM.js";import"./chunk-2HQMJ2IU.js";import"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import"./chunk-MTMU7JYZ.js";import"./chunk-SPW5DXX4.js";import"./chunk-RNKDFE2S.js";import"./chunk-GHBKFIHC.js";import"./chunk-5427BPR2.js";import"./chunk-47XR7IMP.js";import"./chunk-FFFZ2QMG.js";import"./chunk-SNLH42QJ.js";import"./chunk-HYVP4472.js";import"./chunk-QKYGQLWC.js";import"./chunk-QH7736R5.js";import"./chunk-4CSSDBOS.js";import"./chunk-JXUDKX6D.js";import"./chunk-Q55AVE2N.js";import"./chunk-GUFIMKF5.js";import"./chunk-WRQLIPXW.js";import"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import"./chunk-SDTWBD62.js";import{J as B,K as k,L as U,Lb as z,M as K,N as q,O as b,P as W,Q as j,R as C,S as J,T as V,U as w,V as M,ca as G,cd as H}from"./chunk-25NCTG5H.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import{g as $,i as L,p as c,q as x}from"./chunk-T4P4KEDW.js";import"./chunk-HWOQNYAO.js";import"./chunk-XCFLI3OC.js";import"./chunk-VI74YQQO.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import{D as _,E as N,G as T,ba as F}from"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import{b as v}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";v();import*as E from"node:fs";import*as m from"node:path";var ee=F("NOTEBOOK_EDIT");function g(d,r,t){return ee.debug("prior-read-rejected",{path:d,reason:r,type:t.type,displayMessage:t.displayMessage}),t}var u=class extends Error{constructor(t,e){super(t);this.type=e;this.name="NotebookEditError"}};function te(d,r){if(r==="delete")return"";if(typeof d!="string")throw new u(`new_source is required when edit_mode is "${r}".`,"invalid_tool_params");return d}function I(d,r){return d?q(d,r):`cell-${r}`}function oe(d,r,t){if(!r){if(t==="insert")return-1;throw new u("cell_id is required for replace and delete operations.","invalid_tool_params")}if(W(d,r))throw new u(`Cell ID "${r}" is ambiguous in the rendered notebook. Re-read the notebook and target a stable real cell ID before editing.`,"invalid_tool_params");let e=j(d,r);if(e===-1)throw new u(`Cell with ID "${r}" not found in notebook.`,"notebook_cell_not_found");return e}function ie(d,r,t,e){let o={cell_type:r,metadata:{},source:w(t,e)},i=J(d);return i&&(o.id=i),M(o,r),o}function O(d,r){let t;try{t=k(d)}catch(a){throw new u(a instanceof Error?a.message:String(a),"notebook_invalid_json")}let e=r.edit_mode??"replace",o=te(r.new_source,e),i=b(t),n=oe(t,r.cell_id,e),l=C(t),p=U(d),s=(a,f)=>{let h=e==="insert"||e==="delete";return{...f,updatedContent:K(a,p),requiresReadAfterWrite:h&&!(i&&b(a))}};switch(e){case"insert":{let a=r.cell_type??"code",f=n===-1?0:n+1,h=ie(t,a,o,V(t,f));return t.cells.splice(f,0,h),s(t,{editedCellId:I(h,f),editedCellType:a,language:l,mode:e})}case"delete":{let[a]=t.cells.splice(n,1);return s(t,{editedCellId:I(a,n),editedCellType:a?.cell_type,language:l,mode:e})}case"replace":{let a=t.cells[n];if(!a)throw new u(`Cell index ${n} is out of range.`,"notebook_cell_not_found");let f=r.cell_type??a.cell_type;return a.source=w(o,Array.isArray(a.source)),M(a,f),s(t,{editedCellId:I(a,n),editedCellType:f,language:l,mode:e})}default:throw new u(`Unsupported notebook edit mode: ${e}`,"invalid_tool_params")}}function re(d,r,t){let e,o;try{e=k(r),o=k(d)}catch(i){throw new u(i instanceof Error?i.message:String(i),"notebook_invalid_json")}return{updatedContent:r,editedCellId:t.cell_id??"user-modified-notebook",editedCellType:void 0,language:C(e),mode:t.edit_mode??"replace",requiresReadAfterWrite:!b(o)||!b(e)}}async function A(d,r,t={}){if(d.getFileReadCacheDisabled())return{ok:!0};let e;try{e=await E.promises.stat(r)}catch(i){let n=i?.code;return n==="ENOENT"?t.expectExisting?g(r,"missing-after-read",{ok:!1,type:"file_changed_since_read",rawMessage:`Notebook ${r} disappeared after it was read. Re-read it with the ${c.READ_FILE} tool before editing it.`,displayMessage:`notebook disappeared after last read; re-run ${c.READ_FILE} first.`}):{ok:!0}:g(r,"stat-failed",{ok:!1,type:"prior_read_verification_failed",rawMessage:`Could not stat ${r} to verify prior notebook read (${n??"unknown error"}). Re-read it with the ${c.READ_FILE} tool before editing it.`,displayMessage:`cannot verify prior read of ${r}; re-run ${c.READ_FILE} before editing this notebook.`})}if(e.isDirectory())return g(r,"target-is-directory",{ok:!1,type:"target_is_directory",rawMessage:`${r} is a directory. The NotebookEdit tool only operates on .ipynb files.`,displayMessage:"path is a directory; cannot edit as a notebook."});if(!e.isFile())return g(r,"target-not-regular-file",{ok:!1,type:"target_not_regular_file",rawMessage:`${r} is not a regular file. The NotebookEdit tool only operates on .ipynb files.`,displayMessage:"special file; cannot edit as a notebook."});let o=d.getFileReadCache().check(e);return o.state==="fresh"&&o.entry.lastReadAt!==void 0&&o.entry.lastReadWasFull?{ok:!0}:o.state==="fresh"&&o.entry.lastReadAt!==void 0&&!o.entry.lastReadWasFull?g(r,"truncated-cache-entry",{ok:!1,type:"edit_requires_prior_read",rawMessage:`Notebook ${r} is too large for cell-level editing because its rendered output was truncated when read. Reduce the notebook output size or split the notebook before editing cells.`,displayMessage:"notebook too large for cell-level editing."}):o.state==="stale"?g(r,"stale-cache-entry",{ok:!1,type:"file_changed_since_read",rawMessage:`Notebook ${r} has been modified since you last read it. Re-read it with the ${c.READ_FILE} tool before editing it.`,displayMessage:`notebook changed since last read; re-run ${c.READ_FILE} first.`}):g(r,`cache-${o.state}`,{ok:!1,type:"edit_requires_prior_read",rawMessage:`Notebook ${r} has not been fully read in this session. Use the ${c.READ_FILE} tool first, without offset or limit, before editing cells.`,displayMessage:`${c.READ_FILE} required before editing this notebook.`})}var P=class extends ${constructor(t,e,o){super(e);this.config=t;this.modifyMetadata=o}toolLocations(){return[{path:this.params.notebook_path}]}getDescription(){let t=N(this.params.notebook_path,this.config.getTargetDir()),e=this.params.edit_mode??"replace",o=this.params.cell_id??"beginning";return`${e} notebook cell ${o} in ${_(t)}`}async getDefaultPermission(){return"ask"}async getConfirmationDetails(t){let e=await this.prepareEdit(t),o=m.basename(this.params.notebook_path),i=R(o,e.originalContent,e.updatedContent,"Current","Proposed",D);return{type:"edit",title:`Confirm Notebook Edit: ${_(N(this.params.notebook_path,this.config.getTargetDir()))}`,fileName:o,filePath:this.params.notebook_path,fileDiff:i,originalContent:e.originalContent,newContent:e.updatedContent,onConfirm:async l=>{l==="proceed_always"&&this.config.setApprovalMode("auto-edit")}}}async prepareEdit(t){let e=await A(this.config,this.params.notebook_path);if(!e.ok)throw new y(e.rawMessage,e.type);let o,i=!1,n,l="lf";try{let s=await this.config.getFileSystemService().readTextFile({path:this.params.notebook_path});o=s.content,i=s._meta?.bom??!1,n=s._meta?.encoding,l=s._meta?.lineEnding??X(s.content)}catch(s){throw t.aborted?s:s?.code==="ENOENT"?new y(`Notebook file not found: ${this.params.notebook_path}`,"file_not_found"):new y(`Error reading notebook: ${s instanceof Error?s.message:String(s)}`,"read_content_failure")}let p=await A(this.config,this.params.notebook_path,{expectExisting:!0});if(!p.ok)throw new y(p.rawMessage,p.type);try{return this.modifyMetadata?.modifiedNotebookContent!==void 0?{...re(o,this.modifyMetadata.modifiedNotebookContent,this.params),originalContent:o,bom:i,encoding:n,lineEnding:l}:{...O(o,this.params),originalContent:o,bom:i,encoding:n,lineEnding:l}}catch(s){throw s instanceof u?new y(s.message,s.type):s}}async execute(t){let e;try{e=await this.prepareEdit(t)}catch(o){if(t.aborted)throw o;let i=o instanceof y?o.errorType:"notebook_edit_failure",n=o instanceof Error?o.message:String(o);return{llmContent:n,returnDisplay:`Error: ${n}`,error:{message:n,type:i}}}try{try{await this.config.getFileHistoryService().trackEdit(this.params.notebook_path)}catch{}let o=await A(this.config,this.params.notebook_path,{expectExisting:!0});if(!o.ok)return{llmContent:o.rawMessage,returnDisplay:`Error: ${o.displayMessage}`,error:{message:o.rawMessage,type:o.type}};await this.config.getFileSystemService().writeTextFile({path:this.params.notebook_path,content:e.updatedContent,_meta:{bom:e.bom,encoding:e.encoding,lineEnding:e.lineEnding}}),this.modifyMetadata?.modifiedByUser||Q.getInstance().recordEdit(this.params.notebook_path,e.originalContent,e.updatedContent);try{let a=E.statSync(this.params.notebook_path),f=this.config.getFileReadCache();e.requiresReadAfterWrite?f.invalidate(a):f.recordWrite(this.params.notebook_path,a,{cacheable:!1})}catch(a){ee.warn(`[NotebookEdit] post-write cache update failed for ${this.params.notebook_path}: ${a instanceof Error?a.message:String(a)}`)}let i=m.basename(this.params.notebook_path),n=R(i,e.originalContent,e.updatedContent,"Current","Proposed",D),l=Y(i,e.originalContent,this.modifyMetadata?.aiProposedContent??e.updatedContent,e.updatedContent);z(this.config,new H(S.Name,"update",e.updatedContent.split(`
4
4
  `).length,G(this.params.notebook_path),".ipynb",e.language));let p={fileDiff:n,fileName:i,originalContent:e.originalContent,newContent:e.updatedContent,diffStat:l},s=this.modifyMetadata?.modifiedNotebookContent!==void 0?`Notebook ${this.params.notebook_path} has been updated. Notebook content was modified by the user before approval; the final saved notebook may differ from the original ${e.mode} cell ${e.editedCellId} proposal.`:`Notebook ${this.params.notebook_path} has been updated. ${e.mode} cell ${e.editedCellId}.${e.mode==="delete"?"":`
5
5
 
6
6
  Updated source:
@@ -1,3 +1,3 @@
1
1
  // Force strict mode and setup for ESM
2
2
  "use strict";
3
- import{a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k,k as l,l as m}from"./chunk-2W6MZZHZ.js";import"./chunk-ODZOYHIC.js";import"./chunk-GUFIMKF5.js";import{g as a}from"./chunk-YSIECQIZ.js";import"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import"./chunk-SDTWBD62.js";import"./chunk-FRRBNNEB.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import"./chunk-T4P4KEDW.js";import"./chunk-ESSYHTAZ.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";export{h as ContentGenerationPipeline,c as DeepSeekOpenAICompatibleProvider,i as EnhancedErrorHandler,b as MatildaOpenAICompatibleProvider,k as MatildaOpenAIContentGenerator,g as MiMoOpenAICompatibleProvider,e as MiniMaxOpenAICompatibleProvider,f as MistralOpenAICompatibleProvider,a as OpenAIContentConverter,j as OpenAIContentGenerator,d as OpenRouterOpenAICompatibleProvider,l as createOpenAIContentGenerator,m as determineProvider};
3
+ import{a as b,b as c,c as d,d as e,e as f,f as g,g as h,h as i,i as j,j as k,k as l,l as m}from"./chunk-RK2AKQAX.js";import"./chunk-ODZOYHIC.js";import"./chunk-GUFIMKF5.js";import{g as a}from"./chunk-WRQLIPXW.js";import"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import"./chunk-SDTWBD62.js";import"./chunk-25NCTG5H.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import"./chunk-T4P4KEDW.js";import"./chunk-VI74YQQO.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";export{h as ContentGenerationPipeline,c as DeepSeekOpenAICompatibleProvider,i as EnhancedErrorHandler,b as MatildaOpenAICompatibleProvider,k as MatildaOpenAIContentGenerator,g as MiMoOpenAICompatibleProvider,e as MiniMaxOpenAICompatibleProvider,f as MistralOpenAICompatibleProvider,a as OpenAIContentConverter,j as OpenAIContentGenerator,d as OpenRouterOpenAICompatibleProvider,l as createOpenAIContentGenerator,m as determineProvider};