Review of "AgentsView" version 1

Details Page Preview

Displays today's cumulative AI agent spend in the GNOME Shell top panel, refreshed from agentsview usage statusline.


No comments.

FAQ

Files

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

Shexli (experimental) warning 2

Shexli found 2 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:89
    GLib.file_get_contents(COST_CACHE)

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:147
    this._dashboardItem = new PopupMenu.PopupMenuItem('AgentsView Dashboard')
  • extension.js:82
            this._icon = new St.Icon({
                gicon: new Gio.FileIcon({file: iconFile}),
                style_class: 'system-status-icon',
            })
  • extension.js:96
            this._label = new St.Label({
                text: cachedCost,
                y_align: 2,
                style_class: 'agentsview-cost-label',
            })

All Versions

Version Status
1 Unreviewed