@anvia/core 0.17.0 → 0.18.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/dist/agent/index.d.ts +3 -3
- package/dist/agent/index.js +11 -9
- package/dist/{agent-Cg0UigNK.d.ts → agent-CBz3CRxa.d.ts} +2 -1
- package/dist/{chunk-54S4I3SX.js → chunk-3YJXLOGO.js} +5 -5
- package/dist/{chunk-OPAEENGD.js → chunk-7LCKIULT.js} +168 -11
- package/dist/chunk-7LCKIULT.js.map +1 -0
- package/dist/{chunk-77D7XBWL.js → chunk-DC2GJDPR.js} +2 -2
- package/dist/{chunk-RWAOHGRL.js → chunk-DPTZ2MK4.js} +11 -5
- package/dist/{chunk-RWAOHGRL.js.map → chunk-DPTZ2MK4.js.map} +1 -1
- package/dist/{chunk-GCED5ZNM.js → chunk-F56AMXMQ.js} +2 -131
- package/dist/chunk-F56AMXMQ.js.map +1 -0
- package/dist/{chunk-F3C5653H.js → chunk-I7TM7TKX.js} +4 -4
- package/dist/{chunk-SWUIBS4N.js → chunk-JNJBKSLA.js} +5 -5
- package/dist/chunk-MTGNA4OS.js +138 -0
- package/dist/chunk-MTGNA4OS.js.map +1 -0
- package/dist/{chunk-BQCTJSNL.js → chunk-QABIBFKE.js} +5 -5
- package/dist/chunk-TGLNXVII.js +220 -0
- package/dist/chunk-TGLNXVII.js.map +1 -0
- package/dist/chunk-XWUC7CIT.js +1 -0
- package/dist/chunk-XWUC7CIT.js.map +1 -0
- package/dist/chunk-ZNTIUOKL.js +33 -0
- package/dist/chunk-ZNTIUOKL.js.map +1 -0
- package/dist/completion/index.js +6 -4
- package/dist/errors-Bf661V89.d.ts +17 -0
- package/dist/evals/index.d.ts +2 -2
- package/dist/evals/index.js +12 -10
- package/dist/evals/index.js.map +1 -1
- package/dist/extractor/index.d.ts +2 -2
- package/dist/extractor/index.js +12 -10
- package/dist/index.d.ts +3 -2
- package/dist/index.js +22 -10
- package/dist/internal/agent.d.ts +2 -2
- package/dist/internal/agent.js +9 -7
- package/dist/memory/index.d.ts +3 -2
- package/dist/memory/index.js +15 -1
- package/dist/pipeline/index.d.ts +2 -2
- package/dist/request/index.d.ts +2 -2
- package/dist/request/index.js +8 -6
- package/dist/skills/index.js +5 -5
- package/dist/tool/index.js +4 -4
- package/dist/types-DBHzPsbx.d.ts +119 -0
- package/dist/vector-store/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-GCED5ZNM.js.map +0 -1
- package/dist/chunk-M6RPFHG7.js +0 -11
- package/dist/chunk-M6RPFHG7.js.map +0 -1
- package/dist/chunk-OPAEENGD.js.map +0 -1
- package/dist/types-CBmhLT_r.d.ts +0 -72
- /package/dist/{chunk-54S4I3SX.js.map → chunk-3YJXLOGO.js.map} +0 -0
- /package/dist/{chunk-77D7XBWL.js.map → chunk-DC2GJDPR.js.map} +0 -0
- /package/dist/{chunk-F3C5653H.js.map → chunk-I7TM7TKX.js.map} +0 -0
- /package/dist/{chunk-SWUIBS4N.js.map → chunk-JNJBKSLA.js.map} +0 -0
- /package/dist/{chunk-BQCTJSNL.js.map → chunk-QABIBFKE.js.map} +0 -0
package/dist/types-CBmhLT_r.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { J as JsonObject, M as Message } from './types-XjIh933x.js';
|
|
2
|
-
|
|
3
|
-
type MemorySavePolicy = "message" | "turn" | "run";
|
|
4
|
-
type MemoryContext = {
|
|
5
|
-
sessionId: string;
|
|
6
|
-
userId?: string | undefined;
|
|
7
|
-
metadata?: JsonObject | undefined;
|
|
8
|
-
};
|
|
9
|
-
type MemoryAppendInput = {
|
|
10
|
-
context: MemoryContext;
|
|
11
|
-
runId: string;
|
|
12
|
-
turn: number;
|
|
13
|
-
messages: Message[];
|
|
14
|
-
};
|
|
15
|
-
type MemoryErrorInput = {
|
|
16
|
-
context: MemoryContext;
|
|
17
|
-
runId: string;
|
|
18
|
-
error: unknown;
|
|
19
|
-
messages: Message[];
|
|
20
|
-
};
|
|
21
|
-
type MemoryConversationListOptions = {
|
|
22
|
-
limit: number;
|
|
23
|
-
userId?: string | undefined;
|
|
24
|
-
};
|
|
25
|
-
type MemoryConversationSummary = {
|
|
26
|
-
/** Opaque, store-specific reference used to retrieve this exact conversation. */
|
|
27
|
-
ref: string;
|
|
28
|
-
sessionId: string;
|
|
29
|
-
userId?: string | undefined;
|
|
30
|
-
metadata?: JsonObject | undefined;
|
|
31
|
-
createdAt: string;
|
|
32
|
-
updatedAt: string;
|
|
33
|
-
messageCount: number;
|
|
34
|
-
};
|
|
35
|
-
type MemoryConversationMessage = {
|
|
36
|
-
position: number;
|
|
37
|
-
runId: string;
|
|
38
|
-
turn: number;
|
|
39
|
-
createdAt: string;
|
|
40
|
-
message: Message;
|
|
41
|
-
};
|
|
42
|
-
type MemoryConversation = MemoryConversationSummary & {
|
|
43
|
-
messages: MemoryConversationMessage[];
|
|
44
|
-
};
|
|
45
|
-
/** Optional, read-only discovery surface for developer tooling such as Studio. */
|
|
46
|
-
interface MemoryInspector {
|
|
47
|
-
listConversations(options: MemoryConversationListOptions): Promise<MemoryConversationSummary[]>;
|
|
48
|
-
getConversation(ref: string): Promise<MemoryConversation | undefined>;
|
|
49
|
-
}
|
|
50
|
-
interface MemoryStore {
|
|
51
|
-
readonly inspector?: MemoryInspector | undefined;
|
|
52
|
-
load(context: MemoryContext): Promise<Message[]>;
|
|
53
|
-
append(input: MemoryAppendInput): Promise<void>;
|
|
54
|
-
clear(context: MemoryContext): Promise<void>;
|
|
55
|
-
recordError?(input: MemoryErrorInput): Promise<void>;
|
|
56
|
-
}
|
|
57
|
-
type MemoryOptions = {
|
|
58
|
-
savePolicy?: MemorySavePolicy | undefined;
|
|
59
|
-
};
|
|
60
|
-
type ResolvedMemoryOptions = {
|
|
61
|
-
savePolicy: MemorySavePolicy;
|
|
62
|
-
};
|
|
63
|
-
type MemoryRegistration = {
|
|
64
|
-
store: MemoryStore;
|
|
65
|
-
options: ResolvedMemoryOptions;
|
|
66
|
-
};
|
|
67
|
-
type SessionOptions = {
|
|
68
|
-
userId?: string | undefined;
|
|
69
|
-
metadata?: JsonObject | undefined;
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
export type { MemoryConversation as M, ResolvedMemoryOptions as R, SessionOptions as S, MemoryConversationListOptions as a, MemoryConversationMessage as b, MemoryConversationSummary as c, MemoryInspector as d, MemoryStore as e, MemoryOptions as f, MemoryAppendInput as g, MemoryContext as h, MemoryErrorInput as i, MemoryRegistration as j, MemorySavePolicy as k };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|