Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion dotnet/src/Generated/SessionEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// Generated from: @github/copilot/session-events.schema.json
// Generated by: scripts/generate-session-types.ts
// Generated at: 2026-02-03T20:40:49.743Z
// Generated at: 2026-02-06T20:38:23.832Z
//
// To update these types:
// 1. Update the schema in copilot-agent-runtime
Expand Down Expand Up @@ -765,6 +765,10 @@ public partial class SessionCompactionCompleteData
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("compactionTokensUsed")]
public SessionCompactionCompleteDataCompactionTokensUsed? CompactionTokensUsed { get; set; }

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("requestId")]
public string? RequestId { get; set; }
}

public partial class UserMessageData
Expand Down
3 changes: 2 additions & 1 deletion go/generated_session_events.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 29 additions & 29 deletions nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"author": "GitHub",
"license": "MIT",
"dependencies": {
"@github/copilot": "^0.0.403",
"@github/copilot": "^0.0.405",
"vscode-jsonrpc": "^8.2.1",
"zod": "^4.3.6"
},
Expand Down
3 changes: 2 additions & 1 deletion nodejs/src/generated/session-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Generated from: @github/copilot/session-events.schema.json
* Generated by: scripts/generate-session-types.ts
* Generated at: 2026-02-03T20:40:49.167Z
* Generated at: 2026-02-06T20:38:23.139Z
*
* To update these types:
* 1. Update the schema in copilot-agent-runtime
Expand Down Expand Up @@ -216,6 +216,7 @@ export type SessionEvent =
output: number;
cachedInput: number;
};
requestId?: string;
};
}
| {
Expand Down
8 changes: 6 additions & 2 deletions python/copilot/generated/session_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Generated from: @github/copilot/session-events.schema.json
Generated by: scripts/generate-session-types.ts
Generated at: 2026-02-03T20:40:49.486Z
Generated at: 2026-02-06T20:38:23.376Z
To update these types:
1. Update the schema in copilot-agent-runtime
Expand Down Expand Up @@ -543,6 +543,7 @@ class Data:
post_compaction_tokens: Optional[float] = None
pre_compaction_messages_length: Optional[float] = None
pre_compaction_tokens: Optional[float] = None
request_id: Optional[str] = None
success: Optional[bool] = None
summary_content: Optional[str] = None
tokens_removed: Optional[float] = None
Expand Down Expand Up @@ -649,6 +650,7 @@ def from_dict(obj: Any) -> 'Data':
post_compaction_tokens = from_union([from_float, from_none], obj.get("postCompactionTokens"))
pre_compaction_messages_length = from_union([from_float, from_none], obj.get("preCompactionMessagesLength"))
pre_compaction_tokens = from_union([from_float, from_none], obj.get("preCompactionTokens"))
request_id = from_union([from_str, from_none], obj.get("requestId"))
success = from_union([from_bool, from_none], obj.get("success"))
summary_content = from_union([from_str, from_none], obj.get("summaryContent"))
tokens_removed = from_union([from_float, from_none], obj.get("tokensRemoved"))
Expand Down Expand Up @@ -701,7 +703,7 @@ def from_dict(obj: Any) -> 'Data':
output = obj.get("output")
metadata = from_union([Metadata.from_dict, from_none], obj.get("metadata"))
role = from_union([Role, from_none], obj.get("role"))
return Data(context, copilot_version, producer, selected_model, session_id, start_time, version, event_count, resume_time, error_type, message, provider_call_id, stack, status_code, info_type, new_model, previous_model, handoff_time, remote_session_id, repository, source_type, summary, messages_removed_during_truncation, performed_by, post_truncation_messages_length, post_truncation_tokens_in_messages, pre_truncation_messages_length, pre_truncation_tokens_in_messages, token_limit, tokens_removed_during_truncation, events_removed, up_to_event_id, code_changes, current_model, error_reason, model_metrics, session_start_time, shutdown_type, total_api_duration_ms, total_premium_requests, current_tokens, messages_length, checkpoint_number, checkpoint_path, compaction_tokens_used, error, messages_removed, post_compaction_tokens, pre_compaction_messages_length, pre_compaction_tokens, success, summary_content, tokens_removed, attachments, content, source, transformed_content, turn_id, intent, reasoning_id, delta_content, encrypted_content, message_id, parent_tool_call_id, reasoning_opaque, reasoning_text, tool_requests, total_response_size_bytes, api_call_id, cache_read_tokens, cache_write_tokens, cost, duration, initiator, input_tokens, model, output_tokens, quota_snapshots, reason, arguments, tool_call_id, tool_name, mcp_server_name, mcp_tool_name, partial_output, progress_message, is_user_requested, result, tool_telemetry, allowed_tools, name, path, agent_description, agent_display_name, agent_name, tools, hook_invocation_id, hook_type, input, output, metadata, role)
return Data(context, copilot_version, producer, selected_model, session_id, start_time, version, event_count, resume_time, error_type, message, provider_call_id, stack, status_code, info_type, new_model, previous_model, handoff_time, remote_session_id, repository, source_type, summary, messages_removed_during_truncation, performed_by, post_truncation_messages_length, post_truncation_tokens_in_messages, pre_truncation_messages_length, pre_truncation_tokens_in_messages, token_limit, tokens_removed_during_truncation, events_removed, up_to_event_id, code_changes, current_model, error_reason, model_metrics, session_start_time, shutdown_type, total_api_duration_ms, total_premium_requests, current_tokens, messages_length, checkpoint_number, checkpoint_path, compaction_tokens_used, error, messages_removed, post_compaction_tokens, pre_compaction_messages_length, pre_compaction_tokens, request_id, success, summary_content, tokens_removed, attachments, content, source, transformed_content, turn_id, intent, reasoning_id, delta_content, encrypted_content, message_id, parent_tool_call_id, reasoning_opaque, reasoning_text, tool_requests, total_response_size_bytes, api_call_id, cache_read_tokens, cache_write_tokens, cost, duration, initiator, input_tokens, model, output_tokens, quota_snapshots, reason, arguments, tool_call_id, tool_name, mcp_server_name, mcp_tool_name, partial_output, progress_message, is_user_requested, result, tool_telemetry, allowed_tools, name, path, agent_description, agent_display_name, agent_name, tools, hook_invocation_id, hook_type, input, output, metadata, role)

def to_dict(self) -> dict:
result: dict = {}
Expand Down Expand Up @@ -805,6 +807,8 @@ def to_dict(self) -> dict:
result["preCompactionMessagesLength"] = from_union([to_float, from_none], self.pre_compaction_messages_length)
if self.pre_compaction_tokens is not None:
result["preCompactionTokens"] = from_union([to_float, from_none], self.pre_compaction_tokens)
if self.request_id is not None:
result["requestId"] = from_union([from_str, from_none], self.request_id)
if self.success is not None:
result["success"] = from_union([from_bool, from_none], self.success)
if self.summary_content is not None:
Expand Down
Loading