copilot-sdk-supercharged 2.0.0 → 2.0.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +44 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac265973156bd106fe6625fb7aff8c3be3ce02578e28413900b958381c366315
4
- data.tar.gz: d463146e751af0d4e57254761d308f9c52f56ff41ef6607124b2fb5eb58f3fb9
3
+ metadata.gz: 9e330ce58d50329ed9c27eeb95c245dd983dcc77aaa1f96ac2971fd06959bae1
4
+ data.tar.gz: e1c8a9d576d063b8175dd3d1aff54224d884d39e1abf29f6a8dd56115801e216
5
5
  SHA512:
6
- metadata.gz: aeb633fd58ca1526dd2e1d17efd570ecabc4482b7fbb224c04b5481dcd35257121147a2af1c1a7bf4a7228381abc76d35346bc3f03f1021c9e04c4ac40f703f7
7
- data.tar.gz: 0d56cb6866c59504cbd6a00af8bb36267f20bc7390eaa8e7774b9cd193756865fdc27ef73ec29fc54a8780261c808aee34131f365a1034ea866b1e2f11bd282f
6
+ metadata.gz: 432afdb66d2115749bff03075f19f96691bd68ee85d8b76eed56dc7663eb9d2715834da042765dc1779d235ce7838bf6511e0ed26ab8e2e2f9102b0b93c3061e
7
+ data.tar.gz: 390e4ea49278eeafbd41208b7005f0f21178d61156d34b5248854b0dae5ed7f61ff9e59b2b498f428e95774b372c6dba48ae54fad8d4fff0b9b6e300038a97b7
data/README.md CHANGED
@@ -235,6 +235,50 @@ session = client.create_session(
235
235
  puts session.workspace_path
236
236
  ```
237
237
 
238
+ ### Session Idle Timeout
239
+
240
+ Configure automatic session cleanup after a period of inactivity:
241
+
242
+ ```ruby
243
+ client = Copilot::Client.new(session_idle_timeout_seconds: 300)
244
+ ```
245
+
246
+ ### SessionFs (Persistent Session Filesystem)
247
+
248
+ SessionFs provides a virtual filesystem scoped to each session, enabling persistent state across compaction boundaries and session resumes.
249
+
250
+ ```ruby
251
+ client = Copilot::Client.new(session_fs: {
252
+ initial_cwd: "/repo",
253
+ session_state_path: "/tmp/state",
254
+ conventions: "posix"
255
+ })
256
+ ```
257
+
258
+ ### Session Metadata
259
+
260
+ Retrieve metadata about a session (model, creation time, status):
261
+
262
+ ```ruby
263
+ meta = client.get_session_metadata("session-123")
264
+ ```
265
+
266
+ ### Skills and Sub-Agent Orchestration
267
+
268
+ Register skill directories and control sub-agent behavior:
269
+
270
+ ```ruby
271
+ session = client.create_session(
272
+ skill_directories: ["./skills"],
273
+ disabled_skills: ["test-skill"],
274
+ include_sub_agent_streaming_events: true
275
+ )
276
+ ```
277
+
278
+ - `skill_directories` - Paths to directories containing skill definitions
279
+ - `disabled_skills` - Skills to exclude from the session
280
+ - `include_sub_agent_streaming_events` - When `true`, receive streaming events from sub-agents
281
+
238
282
  ## Streaming
239
283
 
240
284
  Enable streaming to receive incremental message chunks:
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.0.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-25 00:00:00.000000000 Z
11
+ date: 2026-04-28 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.