@github/copilot-sdk 1.0.15-unstable.36793206303.g13aa136 → 1.0.16-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/README.md +2 -6
- package/dist/cjs/cliVersion.js +1 -1
- package/dist/cliVersion.d.ts +1 -1
- package/dist/cliVersion.js +1 -1
- package/package.json +12 -17
package/README.md
CHANGED
|
@@ -9,8 +9,8 @@ To use the SDK, you'll need:
|
|
|
9
9
|
- Node.js ^20.19.0 or >=22.12.0
|
|
10
10
|
|
|
11
11
|
The SDK uses an optional `@github/copilot-sdk-<platform>` package containing the
|
|
12
|
-
Copilot CLI runtime for the host platform. These packages
|
|
13
|
-
|
|
12
|
+
Copilot CLI runtime for the host platform. These packages are built from
|
|
13
|
+
verified `github/copilot-cli` release assets when the SDK is published, so
|
|
14
14
|
starting the SDK performs no runtime download. Set `COPILOT_CLI_PATH` to use an
|
|
15
15
|
existing installation instead.
|
|
16
16
|
|
|
@@ -20,10 +20,6 @@ replaces both with the CLI version published for that snapshot.
|
|
|
20
20
|
|
|
21
21
|
`npm run pack:release` builds the main package and all platform packages. Set
|
|
22
22
|
`COPILOT_CLI_DOWNLOAD_BASE_URL` to use a release mirror while packaging.
|
|
23
|
-
Standalone source builds acquire stable/prerelease runtime assets from
|
|
24
|
-
`github/copilot-cli` at `v<runtime-version>`, and canonical unstable assets from
|
|
25
|
-
`github/copilot-sdk` at `runtime-<runtime-version>`. Both checksum and package
|
|
26
|
-
downloads use that release location; mirror overrides retain the same tag scheme.
|
|
27
23
|
Release workflows instead set `COPILOT_SDK_RUNTIME_PACKAGE_DIR` to a directory
|
|
28
24
|
containing validated runtime npm package roots named for all eight platforms.
|
|
29
25
|
This keeps `COPILOT_CLI_USE_NPM_PACKAGE` false and embeds those runtime files in
|
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.90-6";
|
|
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/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.90-6";
|
|
2
2
|
export declare const COPILOT_CLI_USE_NPM_PACKAGE = false;
|
package/dist/cliVersion.js
CHANGED
package/package.json
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
"name": "@github/copilot-sdk",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
|
-
"url": "https://github.com/github/copilot-
|
|
6
|
-
"directory": "src/sdk/nodejs"
|
|
5
|
+
"url": "https://github.com/github/copilot-sdk.git"
|
|
7
6
|
},
|
|
8
|
-
"version": "1.0.
|
|
9
|
-
"copilotCliVersion": "1.0.
|
|
7
|
+
"version": "1.0.16-preview.0",
|
|
8
|
+
"copilotCliVersion": "1.0.90-6",
|
|
10
9
|
"description": "TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC",
|
|
11
10
|
"main": "./dist/cjs/index.js",
|
|
12
11
|
"types": "./dist/index.d.ts",
|
|
@@ -37,6 +36,7 @@
|
|
|
37
36
|
"auth:refresh": "node ../scripts/npm-auth-refresh.mjs --run",
|
|
38
37
|
"clean": "rimraf --glob dist *.tgz",
|
|
39
38
|
"build": "tsx esbuild-copilotsdk-nodejs.ts",
|
|
39
|
+
"acquire:runtime-packages": "tsx scripts/runtime-package-acquisition.ts",
|
|
40
40
|
"pack:release": "npm run verify:dependency-policy && tsx scripts/package-sdk.ts",
|
|
41
41
|
"verify:dependency-policy": "tsx scripts/verify-dependency-policy.ts",
|
|
42
42
|
"verify:release-packages": "tsx scripts/verify-release-packages.ts",
|
|
@@ -101,19 +101,14 @@
|
|
|
101
101
|
"docs/**/*",
|
|
102
102
|
"README.md"
|
|
103
103
|
],
|
|
104
|
-
"copilotRuntime": {
|
|
105
|
-
"sourceSha": "13aa1367b75fcbaed5e732b92c113b78b9d598a9",
|
|
106
|
-
"version": "1.0.89-1.unstable.r36793206303.g13aa136",
|
|
107
|
-
"visibility": "public"
|
|
108
|
-
},
|
|
109
104
|
"optionalDependencies": {
|
|
110
|
-
"@github/copilot-sdk-darwin-arm64": "1.0.
|
|
111
|
-
"@github/copilot-sdk-darwin-x64": "1.0.
|
|
112
|
-
"@github/copilot-sdk-linux-arm64": "1.0.
|
|
113
|
-
"@github/copilot-sdk-linux-x64": "1.0.
|
|
114
|
-
"@github/copilot-sdk-linuxmusl-arm64": "1.0.
|
|
115
|
-
"@github/copilot-sdk-linuxmusl-x64": "1.0.
|
|
116
|
-
"@github/copilot-sdk-win32-arm64": "1.0.
|
|
117
|
-
"@github/copilot-sdk-win32-x64": "1.0.
|
|
105
|
+
"@github/copilot-sdk-darwin-arm64": "1.0.16-preview.0",
|
|
106
|
+
"@github/copilot-sdk-darwin-x64": "1.0.16-preview.0",
|
|
107
|
+
"@github/copilot-sdk-linux-arm64": "1.0.16-preview.0",
|
|
108
|
+
"@github/copilot-sdk-linux-x64": "1.0.16-preview.0",
|
|
109
|
+
"@github/copilot-sdk-linuxmusl-arm64": "1.0.16-preview.0",
|
|
110
|
+
"@github/copilot-sdk-linuxmusl-x64": "1.0.16-preview.0",
|
|
111
|
+
"@github/copilot-sdk-win32-arm64": "1.0.16-preview.0",
|
|
112
|
+
"@github/copilot-sdk-win32-x64": "1.0.16-preview.0"
|
|
118
113
|
}
|
|
119
114
|
}
|