thoth-agents 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,6 +36,21 @@ export interface CodexApplyResult {
36
36
  diagnostics: string[];
37
37
  error?: string;
38
38
  }
39
+ export declare const MANAGED_MODEL_STATE_VERSION = 1;
40
+ interface ManagedModelState {
41
+ version: typeof MANAGED_MODEL_STATE_VERSION;
42
+ models: Record<string, string>;
43
+ configuredModels?: Record<string, string>;
44
+ }
45
+ export declare function readManagedModelState(path: string): ManagedModelState;
46
+ export declare function parseRoleTomlModel(content: string): string | undefined;
47
+ export declare function replaceRoleTomlModel(content: string, model: string): string;
48
+ export declare function roleManagedModelStateKey(path: string): string;
49
+ export interface CodexManagedModelOverride {
50
+ role: CodexRoleName;
51
+ model: string;
52
+ }
53
+ export declare function applyCodexManagedModelOverrides(config: CodexInstallConfig, overrides: CodexManagedModelOverride[]): CodexApplyResult;
39
54
  export declare function buildCodexSetupPlan(config: CodexInstallConfig): CodexSetupPlan;
40
55
  export declare function formatCodexSetupPlan(plan: CodexSetupPlan): string;
41
56
  export declare function applyCodexSetup(plan: CodexSetupPlan): CodexApplyResult;
@@ -0,0 +1,9 @@
1
+ import type { HarnessStatusReport, OperationApplyResult, OperationHarnessMetadata, OperationPlan } from './operations/types';
2
+ import type { CliParseResult, GenerateArgs } from './types';
3
+ export declare function formatHarnessStatusReport(reports: readonly HarnessStatusReport[]): string;
4
+ export declare function formatHarnessList(harnesses: readonly OperationHarnessMetadata[]): string;
5
+ export declare function formatOperationPlan(plan: OperationPlan): string;
6
+ export declare function formatOperationApplyResult(result: OperationApplyResult): string;
7
+ export declare function printHelp(): void;
8
+ export declare function printCodexGeneration(args: GenerateArgs): number;
9
+ export declare function runCliCommand(parsed: CliParseResult): Promise<number>;
@@ -1,3 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import type { CliParseResult } from './types';
3
- export declare function parseCliArgs(args: string[]): CliParseResult;
2
+ export { parseCliArgs } from './parser';
3
+ export type { RuntimeContext } from './runtime';
4
+ export { detectRuntimeContext, isInteractiveRuntime } from './runtime';