@impulselab/hepha 0.2.609 → 0.2.610
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/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1910,6 +1910,7 @@ var HOST_TOOL_NAMES = {
|
|
|
1910
1910
|
// Outbound files: any format the human should keep, uploaded from the sandbox
|
|
1911
1911
|
// to durable storage and downloadable once the sandbox is gone.
|
|
1912
1912
|
ATTACH_FILE: "attach_file",
|
|
1913
|
+
SHOW_INTERACTIVE_VIEW: "show_interactive_view",
|
|
1913
1914
|
// Delegation: a task is the work, a session is one attempt at it. The agent
|
|
1914
1915
|
// describes the task and the PLATFORM dispatches it; these address the task,
|
|
1915
1916
|
// never a runner. Fire-and-forget, none of them park the turn.
|
|
@@ -2676,6 +2677,18 @@ function describeAttachFile(record, state) {
|
|
|
2676
2677
|
);
|
|
2677
2678
|
}
|
|
2678
2679
|
|
|
2680
|
+
// ../../packages/agents/src/tool-activity/interactive-view/describe-show-interactive-view.ts
|
|
2681
|
+
function describeShowInteractiveView(record, state) {
|
|
2682
|
+
const title = toolInput.trimmed(record.title);
|
|
2683
|
+
const subject = title ? `"${title}"` : "an interactive view";
|
|
2684
|
+
if (state.hasFailed) {
|
|
2685
|
+
return labelOnly(`Failed to show ${subject}`);
|
|
2686
|
+
}
|
|
2687
|
+
return labelOnly(
|
|
2688
|
+
state.isRunning ? `Showing ${subject}` : `Showed ${subject}`
|
|
2689
|
+
);
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2679
2692
|
// ../../packages/agents/src/teams/agent-task-update-constants.ts
|
|
2680
2693
|
var AGENT_TASK_UPDATE_ACTIONS = {
|
|
2681
2694
|
BLOCK: "block",
|
|
@@ -2867,6 +2880,7 @@ var canonicalToolActivityDescribers = new Map([
|
|
|
2867
2880
|
[HOST_TOOL_NAMES.RECORD_VIDEO, describeRecordVideo],
|
|
2868
2881
|
[HOST_TOOL_NAMES.ATTACH_IMAGE, describeAttachImage],
|
|
2869
2882
|
[HOST_TOOL_NAMES.ATTACH_FILE, describeAttachFile],
|
|
2883
|
+
[HOST_TOOL_NAMES.SHOW_INTERACTIVE_VIEW, describeShowInteractiveView],
|
|
2870
2884
|
[
|
|
2871
2885
|
HOST_TOOL_NAMES.GET_IMAGE_GENERATORS,
|
|
2872
2886
|
() => labelOnly("Listed the image models")
|