Repository navigation
Add apify issue and apify feedback commands for humans and agents #1519
Copy link
Copy link
Open
Labels
t-buildersIssues owned by the Builders team.Issues owned by the Builders team.
Description
Problem
When a command fails, the CLI prints only a bare link to github.com/apify/apify-cli/issues (src/lib/command-framework/help.ts, CommandError.ts). Users and agents type the CLI version, OS, install method, and failing command by hand, and there is no way to send feedback from the terminal. Raised in #product-insights.
What we want
Two commands: apify issue opens a prefilled GitHub issue, and apify feedback sends short feedback straight to Apify, tagged as coming from a human or an agent.
Requirements
P0
apify issue bug|featurebuilds a GitHub issue URL prefilled with CLI version, OS, install method, and the failing command, and opens it in the browser.--no-browserprints the URL instead, for agents and headless environments.- Prefill through
title/bodyURL params, or add issue form templates to.github/ISSUE_TEMPLATE(the repo ships none) and prefill fields by ID. - Existing "report this issue" messages point to
apify issue bug.
P1
apify feedback "<message>"posts to the same backend as MCPreport-problem(report-problem: serve it to Claude clients and add sentiment and category apify-mcp-server#1683), withchannel: cli.- Detect agent vs. human with
src/lib/hooks/telemetry/detectEnvironment.ts, with a flag to override. - Works non-interactively and supports
--json. - Bring agent detection in
detectEnvironment.tsup to date (it also feeds telemetry). It checks 9 env vars today. Missing compared to Stripe and Vercel:- Generic conventions:
AI_AGENT,AGENT(Goose, Amp, Bun) - Codex:
CODEX_CI,CODEX_SANDBOX_NETWORK_DISABLED,CODEX_INTERNAL_ORIGINATOR_OVERRIDE - Claude:
CLAUDE_CODE,CLAUDE_CODE_IS_COWORK(Cowork) - Cursor:
CURSOR_TRACE_ID,CURSOR_EXTENSION_HOST_ROLE=agent-exec - Others:
ANTIGRAVITY_AGENT,ANTIGRAVITY_CLI_ALIAS,AUGMENT_AGENT,OPENCODE_CLIENT,HERMES_AGENT,GROK_AGENT,GROK_SESSION_ID,KIRO_SESSION_ID,TERM_PROGRAM=kirowith no TTY,REPL_ID(Replit),COPILOT_MODEL,COPILOT_ALLOW_ALL,COPILOT_GITHUB_TOKEN,/opt/.devin(Devin)
- Generic conventions:
P2
- Report the agent host as well as the agent (desktop, terminal, IDE, SDK), the way Stripe's
DetectAgentHostreadsCLAUDE_CODE_ENTRYPOINTandCODEX_INTERNAL_ORIGINATOR_OVERRIDE. --sentimentand--category, matching the MCP schema.
Open questions
- Does
apify feedbackpost to the Segment event MCP uses, or to a new API endpoint? - Require login, or accept anonymous feedback like
vercel feedbackandsupabase feedback? - Keep a hand-maintained list, or depend on
@vercel/detect-agentas Supabase does? It lacksAGENT, Hermes, Grok, and Kiro, so it would still need a few local additions. - Is
CURSOR_TRACE_IDalso set when a human types in Cursor's integrated terminal? Vercel treats it as an agent signal, which would then count humans as agents.
Links
supabase issue bug|feature|docs: URL builder with per-field and total URL length caps and install-method detection (issue-url.ts)stripe feedbackwith--actor human|agentand agent auto-detection (feedback.go)vercel feedback- Agent detection: Stripe
useragent.go(DetectAIAgent,DetectAgentHost), Verceldetect-agent - MCP counterpart: report-problem: serve it to Claude clients and add sentiment and category apify-mcp-server#1683
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
t-buildersIssues owned by the Builders team.Issues owned by the Builders team.
Activity
patrikbraborec commentedon Oct 23, 2026
Based on discussion with @DaveHanns, we should consider different name than
issueas it might be confusing with Actor issues.