@agentscope-ai/agentscope 0.0.4 → 0.0.5

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.
Files changed (43) hide show
  1. package/dist/agent/index.d.mts +7 -7
  2. package/dist/agent/index.d.ts +7 -7
  3. package/dist/agent/index.js.map +1 -1
  4. package/dist/agent/index.mjs.map +1 -1
  5. package/dist/{base-ClilytRZ.d.mts → base-BB9eTlit.d.mts} +1 -1
  6. package/dist/{base-B_MQMHWr.d.mts → base-BDyDUIhj.d.mts} +3 -3
  7. package/dist/{base-1YVBgB4n.d.mts → base-BI5s2ksj.d.mts} +2 -2
  8. package/dist/{base-ChWjyzPL.d.ts → base-CFDeoJRe.d.ts} +2 -2
  9. package/dist/{base-CY4DMBH1.d.ts → base-DHtZCg94.d.ts} +1 -1
  10. package/dist/{base-BherSLRs.d.ts → base-qmU135_k.d.ts} +3 -3
  11. package/dist/{block-B72uPF1H.d.mts → block-BqWf-Qcb.d.mts} +15 -1
  12. package/dist/{block-B72uPF1H.d.ts → block-BqWf-Qcb.d.ts} +15 -1
  13. package/dist/event/index.d.mts +1 -14
  14. package/dist/event/index.d.ts +1 -14
  15. package/dist/formatter/index.d.mts +3 -3
  16. package/dist/formatter/index.d.ts +3 -3
  17. package/dist/formatter/index.js.map +1 -1
  18. package/dist/formatter/index.mjs.map +1 -1
  19. package/dist/{index-BNfyKbQN.d.ts → index-9YC8onn7.d.ts} +1 -1
  20. package/dist/{index-UQCwdfet.d.mts → index-DpRGxYeT.d.mts} +1 -1
  21. package/dist/mcp/index.d.mts +2 -2
  22. package/dist/mcp/index.d.ts +2 -2
  23. package/dist/message/index.d.mts +2 -2
  24. package/dist/message/index.d.ts +2 -2
  25. package/dist/message/index.js +17 -1
  26. package/dist/message/index.js.map +1 -1
  27. package/dist/message/index.mjs +17 -1
  28. package/dist/message/index.mjs.map +1 -1
  29. package/dist/{message-DgpfAaHK.d.mts → message-D-LObC06.d.mts} +1 -1
  30. package/dist/{message-CPZd0NIc.d.ts → message-DU0_qm3u.d.ts} +1 -1
  31. package/dist/model/index.d.mts +5 -5
  32. package/dist/model/index.d.ts +5 -5
  33. package/dist/model/index.js.map +1 -1
  34. package/dist/model/index.mjs.map +1 -1
  35. package/dist/storage/index.d.mts +3 -3
  36. package/dist/storage/index.d.ts +3 -3
  37. package/dist/tool/index.d.mts +4 -4
  38. package/dist/tool/index.d.ts +4 -4
  39. package/dist/{toolkit-DeOlul5Y.d.ts → toolkit-CLGa-xW0.d.ts} +2 -2
  40. package/dist/{toolkit-jwe7NmVJ.d.mts → toolkit-DvER4yhm.d.mts} +2 -2
  41. package/package.json +1 -1
  42. package/src/message/block.ts +3 -0
  43. package/src/message/message.ts +19 -1
@@ -1,5 +1,5 @@
1
1
  import { J as JSONSerializableObject } from './index-CAxQAkiP.js';
2
- import { C as ContentBlock, T as TextBlock, a as ThinkingBlock, D as DataBlock, b as ToolCallBlock, d as ToolResultBlock } from './block-B72uPF1H.js';
2
+ import { C as ContentBlock, T as TextBlock, a as ThinkingBlock, D as DataBlock, b as ToolCallBlock, d as ToolResultBlock } from './block-BqWf-Qcb.js';
3
3
  import { AgentEvent } from './event/index.js';
4
4
 
5
5
  /** A chat message exchanged between agents or between an agent and a model. */
@@ -1,13 +1,13 @@
1
- import { C as ChatModelBase, c as ChatModelOptions, d as ChatModelRequestOptions, b as ChatResponse } from '../base-B_MQMHWr.mjs';
2
- export { a as ChatUsage } from '../base-B_MQMHWr.mjs';
1
+ import { C as ChatModelBase, c as ChatModelOptions, d as ChatModelRequestOptions, b as ChatResponse } from '../base-BDyDUIhj.mjs';
2
+ export { a as ChatUsage } from '../base-BDyDUIhj.mjs';
3
3
  import { a as ToolChoice, T as ToolSchema } from '../index-CAxQAkiP.mjs';
4
- import { b as ToolCallBlock, T as TextBlock, a as ThinkingBlock } from '../block-B72uPF1H.mjs';
4
+ import { b as ToolCallBlock, T as TextBlock, a as ThinkingBlock } from '../block-BqWf-Qcb.mjs';
5
5
  import { Ollama, AbortableAsyncIterator, ChatResponse as ChatResponse$1 } from 'ollama';
6
6
  import { OpenAI } from 'openai';
7
7
  import { ChatCompletionMessageParam, ChatCompletionToolChoiceOption } from 'openai/resources/chat/completions';
8
8
  import 'zod';
9
- import '../base-1YVBgB4n.mjs';
10
- import '../message-DgpfAaHK.mjs';
9
+ import '../base-BI5s2ksj.mjs';
10
+ import '../message-D-LObC06.mjs';
11
11
  import '../event/index.mjs';
12
12
 
13
13
  interface DashScopeThinkingConfig {
@@ -1,13 +1,13 @@
1
- import { C as ChatModelBase, c as ChatModelOptions, d as ChatModelRequestOptions, b as ChatResponse } from '../base-BherSLRs.js';
2
- export { a as ChatUsage } from '../base-BherSLRs.js';
1
+ import { C as ChatModelBase, c as ChatModelOptions, d as ChatModelRequestOptions, b as ChatResponse } from '../base-qmU135_k.js';
2
+ export { a as ChatUsage } from '../base-qmU135_k.js';
3
3
  import { a as ToolChoice, T as ToolSchema } from '../index-CAxQAkiP.js';
4
- import { b as ToolCallBlock, T as TextBlock, a as ThinkingBlock } from '../block-B72uPF1H.js';
4
+ import { b as ToolCallBlock, T as TextBlock, a as ThinkingBlock } from '../block-BqWf-Qcb.js';
5
5
  import { Ollama, AbortableAsyncIterator, ChatResponse as ChatResponse$1 } from 'ollama';
6
6
  import { OpenAI } from 'openai';
7
7
  import { ChatCompletionMessageParam, ChatCompletionToolChoiceOption } from 'openai/resources/chat/completions';
8
8
  import 'zod';
9
- import '../base-ChWjyzPL.js';
10
- import '../message-CPZd0NIc.js';
9
+ import '../base-CFDeoJRe.js';
10
+ import '../message-DU0_qm3u.js';
11
11
  import '../event/index.js';
12
12
 
13
13
  interface DashScopeThinkingConfig {