Applications page modification #38

Closed
opened 2026-10-06 22:52:31 +02:00 by EduarD3V · 4 comments
Owner

URL: http://192.168.31.41:5173/operator/applications

I need you to remove from applications the ones not used by gotoi: Node Exporter and Checkmk


Also i need you to move the AI model div to a new page: URL: http://192.168.31.41:5173/operator/aiconfig

In that page, the operator will be able to set the next variables globally:

  • available models to select
  • openai compatible endpoint
  • api key
  • custom headers
  • list of models
  • auto retrieve model list from api
  • global model used

just one provider.

URL: http://192.168.31.41:5173/operator/applications I need you to remove from applications the ones not used by gotoi: Node Exporter and Checkmk --- Also i need you to move the AI model div to a new page: URL: http://192.168.31.41:5173/operator/aiconfig In that page, the operator will be able to set the next variables globally: - available models to select - openai compatible endpoint - api key - custom headers - list of models - auto retrieve model list from api - global model used just one provider.
gotoi-agent added reference issue/38-applications-aiconfig 2026-10-06 23:23:32 +02:00
Collaborator

Claimed — branch issue/38-applications-aiconfig. Doing: drop Checkmk + Node Exporter from Applications; new /operator/aiconfig page for the global AI provider config (endpoint, key, headers, model list, auto-retrieve, global model).

Claimed — branch `issue/38-applications-aiconfig`. Doing: drop Checkmk + Node Exporter from Applications; new `/operator/aiconfig` page for the global AI provider config (endpoint, key, headers, model list, auto-retrieve, global model).
Collaborator

Plan — /home/eduardez/workspace/gotoi-wt/meta/issue-38.plan.md

  1. Commit A — dashboard/src/routes/operator/applications/+page.svelte: hide exporter+checkmk, drop the AI card/state/imports; UC-FE-50 rewrite.
  2. Commit B — middleware/src/ai.ts stored config overlay (base/headers/key/allowlist) + GET|PATCH /plans/ai/config + POST /plans/ai/models/refresh in middleware/src/routes/plans.ts; key encrypted via encryptSecret in settings KV; new UC-MW-167 + tests.
  3. Commit C — new /operator/aiconfig page (model selector + endpoint + key + headers + model list + auto-retrieve), nav/icons/page-help/destinations, api.ts calls; new UC-FE-95, UC-FE-70 re-homed.
  4. Gates: _check.py, check-ai-headers.py, check-type-mirror.py, middleware bun test, dashboard bun run test + check, rg 'Showing lines'.
**Plan** — `/home/eduardez/workspace/gotoi-wt/meta/issue-38.plan.md` 1. Commit A — `dashboard/src/routes/operator/applications/+page.svelte`: hide `exporter`+`checkmk`, drop the AI card/state/imports; UC-FE-50 rewrite. 2. Commit B — `middleware/src/ai.ts` stored config overlay (base/headers/key/allowlist) + `GET|PATCH /plans/ai/config` + `POST /plans/ai/models/refresh` in `middleware/src/routes/plans.ts`; key encrypted via `encryptSecret` in settings KV; new UC-MW-167 + tests. 3. Commit C — new `/operator/aiconfig` page (model selector + endpoint + key + headers + model list + auto-retrieve), nav/icons/page-help/destinations, api.ts calls; new UC-FE-95, UC-FE-70 re-homed. 4. Gates: _check.py, check-ai-headers.py, check-type-mirror.py, middleware bun test, dashboard bun run test + check, rg 'Showing lines'.
Collaborator

PARTIAL — branch issue/38-applications-aiconfig pushed; draft PR #48 (target agent-develop). Commits: f97dde7 (applications cleanup, UC-FE-50/70) + 70df144 (AI provider config API /plans/ai/config + /operator/aiconfig page, UC-MW-167/UC-FE-95). omp session harvested at wall-clock cap mid-verification of commit B+C: static gates green (ai-headers 571 ok, type-mirror ok, uc-check 352 files), but middleware/dashboard test suites NOT yet run on 70df144 — treat PR as draft until verified. Plan: gotoi-wt/meta/issue-38.plan.md. Needs: full middleware+dashboard gate runs on final head.

PARTIAL — branch issue/38-applications-aiconfig pushed; draft PR https://git.eduard3v.com/EduarD3V/gotoi/pulls/48 (target agent-develop). Commits: f97dde7 (applications cleanup, UC-FE-50/70) + 70df144 (AI provider config API /plans/ai/config + /operator/aiconfig page, UC-MW-167/UC-FE-95). omp session harvested at wall-clock cap mid-verification of commit B+C: static gates green (ai-headers 571 ok, type-mirror ok, uc-check 352 files), but middleware/dashboard test suites NOT yet run on 70df144 — treat PR as draft until verified. Plan: gotoi-wt/meta/issue-38.plan.md. Needs: full middleware+dashboard gate runs on final head.
Collaborator

FINISHED — review + gates complete on PR #48 (head 2010755, rebased onto agent-develop). Orchestration fixes: (1) aiconfig UC renumbered UC-FE-95 to UC-FE-96 everywhere - UC-FE-95 is now bulk decommission, merged via PR #51; (2) NEW commit gating GET /plans/ai/config to instance operators: headers may carry private tokens, so the read is operator-only like PATCH/refresh; UC-MW-167 Trigger updated; (3) PR title de-WIP-d and draft cleared, body placeholder replaced. Gates on final head: UC catalog check ok (355 files), ai-headers ok, type-mirror ok, middleware suite 570 pass / 0 fail, dashboard vitest 242/242, svelte-check 0 errors, hidden test set 1/1 pass. Known pre-existing reds (fail on clean agent-develop too): uc-mw-138 ERR_HTTP_HEADERS_SENT flake pair. Not done: browser smoke of /operator/aiconfig (no live operator session). Awaiting operator merge.

FINISHED — review + gates complete on PR #48 (head 2010755, rebased onto agent-develop). Orchestration fixes: (1) aiconfig UC renumbered UC-FE-95 to UC-FE-96 everywhere - UC-FE-95 is now bulk decommission, merged via PR #51; (2) NEW commit gating GET /plans/ai/config to instance operators: headers may carry private tokens, so the read is operator-only like PATCH/refresh; UC-MW-167 Trigger updated; (3) PR title de-WIP-d and draft cleared, body placeholder replaced. Gates on final head: UC catalog check ok (355 files), ai-headers ok, type-mirror ok, middleware suite 570 pass / 0 fail, dashboard vitest 242/242, svelte-check 0 errors, hidden test set 1/1 pass. Known pre-existing reds (fail on clean agent-develop too): uc-mw-138 ERR_HTTP_HEADERS_SENT flake pair. Not done: browser smoke of /operator/aiconfig (no live operator session). Awaiting operator merge.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
EduarD3V/gotoi#38
No description provided.