Commit 2444e07
fix: rename frontend package to agentsview-frontend (#573)
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](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent c36ba91 commit 2444e07
5 files changed
Lines changed: 6 additions & 9 deletions
File tree
- cmd/agentsview
- frontend
- internal
- dbtest
- db
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
79 | | - | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | 207 | | |
210 | 208 | | |
211 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
0 commit comments