@github/copilot-sdk 1.0.6-preview.1 → 1.0.7-preview.0
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/dist/cjs/client.js +9 -5
- package/dist/cjs/generated/rpc.js +64 -28
- package/dist/client.js +9 -5
- package/dist/generated/rpc.d.ts +893 -155
- package/dist/generated/rpc.js +64 -28
- package/dist/generated/session-events.d.ts +373 -84
- package/dist/types.d.ts +7 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -1782,6 +1782,13 @@ export interface SessionConfigBase {
|
|
|
1782
1782
|
* the identity used for content exclusion, model routing, and quota checks.
|
|
1783
1783
|
*/
|
|
1784
1784
|
gitHubToken?: string;
|
|
1785
|
+
/**
|
|
1786
|
+
* Opt-in: when true, the runtime self-fetches enterprise managed settings
|
|
1787
|
+
* (bypass-permissions policy) at session bootstrap using the session's
|
|
1788
|
+
* `gitHubToken`. Requires {@link SessionConfigBase.gitHubToken} to be set;
|
|
1789
|
+
* if omitted, the runtime is expected to reject session creation (fail-closed).
|
|
1790
|
+
*/
|
|
1791
|
+
enableManagedSettings?: boolean;
|
|
1785
1792
|
/**
|
|
1786
1793
|
* When true, skips embedding-based retrieval for this session.
|
|
1787
1794
|
* Use in multitenant deployments to prevent cross-session information leakage
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "https://github.com/github/copilot-sdk.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.0.
|
|
7
|
+
"version": "1.0.7-preview.0",
|
|
8
8
|
"description": "TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC",
|
|
9
9
|
"main": "./dist/cjs/index.js",
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"author": "GitHub",
|
|
57
57
|
"license": "MIT",
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@github/copilot": "^1.0.
|
|
59
|
+
"@github/copilot": "^1.0.70-0",
|
|
60
60
|
"vscode-jsonrpc": "^8.2.1",
|
|
61
61
|
"zod": "^4.3.6"
|
|
62
62
|
},
|