the-citadel 0.9.0 → 0.11.2
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.
Potentially problematic release.
This version of the-citadel might be problematic. Click here for more details.
- package/dist/agents/worker.d.ts +2 -1
- package/dist/cli.d.ts +10 -0
- package/dist/cli.js +96804 -0
- package/dist/config/schema.d.ts +26 -23
- package/dist/core/instruction.d.ts +21 -0
- package/dist/core/llm.d.ts +1 -2
- package/dist/core/logger.d.ts +13 -0
- package/dist/core/pearls.d.ts +9 -3
- package/dist/core/queue.d.ts +4 -0
- package/dist/index.d.ts +8 -2
- package/dist/index.js +51756 -54874
- package/dist/services/conductor.d.ts +1 -1
- package/dist/tools/worker.d.ts +1 -0
- package/package.json +7 -4
package/dist/agents/worker.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { LanguageModel } from "ai";
|
|
2
2
|
import { type AgentContext, CoreAgent } from "../core/agent";
|
|
3
|
+
import { type AgentRole } from "../config/schema";
|
|
3
4
|
export declare class WorkerAgent extends CoreAgent {
|
|
4
|
-
constructor(model?: LanguageModel);
|
|
5
|
+
constructor(role?: AgentRole, model?: LanguageModel);
|
|
5
6
|
protected getDynamicTools(context?: AgentContext): Promise<Record<string, import("ai").Tool>>;
|
|
6
7
|
run(prompt: string, context?: Record<string, unknown>): Promise<string>;
|
|
7
8
|
protected getSystemPrompt(defaultPrompt: string): string;
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
import { Command } from "commander";
|
|
3
|
+
import { loadConfig } from "./config";
|
|
4
|
+
import { getPearls } from "./core/pearls";
|
|
5
|
+
import { getQueue } from "./core/queue";
|
|
6
|
+
import { Conductor } from "./services/conductor";
|
|
7
|
+
import { getWorkflowEngine } from "./services/workflow-engine";
|
|
8
|
+
export { loadConfig, getPearls, getQueue, Conductor, getWorkflowEngine };
|
|
9
|
+
export declare const program: Command;
|
|
10
|
+
export declare function runCLI(): void;
|