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