Files
2026-09-17 17:35:03 +00:00

27 lines
73 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
3:I[4707,[],""]
6:I[36423,[],""]
8:I[78400,["3185","static/chunks/app/layout-38b548b4f4d27f80.js"],"FontLoader"]
4:["lang","de","d"]
5:["mdxPath","tools/shell","oc"]
0:["0y8u-WGJo2VFWAF7bkrdx",[[["",{"children":[["lang","de","d"],{"children":[["mdxPath","tools/shell","oc"],{"children":["__PAGE__?{\"lang\":\"de\",\"mdxPath\":[\"tools\",\"shell\"]}",{}]}]}]},"$undefined","$undefined",true],["",{"children":[["lang","de","d"],{"children":[["mdxPath","tools/shell","oc"],{"children":["__PAGE__",{},[["$L1","$L2",[["$","link","0",{"rel":"stylesheet","href":"/qwen-code-docs/_next/static/css/04d76539cc2c4ebd.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[null,["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","$4","children","$5","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,"$L7"],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/qwen-code-docs/_next/static/css/7fba7395046b8eaa.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$undefined",["$","style",null,{"children":":root {\n --nextra-primary-hue: 248deg;\n --nextra-primary-saturation: 74%;\n --nextra-primary-lightness: 45%;\n --nextra-bg: 250,250,250;\n --nextra-content-width: 90rem;\n}\n.dark {\n --nextra-primary-hue: 248deg;\n --nextra-primary-saturation: 74%;\n --nextra-primary-lightness: 55%;\n --nextra-bg: 17,17,17;\n}\n::selection {\n background: hsla(var(--nextra-primary-hue),var(--nextra-primary-saturation),var(--nextra-primary-lightness),.3);\n}\nhtml {\n background: rgb(var(--nextra-bg));\n}"}],["$","meta",null,{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"rgb(250,250,250)"}],["$","meta",null,{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"rgb(17,17,17)"}],"$undefined"]}],["$","body",null,{"children":[["$","$L8",null,{}],["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]]}]]}]],null],null],["$L9",null]]]]
a:I[54108,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"ThemeConfigProvider"]
b:I[16016,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"LastUpdated"]
c:I[30763,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"Search"]
d:I[25922,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"ThemeProvider"]
e:I[94328,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"SkipNavLink"]
f:I[17691,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"ConfigProvider"]
10:I[72972,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],""]
11:I[88212,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"ClientNavbar"]
13:I[32594,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"LanguageDropdown"]
14:I[57191,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"MobileNav"]
15:I[18960,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"TOCProvider"]
16:"$Sreact.fragment"
17:I[57191,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"Sidebar"]
18:I[98270,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"ClientWrapper"]
19:I[56099,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"HeadingAnchor"]
1a:I[98451,["5501","static/chunks/c16f53c3-b998f97655e65347.js","1105","static/chunks/1105-e07e82095c5c7b4a.js","5524","static/chunks/5524-d228bcaedae4ecb3.js","2770","static/chunks/2770-e894e62890be5e00.js","1084","static/chunks/app/%5Blang%5D/layout-11fe9b7075b678bf.js"],"ToggleWordWrapButton"]
12:T481,M12 3C7.0275 3 3 7.12937 3 12.2276C3 16.3109 5.57625 19.7597 9.15374 20.9824C9.60374 21.0631 9.77249 20.7863 9.77249 20.5441C9.77249 20.3249 9.76125 19.5982 9.76125 18.8254C7.5 19.2522 6.915 18.2602 6.735 17.7412C6.63375 17.4759 6.19499 16.6569 5.8125 16.4378C5.4975 16.2647 5.0475 15.838 5.80124 15.8264C6.51 15.8149 7.01625 16.4954 7.18499 16.7723C7.99499 18.1679 9.28875 17.7758 9.80625 17.5335C9.885 16.9337 10.1212 16.53 10.38 16.2993C8.3775 16.0687 6.285 15.2728 6.285 11.7432C6.285 10.7397 6.63375 9.9092 7.20749 9.26326C7.1175 9.03257 6.8025 8.08674 7.2975 6.81794C7.2975 6.81794 8.05125 6.57571 9.77249 7.76377C10.4925 7.55615 11.2575 7.45234 12.0225 7.45234C12.7875 7.45234 13.5525 7.55615 14.2725 7.76377C15.9937 6.56418 16.7475 6.81794 16.7475 6.81794C17.2424 8.08674 16.9275 9.03257 16.8375 9.26326C17.4113 9.9092 17.76 10.7281 17.76 11.7432C17.76 15.2843 15.6563 16.0687 13.6537 16.2993C13.98 16.5877 14.2613 17.1414 14.2613 18.0065C14.2613 19.2407 14.25 20.2326 14.25 20.5441C14.25 20.7863 14.4188 21.0746 14.8688 20.9824C16.6554 20.364 18.2079 19.1866 19.3078 17.6162C20.4077 16.0457 20.9995 14.1611 21 12.2276C21 7.12937 16.9725 3 12 3Z7:["$","$La",null,{"value":{"children":"$undefined","darkMode":true,"docsRepositoryBase":"https://github.com/QwenLM/qwen-code/blob/main/docs","editLink":"Edit this page","feedback":{"content":"Question? Give us feedback","labels":"feedback"},"i18n":[{"locale":"en","name":"English"},{"locale":"zh","name":"中文"},{"locale":"de","name":"Deutsch"},{"locale":"fr","name":"Français"},{"locale":"ru","name":"Русский"},{"locale":"ja","name":"日本語"}],"lastUpdated":["$","$Lb",null,{}],"navigation":{"next":true,"prev":true},"search":["$","$Lc",null,{}],"sidebar":{"defaultMenuCollapseLevel":1,"defaultOpen":true,"toggleButton":true,"autoCollapse":true},"themeSwitch":{"dark":"Dark","light":"Light","system":"System"},"toc":{"backToTop":"Scroll to top","float":true,"title":"On This Page"}},"children":["$","$Ld",null,{"attribute":"class","defaultTheme":"light","disableTransitionOnChange":true,"storageKey":"theme","children":[["$","$Le",null,{}],"$undefined",["$","$Lf",null,{"pageMap":[{"data":{"index":{"title":"Willkommen zur Qwen Code Dokumentation"},"deployment":{"title":"Ausführung & Bereitstellung"},"architecture":{"title":"Architektur-Übersicht"},"cli":{"title":"CLI Nutzungsanleitung"},"core":{"title":"Kern-Details"},"tools":{"title":"Tools Sammlung"},"checkpointing":{"title":"Checkpointing-Funktion"},"extension":{"title":"Erweiterungs-Entwicklung"},"ide-integration":{"title":"IDE Integration"},"telemetry":{"title":"Observabilität"},"examples":{"title":"Beispielcode"},"npm":{"title":"Paket-Management"},"gemini-ignore":{"title":"Ignorier-Datei Konfiguration"},"integration-tests":{"title":"Integrationstests"},"keyboard-shortcuts":{"title":"Tastaturkürzel"},"sandbox":{"title":"Sandbox-Mechanismus"},"issue-and-pr-automation":{"title":"Automatisierte Behandlung"},"troubleshooting":{"title":"Fehlerbehebung"},"tos-privacy":{"title":"Nutzungsbedingungen & Datenschutz"},"Uninstall":{"title":"Deinstallations-Anleitung"}}},{"name":"index","route":"/de","frontMatter":{"title":"Willkommen zur Qwen Code Dokumentation","filePath":"content/de/index.md","timestamp":1789666354000},"title":"Willkommen zur Qwen Code Dokumentation"},{"name":"deployment","route":"/de/deployment","frontMatter":{"title":"Qwen Code Ausführung und Deployment","filePath":"content/de/deployment.md","timestamp":1789666354000},"title":"Ausführung & Bereitstellung"},{"name":"architecture","route":"/de/architecture","frontMatter":{"title":"Qwen Code Architektur-Überblick","filePath":"content/de/architecture.md","timestamp":1789666354000},"title":"Architektur-Übersicht"},{"name":"cli","route":"/de/cli","children":[{"data":{"index":{"title":"CLI Übersicht"},"commands":{"title":"Befehls-Referenz"},"configuration":{"title":"Konfigurationsanleitung"},"authentication":{"title":"Authentifizierungs-Setup"},"openai-auth":{"title":"OpenAI Authentifizierung"},"token-caching":{"title":"Token Caching"},"themes":{"title":"Theme-Konfiguration"},"tutorials":{"title":"Nutzungs-Tutorials"}}},{"name":"index","route":"/de/cli","frontMatter":{"title":"Qwen Code CLI","filePath":"content/de/cli/index.md","timestamp":1789666354000},"title":"CLI Übersicht"},{"name":"commands","route":"/de/cli/commands","frontMatter":{"title":"CLI Commands","filePath":"content/de/cli/commands.md","timestamp":1789666354000},"title":"Befehls-Referenz"},{"name":"configuration","route":"/de/cli/configuration","frontMatter":{"title":"Qwen Code Konfiguration","filePath":"content/de/cli/configuration.md","timestamp":1789666354000},"title":"Konfigurationsanleitung"},{"name":"authentication","route":"/de/cli/authentication","frontMatter":{"title":"Authentifizierung einrichten","filePath":"content/de/cli/authentication.md","timestamp":1789666354000},"title":"Authentifizierungs-Setup"},{"name":"openai-auth","route":"/de/cli/openai-auth","frontMatter":{"title":"OpenAI Authentifizierung","filePath":"content/de/cli/openai-auth.md","timestamp":1789666354000},"title":"OpenAI Authentifizierung"},{"name":"token-caching","route":"/de/cli/token-caching","frontMatter":{"title":"Token Caching und Kostenoptimierung","filePath":"content/de/cli/token-caching.md","timestamp":1789666354000},"title":"Token Caching"},{"name":"themes","route":"/de/cli/themes","frontMatter":{"title":"Themes","filePath":"content/de/cli/themes.md","timestamp":1789666354000},"title":"Theme-Konfiguration"},{"name":"tutorials","route":"/de/cli/tutorials","frontMatter":{"title":"Tutorials","filePath":"content/de/cli/tutorials.md","timestamp":1789666354000},"title":"Nutzungs-Tutorials"},{"name":"welcome-back","route":"/de/cli/welcome-back","frontMatter":{"title":"Welcome Back Feature","filePath":"content/de/cli/welcome-back.md","timestamp":1789666354000},"title":"Welcome Back Feature"}],"title":"CLI Nutzungsanleitung"},{"name":"core","route":"/de/core","children":[{"data":{"index":{"title":"Kern-Übersicht"},"tools-api":{"title":"Tools API"},"memport":{"title":"Memory Import Processor"}}},{"name":"index","route":"/de/core","frontMatter":{"title":"Qwen Code Core","filePath":"content/de/core/index.md","timestamp":1789666354000},"title":"Kern-Übersicht"},{"name":"tools-api","route":"/de/core/tools-api","frontMatter":{"title":"Qwen Code Core: Tools API","filePath":"content/de/core/tools-api.md","timestamp":1789666354000},"title":"Tools API"},{"name":"memport","route":"/de/core/memport","frontMatter":{"title":"Memory Import Processor","filePath":"content/de/core/memport.md","timestamp":1789666354000},"title":"Memory Import Processor"}],"title":"Kern-Details"},{"name":"tools","route":"/de/tools","children":[{"data":{"index":{"title":"Tools Übersicht"},"file-system":{"title":"Dateisystem-Tools"},"multi-file":{"title":"Multi-Datei Lese-Tools"},"shell":{"title":"Shell Tools"},"web-fetch":{"title":"Web Fetch Tools"},"web-search":{"title":"Web Such-Tools"},"memory":{"title":"Memory Tools"},"todo-write":{"title":"Todo Write Tool"},"mcp-server":{"title":"MCP Server"}}},{"name":"index","route":"/de/tools","frontMatter":{"title":"Qwen Code Tools","filePath":"content/de/tools/index.md","timestamp":1789666354000},"title":"Tools Übersicht"},{"name":"file-system","route":"/de/tools/file-system","frontMatter":{"title":"Qwen Code Dateisystem-Tools","filePath":"content/de/tools/file-system.md","timestamp":1789666354000},"title":"Dateisystem-Tools"},{"name":"multi-file","route":"/de/tools/multi-file","frontMatter":{"title":"Multi File Read Tool (read_many_files)","filePath":"content/de/tools/multi-file.md","timestamp":1789666354000},"title":"Multi-Datei Lese-Tools"},{"name":"shell","route":"/de/tools/shell","frontMatter":{"title":"Shell Tool (run_shell_command)","filePath":"content/de/tools/shell.md","timestamp":1789666354000},"title":"Shell Tools"},{"name":"web-fetch","route":"/de/tools/web-fetch","frontMatter":{"title":"Web Fetch Tool (web_fetch)","filePath":"content/de/tools/web-fetch.md","timestamp":1789666354000},"title":"Web Fetch Tools"},{"name":"web-search","route":"/de/tools/web-search","frontMatter":{"title":"Web Search Tool (web_search)","filePath":"content/de/tools/web-search.md","timestamp":1789666354000},"title":"Web Such-Tools"},{"name":"memory","route":"/de/tools/memory","frontMatter":{"title":"Memory Tool (save_memory)","filePath":"content/de/tools/memory.md","timestamp":1789666354000},"title":"Memory Tools"},{"name":"todo-write","route":"/de/tools/todo-write","frontMatter":{"title":"Todo Write Tool (todo_write)","filePath":"content/de/tools/todo-write.md","timestamp":1789666354000},"title":"Todo Write Tool"},{"name":"mcp-server","route":"/de/tools/mcp-server","frontMatter":{"title":"MCP-Server mit Qwen Code","filePath":"content/de/tools/mcp-server.md","timestamp":1789666354000},"title":"MCP Server"}],"title":"Tools Sammlung"},{"name":"checkpointing","route":"/de/checkpointing","frontMatter":{"title":"Checkpointing","filePath":"content/de/checkpointing.md","timestamp":1789666354000},"title":"Checkpointing-Funktion"},{"name":"extension","route":"/de/extension","frontMatter":{"title":"Qwen Code Extensions","filePath":"content/de/extension.md","timestamp":1789666354000},"title":"Erweiterungs-Entwicklung"},{"name":"ide-integration","route":"/de/ide-integration","frontMatter":{"title":"IDE-Integration","filePath":"content/de/ide-integration.md","timestamp":1789666354000},"title":"IDE Integration"},{"name":"telemetry","route":"/de/telemetry","frontMatter":{"title":"Qwen Code Observability Guide","filePath":"content/de/telemetry.md","timestamp":1789666354000},"title":"Observabilität"},{"name":"examples","route":"/de/examples","children":[{"data":{"proxy-script":{"title":"Proxy-Script Beispiel"}}},{"name":"proxy-script","route":"/de/examples/proxy-script","frontMatter":{"title":"Beispiel-Proxy-Script","filePath":"content/de/examples/proxy-script.md","timestamp":1789666354000},"title":"Proxy-Script Beispiel"}],"title":"Beispielcode"},{"name":"npm","route":"/de/npm","frontMatter":{"title":"Package Overview","filePath":"content/de/npm.md","timestamp":1789666354000},"title":"Paket-Management"},{"name":"gemini-ignore","route":"/de/gemini-ignore","frontMatter":{"title":"Dateien ignorieren","filePath":"content/de/gemini-ignore.md","timestamp":1789666354000},"title":"Ignorier-Datei Konfiguration"},{"name":"integration-tests","route":"/de/integration-tests","frontMatter":{"title":"Integration Tests","filePath":"content/de/integration-tests.md","timestamp":1789666354000},"title":"Integrationstests"},{"name":"keyboard-shortcuts","route":"/de/keyboard-shortcuts","frontMatter":{"title":"Qwen Code Tastaturkürzel","filePath":"content/de/keyboard-shortcuts.md","timestamp":1789666354000},"title":"Tastaturkürzel"},{"name":"sandbox","route":"/de/sandbox","frontMatter":{"title":"Sandboxing in Qwen Code","filePath":"content/de/sandbox.md","timestamp":1789666354000},"title":"Sandbox-Mechanismus"},{"name":"issue-and-pr-automation","route":"/de/issue-and-pr-automation","frontMatter":{"title":"Automatisierung und Triage-Prozesse","filePath":"content/de/issue-and-pr-automation.md","timestamp":1789666354000},"title":"Automatisierte Behandlung"},{"name":"troubleshooting","route":"/de/troubleshooting","frontMatter":{"title":"Leitfaden zur Fehlerbehebung","filePath":"content/de/troubleshooting.md","timestamp":1789666354000},"title":"Fehlerbehebung"},{"name":"tos-privacy","route":"/de/tos-privacy","frontMatter":{"title":"Qwen Code: Allgemeine Geschäftsbedingungen und Datenschutzhinweise","filePath":"content/de/tos-privacy.md","timestamp":1789666354000},"title":"Nutzungsbedingungen & Datenschutz"},{"name":"Uninstall","route":"/de/Uninstall","frontMatter":{"title":"Deinstallieren der CLI","filePath":"content/de/Uninstall.md","timestamp":1789666354000},"title":"Deinstallations-Anleitung"},{"name":"subagents","route":"/de/subagents","frontMatter":{"title":"Subagents","filePath":"content/de/subagents.md","timestamp":1789666354000},"title":"Subagents"}],"navbar":["$","header",null,{"className":"nextra-navbar x:sticky x:top-0 x:z-30 x:w-full x:bg-transparent x:print:hidden x:max-md:[.nextra-banner:not([class$=hidden])~&]:top-(--nextra-banner-height)","children":[["$","div",null,{"className":"nextra-navbar-blur x:absolute x:-z-1 x:size-full nextra-border x:border-b x:backdrop-blur-md x:bg-nextra-bg/70"}],["$","nav",null,{"style":{"height":"var(--nextra-navbar-height)"},"className":"x:mx-auto x:flex x:max-w-(--nextra-content-width) x:items-center x:gap-4 x:pl-[max(env(safe-area-inset-left),1.5rem)] x:pr-[max(env(safe-area-inset-right),1.5rem)] x:justify-end","children":[["$","$L10",null,{"href":"/","className":"x:flex x:items-center x:me-auto x:transition-opacity x:focus-visible:nextra-focus x:hover:opacity-75","aria-label":"Home page","children":["$","span",null,{"className":"ms-2 select-none font-extrabold flex items-center","title":"Qwen Code: AI Coding Agent","children":[["$","img",null,{"src":"https://assets.alicdn.com/g/qwenweb/qwen-webui-fe/0.0.191/static/favicon.png","alt":"Qwen Code","width":32,"height":32,"className":"inline-block align-middle mr-2 ","style":{"verticalAlign":"middle"}}],["$","span",null,{"className":"text-[1.3rem] font-normal align-middle mr-1 max-md:hidden","children":"Qwen"}],["$","span",null,{"className":"text-[1.3rem] font-normal align-middle max-md:hidden","children":"Code"}]]}]}],["$","$L11",null,{"className":"","children":[["$","a",null,{"href":"https://github.com/QwenLM/qwen-code","target":"_blank","rel":"noreferrer","children":[["$","svg",null,{"fill":"currentColor","viewBox":"3 3 18 18","height":"24","aria-label":"Project repository","children":["$","path",null,{"d":"$12"}]}],false],"className":"x:focus-visible:nextra-focus"}],"$undefined",["$","$L13",null,{"currentLang":"de"}]]}]]}]]}],"footer":null,"children":[["$","$L14",null,{}],["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","$4","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]]}]]}]}]
2:["$","div",null,{"className":"x:mx-auto x:flex x:max-w-(--nextra-content-width)","sourceCode":"$undefined","children":["$","$L15",null,{"value":[{"value":"Beschreibung","id":"beschreibung","depth":2},{"value":"Argumente","id":"argumente","depth":3},{"value":[["$","$16",".0",{"children":["Verwendung von ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," mit Qwen Code"]}]],"id":"verwendung-von-run_shell_command-mit-qwen-code","depth":2},{"value":"Erforderlicher Background-Parameter","id":"erforderlicher-background-parameter","depth":3},{"value":"Background vs Foreground Execution","id":"background-vs-foreground-execution","depth":3},{"value":"Ausführungs-Informationen","id":"ausführungs-informationen","depth":3},{"value":[["$","$16",".0",{"children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," Beispiele"]}]],"id":"run_shell_command-beispiele","depth":2},{"value":"Wichtige Hinweise","id":"wichtige-hinweise","depth":2},{"value":"Umgebungsvariablen","id":"umgebungsvariablen","depth":2},{"value":"Command Restrictions","id":"command-restrictions","depth":2},{"value":"Beispiele für Befehlseinschränkungen","id":"beispiele-für-befehlseinschränkungen","depth":3},{"value":[["$","$16",".0",{"children":["Sicherheitshinweis für ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"excludeTools"}]]}]],"id":"sicherheitshinweis-für-excludetools","depth":2}],"children":[["$","$L17",null,{}],["$","$L18",null,{"metadata":{"title":"Shell Tool (run_shell_command)","filePath":"content/de/tools/shell.md","timestamp":1789666354000},"bottomContent":"$undefined","children":[["$","div",null,{"id":"nextra-skip-nav"}],["$","main",null,{"data-pagefind-body":true,"children":[["$","h1",null,{"id":"$undefined","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-bold x:mt-2 x:text-4xl","children":[["Shell Tool (",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}],")"],"$undefined"]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Dieses Dokument beschreibt das ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," Tool für Qwen Code."]}],"\n",["$","h2",null,{"id":"beschreibung","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-10 x:border-b x:pb-1 x:text-3xl nextra-border","children":["Beschreibung",["$","$L19",null,{"id":"beschreibung"}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Verwende ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}],", um mit dem zugrunde liegenden System zu interagieren, Skripte auszuführen oder command-line Operationen durchzuführen. ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," führt einen gegebenen Shell-Befehl aus. Unter Windows wird der Befehl mit ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"cmd.exe /c"}]," ausgeführt. Auf anderen Plattformen wird der Befehl mit ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"bash -c"}]," ausgeführt."]}],"\n",["$","h3",null,{"id":"argumente","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-8 x:text-2xl","children":["Argumente",["$","$L19",null,{"id":"argumente"}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," akzeptiert die folgenden Argumente:"]}],"\n",["$","ul",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-disc x:ms-[1.5em]","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"command"}]," (string, erforderlich): Der exakte Shell-Befehl, der ausgeführt werden soll."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"description"}]," (string, optional): Eine kurze Beschreibung des Zwecks des Befehls, die dem Benutzer angezeigt wird."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"directory"}]," (string, optional): Das Verzeichnis (relativ zum Projektstamm), in dem der Befehl ausgeführt werden soll. Wenn nicht angegeben, wird der Befehl im Projektstamm ausgeführt."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"is_background"}]," (boolean, erforderlich): Ob der Befehl im Hintergrund ausgeführt werden soll. Dieser Parameter ist erforderlich, um eine explizite Entscheidung über den Ausführungsmodus des Befehls zu gewährleisten. Auf ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"true"}]," setzen für langlaufende Prozesse wie Entwicklungsserver, Watcher oder Daemons, die weiterlaufen sollen, ohne weitere Befehle zu blockieren. Auf ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"false"}]," setzen für einmalige Befehle, die abgeschlossen werden müssen, bevor fortgefahren wird."]}],"\n"]}],"\n",["$","h2",null,{"id":"verwendung-von-run_shell_command-mit-qwen-code","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-10 x:border-b x:pb-1 x:text-3xl nextra-border","children":[["Verwendung von ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," mit Qwen Code"],["$","$L19",null,{"id":"verwendung-von-run_shell_command-mit-qwen-code"}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Bei der Verwendung von ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," wird der Befehl als Subprozess ausgeführt. Du kannst steuern, ob Befehle im Hintergrund oder Vordergrund laufen, indem du den Parameter ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"is_background"}]," verwendest oder explizit ein ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"&"}]," an die Befehle anhängst. Das Tool gibt detaillierte Informationen über die Ausführung zurück, darunter:"]}],"\n",["$","h3",null,{"id":"erforderlicher-background-parameter","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-8 x:text-2xl","children":["Erforderlicher Background-Parameter",["$","$L19",null,{"id":"erforderlicher-background-parameter"}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Der Parameter ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"is_background"}]," ist ",["$","strong",null,{"children":"erforderlich"}]," für alle Befehlsausführungen. Dieses Design stellt sicher, dass das LLM (und die Benutzer) explizit entscheiden müssen, ob jeder Befehl im Hintergrund oder Vordergrund ausgeführt werden soll. Dadurch wird ein bewusstes und vorhersehbares Verhalten bei der Befehlsausführung gefördert. Durch die obligatorische Angabe dieses Parameters wird vermieden, dass unbeabsichtigt auf die Vordergrundausführung zurückgegriffen wird, was bei lang laufenden Prozessen nachfolgende Operationen blockieren könnte."]}],"\n",["$","h3",null,{"id":"background-vs-foreground-execution","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-8 x:text-2xl","children":["Background vs Foreground Execution",["$","$L19",null,{"id":"background-vs-foreground-execution"}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":"Das Tool behandelt Background- und Foreground-Ausführung intelligent basierend auf deiner expliziten Auswahl:"}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["$","strong",null,{"children":["Verwende Background-Ausführung (",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"is_background: true"}],") für:"]}]}],"\n",["$","ul",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-disc x:ms-[1.5em]","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":["Langlaufende Development-Server: ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"npm run start"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"npm run dev"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"yarn dev"}]]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":["Build-Watcher: ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"npm run watch"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"webpack --watch"}]]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":["Datenbank-Server: ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"mongod"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"mysql"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"redis-server"}]]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":["Web-Server: ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"python -m http.server"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"php -S localhost:8000"}]]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":"Jeder Befehl, der unbestimmt lange läuft, bis er manuell gestoppt wird"}],"\n"]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["$","strong",null,{"children":["Verwende Foreground-Ausführung (",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"is_background: false"}],") für:"]}]}],"\n",["$","ul",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-disc x:ms-[1.5em]","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":["Einmalige Befehle: ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"ls"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"cat"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"grep"}]]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":["Build-Befehle: ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"npm run build"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"make"}]]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":["Installationsbefehle: ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"npm install"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"pip install"}]]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":["Git-Operationen: ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"git commit"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"git push"}]]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":["Testläufe: ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"npm test"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"pytest"}]]}],"\n"]}],"\n",["$","h3",null,{"id":"ausführungs-informationen","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-8 x:text-2xl","children":["Ausführungs-Informationen",["$","$L19",null,{"id":"ausführungs-informationen"}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":"Das Tool gibt detaillierte Informationen über die Ausführung zurück, darunter:"}],"\n",["$","ul",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-disc x:ms-[1.5em]","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Command"}],": Der Befehl, der ausgeführt wurde."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Directory"}],": Das Verzeichnis, in dem der Befehl ausgeführt wurde."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Stdout"}],": Ausgabe des Standard-Ausgabestreams."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Stderr"}],": Ausgabe des Standard-Fehlerstreams."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Error"}],": Jegliche Fehlermeldung, die vom Subprozess gemeldet wurde."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Exit Code"}],": Der Exit-Code des Befehls."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Signal"}],": Die Signalnummer, falls der Befehl durch ein Signal beendet wurde."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Background PIDs"}],": Eine Liste der PIDs für alle gestarteten Hintergrundprozesse."]}],"\n"]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":"Verwendung:"}],"\n",["$","div",null,{"data-pagefind-ignore":"all","className":"nextra-code x:relative x:not-first:mt-[1.25em]","children":["$undefined",["$","pre",null,{"className":"x:group x:focus-visible:nextra-focus x:overflow-x-auto x:subpixel-antialiased x:text-[.9em] x:bg-white x:dark:bg-black x:py-4 x:ring-1 x:ring-inset x:ring-gray-300 x:dark:ring-neutral-700 x:contrast-more:ring-gray-900 x:contrast-more:dark:ring-gray-50 x:contrast-more:contrast-150 x:rounded-md not-prose","tabIndex":"0","children":[["$","div",null,{"className":"x:group-hover:opacity-100 x:group-focus:opacity-100 x:opacity-0 x:transition x:focus-within:opacity-100 x:flex x:gap-1 x:absolute x:right-4 x:top-2","children":[["$","$L1a",null,{"children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"currentColor","height":"1em","children":["$","path",null,{"d":"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}]}]}],false]}],["$","code",null,{"className":"nextra-code","dir":"ltr","children":["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"run_shell_command(command"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"="}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"\"Your commands.\""}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" description=\"Your description of the command.\","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" directory=\"Your execution directory.\","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" is_background="}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":"false"}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":")"}]]}]}]]}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":[["$","strong",null,{"children":"Hinweis:"}]," Der Parameter ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"is_background"}]," ist erforderlich und muss für jede Befehlsausführung explizit angegeben werden."]}],"\n",["$","h2",null,{"id":"run_shell_command-beispiele","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-10 x:border-b x:pb-1 x:text-3xl nextra-border","children":[[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," Beispiele"],["$","$L19",null,{"id":"run_shell_command-beispiele"}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":"Dateien im aktuellen Verzeichnis auflisten:"}],"\n",["$","div",null,{"data-pagefind-ignore":"all","className":"nextra-code x:relative x:not-first:mt-[1.25em]","children":["$undefined",["$","pre",null,{"className":"x:group x:focus-visible:nextra-focus x:overflow-x-auto x:subpixel-antialiased x:text-[.9em] x:bg-white x:dark:bg-black x:py-4 x:ring-1 x:ring-inset x:ring-gray-300 x:dark:ring-neutral-700 x:contrast-more:ring-gray-900 x:contrast-more:dark:ring-gray-50 x:contrast-more:contrast-150 x:rounded-md not-prose","tabIndex":"0","children":[["$","div",null,{"className":"x:group-hover:opacity-100 x:group-focus:opacity-100 x:opacity-0 x:transition x:focus-within:opacity-100 x:flex x:gap-1 x:absolute x:right-4 x:top-2","children":[["$","$L1a",null,{"children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"currentColor","height":"1em","children":["$","path",null,{"d":"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}]}]}],false]}],["$","code",null,{"className":"nextra-code","dir":"ltr","children":["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"run_shell_command(command"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"="}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"\"ls -la\""}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" is_background="}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":"false"}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":")"}]]}]}]]}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":"Ein Skript in einem bestimmten Verzeichnis ausführen:"}],"\n",["$","div",null,{"data-pagefind-ignore":"all","className":"nextra-code x:relative x:not-first:mt-[1.25em]","children":["$undefined",["$","pre",null,{"className":"x:group x:focus-visible:nextra-focus x:overflow-x-auto x:subpixel-antialiased x:text-[.9em] x:bg-white x:dark:bg-black x:py-4 x:ring-1 x:ring-inset x:ring-gray-300 x:dark:ring-neutral-700 x:contrast-more:ring-gray-900 x:contrast-more:dark:ring-gray-50 x:contrast-more:contrast-150 x:rounded-md not-prose","tabIndex":"0","children":[["$","div",null,{"className":"x:group-hover:opacity-100 x:group-focus:opacity-100 x:opacity-0 x:transition x:focus-within:opacity-100 x:flex x:gap-1 x:absolute x:right-4 x:top-2","children":[["$","$L1a",null,{"children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"currentColor","height":"1em","children":["$","path",null,{"d":"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}]}]}],false]}],["$","code",null,{"className":"nextra-code","dir":"ltr","children":["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"run_shell_command(command"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"="}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"\"./my_script.sh\""}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" directory=\"scripts\","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" description=\"Run my custom script\","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" is_background="}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":"false"}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":")"}]]}]}]]}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":"Einen Development-Server im Hintergrund starten (empfohlener Ansatz):"}],"\n",["$","div",null,{"data-pagefind-ignore":"all","className":"nextra-code x:relative x:not-first:mt-[1.25em]","children":["$undefined",["$","pre",null,{"className":"x:group x:focus-visible:nextra-focus x:overflow-x-auto x:subpixel-antialiased x:text-[.9em] x:bg-white x:dark:bg-black x:py-4 x:ring-1 x:ring-inset x:ring-gray-300 x:dark:ring-neutral-700 x:contrast-more:ring-gray-900 x:contrast-more:dark:ring-gray-50 x:contrast-more:contrast-150 x:rounded-md not-prose","tabIndex":"0","children":[["$","div",null,{"className":"x:group-hover:opacity-100 x:group-focus:opacity-100 x:opacity-0 x:transition x:focus-within:opacity-100 x:flex x:gap-1 x:absolute x:right-4 x:top-2","children":[["$","$L1a",null,{"children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"currentColor","height":"1em","children":["$","path",null,{"d":"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}]}]}],false]}],["$","code",null,{"className":"nextra-code","dir":"ltr","children":["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"run_shell_command(command"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"="}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"\"npm run dev\""}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" description=\"Start development server in background\","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" is_background="}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":"true"}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":")"}]]}]}]]}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":"Einen Server im Hintergrund starten (Alternative mit explizitem &):"}],"\n",["$","div",null,{"data-pagefind-ignore":"all","className":"nextra-code x:relative x:not-first:mt-[1.25em]","children":["$undefined",["$","pre",null,{"className":"x:group x:focus-visible:nextra-focus x:overflow-x-auto x:subpixel-antialiased x:text-[.9em] x:bg-white x:dark:bg-black x:py-4 x:ring-1 x:ring-inset x:ring-gray-300 x:dark:ring-neutral-700 x:contrast-more:ring-gray-900 x:contrast-more:dark:ring-gray-50 x:contrast-more:contrast-150 x:rounded-md not-prose","tabIndex":"0","children":[["$","div",null,{"className":"x:group-hover:opacity-100 x:group-focus:opacity-100 x:opacity-0 x:transition x:focus-within:opacity-100 x:flex x:gap-1 x:absolute x:right-4 x:top-2","children":[["$","$L1a",null,{"children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"currentColor","height":"1em","children":["$","path",null,{"d":"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}]}]}],false]}],["$","code",null,{"className":"nextra-code","dir":"ltr","children":["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"run_shell_command(command"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"="}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"\"npm run dev &\""}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" description=\"Start development server in background\","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" is_background="}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":"false"}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":")"}]]}]}]]}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":"Einen Build-Befehl im Vordergrund ausführen:"}],"\n",["$","div",null,{"data-pagefind-ignore":"all","className":"nextra-code x:relative x:not-first:mt-[1.25em]","children":["$undefined",["$","pre",null,{"className":"x:group x:focus-visible:nextra-focus x:overflow-x-auto x:subpixel-antialiased x:text-[.9em] x:bg-white x:dark:bg-black x:py-4 x:ring-1 x:ring-inset x:ring-gray-300 x:dark:ring-neutral-700 x:contrast-more:ring-gray-900 x:contrast-more:dark:ring-gray-50 x:contrast-more:contrast-150 x:rounded-md not-prose","tabIndex":"0","children":[["$","div",null,{"className":"x:group-hover:opacity-100 x:group-focus:opacity-100 x:opacity-0 x:transition x:focus-within:opacity-100 x:flex x:gap-1 x:absolute x:right-4 x:top-2","children":[["$","$L1a",null,{"children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"currentColor","height":"1em","children":["$","path",null,{"d":"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}]}]}],false]}],["$","code",null,{"className":"nextra-code","dir":"ltr","children":["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"run_shell_command(command"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"="}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"\"npm run build\""}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" description=\"Build the project\","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" is_background="}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":"false"}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":")"}]]}]}]]}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":"Mehrere Services im Hintergrund starten:"}],"\n",["$","div",null,{"data-pagefind-ignore":"all","className":"nextra-code x:relative x:not-first:mt-[1.25em]","children":["$undefined",["$","pre",null,{"className":"x:group x:focus-visible:nextra-focus x:overflow-x-auto x:subpixel-antialiased x:text-[.9em] x:bg-white x:dark:bg-black x:py-4 x:ring-1 x:ring-inset x:ring-gray-300 x:dark:ring-neutral-700 x:contrast-more:ring-gray-900 x:contrast-more:dark:ring-gray-50 x:contrast-more:contrast-150 x:rounded-md not-prose","tabIndex":"0","children":[["$","div",null,{"className":"x:group-hover:opacity-100 x:group-focus:opacity-100 x:opacity-0 x:transition x:focus-within:opacity-100 x:flex x:gap-1 x:absolute x:right-4 x:top-2","children":[["$","$L1a",null,{"children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"currentColor","height":"1em","children":["$","path",null,{"d":"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}]}]}],false]}],["$","code",null,{"className":"nextra-code","dir":"ltr","children":["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"run_shell_command(command"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"="}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"\"docker-compose up\""}],["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" description=\"Start all services\","}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" is_background="}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":"true"}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":")"}]]}]}]]}]]}],"\n",["$","h2",null,{"id":"wichtige-hinweise","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-10 x:border-b x:pb-1 x:text-3xl nextra-border","children":["Wichtige Hinweise",["$","$L19",null,{"id":"wichtige-hinweise"}]]}],"\n",["$","ul",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-disc x:ms-[1.5em]","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","strong",null,{"children":"Sicherheit:"}]," Sei vorsichtig beim Ausführen von Befehlen, besonders solchen, die aus Benutzereingaben zusammengesetzt werden, um Sicherheitslücken zu vermeiden."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","strong",null,{"children":"Interaktive Befehle:"}]," Vermeide Befehle, die eine interaktive Benutzereingabe erfordern, da dies dazu führen kann, dass das Tool hängen bleibt. Verwende nach Möglichkeit nicht-interaktive Flags (z. B. ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"npm init -y"}],")."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","strong",null,{"children":"Fehlerbehandlung:"}]," Prüfe die Felder ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Stderr"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Error"}]," und ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Exit Code"}],", um festzustellen, ob ein Befehl erfolgreich ausgeführt wurde."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","strong",null,{"children":"Hintergrundprozesse:"}]," Wenn ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"is_background=true"}]," ist oder wenn ein Befehl ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"&"}]," enthält, kehrt das Tool sofort zurück und der Prozess läuft im Hintergrund weiter. Das Feld ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"Background PIDs"}]," enthält die Prozess-ID des Hintergrundprozesses."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","strong",null,{"children":"Auswahl der Hintergrundausführung:"}]," Der Parameter ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"is_background"}]," ist erforderlich und bietet explizite Kontrolle über den Ausführungsmodus. Du kannst auch ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"&"}]," zum Befehl hinzufügen, um die manuelle Hintergrundausführung zu erzwingen, aber der Parameter ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"is_background"}]," muss dennoch angegeben werden. Der Parameter macht die Absicht klarer und übernimmt automatisch das Setup für die Hintergrundausführung."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","strong",null,{"children":"Befehlsbeschreibungen:"}]," Bei Verwendung von ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"is_background=true"}]," enthält die Befehlsbeschreibung einen ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"[background]"}],"-Hinweis, um den Ausführungsmodus klar zu kennzeichnen."]}],"\n"]}],"\n",["$","h2",null,{"id":"umgebungsvariablen","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-10 x:border-b x:pb-1 x:text-3xl nextra-border","children":["Umgebungsvariablen",["$","$L19",null,{"id":"umgebungsvariablen"}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Wenn ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," einen Befehl ausführt, setzt es die Umgebungsvariable ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"QWEN_CODE=1"}]," in der Umgebung des Subprozesses. Dies ermöglicht es Skripten oder Tools zu erkennen, ob sie aus der CLI heraus ausgeführt werden."]}],"\n",["$","h2",null,{"id":"command-restrictions","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-10 x:border-b x:pb-1 x:text-3xl nextra-border","children":["Command Restrictions",["$","$L19",null,{"id":"command-restrictions"}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Du kannst die Befehle, die vom ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," Tool ausgeführt werden dürfen, mithilfe der Einstellungen ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"coreTools"}]," und ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"excludeTools"}]," in deiner Konfigurationsdatei einschränken."]}],"\n",["$","ul",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-disc x:ms-[1.5em]","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"coreTools"}],": Um ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," auf eine bestimmte Menge an Befehlen zu beschränken, füge Einträge im Format ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command(<command>)"}]," zur ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"coreTools"}]," Liste hinzu. Beispiel: ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"\"coreTools\": [\"run_shell_command(git)\"]"}]," erlaubt ausschließlich ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"git"}]," Befehle. Der generische Eintrag ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," ohne Angabe eines konkreten Befehls wirkt wie ein Wildcard und erlaubt alle Befehle, die nicht explizit blockiert sind."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"excludeTools"}],": Um bestimmte Befehle zu blockieren, füge Einträge im Format ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command(<command>)"}]," zur ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"excludeTools"}]," Liste hinzu. Beispiel: ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"\"excludeTools\": [\"run_shell_command(rm)\"]"}]," blockiert jegliche ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"rm"}]," Befehle."]}],"\n"]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":"Die Validierungslogik ist sicher und flexibel gestaltet:"}],"\n",["$","ol",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-decimal x:ms-6","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","strong",null,{"children":"Command Chaining deaktiviert"}],": Das Tool trennt automatisch verkettete Befehle, die mit ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"&&"}],", ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"||"}]," oder ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":";"}]," verbunden sind, und validiert jeden Teil separat. Wenn ein Teil der Kette nicht erlaubt ist, wird der gesamte Befehl blockiert."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","strong",null,{"children":"Präfix-basiertes Matching"}],": Das Tool verwendet Präfix-Vergleiche. Wenn du beispielsweise ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"git"}]," erlaubst, kannst du auch ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"git status"}]," oder ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"git log"}]," ausführen."]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","strong",null,{"children":"Blocklist hat Vorrang"}],": Die ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"excludeTools"}]," Liste wird immer zuerst überprüft. Wenn ein Befehl einem blockierten Präfix entspricht, wird er abgelehnt – selbst dann, wenn er gleichzeitig einem erlaubten Präfix aus ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"coreTools"}]," entspricht."]}],"\n"]}],"\n",["$","h3",null,{"id":"beispiele-für-befehlseinschränkungen","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-8 x:text-2xl","children":["Beispiele für Befehlseinschränkungen",["$","$L19",null,{"id":"beispiele-für-befehlseinschränkungen"}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["$","strong",null,{"children":"Nur bestimmte Befehlspräfixe erlauben"}]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Um nur ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"git"}],"- und ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"npm"}],"-Befehle zu erlauben und alle anderen zu blockieren:"]}],"\n",["$","div",null,{"data-pagefind-ignore":"all","className":"nextra-code x:relative x:not-first:mt-[1.25em]","children":["$undefined",["$","pre",null,{"className":"x:group x:focus-visible:nextra-focus x:overflow-x-auto x:subpixel-antialiased x:text-[.9em] x:bg-white x:dark:bg-black x:py-4 x:ring-1 x:ring-inset x:ring-gray-300 x:dark:ring-neutral-700 x:contrast-more:ring-gray-900 x:contrast-more:dark:ring-gray-50 x:contrast-more:contrast-150 x:rounded-md not-prose","tabIndex":"0","children":[["$","div",null,{"className":"x:group-hover:opacity-100 x:group-focus:opacity-100 x:opacity-0 x:transition x:focus-within:opacity-100 x:flex x:gap-1 x:absolute x:right-4 x:top-2","children":[["$","$L1a",null,{"children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"currentColor","height":"1em","children":["$","path",null,{"d":"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}]}]}],false]}],["$","code",null,{"className":"nextra-code","dir":"ltr","children":[["$","span",null,{"children":["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"{"}]}],"\n",["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" \"coreTools\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":": ["}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"\"run_shell_command(git)\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":", "}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"\"run_shell_command(npm)\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"]"}]]}],"\n",["$","span",null,{"children":["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"}"}]}]]}]]}]]}],"\n",["$","ul",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-disc x:ms-[1.5em]","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"git status"}],": Erlaubt"]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"npm install"}],": Erlaubt"]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"ls -l"}],": Blockiert"]}],"\n"]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["$","strong",null,{"children":"Bestimmte Befehlspräfixe blockieren"}]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Um ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"rm"}]," zu blockieren und alle anderen Befehle zu erlauben:"]}],"\n",["$","div",null,{"data-pagefind-ignore":"all","className":"nextra-code x:relative x:not-first:mt-[1.25em]","children":["$undefined",["$","pre",null,{"className":"x:group x:focus-visible:nextra-focus x:overflow-x-auto x:subpixel-antialiased x:text-[.9em] x:bg-white x:dark:bg-black x:py-4 x:ring-1 x:ring-inset x:ring-gray-300 x:dark:ring-neutral-700 x:contrast-more:ring-gray-900 x:contrast-more:dark:ring-gray-50 x:contrast-more:contrast-150 x:rounded-md not-prose","tabIndex":"0","children":[["$","div",null,{"className":"x:group-hover:opacity-100 x:group-focus:opacity-100 x:opacity-0 x:transition x:focus-within:opacity-100 x:flex x:gap-1 x:absolute x:right-4 x:top-2","children":[["$","$L1a",null,{"children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"currentColor","height":"1em","children":["$","path",null,{"d":"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}]}]}],false]}],["$","code",null,{"className":"nextra-code","dir":"ltr","children":[["$","span",null,{"children":["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"{"}]}],"\n",["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" \"coreTools\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":": ["}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"\"run_shell_command\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"],"}]]}],"\n",["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" \"excludeTools\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":": ["}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"\"run_shell_command(rm)\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"]"}]]}],"\n",["$","span",null,{"children":["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"}"}]}]]}]]}]]}],"\n",["$","ul",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-disc x:ms-[1.5em]","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"rm -rf /"}],": Blockiert"]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"git status"}],": Erlaubt"]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"npm install"}],": Erlaubt"]}],"\n"]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["$","strong",null,{"children":"Blocklist hat Vorrang"}]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Wenn ein Befehlspräfix sowohl in ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"coreTools"}]," als auch in ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"excludeTools"}]," enthalten ist, wird es blockiert."]}],"\n",["$","div",null,{"data-pagefind-ignore":"all","className":"nextra-code x:relative x:not-first:mt-[1.25em]","children":["$undefined",["$","pre",null,{"className":"x:group x:focus-visible:nextra-focus x:overflow-x-auto x:subpixel-antialiased x:text-[.9em] x:bg-white x:dark:bg-black x:py-4 x:ring-1 x:ring-inset x:ring-gray-300 x:dark:ring-neutral-700 x:contrast-more:ring-gray-900 x:contrast-more:dark:ring-gray-50 x:contrast-more:contrast-150 x:rounded-md not-prose","tabIndex":"0","children":[["$","div",null,{"className":"x:group-hover:opacity-100 x:group-focus:opacity-100 x:opacity-0 x:transition x:focus-within:opacity-100 x:flex x:gap-1 x:absolute x:right-4 x:top-2","children":[["$","$L1a",null,{"children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"currentColor","height":"1em","children":["$","path",null,{"d":"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}]}]}],false]}],["$","code",null,{"className":"nextra-code","dir":"ltr","children":[["$","span",null,{"children":["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"{"}]}],"\n",["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" \"coreTools\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":": ["}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"\"run_shell_command(git)\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"],"}]]}],"\n",["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" \"excludeTools\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":": ["}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"\"run_shell_command(git push)\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"]"}]]}],"\n",["$","span",null,{"children":["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"}"}]}]]}]]}]]}],"\n",["$","ul",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-disc x:ms-[1.5em]","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"git push origin main"}],": Blockiert"]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"git status"}],": Erlaubt"]}],"\n"]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["$","strong",null,{"children":"Alle Shell-Befehle blockieren"}]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Um alle Shell-Befehle zu blockieren, füge den ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," Wildcard zu ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"excludeTools"}]," hinzu:"]}],"\n",["$","div",null,{"data-pagefind-ignore":"all","className":"nextra-code x:relative x:not-first:mt-[1.25em]","children":["$undefined",["$","pre",null,{"className":"x:group x:focus-visible:nextra-focus x:overflow-x-auto x:subpixel-antialiased x:text-[.9em] x:bg-white x:dark:bg-black x:py-4 x:ring-1 x:ring-inset x:ring-gray-300 x:dark:ring-neutral-700 x:contrast-more:ring-gray-900 x:contrast-more:dark:ring-gray-50 x:contrast-more:contrast-150 x:rounded-md not-prose","tabIndex":"0","children":[["$","div",null,{"className":"x:group-hover:opacity-100 x:group-focus:opacity-100 x:opacity-0 x:transition x:focus-within:opacity-100 x:flex x:gap-1 x:absolute x:right-4 x:top-2","children":[["$","$L1a",null,{"children":["$","svg",null,{"viewBox":"0 0 24 24","fill":"currentColor","height":"1em","children":["$","path",null,{"d":"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"}]}]}],false]}],["$","code",null,{"className":"nextra-code","dir":"ltr","children":[["$","span",null,{"children":["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"{"}]}],"\n",["$","span",null,{"children":[["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" \"excludeTools\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":": ["}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":"\"run_shell_command\""}],["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"]"}]]}],"\n",["$","span",null,{"children":["$","span",null,{"style":{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"},"children":"}"}]}]]}]]}]]}],"\n",["$","ul",null,{"className":"x:[:is(ol,ul)_&]:my-[.75em] x:not-first:mt-[1.25em] x:list-disc x:ms-[1.5em]","children":["\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"ls -l"}],": Blockiert"]}],"\n",["$","li",null,{"className":"x:my-[.5em]","children":[["$","code",null,{"className":"nextra-code","dir":"ltr","children":"any other command"}],": Blockiert"]}],"\n"]}],"\n",["$","h2",null,{"id":"sicherheitshinweis-für-excludetools","className":"x:tracking-tight x:text-slate-900 x:dark:text-slate-100 x:font-semibold x:target:animate-[fade-in_1.5s] x:mt-10 x:border-b x:pb-1 x:text-3xl nextra-border","children":[["Sicherheitshinweis für ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"excludeTools"}]],["$","$L19",null,{"id":"sicherheitshinweis-für-excludetools"}]]}],"\n",["$","p",null,{"className":"x:not-first:mt-[1.25em] x:leading-7","children":["Befehlsspezifische Einschränkungen in ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"excludeTools"}]," für ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"run_shell_command"}]," basieren auf einfacher String-Matching und können leicht umgangen werden. Diese Funktion ist ",["$","strong",null,{"children":"kein Sicherheitsmechanismus"}]," und sollte nicht darauf verlassen werden, um nicht vertrauenswürdigen Code sicher auszuführen. Es wird empfohlen, ",["$","code",null,{"className":"nextra-code","dir":"ltr","children":"coreTools"}]," zu verwenden, um explizit die Befehle auszuwählen, die ausgeführt werden dürfen."]}]]}]]}]]}]}]
9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Shell Tool (run_shell_command) | "}],["$","meta","3",{"name":"description","content":"x"}],["$","meta","4",{"name":"msapplication-TileColor","content":"#fff"}],["$","meta","5",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","6",{"name":"apple-mobile-web-app-title","content":"Qwen Code"}],["$","meta","7",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","8",{"property":"og:title","content":"Shell Tool (run_shell_command) | "}],["$","meta","9",{"property":"og:description","content":"x"}],["$","meta","10",{"property":"og:image","content":"https://assets.vercel.com/image/upload/v1572282926/swr/twitter-card.jpg"}],["$","meta","11",{"name":"twitter:card","content":"summary"}],["$","meta","12",{"name":"twitter:site","content":"@qwenLLM"}],["$","meta","13",{"name":"twitter:title","content":"Shell Tool (run_shell_command) | "}],["$","meta","14",{"name":"twitter:description","content":"x"}],["$","meta","15",{"name":"twitter:image","content":"https://assets.vercel.com/image/upload/v1572282926/swr/twitter-card.jpg"}]]
1:null