@yuku123/z-agent-frontend-component 0.1.1 → 0.2.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/z-agent-frontend-component.es.js +4445 -3762
- package/dist/z-agent-frontend-component.umd.js +11 -11
- package/package.json +1 -1
- package/src/api/index.js +1 -0
- package/src/index.js +4 -0
- package/src/pages/product/scene.jsx +1 -2
package/package.json
CHANGED
package/src/api/index.js
CHANGED
|
@@ -18,6 +18,7 @@ export const skillApi = makeApi('skillApi')
|
|
|
18
18
|
export const productApi = makeApi('productApi')
|
|
19
19
|
export const sceneApi = makeApi('sceneApi')
|
|
20
20
|
export const ossApi = makeApi('ossApi')
|
|
21
|
+
export const traceApi = makeApi('traceApi')
|
|
21
22
|
|
|
22
23
|
export {authRequest, ctcRequest}
|
|
23
24
|
export default request
|
package/src/index.js
CHANGED
|
@@ -68,6 +68,10 @@ export {default as ProductScene} from './pages/product/scene.jsx'
|
|
|
68
68
|
// 用量统计
|
|
69
69
|
export {default as UsageDashboard} from './pages/usage/index.jsx'
|
|
70
70
|
|
|
71
|
+
// Agent Trace 调试台 (FEATURE013 T7)
|
|
72
|
+
export {default as DebugPlayground} from './pages/trace/DebugPlayground.jsx'
|
|
73
|
+
export {default as TraceApp} from './pages/trace/index.jsx'
|
|
74
|
+
|
|
71
75
|
// API 客户端(也支持从 '@yuku123/z-agent-frontend-component/api' 单独 import)
|
|
72
76
|
export {
|
|
73
77
|
agentApi,
|
|
@@ -29,7 +29,6 @@ import {
|
|
|
29
29
|
EditOutlined,
|
|
30
30
|
EyeOutlined,
|
|
31
31
|
NodeIndexOutlined,
|
|
32
|
-
NodeOutlined,
|
|
33
32
|
PlayCircleOutlined,
|
|
34
33
|
PlusOutlined,
|
|
35
34
|
SettingOutlined,
|
|
@@ -235,7 +234,7 @@ const SceneTablePage = () => {
|
|
|
235
234
|
width: 100,
|
|
236
235
|
render: (val) => {
|
|
237
236
|
const map = {CONVERSATION: '对话', TASK: '任务', WORKFLOW: '工作流'}
|
|
238
|
-
return <Tag icon={<
|
|
237
|
+
return <Tag icon={<NodeIndexOutlined/>}>{map[val] || val}</Tag>
|
|
239
238
|
}
|
|
240
239
|
},
|
|
241
240
|
{
|