@codelia/shared-types
Advanced tools
+18
-2
@@ -23,2 +23,3 @@ import { z } from 'zod'; | ||
| args: Record<string, unknown>; | ||
| raw_args?: string; | ||
| tool_call_id: string; | ||
@@ -35,2 +36,17 @@ display_name?: string; | ||
| }; | ||
| type PermissionPreviewEvent = { | ||
| type: "permission.preview"; | ||
| tool: string; | ||
| tool_call_id?: string; | ||
| file_path?: string; | ||
| language?: string; | ||
| diff?: string; | ||
| summary?: string; | ||
| truncated?: boolean; | ||
| }; | ||
| type PermissionReadyEvent = { | ||
| type: "permission.ready"; | ||
| tool: string; | ||
| tool_call_id?: string; | ||
| }; | ||
| type StepCompleteEvent = { | ||
@@ -59,3 +75,3 @@ type: "step_complete"; | ||
| }; | ||
| type AgentEvent = TextEvent | ReasoningEvent | StepStartEvent | ToolCallEvent | ToolResultEvent | StepCompleteEvent | CompactionStartEvent | CompactionCompleteEvent | HiddenUserMessageEvent | FinalResponseEvent; | ||
| type AgentEvent = TextEvent | ReasoningEvent | StepStartEvent | ToolCallEvent | ToolResultEvent | PermissionPreviewEvent | PermissionReadyEvent | StepCompleteEvent | CompactionStartEvent | CompactionCompleteEvent | HiddenUserMessageEvent | FinalResponseEvent; | ||
@@ -144,2 +160,2 @@ type SessionStateSummary = { | ||
| export { type AgentEvent, type CompactionCompleteEvent, type CompactionStartEvent, type FinalResponseEvent, type HiddenUserMessageEvent, type ReasoningEvent, type SessionStateSummary, type SkillCatalog, SkillCatalogSchema, type SkillLoadError, SkillLoadErrorSchema, type SkillMetadata, SkillMetadataSchema, type SkillScope, SkillScopeSchema, type SkillSearchReason, SkillSearchReasonSchema, type SkillSearchResult, SkillSearchResultSchema, type StepCompleteEvent, type StepStartEvent, type TextEvent, type ToolCallEvent, type ToolResultEvent }; | ||
| export { type AgentEvent, type CompactionCompleteEvent, type CompactionStartEvent, type FinalResponseEvent, type HiddenUserMessageEvent, type PermissionPreviewEvent, type PermissionReadyEvent, type ReasoningEvent, type SessionStateSummary, type SkillCatalog, SkillCatalogSchema, type SkillLoadError, SkillLoadErrorSchema, type SkillMetadata, SkillMetadataSchema, type SkillScope, SkillScopeSchema, type SkillSearchReason, SkillSearchReasonSchema, type SkillSearchResult, SkillSearchResultSchema, type StepCompleteEvent, type StepStartEvent, type TextEvent, type ToolCallEvent, type ToolResultEvent }; |
+18
-2
@@ -23,2 +23,3 @@ import { z } from 'zod'; | ||
| args: Record<string, unknown>; | ||
| raw_args?: string; | ||
| tool_call_id: string; | ||
@@ -35,2 +36,17 @@ display_name?: string; | ||
| }; | ||
| type PermissionPreviewEvent = { | ||
| type: "permission.preview"; | ||
| tool: string; | ||
| tool_call_id?: string; | ||
| file_path?: string; | ||
| language?: string; | ||
| diff?: string; | ||
| summary?: string; | ||
| truncated?: boolean; | ||
| }; | ||
| type PermissionReadyEvent = { | ||
| type: "permission.ready"; | ||
| tool: string; | ||
| tool_call_id?: string; | ||
| }; | ||
| type StepCompleteEvent = { | ||
@@ -59,3 +75,3 @@ type: "step_complete"; | ||
| }; | ||
| type AgentEvent = TextEvent | ReasoningEvent | StepStartEvent | ToolCallEvent | ToolResultEvent | StepCompleteEvent | CompactionStartEvent | CompactionCompleteEvent | HiddenUserMessageEvent | FinalResponseEvent; | ||
| type AgentEvent = TextEvent | ReasoningEvent | StepStartEvent | ToolCallEvent | ToolResultEvent | PermissionPreviewEvent | PermissionReadyEvent | StepCompleteEvent | CompactionStartEvent | CompactionCompleteEvent | HiddenUserMessageEvent | FinalResponseEvent; | ||
@@ -144,2 +160,2 @@ type SessionStateSummary = { | ||
| export { type AgentEvent, type CompactionCompleteEvent, type CompactionStartEvent, type FinalResponseEvent, type HiddenUserMessageEvent, type ReasoningEvent, type SessionStateSummary, type SkillCatalog, SkillCatalogSchema, type SkillLoadError, SkillLoadErrorSchema, type SkillMetadata, SkillMetadataSchema, type SkillScope, SkillScopeSchema, type SkillSearchReason, SkillSearchReasonSchema, type SkillSearchResult, SkillSearchResultSchema, type StepCompleteEvent, type StepStartEvent, type TextEvent, type ToolCallEvent, type ToolResultEvent }; | ||
| export { type AgentEvent, type CompactionCompleteEvent, type CompactionStartEvent, type FinalResponseEvent, type HiddenUserMessageEvent, type PermissionPreviewEvent, type PermissionReadyEvent, type ReasoningEvent, type SessionStateSummary, type SkillCatalog, SkillCatalogSchema, type SkillLoadError, SkillLoadErrorSchema, type SkillMetadata, SkillMetadataSchema, type SkillScope, SkillScopeSchema, type SkillSearchReason, SkillSearchReasonSchema, type SkillSearchResult, SkillSearchResultSchema, type StepCompleteEvent, type StepStartEvent, type TextEvent, type ToolCallEvent, type ToolResultEvent }; |
+1
-1
| { | ||
| "name": "@codelia/shared-types", | ||
| "version": "0.1.3", | ||
| "version": "0.1.10", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "files": [ |
13410
7.37%264
6.88%