@github/copilot-language-server 1.565.6 → 1.567.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/main.js +1013 -1012
- package/dist/node_modules/@github/copilot-sdk/dist/cjs/cliVersion.js +1 -1
- package/dist/node_modules/@github/copilot-sdk/dist/cjs/client.js +5 -1
- package/dist/node_modules/@github/copilot-sdk/dist/cjs/session.js +10 -1
- package/dist/node_modules/@github/copilot-sdk/package.json +12 -12
- package/package.json +20 -20
|
@@ -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.105";
|
|
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 = {
|
|
@@ -1425,6 +1425,7 @@ class CopilotClient {
|
|
|
1425
1425
|
featureFlags: config.featureFlags,
|
|
1426
1426
|
expAssignments: config.expAssignments,
|
|
1427
1427
|
enableManagedSettings: config.enableManagedSettings,
|
|
1428
|
+
excludedManagedSettings: config.excludedManagedSettings,
|
|
1428
1429
|
enforceManagedModelDefaults: config.enforceManagedModelDefaults,
|
|
1429
1430
|
interactiveUser: config.interactiveUser,
|
|
1430
1431
|
managedSettings: config.managedSettings
|
|
@@ -1700,6 +1701,7 @@ class CopilotClient {
|
|
|
1700
1701
|
featureFlags: config.featureFlags,
|
|
1701
1702
|
expAssignments: config.expAssignments,
|
|
1702
1703
|
enableManagedSettings: config.enableManagedSettings,
|
|
1704
|
+
excludedManagedSettings: config.excludedManagedSettings,
|
|
1703
1705
|
enforceManagedModelDefaults: config.enforceManagedModelDefaults,
|
|
1704
1706
|
interactiveUser: config.interactiveUser,
|
|
1705
1707
|
managedSettings: config.managedSettings,
|
|
@@ -1790,6 +1792,7 @@ class CopilotClient {
|
|
|
1790
1792
|
}
|
|
1791
1793
|
const {
|
|
1792
1794
|
computeId,
|
|
1795
|
+
workspace,
|
|
1793
1796
|
allowCreatingNewSessions,
|
|
1794
1797
|
localServer,
|
|
1795
1798
|
githubEnvironment,
|
|
@@ -1817,6 +1820,7 @@ class CopilotClient {
|
|
|
1817
1820
|
hostId,
|
|
1818
1821
|
authentication: authentication.mode === "custom" ? { mode: "custom", requireIdentity: authentication.requireIdentity } : { mode: authentication.mode },
|
|
1819
1822
|
computeId,
|
|
1823
|
+
workspace,
|
|
1820
1824
|
localServer,
|
|
1821
1825
|
githubEnvironment,
|
|
1822
1826
|
sessionFactory: createSession ? true : void 0,
|
|
@@ -2895,7 +2899,7 @@ stderr: ${stderrOutput}` : ""}`
|
|
|
2895
2899
|
this.connectionClosed = true;
|
|
2896
2900
|
if (messageWriter) messageWriter.suppressWriteErrors = true;
|
|
2897
2901
|
exitFallback = setTimeout(disconnectAfterDrain, RUNTIME_SHUTDOWN_TIMEOUT_MS);
|
|
2898
|
-
exitFallback.unref();
|
|
2902
|
+
exitFallback.unref?.();
|
|
2899
2903
|
});
|
|
2900
2904
|
}
|
|
2901
2905
|
this.connection.onError(() => {
|
|
@@ -1041,7 +1041,15 @@ class CopilotSession {
|
|
|
1041
1041
|
void this._executeCommandAndRespond(requestId, commandName, command, args);
|
|
1042
1042
|
} else if (event.type === "elicitation.requested") {
|
|
1043
1043
|
if (this.elicitationHandler) {
|
|
1044
|
-
const {
|
|
1044
|
+
const {
|
|
1045
|
+
message,
|
|
1046
|
+
requestedSchema,
|
|
1047
|
+
mode,
|
|
1048
|
+
elicitationSource,
|
|
1049
|
+
elicitationSourceDisplayName,
|
|
1050
|
+
url,
|
|
1051
|
+
requestId
|
|
1052
|
+
} = event.data;
|
|
1045
1053
|
void this._handleElicitationRequest(
|
|
1046
1054
|
{
|
|
1047
1055
|
sessionId: this.sessionId,
|
|
@@ -1049,6 +1057,7 @@ class CopilotSession {
|
|
|
1049
1057
|
requestedSchema,
|
|
1050
1058
|
mode,
|
|
1051
1059
|
elicitationSource,
|
|
1060
|
+
elicitationSourceDisplayName,
|
|
1052
1061
|
url
|
|
1053
1062
|
},
|
|
1054
1063
|
requestId
|
|
@@ -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.
|
|
9
|
-
"copilotCliVersion": "1.0.
|
|
8
|
+
"version": "1.0.28",
|
|
9
|
+
"copilotCliVersion": "1.0.105",
|
|
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": "845c22879d426535d97901908014b807e0b68d0f",
|
|
118
|
+
"version": "1.0.105",
|
|
119
119
|
"visibility": "public"
|
|
120
120
|
},
|
|
121
121
|
"optionalDependencies": {
|
|
122
|
-
"@github/copilot-sdk-darwin-arm64": "1.0.
|
|
123
|
-
"@github/copilot-sdk-darwin-x64": "1.0.
|
|
124
|
-
"@github/copilot-sdk-linux-arm64": "1.0.
|
|
125
|
-
"@github/copilot-sdk-linux-x64": "1.0.
|
|
126
|
-
"@github/copilot-sdk-linuxmusl-arm64": "1.0.
|
|
127
|
-
"@github/copilot-sdk-linuxmusl-x64": "1.0.
|
|
128
|
-
"@github/copilot-sdk-win32-arm64": "1.0.
|
|
129
|
-
"@github/copilot-sdk-win32-x64": "1.0.
|
|
122
|
+
"@github/copilot-sdk-darwin-arm64": "1.0.28",
|
|
123
|
+
"@github/copilot-sdk-darwin-x64": "1.0.28",
|
|
124
|
+
"@github/copilot-sdk-linux-arm64": "1.0.28",
|
|
125
|
+
"@github/copilot-sdk-linux-x64": "1.0.28",
|
|
126
|
+
"@github/copilot-sdk-linuxmusl-arm64": "1.0.28",
|
|
127
|
+
"@github/copilot-sdk-linuxmusl-x64": "1.0.28",
|
|
128
|
+
"@github/copilot-sdk-win32-arm64": "1.0.28",
|
|
129
|
+
"@github/copilot-sdk-win32-x64": "1.0.28"
|
|
130
130
|
}
|
|
131
131
|
}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"url": "git+https://github.com/github/copilot-language-server-release.git"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.567.0",
|
|
15
15
|
"bin": {
|
|
16
16
|
"copilot-language-server": "../dist/language-server.js"
|
|
17
17
|
},
|
|
@@ -41,25 +41,25 @@
|
|
|
41
41
|
"vscode-languageserver-protocol": "^3.17.5"
|
|
42
42
|
},
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@github/copilot-language-server-win32-x64": "1.
|
|
45
|
-
"@github/copilot-language-server-win32-arm64": "1.
|
|
46
|
-
"@github/copilot-language-server-linux-x64": "1.
|
|
47
|
-
"@github/copilot-language-server-linux-arm64": "1.
|
|
48
|
-
"@github/copilot-language-server-darwin-x64": "1.
|
|
49
|
-
"@github/copilot-language-server-darwin-arm64": "1.
|
|
50
|
-
"@github/copilot-win32-x64": "1.0.
|
|
51
|
-
"@github/copilot-win32-arm64": "1.0.
|
|
52
|
-
"@github/copilot-linux-x64": "1.0.
|
|
53
|
-
"@github/copilot-linux-arm64": "1.0.
|
|
54
|
-
"@github/copilot-darwin-x64": "1.0.
|
|
55
|
-
"@github/copilot-darwin-arm64": "1.0.
|
|
56
|
-
"@github/copilot-sdk-win32-x64": "1.0.
|
|
57
|
-
"@github/copilot-sdk-win32-arm64": "1.0.
|
|
58
|
-
"@github/copilot-sdk-linux-x64": "1.0.
|
|
59
|
-
"@github/copilot-sdk-linux-arm64": "1.0.
|
|
60
|
-
"@github/copilot-sdk-darwin-x64": "1.0.
|
|
61
|
-
"@github/copilot-sdk-darwin-arm64": "1.0.
|
|
44
|
+
"@github/copilot-language-server-win32-x64": "1.567.0",
|
|
45
|
+
"@github/copilot-language-server-win32-arm64": "1.567.0",
|
|
46
|
+
"@github/copilot-language-server-linux-x64": "1.567.0",
|
|
47
|
+
"@github/copilot-language-server-linux-arm64": "1.567.0",
|
|
48
|
+
"@github/copilot-language-server-darwin-x64": "1.567.0",
|
|
49
|
+
"@github/copilot-language-server-darwin-arm64": "1.567.0",
|
|
50
|
+
"@github/copilot-win32-x64": "1.0.105",
|
|
51
|
+
"@github/copilot-win32-arm64": "1.0.105",
|
|
52
|
+
"@github/copilot-linux-x64": "1.0.105",
|
|
53
|
+
"@github/copilot-linux-arm64": "1.0.105",
|
|
54
|
+
"@github/copilot-darwin-x64": "1.0.105",
|
|
55
|
+
"@github/copilot-darwin-arm64": "1.0.105",
|
|
56
|
+
"@github/copilot-sdk-win32-x64": "1.0.28",
|
|
57
|
+
"@github/copilot-sdk-win32-arm64": "1.0.28",
|
|
58
|
+
"@github/copilot-sdk-linux-x64": "1.0.28",
|
|
59
|
+
"@github/copilot-sdk-linux-arm64": "1.0.28",
|
|
60
|
+
"@github/copilot-sdk-darwin-x64": "1.0.28",
|
|
61
|
+
"@github/copilot-sdk-darwin-arm64": "1.0.28"
|
|
62
62
|
},
|
|
63
63
|
"buildType": "prod",
|
|
64
|
-
"build": "
|
|
64
|
+
"build": "204"
|
|
65
65
|
}
|