smokefixture

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

smokefixture seeds an isolated ANTARES_HOME so `bin/antares --foreground` can boot for smoke testing without touching the developer's real ~/.antares, without dialling any provider, and with the exact session row the dashboard route-walk expects at /c/<id>.

Every field it writes is deliberate: onboarding must be considered *done* (Model.Default + a provider with a key or a local BaseURL — see server.NeedsSetup), auth must be enforced with a known password so the smoke script can log in against the real /api/auth/login flow, and every background subsystem that would otherwise reach the network (RAG embedder, gateways, plugins, cron, browser, MCP, smart titles, verify-replies, code-execution sandbox) must be off.

The helper is intentionally its own binary so the real `antares` command never grows a "prepare smoke fixture" mode. It reuses config.Default, config.SaveAt, and store.Open so schema drift is caught here the same day it lands in production.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL