copilot-sdk-supercharged 2.1.2 → 2.2.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: feec8b627e9532af05e4a12ddebe8cbad4122eca1635a63e7a0ad238581b0ff1
4
- data.tar.gz: c92ad213e61f259ac3d4e0ce2f94c228763e39922d429542680452b4124674f2
3
+ metadata.gz: 8c36a15eb69c732f5661c54325b83a2b10337a45e271bc3df776b0069514cbb0
4
+ data.tar.gz: fbcc9e01930bf0d7995295ffc0b1895d4f2afbae01367f258811f3d197d1f209
5
5
  SHA512:
6
- metadata.gz: 328bab1dfecc78a4138308b44da16cffa2a61f43fef3322d7645dd1dfccb96b4708be4e424e22a4bbf46327a060f7afd3c988bc62a4fa8a6700db2dcf92ba200
7
- data.tar.gz: 99cbeeebd7ea10cde92bd99ee184f90a631e19c526939cc3ba5eb4cd433a243cda8610d3cde40e4b9db179a8bb1257d5d1afdd9ffe205f8a146083d7aa47a24b
6
+ metadata.gz: '06917253b38db497246957e4e69aa7551f92cb25c3306a318dda3f34b87a586db33e864c04b23615b29f264cc23ac87b7e13e51a599db96a156c3b9c6b9f3b37'
7
+ data.tar.gz: 368a57e037e6c5a9f570c6f6e2704a8b5cf2f4c5ca228c75c2d09e605a528ab793216b4f26864b5807cb6c480e87eec8f2c6bc5653b58eceb2a2caa606d0e85a
@@ -7,7 +7,7 @@
7
7
  module Copilot
8
8
  # The SDK protocol version.
9
9
  # This must match the version expected by the copilot-agent-runtime server.
10
- SDK_PROTOCOL_VERSION = 2
10
+ SDK_PROTOCOL_VERSION = 3
11
11
 
12
12
  # @return [Integer] the SDK protocol version number
13
13
  def self.sdk_protocol_version
data/lib/copilot/types.rb CHANGED
@@ -289,6 +289,7 @@ module Copilot
289
289
  :model_capabilities, :enable_config_discovery,
290
290
  :github_token,
291
291
  :commands, :on_elicitation_request,
292
+ :instruction_directories,
292
293
  keyword_init: true
293
294
  )
294
295
 
@@ -303,6 +304,7 @@ module Copilot
303
304
  :model_capabilities, :enable_config_discovery,
304
305
  :github_token,
305
306
  :commands, :on_elicitation_request,
307
+ :instruction_directories,
306
308
  :disable_resume,
307
309
  keyword_init: true
308
310
  )
@@ -456,12 +458,13 @@ module Copilot
456
458
 
457
459
  # Session event from the server.
458
460
  # Uses an open struct-style approach so new event types are forward-compatible.
459
- SessionEvent = Struct.new(:id, :timestamp, :parent_id, :ephemeral, :type, :data, keyword_init: true) do
461
+ SessionEvent = Struct.new(:id, :timestamp, :parent_id, :agent_id, :ephemeral, :type, :data, keyword_init: true) do
460
462
  def self.from_hash(h)
461
463
  new(
462
464
  id: h["id"],
463
465
  timestamp: h["timestamp"],
464
466
  parent_id: h["parentId"],
467
+ agent_id: h["agentId"],
465
468
  ephemeral: h["ephemeral"],
466
469
  type: h["type"],
467
470
  data: h["data"] || {}
@@ -592,6 +595,7 @@ module Copilot
592
595
  :log_level, :auto_start, :auto_restart, :env,
593
596
  :github_token, :use_logged_in_user, :session_idle_timeout_seconds,
594
597
  :session_fs,
598
+ :copilot_home, :tcp_connection_token,
595
599
  keyword_init: true
596
600
  )
597
601
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copilot-sdk-supercharged
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremiah Isaacson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-03 00:00:00.000000000 Z
11
+ date: 2026-05-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  A Ruby SDK for interacting with the GitHub Copilot CLI server via JSON-RPC 2.0.