Skip to content

[Bug] cursorSession error: unknown option '--trust #923

@snowrry

Description

@snowrry

cc-connect Version

v1.3.2

Operating System

macOS

Agent Type

Cursor Agent

Platform

N/A

Installation Method

npm (npm install -g cc-connect)

Bug Description

cursor + weixin, configured weixin successfully and sent the first message "hi" which didn't get any response.

time=2026-05-10T10:20:51.983+08:00 level=INFO msg="processing message" platform=weixin user=o9cq809Ip9ly4xxx@im.… session=s1
time=2026-05-10T10:20:51.984+08:00 level=INFO msg="session spawned" session_key=weixin:dm:o9cq809Ip9ly4xxx@im.wechat agent_session="" is_resume=false elapsed=14.672µs
time=2026-05-10T10:20:52.897+08:00 level=ERROR msg="cursorSession: process failed" error="exit status 1" stderr="error: unknown option '--trust'"
time=2026-05-10T10:20:52.897+08:00 level=ERROR msg="agent error" error="error: unknown option '--trust'"

Steps to Reproduce

  1. Create a project, selecting Cursor as the agent.
  2. configure weixin
  3. send hi

Expected Behavior

Work with Cursor

Actual Behavior

No response.
error: unknown option '--trust

Configuration (config.toml)

[[projects]]
  name = "GetToKnowService"
  show_context_indicator = true
  reply_footer = true
  inject_sender = false

  [projects.agent]
    type = "cursor"

    [projects.agent.options]
      mode = "default"
      work_dir = "/Users/kevin/Desktop/Projects/Fangxia/GetToKnowService"

  [[projects.platforms]]
    type = "weixin"

    [projects.platforms.options]
      account_id = "1ebec1dxxxx@im.bot"
      allow_from = "o9cq809Ip9lxxxx@im.wechat"
      base_url = "https://ilinkai.weixin.qq.com"
      token = "1ebec1d98962@im.bot:060000fa5cb79b12f1aa3bd1d52xxxxx"

Logs / Error Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions