@github/copilot-sdk 1.0.18-preview.1 → 1.0.18-preview.2
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/cliVersion.d.ts +1 -1
- package/dist/cliVersion.js +1 -1
- package/dist/generated/session-events.d.ts +32 -0
- 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.94-
|
|
25
|
+
const COPILOT_CLI_VERSION = "1.0.94-2";
|
|
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.94-
|
|
1
|
+
export declare const COPILOT_CLI_VERSION = "1.0.94-2";
|
|
2
2
|
export declare const COPILOT_CLI_USE_NPM_PACKAGE = false;
|
package/dist/cliVersion.js
CHANGED
|
@@ -8661,6 +8661,12 @@ export interface PermissionRequestWrite {
|
|
|
8661
8661
|
* Unified diff showing the proposed changes
|
|
8662
8662
|
*/
|
|
8663
8663
|
diff: string;
|
|
8664
|
+
/**
|
|
8665
|
+
* Complete before/after text previews captured while planning this request. Omitted when a complete preview is unavailable, including pre-read sandbox requests and non-UTF-8 files. Missing sides mean creation or deletion, not unavailable content.
|
|
8666
|
+
*
|
|
8667
|
+
* @minItems 1
|
|
8668
|
+
*/
|
|
8669
|
+
fileEdits?: [PermissionWriteFileEdit, ...PermissionWriteFileEdit[]];
|
|
8664
8670
|
/**
|
|
8665
8671
|
* Path of the file being written to
|
|
8666
8672
|
*/
|
|
@@ -8706,6 +8712,26 @@ export interface PermissionRequestWrite {
|
|
|
8706
8712
|
*/
|
|
8707
8713
|
toolCallId?: string;
|
|
8708
8714
|
}
|
|
8715
|
+
/**
|
|
8716
|
+
* Complete text snapshots for one proposed file change. At least one side is present. Different before and after paths describe a move.
|
|
8717
|
+
*/
|
|
8718
|
+
export interface PermissionWriteFileEdit {
|
|
8719
|
+
after?: PermissionWriteFileContent;
|
|
8720
|
+
before?: PermissionWriteFileContent;
|
|
8721
|
+
}
|
|
8722
|
+
/**
|
|
8723
|
+
* A named, complete UTF-8 text snapshot for a pending file operation.
|
|
8724
|
+
*/
|
|
8725
|
+
export interface PermissionWriteFileContent {
|
|
8726
|
+
/**
|
|
8727
|
+
* Complete file contents, including an empty string for an empty file.
|
|
8728
|
+
*/
|
|
8729
|
+
content: string;
|
|
8730
|
+
/**
|
|
8731
|
+
* Absolute path in the session filesystem namespace.
|
|
8732
|
+
*/
|
|
8733
|
+
path: string;
|
|
8734
|
+
}
|
|
8709
8735
|
/**
|
|
8710
8736
|
* File or directory read permission request
|
|
8711
8737
|
*/
|
|
@@ -9270,6 +9296,12 @@ export interface PermissionPromptRequestWrite {
|
|
|
9270
9296
|
* Unified diff showing the proposed changes
|
|
9271
9297
|
*/
|
|
9272
9298
|
diff: string;
|
|
9299
|
+
/**
|
|
9300
|
+
* Complete before/after text previews captured while planning this request. Omitted when a complete preview is unavailable, including pre-read sandbox requests and non-UTF-8 files. Missing sides mean creation or deletion, not unavailable content.
|
|
9301
|
+
*
|
|
9302
|
+
* @minItems 1
|
|
9303
|
+
*/
|
|
9304
|
+
fileEdits?: [PermissionWriteFileEdit, ...PermissionWriteFileEdit[]];
|
|
9273
9305
|
/**
|
|
9274
9306
|
* Path of the file being written to
|
|
9275
9307
|
*/
|
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.18-preview.
|
|
9
|
-
"copilotCliVersion": "1.0.94-
|
|
8
|
+
"version": "1.0.18-preview.2",
|
|
9
|
+
"copilotCliVersion": "1.0.94-2",
|
|
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",
|
|
@@ -103,18 +103,18 @@
|
|
|
103
103
|
"README.md"
|
|
104
104
|
],
|
|
105
105
|
"copilotRuntime": {
|
|
106
|
-
"sourceSha": "
|
|
107
|
-
"version": "1.0.94-
|
|
106
|
+
"sourceSha": "173920fbcddfef84b5e1029d4331d525fcd2893f",
|
|
107
|
+
"version": "1.0.94-2",
|
|
108
108
|
"visibility": "public"
|
|
109
109
|
},
|
|
110
110
|
"optionalDependencies": {
|
|
111
|
-
"@github/copilot-sdk-darwin-arm64": "1.0.18-preview.
|
|
112
|
-
"@github/copilot-sdk-darwin-x64": "1.0.18-preview.
|
|
113
|
-
"@github/copilot-sdk-linux-arm64": "1.0.18-preview.
|
|
114
|
-
"@github/copilot-sdk-linux-x64": "1.0.18-preview.
|
|
115
|
-
"@github/copilot-sdk-linuxmusl-arm64": "1.0.18-preview.
|
|
116
|
-
"@github/copilot-sdk-linuxmusl-x64": "1.0.18-preview.
|
|
117
|
-
"@github/copilot-sdk-win32-arm64": "1.0.18-preview.
|
|
118
|
-
"@github/copilot-sdk-win32-x64": "1.0.18-preview.
|
|
111
|
+
"@github/copilot-sdk-darwin-arm64": "1.0.18-preview.2",
|
|
112
|
+
"@github/copilot-sdk-darwin-x64": "1.0.18-preview.2",
|
|
113
|
+
"@github/copilot-sdk-linux-arm64": "1.0.18-preview.2",
|
|
114
|
+
"@github/copilot-sdk-linux-x64": "1.0.18-preview.2",
|
|
115
|
+
"@github/copilot-sdk-linuxmusl-arm64": "1.0.18-preview.2",
|
|
116
|
+
"@github/copilot-sdk-linuxmusl-x64": "1.0.18-preview.2",
|
|
117
|
+
"@github/copilot-sdk-win32-arm64": "1.0.18-preview.2",
|
|
118
|
+
"@github/copilot-sdk-win32-x64": "1.0.18-preview.2"
|
|
119
119
|
}
|
|
120
120
|
}
|