@github/copilot-sdk-darwin-arm64 1.0.15-preview.1 → 1.0.15-preview.3
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.
- package/copilot-sdk/extension.js +49 -4
- package/copilot-sdk/generated/rpc.d.ts +357 -5
- package/copilot-sdk/generated/session-events.d.ts +20 -2
- package/copilot-sdk/index.d.ts +1 -1
- package/copilot-sdk/index.js +49 -4
- package/copilot-sdk/session.d.ts +1 -0
- package/copilot-sdk/types.d.ts +22 -2
- package/package.json +1 -1
- package/prebuilds/darwin-arm64/copilot-runtime +0 -0
- package/prebuilds/darwin-arm64/runtime.node +2 -2
- package/ripgrep/bin/darwin-arm64/rg +0 -0
- package/schemas/api.schema.json +553 -5
- package/schemas/session-events.schema.json +99 -4
- package/tgrep/bin/darwin-arm64/tgrep +0 -0
- package/sdk/index.js +0 -1454
|
@@ -7473,6 +7473,10 @@
|
|
|
7473
7473
|
"FusionAttribution": {
|
|
7474
7474
|
"type": "object",
|
|
7475
7475
|
"properties": {
|
|
7476
|
+
"hasUserSteering": {
|
|
7477
|
+
"type": "boolean",
|
|
7478
|
+
"description": "Whether this model request consumed a user steering message rather than only internal Fusion work."
|
|
7479
|
+
},
|
|
7476
7480
|
"fusionId": {
|
|
7477
7481
|
"type": "string",
|
|
7478
7482
|
"description": "Stable identifier for the HydraFusion turn that produced the event."
|
|
@@ -7529,6 +7533,76 @@
|
|
|
7529
7533
|
"title": "FusionAttribution",
|
|
7530
7534
|
"stability": "experimental"
|
|
7531
7535
|
},
|
|
7536
|
+
"FusionChangeCheckpointData": {
|
|
7537
|
+
"type": "object",
|
|
7538
|
+
"properties": {
|
|
7539
|
+
"codeChanges": {
|
|
7540
|
+
"$ref": "#/definitions/ShutdownCodeChanges"
|
|
7541
|
+
}
|
|
7542
|
+
},
|
|
7543
|
+
"required": [
|
|
7544
|
+
"codeChanges"
|
|
7545
|
+
],
|
|
7546
|
+
"additionalProperties": false,
|
|
7547
|
+
"description": "Internal durable editing-tool totals after a Fusion turn, including edits from discarded phases.",
|
|
7548
|
+
"title": "FusionChangeCheckpointData",
|
|
7549
|
+
"visibility": "internal"
|
|
7550
|
+
},
|
|
7551
|
+
"FusionChangeCheckpointEvent": {
|
|
7552
|
+
"type": "object",
|
|
7553
|
+
"properties": {
|
|
7554
|
+
"id": {
|
|
7555
|
+
"type": "string",
|
|
7556
|
+
"format": "uuid",
|
|
7557
|
+
"description": "Unique event identifier (UUID v4), generated when the event is emitted"
|
|
7558
|
+
},
|
|
7559
|
+
"timestamp": {
|
|
7560
|
+
"type": "string",
|
|
7561
|
+
"format": "date-time",
|
|
7562
|
+
"description": "ISO 8601 timestamp when the event was created"
|
|
7563
|
+
},
|
|
7564
|
+
"parentId": {
|
|
7565
|
+
"anyOf": [
|
|
7566
|
+
{
|
|
7567
|
+
"type": "string",
|
|
7568
|
+
"format": "uuid"
|
|
7569
|
+
},
|
|
7570
|
+
{
|
|
7571
|
+
"type": "null"
|
|
7572
|
+
}
|
|
7573
|
+
],
|
|
7574
|
+
"description": "ID of the chronologically preceding event in the session, forming a linked chain. Null for the first event."
|
|
7575
|
+
},
|
|
7576
|
+
"ephemeral": {
|
|
7577
|
+
"type": "boolean",
|
|
7578
|
+
"description": "When true, the event is transient and not persisted to the session event log on disk"
|
|
7579
|
+
},
|
|
7580
|
+
"agentId": {
|
|
7581
|
+
"type": "string",
|
|
7582
|
+
"description": "Sub-agent instance identifier. Absent for events from the root/main agent and session-level events."
|
|
7583
|
+
},
|
|
7584
|
+
"type": {
|
|
7585
|
+
"type": "string",
|
|
7586
|
+
"const": "session.fusion_change_checkpoint",
|
|
7587
|
+
"description": "Type discriminator. Always \"session.fusion_change_checkpoint\"."
|
|
7588
|
+
},
|
|
7589
|
+
"data": {
|
|
7590
|
+
"$ref": "#/definitions/FusionChangeCheckpointData",
|
|
7591
|
+
"description": "Internal durable editing-tool totals after a Fusion turn, including edits from discarded phases."
|
|
7592
|
+
}
|
|
7593
|
+
},
|
|
7594
|
+
"required": [
|
|
7595
|
+
"id",
|
|
7596
|
+
"timestamp",
|
|
7597
|
+
"parentId",
|
|
7598
|
+
"type",
|
|
7599
|
+
"data"
|
|
7600
|
+
],
|
|
7601
|
+
"additionalProperties": false,
|
|
7602
|
+
"description": "Session event \"session.fusion_change_checkpoint\". Internal durable editing-tool totals after a Fusion turn, including edits from discarded phases.",
|
|
7603
|
+
"title": "FusionChangeCheckpointEvent",
|
|
7604
|
+
"visibility": "internal"
|
|
7605
|
+
},
|
|
7532
7606
|
"FusionCommitKind": {
|
|
7533
7607
|
"type": "string",
|
|
7534
7608
|
"enum": [
|
|
@@ -8432,6 +8506,11 @@
|
|
|
8432
8506
|
"$ref": "#/definitions/FusionPattern",
|
|
8433
8507
|
"description": "Validated orchestration pattern selected for the turn."
|
|
8434
8508
|
},
|
|
8509
|
+
"hint": {
|
|
8510
|
+
"type": "string",
|
|
8511
|
+
"description": "Short human-readable summary of the selected workflow, suitable for immediate client display after routing. May be absent in older durable events; omit the explanation or derive one from pattern and phasePlan. Display text, not a stable machine-readable value.",
|
|
8512
|
+
"stability": "experimental"
|
|
8513
|
+
},
|
|
8435
8514
|
"phasePlan": {
|
|
8436
8515
|
"type": "array",
|
|
8437
8516
|
"items": {
|
|
@@ -10638,6 +10717,10 @@
|
|
|
10638
10717
|
"type": "string",
|
|
10639
10718
|
"const": "client_credentials",
|
|
10640
10719
|
"description": "Optional non-default OAuth grant type. When set to 'client_credentials', the OAuth flow runs headlessly using the client_id + keychain-stored secret (no browser, no callback server)."
|
|
10720
|
+
},
|
|
10721
|
+
"scope": {
|
|
10722
|
+
"type": "string",
|
|
10723
|
+
"description": "Configured OAuth scope string used when the server challenge omits scope or provides an empty scope"
|
|
10641
10724
|
}
|
|
10642
10725
|
},
|
|
10643
10726
|
"required": [
|
|
@@ -15913,7 +15996,7 @@
|
|
|
15913
15996
|
"effort"
|
|
15914
15997
|
],
|
|
15915
15998
|
"additionalProperties": false,
|
|
15916
|
-
"description": "Original request-level and effective conversation reasoning effort for a
|
|
15999
|
+
"description": "Original request-level and effective conversation reasoning effort for a provider history boundary; the historical type name is retained for compatibility",
|
|
15917
16000
|
"title": "ResponsesReasoning"
|
|
15918
16001
|
},
|
|
15919
16002
|
"ResumeData": {
|
|
@@ -17546,6 +17629,11 @@
|
|
|
17546
17629
|
"$ref": "#/definitions/UsageCheckpointEvent",
|
|
17547
17630
|
"description": "Session event \"session.usage_checkpoint\". Durable session usage checkpoint for reconstructing aggregate accounting on resume"
|
|
17548
17631
|
},
|
|
17632
|
+
{
|
|
17633
|
+
"$ref": "#/definitions/FusionChangeCheckpointEvent",
|
|
17634
|
+
"description": "Session event \"session.fusion_change_checkpoint\". Internal durable editing-tool totals after a Fusion turn, including edits from discarded phases.",
|
|
17635
|
+
"visibility": "internal"
|
|
17636
|
+
},
|
|
17549
17637
|
{
|
|
17550
17638
|
"$ref": "#/definitions/ContextChangedEvent",
|
|
17551
17639
|
"description": "Session event \"session.context_changed\". Updated working directory and git context after the change"
|
|
@@ -19300,12 +19388,19 @@
|
|
|
19300
19388
|
"properties": {
|
|
19301
19389
|
"upToEventId": {
|
|
19302
19390
|
"type": "string",
|
|
19303
|
-
"description": "
|
|
19391
|
+
"description": "First removed event. Without `eventIds`, it and every event after it were removed"
|
|
19304
19392
|
},
|
|
19305
19393
|
"eventsRemoved": {
|
|
19306
19394
|
"type": "integer",
|
|
19307
19395
|
"minimum": 0,
|
|
19308
19396
|
"description": "Number of events that were removed by the rewind"
|
|
19397
|
+
},
|
|
19398
|
+
"eventIds": {
|
|
19399
|
+
"type": "array",
|
|
19400
|
+
"items": {
|
|
19401
|
+
"type": "string"
|
|
19402
|
+
},
|
|
19403
|
+
"description": "The removed events, starting with `upToEventId`. Later events not listed were kept, such as a background agent's events that interleaved with a withdrawn turn"
|
|
19309
19404
|
}
|
|
19310
19405
|
},
|
|
19311
19406
|
"required": [
|
|
@@ -20459,7 +20554,7 @@
|
|
|
20459
20554
|
},
|
|
20460
20555
|
"responsesReasoning": {
|
|
20461
20556
|
"$ref": "#/definitions/ResponsesReasoning",
|
|
20462
|
-
"description": "
|
|
20557
|
+
"description": "Provider reasoning settings anchored before this model-facing message for cache-stable replay; the historical responsesReasoning name is retained for compatibility"
|
|
20463
20558
|
}
|
|
20464
20559
|
},
|
|
20465
20560
|
"required": [
|
|
@@ -23090,7 +23185,7 @@
|
|
|
23090
23185
|
},
|
|
23091
23186
|
"responsesReasoning": {
|
|
23092
23187
|
"$ref": "#/definitions/ResponsesReasoning",
|
|
23093
|
-
"description": "
|
|
23188
|
+
"description": "Provider reasoning settings anchored before this model-facing message for cache-stable replay; the historical responsesReasoning name is retained for compatibility"
|
|
23094
23189
|
},
|
|
23095
23190
|
"messageId": {
|
|
23096
23191
|
"type": "string",
|
|
Binary file
|