[{"data":1,"prerenderedAt":271},["ShallowReactive",2],{"doc-features\u002Fpragma-input":3,"content-query-qV7CAyXbD8":4},null,{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"body":11,"_type":265,"_id":266,"_source":267,"_file":268,"_stem":269,"_extension":270},"\u002Fdocs\u002Ffeatures\u002Fpragma-input","features",false,"","Pragma Input","Use the intelligent command input for command suggestions, natural language commands, completions, and corrections.",{"type":12,"children":13,"toc":257},"root",[14,22,28,33,40,45,85,91,96,116,121,151,156,170,175,181,186,224,229,235,240,246,251],{"type":15,"tag":16,"props":17,"children":19},"element","h1",{"id":18},"pragma-input",[20],{"type":21,"value":9},"text",{"type":15,"tag":23,"props":24,"children":25},"p",{},[26],{"type":21,"value":27},"Pragma Input is the command area where terminal commands, AI prompts, and contextual suggestions meet.",{"type":15,"tag":23,"props":29,"children":30},{},[31],{"type":21,"value":32},"It helps users move faster without remembering every command exactly.",{"type":15,"tag":34,"props":35,"children":37},"h2",{"id":36},"what-it-does",[38],{"type":21,"value":39},"What It Does",{"type":15,"tag":23,"props":41,"children":42},{},[43],{"type":21,"value":44},"Pragma Input can help with:",{"type":15,"tag":46,"props":47,"children":48},"ul",{},[49,55,60,65,70,75,80],{"type":15,"tag":50,"props":51,"children":52},"li",{},[53],{"type":21,"value":54},"Shell completions.",{"type":15,"tag":50,"props":56,"children":57},{},[58],{"type":21,"value":59},"Command suggestions.",{"type":15,"tag":50,"props":61,"children":62},{},[63],{"type":21,"value":64},"Natural language command detection.",{"type":15,"tag":50,"props":66,"children":67},{},[68],{"type":21,"value":69},"Fixing failed commands.",{"type":15,"tag":50,"props":71,"children":72},{},[73],{"type":21,"value":74},"Sending prompts to the AI agent.",{"type":15,"tag":50,"props":76,"children":77},{},[78],{"type":21,"value":79},"Adding files or context to an agent request.",{"type":15,"tag":50,"props":81,"children":82},{},[83],{"type":21,"value":84},"Searching commands, files, and workflows.",{"type":15,"tag":34,"props":86,"children":88},{"id":87},"example-uses",[89],{"type":21,"value":90},"Example Uses",{"type":15,"tag":23,"props":92,"children":93},{},[94],{"type":21,"value":95},"Instead of remembering the exact command, a user can type:",{"type":15,"tag":97,"props":98,"children":101},"pre",{"className":99,"code":100,"language":21,"meta":8,"style":8},"language-text shiki shiki-themes github-dark","show all modified files\n",[102],{"type":15,"tag":103,"props":104,"children":105},"code",{"__ignoreMap":8},[106],{"type":15,"tag":107,"props":108,"children":111},"span",{"class":109,"line":110},"line",1,[112],{"type":15,"tag":107,"props":113,"children":114},{},[115],{"type":21,"value":100},{"type":15,"tag":23,"props":117,"children":118},{},[119],{"type":21,"value":120},"Pragma can suggest:",{"type":15,"tag":97,"props":122,"children":126},{"className":123,"code":124,"language":125,"meta":8,"style":8},"language-bash shiki shiki-themes github-dark","git status --short\n","bash",[127],{"type":15,"tag":103,"props":128,"children":129},{"__ignoreMap":8},[130],{"type":15,"tag":107,"props":131,"children":132},{"class":109,"line":110},[133,139,145],{"type":15,"tag":107,"props":134,"children":136},{"style":135},"--shiki-default:#B392F0",[137],{"type":21,"value":138},"git",{"type":15,"tag":107,"props":140,"children":142},{"style":141},"--shiki-default:#9ECBFF",[143],{"type":21,"value":144}," status",{"type":15,"tag":107,"props":146,"children":148},{"style":147},"--shiki-default:#79B8FF",[149],{"type":21,"value":150}," --short\n",{"type":15,"tag":23,"props":152,"children":153},{},[154],{"type":21,"value":155},"Or the user can type:",{"type":15,"tag":97,"props":157,"children":159},{"className":99,"code":158,"language":21,"meta":8,"style":8},"run the frontend tests\n",[160],{"type":15,"tag":103,"props":161,"children":162},{"__ignoreMap":8},[163],{"type":15,"tag":107,"props":164,"children":165},{"class":109,"line":110},[166],{"type":15,"tag":107,"props":167,"children":168},{},[169],{"type":21,"value":158},{"type":15,"tag":23,"props":171,"children":172},{},[173],{"type":21,"value":174},"Pragma can inspect the project and suggest the correct local test command.",{"type":15,"tag":34,"props":176,"children":178},{"id":177},"context-aware-suggestions",[179],{"type":21,"value":180},"Context-Aware Suggestions",{"type":15,"tag":23,"props":182,"children":183},{},[184],{"type":21,"value":185},"The input can use:",{"type":15,"tag":46,"props":187,"children":188},{},[189,194,199,204,209,214,219],{"type":15,"tag":50,"props":190,"children":191},{},[192],{"type":21,"value":193},"Current directory.",{"type":15,"tag":50,"props":195,"children":196},{},[197],{"type":21,"value":198},"Open project.",{"type":15,"tag":50,"props":200,"children":201},{},[202],{"type":21,"value":203},"Shell type.",{"type":15,"tag":50,"props":205,"children":206},{},[207],{"type":21,"value":208},"Recent commands.",{"type":15,"tag":50,"props":210,"children":211},{},[212],{"type":21,"value":213},"File names.",{"type":15,"tag":50,"props":215,"children":216},{},[217],{"type":21,"value":218},"Workflows.",{"type":15,"tag":50,"props":220,"children":221},{},[222],{"type":21,"value":223},"Agent conversation context.",{"type":15,"tag":23,"props":225,"children":226},{},[227],{"type":21,"value":228},"That means suggestions should be more useful than a generic command autocomplete.",{"type":15,"tag":34,"props":230,"children":232},{"id":231},"command-correction",[233],{"type":21,"value":234},"Command Correction",{"type":15,"tag":23,"props":236,"children":237},{},[238],{"type":21,"value":239},"When a command fails, Pragma can help explain the failure and suggest a corrected command. This is useful for missing flags, wrong file paths, dependency issues, or common Git mistakes.",{"type":15,"tag":34,"props":241,"children":243},{"id":242},"user-control",[244],{"type":21,"value":245},"User Control",{"type":15,"tag":23,"props":247,"children":248},{},[249],{"type":21,"value":250},"The user should always be able to decide whether a suggested command is inserted, edited, or executed.",{"type":15,"tag":252,"props":253,"children":254},"style",{},[255],{"type":21,"value":256},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":8,"searchDepth":258,"depth":258,"links":259},2,[260,261,262,263,264],{"id":36,"depth":258,"text":39},{"id":87,"depth":258,"text":90},{"id":177,"depth":258,"text":180},{"id":231,"depth":258,"text":234},{"id":242,"depth":258,"text":245},"markdown","content:docs:features:pragma-input.md","content","docs\u002Ffeatures\u002Fpragma-input.md","docs\u002Ffeatures\u002Fpragma-input","md",1786114917561]