Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. AI ACP Server Codex template can read and write outside my project dir in Linux
Qt 6.11 is out! See what's new in the release blog

AI ACP Server Codex template can read and write outside my project dir in Linux

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 125 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Pete CarterP Offline
    Pete CarterP Offline
    Pete Carter
    wrote last edited by Pete Carter
    #1

    Hi, i am using CachyOS Linux, Arch based

    Installed qtcreator using:
    sudo pacman -S qtcreator

    Wanted to try using AI in my project

    I have a ChatGPT Plus plan

    Went to Settings > AI > ACP Servers

    Added the template Codex 1.13.1

    There is a hint under the Template setting saying:
    npx @agentclientprotocol/codex-acp@1.13.1

    When i click on Show Agentic AI Chat in Side Panel and i login or authenticate using the browser to chatgpt, i can chat normally

    BUT the AI can see and write to files outside my project dir

    Furthermore when i set the Mode to Ask For Approval it reverts back to Approve for me when i restart qtcreator

    This is dangerous, any idea how to fix that ?
    I want the AI to only access my project folder, i want to only ask it question, i don't want it to edit anything or see anything outside my project dir

    Pete CarterP 1 Reply Last reply
    0
    • Nils SjobergN Offline
      Nils SjobergN Offline
      Nils Sjoberg
      wrote last edited by
      #2

      תעטוף את הפקודה npx @agentclientprotocol/codex-acp@1.13.1 בסנדבוקס ברמת מערכת ההפעלה (כמו bwrap או firejail)

      "What's up, Doc?"

      Pete CarterP 1 Reply Last reply
      0
      • Pete CarterP Pete Carter

        Hi, i am using CachyOS Linux, Arch based

        Installed qtcreator using:
        sudo pacman -S qtcreator

        Wanted to try using AI in my project

        I have a ChatGPT Plus plan

        Went to Settings > AI > ACP Servers

        Added the template Codex 1.13.1

        There is a hint under the Template setting saying:
        npx @agentclientprotocol/codex-acp@1.13.1

        When i click on Show Agentic AI Chat in Side Panel and i login or authenticate using the browser to chatgpt, i can chat normally

        BUT the AI can see and write to files outside my project dir

        Furthermore when i set the Mode to Ask For Approval it reverts back to Approve for me when i restart qtcreator

        This is dangerous, any idea how to fix that ?
        I want the AI to only access my project folder, i want to only ask it question, i don't want it to edit anything or see anything outside my project dir

        Pete CarterP Offline
        Pete CarterP Offline
        Pete Carter
        wrote last edited by
        #3

        For now i am using https://opencode.ai/ in a separate terminal window and it prevents reads and writes outside my working dir by default

        1 Reply Last reply
        0
        • Nils SjobergN Nils Sjoberg

          תעטוף את הפקודה npx @agentclientprotocol/codex-acp@1.13.1 בסנדבוקס ברמת מערכת ההפעלה (כמו bwrap או firejail)

          Pete CarterP Offline
          Pete CarterP Offline
          Pete Carter
          wrote last edited by
          #4

          @Nils-Sjoberg Thought about that, thanks

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt
          • Unsolved