Skip to content

feat(shell): compose plugin applications and extend model details - #152

Merged
imneov merged 6 commits into
modelsphere:mainfrom
cattan0710-tech:feat/plugin-navigation-composition
Nov 26, 2026
Merged

imneov merged 6 commits into
modelsphere:mainfrom
cattan0710-tech:feat/plugin-navigation-composition

Conversation

@cattan0710-tech

Copy link
Copy Markdown
Collaborator

What type of PR is this?

  • feature
  • documentation

What this PR does and why

Plugin integrations need to place their pages in Console, add context to model details, and grant access to individual backend operations. This PR adds the host support for those integrations.

  • Let plugins compose their own application navigation from registered entries and add permission-aware account menu links.
  • Let plugins contribute ordered, deep-linkable tabs to model details, with the selected catalog and model passed to the component.
  • Let server-configured backends map an HTTP method and backend-relative path prefix to a specific IAM resource and verb.
  • Document the tab registration contract and backend access rules.

Which issue(s) this PR fixes

Refs #150. The account menu commit is shared with that PR.

How it was tested

  • go vet ./... and go test ./....
  • npm run typecheck, npm test (856 tests), and npm run build in web/.
  • npm test in the plugin SDK (188 tests).
  • In a local kind integration, verified that AutoTune can add a model details tab, import an exact recipe version, and prefill a tuning task.

Checks

  • Go tests and formatting
  • Web typecheck, tests, and build
  • Plugin and proxy documentation
  • Committed examples reviewed for public sharing

Notes for reviewers

The backend access rule tests cover method matching, path boundaries, and the authorization fallback. The model details tests cover tab order, direct links, and visibility permissions.

Release note

Console plugins can compose application navigation, add account menu links and model details tabs, and use endpoint-specific authorization for configured backends.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T05:40:52.689557Z 8537074 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Expose permission-aware plugin actions on model and recipe cards and in the model details toolbar. Put card actions in right-aligned footers and pass pinned recipe references to contributors.
@imneov
imneov merged commit dcdb0d0 into modelsphere:main Nov 26, 2026
5 checks passed
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.

3 participants