@nuvin/nuvin-core 2.0.0-rc.6 → 2.0.0-rc.7

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/VERSION CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "2.0.0-rc.6",
3
- "commit": "935c0b3"
2
+ "version": "2.0.0-rc.7",
3
+ "commit": "2f32e76"
4
4
  }
package/dist/index.d.ts CHANGED
@@ -971,6 +971,7 @@ declare const AgentEventTypes: {
971
971
  readonly SubAgentMetrics: "sub_agent_metrics";
972
972
  readonly UserQuestionRequired: "user_question_required";
973
973
  readonly UserQuestionResponse: "user_question_response";
974
+ readonly ToolOutputChunk: "tool_output_chunk";
974
975
  };
975
976
  type ToolApprovalDecision = 'approve' | 'deny' | 'approve_all' | 'edit';
976
977
  type AgentEvent = {
@@ -1107,6 +1108,13 @@ type AgentEvent = {
1107
1108
  messageId: string;
1108
1109
  questionId: string;
1109
1110
  answers: Record<string, string | string[]>;
1111
+ } | {
1112
+ type: typeof AgentEventTypes.ToolOutputChunk;
1113
+ conversationId: string;
1114
+ messageId: string;
1115
+ toolCallId: string;
1116
+ content: string;
1117
+ totalLines: number;
1110
1118
  };
1111
1119
  interface EventPort {
1112
1120
  emit(event: AgentEvent): void | Promise<void>;
@@ -1790,6 +1798,7 @@ type ToolExecutionContext = {
1790
1798
  workspaceDir?: string;
1791
1799
  delegationDepth?: number;
1792
1800
  messageId?: string;
1801
+ toolCallId?: string;
1793
1802
  eventPort?: EventPort;
1794
1803
  signal?: AbortSignal;
1795
1804
  waitForUserQuestion?: (questionId: string, questions: Array<{