Skip to content

fix: AGENTS.md — use client.app.log() not _client?.app?.log() #38 - #39

Merged
four-bytes-robby merged 1 commit into
mainfrom
fix/38-agents-md-client-naming
Jun 20, 2026
Merged

fix: AGENTS.md — use client.app.log() not _client?.app?.log() #38#39
four-bytes-robby merged 1 commit into
mainfrom
fix/38-agents-md-client-naming

Conversation

@four-bytes-robby

@four-bytes-robby four-bytes-robby commented Jun 20, 2026

Copy link
Copy Markdown
Member

Summary

  • Fixed AGENTS.md console logging convention: client.app.log() instead of _client?.app?.log()
  • Bumped patch version: 0.2.10.2.2

Testing

  • Build: ✅ passed
  • Tests: ✅ 101 pass, 0 fail

Checklist

  • Build passes
  • Tests pass
  • Version bumped (patch)
  • PR against main

Summary by cubic

Corrects the logging guidance in AGENTS.md to use client.app.log() instead of _client?.app?.log() to prevent terminal UI issues in plugin mode. Bumps @four-bytes/four-opencode-anonymizer from 0.2.1 to 0.2.2.

Written for commit 0a69139. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Documentation
    • Updated logging standards and best practices for plugin development.

@coderabbitai

coderabbitai Bot commented Jun 20, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

Recent review info
Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: aea07439-635c-41ae-a51d-bffca17d11db

Commits

Reviewing files that changed from the base of the PR and between bd17dd5 and 0a69139.

Files selected for processing (2)
  • AGENTS.md
  • package.json

Walkthrough

Walkthrough

AGENTS.md is updated to replace _client?.app?.log() with client.app.log() as the required logging call for plugin mode. The package.json version is incremented from 0.2.1 to 0.2.2.

Changes

Logging directive correction and version bump

Layer / File(s) Summary
Logging directive update and version bump AGENTS.md, package.json The plugin-mode logging directive is reworded to use client.app.log() instead of _client?.app?.log(), while the same console.* restriction remains. The package version is bumped from 0.2.1 to 0.2.2.

Estimated code review effort

1 (Trivial) | ~2 minutes

Possibly related issues

Possibly related PRs

  • four-bytes/four-opencode-anonymizer#37: Updates the same AGENTS.md "Wave" plugin-mode logging rule, adjusting the permitted logging call and console.* restrictions, making it a direct predecessor to this correction.
Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: updating AGENTS.md documentation to use client.app.log() instead of _client?.app?.log(), directly addressing issue #38.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Tip: You can configure your own custom pre-merge checks in the settings.

Finishing Touches
Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/38-agents-md-client-naming
Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch fix/38-agents-md-client-naming

Comment @coderabbitai help to get the list of available commands and usage tips.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

@four-bytes-robby
four-bytes-robby merged commit 0eaa557 into main Jun 20, 2026
5 checks passed
@four-bytes-robby
four-bytes-robby deleted the fix/38-agents-md-client-naming branch June 20, 2026 18:01
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.

1 participant