@nexface/tools 0.1.15-alpha.11 → 0.1.15-alpha.13
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/operation-surface.js +1 -1
- package/dist/operation-view.js +1 -1
- package/dist/styles.css +2 -2
- package/package.json +1 -1
|
@@ -161,7 +161,7 @@ function OperationSurfaceContent({ toolRuntime, element, }) {
|
|
|
161
161
|
const entries = current.scope === scope ? current.entries : [];
|
|
162
162
|
const entry = {
|
|
163
163
|
toolCallId: event.id,
|
|
164
|
-
progressLabel: `${event.progressLabel || "正在处理你的请求"} · ${event.cancelled ? "已取消" : event.status === "running" ? "执行中" : event.status === "success" ? "已完成" : "
|
|
164
|
+
progressLabel: `${event.progressLabel || "正在处理你的请求"} · ${event.cancelled ? "已取消" : event.status === "running" ? "执行中" : event.status === "success" ? "已完成" : "Failed"}`,
|
|
165
165
|
};
|
|
166
166
|
return {
|
|
167
167
|
scope,
|
package/dist/operation-view.js
CHANGED
|
@@ -302,7 +302,7 @@ export function OperationOverlayView({ operation, feedback, progressHistory = []
|
|
|
302
302
|
: {
|
|
303
303
|
running: "Agent 正在控制",
|
|
304
304
|
completed: running ? "工具已完成,任务继续中" : "操作已完成",
|
|
305
|
-
failed: running ? "Agent
|
|
305
|
+
failed: running ? "Agent is handling an error" : "Operation failed",
|
|
306
306
|
cancelled: "任务已终止",
|
|
307
307
|
}[operation.status];
|
|
308
308
|
const targetPosition = rect ? center(rect) : undefined;
|
package/dist/styles.css
CHANGED
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
position: fixed;
|
|
101
101
|
z-index: 1;
|
|
102
102
|
overflow: hidden;
|
|
103
|
-
border:
|
|
103
|
+
border: 0;
|
|
104
104
|
border-radius: 10px;
|
|
105
105
|
background: transparent;
|
|
106
106
|
pointer-events: none;
|
|
@@ -877,7 +877,7 @@
|
|
|
877
877
|
text-shadow: none;
|
|
878
878
|
}
|
|
879
879
|
.agent-operation__target {
|
|
880
|
-
border:
|
|
880
|
+
border: 0;
|
|
881
881
|
border-radius: 10px;
|
|
882
882
|
box-shadow: 0 0 0 1px rgb(79 156 255 / 14%);
|
|
883
883
|
animation: store-operation-target-in 0.16s ease-out both;
|