@github/copilot-sdk-darwin-arm64 1.0.16 → 1.0.17-preview.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.
@@ -3070,6 +3070,10 @@
3070
3070
  "type": "string",
3071
3071
  "description": "Server-provided reason for falling back, when available"
3072
3072
  },
3073
+ "selectionReason": {
3074
+ "type": "string",
3075
+ "description": "Short human-readable sentence from the routing service explaining why this model was chosen, for display alongside the model. Present only when the service supplied one: it is omitted for on-device selections, when the service did not provide an explanation, and when a replayed decision made no routing call. The text is display-only and drawn from a fixed catalogue; several distinct routing categories share identical wording, so it cannot be used to recover the category or keyed on programmatically."
3076
+ },
3073
3077
  "stickyOverride": {
3074
3078
  "type": "boolean",
3075
3079
  "description": "Whether a sticky model choice overrode the router result"
@@ -9775,7 +9779,7 @@
9775
9779
  "managedKeys"
9776
9780
  ],
9777
9781
  "additionalProperties": false,
9778
- "description": "Enterprise managed-settings resolution: the effective managed settings the session applied and which channels contributed, so SDK clients can show users what is enterprise-managed. Fires whenever managed policy is (re)applied — at session start, on resume, and on account switch. This is an ephemeral live snapshot (delivered to subscribers but not persisted to the session event log), because at session start it resolves before `session.start` is emitted. Device values take precedence over server values, then the policy helper, per ordinary key, while permissions compose restrictively across device, server, policy-helper, and SDK-client layers. The account-scoped `getManagedSettings()` API does not include session-local client injection. Marked experimental while the managed-settings surface stabilizes.",
9782
+ "description": "Effective enterprise managed settings and contributing channels. Session events report applied policy; sessionless resolve reports an account/device snapshot, and compose reports a non-applying preview of candidate documents. Device values take precedence over server values, then the policy helper, per ordinary key, while permissions compose restrictively. Session-local SDK-client policy is included only in session results. Marked experimental while the managed-settings surface stabilizes.",
9779
9783
  "title": "ManagedSettingsResolvedData",
9780
9784
  "stability": "experimental"
9781
9785
  },
@@ -9820,7 +9824,7 @@
9820
9824
  },
9821
9825
  "data": {
9822
9826
  "$ref": "#/definitions/ManagedSettingsResolvedData",
9823
- "description": "Enterprise managed-settings resolution: the effective managed settings the session applied and which channels contributed, so SDK clients can show users what is enterprise-managed. Fires whenever managed policy is (re)applied — at session start, on resume, and on account switch. This is an ephemeral live snapshot (delivered to subscribers but not persisted to the session event log), because at session start it resolves before `session.start` is emitted. Device values take precedence over server values, then the policy helper, per ordinary key, while permissions compose restrictively across device, server, policy-helper, and SDK-client layers. The account-scoped `getManagedSettings()` API does not include session-local client injection. Marked experimental while the managed-settings surface stabilizes."
9827
+ "description": "Effective enterprise managed settings applied to the session and their contributing channels. Emitted whenever managed policy is applied or reapplied, including session start, resume, and account switch. This ephemeral live snapshot is delivered to subscribers but not persisted to the session event log; initial resolution occurs before session.start."
9824
9828
  }
9825
9829
  },
9826
9830
  "required": [
@@ -9832,7 +9836,7 @@
9832
9836
  "data"
9833
9837
  ],
9834
9838
  "additionalProperties": false,
9835
- "description": "Session event \"session.managed_settings_resolved\". Enterprise managed-settings resolution: the effective managed settings the session applied and which channels contributed, so SDK clients can show users what is enterprise-managed. Fires whenever managed policy is (re)applied — at session start, on resume, and on account switch. This is an ephemeral live snapshot (delivered to subscribers but not persisted to the session event log), because at session start it resolves before `session.start` is emitted. Device values take precedence over server values, then the policy helper, per ordinary key, while permissions compose restrictively across device, server, policy-helper, and SDK-client layers. The account-scoped `getManagedSettings()` API does not include session-local client injection. Marked experimental while the managed-settings surface stabilizes.",
9839
+ "description": "Session event \"session.managed_settings_resolved\". Effective enterprise managed settings applied to the session and their contributing channels. Emitted whenever managed policy is applied or reapplied, including session start, resume, and account switch. This ephemeral live snapshot is delivered to subscribers but not persisted to the session event log; initial resolution occurs before session.start.",
9836
9840
  "title": "ManagedSettingsResolvedEvent",
9837
9841
  "stability": "experimental"
9838
9842
  },
@@ -10966,7 +10970,7 @@
10966
10970
  },
10967
10971
  "configSource": {
10968
10972
  "type": "string",
10969
- "description": "Runtime configuration provenance for a failed connection, or unknown when unavailable. Additional string values may be introduced."
10973
+ "description": "Runtime configuration provenance for a connected or failed server, or unknown when unavailable. Additional string values may be introduced."
10970
10974
  }
10971
10975
  },
10972
10976
  "required": [
@@ -15725,6 +15729,15 @@
15725
15729
  "description": "Raw names of tools redefined since the prior call, restricted because a tool name can be user-authored",
15726
15730
  "visibility": "internal"
15727
15731
  },
15732
+ "toolsRedefinedParts": {
15733
+ "type": "array",
15734
+ "items": {
15735
+ "type": "string"
15736
+ },
15737
+ "default": [],
15738
+ "description": "Changed definition parts of redefined tools, as `tool:part` entries; property-level parts only for telemetry-safe tools, whose other names are hashed",
15739
+ "visibility": "internal"
15740
+ },
15728
15741
  "toolsReordered": {
15729
15742
  "type": "boolean",
15730
15743
  "default": false,
@@ -18092,7 +18105,7 @@
18092
18105
  },
18093
18106
  {
18094
18107
  "$ref": "#/definitions/ManagedSettingsResolvedEvent",
18095
- "description": "Session event \"session.managed_settings_resolved\". Enterprise managed-settings resolution: the effective managed settings the session applied and which channels contributed, so SDK clients can show users what is enterprise-managed. Fires whenever managed policy is (re)applied — at session start, on resume, and on account switch. This is an ephemeral live snapshot (delivered to subscribers but not persisted to the session event log), because at session start it resolves before `session.start` is emitted. Device values take precedence over server values, then the policy helper, per ordinary key, while permissions compose restrictively across device, server, policy-helper, and SDK-client layers. The account-scoped `getManagedSettings()` API does not include session-local client injection. Marked experimental while the managed-settings surface stabilizes."
18108
+ "description": "Session event \"session.managed_settings_resolved\". Effective enterprise managed settings applied to the session and their contributing channels. Emitted whenever managed policy is applied or reapplied, including session start, resume, and account switch. This ephemeral live snapshot is delivered to subscribers but not persisted to the session event log; initial resolution occurs before session.start."
18096
18109
  },
18097
18110
  {
18098
18111
  "$ref": "#/definitions/ManagedSettingsEnforcedEvent",
@@ -22097,6 +22110,11 @@
22097
22110
  "progressMessage": {
22098
22111
  "type": "string",
22099
22112
  "description": "Human-readable progress status message (e.g., from an MCP server)"
22113
+ },
22114
+ "structuredContent": {
22115
+ "description": "Client-only structured progress metadata. Not model-facing tool output.",
22116
+ "x-opaque-json": true,
22117
+ "stability": "experimental"
22100
22118
  }
22101
22119
  },
22102
22120
  "required": [
Binary file