gitlawrandjialin 2889ba7c78 feat: plugin extension slots for access, request interceptors, Users actions, and form fields
Four purely-additive seams that let build-time tooling extend host
behaviour without forking files:

* `src/access.extensions.ts` — identity `applyAccessExtensions`
  (mirrors `config/routes.extensions.ts`). `src/access.ts` runs the
  resolved predicate object through it. Adds two new predicates,
  `canSeeOrgAdmin` and `canManageCurrentOrg`, alongside the existing
  `canSeeAdmin`. Resources, Models children, Cluster Management, and
  Resources/Backends are retagged from `canSeeAdmin` to
  `canSeeOrgAdmin`. Users and Dashboard stay strict.
* `src/request.extensions.ts` — identity-empty
  `extraRequestInterceptors`. `src/request-config.tsx` spreads it
  into the existing `requestInterceptors` list so extensions can
  inject context-aware headers without forking the request config.
* Users page action column — renders
  `getGPUStackPlugin()?.components?.UserRowActions` next to the
  existing DropdownButtons inside a Space when a plugin component
  is registered. If absent, the cell renders exactly as before.
* `src/components/plugin-extra-fields.tsx` — generic component-slot
  helper. Renders `pluginManager.components.<name>` if registered,
  forwarding a `context` payload. Used by create/edit forms to let
  plugins inject extra `Form.Item` fields. Mounted in the relevant
  create forms — API Keys, Cloud Credentials, Clusters, Model
  Routes, Model Providers, and Inference Backends — under the slot
  name `CreateOrgScopeField`. Resources whose org is implicit from a
  parent (Models / Workers / Benchmarks / Worker Pools / Model Files
  inherit from the chosen Cluster) deliberately don't mount the slot.
2026-05-08 18:29:52 +08:00
2025-10-13 19:55:08 +08:00
2026-01-09 21:13:41 +08:00
2026-05-08 09:33:16 +08:00
2025-06-10 19:24:13 +08:00
2026-05-06 12:27:22 +08:00
2026-05-07 18:26:48 +08:00
2024-05-14 15:23:56 +08:00
2026-01-14 16:01:47 +08:00
2024-05-16 10:45:45 +08:00
2026-01-14 16:01:47 +08:00
2026-04-24 14:28:30 +08:00
2024-12-09 11:37:37 +08:00
2026-05-08 09:33:16 +08:00
2026-05-06 12:27:22 +08:00
2025-03-10 12:33:43 +08:00
2026-04-29 18:09:55 +08:00

GPUStack UI

UI for GPUStack.

Installation

  1. Nodejs 16.0+(with NPM)

If you're on Mac

brew install node
  1. pnpm
npm install -g pnpm
  1. Setup
git clone https://github.com/gpustack/gpustack-ui/
  1. Install dependencies
cd gpustack-ui
pnpm install

Usage

  1. Run development server (at http://localhost:9000)
npm run dev
  1. build release
npm run build

Bugs & Issues

S
Description
No description provided
Readme
27 MiB
Languages
TypeScript 68.9%
JavaScript 29.4%
Less 1.4%
CSS 0.3%