@github/copilot-language-server 1.567.0 → 1.568.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/README.md +9 -2
- package/dist/main.js +1091 -1109
- package/dist/node_modules/@github/copilot-sdk/dist/cjs/cliVersion.js +1 -1
- package/dist/node_modules/@github/copilot-sdk/dist/cjs/client.js +1 -5
- package/dist/node_modules/@github/copilot-sdk/dist/cjs/session.js +1 -10
- 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.103";
|
|
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,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(() => {
|
|
@@ -1041,15 +1041,7 @@ 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 {
|
|
1045
|
-
message,
|
|
1046
|
-
requestedSchema,
|
|
1047
|
-
mode,
|
|
1048
|
-
elicitationSource,
|
|
1049
|
-
elicitationSourceDisplayName,
|
|
1050
|
-
url,
|
|
1051
|
-
requestId
|
|
1052
|
-
} = event.data;
|
|
1044
|
+
const { message, requestedSchema, mode, elicitationSource, url, requestId } = event.data;
|
|
1053
1045
|
void this._handleElicitationRequest(
|
|
1054
1046
|
{
|
|
1055
1047
|
sessionId: this.sessionId,
|
|
@@ -1057,7 +1049,6 @@ class CopilotSession {
|
|
|
1057
1049
|
requestedSchema,
|
|
1058
1050
|
mode,
|
|
1059
1051
|
elicitationSource,
|
|
1060
|
-
elicitationSourceDisplayName,
|
|
1061
1052
|
url
|
|
1062
1053
|
},
|
|
1063
1054
|
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.26",
|
|
9
|
+
"copilotCliVersion": "1.0.103",
|
|
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": "131fc866123af5df4451497f183cadef4ddf20f2",
|
|
118
|
+
"version": "1.0.103",
|
|
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.26",
|
|
123
|
+
"@github/copilot-sdk-darwin-x64": "1.0.26",
|
|
124
|
+
"@github/copilot-sdk-linux-arm64": "1.0.26",
|
|
125
|
+
"@github/copilot-sdk-linux-x64": "1.0.26",
|
|
126
|
+
"@github/copilot-sdk-linuxmusl-arm64": "1.0.26",
|
|
127
|
+
"@github/copilot-sdk-linuxmusl-x64": "1.0.26",
|
|
128
|
+
"@github/copilot-sdk-win32-arm64": "1.0.26",
|
|
129
|
+
"@github/copilot-sdk-win32-x64": "1.0.26"
|
|
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.568.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.568.0",
|
|
45
|
+
"@github/copilot-language-server-win32-arm64": "1.568.0",
|
|
46
|
+
"@github/copilot-language-server-linux-x64": "1.568.0",
|
|
47
|
+
"@github/copilot-language-server-linux-arm64": "1.568.0",
|
|
48
|
+
"@github/copilot-language-server-darwin-x64": "1.568.0",
|
|
49
|
+
"@github/copilot-language-server-darwin-arm64": "1.568.0",
|
|
50
|
+
"@github/copilot-win32-x64": "1.0.103",
|
|
51
|
+
"@github/copilot-win32-arm64": "1.0.103",
|
|
52
|
+
"@github/copilot-linux-x64": "1.0.103",
|
|
53
|
+
"@github/copilot-linux-arm64": "1.0.103",
|
|
54
|
+
"@github/copilot-darwin-x64": "1.0.103",
|
|
55
|
+
"@github/copilot-darwin-arm64": "1.0.103",
|
|
56
|
+
"@github/copilot-sdk-win32-x64": "1.0.26",
|
|
57
|
+
"@github/copilot-sdk-win32-arm64": "1.0.26",
|
|
58
|
+
"@github/copilot-sdk-linux-x64": "1.0.26",
|
|
59
|
+
"@github/copilot-sdk-linux-arm64": "1.0.26",
|
|
60
|
+
"@github/copilot-sdk-darwin-x64": "1.0.26",
|
|
61
|
+
"@github/copilot-sdk-darwin-arm64": "1.0.26"
|
|
62
62
|
},
|
|
63
63
|
"buildType": "prod",
|
|
64
|
-
"build": "
|
|
64
|
+
"build": "205"
|
|
65
65
|
}
|