Skip to content

fix: rename frontend package to agentsview-frontend - #573

Merged
wesm merged 2 commits into
mainfrom
fix/agentsview-consistency
May 30, 2026
Merged

fix: rename frontend package to agentsview-frontend#573
wesm merged 2 commits into
mainfrom
fix/agentsview-consistency

Conversation

@wesm

@wesm wesm commented May 30, 2026

Copy link
Copy Markdown
Member

The frontend npm package was still named agent-session-viewer-frontend,
the project's old working name. This renames it to agentsview-frontend in
package.json and package-lock.json so the name matches the rest of the
project (the Go module is already go.kenn.io/agentsview). The package is
private and referenced nowhere else, so this is an identity-only change. No
other occurrences of the old name remain in the repo.

It also clears two pre-existing golangci-lint failures that blocked the
pre-commit hook:

  • Removed the //go:fix inline directive from the generic Ptr[T] test
    helpers in internal/db and internal/dbtest. The Go fix inliner cannot
    inline generic calls ("type parameter inference is not yet supported"), so
    every Ptr(...) call site raised a govet error.
  • Rewrote the reverse loop in cmd/agentsview/sync_profile.go to use
    slices.Backward.

golangci-lint run ./... now reports no issues.

🤖 Generated with Claude Code

wesm and others added 2 commits May 30, 2026 07:05
Drop the //go:fix inline directive from the generic Ptr test helpers in
internal/db and internal/dbtest. The go fix inliner cannot inline generic
calls ("type parameter inference is not yet supported"), so every Ptr(...)
call site raised a govet error and blocked commits.

Modernize the reverse stopper loop in sync_profile.go to slices.Backward,
the one remaining change golangci-lint --fix wanted to apply. The repo now
passes golangci-lint cleanly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The npm package still used the old working name agent-session-viewer.
Rename it to agentsview-frontend across package.json and
package-lock.json so the project name is consistent everywhere.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@roborev-ci

roborev-ci Bot commented May 30, 2026

Copy link
Copy Markdown

roborev: Combined Review (31cec1a)

No Medium, High, or Critical findings were reported.

All reported issues were below the requested severity threshold, and the security review found no exploitable path.


Synthesized from 2 reviews (agents: codex | types: default, security)

@wesm
wesm merged commit 2444e07 into main May 30, 2026
20 checks passed
@wesm
wesm deleted the fix/agentsview-consistency branch June 25, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant