evil-omo 3.13.1 → 3.14.1
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.
- package/dist/agents/authorized-research-framework.d.ts +1 -0
- package/dist/agents/types.d.ts +2 -1
- package/dist/cli/doctor/checks/model-resolution-types.d.ts +3 -0
- package/dist/cli/doctor/checks/model-resolution.d.ts +2 -1
- package/dist/cli/index.js +41833 -336
- package/dist/cli/refresh-model-capabilities.d.ts +15 -0
- package/dist/config/index.d.ts +1 -1
- package/dist/config/schema/agent-overrides.d.ts +360 -15
- package/dist/config/schema/categories.d.ts +48 -2
- package/dist/config/schema/dynamic-context-pruning.d.ts +1 -1
- package/dist/config/schema/evil-omo-config.d.ts +367 -16
- package/dist/config/schema/experimental.d.ts +1 -1
- package/dist/config/schema/fallback-models.d.ts +45 -1
- package/dist/config/schema/model-capabilities.d.ts +8 -0
- package/dist/config/schema.d.ts +1 -0
- package/dist/evil-omo.schema.json +996 -15
- package/dist/features/background-agent/types.d.ts +3 -10
- package/dist/features/opencode-skill-loader/loader.d.ts +2 -0
- package/dist/hooks/auto-update-checker/hook/model-capabilities-status.d.ts +2 -0
- package/dist/hooks/auto-update-checker/types.d.ts +2 -0
- package/dist/hooks/delegate-task-retry/index.d.ts +5 -0
- package/dist/hooks/delegate-task-retry/prompt-reframer.d.ts +2 -0
- package/dist/hooks/delegate-task-retry/refusal-guidance.d.ts +4 -0
- package/dist/hooks/delegate-task-retry/refusal-patterns.d.ts +8 -0
- package/dist/hooks/delegate-task-retry/term-replacements.d.ts +6 -0
- package/dist/hooks/keyword-detector/ultrawork/default.d.ts +5 -4
- package/dist/hooks/keyword-detector/ultrawork/gemini.d.ts +8 -1
- package/dist/hooks/keyword-detector/ultrawork/gpt.d.ts +4 -3
- package/dist/hooks/model-fallback/hook.d.ts +5 -0
- package/dist/hooks/runtime-fallback/fallback-models.d.ts +12 -0
- package/dist/hooks/start-work/start-work-hook.d.ts +1 -0
- package/dist/index.js +43717 -1335
- package/dist/plugin/chat-params.d.ts +1 -0
- package/dist/shared/connected-providers-cache.d.ts +20 -5
- package/dist/shared/fallback-chain-from-models.d.ts +10 -1
- package/dist/shared/index.d.ts +7 -1
- package/dist/shared/known-variants.d.ts +6 -0
- package/dist/shared/legacy-plugin-warning.d.ts +6 -0
- package/dist/shared/log-legacy-plugin-startup-warning.d.ts +1 -0
- package/dist/shared/model-capabilities-cache.d.ts +20 -0
- package/dist/shared/model-capabilities.d.ts +91 -0
- package/dist/shared/model-capability-aliases.d.ts +21 -0
- package/dist/shared/model-capability-guardrails.d.ts +38 -0
- package/dist/shared/model-capability-heuristics.d.ts +10 -0
- package/dist/shared/model-requirements.d.ts +8 -0
- package/dist/shared/model-resolution-types.d.ts +13 -0
- package/dist/shared/model-resolver.d.ts +10 -3
- package/dist/shared/model-settings-compatibility.d.ts +40 -0
- package/dist/shared/project-discovery-dirs.d.ts +4 -0
- package/dist/shared/session-prompt-params-helpers.d.ts +12 -0
- package/dist/shared/session-prompt-params-state.d.ts +9 -0
- package/dist/tools/delegate-task/background-task.d.ts +2 -6
- package/dist/tools/delegate-task/category-resolver.d.ts +2 -5
- package/dist/tools/delegate-task/model-selection.d.ts +2 -0
- package/dist/tools/delegate-task/subagent-resolver.d.ts +3 -6
- package/dist/tools/delegate-task/sync-prompt-sender.d.ts +2 -6
- package/dist/tools/delegate-task/sync-session-poller.d.ts +1 -0
- package/dist/tools/delegate-task/sync-task.d.ts +2 -6
- package/dist/tools/delegate-task/types.d.ts +3 -5
- package/dist/tools/delegate-task/unstable-agent-task.d.ts +2 -6
- package/package.json +14 -12
|
@@ -2,3 +2,4 @@ export declare const AUTHORIZED_FRAMEWORK_SENTINEL = "<omo-authorized-framework-
|
|
|
2
2
|
export declare function getAuthorizedFramework(model?: string): string;
|
|
3
3
|
export declare function prependAuthorizedFramework(prompt: string | undefined, model?: string): string;
|
|
4
4
|
export declare const AUTHORIZED_RESEARCH_FRAMEWORK: string;
|
|
5
|
+
export declare function injectFrameworkIntoAllAgents(agents: Record<string, unknown>): void;
|
package/dist/agents/types.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export interface AgentPromptMetadata {
|
|
|
55
55
|
export declare function isGptModel(model: string): boolean;
|
|
56
56
|
export declare function isGpt5_4Model(model: string): boolean;
|
|
57
57
|
export declare function isGpt5_3CodexModel(model: string): boolean;
|
|
58
|
+
export declare function isMiniMaxModel(model: string): boolean;
|
|
58
59
|
export declare function isGeminiModel(model: string): boolean;
|
|
59
60
|
export type BuiltinAgentName = "sisyphus" | "hephaestus" | "oracle" | "librarian" | "explore" | "multimodal-looker" | "metis" | "momus" | "atlas" | "sisyphus-junior";
|
|
60
61
|
export type OverridableAgentName = "build" | BuiltinAgentName;
|
|
@@ -62,6 +63,6 @@ export type AgentName = BuiltinAgentName;
|
|
|
62
63
|
export type AgentOverrideConfig = Partial<AgentConfig> & {
|
|
63
64
|
prompt_append?: string;
|
|
64
65
|
variant?: string;
|
|
65
|
-
fallback_models?: string | string[];
|
|
66
|
+
fallback_models?: string | (string | import("../config/schema/fallback-models").FallbackModelObject)[];
|
|
66
67
|
};
|
|
67
68
|
export type AgentOverrides = Partial<Record<OverridableAgentName, AgentOverrideConfig>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ModelCapabilitiesDiagnostics } from "../../../shared/model-capabilities";
|
|
1
2
|
import type { ModelRequirement } from "../../../shared/model-requirements";
|
|
2
3
|
export interface AgentResolutionInfo {
|
|
3
4
|
name: string;
|
|
@@ -6,6 +7,7 @@ export interface AgentResolutionInfo {
|
|
|
6
7
|
userVariant?: string;
|
|
7
8
|
effectiveModel: string;
|
|
8
9
|
effectiveResolution: string;
|
|
10
|
+
capabilityDiagnostics?: ModelCapabilitiesDiagnostics;
|
|
9
11
|
}
|
|
10
12
|
export interface CategoryResolutionInfo {
|
|
11
13
|
name: string;
|
|
@@ -14,6 +16,7 @@ export interface CategoryResolutionInfo {
|
|
|
14
16
|
userVariant?: string;
|
|
15
17
|
effectiveModel: string;
|
|
16
18
|
effectiveResolution: string;
|
|
19
|
+
capabilityDiagnostics?: ModelCapabilitiesDiagnostics;
|
|
17
20
|
}
|
|
18
21
|
export interface ModelResolutionInfo {
|
|
19
22
|
agents: AgentResolutionInfo[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { CheckResult } from "../types";
|
|
1
|
+
import type { CheckResult, DoctorIssue } from "../types";
|
|
2
2
|
import type { ModelResolutionInfo, OmoConfig } from "./model-resolution-types";
|
|
3
3
|
export declare function getModelResolutionInfo(): ModelResolutionInfo;
|
|
4
4
|
export declare function getModelResolutionInfoWithOverrides(config: OmoConfig): ModelResolutionInfo;
|
|
5
|
+
export declare function collectCapabilityResolutionIssues(info: ModelResolutionInfo): DoctorIssue[];
|
|
5
6
|
export declare function checkModels(): Promise<CheckResult>;
|
|
6
7
|
export declare const checkModelResolution: typeof checkModels;
|