@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
12 lines • 840 B
TypeScript
/**
* Why a provider must stay on the device whatever the sidecar asks for (custody gate H1, M1).
*
* The models.json schema accepts unknown keys at every level, so the walk here applies
* `modelsJsonFieldClasses()` to the concrete provider object with whitelist semantics: a key the
* table does not name, at any depth, keeps the provider on the device instead of reaching the brain.
*/
import type { ModelsJsonProvider } from "../model-config-schema.ts";
export type DeviceCustodyReason = "undeclared-field" | "extra-body" | "sampling-params" | "unsplittable-base-url" | "model-base-url-secret" | "model-header-collision";
/** Empty when sealed custody may serve the provider. */
export declare function deviceCustodyReasons(provider: ModelsJsonProvider): readonly DeviceCustodyReason[];
//# sourceMappingURL=device-custody.d.ts.map