@kognai/orchestrator-core 0.1.2 → 0.1.3

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.
@@ -21,23 +21,14 @@
21
21
  * Flow: CEO plans → MiniMax codes → Dual Supervisor review (DeepSeek + Haiku)
22
22
  * → CEO resolves conflicts → CTO analyzes → CMO reports → CEO daily report
23
23
  */
24
- export interface AgentSpawnSpec {
25
- name: string;
26
- role: string;
27
- llm: 'minimax' | 'anthropic';
28
- trigger: string;
29
- prompt_summary: string;
30
- }
31
- export interface SpawnGateResult {
32
- approved: boolean;
33
- /** Human-readable reason when not approved (rejected or pending). */
34
- rejection_reason?: string;
35
- /** True when the spawn is suspended awaiting an out-of-band (e.g. human) approval. */
36
- pending_approval?: boolean;
37
- /** Optional one-line audit string logged on an approved decision. */
38
- audit?: string;
39
- }
40
- export type SpawnGate = (spec: AgentSpawnSpec) => SpawnGateResult;
24
+ import { callLLM, localQAGate, c, log, routeCall, callAnthropicCached, compressContext, normalizeReview } from './engine-primitives';
25
+ import type { AgentTask, ReviewResult, CTOProposal, CTOReport } from './engine-primitives';
26
+ export { callLLM, localQAGate, c, log, routeCall, callAnthropicCached, compressContext, normalizeReview };
27
+ export type { AgentTask, ReviewResult, CTOProposal, CTOReport };
28
+ import type { SpawnGate, SpawnGateResult, AgentSpawnSpec } from './engine-agents';
29
+ export type { SpawnGate, SpawnGateResult, AgentSpawnSpec };
30
+ export { persistCEODecisions, resolveActiveSprintId, resolveAgentDid, recordAgentScore, assessTaskComplexity } from './engine-helpers';
31
+ export declare function postSprintSmokeTest(): Promise<void>;
41
32
  /** TICKET-225: engine config supplied by the consuming template. */
42
33
  export interface OrchestratorConfig {
43
34
  /** Optional template-carried spawn governance gate (Kognai → SAF). */