@github/copilot-sdk 1.0.25-preview.0 → 1.0.25-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.
- package/dist/cjs/cliVersion.js +1 -1
- package/dist/cliVersion.d.ts +1 -1
- package/dist/cliVersion.js +1 -1
- package/dist/generated/rpc.d.ts +18 -0
- package/dist/types.d.ts +6 -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.102-
|
|
25
|
+
const COPILOT_CLI_VERSION = "1.0.102-1";
|
|
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.102-
|
|
1
|
+
export declare const COPILOT_CLI_VERSION = "1.0.102-1";
|
|
2
2
|
export declare const COPILOT_CLI_USE_NPM_PACKAGE = false;
|
package/dist/cliVersion.js
CHANGED
package/dist/generated/rpc.d.ts
CHANGED
|
@@ -3884,6 +3884,18 @@ export type OptionsUpdateToolFilterPrecedence =
|
|
|
3884
3884
|
"available"
|
|
3885
3885
|
/** A tool is enabled if and only if it matches the allowlist (or the allowlist is unset) AND it does not match the denylist. Makes 'all except X' expressible by combining the two lists. */
|
|
3886
3886
|
| "excluded";
|
|
3887
|
+
/**
|
|
3888
|
+
* Memory injection mode. Defaults to system-prompt.
|
|
3889
|
+
*
|
|
3890
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
3891
|
+
* via the `definition` "MemoryMode".
|
|
3892
|
+
*/
|
|
3893
|
+
/** @experimental */
|
|
3894
|
+
export type MemoryMode =
|
|
3895
|
+
/** Include memories in the system prompt (default). */
|
|
3896
|
+
"system-prompt"
|
|
3897
|
+
/** Include memories in user messages. */
|
|
3898
|
+
| "user-prompt";
|
|
3887
3899
|
/**
|
|
3888
3900
|
* Per-source context-window attribution, or null if the session has not yet been initialized (no system prompt or tool metadata cached).
|
|
3889
3901
|
*
|
|
@@ -18447,6 +18459,12 @@ export interface MemoryConfiguration {
|
|
|
18447
18459
|
* Whether memory is enabled for the session.
|
|
18448
18460
|
*/
|
|
18449
18461
|
enabled: boolean;
|
|
18462
|
+
/**
|
|
18463
|
+
* Memory injection mode: system-prompt (default) includes memories in the system prompt; user-prompt includes them in user messages.
|
|
18464
|
+
*
|
|
18465
|
+
* @experimental
|
|
18466
|
+
*/
|
|
18467
|
+
mode?: MemoryMode;
|
|
18450
18468
|
}
|
|
18451
18469
|
/**
|
|
18452
18470
|
* Per-source attribution breakdown for the session's current context window, or null if uninitialized.
|
package/dist/types.d.ts
CHANGED
|
@@ -1752,6 +1752,12 @@ export interface MemoryConfiguration {
|
|
|
1752
1752
|
* Whether the memory feature is enabled for this session.
|
|
1753
1753
|
*/
|
|
1754
1754
|
enabled: boolean;
|
|
1755
|
+
/**
|
|
1756
|
+
* "system-prompt" (default) places memories in the system prompt.
|
|
1757
|
+
* "user-prompt" places memories in generated user-role messages.
|
|
1758
|
+
* @experimental This option may change or be removed in a future release.
|
|
1759
|
+
*/
|
|
1760
|
+
mode?: "system-prompt" | "user-prompt";
|
|
1755
1761
|
}
|
|
1756
1762
|
/**
|
|
1757
1763
|
* Configuration for handling large tool outputs.
|
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.25-preview.
|
|
9
|
-
"copilotCliVersion": "1.0.102-
|
|
8
|
+
"version": "1.0.25-preview.1",
|
|
9
|
+
"copilotCliVersion": "1.0.102-1",
|
|
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.102-
|
|
117
|
+
"sourceSha": "638eca2df1797ed37da09ddd23ba37d298f45ffd",
|
|
118
|
+
"version": "1.0.102-1",
|
|
119
119
|
"visibility": "public"
|
|
120
120
|
},
|
|
121
121
|
"optionalDependencies": {
|
|
122
|
-
"@github/copilot-sdk-darwin-arm64": "1.0.25-preview.
|
|
123
|
-
"@github/copilot-sdk-darwin-x64": "1.0.25-preview.
|
|
124
|
-
"@github/copilot-sdk-linux-arm64": "1.0.25-preview.
|
|
125
|
-
"@github/copilot-sdk-linux-x64": "1.0.25-preview.
|
|
126
|
-
"@github/copilot-sdk-linuxmusl-arm64": "1.0.25-preview.
|
|
127
|
-
"@github/copilot-sdk-linuxmusl-x64": "1.0.25-preview.
|
|
128
|
-
"@github/copilot-sdk-win32-arm64": "1.0.25-preview.
|
|
129
|
-
"@github/copilot-sdk-win32-x64": "1.0.25-preview.
|
|
122
|
+
"@github/copilot-sdk-darwin-arm64": "1.0.25-preview.1",
|
|
123
|
+
"@github/copilot-sdk-darwin-x64": "1.0.25-preview.1",
|
|
124
|
+
"@github/copilot-sdk-linux-arm64": "1.0.25-preview.1",
|
|
125
|
+
"@github/copilot-sdk-linux-x64": "1.0.25-preview.1",
|
|
126
|
+
"@github/copilot-sdk-linuxmusl-arm64": "1.0.25-preview.1",
|
|
127
|
+
"@github/copilot-sdk-linuxmusl-x64": "1.0.25-preview.1",
|
|
128
|
+
"@github/copilot-sdk-win32-arm64": "1.0.25-preview.1",
|
|
129
|
+
"@github/copilot-sdk-win32-x64": "1.0.25-preview.1"
|
|
130
130
|
}
|
|
131
131
|
}
|