-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
90 lines (75 loc) · 2.15 KB
/
index.ts
File metadata and controls
90 lines (75 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// BackpackFlow - A config-driven LLM framework built on top of PocketFlow
// Core PocketFlow framework
export * from './pocketflow';
// Production-ready nodes for building AI applications
export * from './nodes';
// LLM providers and abstractions (v1.x - commented out for v2.0)
// export * from './providers';
// Event streaming system
export * from './events';
// Types
export * from './types/llm';
export * from './types/events';
// Storage capabilities (explicit exports to avoid conflicts)
export {
BaseStorage,
SearchCapable,
ChatCapable,
DocumentCapable,
TaskCapable,
MemoryCapable,
ResearchStorage,
DocumentProcessingStorage,
SimpleChatStorage,
AgentStorage,
createStorage,
updateStorage,
hasCapability
} from './storage/capabilities';
// v2.0: Backpack storage system (Git-like state management)
export {
Backpack,
BackpackError,
AccessDeniedError,
KeyNotFoundError,
ValidationError,
InvalidCommitError
} from './storage';
// v2.0: Backpack types
export type {
BackpackItem,
BackpackItemMetadata,
BackpackCommit,
BackpackOptions,
PackOptions,
NodePermissions,
BackpackSnapshot,
BackpackDiff,
ValidationResult,
NodeContext
} from './storage';
// Utilities (terminal interface, streaming chatbot, etc.)
export * from './utils';
// Examples (v1.x - commented out for v2.0)
// export * from './examples';
// Simple API for tutorials and quick prototyping
// export * from './simple'; // TODO: Implement simple API
// Re-export core PocketFlow classes for convenience
export { Node, Flow, BatchNode, ParallelBatchNode, BaseNode } from './pocketflow';
// BackpackFlow v2.0 - Flow with namespace composition
export { Flow as BackpackFlow } from './flows/flow';
export type { FlowConfig } from './flows/flow';
// v2.0: Serialization Bridge (PRD-003)
export {
DependencyContainer,
FlowLoader
} from './serialization';
// v2.0: Serialization types
export type {
NodeConfig as SerializedNodeConfig,
FlowConfig as SerializedFlowConfig,
FlowEdge,
DependencyManifest,
SerializableNode,
SerializableNodeClass
} from './serialization';