@github/copilot-sdk 1.0.13-preview.4 → 1.0.13

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/package.json CHANGED
@@ -1,92 +1,107 @@
1
1
  {
2
- "name": "@github/copilot-sdk",
3
- "repository": {
4
- "type": "git",
5
- "url": "https://github.com/github/copilot-sdk.git"
6
- },
7
- "version": "1.0.13-preview.4",
8
- "description": "TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC",
9
- "main": "./dist/cjs/index.js",
10
- "types": "./dist/index.d.ts",
11
- "exports": {
12
- ".": {
13
- "import": {
14
- "types": "./dist/index.d.ts",
15
- "default": "./dist/index.js"
16
- },
17
- "require": {
18
- "types": "./dist/index.d.ts",
19
- "default": "./dist/cjs/index.js"
20
- }
2
+ "name": "@github/copilot-sdk",
3
+ "repository": {
4
+ "type": "git",
5
+ "url": "https://github.com/github/copilot-sdk.git"
21
6
  },
22
- "./extension": {
23
- "import": {
24
- "types": "./dist/extension.d.ts",
25
- "default": "./dist/extension.js"
26
- },
27
- "require": {
28
- "types": "./dist/extension.d.ts",
29
- "default": "./dist/cjs/extension.js"
30
- }
7
+ "version": "1.0.13",
8
+ "copilotCliVersion": "1.0.83",
9
+ "description": "TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC",
10
+ "main": "./dist/cjs/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": {
15
+ "types": "./dist/index.d.ts",
16
+ "default": "./dist/index.js"
17
+ },
18
+ "require": {
19
+ "types": "./dist/index.d.ts",
20
+ "default": "./dist/cjs/index.js"
21
+ }
22
+ },
23
+ "./extension": {
24
+ "import": {
25
+ "types": "./dist/extension.d.ts",
26
+ "default": "./dist/extension.js"
27
+ },
28
+ "require": {
29
+ "types": "./dist/extension.d.ts",
30
+ "default": "./dist/cjs/extension.js"
31
+ }
32
+ }
33
+ },
34
+ "type": "module",
35
+ "scripts": {
36
+ "clean": "rimraf --glob dist *.tgz",
37
+ "build": "tsx esbuild-copilotsdk-nodejs.ts",
38
+ "pack:release": "tsx scripts/package-sdk.ts",
39
+ "verify:release-packages": "tsx scripts/verify-release-packages.ts",
40
+ "prepare:runtime": "tsx scripts/prepare-runtime.ts",
41
+ "test": "vitest run",
42
+ "test:watch": "vitest",
43
+ "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" --ignore-path .prettierignore",
44
+ "format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" --ignore-path .prettierignore",
45
+ "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
46
+ "lint:fix": "eslint --fix \"src/**/*.ts\" \"test/**/*.ts\"",
47
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
48
+ "generate": "cd ../scripts/codegen && npm run generate",
49
+ "set:cli-version": "node scripts/set-cli-version.js",
50
+ "update:protocol-version": "tsx scripts/update-protocol-version.ts",
51
+ "prepublishOnly": "npm run build",
52
+ "package": "npm run clean && npm run build && node scripts/set-version.js && npm run pack:release && npm version 0.0.0-dev --no-git-tag-version --allow-same-version"
53
+ },
54
+ "keywords": [
55
+ "github",
56
+ "copilot",
57
+ "sdk",
58
+ "jsonrpc",
59
+ "agent"
60
+ ],
61
+ "author": "GitHub",
62
+ "license": "MIT",
63
+ "dependencies": {
64
+ "koffi": "^3.1.0",
65
+ "vscode-jsonrpc": "^8.2.1",
66
+ "zod": "^4.3.6"
67
+ },
68
+ "devDependencies": {
69
+ "@platformatic/vfs": "^0.3.0",
70
+ "@types/node": "^25.2.0",
71
+ "@types/ws": "^8.18.1",
72
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
73
+ "@typescript-eslint/parser": "^8.54.0",
74
+ "esbuild": "^0.28.1",
75
+ "eslint": "^9.0.0",
76
+ "glob": "^13.0.1",
77
+ "json-schema": "^0.4.0",
78
+ "json-schema-to-typescript": "^15.0.4",
79
+ "prettier": "^3.8.1",
80
+ "quicktype-core": "^23.2.6",
81
+ "rimraf": "^6.1.2",
82
+ "semver": "^7.7.3",
83
+ "tar": "^7.5.22",
84
+ "tsx": "^4.20.6",
85
+ "typescript": "^5.0.0",
86
+ "vitest": "^4.0.18",
87
+ "ws": "^8.21.0"
88
+ },
89
+ "engines": {
90
+ "node": "^20.19.0 || >=22.12.0"
91
+ },
92
+ "files": [
93
+ "dist/**/*",
94
+ "docs/**/*",
95
+ "README.md"
96
+ ],
97
+ "optionalDependencies": {
98
+ "@github/copilot-sdk-darwin-arm64": "1.0.13",
99
+ "@github/copilot-sdk-darwin-x64": "1.0.13",
100
+ "@github/copilot-sdk-linux-arm64": "1.0.13",
101
+ "@github/copilot-sdk-linux-x64": "1.0.13",
102
+ "@github/copilot-sdk-linuxmusl-arm64": "1.0.13",
103
+ "@github/copilot-sdk-linuxmusl-x64": "1.0.13",
104
+ "@github/copilot-sdk-win32-arm64": "1.0.13",
105
+ "@github/copilot-sdk-win32-x64": "1.0.13"
31
106
  }
32
- },
33
- "type": "module",
34
- "scripts": {
35
- "clean": "rimraf --glob dist *.tgz",
36
- "build": "tsx esbuild-copilotsdk-nodejs.ts",
37
- "test": "vitest run",
38
- "test:watch": "vitest",
39
- "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" --ignore-path .prettierignore",
40
- "format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" --ignore-path .prettierignore",
41
- "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
42
- "lint:fix": "eslint --fix \"src/**/*.ts\" \"test/**/*.ts\"",
43
- "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
44
- "generate": "cd ../scripts/codegen && npm run generate",
45
- "update:protocol-version": "tsx scripts/update-protocol-version.ts",
46
- "prepublishOnly": "npm run build",
47
- "package": "npm run clean && npm run build && node scripts/set-version.js && npm pack && npm version 0.0.0-dev --no-git-tag-version --allow-same-version"
48
- },
49
- "keywords": [
50
- "github",
51
- "copilot",
52
- "sdk",
53
- "jsonrpc",
54
- "agent"
55
- ],
56
- "author": "GitHub",
57
- "license": "MIT",
58
- "dependencies": {
59
- "@github/copilot": "^1.0.83-0",
60
- "koffi": "^3.1.0",
61
- "vscode-jsonrpc": "^8.2.1",
62
- "zod": "^4.3.6"
63
- },
64
- "devDependencies": {
65
- "@platformatic/vfs": "^0.3.0",
66
- "@types/node": "^25.2.0",
67
- "@types/ws": "^8.18.1",
68
- "@typescript-eslint/eslint-plugin": "^8.54.0",
69
- "@typescript-eslint/parser": "^8.54.0",
70
- "esbuild": "^0.28.1",
71
- "eslint": "^9.0.0",
72
- "glob": "^13.0.1",
73
- "json-schema": "^0.4.0",
74
- "json-schema-to-typescript": "^15.0.4",
75
- "prettier": "^3.8.1",
76
- "quicktype-core": "^23.2.6",
77
- "rimraf": "^6.1.2",
78
- "semver": "^7.7.3",
79
- "tsx": "^4.20.6",
80
- "typescript": "^5.0.0",
81
- "vitest": "^4.0.18",
82
- "ws": "^8.21.0"
83
- },
84
- "engines": {
85
- "node": "^20.19.0 || >=22.12.0"
86
- },
87
- "files": [
88
- "dist/**/*",
89
- "docs/**/*",
90
- "README.md"
91
- ]
92
107
  }