@codelia/protocol
Advanced tools
+39
-2
@@ -37,2 +37,37 @@ import { SkillCatalog, AgentEvent, SessionStateSummary, SkillMetadata, SkillLoadError } from '@codelia/shared-types'; | ||
| type ClientToolChoice = "auto" | "required" | "none" | string; | ||
| type ClientToolDefinition = { | ||
| type?: "function"; | ||
| name: string; | ||
| description: string; | ||
| parameters: Record<string, unknown>; | ||
| strict?: boolean; | ||
| timeout_ms?: number; | ||
| approval?: "default" | "never"; | ||
| }; | ||
| type ClientToolCallRequestParams = { | ||
| run_id: string; | ||
| name: string; | ||
| arguments?: Record<string, unknown>; | ||
| raw_arguments: string; | ||
| }; | ||
| type ClientToolStructuredResult = { | ||
| type: "text"; | ||
| text: string; | ||
| } | { | ||
| type: "json"; | ||
| value: unknown; | ||
| } | { | ||
| type: "parts"; | ||
| parts: unknown[]; | ||
| }; | ||
| type ClientToolResultValue = string | number | boolean | null | ClientToolStructuredResult | Record<string, unknown> | unknown[]; | ||
| type ClientToolCallResult = { | ||
| ok: true; | ||
| result?: ClientToolResultValue; | ||
| } | { | ||
| ok: false; | ||
| error: string; | ||
| }; | ||
| type ContextInspectParams = { | ||
@@ -126,3 +161,3 @@ include_agents?: boolean; | ||
| type ProtocolMethod = "initialize" | "run.start" | "run.cancel" | "run.status" | "run.context" | "run.diagnostics" | "agent.event" | "session.list" | "session.history" | "auth.logout" | "model.list" | "model.set" | "tool.call" | "shell.exec" | "shell.start" | "shell.list" | "shell.status" | "shell.output" | "shell.wait" | "shell.detach" | "shell.cancel" | "task.spawn" | "task.list" | "task.status" | "task.wait" | "task.cancel" | "task.result" | "mcp.list" | "skills.list" | "context.inspect" | "theme.set" | "ui.context.update" | "ui.confirm.request" | "ui.prompt.request" | "ui.pick.request"; | ||
| type ProtocolMethod = "initialize" | "run.start" | "run.cancel" | "run.status" | "run.context" | "run.diagnostics" | "agent.event" | "session.list" | "session.history" | "auth.logout" | "model.list" | "model.set" | "tool.call" | "client.tool.call" | "shell.exec" | "shell.start" | "shell.list" | "shell.status" | "shell.output" | "shell.wait" | "shell.detach" | "shell.cancel" | "task.spawn" | "task.list" | "task.status" | "task.wait" | "task.cancel" | "task.result" | "mcp.list" | "skills.list" | "context.inspect" | "theme.set" | "ui.context.update" | "ui.confirm.request" | "ui.prompt.request" | "ui.pick.request"; | ||
@@ -249,2 +284,4 @@ type ModelListParams = { | ||
| force_compaction?: boolean; | ||
| tools?: ClientToolDefinition[]; | ||
| tool_choice?: ClientToolChoice; | ||
| ui_context?: UiContextSnapshot; | ||
@@ -593,2 +630,2 @@ meta?: Record<string, unknown>; | ||
| export { type AgentEventNotify, type AuthLogoutParams, type AuthLogoutResult, type CacheHitState, type ContextInspectAgents, type ContextInspectFile, type ContextInspectParams, type ContextInspectResult, type ContextInspectSkills, type ContextInspectSkillsLoadedVersion, type InitializeParams, type InitializeResult, type LlmCallDiagnostics, type McpListParams, type McpListResult, type McpListScope, type McpListServer, type McpServerState, type McpServerTransport, type ModelListDetails, type ModelListParams, type ModelListResult, type ModelSetParams, type ModelSetResult, type ProtocolMethod, type ProtocolVersion, RPC_ERROR_CODE, type RpcError, type RpcErrorCode, type RpcId, type RpcMessage, type RpcNotification, type RpcRequest, type RpcResponse, type RunCancelParams, type RunContextNotify, type RunDiagnosticsNotify, type RunInput, type RunInputImagePart, type RunInputParts, type RunInputText, type RunInputTextPart, type RunStartParams, type RunStartResult, type RunStatus, type RunStatusNotify, type RunUsageSummary, type ServerCapabilities, type SessionHistoryParams, type SessionHistoryResult, type SessionListParams, type SessionListResult, type ShellCancelParams, type ShellCancelResult, type ShellDetachParams, type ShellDetachResult, type ShellExecParams, type ShellExecResult, type ShellListParams, type ShellListResult, type ShellOutputParams, type ShellOutputResult, type ShellOutputStream, type ShellOutputTruncated, type ShellStartParams, type ShellStartResult, type ShellStatusParams, type ShellStatusResult, type ShellTaskInfo, type ShellTaskState, type ShellWaitParams, type ShellWaitResult, type SkillsListParams, type SkillsListResult, type TaskArtifact, type TaskCancelParams, type TaskCancelResult, type TaskInfo, type TaskKind, type TaskListParams, type TaskListResult, type TaskOutputTruncated, type TaskResultParams, type TaskResultResult, type TaskSpawnParams, type TaskSpawnResult, type TaskState, type TaskStatusParams, type TaskStatusResult, type TaskSummary, type TaskWaitParams, type TaskWaitResult, type TaskWorkspaceMode, type ThemeSetParams, type ThemeSetResult, type ToolCallParams, type ToolCallResult, type UiCapabilities, type UiConfirmRequestParams, type UiConfirmResult, type UiContextSnapshot, type UiContextUpdateParams, type UiPickRequestParams, type UiPickResult, type UiPosition, type UiPromptRequestParams, type UiPromptResult, type UiRange, type UiSelection, assertSupportedMcpProtocolVersion, getInitializeProtocolVersion, getMcpCompatibleProtocolVersions, getMcpProtocolVersion, isSupportedMcpProtocolVersion }; | ||
| export { type AgentEventNotify, type AuthLogoutParams, type AuthLogoutResult, type CacheHitState, type ClientToolCallRequestParams, type ClientToolCallResult, type ClientToolChoice, type ClientToolDefinition, type ClientToolResultValue, type ClientToolStructuredResult, type ContextInspectAgents, type ContextInspectFile, type ContextInspectParams, type ContextInspectResult, type ContextInspectSkills, type ContextInspectSkillsLoadedVersion, type InitializeParams, type InitializeResult, type LlmCallDiagnostics, type McpListParams, type McpListResult, type McpListScope, type McpListServer, type McpServerState, type McpServerTransport, type ModelListDetails, type ModelListParams, type ModelListResult, type ModelSetParams, type ModelSetResult, type ProtocolMethod, type ProtocolVersion, RPC_ERROR_CODE, type RpcError, type RpcErrorCode, type RpcId, type RpcMessage, type RpcNotification, type RpcRequest, type RpcResponse, type RunCancelParams, type RunContextNotify, type RunDiagnosticsNotify, type RunInput, type RunInputImagePart, type RunInputParts, type RunInputText, type RunInputTextPart, type RunStartParams, type RunStartResult, type RunStatus, type RunStatusNotify, type RunUsageSummary, type ServerCapabilities, type SessionHistoryParams, type SessionHistoryResult, type SessionListParams, type SessionListResult, type ShellCancelParams, type ShellCancelResult, type ShellDetachParams, type ShellDetachResult, type ShellExecParams, type ShellExecResult, type ShellListParams, type ShellListResult, type ShellOutputParams, type ShellOutputResult, type ShellOutputStream, type ShellOutputTruncated, type ShellStartParams, type ShellStartResult, type ShellStatusParams, type ShellStatusResult, type ShellTaskInfo, type ShellTaskState, type ShellWaitParams, type ShellWaitResult, type SkillsListParams, type SkillsListResult, type TaskArtifact, type TaskCancelParams, type TaskCancelResult, type TaskInfo, type TaskKind, type TaskListParams, type TaskListResult, type TaskOutputTruncated, type TaskResultParams, type TaskResultResult, type TaskSpawnParams, type TaskSpawnResult, type TaskState, type TaskStatusParams, type TaskStatusResult, type TaskSummary, type TaskWaitParams, type TaskWaitResult, type TaskWorkspaceMode, type ThemeSetParams, type ThemeSetResult, type ToolCallParams, type ToolCallResult, type UiCapabilities, type UiConfirmRequestParams, type UiConfirmResult, type UiContextSnapshot, type UiContextUpdateParams, type UiPickRequestParams, type UiPickResult, type UiPosition, type UiPromptRequestParams, type UiPromptResult, type UiRange, type UiSelection, assertSupportedMcpProtocolVersion, getInitializeProtocolVersion, getMcpCompatibleProtocolVersions, getMcpProtocolVersion, isSupportedMcpProtocolVersion }; |
+39
-2
@@ -37,2 +37,37 @@ import { SkillCatalog, AgentEvent, SessionStateSummary, SkillMetadata, SkillLoadError } from '@codelia/shared-types'; | ||
| type ClientToolChoice = "auto" | "required" | "none" | string; | ||
| type ClientToolDefinition = { | ||
| type?: "function"; | ||
| name: string; | ||
| description: string; | ||
| parameters: Record<string, unknown>; | ||
| strict?: boolean; | ||
| timeout_ms?: number; | ||
| approval?: "default" | "never"; | ||
| }; | ||
| type ClientToolCallRequestParams = { | ||
| run_id: string; | ||
| name: string; | ||
| arguments?: Record<string, unknown>; | ||
| raw_arguments: string; | ||
| }; | ||
| type ClientToolStructuredResult = { | ||
| type: "text"; | ||
| text: string; | ||
| } | { | ||
| type: "json"; | ||
| value: unknown; | ||
| } | { | ||
| type: "parts"; | ||
| parts: unknown[]; | ||
| }; | ||
| type ClientToolResultValue = string | number | boolean | null | ClientToolStructuredResult | Record<string, unknown> | unknown[]; | ||
| type ClientToolCallResult = { | ||
| ok: true; | ||
| result?: ClientToolResultValue; | ||
| } | { | ||
| ok: false; | ||
| error: string; | ||
| }; | ||
| type ContextInspectParams = { | ||
@@ -126,3 +161,3 @@ include_agents?: boolean; | ||
| type ProtocolMethod = "initialize" | "run.start" | "run.cancel" | "run.status" | "run.context" | "run.diagnostics" | "agent.event" | "session.list" | "session.history" | "auth.logout" | "model.list" | "model.set" | "tool.call" | "shell.exec" | "shell.start" | "shell.list" | "shell.status" | "shell.output" | "shell.wait" | "shell.detach" | "shell.cancel" | "task.spawn" | "task.list" | "task.status" | "task.wait" | "task.cancel" | "task.result" | "mcp.list" | "skills.list" | "context.inspect" | "theme.set" | "ui.context.update" | "ui.confirm.request" | "ui.prompt.request" | "ui.pick.request"; | ||
| type ProtocolMethod = "initialize" | "run.start" | "run.cancel" | "run.status" | "run.context" | "run.diagnostics" | "agent.event" | "session.list" | "session.history" | "auth.logout" | "model.list" | "model.set" | "tool.call" | "client.tool.call" | "shell.exec" | "shell.start" | "shell.list" | "shell.status" | "shell.output" | "shell.wait" | "shell.detach" | "shell.cancel" | "task.spawn" | "task.list" | "task.status" | "task.wait" | "task.cancel" | "task.result" | "mcp.list" | "skills.list" | "context.inspect" | "theme.set" | "ui.context.update" | "ui.confirm.request" | "ui.prompt.request" | "ui.pick.request"; | ||
@@ -249,2 +284,4 @@ type ModelListParams = { | ||
| force_compaction?: boolean; | ||
| tools?: ClientToolDefinition[]; | ||
| tool_choice?: ClientToolChoice; | ||
| ui_context?: UiContextSnapshot; | ||
@@ -593,2 +630,2 @@ meta?: Record<string, unknown>; | ||
| export { type AgentEventNotify, type AuthLogoutParams, type AuthLogoutResult, type CacheHitState, type ContextInspectAgents, type ContextInspectFile, type ContextInspectParams, type ContextInspectResult, type ContextInspectSkills, type ContextInspectSkillsLoadedVersion, type InitializeParams, type InitializeResult, type LlmCallDiagnostics, type McpListParams, type McpListResult, type McpListScope, type McpListServer, type McpServerState, type McpServerTransport, type ModelListDetails, type ModelListParams, type ModelListResult, type ModelSetParams, type ModelSetResult, type ProtocolMethod, type ProtocolVersion, RPC_ERROR_CODE, type RpcError, type RpcErrorCode, type RpcId, type RpcMessage, type RpcNotification, type RpcRequest, type RpcResponse, type RunCancelParams, type RunContextNotify, type RunDiagnosticsNotify, type RunInput, type RunInputImagePart, type RunInputParts, type RunInputText, type RunInputTextPart, type RunStartParams, type RunStartResult, type RunStatus, type RunStatusNotify, type RunUsageSummary, type ServerCapabilities, type SessionHistoryParams, type SessionHistoryResult, type SessionListParams, type SessionListResult, type ShellCancelParams, type ShellCancelResult, type ShellDetachParams, type ShellDetachResult, type ShellExecParams, type ShellExecResult, type ShellListParams, type ShellListResult, type ShellOutputParams, type ShellOutputResult, type ShellOutputStream, type ShellOutputTruncated, type ShellStartParams, type ShellStartResult, type ShellStatusParams, type ShellStatusResult, type ShellTaskInfo, type ShellTaskState, type ShellWaitParams, type ShellWaitResult, type SkillsListParams, type SkillsListResult, type TaskArtifact, type TaskCancelParams, type TaskCancelResult, type TaskInfo, type TaskKind, type TaskListParams, type TaskListResult, type TaskOutputTruncated, type TaskResultParams, type TaskResultResult, type TaskSpawnParams, type TaskSpawnResult, type TaskState, type TaskStatusParams, type TaskStatusResult, type TaskSummary, type TaskWaitParams, type TaskWaitResult, type TaskWorkspaceMode, type ThemeSetParams, type ThemeSetResult, type ToolCallParams, type ToolCallResult, type UiCapabilities, type UiConfirmRequestParams, type UiConfirmResult, type UiContextSnapshot, type UiContextUpdateParams, type UiPickRequestParams, type UiPickResult, type UiPosition, type UiPromptRequestParams, type UiPromptResult, type UiRange, type UiSelection, assertSupportedMcpProtocolVersion, getInitializeProtocolVersion, getMcpCompatibleProtocolVersions, getMcpProtocolVersion, isSupportedMcpProtocolVersion }; | ||
| export { type AgentEventNotify, type AuthLogoutParams, type AuthLogoutResult, type CacheHitState, type ClientToolCallRequestParams, type ClientToolCallResult, type ClientToolChoice, type ClientToolDefinition, type ClientToolResultValue, type ClientToolStructuredResult, type ContextInspectAgents, type ContextInspectFile, type ContextInspectParams, type ContextInspectResult, type ContextInspectSkills, type ContextInspectSkillsLoadedVersion, type InitializeParams, type InitializeResult, type LlmCallDiagnostics, type McpListParams, type McpListResult, type McpListScope, type McpListServer, type McpServerState, type McpServerTransport, type ModelListDetails, type ModelListParams, type ModelListResult, type ModelSetParams, type ModelSetResult, type ProtocolMethod, type ProtocolVersion, RPC_ERROR_CODE, type RpcError, type RpcErrorCode, type RpcId, type RpcMessage, type RpcNotification, type RpcRequest, type RpcResponse, type RunCancelParams, type RunContextNotify, type RunDiagnosticsNotify, type RunInput, type RunInputImagePart, type RunInputParts, type RunInputText, type RunInputTextPart, type RunStartParams, type RunStartResult, type RunStatus, type RunStatusNotify, type RunUsageSummary, type ServerCapabilities, type SessionHistoryParams, type SessionHistoryResult, type SessionListParams, type SessionListResult, type ShellCancelParams, type ShellCancelResult, type ShellDetachParams, type ShellDetachResult, type ShellExecParams, type ShellExecResult, type ShellListParams, type ShellListResult, type ShellOutputParams, type ShellOutputResult, type ShellOutputStream, type ShellOutputTruncated, type ShellStartParams, type ShellStartResult, type ShellStatusParams, type ShellStatusResult, type ShellTaskInfo, type ShellTaskState, type ShellWaitParams, type ShellWaitResult, type SkillsListParams, type SkillsListResult, type TaskArtifact, type TaskCancelParams, type TaskCancelResult, type TaskInfo, type TaskKind, type TaskListParams, type TaskListResult, type TaskOutputTruncated, type TaskResultParams, type TaskResultResult, type TaskSpawnParams, type TaskSpawnResult, type TaskState, type TaskStatusParams, type TaskStatusResult, type TaskSummary, type TaskWaitParams, type TaskWaitResult, type TaskWorkspaceMode, type ThemeSetParams, type ThemeSetResult, type ToolCallParams, type ToolCallResult, type UiCapabilities, type UiConfirmRequestParams, type UiConfirmResult, type UiContextSnapshot, type UiContextUpdateParams, type UiPickRequestParams, type UiPickResult, type UiPosition, type UiPromptRequestParams, type UiPromptResult, type UiRange, type UiSelection, assertSupportedMcpProtocolVersion, getInitializeProtocolVersion, getMcpCompatibleProtocolVersions, getMcpProtocolVersion, isSupportedMcpProtocolVersion }; |
+2
-2
| { | ||
| "name": "@codelia/protocol", | ||
| "version": "0.1.66", | ||
| "version": "0.1.67", | ||
| "type": "module", | ||
@@ -23,3 +23,3 @@ "files": [ | ||
| "dependencies": { | ||
| "@codelia/shared-types": "0.1.66" | ||
| "@codelia/shared-types": "0.1.67" | ||
| }, | ||
@@ -26,0 +26,0 @@ "publishConfig": { |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
41864
5.64%735
5.15%+ Added
- Removed
Updated