@astralform/js 4.7.0 → 4.8.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 +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -1
- package/dist/index.d.ts +27 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1084,6 +1084,16 @@ function translateCustomEvent(name, data) {
|
|
|
1084
1084
|
type: "todo_update",
|
|
1085
1085
|
todos: data.todos ?? []
|
|
1086
1086
|
};
|
|
1087
|
+
case "plan_update":
|
|
1088
|
+
return {
|
|
1089
|
+
type: "plan_update",
|
|
1090
|
+
plan: data.plan ?? ""
|
|
1091
|
+
};
|
|
1092
|
+
case "note_update":
|
|
1093
|
+
return {
|
|
1094
|
+
type: "note_update",
|
|
1095
|
+
notes: data.notes ?? []
|
|
1096
|
+
};
|
|
1087
1097
|
case "context_update":
|
|
1088
1098
|
return {
|
|
1089
1099
|
type: "context_update",
|
|
@@ -2075,6 +2085,8 @@ var ChatEventType = {
|
|
|
2075
2085
|
UserMessage: "user_message",
|
|
2076
2086
|
TitleGenerated: "title_generated",
|
|
2077
2087
|
TodoUpdate: "todo_update",
|
|
2088
|
+
PlanUpdate: "plan_update",
|
|
2089
|
+
NoteUpdate: "note_update",
|
|
2078
2090
|
ContextUpdate: "context_update",
|
|
2079
2091
|
SubagentStart: "subagent_start",
|
|
2080
2092
|
SubagentStop: "subagent_stop",
|