Skip to content

feat: add field to allow user only messages - #4554

Merged
rekram1-node merged 4 commits into
anomalyco:devfrom
spoons-and-mirrors:feat/user-synth
Nov 21, 2025
Merged

rekram1-node merged 4 commits into
anomalyco:devfrom
spoons-and-mirrors:feat/user-synth

Conversation

@spoons-and-mirrors

@spoons-and-mirrors spoons-and-mirrors commented Nov 20, 2025 •

Copy link
Copy Markdown
Contributor

Complements the already present synthetic messages, with the inverse concept.

Perfect for plugins that want to show infos to the user with a message without adding said message to the context being sent out.

@rekram1-node

Copy link
Copy Markdown
Contributor

/oc rename the parameter "userSynthetic" to "ignored"

@opencode-agent

opencode-agent Bot commented Nov 21, 2025 •

Copy link
Copy Markdown
Contributor

Excellent! The parameter "userSynthetic" has been successfully renamed to "ignored" in all relevant locations:

  1. ✅ packages/opencode/src/session/message-v2.ts:61 - TextPart schema definition
  2. ✅ packages/opencode/src/session/message-v2.ts:570 - Usage in toModelMessage function
  3. ✅ packages/sdk/js/src/gen/types.gen.ts:153 - TextPart type definition
  4. ✅ packages/sdk/js/src/gen/types.gen.ts:237 - TextPartInput type definition

The rename is complete and there are no remaining instances of "userSynthetic" in the codebase.

New%20session%20-%202025-11-21T01%3A10%3A17.877Z
opencode session  |  github run

Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
@rekram1-node rekram1-node changed the title feat(synthetic): add userSynthetic to allow user only messages feat: add field to allow user only messages Nov 21, 2025
@rekram1-node
rekram1-node merged commit 43c021e into anomalyco:dev Nov 21, 2025
3 checks passed
@spoons-and-mirrors
spoons-and-mirrors deleted the feat/user-synth branch November 21, 2025 01:16
github-actions Bot pushed a commit to yuguorui/opencode that referenced this pull request Jan 18, 2026
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
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.

3 participants