Review of "Opencode Status Pill" version 2

Details Page Preview

Glanceable pill in top bar: green idle, yellow working, red needs you, magenta error. Copies cwd to clipboard on row click. Polls local opencode plugin at 127.0.0.1:4390.

Extension Homepage
https://github.com/x0shreyash/opencode-status-pill

No comments.

Diff Against

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 2 manual_review 1

Shexli found 3 issues that may need reviewer attention.

EGO-X-004 warning

extensions should avoid synchronous file IO in shell code

Shell code should avoid synchronous file IO APIs like `GLib.file_get_contents()` and `Gio.File.load_contents()`.

File Operations

  • extension.js:49
    file.load_contents(null)
  • extension.js:195
    file.load_contents(null)

EGO-A-005 manual_review

extensions should not access the clipboard directly

Direct clipboard access via `St.Clipboard.get_default()` requires reviewer scrutiny.

Review Guidelines

  • extension.js:358
    St.Clipboard.get_default()

EGO-L-002 warning

objects created by extension should be destroyed in disable()

Objects assigned in `enable()` are missing matching `.destroy()` calls in `disable()` or its helper methods.

Destroy all objects

  • extension.js:138
    this._pill = new St.BoxLayout({ style_class: 'traffic-pill has-active', x_align: Clutter.ActorAlign.CENTER })
  • extension.js:314
    empty

All Versions

Version Status
2 Unreviewed
1 Rejected