@deep-eye/core 1.2.59 → 1.2.61
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/CHANGELOG.md +17 -0
- package/dist/components/chat/assistantDisplay.d.ts +6 -0
- package/dist/components/chat/assistantDisplay.d.ts.map +1 -1
- package/dist/components/chat/components/ChatToolGroup.vue.d.ts +6 -0
- package/dist/components/chat/components/ChatToolGroup.vue.d.ts.map +1 -1
- package/dist/components/chat/components/MessageBubble.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ToolCallPart.vue.d.ts.map +1 -1
- package/dist/index.cjs +85 -85
- package/dist/index.js +7666 -7626
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
`@deep-eye/core` 的用户可见变更(语义化版本)。
|
|
4
4
|
|
|
5
|
+
## [1.2.61] - 2026-08-17
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- `consumeResponseStream`:为空字段兜底——`reasoning.summary` / `message.content` / `function_call.arguments` 为 `null`,以及 `reasoning_summary_part` / `content_part` 的 `text: null`,避免协议校验中断。
|
|
10
|
+
- `ToolCallPart`:`tool-call-part__summary` 改为 `flex: 0 1 auto` + `text-align: start`,并接入 `--tool-name-col-width`,避免多段 detail 被拉开到两端。
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Provider Action Protocol `<summary>`:正文仍剥离;有后续工具调用时,摘要显示在 `ChatToolGroup` 顶部一行(`chat-tool-group__summary`),**不**占用每行 `tool-call-part__summary`(该槽位继续展示工具参数)。
|
|
15
|
+
|
|
16
|
+
## [1.2.60] - 2026-08-17
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- `consumeResponseStream`:兼容 `response.output_item.added` 中 `message.content` / `function_call.arguments` 为 `null` 的情况(分别按 `[]` / `""` 处理),避免抛出 `message.content must be an array`。
|
|
21
|
+
|
|
5
22
|
## [1.2.59] - 2026-08-17
|
|
6
23
|
|
|
7
24
|
### Fixed
|
|
@@ -3,4 +3,10 @@
|
|
|
3
3
|
* blocks so Markdown renders correctly and runtime markers never flash.
|
|
4
4
|
*/
|
|
5
5
|
export declare function getAssistantDisplayContent(content: string | undefined): string;
|
|
6
|
+
/**
|
|
7
|
+
* Extract the Action Protocol `<summary>…</summary>` snapshot from assistant
|
|
8
|
+
* `output_text`. Used as a one-line intent above a following tool group — not
|
|
9
|
+
* as per-tool `tool-call-part__summary` (that slot stays reserved for args).
|
|
10
|
+
*/
|
|
11
|
+
export declare function extractAssistantProviderSummary(content: string | undefined): string;
|
|
6
12
|
//# sourceMappingURL=assistantDisplay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assistantDisplay.d.ts","sourceRoot":"","sources":["../../../src/components/chat/assistantDisplay.ts"],"names":[],"mappings":"AAWA;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAG9E"}
|
|
1
|
+
{"version":3,"file":"assistantDisplay.d.ts","sourceRoot":"","sources":["../../../src/components/chat/assistantDisplay.ts"],"names":[],"mappings":"AAWA;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAG9E;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAInF"}
|
|
@@ -5,6 +5,12 @@ type __VLS_Props = {
|
|
|
5
5
|
toolMessages?: readonly ToolMessage[];
|
|
6
6
|
toolStates?: ChatToolStates;
|
|
7
7
|
streaming?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Action Protocol `<summary>` peeled from the preceding content step.
|
|
10
|
+
* Shown once above the rows — not on each `tool-call-part__summary`
|
|
11
|
+
* (that stays reserved for tool-argument detail).
|
|
12
|
+
*/
|
|
13
|
+
summary?: string;
|
|
8
14
|
};
|
|
9
15
|
type __VLS_Slots = {
|
|
10
16
|
default?: (props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatToolGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatToolGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatToolGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatToolGroup.vue"],"names":[],"mappings":"AAuHA,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,WAAW,EACZ,MAAM,UAAU,CAAA;AAEjB,OAAO,6BAA6B,CAAA;AAEpC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,SAAS,oBAAoB,EAAE,CAAA;IAC1C,YAAY,CAAC,EAAE,SAAS,WAAW,EAAE,CAAA;IACrC,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAC;AAGF,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE;QAChB,QAAQ,EAAE,oBAAoB,CAAA;QAC9B,WAAW,CAAC,EAAE,WAAW,CAAA;QACzB,SAAS,EAAE,OAAO,CAAA;KACnB,KAAK,OAAO,CAAA;CACd,CAAC;AAkIF,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageBubble.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/MessageBubble.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageBubble.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/MessageBubble.vue"],"names":[],"mappings":"AA4mBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAYnC,OAAO,6BAA6B,CAAA;AACpC,OAAO,KAAK,EACV,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,EAChB,qBAAqB,EACrB,cAAc,EAKd,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACpB,WAAW,EACZ,MAAM,UAAU,CAAA;AA4CjB,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,MAAM,OAAO,CAAA;IAC7B,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAA;IAClC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE;QAChB,OAAO,EAAE,mBAAmB,CAAA;QAC5B,OAAO,EAAE,MAAM,CAAA;QACf,WAAW,EAAE,OAAO,CAAA;KACrB,KAAK,OAAO,CAAA;IACb,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE;QAClB,OAAO,EAAE,mBAAmB,CAAA;QAC5B,MAAM,EAAE,OAAO,CAAA;QACf,UAAU,EAAE,OAAO,CAAA;QACnB,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KAC1B,KAAK,OAAO,CAAA;IACb,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE;QACb,QAAQ,EAAE,oBAAoB,CAAA;QAC9B,WAAW,CAAC,EAAE,WAAW,CAAA;QACzB,SAAS,EAAE,OAAO,CAAA;KACnB,KAAK,OAAO,CAAA;CACd,CAAC;AAsrBF,QAAA,MAAM,UAAU;;cAII,QAAQ,CAAC,mBAAmB,CAAC;;;;;;;;cAQ9B,QAAQ,CAAC,SAAS,WAAW,EAAE,CAAC;;;;cAI/B,QAAQ,CAAC,iBAAiB,CAAC;;;;;;;;;;;;cAY3B,QAAQ,CAAC,cAAc,CAAC;;;;cAIzB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;cA5BjB,QAAQ,CAAC,mBAAmB,CAAC;;;;;;;;cAQ9B,QAAQ,CAAC,SAAS,WAAW,EAAE,CAAC;;;;cAI/B,QAAQ,CAAC,iBAAiB,CAAC;;;;;;;;;;;;cAY3B,QAAQ,CAAC,cAAc,CAAC;;;;cAIzB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;4EAQnC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolCallPart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ToolCallPart.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToolCallPart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ToolCallPart.vue"],"names":[],"mappings":"AA88BA,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAgB3E,OAAO,KAAK,EACV,qBAAqB,EACrB,aAAa,EACb,oBAAoB,EAEpB,WAAW,EACZ,MAAM,UAAU,CAAA;AACjB,OAAO,yBAAyB,CAAA;AAiBhC,OAAO,6BAA6B,CAAA;AAMpC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AA6xBF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|