orkajs 1.3.2 → 1.4.0
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/CHANGELOG.md +16 -0
- package/README.md +1 -15
- package/agent/hitl.d.ts +1 -0
- package/agent/hitl.js +1 -0
- package/dist/agent/hitl.cjs +17 -0
- package/dist/agent/hitl.cjs.map +1 -0
- package/dist/agent/hitl.d.cts +118 -0
- package/dist/agent/hitl.d.ts +118 -0
- package/dist/agent/hitl.js +4 -0
- package/dist/agent/hitl.js.map +1 -0
- package/dist/agent/index.cjs +9 -0
- package/dist/agent/index.d.cts +1 -0
- package/dist/agent/index.d.ts +1 -0
- package/dist/agent/index.js +1 -0
- package/dist/chunk-BW7QJF67.cjs +335 -0
- package/dist/chunk-BW7QJF67.cjs.map +1 -0
- package/dist/{chunk-UIYOWY5S.js → chunk-CNXNVDEM.js} +3 -3
- package/dist/{chunk-UIYOWY5S.js.map → chunk-CNXNVDEM.js.map} +1 -1
- package/dist/{chunk-KEUY45KU.cjs → chunk-QDXZUIBC.cjs} +3 -3
- package/dist/{chunk-KEUY45KU.cjs.map → chunk-QDXZUIBC.cjs.map} +1 -1
- package/dist/chunk-YHRCEYN3.js +328 -0
- package/dist/chunk-YHRCEYN3.js.map +1 -0
- package/dist/core/orka.cjs +4 -4
- package/dist/core/orka.js +2 -2
- package/dist/index.cjs +23 -23
- package/dist/index.js +5 -5
- package/dist/orchestration/index.cjs +5 -5
- package/dist/orchestration/index.js +1 -1
- package/package.json +9 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.4.0] - 2026-03-09
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **Human-in-the-Loop (HITL) Agent** - Full support for human oversight in agent workflows
|
|
12
|
+
- `HITLAgent` - Agent with built-in interrupt and checkpoint capabilities
|
|
13
|
+
- `MemoryCheckpointStore` - In-memory checkpoint storage for development
|
|
14
|
+
- Tool approval system with `requireApprovalFor` and `autoApproveTools` configuration
|
|
15
|
+
- Checkpoint system with configurable intervals (`checkpointEvery`)
|
|
16
|
+
- Resume from checkpoint support for long-running tasks
|
|
17
|
+
- Interrupt types: `tool_approval`, `checkpoint`, `review`, `confirmation`, `custom`
|
|
18
|
+
- Response types: `approved`, `rejected`, `modified`, `timeout`
|
|
19
|
+
- Custom `CheckpointStore` interface for Redis/PostgreSQL persistence
|
|
20
|
+
- `requestConfirmation()` and `requestReview()` methods for manual interrupts
|
|
21
|
+
- New subpath export: `orkajs/agent/hitl`
|
|
22
|
+
- Documentation: Human-in-the-Loop page added (EN/FR)
|
|
23
|
+
|
|
8
24
|
## [1.3.2] - 2026-03-07
|
|
9
25
|
|
|
10
26
|
### Added
|
package/README.md
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
<a href="https://www.npmjs.com/package/orkajs"><img src="https://img.shields.io/npm/dm/orkajs.svg" alt="npm downloads"></a>
|
|
14
14
|
<a href="https://github.com/orkajs/orkajs/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/orkajs.svg" alt="license"></a>
|
|
15
15
|
<a href="https://orkajs.com"><img src="https://img.shields.io/badge/docs-orkajs.com-blue.svg" alt="documentation"></a>
|
|
16
|
+
<a href="https://discord.gg/zUbDmJVr"><img src="https://img.shields.io/badge/discord-join%20chat-7289da.svg" alt="discord"></a>
|
|
16
17
|
</p>
|
|
17
18
|
|
|
18
19
|
---
|
|
@@ -23,21 +24,6 @@
|
|
|
23
24
|
npm install orkajs
|
|
24
25
|
```
|
|
25
26
|
|
|
26
|
-
### TypeScript Configuration
|
|
27
|
-
|
|
28
|
-
OrkaJS works with all `moduleResolution` modes:
|
|
29
|
-
|
|
30
|
-
```json
|
|
31
|
-
{
|
|
32
|
-
"compilerOptions": {
|
|
33
|
-
"moduleResolution": "node" // ✅ Legacy (supported)
|
|
34
|
-
// or "node16" // ✅ Modern
|
|
35
|
-
// or "nodenext" // ✅ Modern
|
|
36
|
-
// or "bundler" // ✅ Bundlers (Vite, Webpack)
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
```
|
|
40
|
-
|
|
41
27
|
## Quick Start
|
|
42
28
|
|
|
43
29
|
```typescript
|
package/agent/hitl.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/agent/hitl';
|
package/agent/hitl.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/agent/hitl.cjs');
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkBW7QJF67_cjs = require('../chunk-BW7QJF67.cjs');
|
|
4
|
+
require('../chunk-HW4O3SWN.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "HITLAgent", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkBW7QJF67_cjs.HITLAgent; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "MemoryCheckpointStore", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkBW7QJF67_cjs.MemoryCheckpointStore; }
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=hitl.cjs.map
|
|
17
|
+
//# sourceMappingURL=hitl.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"hitl.cjs"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { LLMAdapter } from '../types/index.cjs';
|
|
2
|
+
import { Memory } from '../memory/memory.cjs';
|
|
3
|
+
import { B as BaseAgent } from '../base-agent-BlAOno3g.cjs';
|
|
4
|
+
import { T as Tool, b as AgentPolicy, c as AgentResult } from '../types-ZpM642VC.cjs';
|
|
5
|
+
import '../core/knowledge.cjs';
|
|
6
|
+
|
|
7
|
+
type InterruptReason = 'tool_approval' | 'checkpoint' | 'review' | 'confirmation' | 'custom';
|
|
8
|
+
type InterruptStatus = 'pending' | 'approved' | 'rejected' | 'modified' | 'timeout';
|
|
9
|
+
interface InterruptRequest {
|
|
10
|
+
id: string;
|
|
11
|
+
agentId: string;
|
|
12
|
+
reason: InterruptReason;
|
|
13
|
+
message: string;
|
|
14
|
+
data: InterruptData;
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
timeoutMs?: number;
|
|
17
|
+
}
|
|
18
|
+
interface InterruptData {
|
|
19
|
+
toolName?: string;
|
|
20
|
+
toolInput?: Record<string, unknown>;
|
|
21
|
+
stepNumber?: number;
|
|
22
|
+
thought?: string;
|
|
23
|
+
context?: Record<string, unknown>;
|
|
24
|
+
}
|
|
25
|
+
interface InterruptResponse {
|
|
26
|
+
id: string;
|
|
27
|
+
status: InterruptStatus;
|
|
28
|
+
modifiedData?: InterruptData;
|
|
29
|
+
feedback?: string;
|
|
30
|
+
respondedAt: Date;
|
|
31
|
+
}
|
|
32
|
+
interface Checkpoint {
|
|
33
|
+
id: string;
|
|
34
|
+
agentId: string;
|
|
35
|
+
stepNumber: number;
|
|
36
|
+
state: CheckpointState;
|
|
37
|
+
createdAt: Date;
|
|
38
|
+
metadata?: Record<string, unknown>;
|
|
39
|
+
}
|
|
40
|
+
interface CheckpointState {
|
|
41
|
+
input: string;
|
|
42
|
+
steps: CheckpointStep[];
|
|
43
|
+
context: Record<string, unknown>;
|
|
44
|
+
}
|
|
45
|
+
interface CheckpointStep {
|
|
46
|
+
thought: string;
|
|
47
|
+
action: string;
|
|
48
|
+
actionInput: Record<string, unknown>;
|
|
49
|
+
observation: string;
|
|
50
|
+
}
|
|
51
|
+
interface HITLConfig {
|
|
52
|
+
requireApprovalFor?: string[];
|
|
53
|
+
autoApproveTools?: string[];
|
|
54
|
+
checkpointEvery?: number;
|
|
55
|
+
defaultTimeoutMs?: number;
|
|
56
|
+
onInterrupt?: InterruptHandler;
|
|
57
|
+
checkpointStore?: CheckpointStore;
|
|
58
|
+
}
|
|
59
|
+
type InterruptHandler = (request: InterruptRequest) => Promise<InterruptResponse>;
|
|
60
|
+
interface CheckpointStore {
|
|
61
|
+
save(checkpoint: Checkpoint): Promise<void>;
|
|
62
|
+
load(checkpointId: string): Promise<Checkpoint | null>;
|
|
63
|
+
loadLatest(agentId: string): Promise<Checkpoint | null>;
|
|
64
|
+
list(agentId: string): Promise<Checkpoint[]>;
|
|
65
|
+
delete(checkpointId: string): Promise<void>;
|
|
66
|
+
}
|
|
67
|
+
interface HITLAgentConfig {
|
|
68
|
+
name?: string;
|
|
69
|
+
goal: string;
|
|
70
|
+
tools: Tool[];
|
|
71
|
+
policy?: AgentPolicy;
|
|
72
|
+
systemPrompt?: string;
|
|
73
|
+
maxSteps?: number;
|
|
74
|
+
temperature?: number;
|
|
75
|
+
verbose?: boolean;
|
|
76
|
+
hitl: HITLConfig;
|
|
77
|
+
}
|
|
78
|
+
interface HITLAgentResult extends AgentResult {
|
|
79
|
+
interrupts: InterruptResponse[];
|
|
80
|
+
checkpoints: string[];
|
|
81
|
+
wasInterrupted: boolean;
|
|
82
|
+
resumedFromCheckpoint?: string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
declare class HITLAgent extends BaseAgent {
|
|
86
|
+
private verbose;
|
|
87
|
+
private hitlConfig;
|
|
88
|
+
private agentId;
|
|
89
|
+
private interrupts;
|
|
90
|
+
private checkpointIds;
|
|
91
|
+
constructor(config: HITLAgentConfig, llm: LLMAdapter, memory?: Memory);
|
|
92
|
+
run(input: string, resumeFromCheckpoint?: string): Promise<HITLAgentResult>;
|
|
93
|
+
interrupt(reason: InterruptReason, message: string, data?: InterruptData): Promise<InterruptResponse>;
|
|
94
|
+
requestConfirmation(message: string, context?: Record<string, unknown>): Promise<InterruptResponse>;
|
|
95
|
+
requestReview(message: string, stepNumber: number, thought: string): Promise<InterruptResponse>;
|
|
96
|
+
private handleToolApproval;
|
|
97
|
+
private createCheckpoint;
|
|
98
|
+
getCheckpoints(): Promise<Checkpoint[]>;
|
|
99
|
+
loadCheckpoint(checkpointId: string): Promise<Checkpoint | null>;
|
|
100
|
+
private buildHITLResult;
|
|
101
|
+
private buildSystemPrompt;
|
|
102
|
+
private buildPrompt;
|
|
103
|
+
private parseResponse;
|
|
104
|
+
private generateId;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
declare class MemoryCheckpointStore implements CheckpointStore {
|
|
108
|
+
private checkpoints;
|
|
109
|
+
private agentCheckpoints;
|
|
110
|
+
save(checkpoint: Checkpoint): Promise<void>;
|
|
111
|
+
load(checkpointId: string): Promise<Checkpoint | null>;
|
|
112
|
+
loadLatest(agentId: string): Promise<Checkpoint | null>;
|
|
113
|
+
list(agentId: string): Promise<Checkpoint[]>;
|
|
114
|
+
delete(checkpointId: string): Promise<void>;
|
|
115
|
+
clear(): void;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export { type Checkpoint, type CheckpointState, type CheckpointStep, type CheckpointStore, HITLAgent, type HITLAgentConfig, type HITLAgentResult, type HITLConfig, type InterruptData, type InterruptHandler, type InterruptReason, type InterruptRequest, type InterruptResponse, type InterruptStatus, MemoryCheckpointStore };
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { LLMAdapter } from '../types/index.js';
|
|
2
|
+
import { Memory } from '../memory/memory.js';
|
|
3
|
+
import { B as BaseAgent } from '../base-agent-T9yoshsJ.js';
|
|
4
|
+
import { T as Tool, b as AgentPolicy, c as AgentResult } from '../types-q1PSyGEh.js';
|
|
5
|
+
import '../core/knowledge.js';
|
|
6
|
+
|
|
7
|
+
type InterruptReason = 'tool_approval' | 'checkpoint' | 'review' | 'confirmation' | 'custom';
|
|
8
|
+
type InterruptStatus = 'pending' | 'approved' | 'rejected' | 'modified' | 'timeout';
|
|
9
|
+
interface InterruptRequest {
|
|
10
|
+
id: string;
|
|
11
|
+
agentId: string;
|
|
12
|
+
reason: InterruptReason;
|
|
13
|
+
message: string;
|
|
14
|
+
data: InterruptData;
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
timeoutMs?: number;
|
|
17
|
+
}
|
|
18
|
+
interface InterruptData {
|
|
19
|
+
toolName?: string;
|
|
20
|
+
toolInput?: Record<string, unknown>;
|
|
21
|
+
stepNumber?: number;
|
|
22
|
+
thought?: string;
|
|
23
|
+
context?: Record<string, unknown>;
|
|
24
|
+
}
|
|
25
|
+
interface InterruptResponse {
|
|
26
|
+
id: string;
|
|
27
|
+
status: InterruptStatus;
|
|
28
|
+
modifiedData?: InterruptData;
|
|
29
|
+
feedback?: string;
|
|
30
|
+
respondedAt: Date;
|
|
31
|
+
}
|
|
32
|
+
interface Checkpoint {
|
|
33
|
+
id: string;
|
|
34
|
+
agentId: string;
|
|
35
|
+
stepNumber: number;
|
|
36
|
+
state: CheckpointState;
|
|
37
|
+
createdAt: Date;
|
|
38
|
+
metadata?: Record<string, unknown>;
|
|
39
|
+
}
|
|
40
|
+
interface CheckpointState {
|
|
41
|
+
input: string;
|
|
42
|
+
steps: CheckpointStep[];
|
|
43
|
+
context: Record<string, unknown>;
|
|
44
|
+
}
|
|
45
|
+
interface CheckpointStep {
|
|
46
|
+
thought: string;
|
|
47
|
+
action: string;
|
|
48
|
+
actionInput: Record<string, unknown>;
|
|
49
|
+
observation: string;
|
|
50
|
+
}
|
|
51
|
+
interface HITLConfig {
|
|
52
|
+
requireApprovalFor?: string[];
|
|
53
|
+
autoApproveTools?: string[];
|
|
54
|
+
checkpointEvery?: number;
|
|
55
|
+
defaultTimeoutMs?: number;
|
|
56
|
+
onInterrupt?: InterruptHandler;
|
|
57
|
+
checkpointStore?: CheckpointStore;
|
|
58
|
+
}
|
|
59
|
+
type InterruptHandler = (request: InterruptRequest) => Promise<InterruptResponse>;
|
|
60
|
+
interface CheckpointStore {
|
|
61
|
+
save(checkpoint: Checkpoint): Promise<void>;
|
|
62
|
+
load(checkpointId: string): Promise<Checkpoint | null>;
|
|
63
|
+
loadLatest(agentId: string): Promise<Checkpoint | null>;
|
|
64
|
+
list(agentId: string): Promise<Checkpoint[]>;
|
|
65
|
+
delete(checkpointId: string): Promise<void>;
|
|
66
|
+
}
|
|
67
|
+
interface HITLAgentConfig {
|
|
68
|
+
name?: string;
|
|
69
|
+
goal: string;
|
|
70
|
+
tools: Tool[];
|
|
71
|
+
policy?: AgentPolicy;
|
|
72
|
+
systemPrompt?: string;
|
|
73
|
+
maxSteps?: number;
|
|
74
|
+
temperature?: number;
|
|
75
|
+
verbose?: boolean;
|
|
76
|
+
hitl: HITLConfig;
|
|
77
|
+
}
|
|
78
|
+
interface HITLAgentResult extends AgentResult {
|
|
79
|
+
interrupts: InterruptResponse[];
|
|
80
|
+
checkpoints: string[];
|
|
81
|
+
wasInterrupted: boolean;
|
|
82
|
+
resumedFromCheckpoint?: string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
declare class HITLAgent extends BaseAgent {
|
|
86
|
+
private verbose;
|
|
87
|
+
private hitlConfig;
|
|
88
|
+
private agentId;
|
|
89
|
+
private interrupts;
|
|
90
|
+
private checkpointIds;
|
|
91
|
+
constructor(config: HITLAgentConfig, llm: LLMAdapter, memory?: Memory);
|
|
92
|
+
run(input: string, resumeFromCheckpoint?: string): Promise<HITLAgentResult>;
|
|
93
|
+
interrupt(reason: InterruptReason, message: string, data?: InterruptData): Promise<InterruptResponse>;
|
|
94
|
+
requestConfirmation(message: string, context?: Record<string, unknown>): Promise<InterruptResponse>;
|
|
95
|
+
requestReview(message: string, stepNumber: number, thought: string): Promise<InterruptResponse>;
|
|
96
|
+
private handleToolApproval;
|
|
97
|
+
private createCheckpoint;
|
|
98
|
+
getCheckpoints(): Promise<Checkpoint[]>;
|
|
99
|
+
loadCheckpoint(checkpointId: string): Promise<Checkpoint | null>;
|
|
100
|
+
private buildHITLResult;
|
|
101
|
+
private buildSystemPrompt;
|
|
102
|
+
private buildPrompt;
|
|
103
|
+
private parseResponse;
|
|
104
|
+
private generateId;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
declare class MemoryCheckpointStore implements CheckpointStore {
|
|
108
|
+
private checkpoints;
|
|
109
|
+
private agentCheckpoints;
|
|
110
|
+
save(checkpoint: Checkpoint): Promise<void>;
|
|
111
|
+
load(checkpointId: string): Promise<Checkpoint | null>;
|
|
112
|
+
loadLatest(agentId: string): Promise<Checkpoint | null>;
|
|
113
|
+
list(agentId: string): Promise<Checkpoint[]>;
|
|
114
|
+
delete(checkpointId: string): Promise<void>;
|
|
115
|
+
clear(): void;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export { type Checkpoint, type CheckpointState, type CheckpointStep, type CheckpointStore, HITLAgent, type HITLAgentConfig, type HITLAgentResult, type HITLConfig, type InterruptData, type InterruptHandler, type InterruptReason, type InterruptRequest, type InterruptResponse, type InterruptStatus, MemoryCheckpointStore };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"hitl.js"}
|
package/dist/agent/index.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkBW7QJF67_cjs = require('../chunk-BW7QJF67.cjs');
|
|
3
4
|
var chunkYTFRKPLP_cjs = require('../chunk-YTFRKPLP.cjs');
|
|
4
5
|
var chunkY5EM3P55_cjs = require('../chunk-Y5EM3P55.cjs');
|
|
5
6
|
var chunk5PY2DAI6_cjs = require('../chunk-5PY2DAI6.cjs');
|
|
@@ -11,6 +12,14 @@ var chunkHW4O3SWN_cjs = require('../chunk-HW4O3SWN.cjs');
|
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
15
|
+
Object.defineProperty(exports, "HITLAgent", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkBW7QJF67_cjs.HITLAgent; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "MemoryCheckpointStore", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkBW7QJF67_cjs.MemoryCheckpointStore; }
|
|
22
|
+
});
|
|
14
23
|
Object.defineProperty(exports, "Agent", {
|
|
15
24
|
enumerable: true,
|
|
16
25
|
get: function () { return chunkYTFRKPLP_cjs.Agent; }
|
package/dist/agent/index.d.cts
CHANGED
|
@@ -6,6 +6,7 @@ export { OpenAIFunctionsAgent } from './openai-functions.cjs';
|
|
|
6
6
|
export { StructuredChatAgent } from './structured-chat.cjs';
|
|
7
7
|
export { SQLToolkit } from './toolkits/sql.cjs';
|
|
8
8
|
export { CSVToolkit } from './toolkits/csv.cjs';
|
|
9
|
+
export { Checkpoint, CheckpointState, CheckpointStep, CheckpointStore, HITLAgent, HITLAgentConfig, HITLAgentResult, HITLConfig, InterruptData, InterruptHandler, InterruptReason, InterruptRequest, InterruptResponse, InterruptStatus, MemoryCheckpointStore } from './hitl.cjs';
|
|
9
10
|
export { A as AgentConfig, a as AgentContext, b as AgentPolicy, c as AgentResult, d as AgentStepResult, e as AgentToolkit, C as CSVToolkitConfig, O as OpenAIFunction, f as OpenAIFunctionsAgentConfig, P as PlanAndExecuteAgentConfig, g as PlanAndExecuteResult, h as PlanStep, R as ReActAgentConfig, S as SQLToolkitConfig, i as StructuredChatAgentConfig, T as Tool, j as ToolParameter, k as ToolResult } from '../types-ZpM642VC.cjs';
|
|
10
11
|
import '../types/index.cjs';
|
|
11
12
|
import '../core/knowledge.cjs';
|
package/dist/agent/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { OpenAIFunctionsAgent } from './openai-functions.js';
|
|
|
6
6
|
export { StructuredChatAgent } from './structured-chat.js';
|
|
7
7
|
export { SQLToolkit } from './toolkits/sql.js';
|
|
8
8
|
export { CSVToolkit } from './toolkits/csv.js';
|
|
9
|
+
export { Checkpoint, CheckpointState, CheckpointStep, CheckpointStore, HITLAgent, HITLAgentConfig, HITLAgentResult, HITLConfig, InterruptData, InterruptHandler, InterruptReason, InterruptRequest, InterruptResponse, InterruptStatus, MemoryCheckpointStore } from './hitl.js';
|
|
9
10
|
export { A as AgentConfig, a as AgentContext, b as AgentPolicy, c as AgentResult, d as AgentStepResult, e as AgentToolkit, C as CSVToolkitConfig, O as OpenAIFunction, f as OpenAIFunctionsAgentConfig, P as PlanAndExecuteAgentConfig, g as PlanAndExecuteResult, h as PlanStep, R as ReActAgentConfig, S as SQLToolkitConfig, i as StructuredChatAgentConfig, T as Tool, j as ToolParameter, k as ToolResult } from '../types-q1PSyGEh.js';
|
|
10
11
|
import '../types/index.js';
|
|
11
12
|
import '../core/knowledge.js';
|
package/dist/agent/index.js
CHANGED