arcie 0.1.6 → 0.1.7
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/_tsup-dts-rollup.d.ts +2243 -0
- package/dist/agent/index.d.ts +1 -6
- package/dist/auth/index.d.ts +4 -11
- package/dist/channels/index.d.ts +3 -8
- package/dist/cli/index.d.ts +1 -8
- package/dist/cli/index.js +2 -2
- package/dist/context/index.d.ts +9 -14
- package/dist/{dev-ZZDVOWUZ.js → dev-A6KGOSNL.js} +86 -62
- package/dist/dev-A6KGOSNL.js.map +1 -0
- package/dist/discover/index.d.ts +6 -41
- package/dist/hooks/index.d.ts +1 -6
- package/dist/index.d.ts +113 -297
- package/dist/{init-5F7CIVLN.js → init-DNVKDUHX.js} +3 -3
- package/dist/instructions/index.d.ts +2 -7
- package/dist/protocol/events.d.ts +44 -200
- package/dist/runner/index.d.ts +4 -4
- package/dist/schedules/index.d.ts +1 -6
- package/dist/skills/index.d.ts +2 -7
- package/dist/tools/index.d.ts +3 -13
- package/package.json +2 -1
- package/dist/dev-ZZDVOWUZ.js.map +0 -1
- package/dist/index-CElLRVTP.d.ts +0 -136
- package/dist/types-DwxwdSa2.d.ts +0 -151
- /package/dist/{init-5F7CIVLN.js.map → init-DNVKDUHX.js.map} +0 -0
package/dist/discover/index.d.ts
CHANGED
|
@@ -1,41 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
/** A subagent is a nested agent directory, not a flat file. */
|
|
8
|
-
interface DiscoveredSubagent {
|
|
9
|
-
id: string;
|
|
10
|
-
root: string;
|
|
11
|
-
agentConfig?: string;
|
|
12
|
-
instructions?: string;
|
|
13
|
-
tools: DiscoveredSlot[];
|
|
14
|
-
skills: DiscoveredSlot[];
|
|
15
|
-
}
|
|
16
|
-
interface DiscoveredAgent {
|
|
17
|
-
root: string;
|
|
18
|
-
agentConfig?: string;
|
|
19
|
-
instructions?: string;
|
|
20
|
-
tools: DiscoveredSlot[];
|
|
21
|
-
skills: DiscoveredSlot[];
|
|
22
|
-
hooks: DiscoveredSlot[];
|
|
23
|
-
channels: DiscoveredSlot[];
|
|
24
|
-
schedules: DiscoveredSlot[];
|
|
25
|
-
connections: DiscoveredSlot[];
|
|
26
|
-
subagents: DiscoveredSubagent[];
|
|
27
|
-
lib: DiscoveredSlot[];
|
|
28
|
-
}
|
|
29
|
-
interface DiscoverDiagnostic {
|
|
30
|
-
code: string;
|
|
31
|
-
message: string;
|
|
32
|
-
severity: "error" | "warning";
|
|
33
|
-
filePath?: string;
|
|
34
|
-
}
|
|
35
|
-
interface DiscoverResult {
|
|
36
|
-
agent: DiscoveredAgent;
|
|
37
|
-
diagnostics: DiscoverDiagnostic[];
|
|
38
|
-
}
|
|
39
|
-
declare function discoverAgent(agentDir: string): DiscoverResult;
|
|
40
|
-
|
|
41
|
-
export { type DiscoverDiagnostic, type DiscoverResult, type DiscoveredAgent, type DiscoveredSlot, type DiscoveredSubagent, discoverAgent };
|
|
1
|
+
export { discoverAgent_alias_1 as discoverAgent } from '../_tsup-dts-rollup.js';
|
|
2
|
+
export { DiscoveredSlot } from '../_tsup-dts-rollup.js';
|
|
3
|
+
export { DiscoveredSubagent } from '../_tsup-dts-rollup.js';
|
|
4
|
+
export { DiscoveredAgent } from '../_tsup-dts-rollup.js';
|
|
5
|
+
export { DiscoverDiagnostic } from '../_tsup-dts-rollup.js';
|
|
6
|
+
export { DiscoverResult } from '../_tsup-dts-rollup.js';
|
package/dist/hooks/index.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,297 +1,113 @@
|
|
|
1
|
-
export { defineAgent } from './
|
|
2
|
-
export { defineInstructions
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
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
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
limit?: number;
|
|
115
|
-
threshold?: number;
|
|
116
|
-
filter?: Record<string, unknown>;
|
|
117
|
-
}): Promise<{
|
|
118
|
-
results: Array<{
|
|
119
|
-
content: string;
|
|
120
|
-
metadata: Record<string, unknown>;
|
|
121
|
-
similarity?: number;
|
|
122
|
-
}>;
|
|
123
|
-
}>;
|
|
124
|
-
delete?(options: {
|
|
125
|
-
namespace: string;
|
|
126
|
-
ids?: string[];
|
|
127
|
-
filter?: Record<string, unknown>;
|
|
128
|
-
}): Promise<unknown>;
|
|
129
|
-
}
|
|
130
|
-
declare class CencoriMemoryStore implements MemoryStore {
|
|
131
|
-
private client;
|
|
132
|
-
constructor(client: CencoriMemoryClient);
|
|
133
|
-
save(resourceId: string, threadId: string, entries: MemoryEntry[]): Promise<void>;
|
|
134
|
-
load(resourceId: string, threadId: string, limit?: number): Promise<MemoryEntry[]>;
|
|
135
|
-
clear(resourceId: string, threadId: string): Promise<void>;
|
|
136
|
-
search(resourceId: string, threadId: string, query: string, limit?: number): Promise<MemoryEntry[]>;
|
|
137
|
-
close(): Promise<void>;
|
|
138
|
-
createThread(_thread: Thread): Promise<void>;
|
|
139
|
-
getThread(_threadId: string, _resourceId: string): Promise<Thread | null>;
|
|
140
|
-
listThreads(_resourceId: string): Promise<Thread[]>;
|
|
141
|
-
updateThread(_thread: Partial<Thread> & {
|
|
142
|
-
id: string;
|
|
143
|
-
resourceId: string;
|
|
144
|
-
}): Promise<void>;
|
|
145
|
-
deleteThread(_threadId: string, _resourceId: string): Promise<void>;
|
|
146
|
-
deleteMessages(opts: DeleteMessagesOptions): Promise<number>;
|
|
147
|
-
cloneThread(source: {
|
|
148
|
-
threadId: string;
|
|
149
|
-
resourceId: string;
|
|
150
|
-
}, dest: {
|
|
151
|
-
threadId: string;
|
|
152
|
-
resourceId: string;
|
|
153
|
-
}): Promise<void>;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
declare class LastNStrategy implements MemoryStrategy {
|
|
157
|
-
private limit;
|
|
158
|
-
constructor(limit?: number);
|
|
159
|
-
getInputContext(store: MemoryStore, resourceId: string, threadId: string): Promise<string>;
|
|
160
|
-
recordTurn(store: MemoryStore, resourceId: string, threadId: string, input: string, output: string, toolCalls?: {
|
|
161
|
-
tool: string;
|
|
162
|
-
input: unknown;
|
|
163
|
-
output: unknown;
|
|
164
|
-
}[]): Promise<void>;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
declare class KeyFactsStrategy implements MemoryStrategy {
|
|
168
|
-
private facts;
|
|
169
|
-
private loaded;
|
|
170
|
-
private ensureLoaded;
|
|
171
|
-
getInputContext(store: MemoryStore, resourceId: string, threadId: string): Promise<string>;
|
|
172
|
-
recordTurn(store: MemoryStore, resourceId: string, threadId: string, input: string, output: string, _toolCalls?: {
|
|
173
|
-
tool: string;
|
|
174
|
-
input: unknown;
|
|
175
|
-
output: unknown;
|
|
176
|
-
}[]): Promise<void>;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
type SummarizeFn = (text: string) => Promise<string>;
|
|
180
|
-
declare class SummaryStrategy implements MemoryStrategy {
|
|
181
|
-
private limit;
|
|
182
|
-
private summary;
|
|
183
|
-
private summarize;
|
|
184
|
-
private mutex;
|
|
185
|
-
constructor(limit?: number, summarize?: SummarizeFn);
|
|
186
|
-
private exclusive;
|
|
187
|
-
private defaultSummarize;
|
|
188
|
-
getInputContext(store: MemoryStore, resourceId: string, threadId: string): Promise<string>;
|
|
189
|
-
recordTurn(store: MemoryStore, resourceId: string, threadId: string, input: string, output: string, toolCalls?: {
|
|
190
|
-
tool: string;
|
|
191
|
-
input: unknown;
|
|
192
|
-
output: unknown;
|
|
193
|
-
}[]): Promise<void>;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
declare class SemanticRecall implements MemoryStrategy {
|
|
197
|
-
private topK;
|
|
198
|
-
constructor(topK?: number);
|
|
199
|
-
getInputContext(store: MemoryStore, resourceId: string, threadId: string): Promise<string>;
|
|
200
|
-
recordTurn(store: MemoryStore, resourceId: string, threadId: string, input: string, output: string, toolCalls?: {
|
|
201
|
-
tool: string;
|
|
202
|
-
input: unknown;
|
|
203
|
-
output: unknown;
|
|
204
|
-
}[]): Promise<void>;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
declare const DEFAULT_TEMPLATE = "# User Profile\n\n- **Name**:\n- **Interests**:\n- **Goals**:\n- **Preferences**:\n";
|
|
208
|
-
declare const WORKING_MEMORY_SYSTEM_INSTRUCTION = "You have access to a persistent working memory that stores information about the user.\nYou can read the current working memory below and update it using the `updateWorkingMemory` tool.\n\nWhen the user tells you something about themselves, update the working memory to reflect it.\nUse the `updateWorkingMemory` tool with `section` set to the markdown heading (e.g. \"Interests\") and `content` set to the new bullet list content for that section.";
|
|
209
|
-
declare class WorkingMemory implements MemoryStrategy {
|
|
210
|
-
private template;
|
|
211
|
-
private content;
|
|
212
|
-
private baseDir;
|
|
213
|
-
private resourceId;
|
|
214
|
-
private initialized;
|
|
215
|
-
constructor(template?: string, baseDir?: string, resourceId?: string);
|
|
216
|
-
private ensureDir;
|
|
217
|
-
private filePath;
|
|
218
|
-
private loadFromDisk;
|
|
219
|
-
private saveToDisk;
|
|
220
|
-
getSystemInstruction(): string;
|
|
221
|
-
getCurrentContent(resourceId: string): string;
|
|
222
|
-
updateSection(resourceId: string, section: string, content: string): void;
|
|
223
|
-
getToolDefinitions(): Record<string, ToolConfig>;
|
|
224
|
-
getInputContext(_store: MemoryStore, resourceId: string, _threadId: string): Promise<string>;
|
|
225
|
-
recordTurn(_store: MemoryStore, _resourceId: string, _threadId: string, _input: string, _output: string, _toolCalls?: {
|
|
226
|
-
tool: string;
|
|
227
|
-
input: unknown;
|
|
228
|
-
output: unknown;
|
|
229
|
-
}[]): Promise<void>;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
interface MemoryOptions {
|
|
233
|
-
store?: MemoryStore;
|
|
234
|
-
resourceId?: string;
|
|
235
|
-
threadId?: string;
|
|
236
|
-
processors?: (MemoryProcessor | MemoryStrategy)[];
|
|
237
|
-
embedder?: Embedder;
|
|
238
|
-
vectorStore?: VectorStore;
|
|
239
|
-
lastMessages?: number;
|
|
240
|
-
readOnly?: boolean;
|
|
241
|
-
}
|
|
242
|
-
declare class Memory {
|
|
243
|
-
store: MemoryStore;
|
|
244
|
-
resourceId: string;
|
|
245
|
-
threadId: string;
|
|
246
|
-
private processors;
|
|
247
|
-
private readOnly;
|
|
248
|
-
private buildSource;
|
|
249
|
-
constructor(options?: MemoryOptions);
|
|
250
|
-
constructor(config: SessionConfig["memory"], options?: MemoryOptions);
|
|
251
|
-
private buildFromConfig;
|
|
252
|
-
/**
|
|
253
|
-
* Create a new Memory instance sharing the same store and configuration
|
|
254
|
-
* but with overridden resourceId, threadId, and/or readOnly.
|
|
255
|
-
* Useful for per-request memory config.
|
|
256
|
-
*/
|
|
257
|
-
with(overrides: {
|
|
258
|
-
resourceId?: string;
|
|
259
|
-
threadId?: string;
|
|
260
|
-
readOnly?: boolean;
|
|
261
|
-
}): Memory;
|
|
262
|
-
destroy(): Promise<void>;
|
|
263
|
-
getInputContext(): Promise<string>;
|
|
264
|
-
getSystemInstruction(): string;
|
|
265
|
-
getToolDefinitions(): Record<string, ToolConfig>;
|
|
266
|
-
recordTurn(input: string, output: string, toolCalls?: {
|
|
267
|
-
tool: string;
|
|
268
|
-
input: unknown;
|
|
269
|
-
output: unknown;
|
|
270
|
-
}[]): Promise<void>;
|
|
271
|
-
clear(): Promise<void>;
|
|
272
|
-
createThread(thread: Thread): Promise<void>;
|
|
273
|
-
getThread(threadId: string, resourceId: string): Promise<Thread | null>;
|
|
274
|
-
listThreads(resourceId: string): Promise<Thread[]>;
|
|
275
|
-
updateThread(thread: Partial<Thread> & {
|
|
276
|
-
id: string;
|
|
277
|
-
resourceId: string;
|
|
278
|
-
}): Promise<void>;
|
|
279
|
-
deleteThread(threadId: string, resourceId: string): Promise<void>;
|
|
280
|
-
deleteMessages(opts: DeleteMessagesOptions): Promise<number>;
|
|
281
|
-
cloneThread(source: {
|
|
282
|
-
threadId: string;
|
|
283
|
-
resourceId: string;
|
|
284
|
-
}, dest: {
|
|
285
|
-
threadId: string;
|
|
286
|
-
resourceId: string;
|
|
287
|
-
}): Promise<void>;
|
|
288
|
-
recall(opts: RecallOptions): Promise<RecallResult>;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
interface LoadedAgent {
|
|
292
|
-
manifest: AgentManifest;
|
|
293
|
-
agentDir: string;
|
|
294
|
-
}
|
|
295
|
-
declare function loadAgent(agentDir: string): Promise<LoadedAgent>;
|
|
296
|
-
|
|
297
|
-
export { AgentManifest, type CencoriMemoryClient, CencoriMemoryStore, ConnectionConfig, DEFAULT_TEMPLATE, FileStore, InMemoryStore, KeyFactsStrategy, LastNStrategy, Memory, MemoryEntry, MemoryStore, MemoryStrategy, SemanticRecall, SessionConfig, SqliteStore, type SummarizeFn, SummaryStrategy, ToolConfig, WORKING_MEMORY_SYSTEM_INSTRUCTION, WorkingMemory, defineConnection, loadAgent };
|
|
1
|
+
export { defineAgent } from './_tsup-dts-rollup.js';
|
|
2
|
+
export { defineInstructions } from './_tsup-dts-rollup.js';
|
|
3
|
+
export { loadInstructions } from './_tsup-dts-rollup.js';
|
|
4
|
+
export { defineTool } from './_tsup-dts-rollup.js';
|
|
5
|
+
export { toModelOutput } from './_tsup-dts-rollup.js';
|
|
6
|
+
export { defineSkill } from './_tsup-dts-rollup.js';
|
|
7
|
+
export { getSkill } from './_tsup-dts-rollup.js';
|
|
8
|
+
export { defineHook } from './_tsup-dts-rollup.js';
|
|
9
|
+
export { defineChannel } from './_tsup-dts-rollup.js';
|
|
10
|
+
export { POST } from './_tsup-dts-rollup.js';
|
|
11
|
+
export { GET } from './_tsup-dts-rollup.js';
|
|
12
|
+
export { defineConnection } from './_tsup-dts-rollup.js';
|
|
13
|
+
export { defineSchedule } from './_tsup-dts-rollup.js';
|
|
14
|
+
export { getSession } from './_tsup-dts-rollup.js';
|
|
15
|
+
export { setSession } from './_tsup-dts-rollup.js';
|
|
16
|
+
export { getTurn } from './_tsup-dts-rollup.js';
|
|
17
|
+
export { setTurn } from './_tsup-dts-rollup.js';
|
|
18
|
+
export { getContext } from './_tsup-dts-rollup.js';
|
|
19
|
+
export { requireContext } from './_tsup-dts-rollup.js';
|
|
20
|
+
export { hasContext } from './_tsup-dts-rollup.js';
|
|
21
|
+
export { setContext } from './_tsup-dts-rollup.js';
|
|
22
|
+
export { ensureContext } from './_tsup-dts-rollup.js';
|
|
23
|
+
export { Memory } from './_tsup-dts-rollup.js';
|
|
24
|
+
export { InMemoryStore } from './_tsup-dts-rollup.js';
|
|
25
|
+
export { SqliteStore } from './_tsup-dts-rollup.js';
|
|
26
|
+
export { FileStore } from './_tsup-dts-rollup.js';
|
|
27
|
+
export { CencoriMemoryStore } from './_tsup-dts-rollup.js';
|
|
28
|
+
export { LastNStrategy } from './_tsup-dts-rollup.js';
|
|
29
|
+
export { KeyFactsStrategy } from './_tsup-dts-rollup.js';
|
|
30
|
+
export { SummaryStrategy } from './_tsup-dts-rollup.js';
|
|
31
|
+
export { SemanticRecall } from './_tsup-dts-rollup.js';
|
|
32
|
+
export { WorkingMemory } from './_tsup-dts-rollup.js';
|
|
33
|
+
export { DEFAULT_TEMPLATE } from './_tsup-dts-rollup.js';
|
|
34
|
+
export { WORKING_MEMORY_SYSTEM_INSTRUCTION } from './_tsup-dts-rollup.js';
|
|
35
|
+
export { MemoryStore } from './_tsup-dts-rollup.js';
|
|
36
|
+
export { MemoryEntry } from './_tsup-dts-rollup.js';
|
|
37
|
+
export { MemoryQuery } from './_tsup-dts-rollup.js';
|
|
38
|
+
export { MemoryStrategy } from './_tsup-dts-rollup.js';
|
|
39
|
+
export { CencoriMemoryClient } from './_tsup-dts-rollup.js';
|
|
40
|
+
export { SummarizeFn } from './_tsup-dts-rollup.js';
|
|
41
|
+
export { loadAgent } from './_tsup-dts-rollup.js';
|
|
42
|
+
export { runAgent } from './_tsup-dts-rollup.js';
|
|
43
|
+
export { streamAgent } from './_tsup-dts-rollup.js';
|
|
44
|
+
export { discoverAgent } from './_tsup-dts-rollup.js';
|
|
45
|
+
export { bearer } from './_tsup-dts-rollup.js';
|
|
46
|
+
export { basic } from './_tsup-dts-rollup.js';
|
|
47
|
+
export { OutboundAuthFn } from './_tsup-dts-rollup.js';
|
|
48
|
+
export { TokenValue } from './_tsup-dts-rollup.js';
|
|
49
|
+
export { createSessionStarted } from './_tsup-dts-rollup.js';
|
|
50
|
+
export { createTurnStarted } from './_tsup-dts-rollup.js';
|
|
51
|
+
export { createMessageReceived } from './_tsup-dts-rollup.js';
|
|
52
|
+
export { createMessageAppended } from './_tsup-dts-rollup.js';
|
|
53
|
+
export { createMessageCompleted } from './_tsup-dts-rollup.js';
|
|
54
|
+
export { createStepStarted } from './_tsup-dts-rollup.js';
|
|
55
|
+
export { createStepCompleted } from './_tsup-dts-rollup.js';
|
|
56
|
+
export { createStepFailed } from './_tsup-dts-rollup.js';
|
|
57
|
+
export { createTurnCompleted } from './_tsup-dts-rollup.js';
|
|
58
|
+
export { createTurnFailed } from './_tsup-dts-rollup.js';
|
|
59
|
+
export { createSessionFailed } from './_tsup-dts-rollup.js';
|
|
60
|
+
export { createSessionWaiting } from './_tsup-dts-rollup.js';
|
|
61
|
+
export { createSessionCompleted } from './_tsup-dts-rollup.js';
|
|
62
|
+
export { createToolCallStarted } from './_tsup-dts-rollup.js';
|
|
63
|
+
export { createToolCallCompleted } from './_tsup-dts-rollup.js';
|
|
64
|
+
export { createSubagentCalled } from './_tsup-dts-rollup.js';
|
|
65
|
+
export { createSubagentCompleted } from './_tsup-dts-rollup.js';
|
|
66
|
+
export { createReasoningAppended } from './_tsup-dts-rollup.js';
|
|
67
|
+
export { createReasoningCompleted } from './_tsup-dts-rollup.js';
|
|
68
|
+
export { encodeEvent } from './_tsup-dts-rollup.js';
|
|
69
|
+
export { encodeEvents } from './_tsup-dts-rollup.js';
|
|
70
|
+
export { CencoriConfig } from './_tsup-dts-rollup.js';
|
|
71
|
+
export { AgentConfig } from './_tsup-dts-rollup.js';
|
|
72
|
+
export { ApprovalStrategy } from './_tsup-dts-rollup.js';
|
|
73
|
+
export { ToolConfig } from './_tsup-dts-rollup.js';
|
|
74
|
+
export { InstructionsConfig } from './_tsup-dts-rollup.js';
|
|
75
|
+
export { SkillConfig } from './_tsup-dts-rollup.js';
|
|
76
|
+
export { HookConfig } from './_tsup-dts-rollup.js';
|
|
77
|
+
export { HookEvent } from './_tsup-dts-rollup.js';
|
|
78
|
+
export { HookPayload } from './_tsup-dts-rollup.js';
|
|
79
|
+
export { TurnContext } from './_tsup-dts-rollup.js';
|
|
80
|
+
export { ToolCallContext } from './_tsup-dts-rollup.js';
|
|
81
|
+
export { ChannelConfig } from './_tsup-dts-rollup.js';
|
|
82
|
+
export { ChannelRequest } from './_tsup-dts-rollup.js';
|
|
83
|
+
export { ChannelResponse } from './_tsup-dts-rollup.js';
|
|
84
|
+
export { ConnectionConfig } from './_tsup-dts-rollup.js';
|
|
85
|
+
export { ScheduleConfig } from './_tsup-dts-rollup.js';
|
|
86
|
+
export { SessionConfig } from './_tsup-dts-rollup.js';
|
|
87
|
+
export { PolicyConfig } from './_tsup-dts-rollup.js';
|
|
88
|
+
export { SubagentManifest } from './_tsup-dts-rollup.js';
|
|
89
|
+
export { AgentManifest } from './_tsup-dts-rollup.js';
|
|
90
|
+
export { Session } from './_tsup-dts-rollup.js';
|
|
91
|
+
export { AssistantStepFinishReason } from './_tsup-dts-rollup.js';
|
|
92
|
+
export { ActionResultStatus } from './_tsup-dts-rollup.js';
|
|
93
|
+
export { ActionResultError } from './_tsup-dts-rollup.js';
|
|
94
|
+
export { SessionStartedEvent } from './_tsup-dts-rollup.js';
|
|
95
|
+
export { TurnStartedEvent } from './_tsup-dts-rollup.js';
|
|
96
|
+
export { MessageReceivedEvent } from './_tsup-dts-rollup.js';
|
|
97
|
+
export { MessageAppendedEvent } from './_tsup-dts-rollup.js';
|
|
98
|
+
export { MessageCompletedEvent } from './_tsup-dts-rollup.js';
|
|
99
|
+
export { ReasoningAppendedEvent } from './_tsup-dts-rollup.js';
|
|
100
|
+
export { ReasoningCompletedEvent } from './_tsup-dts-rollup.js';
|
|
101
|
+
export { StepStartedEvent } from './_tsup-dts-rollup.js';
|
|
102
|
+
export { StepCompletedEvent } from './_tsup-dts-rollup.js';
|
|
103
|
+
export { StepFailedEvent } from './_tsup-dts-rollup.js';
|
|
104
|
+
export { ToolCallStartedEvent } from './_tsup-dts-rollup.js';
|
|
105
|
+
export { ToolCallCompletedEvent } from './_tsup-dts-rollup.js';
|
|
106
|
+
export { TurnCompletedEvent } from './_tsup-dts-rollup.js';
|
|
107
|
+
export { TurnFailedEvent } from './_tsup-dts-rollup.js';
|
|
108
|
+
export { SessionWaitingEvent } from './_tsup-dts-rollup.js';
|
|
109
|
+
export { SessionCompletedEvent } from './_tsup-dts-rollup.js';
|
|
110
|
+
export { SessionFailedEvent } from './_tsup-dts-rollup.js';
|
|
111
|
+
export { SubagentCalledEvent } from './_tsup-dts-rollup.js';
|
|
112
|
+
export { SubagentCompletedEvent } from './_tsup-dts-rollup.js';
|
|
113
|
+
export { StreamEvent } from './_tsup-dts-rollup.js';
|
|
@@ -799,13 +799,13 @@ async function runInit(prompter, input) {
|
|
|
799
799
|
if (action === void 0) return;
|
|
800
800
|
switch (action) {
|
|
801
801
|
case "chat": {
|
|
802
|
-
const { devCommand } = await import("./dev-
|
|
802
|
+
const { devCommand } = await import("./dev-A6KGOSNL.js");
|
|
803
803
|
prompter.stop();
|
|
804
804
|
await devCommand({ port: "3000", agentDir: targetDir, input: true });
|
|
805
805
|
break;
|
|
806
806
|
}
|
|
807
807
|
case "server": {
|
|
808
|
-
const { devCommand } = await import("./dev-
|
|
808
|
+
const { devCommand } = await import("./dev-A6KGOSNL.js");
|
|
809
809
|
prompter.stop();
|
|
810
810
|
await devCommand({ port: "3000", agentDir: targetDir, input: false });
|
|
811
811
|
break;
|
|
@@ -819,4 +819,4 @@ async function runInit(prompter, input) {
|
|
|
819
819
|
export {
|
|
820
820
|
initCommand
|
|
821
821
|
};
|
|
822
|
-
//# sourceMappingURL=init-
|
|
822
|
+
//# sourceMappingURL=init-DNVKDUHX.js.map
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare function defineInstructions(source: string | InstructionsConfig): InstructionsConfig;
|
|
5
|
-
declare function loadInstructions(agentDir: string): InstructionsConfig | null;
|
|
6
|
-
|
|
7
|
-
export { defineInstructions, loadInstructions };
|
|
1
|
+
export { defineInstructions_alias_1 as defineInstructions } from '../_tsup-dts-rollup.js';
|
|
2
|
+
export { loadInstructions_alias_1 as loadInstructions } from '../_tsup-dts-rollup.js';
|