@anvia/core 0.20.0 → 0.21.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.js +7 -7
- package/dist/{chunk-GKPJ6FUL.js → chunk-3IYTCGHS.js} +5 -5
- package/dist/{chunk-MB55EXYB.js → chunk-6X2UTX3L.js} +5 -5
- package/dist/{chunk-4BGN6PYF.js → chunk-MELYDKWQ.js} +4 -4
- package/dist/{chunk-6GIREB6Z.js → chunk-N3YV3WCO.js} +4 -4
- package/dist/{chunk-BCA4VZ5W.js → chunk-NCPN4SJR.js} +2 -2
- package/dist/{chunk-EOIQXFGK.js → chunk-WHAPIIEZ.js} +3 -3
- package/dist/{chunk-47UWISJU.js → chunk-ZSTUMG7G.js} +4 -4
- package/dist/evals/index.js +10 -10
- package/dist/extractor/index.js +8 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/internal/agent.js +6 -6
- package/dist/request/index.js +5 -5
- package/dist/skills/index.js +5 -5
- package/dist/tool/index.js +4 -4
- package/dist/ui/index.d.ts +6 -1
- package/dist/vector-store/index.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-GKPJ6FUL.js.map → chunk-3IYTCGHS.js.map} +0 -0
- /package/dist/{chunk-MB55EXYB.js.map → chunk-6X2UTX3L.js.map} +0 -0
- /package/dist/{chunk-4BGN6PYF.js.map → chunk-MELYDKWQ.js.map} +0 -0
- /package/dist/{chunk-6GIREB6Z.js.map → chunk-N3YV3WCO.js.map} +0 -0
- /package/dist/{chunk-BCA4VZ5W.js.map → chunk-NCPN4SJR.js.map} +0 -0
- /package/dist/{chunk-EOIQXFGK.js.map → chunk-WHAPIIEZ.js.map} +0 -0
- /package/dist/{chunk-47UWISJU.js.map → chunk-ZSTUMG7G.js.map} +0 -0
package/dist/agent/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentBuilder
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-WHAPIIEZ.js";
|
|
4
|
+
import "../chunk-N3YV3WCO.js";
|
|
5
|
+
import "../chunk-3IYTCGHS.js";
|
|
6
6
|
import "../chunk-YK4WAAS4.js";
|
|
7
7
|
import "../chunk-XUUY2L2D.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-6X2UTX3L.js";
|
|
9
|
+
import "../chunk-MELYDKWQ.js";
|
|
10
10
|
import "../chunk-2ODTMRHP.js";
|
|
11
11
|
import "../chunk-ZNTIUOKL.js";
|
|
12
12
|
import "../chunk-TGLNXVII.js";
|
|
13
|
+
import "../chunk-MNWK2USR.js";
|
|
14
|
+
import "../chunk-OIMLU4SF.js";
|
|
13
15
|
import "../chunk-MTGNA4OS.js";
|
|
14
16
|
import "../chunk-F56AMXMQ.js";
|
|
15
17
|
import "../chunk-PJDL5UT2.js";
|
|
16
18
|
import "../chunk-WQKHFADH.js";
|
|
17
|
-
import "../chunk-MNWK2USR.js";
|
|
18
|
-
import "../chunk-OIMLU4SF.js";
|
|
19
19
|
import "../chunk-CWUJUSOS.js";
|
|
20
20
|
export {
|
|
21
21
|
AgentBuilder
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
parseToolArgs,
|
|
6
6
|
toolResultContentToText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6X2UTX3L.js";
|
|
8
8
|
import {
|
|
9
9
|
runControl,
|
|
10
10
|
toolCallControl
|
|
@@ -15,6 +15,9 @@ import {
|
|
|
15
15
|
createMemoryCompactionSummary,
|
|
16
16
|
cumulativeCompactedMessageCount
|
|
17
17
|
} from "./chunk-TGLNXVII.js";
|
|
18
|
+
import {
|
|
19
|
+
mapWithConcurrency
|
|
20
|
+
} from "./chunk-OIMLU4SF.js";
|
|
18
21
|
import {
|
|
19
22
|
CompletionRequestBuilder
|
|
20
23
|
} from "./chunk-MTGNA4OS.js";
|
|
@@ -30,9 +33,6 @@ import {
|
|
|
30
33
|
getAssistantGenerationMetadata,
|
|
31
34
|
textFromAssistantContent
|
|
32
35
|
} from "./chunk-PJDL5UT2.js";
|
|
33
|
-
import {
|
|
34
|
-
mapWithConcurrency
|
|
35
|
-
} from "./chunk-OIMLU4SF.js";
|
|
36
36
|
import {
|
|
37
37
|
appendGuardrailPolicies,
|
|
38
38
|
hasEnforcedOutputGuardrails,
|
|
@@ -2722,4 +2722,4 @@ export {
|
|
|
2722
2722
|
extractRagText,
|
|
2723
2723
|
PromptRequest
|
|
2724
2724
|
};
|
|
2725
|
-
//# sourceMappingURL=chunk-
|
|
2725
|
+
//# sourceMappingURL=chunk-3IYTCGHS.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InMemoryVectorStore,
|
|
3
3
|
createTool
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MELYDKWQ.js";
|
|
5
|
+
import {
|
|
6
|
+
embedDocuments
|
|
7
|
+
} from "./chunk-MNWK2USR.js";
|
|
5
8
|
import {
|
|
6
9
|
isToolResultContentArray,
|
|
7
10
|
serializeToolResultOutput
|
|
8
11
|
} from "./chunk-PJDL5UT2.js";
|
|
9
|
-
import {
|
|
10
|
-
embedDocuments
|
|
11
|
-
} from "./chunk-MNWK2USR.js";
|
|
12
12
|
|
|
13
13
|
// src/tool/errors.ts
|
|
14
14
|
var ToolCallError = class extends Error {
|
|
@@ -220,4 +220,4 @@ export {
|
|
|
220
220
|
createMiddleware,
|
|
221
221
|
createThinkTool
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-6X2UTX3L.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
toProviderJsonSchema
|
|
3
|
-
} from "./chunk-WQKHFADH.js";
|
|
4
1
|
import {
|
|
5
2
|
cosineSimilarity,
|
|
6
3
|
embedText
|
|
7
4
|
} from "./chunk-MNWK2USR.js";
|
|
5
|
+
import {
|
|
6
|
+
toProviderJsonSchema
|
|
7
|
+
} from "./chunk-WQKHFADH.js";
|
|
8
8
|
|
|
9
9
|
// src/vector-store/index.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -334,4 +334,4 @@ export {
|
|
|
334
334
|
InMemoryVectorIndex,
|
|
335
335
|
createVectorSearchTool
|
|
336
336
|
};
|
|
337
|
-
//# sourceMappingURL=chunk-
|
|
337
|
+
//# sourceMappingURL=chunk-MELYDKWQ.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PromptRequest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3IYTCGHS.js";
|
|
4
4
|
import {
|
|
5
5
|
isSkillTool
|
|
6
6
|
} from "./chunk-YK4WAAS4.js";
|
|
7
7
|
import {
|
|
8
8
|
ToolSet
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6X2UTX3L.js";
|
|
10
10
|
import {
|
|
11
11
|
createTool
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MELYDKWQ.js";
|
|
13
13
|
import {
|
|
14
14
|
isStreamingCompletionModel
|
|
15
15
|
} from "./chunk-F56AMXMQ.js";
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
Agent,
|
|
206
206
|
AgentSession
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-N3YV3WCO.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-YK4WAAS4.js";
|
|
7
7
|
import {
|
|
8
8
|
createTool
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MELYDKWQ.js";
|
|
10
10
|
|
|
11
11
|
// src/skills/instructions.ts
|
|
12
12
|
function skillInstructions(skills) {
|
|
@@ -395,4 +395,4 @@ export {
|
|
|
395
395
|
SkillValidationError,
|
|
396
396
|
skill
|
|
397
397
|
};
|
|
398
|
-
//# sourceMappingURL=chunk-
|
|
398
|
+
//# sourceMappingURL=chunk-NCPN4SJR.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Agent,
|
|
3
3
|
normalizeAgentId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N3YV3WCO.js";
|
|
5
5
|
import {
|
|
6
6
|
ToolSet
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6X2UTX3L.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveMemoryOptions
|
|
10
10
|
} from "./chunk-ZNTIUOKL.js";
|
|
@@ -217,4 +217,4 @@ var AgentBuilder = class {
|
|
|
217
217
|
export {
|
|
218
218
|
AgentBuilder
|
|
219
219
|
};
|
|
220
|
-
//# sourceMappingURL=chunk-
|
|
220
|
+
//# sourceMappingURL=chunk-WHAPIIEZ.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentBuilder
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WHAPIIEZ.js";
|
|
4
4
|
import {
|
|
5
5
|
extractRagText
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3IYTCGHS.js";
|
|
7
7
|
import {
|
|
8
8
|
createTool
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MELYDKWQ.js";
|
|
10
10
|
import {
|
|
11
11
|
CompletionRequestBuilder
|
|
12
12
|
} from "./chunk-MTGNA4OS.js";
|
|
@@ -138,4 +138,4 @@ export {
|
|
|
138
138
|
Extractor,
|
|
139
139
|
ExtractorBuilder
|
|
140
140
|
};
|
|
141
|
-
//# sourceMappingURL=chunk-
|
|
141
|
+
//# sourceMappingURL=chunk-ZSTUMG7G.js.map
|
package/dist/evals/index.js
CHANGED
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ExtractorBuilder
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-ZSTUMG7G.js";
|
|
4
|
+
import "../chunk-WHAPIIEZ.js";
|
|
5
|
+
import "../chunk-N3YV3WCO.js";
|
|
6
|
+
import "../chunk-3IYTCGHS.js";
|
|
7
7
|
import "../chunk-YK4WAAS4.js";
|
|
8
8
|
import "../chunk-XUUY2L2D.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-6X2UTX3L.js";
|
|
10
|
+
import "../chunk-MELYDKWQ.js";
|
|
11
11
|
import "../chunk-2ODTMRHP.js";
|
|
12
12
|
import "../chunk-ZNTIUOKL.js";
|
|
13
13
|
import "../chunk-TGLNXVII.js";
|
|
14
|
-
import "../chunk-MTGNA4OS.js";
|
|
15
|
-
import "../chunk-F56AMXMQ.js";
|
|
16
|
-
import "../chunk-PJDL5UT2.js";
|
|
17
|
-
import "../chunk-WQKHFADH.js";
|
|
18
14
|
import {
|
|
19
15
|
cosineSimilarity,
|
|
20
16
|
embedText
|
|
@@ -22,6 +18,10 @@ import {
|
|
|
22
18
|
import {
|
|
23
19
|
mapWithConcurrency
|
|
24
20
|
} from "../chunk-OIMLU4SF.js";
|
|
21
|
+
import "../chunk-MTGNA4OS.js";
|
|
22
|
+
import "../chunk-F56AMXMQ.js";
|
|
23
|
+
import "../chunk-PJDL5UT2.js";
|
|
24
|
+
import "../chunk-WQKHFADH.js";
|
|
25
25
|
import "../chunk-CWUJUSOS.js";
|
|
26
26
|
|
|
27
27
|
// src/evals/agent-target.ts
|
package/dist/extractor/index.js
CHANGED
|
@@ -2,23 +2,23 @@ import {
|
|
|
2
2
|
ExtractionError,
|
|
3
3
|
Extractor,
|
|
4
4
|
ExtractorBuilder
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-ZSTUMG7G.js";
|
|
6
|
+
import "../chunk-WHAPIIEZ.js";
|
|
7
|
+
import "../chunk-N3YV3WCO.js";
|
|
8
|
+
import "../chunk-3IYTCGHS.js";
|
|
9
9
|
import "../chunk-YK4WAAS4.js";
|
|
10
10
|
import "../chunk-XUUY2L2D.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-6X2UTX3L.js";
|
|
12
|
+
import "../chunk-MELYDKWQ.js";
|
|
13
13
|
import "../chunk-2ODTMRHP.js";
|
|
14
14
|
import "../chunk-ZNTIUOKL.js";
|
|
15
15
|
import "../chunk-TGLNXVII.js";
|
|
16
|
+
import "../chunk-MNWK2USR.js";
|
|
17
|
+
import "../chunk-OIMLU4SF.js";
|
|
16
18
|
import "../chunk-MTGNA4OS.js";
|
|
17
19
|
import "../chunk-F56AMXMQ.js";
|
|
18
20
|
import "../chunk-PJDL5UT2.js";
|
|
19
21
|
import "../chunk-WQKHFADH.js";
|
|
20
|
-
import "../chunk-MNWK2USR.js";
|
|
21
|
-
import "../chunk-OIMLU4SF.js";
|
|
22
22
|
import "../chunk-CWUJUSOS.js";
|
|
23
23
|
export {
|
|
24
24
|
ExtractionError,
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export { S as SkillValidationError } from './types-fBv8mhvP.js';
|
|
|
14
14
|
export { C as CreateToolOptions, c as createThinkTool, a as createTool } from './think-tool-CpCKo8Q8.js';
|
|
15
15
|
export { A as AnyTool, T as Tool, a as ToolApprovalContext, b as ToolApprovalDecision, c as ToolApprovalPolicy, d as ToolApprovalRequest, e as ToolApprovalsOptions, f as ToolCallContext, g as ToolCallStreamEvent } from './tool-Dhwg__1L.js';
|
|
16
16
|
export { A as AgentMiddleware, C as CompletionRequestMiddlewareArgs, a as CompletionRequestMiddlewareResult, b as CompletionResponseMiddlewareArgs, c as CompletionResponseMiddlewareResult, T as ToolInputMiddlewareArgs, d as ToolInputMiddlewareResult, e as ToolOutputMiddlewareArgs, f as ToolOutputMiddlewareResult, g as ToolResultMiddlewareArgs, h as createMiddleware } from './middleware-DfMc30in.js';
|
|
17
|
-
export { CreateUIAttachment, UIAttachment, UIError, UIMessage, UIMessagePart, UIMessageRole, UIStreamEvent, UIStreamRequest, coreMessagesToUIMessages, uiMessagesToCoreMessages } from './ui/index.js';
|
|
17
|
+
export { CreateUIAttachment, UIAttachment, UIError, UIMessage, UIMessagePart, UIMessageRole, UIStreamEvent, UIStreamRequest, UIStreamResume, coreMessagesToUIMessages, uiMessagesToCoreMessages } from './ui/index.js';
|
|
18
18
|
import './types-BCA8p0sb.js';
|
|
19
19
|
import './types-BBEf34DP.js';
|
|
20
20
|
import '@modelcontextprotocol/sdk/client/sse.js';
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SkillValidationError,
|
|
3
3
|
loadSkills,
|
|
4
4
|
skill
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NCPN4SJR.js";
|
|
6
6
|
import {
|
|
7
7
|
coreMessagesToUIMessages,
|
|
8
8
|
uiMessagesToCoreMessages
|
|
@@ -11,22 +11,22 @@ import "./chunk-CQNNSZPG.js";
|
|
|
11
11
|
import "./chunk-XWUC7CIT.js";
|
|
12
12
|
import {
|
|
13
13
|
AgentBuilder
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-WHAPIIEZ.js";
|
|
15
|
+
import "./chunk-N3YV3WCO.js";
|
|
16
16
|
import {
|
|
17
17
|
MaxTurnsError,
|
|
18
18
|
PromptCancelledError,
|
|
19
19
|
ToolApprovalRequiredError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3IYTCGHS.js";
|
|
21
21
|
import "./chunk-YK4WAAS4.js";
|
|
22
22
|
import "./chunk-XUUY2L2D.js";
|
|
23
23
|
import {
|
|
24
24
|
createMiddleware,
|
|
25
25
|
createThinkTool
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6X2UTX3L.js";
|
|
27
27
|
import {
|
|
28
28
|
createTool
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MELYDKWQ.js";
|
|
30
30
|
import {
|
|
31
31
|
cancelPrompt,
|
|
32
32
|
createHook,
|
|
@@ -42,6 +42,8 @@ import {
|
|
|
42
42
|
createSummaryMemoryCompactor,
|
|
43
43
|
isMemoryCompactionSummary
|
|
44
44
|
} from "./chunk-TGLNXVII.js";
|
|
45
|
+
import "./chunk-MNWK2USR.js";
|
|
46
|
+
import "./chunk-OIMLU4SF.js";
|
|
45
47
|
import "./chunk-MTGNA4OS.js";
|
|
46
48
|
import {
|
|
47
49
|
createCompletion,
|
|
@@ -59,8 +61,6 @@ import {
|
|
|
59
61
|
isProviderTool
|
|
60
62
|
} from "./chunk-PJDL5UT2.js";
|
|
61
63
|
import "./chunk-WQKHFADH.js";
|
|
62
|
-
import "./chunk-MNWK2USR.js";
|
|
63
|
-
import "./chunk-OIMLU4SF.js";
|
|
64
64
|
import {
|
|
65
65
|
allow,
|
|
66
66
|
block,
|
package/dist/internal/agent.js
CHANGED
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
Agent,
|
|
3
3
|
AgentSession,
|
|
4
4
|
DEFAULT_MAX_TURNS
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-N3YV3WCO.js";
|
|
6
|
+
import "../chunk-3IYTCGHS.js";
|
|
7
7
|
import "../chunk-YK4WAAS4.js";
|
|
8
8
|
import "../chunk-XUUY2L2D.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-6X2UTX3L.js";
|
|
10
|
+
import "../chunk-MELYDKWQ.js";
|
|
11
11
|
import "../chunk-2ODTMRHP.js";
|
|
12
12
|
import "../chunk-TGLNXVII.js";
|
|
13
|
+
import "../chunk-MNWK2USR.js";
|
|
14
|
+
import "../chunk-OIMLU4SF.js";
|
|
13
15
|
import "../chunk-MTGNA4OS.js";
|
|
14
16
|
import "../chunk-F56AMXMQ.js";
|
|
15
17
|
import "../chunk-PJDL5UT2.js";
|
|
16
18
|
import "../chunk-WQKHFADH.js";
|
|
17
|
-
import "../chunk-MNWK2USR.js";
|
|
18
|
-
import "../chunk-OIMLU4SF.js";
|
|
19
19
|
import "../chunk-CWUJUSOS.js";
|
|
20
20
|
export {
|
|
21
21
|
Agent,
|
package/dist/request/index.js
CHANGED
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
PromptCancelledError,
|
|
4
4
|
PromptRequest,
|
|
5
5
|
ToolApprovalRequiredError
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-3IYTCGHS.js";
|
|
7
7
|
import "../chunk-XUUY2L2D.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-6X2UTX3L.js";
|
|
9
|
+
import "../chunk-MELYDKWQ.js";
|
|
10
10
|
import "../chunk-2ODTMRHP.js";
|
|
11
11
|
import "../chunk-TGLNXVII.js";
|
|
12
|
+
import "../chunk-MNWK2USR.js";
|
|
13
|
+
import "../chunk-OIMLU4SF.js";
|
|
12
14
|
import "../chunk-MTGNA4OS.js";
|
|
13
15
|
import "../chunk-F56AMXMQ.js";
|
|
14
16
|
import "../chunk-PJDL5UT2.js";
|
|
15
17
|
import "../chunk-WQKHFADH.js";
|
|
16
|
-
import "../chunk-MNWK2USR.js";
|
|
17
|
-
import "../chunk-OIMLU4SF.js";
|
|
18
18
|
import "../chunk-CWUJUSOS.js";
|
|
19
19
|
export {
|
|
20
20
|
MaxTurnsError,
|
package/dist/skills/index.js
CHANGED
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
SkillValidationError,
|
|
3
3
|
loadSkills,
|
|
4
4
|
skill
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-NCPN4SJR.js";
|
|
6
6
|
import "../chunk-CQNNSZPG.js";
|
|
7
7
|
import "../chunk-YK4WAAS4.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-PJDL5UT2.js";
|
|
11
|
-
import "../chunk-WQKHFADH.js";
|
|
8
|
+
import "../chunk-6X2UTX3L.js";
|
|
9
|
+
import "../chunk-MELYDKWQ.js";
|
|
12
10
|
import "../chunk-MNWK2USR.js";
|
|
13
11
|
import "../chunk-OIMLU4SF.js";
|
|
12
|
+
import "../chunk-PJDL5UT2.js";
|
|
13
|
+
import "../chunk-WQKHFADH.js";
|
|
14
14
|
export {
|
|
15
15
|
SkillValidationError,
|
|
16
16
|
loadSkills,
|
package/dist/tool/index.js
CHANGED
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
normalizeToolResultOutput,
|
|
13
13
|
parseToolArgs,
|
|
14
14
|
toolResultContentToText
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-6X2UTX3L.js";
|
|
16
16
|
import {
|
|
17
17
|
createTool
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-MELYDKWQ.js";
|
|
19
|
+
import "../chunk-MNWK2USR.js";
|
|
20
|
+
import "../chunk-OIMLU4SF.js";
|
|
19
21
|
import {
|
|
20
22
|
isToolResultContentArray,
|
|
21
23
|
serializeToolResultOutput
|
|
22
24
|
} from "../chunk-PJDL5UT2.js";
|
|
23
25
|
import "../chunk-WQKHFADH.js";
|
|
24
|
-
import "../chunk-MNWK2USR.js";
|
|
25
|
-
import "../chunk-OIMLU4SF.js";
|
|
26
26
|
export {
|
|
27
27
|
ToolCallError,
|
|
28
28
|
ToolJsonError,
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -62,10 +62,15 @@ type UIMessagePart = {
|
|
|
62
62
|
type UIToolMessagePart = Extract<UIMessagePart, {
|
|
63
63
|
type: "tool";
|
|
64
64
|
}>;
|
|
65
|
+
type UIStreamResume = {
|
|
66
|
+
streamId: string;
|
|
67
|
+
after: number;
|
|
68
|
+
};
|
|
65
69
|
type UIStreamRequest = {
|
|
66
70
|
messages: Message[];
|
|
67
71
|
stream: true;
|
|
68
72
|
metadata?: JsonValue;
|
|
73
|
+
resume?: UIStreamResume;
|
|
69
74
|
};
|
|
70
75
|
type UIStreamEvent = {
|
|
71
76
|
type: "message_start";
|
|
@@ -98,4 +103,4 @@ type UIStreamEvent = {
|
|
|
98
103
|
declare function uiMessagesToCoreMessages(messages: UIMessage[]): Message[];
|
|
99
104
|
declare function coreMessagesToUIMessages(messages: Message[]): UIMessage[];
|
|
100
105
|
|
|
101
|
-
export { type CreateUIAttachment, type UIAttachment, type UIError, type UIMessage, type UIMessagePart, type UIMessageRole, type UIStreamEvent, type UIStreamRequest, coreMessagesToUIMessages, uiMessagesToCoreMessages };
|
|
106
|
+
export { type CreateUIAttachment, type UIAttachment, type UIError, type UIMessage, type UIMessagePart, type UIMessageRole, type UIStreamEvent, type UIStreamRequest, type UIStreamResume, coreMessagesToUIMessages, uiMessagesToCoreMessages };
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
InMemoryVectorStore,
|
|
4
4
|
createVectorSearchTool,
|
|
5
5
|
vectorFilter
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-WQKHFADH.js";
|
|
6
|
+
} from "../chunk-MELYDKWQ.js";
|
|
8
7
|
import "../chunk-MNWK2USR.js";
|
|
9
8
|
import "../chunk-OIMLU4SF.js";
|
|
9
|
+
import "../chunk-WQKHFADH.js";
|
|
10
10
|
export {
|
|
11
11
|
InMemoryVectorIndex,
|
|
12
12
|
InMemoryVectorStore,
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|