@astralform/js 8.5.0 → 9.0.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/index.cjs +0 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -25
- package/dist/index.d.ts +8 -25
- package/dist/index.js +0 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -350,7 +350,6 @@ var ChatEventType = {
|
|
|
350
350
|
AssetCreated: "asset_created",
|
|
351
351
|
ToolApprovalRequested: "tool_approval_requested",
|
|
352
352
|
ToolApprovalGranted: "tool_approval_granted",
|
|
353
|
-
ToolPermissionDenied: "tool_permission_denied",
|
|
354
353
|
ToolHarnessWarning: "tool_harness_warning",
|
|
355
354
|
ToolProgress: "tool_progress",
|
|
356
355
|
NestedLlmUsage: "nested_llm_usage",
|
|
@@ -1578,14 +1577,6 @@ function translateCustomEvent(name, data) {
|
|
|
1578
1577
|
toolName: data.tool_name ?? "",
|
|
1579
1578
|
callId: data.call_id ?? ""
|
|
1580
1579
|
};
|
|
1581
|
-
case "tool_permission_denied":
|
|
1582
|
-
return {
|
|
1583
|
-
type: "tool_permission_denied",
|
|
1584
|
-
toolName: data.tool_name ?? "",
|
|
1585
|
-
callId: data.call_id ?? "",
|
|
1586
|
-
reason: data.reason ?? null,
|
|
1587
|
-
deniedBy: data.denied_by ?? null
|
|
1588
|
-
};
|
|
1589
1580
|
case "tool_harness_warning":
|
|
1590
1581
|
return {
|
|
1591
1582
|
type: "tool_harness_warning",
|