Files
agent-zero/plugins/_onboarding/AGENTS.md
Alessandro 9de79f06aa Update Codex onboarding defaults and preserve the current chat
Suggest gpt-6.1-terra for Main and gpt-6-luna for Utility through Codex
provider metadata, while preserving explicit model lists and the live
account catalog.

Change the final onboarding action to Continue and close the wizard without
creating another chat. The existing model-gate event resumes the held message
in its original chat. Update the onboarding guide and ready-screen capture.

Add regressions for recommended and explicit model selection, configured
catalog order, held-message dispatch and completion without a pending chat.

Validation: 244 focused Python tests, three onboarding Node tests and the
OAuth reconnect check passed. Verified on the dedicated instance that
Continue closes the wizard and preserves the selected chat and chat list.
2026-10-31 22:15:31 +01:00

1.7 KiB

Onboarding Plugin DOX

Purpose

  • Own the built-in first-time onboarding wizard for model configuration.

Ownership

  • plugin.yaml owns metadata and always-enabled status.
  • webui/ owns onboarding providers, wizard store, modal/page markup, and thumbnail.

Local Contracts

  • Keep onboarding provider choices synchronized with model configuration and provider metadata.
  • Do not ask for or expose API keys outside approved settings/API flows.
  • Avoid blocking already-configured users with unnecessary onboarding prompts.
  • Completion updates the selected global model preset (normally immutable-name Default); advanced setup opens that preset in the shared editor.
  • Completing setup dispatches onboarding-configured so the model gate can resume its held message in the original chat. The Ready action is Continue: it closes the wizard without creating or selecting a chat, including when opened outside a chat.
  • Cloud, Account, and Local share a left-aligned, neutral puzzle-icon text button below their provider grids. It replaces the Account/Local pane notes and closes onboarding without saving before opening Plugin Hub Browse with the exact provider tag filter and no previous search.

Work Guidance

  • Coordinate provider changes with _model_config and _oauth when account-backed providers are involved.

Verification

  • Smoke-test first-run onboarding, provider selection, completion, and skip/close behavior after changes.
  • Run node --test tests/test_onboarding.mjs for preferred model selection, held-message continuation and the Ready action; run pytest tests/test_onboarding_static.py for markup/provider contracts.

Child DOX Index

No child DOX files.