Skip to content

[Feature] /autocode to auto-enable passthrough in new threads #53

@oberonix

Description

@oberonix

Problem / Motivation

For most projects, I almost always want passthrough on inside any thread the bot creates — it's the natural mobile workflow. Today every new thread requires me to type /code once before I can chat normally. That's a friction point on every new task.

Proposed Solution

Add a /autocode slash command that toggles a per-project flag. When enabled, every new thread the bot creates (via /work or /opencode) automatically has passthrough mode (/code) seeded as on, so plain messages are routed to OpenCode without needing to run /code first inside each thread.

Mirrors the existing /autowork pattern: same per-project boolean shape, same toggle UX.

Alternatives Considered

Nothing else really made sense, I thought about a global setting, but I like the autowork pattern a lot

Additional Context

N/A

Are you willing to work on this?

  • Yes, I'd like to implement this feature
  • I can help but would need guidance
  • No, I'm just suggesting the idea

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions