Skip to content

Feat/autocode#54

Merged
RoundTable02 merged 3 commits intobevibing:mainfrom
oberonix:feat/autocode
Apr 28, 2026
Merged

Feat/autocode#54
RoundTable02 merged 3 commits intobevibing:mainfrom
oberonix:feat/autocode

Conversation

@oberonix
Copy link
Copy Markdown
Contributor

Summary

Adds a new autocode command so that users do not have to use the code command in each thread if desired. It works just like the autowork command.

Related Issue

Issue addressed by this

Closes #53

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)

Changes Made

  • Added support for a new autocode command
  • Added tests for autocode command
  • Updated Readme with autocode command instructions

Testing

I ran the changes locally and verified that the feature works, and functions just like the autowork command does.

  • I have tested this locally
  • I have added/updated tests (if applicable)
  • All existing tests pass (npm test)

Checklist

  • My code follows the existing code style
  • I have not included version bumps (maintainer handles versioning)
  • I have updated documentation if needed
  • This PR focuses on a single feature/fix

oberonix and others added 3 commits April 26, 2026 22:30
Mirrors the /autowork pattern as a per-project boolean
(ProjectConfig.autoPassthrough). When enabled, threads created via
/work and /opencode have passthrough mode seeded automatically, so
plain messages are sent to OpenCode without needing /code first.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Tests:
- /autocode toggle: no binding, false→true, true→false, parent-channel
  resolution from a thread, project-not-found failure path.
- /work auto-passthrough seeding when project flag is on/off.
- threadHelper.getOrCreateThread (used by /opencode): seeds when
  enabled, no-ops when no binding or flag disabled.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@RoundTable02
Copy link
Copy Markdown
Collaborator

Looks Good To Me! Thanks for your contribution.

@RoundTable02 RoundTable02 merged commit c21ea55 into bevibing:main Apr 28, 2026
RoundTable02 added a commit that referenced this pull request Apr 28, 2026
Release v1.5.3 for opencode server password support, /autocode automation, optional /work descriptions, and thread channel access documentation.

Contributors by feature:

- Upstream OPENCODE_SERVER_PASSWORD support (PR #50, closes #39): @Shenato, @RoundTable02

- /autocode command (PR #54): @oberonix

- Optional /work description (PR #56): @oberonix

- Thread channel access docs (PR #52): @bevibing, @RoundTable02

PR: #50 feat: Added support for opencode serve password setting

PR: #54 Feat/autocode

PR: #56 Feat/optional work description

PR: #52 docs: clarify Discord channel access for threads

Issue: #39 [Feature] Support opencode serve password setting
@oberonix oberonix deleted the feat/autocode branch April 29, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants