thoth-agents 0.1.16 → 0.1.18
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/{chunk-XTLXC2CM.js → chunk-6K3ZXIMC.js} +4 -1
- package/dist/{chunk-HFKZF2ZB.js → chunk-SOT5ZY53.js} +1 -1
- package/dist/cli/index.js +2 -2
- package/dist/cli/providers.d.ts +1 -0
- package/dist/cli/tui/index.js +2 -2
- package/dist/config/schema.d.ts +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/thoth-agents.schema.json +3 -0
|
@@ -75,6 +75,7 @@ function ensureOpenCodeConfigDir() {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
// src/cli/providers.ts
|
|
78
|
+
var THOTH_AGENTS_CONFIG_SCHEMA_URL = "https://unpkg.com/thoth-agents@latest/thoth-agents.schema.json";
|
|
78
79
|
var MODEL_MAPPINGS = {
|
|
79
80
|
openai: {
|
|
80
81
|
orchestrator: { model: "openai/gpt-5.4" },
|
|
@@ -118,6 +119,7 @@ var MODEL_MAPPINGS = {
|
|
|
118
119
|
};
|
|
119
120
|
function generateLiteConfig(installConfig) {
|
|
120
121
|
const config = {
|
|
122
|
+
$schema: THOTH_AGENTS_CONFIG_SCHEMA_URL,
|
|
121
123
|
preset: "openai",
|
|
122
124
|
presets: {}
|
|
123
125
|
};
|
|
@@ -464,6 +466,7 @@ var FailoverConfigSchema = z.object({
|
|
|
464
466
|
chains: FallbackChainsSchema.default({})
|
|
465
467
|
});
|
|
466
468
|
var PluginConfigSchema = z.object({
|
|
469
|
+
$schema: z.string().optional(),
|
|
467
470
|
preset: z.string().optional(),
|
|
468
471
|
setDefaultAgent: z.boolean().optional(),
|
|
469
472
|
scoringEngineVersion: z.enum(["v1", "v2-shadow", "v2"]).optional(),
|
|
@@ -643,7 +646,7 @@ var DEFAULT_MODELS = {
|
|
|
643
646
|
var POLL_INTERVAL_BACKGROUND_MS = 2e3;
|
|
644
647
|
var DEFAULT_TIMEOUT_MS = 2 * 60 * 1e3;
|
|
645
648
|
var MAX_POLL_TIME_MS = 5 * 60 * 1e3;
|
|
646
|
-
var DEFAULT_THOTH_COMMAND = ["npx", "-y", "thoth-mem"];
|
|
649
|
+
var DEFAULT_THOTH_COMMAND = ["npx", "-y", "thoth-mem", "mcp"];
|
|
647
650
|
|
|
648
651
|
// src/config/utils.ts
|
|
649
652
|
function getAgentOverride(config, name) {
|
package/dist/cli/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
getOperationHarness,
|
|
26
26
|
installRecommendedSkill,
|
|
27
27
|
listOperationHarnesses
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-SOT5ZY53.js";
|
|
29
29
|
import {
|
|
30
30
|
ALL_AGENT_NAMES,
|
|
31
31
|
CUSTOM_SKILLS,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
getExistingLiteConfigPath,
|
|
38
38
|
installCustomSkills,
|
|
39
39
|
writeLiteConfig
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-6K3ZXIMC.js";
|
|
41
41
|
|
|
42
42
|
// src/cli/index.ts
|
|
43
43
|
import { pathToFileURL } from "url";
|
package/dist/cli/providers.d.ts
CHANGED
package/dist/cli/tui/index.js
CHANGED
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
getOpenCodeStatus,
|
|
16
16
|
listOperationHarnesses,
|
|
17
17
|
parseRoleTomlModel
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-SOT5ZY53.js";
|
|
19
19
|
import {
|
|
20
20
|
ALL_AGENT_NAMES,
|
|
21
21
|
DEFAULT_MODELS,
|
|
22
22
|
getExistingLiteConfigPath,
|
|
23
23
|
parseConfig
|
|
24
|
-
} from "../../chunk-
|
|
24
|
+
} from "../../chunk-6K3ZXIMC.js";
|
|
25
25
|
|
|
26
26
|
// src/cli/tui/index.tsx
|
|
27
27
|
import { render } from "ink";
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -159,6 +159,7 @@ export declare const FailoverConfigSchema: z.ZodObject<{
|
|
|
159
159
|
}, z.core.$strip>;
|
|
160
160
|
export type FailoverConfig = z.infer<typeof FailoverConfigSchema>;
|
|
161
161
|
export declare const PluginConfigSchema: z.ZodObject<{
|
|
162
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
162
163
|
preset: z.ZodOptional<z.ZodString>;
|
|
163
164
|
setDefaultAgent: z.ZodOptional<z.ZodBoolean>;
|
|
164
165
|
scoringEngineVersion: z.ZodOptional<z.ZodEnum<{
|
package/dist/index.js
CHANGED
package/package.json
CHANGED