New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@codelia/protocol

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codelia/protocol - npm Package Compare versions

Comparing version
0.1.44
to
0.1.45
+160
-7
dist/index.d.cts

@@ -25,2 +25,5 @@ import { SkillCatalog, AgentEvent, SessionStateSummary, SkillMetadata, SkillLoadError } from '@codelia/shared-types';

supports_shell_exec?: boolean;
supports_shell_tasks?: boolean;
supports_shell_detach?: boolean;
supports_tasks?: boolean;
supports_ui_requests?: boolean;

@@ -122,3 +125,3 @@ supports_mcp_list?: 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" | "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" | "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";

@@ -340,2 +343,7 @@ type ModelListParams = {

type ShellOutputTruncated = {
stdout: boolean;
stderr: boolean;
combined: boolean;
};
type ShellExecParams = {

@@ -352,7 +360,3 @@ command: string;

stderr: string;
truncated: {
stdout: boolean;
stderr: boolean;
combined: boolean;
};
truncated: ShellOutputTruncated;
duration_ms: number;

@@ -362,3 +366,152 @@ stdout_cache_id?: string;

};
type ShellTaskState = "queued" | "running" | "completed" | "failed" | "cancelled";
type ShellOutputStream = "stdout" | "stderr";
type ShellTaskInfo = {
task_id: string;
state: ShellTaskState;
command_preview?: string;
cwd?: string;
created_at: string;
updated_at: string;
started_at?: string;
ended_at?: string;
exit_code: number | null;
signal?: string | null;
stdout: string;
stderr: string;
truncated: ShellOutputTruncated;
duration_ms: number | null;
stdout_cache_id?: string;
stderr_cache_id?: string;
failure_message?: string;
cancellation_reason?: string;
cleanup_reason?: string;
};
type ShellStartParams = ShellExecParams;
type ShellStartResult = ShellTaskInfo;
type ShellListParams = {
limit?: number;
};
type ShellListResult = {
tasks: ShellTaskInfo[];
};
type ShellStatusParams = {
task_id: string;
};
type ShellStatusResult = ShellTaskInfo;
type ShellOutputParams = {
task_id: string;
stream: ShellOutputStream;
offset?: number;
limit?: number;
line_number?: number;
char_offset?: number;
char_limit?: number;
};
type ShellOutputResult = {
task_id: string;
stream: ShellOutputStream;
cached: boolean;
ref_id?: string;
content: string;
};
type ShellDetachParams = {
task_id: string;
};
type ShellDetachResult = {
task_id: string;
detached: true;
state: ShellTaskState;
};
type ShellWaitParams = {
task_id: string;
};
type ShellWaitResult = ShellTaskInfo | ShellDetachResult;
type ShellCancelParams = {
task_id: string;
};
type ShellCancelResult = ShellTaskInfo;
type TaskState = "queued" | "running" | "completed" | "failed" | "cancelled";
type TaskKind = "shell" | "subagent";
type TaskWorkspaceMode = "live_workspace" | "worktree";
type TaskArtifact = {
type: "file" | "patch" | "json";
path?: string;
ref?: string;
description?: string;
};
type TaskOutputTruncated = {
stdout: boolean;
stderr: boolean;
combined: boolean;
};
type TaskSummary = {
task_id: string;
key?: string;
kind: TaskKind;
workspace_mode: TaskWorkspaceMode;
state: TaskState;
title?: string;
working_directory?: string;
created_at: string;
updated_at: string;
started_at?: string;
ended_at?: string;
child_session_id?: string;
exit_code: number | null;
signal?: string | null;
duration_ms: number | null;
failure_message?: string;
cancellation_reason?: string;
cleanup_reason?: string;
};
type TaskInfo = TaskSummary & {
summary?: string;
stdout?: string;
stderr?: string;
stdout_cache_id?: string;
stderr_cache_id?: string;
truncated?: TaskOutputTruncated;
worktree_path?: string;
artifacts?: TaskArtifact[];
};
type TaskSpawnParams = {
task_id?: string;
kind: TaskKind;
background?: boolean;
workspace_mode?: TaskWorkspaceMode;
command?: string;
prompt?: string;
tool_allowlist?: string[];
max_steps?: number;
timeout_seconds?: number;
cwd?: string;
};
type TaskSpawnResult = TaskSummary | TaskInfo;
type TaskListParams = {
limit?: number;
kind?: TaskKind;
state?: TaskState;
};
type TaskListResult = {
tasks: TaskSummary[];
};
type TaskStatusParams = {
task_id: string;
};
type TaskStatusResult = TaskInfo;
type TaskWaitParams = {
task_id: string;
};
type TaskWaitResult = TaskInfo;
type TaskCancelParams = {
task_id: string;
};
type TaskCancelResult = TaskInfo;
type TaskResultParams = {
task_id: string;
};
type TaskResultResult = TaskInfo | null;
type SkillsListParams = {

@@ -432,2 +585,2 @@ cwd?: string;

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 ShellExecParams, type ShellExecResult, type SkillsListParams, type SkillsListResult, 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 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 };

@@ -25,2 +25,5 @@ import { SkillCatalog, AgentEvent, SessionStateSummary, SkillMetadata, SkillLoadError } from '@codelia/shared-types';

supports_shell_exec?: boolean;
supports_shell_tasks?: boolean;
supports_shell_detach?: boolean;
supports_tasks?: boolean;
supports_ui_requests?: boolean;

@@ -122,3 +125,3 @@ supports_mcp_list?: 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" | "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" | "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";

@@ -340,2 +343,7 @@ type ModelListParams = {

type ShellOutputTruncated = {
stdout: boolean;
stderr: boolean;
combined: boolean;
};
type ShellExecParams = {

@@ -352,7 +360,3 @@ command: string;

stderr: string;
truncated: {
stdout: boolean;
stderr: boolean;
combined: boolean;
};
truncated: ShellOutputTruncated;
duration_ms: number;

@@ -362,3 +366,152 @@ stdout_cache_id?: string;

};
type ShellTaskState = "queued" | "running" | "completed" | "failed" | "cancelled";
type ShellOutputStream = "stdout" | "stderr";
type ShellTaskInfo = {
task_id: string;
state: ShellTaskState;
command_preview?: string;
cwd?: string;
created_at: string;
updated_at: string;
started_at?: string;
ended_at?: string;
exit_code: number | null;
signal?: string | null;
stdout: string;
stderr: string;
truncated: ShellOutputTruncated;
duration_ms: number | null;
stdout_cache_id?: string;
stderr_cache_id?: string;
failure_message?: string;
cancellation_reason?: string;
cleanup_reason?: string;
};
type ShellStartParams = ShellExecParams;
type ShellStartResult = ShellTaskInfo;
type ShellListParams = {
limit?: number;
};
type ShellListResult = {
tasks: ShellTaskInfo[];
};
type ShellStatusParams = {
task_id: string;
};
type ShellStatusResult = ShellTaskInfo;
type ShellOutputParams = {
task_id: string;
stream: ShellOutputStream;
offset?: number;
limit?: number;
line_number?: number;
char_offset?: number;
char_limit?: number;
};
type ShellOutputResult = {
task_id: string;
stream: ShellOutputStream;
cached: boolean;
ref_id?: string;
content: string;
};
type ShellDetachParams = {
task_id: string;
};
type ShellDetachResult = {
task_id: string;
detached: true;
state: ShellTaskState;
};
type ShellWaitParams = {
task_id: string;
};
type ShellWaitResult = ShellTaskInfo | ShellDetachResult;
type ShellCancelParams = {
task_id: string;
};
type ShellCancelResult = ShellTaskInfo;
type TaskState = "queued" | "running" | "completed" | "failed" | "cancelled";
type TaskKind = "shell" | "subagent";
type TaskWorkspaceMode = "live_workspace" | "worktree";
type TaskArtifact = {
type: "file" | "patch" | "json";
path?: string;
ref?: string;
description?: string;
};
type TaskOutputTruncated = {
stdout: boolean;
stderr: boolean;
combined: boolean;
};
type TaskSummary = {
task_id: string;
key?: string;
kind: TaskKind;
workspace_mode: TaskWorkspaceMode;
state: TaskState;
title?: string;
working_directory?: string;
created_at: string;
updated_at: string;
started_at?: string;
ended_at?: string;
child_session_id?: string;
exit_code: number | null;
signal?: string | null;
duration_ms: number | null;
failure_message?: string;
cancellation_reason?: string;
cleanup_reason?: string;
};
type TaskInfo = TaskSummary & {
summary?: string;
stdout?: string;
stderr?: string;
stdout_cache_id?: string;
stderr_cache_id?: string;
truncated?: TaskOutputTruncated;
worktree_path?: string;
artifacts?: TaskArtifact[];
};
type TaskSpawnParams = {
task_id?: string;
kind: TaskKind;
background?: boolean;
workspace_mode?: TaskWorkspaceMode;
command?: string;
prompt?: string;
tool_allowlist?: string[];
max_steps?: number;
timeout_seconds?: number;
cwd?: string;
};
type TaskSpawnResult = TaskSummary | TaskInfo;
type TaskListParams = {
limit?: number;
kind?: TaskKind;
state?: TaskState;
};
type TaskListResult = {
tasks: TaskSummary[];
};
type TaskStatusParams = {
task_id: string;
};
type TaskStatusResult = TaskInfo;
type TaskWaitParams = {
task_id: string;
};
type TaskWaitResult = TaskInfo;
type TaskCancelParams = {
task_id: string;
};
type TaskCancelResult = TaskInfo;
type TaskResultParams = {
task_id: string;
};
type TaskResultResult = TaskInfo | null;
type SkillsListParams = {

@@ -432,2 +585,2 @@ cwd?: string;

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 ShellExecParams, type ShellExecResult, type SkillsListParams, type SkillsListResult, 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 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.44",
"version": "0.1.45",
"type": "module",

@@ -23,3 +23,3 @@ "files": [

"dependencies": {
"@codelia/shared-types": "0.1.44"
"@codelia/shared-types": "0.1.45"
},

@@ -26,0 +26,0 @@ "publishConfig": {