@github/copilot-sdk 1.0.27-preview.1 → 1.0.27-unstable.39903661716.gbccf8a3
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/cliVersion.js +1 -1
- package/dist/cjs/client.js +1 -5
- package/dist/cliVersion.d.ts +1 -1
- package/dist/cliVersion.js +1 -1
- package/dist/client.js +1 -5
- package/dist/generated/rpc.d.ts +0 -8
- package/dist/host.d.ts +0 -5
- package/dist/types.d.ts +0 -14
- package/package.json +12 -12
package/dist/cjs/cliVersion.js
CHANGED
|
@@ -22,7 +22,7 @@ __export(cliVersion_exports, {
|
|
|
22
22
|
COPILOT_CLI_VERSION: () => COPILOT_CLI_VERSION
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(cliVersion_exports);
|
|
25
|
-
const COPILOT_CLI_VERSION = "1.0.
|
|
25
|
+
const COPILOT_CLI_VERSION = "1.0.103-unstable.r39903661716.gbccf8a3";
|
|
26
26
|
const COPILOT_CLI_USE_NPM_PACKAGE = false;
|
|
27
27
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
28
|
0 && (module.exports = {
|
package/dist/cjs/client.js
CHANGED
|
@@ -1425,7 +1425,6 @@ class CopilotClient {
|
|
|
1425
1425
|
featureFlags: config.featureFlags,
|
|
1426
1426
|
expAssignments: config.expAssignments,
|
|
1427
1427
|
enableManagedSettings: config.enableManagedSettings,
|
|
1428
|
-
excludedManagedSettings: config.excludedManagedSettings,
|
|
1429
1428
|
enforceManagedModelDefaults: config.enforceManagedModelDefaults,
|
|
1430
1429
|
interactiveUser: config.interactiveUser,
|
|
1431
1430
|
managedSettings: config.managedSettings
|
|
@@ -1701,7 +1700,6 @@ class CopilotClient {
|
|
|
1701
1700
|
featureFlags: config.featureFlags,
|
|
1702
1701
|
expAssignments: config.expAssignments,
|
|
1703
1702
|
enableManagedSettings: config.enableManagedSettings,
|
|
1704
|
-
excludedManagedSettings: config.excludedManagedSettings,
|
|
1705
1703
|
enforceManagedModelDefaults: config.enforceManagedModelDefaults,
|
|
1706
1704
|
interactiveUser: config.interactiveUser,
|
|
1707
1705
|
managedSettings: config.managedSettings,
|
|
@@ -1792,7 +1790,6 @@ class CopilotClient {
|
|
|
1792
1790
|
}
|
|
1793
1791
|
const {
|
|
1794
1792
|
computeId,
|
|
1795
|
-
workspace,
|
|
1796
1793
|
allowCreatingNewSessions,
|
|
1797
1794
|
localServer,
|
|
1798
1795
|
githubEnvironment,
|
|
@@ -1820,7 +1817,6 @@ class CopilotClient {
|
|
|
1820
1817
|
hostId,
|
|
1821
1818
|
authentication: authentication.mode === "custom" ? { mode: "custom", requireIdentity: authentication.requireIdentity } : { mode: authentication.mode },
|
|
1822
1819
|
computeId,
|
|
1823
|
-
workspace,
|
|
1824
1820
|
localServer,
|
|
1825
1821
|
githubEnvironment,
|
|
1826
1822
|
sessionFactory: createSession ? true : void 0,
|
|
@@ -2899,7 +2895,7 @@ stderr: ${stderrOutput}` : ""}`
|
|
|
2899
2895
|
this.connectionClosed = true;
|
|
2900
2896
|
if (messageWriter) messageWriter.suppressWriteErrors = true;
|
|
2901
2897
|
exitFallback = setTimeout(disconnectAfterDrain, RUNTIME_SHUTDOWN_TIMEOUT_MS);
|
|
2902
|
-
exitFallback.unref
|
|
2898
|
+
exitFallback.unref();
|
|
2903
2899
|
});
|
|
2904
2900
|
}
|
|
2905
2901
|
this.connection.onError(() => {
|
package/dist/cliVersion.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const COPILOT_CLI_VERSION = "1.0.
|
|
1
|
+
export declare const COPILOT_CLI_VERSION = "1.0.103-unstable.r39903661716.gbccf8a3";
|
|
2
2
|
export declare const COPILOT_CLI_USE_NPM_PACKAGE = false;
|
package/dist/cliVersion.js
CHANGED
package/dist/client.js
CHANGED
|
@@ -1407,7 +1407,6 @@ class CopilotClient {
|
|
|
1407
1407
|
featureFlags: config.featureFlags,
|
|
1408
1408
|
expAssignments: config.expAssignments,
|
|
1409
1409
|
enableManagedSettings: config.enableManagedSettings,
|
|
1410
|
-
excludedManagedSettings: config.excludedManagedSettings,
|
|
1411
1410
|
enforceManagedModelDefaults: config.enforceManagedModelDefaults,
|
|
1412
1411
|
interactiveUser: config.interactiveUser,
|
|
1413
1412
|
managedSettings: config.managedSettings
|
|
@@ -1683,7 +1682,6 @@ class CopilotClient {
|
|
|
1683
1682
|
featureFlags: config.featureFlags,
|
|
1684
1683
|
expAssignments: config.expAssignments,
|
|
1685
1684
|
enableManagedSettings: config.enableManagedSettings,
|
|
1686
|
-
excludedManagedSettings: config.excludedManagedSettings,
|
|
1687
1685
|
enforceManagedModelDefaults: config.enforceManagedModelDefaults,
|
|
1688
1686
|
interactiveUser: config.interactiveUser,
|
|
1689
1687
|
managedSettings: config.managedSettings,
|
|
@@ -1774,7 +1772,6 @@ class CopilotClient {
|
|
|
1774
1772
|
}
|
|
1775
1773
|
const {
|
|
1776
1774
|
computeId,
|
|
1777
|
-
workspace,
|
|
1778
1775
|
allowCreatingNewSessions,
|
|
1779
1776
|
localServer,
|
|
1780
1777
|
githubEnvironment,
|
|
@@ -1802,7 +1799,6 @@ class CopilotClient {
|
|
|
1802
1799
|
hostId,
|
|
1803
1800
|
authentication: authentication.mode === "custom" ? { mode: "custom", requireIdentity: authentication.requireIdentity } : { mode: authentication.mode },
|
|
1804
1801
|
computeId,
|
|
1805
|
-
workspace,
|
|
1806
1802
|
localServer,
|
|
1807
1803
|
githubEnvironment,
|
|
1808
1804
|
sessionFactory: createSession ? true : void 0,
|
|
@@ -2881,7 +2877,7 @@ stderr: ${stderrOutput}` : ""}`
|
|
|
2881
2877
|
this.connectionClosed = true;
|
|
2882
2878
|
if (messageWriter) messageWriter.suppressWriteErrors = true;
|
|
2883
2879
|
exitFallback = setTimeout(disconnectAfterDrain, RUNTIME_SHUTDOWN_TIMEOUT_MS);
|
|
2884
|
-
exitFallback.unref
|
|
2880
|
+
exitFallback.unref();
|
|
2885
2881
|
});
|
|
2886
2882
|
}
|
|
2887
2883
|
this.connection.onError(() => {
|
package/dist/generated/rpc.d.ts
CHANGED
|
@@ -14692,10 +14692,6 @@ export interface HostStartRequest {
|
|
|
14692
14692
|
* Stable application identity selecting its durable host catalog. Defaults to the persisted runtime compute GUID; must agree with githubEnvironment.computeId when both are supplied.
|
|
14693
14693
|
*/
|
|
14694
14694
|
computeId?: string;
|
|
14695
|
-
/**
|
|
14696
|
-
* Absolute directory on the runtime host to serve through AHP. Defaults to the runtime's configured working directory. Does not change process or session working directories.
|
|
14697
|
-
*/
|
|
14698
|
-
workspace?: string;
|
|
14699
14695
|
localServer?: HostLocalServerOptions;
|
|
14700
14696
|
githubEnvironment?: HostGitHubEnvironmentOptions;
|
|
14701
14697
|
/**
|
|
@@ -26326,10 +26322,6 @@ export interface SessionOpenOptions {
|
|
|
26326
26322
|
* Opt-in: self-fetch and enforce enterprise managed settings, including managed hook policies, at session bootstrap.
|
|
26327
26323
|
*/
|
|
26328
26324
|
enableManagedSettings?: boolean;
|
|
26329
|
-
/**
|
|
26330
|
-
* Managed-setting paths this trusted SDK host enforces externally or does not support, excluded from fetched, device, and policy-helper policy for this session. Exact dotted paths exclude a setting and its descendants (for example sandbox or permissions.disableBypassPermissionsMode); wildcards and array indices are not supported. Host-injected managedSettings and policy availability checks are not excluded. Not persisted; re-supply on resume, where omission restores full enforcement. Requires enableManagedSettings to self-fetch policy.
|
|
26331
|
-
*/
|
|
26332
|
-
excludedManagedSettings?: string[];
|
|
26333
26325
|
/**
|
|
26334
26326
|
* Opt in to enforcing non-overridable managed model controls on session model, Auto-tier, reasoning-effort, and context-tier changes. Managed defaults still apply when omitted; this option only turns conflicting changes into errors.
|
|
26335
26327
|
*/
|
package/dist/host.d.ts
CHANGED
|
@@ -67,11 +67,6 @@ export interface AhpHostOptions {
|
|
|
67
67
|
authentication: AhpHostAuthentication;
|
|
68
68
|
/** Stable catalog identity; must agree with githubEnvironment.computeId when both are supplied. */
|
|
69
69
|
computeId?: string;
|
|
70
|
-
/**
|
|
71
|
-
* Absolute directory on the runtime host to serve through AHP.
|
|
72
|
-
* Defaults to the runtime's configured working directory; does not change process or session working directories.
|
|
73
|
-
*/
|
|
74
|
-
workspace?: string;
|
|
75
70
|
/** Enable a local WebSocket listener; an empty object selects loopback defaults. */
|
|
76
71
|
localServer?: HostLocalServerOptions;
|
|
77
72
|
/** Register a Mission Control environment and enable remote WPS connections; requires github authentication. */
|
package/dist/types.d.ts
CHANGED
|
@@ -2643,20 +2643,6 @@ export interface SessionConfigBase {
|
|
|
2643
2643
|
* if omitted, the runtime is expected to reject session creation (fail-closed).
|
|
2644
2644
|
*/
|
|
2645
2645
|
enableManagedSettings?: boolean;
|
|
2646
|
-
/**
|
|
2647
|
-
* Managed-setting paths this trusted host handles externally or does not
|
|
2648
|
-
* support. Exact dotted paths exclude a setting and its descendants from
|
|
2649
|
-
* fetched, device, and policy-helper policy (for example `"sandbox"` or
|
|
2650
|
-
* `"permissions.disableBypassPermissionsMode"`). MCP allow/deny controls
|
|
2651
|
-
* are `"allowedMcpServers"` and `"deniedMcpServers"`, not an `"mcp"` subtree.
|
|
2652
|
-
* Wildcards and array indices are unsupported. Unknown paths are accepted
|
|
2653
|
-
* for forward compatibility. Host-injected `managedSettings` and policy
|
|
2654
|
-
* availability checks are unaffected.
|
|
2655
|
-
*
|
|
2656
|
-
* Not persisted: re-supply on resume; omission restores full enforcement.
|
|
2657
|
-
* This does not enable self-fetching; use `enableManagedSettings: true`.
|
|
2658
|
-
*/
|
|
2659
|
-
excludedManagedSettings?: string[];
|
|
2660
2646
|
/**
|
|
2661
2647
|
* When true, locked managed model controls are enforced for this session.
|
|
2662
2648
|
* Conflicting model changes are rejected, and locked startup values replace
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"url": "https://github.com/github/copilot-agent-runtime.git",
|
|
6
6
|
"directory": "src/sdk/nodejs"
|
|
7
7
|
},
|
|
8
|
-
"version": "1.0.27-
|
|
9
|
-
"copilotCliVersion": "1.0.
|
|
8
|
+
"version": "1.0.27-unstable.39903661716.gbccf8a3",
|
|
9
|
+
"copilotCliVersion": "1.0.103-unstable.r39903661716.gbccf8a3",
|
|
10
10
|
"description": "TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC",
|
|
11
11
|
"main": "./dist/cjs/index.js",
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
@@ -114,18 +114,18 @@
|
|
|
114
114
|
"README.md"
|
|
115
115
|
],
|
|
116
116
|
"copilotRuntime": {
|
|
117
|
-
"sourceSha": "
|
|
118
|
-
"version": "1.0.
|
|
117
|
+
"sourceSha": "bccf8a311fe791dc6e7ca5c949b1993a033577c7",
|
|
118
|
+
"version": "1.0.103-unstable.r39903661716.gbccf8a3",
|
|
119
119
|
"visibility": "public"
|
|
120
120
|
},
|
|
121
121
|
"optionalDependencies": {
|
|
122
|
-
"@github/copilot-sdk-darwin-arm64": "1.0.27-
|
|
123
|
-
"@github/copilot-sdk-darwin-x64": "1.0.27-
|
|
124
|
-
"@github/copilot-sdk-linux-arm64": "1.0.27-
|
|
125
|
-
"@github/copilot-sdk-linux-x64": "1.0.27-
|
|
126
|
-
"@github/copilot-sdk-linuxmusl-arm64": "1.0.27-
|
|
127
|
-
"@github/copilot-sdk-linuxmusl-x64": "1.0.27-
|
|
128
|
-
"@github/copilot-sdk-win32-arm64": "1.0.27-
|
|
129
|
-
"@github/copilot-sdk-win32-x64": "1.0.27-
|
|
122
|
+
"@github/copilot-sdk-darwin-arm64": "1.0.27-unstable.39903661716.gbccf8a3",
|
|
123
|
+
"@github/copilot-sdk-darwin-x64": "1.0.27-unstable.39903661716.gbccf8a3",
|
|
124
|
+
"@github/copilot-sdk-linux-arm64": "1.0.27-unstable.39903661716.gbccf8a3",
|
|
125
|
+
"@github/copilot-sdk-linux-x64": "1.0.27-unstable.39903661716.gbccf8a3",
|
|
126
|
+
"@github/copilot-sdk-linuxmusl-arm64": "1.0.27-unstable.39903661716.gbccf8a3",
|
|
127
|
+
"@github/copilot-sdk-linuxmusl-x64": "1.0.27-unstable.39903661716.gbccf8a3",
|
|
128
|
+
"@github/copilot-sdk-win32-arm64": "1.0.27-unstable.39903661716.gbccf8a3",
|
|
129
|
+
"@github/copilot-sdk-win32-x64": "1.0.27-unstable.39903661716.gbccf8a3"
|
|
130
130
|
}
|
|
131
131
|
}
|