@github/copilot-sdk 1.0.29-preview.0 → 1.0.29-preview.1

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.
@@ -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.106-1";
25
+ const COPILOT_CLI_VERSION = "1.0.106-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 = {
@@ -1,2 +1,2 @@
1
- export declare const COPILOT_CLI_VERSION = "1.0.106-1";
1
+ export declare const COPILOT_CLI_VERSION = "1.0.106-2";
2
2
  export declare const COPILOT_CLI_USE_NPM_PACKAGE = false;
@@ -1,4 +1,4 @@
1
- const COPILOT_CLI_VERSION = "1.0.106-1";
1
+ const COPILOT_CLI_VERSION = "1.0.106-2";
2
2
  const COPILOT_CLI_USE_NPM_PACKAGE = false;
3
3
  export {
4
4
  COPILOT_CLI_USE_NPM_PACKAGE,
@@ -36548,7 +36548,7 @@ export interface WorkspacesStatFileResult {
36548
36548
  /** @experimental */
36549
36549
  export interface WorkspacesTruncateSummariesRequest {
36550
36550
  /**
36551
- * Number of newest summaries to keep.
36551
+ * Highest checkpoint number to keep. Checkpoints 1 through keepCount (the oldest) are kept and every later checkpoint is deleted; 0 deletes all.
36552
36552
  */
36553
36553
  keepCount: number;
36554
36554
  }
package/dist/types.d.ts CHANGED
@@ -363,7 +363,8 @@ export interface CopilotClientOptions {
363
363
  /**
364
364
  * Whether to use the logged-in user for authentication.
365
365
  * When true, the runtime will attempt to use stored OAuth tokens or gh CLI auth.
366
- * When false, only explicit tokens (gitHubToken or environment variables) are used.
366
+ * When false, only explicit tokens such as gitHubToken are used; environment variable
367
+ * tokens (COPILOT_GITHUB_TOKEN, GH_TOKEN, GITHUB_TOKEN) are ignored.
367
368
  * @default true (but defaults to false when gitHubToken is provided)
368
369
  */
369
370
  useLoggedInUser?: boolean;
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.29-preview.0",
9
- "copilotCliVersion": "1.0.106-1",
8
+ "version": "1.0.29-preview.1",
9
+ "copilotCliVersion": "1.0.106-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",
@@ -79,8 +79,8 @@
79
79
  "@types/node": "^26.6.5",
80
80
  "@types/semver": "7.8.0",
81
81
  "@types/ws": "^8.18.1",
82
- "@typescript-eslint/eslint-plugin": "^8.72.1",
83
- "@typescript-eslint/parser": "^8.72.1",
82
+ "@typescript-eslint/eslint-plugin": "^8.72.0",
83
+ "@typescript-eslint/parser": "^8.72.0",
84
84
  "esbuild": "^0.28.1",
85
85
  "eslint": "^10.13.0",
86
86
  "file-entry-cache": "file:./scripts/eslint-file-cache",
@@ -114,18 +114,18 @@
114
114
  "README.md"
115
115
  ],
116
116
  "copilotRuntime": {
117
- "sourceSha": "1fb35cfaf220f19b8983d5cbd2f7aa2128e58b3c",
118
- "version": "1.0.106-1",
117
+ "sourceSha": "2835f5808734479cfb69a4ec70edccc2309115c4",
118
+ "version": "1.0.106-2",
119
119
  "visibility": "public"
120
120
  },
121
121
  "optionalDependencies": {
122
- "@github/copilot-sdk-darwin-arm64": "1.0.29-preview.0",
123
- "@github/copilot-sdk-darwin-x64": "1.0.29-preview.0",
124
- "@github/copilot-sdk-linux-arm64": "1.0.29-preview.0",
125
- "@github/copilot-sdk-linux-x64": "1.0.29-preview.0",
126
- "@github/copilot-sdk-linuxmusl-arm64": "1.0.29-preview.0",
127
- "@github/copilot-sdk-linuxmusl-x64": "1.0.29-preview.0",
128
- "@github/copilot-sdk-win32-arm64": "1.0.29-preview.0",
129
- "@github/copilot-sdk-win32-x64": "1.0.29-preview.0"
122
+ "@github/copilot-sdk-darwin-arm64": "1.0.29-preview.1",
123
+ "@github/copilot-sdk-darwin-x64": "1.0.29-preview.1",
124
+ "@github/copilot-sdk-linux-arm64": "1.0.29-preview.1",
125
+ "@github/copilot-sdk-linux-x64": "1.0.29-preview.1",
126
+ "@github/copilot-sdk-linuxmusl-arm64": "1.0.29-preview.1",
127
+ "@github/copilot-sdk-linuxmusl-x64": "1.0.29-preview.1",
128
+ "@github/copilot-sdk-win32-arm64": "1.0.29-preview.1",
129
+ "@github/copilot-sdk-win32-x64": "1.0.29-preview.1"
130
130
  }
131
131
  }