@github/copilot-sdk 1.0.21 → 1.0.22-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/README.md +2 -0
- package/dist/cjs/cliVersion.js +1 -1
- package/dist/cjs/client.js +4 -0
- package/dist/cjs/generated/rpc.js +19 -0
- package/dist/cjs/session.js +15 -1
- package/dist/cliVersion.d.ts +1 -1
- package/dist/cliVersion.js +1 -1
- package/dist/client.js +4 -0
- package/dist/generated/rpc.d.ts +284 -2
- package/dist/generated/rpc.js +19 -0
- package/dist/session.js +15 -1
- package/dist/types.d.ts +20 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -375,11 +375,13 @@ Create a new conversation session.
|
|
|
375
375
|
- `workingDirectory?: string` - Working directory for the session (default: runtime process cwd).
|
|
376
376
|
- `refreshCustomInstructions?: boolean` - Invalidates the process-wide custom-instruction discovery cache before creating this session, so instruction-file edits made in the same runtime are read again. Defaults to `false` (cache reuse). Other sessions in this runtime may observe updated instructions on later turns or discovery. This does not watch files or enable disabled instruction loading. Available on `SessionConfig`, not `ResumeSessionConfig`.
|
|
377
377
|
- `enableSessionStore?: boolean` - Enables the cross-session store for search and retrieval across sessions. When unset in `"copilot-cli"` mode, the runtime default applies (enabled). In `"empty"` mode, defaults to disabled.
|
|
378
|
+
- `enableGitHubCacheStore?: boolean` - Requests the read-only GitHub cache store (`github-cache-store` capability) on create or resume. The runtime registers the `github_sql` tool only when its `GITHUB_CACHE_STORE` feature flag is also on. Defaults to disabled in every mode.
|
|
378
379
|
- `gitHubTokenProvider?: GitHubTokenProvider` - Acquires rotating, session-scoped GitHub tokens. Token results require a positive `expiresIn` value in seconds remaining when the callback completes; production tokens typically last eight hours. Cannot be combined with `gitHubToken`.
|
|
379
380
|
- `provider?: ProviderConfig` - Custom API provider configuration (BYOK - Bring Your Own Key). See [Custom Providers](#custom-providers) section.
|
|
380
381
|
- `onPermissionRequest?: PermissionHandler` - Optional handler called before each tool execution to approve or deny it. When omitted, permission requests are emitted as events and left pending for manual resolution. `approveAll` approves requests when managed settings are disabled and throws when `enableManagedSettings` is true. Custom handlers can inspect `managedApprovalRequired` for human-facing confirmation logic. See [Permission Handling](#permission-handling) section.
|
|
381
382
|
- `onUserInputRequest?: UserInputHandler` - Handler for legacy question-and-answer requests from the agent. Enables the legacy `ask_user` tool. See [User Input Requests](#user-input-requests) section.
|
|
382
383
|
- `askUserVariant?: "legacy" | "elicitation"` - Selects the model-facing `ask_user` tool shape when creating or cold-resuming a session. Defaults to `"legacy"`; use `"elicitation"` with `onElicitationRequest`.
|
|
384
|
+
- `interactiveUser?: boolean` - Declares that a person types this session's messages, as in an editor chat panel. Enables the runtime's user-message analysis telemetry for user-authored messages; automated messages stay excluded. Defaults to `false`. Ignored for cloud sessions. Re-supply it when cold-resuming a session; it is ignored when resuming a session that is already active.
|
|
383
385
|
- `onElicitationRequest?: ElicitationHandler` - Handler for elicitation requests dispatched by the server. Enables this client to present form-based UI dialogs on behalf of the agent or other session participants. See [Elicitation Requests](#elicitation-requests) section.
|
|
384
386
|
- `hooks?: SessionHooks` - Hook handlers for session lifecycle events. See [Session Hooks](#session-hooks) section.
|
|
385
387
|
- `skillProvider?: SkillProvider` - **Experimental.** Serves skills from host storage instead of skill directories. Not persisted; pass it again on resume. See [Skill providers](#skill-providers-experimental).
|
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.98-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/cjs/client.js
CHANGED
|
@@ -1375,6 +1375,7 @@ class CopilotClient {
|
|
|
1375
1375
|
enableFileHooks: config.enableFileHooks,
|
|
1376
1376
|
enableHostGitOperations: config.enableHostGitOperations,
|
|
1377
1377
|
enableSessionStore: config.enableSessionStore,
|
|
1378
|
+
enableGitHubCacheStore: config.enableGitHubCacheStore,
|
|
1378
1379
|
enableSkills: config.enableSkills,
|
|
1379
1380
|
skillDirectories: config.skillDirectories,
|
|
1380
1381
|
...config.skillProvider ? { hasSkillProvider: true } : {},
|
|
@@ -1394,6 +1395,7 @@ class CopilotClient {
|
|
|
1394
1395
|
expAssignments: config.expAssignments,
|
|
1395
1396
|
enableManagedSettings: config.enableManagedSettings,
|
|
1396
1397
|
enforceManagedModelDefaults: config.enforceManagedModelDefaults,
|
|
1398
|
+
interactiveUser: config.interactiveUser,
|
|
1397
1399
|
managedSettings: config.managedSettings
|
|
1398
1400
|
});
|
|
1399
1401
|
const {
|
|
@@ -1633,6 +1635,7 @@ class CopilotClient {
|
|
|
1633
1635
|
enableFileHooks: config.enableFileHooks,
|
|
1634
1636
|
enableHostGitOperations: config.enableHostGitOperations,
|
|
1635
1637
|
enableSessionStore: config.enableSessionStore,
|
|
1638
|
+
enableGitHubCacheStore: config.enableGitHubCacheStore,
|
|
1636
1639
|
enableSkills: config.enableSkills,
|
|
1637
1640
|
streaming: config.streaming,
|
|
1638
1641
|
includeSubAgentStreamingEvents: config.includeSubAgentStreamingEvents ?? true,
|
|
@@ -1666,6 +1669,7 @@ class CopilotClient {
|
|
|
1666
1669
|
expAssignments: config.expAssignments,
|
|
1667
1670
|
enableManagedSettings: config.enableManagedSettings,
|
|
1668
1671
|
enforceManagedModelDefaults: config.enforceManagedModelDefaults,
|
|
1672
|
+
interactiveUser: config.interactiveUser,
|
|
1669
1673
|
managedSettings: config.managedSettings,
|
|
1670
1674
|
...extensionOptions?.requestedEnvironmentVariables ? {
|
|
1671
1675
|
requestedEnvironmentVariables: extensionOptions.requestedEnvironmentVariables
|
|
@@ -265,6 +265,17 @@ function createServerRpc(connection) {
|
|
|
265
265
|
getBuiltInCatalog: async () => connection.sendRequest("models.getBuiltInCatalog", {})
|
|
266
266
|
},
|
|
267
267
|
/** @experimental */
|
|
268
|
+
contentExclusion: {
|
|
269
|
+
/**
|
|
270
|
+
* Validates candidate content-exclusion policies and returns them normalized, without starting a session. This runs the same parser the runtime's own policy enforcement uses, so a host cannot accept a policy set the runtime would later reject, nor reject one it would have honored. Call it when policies arrive from outside the runtime — a command-line flag, a configuration file, a host's own settings — and must be checked before a session exists to apply them to. A malformed document fails with a message prefixed `Invalid JSON: `; a well-formed document that violates the policy schema fails with the offending field paths.
|
|
271
|
+
*
|
|
272
|
+
* @param params Candidate content-exclusion policies to validate, as the raw JSON text a host received. The text is supplied unparsed so that a syntax error and a schema violation are both reported by the runtime's own validator rather than by the caller's JSON parser.
|
|
273
|
+
*
|
|
274
|
+
* @returns The accepted policies, parsed and normalized. A rejected input is reported as an error rather than in this result.
|
|
275
|
+
*/
|
|
276
|
+
validatePolicies: async (params) => connection.sendRequest("contentExclusion.validatePolicies", params)
|
|
277
|
+
},
|
|
278
|
+
/** @experimental */
|
|
268
279
|
tools: {
|
|
269
280
|
/**
|
|
270
281
|
* Lists built-in tools available for a model.
|
|
@@ -504,6 +515,14 @@ function createServerRpc(connection) {
|
|
|
504
515
|
* @returns Skill installation management result with the honoured contract, or a typed refusal.
|
|
505
516
|
*/
|
|
506
517
|
planInstall: async (params) => connection.sendRequest("skills.planInstall", params),
|
|
518
|
+
/**
|
|
519
|
+
* Plans installation of the Skill pinned by an Agent Finder materialisation reference without writing files. The runtime retrieves the descriptor only from its fixed Agent Finder authority and applies the same verification as skills.planInstall; the review shows only verified data. Apply the returned plan with skills.applyInstall.
|
|
520
|
+
*
|
|
521
|
+
* @param params Side-effect-free planning of one Skill from a materialisation reference rather than a search candidate.
|
|
522
|
+
*
|
|
523
|
+
* @returns Skill installation management result with the honoured contract, or a typed refusal.
|
|
524
|
+
*/
|
|
525
|
+
planInstallFromReference: async (params) => connection.sendRequest("skills.planInstallFromReference", params),
|
|
507
526
|
/**
|
|
508
527
|
* Consumes one verified Skill installation plan, requests explicit human consent through installations.confirm on the original connection, then revalidates and installs the Skill disabled.
|
|
509
528
|
*
|
package/dist/cjs/session.js
CHANGED
|
@@ -75,6 +75,20 @@ function deserializeHookInput(raw) {
|
|
|
75
75
|
...stop_hook_active === void 0 ? {} : { stopHookActive: stop_hook_active }
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
+
function normalizeHookError(hookType, input) {
|
|
79
|
+
if (hookType !== "errorOccurred" && hookType !== "sessionEnd") {
|
|
80
|
+
return input;
|
|
81
|
+
}
|
|
82
|
+
if (!input || typeof input !== "object" || !("error" in input)) {
|
|
83
|
+
return input;
|
|
84
|
+
}
|
|
85
|
+
const { error } = input;
|
|
86
|
+
if (!error || typeof error !== "object" || Array.isArray(error)) {
|
|
87
|
+
return input;
|
|
88
|
+
}
|
|
89
|
+
const { message } = error;
|
|
90
|
+
return { ...input, error: typeof message === "string" ? message : JSON.stringify(error) };
|
|
91
|
+
}
|
|
78
92
|
function isOpenCanvasInstance(value) {
|
|
79
93
|
if (!value || typeof value !== "object") {
|
|
80
94
|
return false;
|
|
@@ -1793,7 +1807,7 @@ class CopilotSession {
|
|
|
1793
1807
|
if (!this.hooks) {
|
|
1794
1808
|
return void 0;
|
|
1795
1809
|
}
|
|
1796
|
-
const normalized = deserializeHookInput(input);
|
|
1810
|
+
const normalized = normalizeHookError(hookType, deserializeHookInput(input));
|
|
1797
1811
|
const handlerMap = {
|
|
1798
1812
|
preToolUse: this.hooks.onPreToolUse,
|
|
1799
1813
|
preMcpToolCall: this.hooks.onPreMcpToolCall,
|
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.98-1";
|
|
2
2
|
export declare const COPILOT_CLI_USE_NPM_PACKAGE = false;
|
package/dist/cliVersion.js
CHANGED
package/dist/client.js
CHANGED
|
@@ -1355,6 +1355,7 @@ class CopilotClient {
|
|
|
1355
1355
|
enableFileHooks: config.enableFileHooks,
|
|
1356
1356
|
enableHostGitOperations: config.enableHostGitOperations,
|
|
1357
1357
|
enableSessionStore: config.enableSessionStore,
|
|
1358
|
+
enableGitHubCacheStore: config.enableGitHubCacheStore,
|
|
1358
1359
|
enableSkills: config.enableSkills,
|
|
1359
1360
|
skillDirectories: config.skillDirectories,
|
|
1360
1361
|
...config.skillProvider ? { hasSkillProvider: true } : {},
|
|
@@ -1374,6 +1375,7 @@ class CopilotClient {
|
|
|
1374
1375
|
expAssignments: config.expAssignments,
|
|
1375
1376
|
enableManagedSettings: config.enableManagedSettings,
|
|
1376
1377
|
enforceManagedModelDefaults: config.enforceManagedModelDefaults,
|
|
1378
|
+
interactiveUser: config.interactiveUser,
|
|
1377
1379
|
managedSettings: config.managedSettings
|
|
1378
1380
|
});
|
|
1379
1381
|
const {
|
|
@@ -1613,6 +1615,7 @@ class CopilotClient {
|
|
|
1613
1615
|
enableFileHooks: config.enableFileHooks,
|
|
1614
1616
|
enableHostGitOperations: config.enableHostGitOperations,
|
|
1615
1617
|
enableSessionStore: config.enableSessionStore,
|
|
1618
|
+
enableGitHubCacheStore: config.enableGitHubCacheStore,
|
|
1616
1619
|
enableSkills: config.enableSkills,
|
|
1617
1620
|
streaming: config.streaming,
|
|
1618
1621
|
includeSubAgentStreamingEvents: config.includeSubAgentStreamingEvents ?? true,
|
|
@@ -1646,6 +1649,7 @@ class CopilotClient {
|
|
|
1646
1649
|
expAssignments: config.expAssignments,
|
|
1647
1650
|
enableManagedSettings: config.enableManagedSettings,
|
|
1648
1651
|
enforceManagedModelDefaults: config.enforceManagedModelDefaults,
|
|
1652
|
+
interactiveUser: config.interactiveUser,
|
|
1649
1653
|
managedSettings: config.managedSettings,
|
|
1650
1654
|
...extensionOptions?.requestedEnvironmentVariables ? {
|
|
1651
1655
|
requestedEnvironmentVariables: extensionOptions.requestedEnvironmentVariables
|
package/dist/generated/rpc.d.ts
CHANGED
|
@@ -622,6 +622,80 @@ export type CatalogAgentPluginCompatibilityTag =
|
|
|
622
622
|
| "canvas-only"
|
|
623
623
|
/** The plugin targets GitHub Copilot. */
|
|
624
624
|
| "github-copilot";
|
|
625
|
+
/**
|
|
626
|
+
* Typed installability state for an Agent Plugin candidate
|
|
627
|
+
*
|
|
628
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
629
|
+
* via the `definition` "CatalogAgentPluginInstallability".
|
|
630
|
+
*/
|
|
631
|
+
/** @experimental */
|
|
632
|
+
export type CatalogAgentPluginInstallability =
|
|
633
|
+
/** The candidate carries complete, verified install data and the selected session may install it. Its install plan is present. */
|
|
634
|
+
"installable"
|
|
635
|
+
/** The catalogue supplied no complete, verified install data, so no install target is offered. */
|
|
636
|
+
| "install-data-unavailable"
|
|
637
|
+
/** Plugin installation is understood but disabled for the selected session. */
|
|
638
|
+
| "feature-disabled"
|
|
639
|
+
/** Reserved for plugin formats this runtime cannot install. Every format surfaced today installs through a marketplace. */
|
|
640
|
+
| "not-installable-kind";
|
|
641
|
+
/**
|
|
642
|
+
* One place an Agent Plugin can install from: Agent Finder's materialisation, a marketplace, or a GitHub repository. Each variant carries only its own fields.
|
|
643
|
+
*
|
|
644
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
645
|
+
* via the `definition` "CatalogAgentPluginInstallSource".
|
|
646
|
+
*/
|
|
647
|
+
/** @experimental */
|
|
648
|
+
export type CatalogAgentPluginInstallSource = CatalogAgentPluginMaterializationSource | CatalogAgentPluginMarketplaceSource | CatalogAgentPluginRepositorySource;
|
|
649
|
+
/**
|
|
650
|
+
* Discriminator for a materialisation install source
|
|
651
|
+
*
|
|
652
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
653
|
+
* via the `definition` "CatalogAgentPluginMaterializationSourceKind".
|
|
654
|
+
*/
|
|
655
|
+
/** @experimental */
|
|
656
|
+
export type CatalogAgentPluginMaterializationSourceKind =
|
|
657
|
+
/** Install from Agent Finder's verified materialisation. */
|
|
658
|
+
"materialization";
|
|
659
|
+
/**
|
|
660
|
+
* Discriminator for a marketplace install source
|
|
661
|
+
*
|
|
662
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
663
|
+
* via the `definition` "CatalogAgentPluginMarketplaceSourceKind".
|
|
664
|
+
*/
|
|
665
|
+
/** @experimental */
|
|
666
|
+
export type CatalogAgentPluginMarketplaceSourceKind = "marketplace";
|
|
667
|
+
/**
|
|
668
|
+
* Discriminator for a repository install source
|
|
669
|
+
*
|
|
670
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
671
|
+
* via the `definition` "CatalogAgentPluginRepositorySourceKind".
|
|
672
|
+
*/
|
|
673
|
+
/** @experimental */
|
|
674
|
+
export type CatalogAgentPluginRepositorySourceKind = "repository";
|
|
675
|
+
/**
|
|
676
|
+
* A kind of component an Agent Plugin contributes
|
|
677
|
+
*
|
|
678
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
679
|
+
* via the `definition` "CatalogAgentPluginComponent".
|
|
680
|
+
*/
|
|
681
|
+
/** @experimental */
|
|
682
|
+
export type CatalogAgentPluginComponent =
|
|
683
|
+
/** Custom agents. */
|
|
684
|
+
"agent"
|
|
685
|
+
/** Slash commands. */
|
|
686
|
+
| "command"
|
|
687
|
+
/** Skills. */
|
|
688
|
+
| "skill"
|
|
689
|
+
/** Hooks. */
|
|
690
|
+
| "hook"
|
|
691
|
+
/** Bundled MCP servers. */
|
|
692
|
+
| "mcp-server"
|
|
693
|
+
/** Bundled LSP servers. */
|
|
694
|
+
| "lsp-server"
|
|
695
|
+
/** Extensions. */
|
|
696
|
+
| "extension"
|
|
697
|
+
/** Canvases. */
|
|
698
|
+
| "canvas";
|
|
625
699
|
/**
|
|
626
700
|
* A versioned, bounded trust observation carried unchanged with a catalog candidate and its private handle context. Current observations require a recognised T1/T2 tier; every non-current state structurally forbids a tier. Eligibility remains `unknown` while Agent Finder supplies no exposure decision, and states absent from its current wire are never inferred from age, relevance, popularity, or a tier transition.
|
|
627
701
|
*
|
|
@@ -887,7 +961,11 @@ export type CatalogCapability =
|
|
|
887
961
|
/** Extends mcp-confirmed-remote-installation to declared non-secret header and URL values and receipt-owned header secrets for personal remote MCP choices. Requires mcp-confirmed-remote-installation and bound session authority. Secret values are written only to the reviewed backend after confirmation and are never returned; package and stdio choices remain unsupported. Advertised only when owned secret effects and owned secret activation are linked. */
|
|
888
962
|
| "mcp-configured-remote-installation"
|
|
889
963
|
/** Understands verified Agent Finder Skill install, uninstall, recovery and installation-scoped enablement APIs. Advertised only by runtimes with the Skill installation engine linked; acquisition may still be refused as feature-disabled per selected session. */
|
|
890
|
-
| "skill-confirmed-installation"
|
|
964
|
+
| "skill-confirmed-installation"
|
|
965
|
+
/** Understands `installability` and the reviewable `installPlan` on Agent Plugin candidates. Requires agent-plugin-discovery; without it, plugin candidates are unchanged. A plugin is installable only with complete, verified catalogue install data, and may still be reported as feature-disabled per selected session. */
|
|
966
|
+
| "agent-plugin-confirmed-installation"
|
|
967
|
+
/** Extends skill-confirmed-installation to planning from an Agent Finder materialisation reference through skills.planInstallFromReference, and to its distinct reference failure reasons. Requires skill-confirmed-installation. Advertised only by runtimes with the Skill installation engine linked. */
|
|
968
|
+
| "skill-reference-installation";
|
|
891
969
|
/**
|
|
892
970
|
* Bounded extensible wire-feature identifier. Known values are described by `CatalogCapability`; newer callers may send future identifiers so an older runtime can return a typed negotiation refusal instead of failing schema validation. Capability negotiation establishes contract understanding, while each operation's result separately reports runtime availability.
|
|
893
971
|
*
|
|
@@ -4394,6 +4472,8 @@ export type SessionCapability =
|
|
|
4394
4472
|
| "elicitation"
|
|
4395
4473
|
/** Cross-session history tools and session-store SQL prompt/tool metadata. */
|
|
4396
4474
|
| "session-store"
|
|
4475
|
+
/** Read-only GitHub cache SQL tool (github_sql). */
|
|
4476
|
+
| "github-cache-store"
|
|
4397
4477
|
/** MCP Apps UI passthrough. */
|
|
4398
4478
|
| "mcp-apps"
|
|
4399
4479
|
/** Host-provided canvas rendering support. */
|
|
@@ -5029,7 +5109,17 @@ export type SkillInstallationFailureReason =
|
|
|
5029
5109
|
/** Installed Skill files no longer match ownership evidence. */
|
|
5030
5110
|
| "configuration-modified"
|
|
5031
5111
|
/** A storage operation failed; inspect durable state before retrying. */
|
|
5032
|
-
| "write-failed"
|
|
5112
|
+
| "write-failed"
|
|
5113
|
+
/** The materialisation reference is malformed or uses an unsupported schema version. Returned only to callers that require skill-reference-installation. */
|
|
5114
|
+
| "invalid-reference"
|
|
5115
|
+
/** Agent Finder has no materialisation for the referenced resource revision (HTTP 404). Returned only to callers that require skill-reference-installation. */
|
|
5116
|
+
| "descriptor-not-found"
|
|
5117
|
+
/** Agent Finder withdrew the referenced resource revision (HTTP 410). Returned only to callers that require skill-reference-installation. */
|
|
5118
|
+
| "descriptor-withdrawn"
|
|
5119
|
+
/** The retrieved descriptor does not match the referenced descriptor or bundle digest. Returned only to callers that require skill-reference-installation. */
|
|
5120
|
+
| "digest-mismatch"
|
|
5121
|
+
/** The referenced resource is not a Skill. Returned only to callers that require skill-reference-installation. */
|
|
5122
|
+
| "unsupported-resource";
|
|
5033
5123
|
/**
|
|
5034
5124
|
* Management outcome for verified Skill inventory, planning and removal.
|
|
5035
5125
|
*
|
|
@@ -8214,6 +8304,8 @@ export interface CatalogAgentPluginCandidate {
|
|
|
8214
8304
|
compatibilityTags: ({
|
|
8215
8305
|
[k: string]: unknown | undefined;
|
|
8216
8306
|
} & []) | [CatalogAgentPluginCompatibilityTag] | [CatalogAgentPluginCompatibilityTag, CatalogAgentPluginCompatibilityTag] | [CatalogAgentPluginCompatibilityTag, CatalogAgentPluginCompatibilityTag, CatalogAgentPluginCompatibilityTag];
|
|
8307
|
+
installability?: CatalogAgentPluginInstallability;
|
|
8308
|
+
installPlan?: CatalogAgentPluginInstallPlan;
|
|
8217
8309
|
provenance: CatalogAgentPluginCandidateProvenance;
|
|
8218
8310
|
trust?: CatalogTrustSnapshot;
|
|
8219
8311
|
}
|
|
@@ -8234,6 +8326,99 @@ export interface CatalogPluginRepositorySource {
|
|
|
8234
8326
|
*/
|
|
8235
8327
|
path: string;
|
|
8236
8328
|
}
|
|
8329
|
+
/**
|
|
8330
|
+
* What installing an Agent Plugin would do, for the user to review and confirm. Provisional: the catalogue install data it is built from is not final.
|
|
8331
|
+
*
|
|
8332
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8333
|
+
* via the `definition` "CatalogAgentPluginInstallPlan".
|
|
8334
|
+
*/
|
|
8335
|
+
/** @experimental */
|
|
8336
|
+
export interface CatalogAgentPluginInstallPlan {
|
|
8337
|
+
/**
|
|
8338
|
+
* Every valid install source, in preference order: materialization, then marketplace, then repository. Each kind appears at most once.
|
|
8339
|
+
*
|
|
8340
|
+
* @minItems 1
|
|
8341
|
+
* @maxItems 3
|
|
8342
|
+
*/
|
|
8343
|
+
sources: [CatalogAgentPluginInstallSource] | [CatalogAgentPluginInstallSource, CatalogAgentPluginInstallSource] | [CatalogAgentPluginInstallSource, CatalogAgentPluginInstallSource, CatalogAgentPluginInstallSource];
|
|
8344
|
+
/**
|
|
8345
|
+
* The plugin's name, as named in its marketplace or manifest.
|
|
8346
|
+
*/
|
|
8347
|
+
pluginName: string;
|
|
8348
|
+
version?: CatalogResourceVersion;
|
|
8349
|
+
/**
|
|
8350
|
+
* Exact full commit ID to install, in lowercase hex. Always present when the plan has a repository source; a plan with a marketplace source carries at least one of version and commit.
|
|
8351
|
+
*/
|
|
8352
|
+
commit?: string;
|
|
8353
|
+
/**
|
|
8354
|
+
* Components the plugin contributes, in canonical order.
|
|
8355
|
+
*
|
|
8356
|
+
* @minItems 1
|
|
8357
|
+
*/
|
|
8358
|
+
components: [CatalogAgentPluginComponent, ...CatalogAgentPluginComponent[]];
|
|
8359
|
+
/**
|
|
8360
|
+
* Canvas IDs the plugin contributes. Non-empty exactly when components include `canvas`.
|
|
8361
|
+
*/
|
|
8362
|
+
canvasIds: string[];
|
|
8363
|
+
/**
|
|
8364
|
+
* Extension IDs the plugin contributes. Non-empty exactly when components include `extension`.
|
|
8365
|
+
*/
|
|
8366
|
+
extensionIds: string[];
|
|
8367
|
+
/**
|
|
8368
|
+
* MCP servers the plugin depends on but does not bundle.
|
|
8369
|
+
*/
|
|
8370
|
+
mcpDependencies: string[];
|
|
8371
|
+
/**
|
|
8372
|
+
* Connectors the plugin depends on.
|
|
8373
|
+
*/
|
|
8374
|
+
connectorDependencies: string[];
|
|
8375
|
+
}
|
|
8376
|
+
/**
|
|
8377
|
+
* Agent Finder's verified materialisation of the plugin. Present only when the candidate carries a complete materialisation reference; the reference itself stays runtime-private.
|
|
8378
|
+
*
|
|
8379
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8380
|
+
* via the `definition` "CatalogAgentPluginMaterializationSource".
|
|
8381
|
+
*/
|
|
8382
|
+
/** @experimental */
|
|
8383
|
+
export interface CatalogAgentPluginMaterializationSource {
|
|
8384
|
+
kind: CatalogAgentPluginMaterializationSourceKind;
|
|
8385
|
+
}
|
|
8386
|
+
/**
|
|
8387
|
+
* A plugin marketplace named by verified catalogue install data, installed as `pluginName@name`.
|
|
8388
|
+
*
|
|
8389
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8390
|
+
* via the `definition` "CatalogAgentPluginMarketplaceSource".
|
|
8391
|
+
*/
|
|
8392
|
+
/** @experimental */
|
|
8393
|
+
export interface CatalogAgentPluginMarketplaceSource {
|
|
8394
|
+
kind: CatalogAgentPluginMarketplaceSourceKind;
|
|
8395
|
+
/**
|
|
8396
|
+
* Marketplace name.
|
|
8397
|
+
*/
|
|
8398
|
+
name: string;
|
|
8399
|
+
/**
|
|
8400
|
+
* Canonical lowercase GitHub owner/repository hosting the marketplace.
|
|
8401
|
+
*/
|
|
8402
|
+
repository: string;
|
|
8403
|
+
}
|
|
8404
|
+
/**
|
|
8405
|
+
* A GitHub repository holding the plugin, installed directly as `owner/repo[:path]` at the plan's commit, without a marketplace.
|
|
8406
|
+
*
|
|
8407
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8408
|
+
* via the `definition` "CatalogAgentPluginRepositorySource".
|
|
8409
|
+
*/
|
|
8410
|
+
/** @experimental */
|
|
8411
|
+
export interface CatalogAgentPluginRepositorySource {
|
|
8412
|
+
kind: CatalogAgentPluginRepositorySourceKind;
|
|
8413
|
+
/**
|
|
8414
|
+
* Canonical lowercase GitHub owner/repository holding the plugin.
|
|
8415
|
+
*/
|
|
8416
|
+
repository: string;
|
|
8417
|
+
/**
|
|
8418
|
+
* Relative POSIX path of the plugin directory in the repository. Omitted when the plugin is at the repository root.
|
|
8419
|
+
*/
|
|
8420
|
+
path?: string;
|
|
8421
|
+
}
|
|
8237
8422
|
/**
|
|
8238
8423
|
* Where and when an Agent Plugin catalog reference was observed. Discovery provenance deliberately carries no descriptor URL, raw data, candidate handle, or content digest.
|
|
8239
8424
|
*
|
|
@@ -8605,6 +8790,39 @@ export interface CatalogMalformedCardError {
|
|
|
8605
8790
|
*/
|
|
8606
8791
|
message: string;
|
|
8607
8792
|
}
|
|
8793
|
+
/**
|
|
8794
|
+
* An Agent Finder materialisation reference pinning one exact resource revision.
|
|
8795
|
+
*
|
|
8796
|
+
* It carries no origin or URL: the runtime always builds the descriptor URL on its fixed Agent
|
|
8797
|
+
* Finder authority. It carries no display data either; every reviewed field comes from the
|
|
8798
|
+
* verified descriptor and Skill files.
|
|
8799
|
+
*
|
|
8800
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
8801
|
+
* via the `definition` "CatalogMaterializationReference".
|
|
8802
|
+
*/
|
|
8803
|
+
/** @experimental */
|
|
8804
|
+
export interface CatalogMaterializationReference {
|
|
8805
|
+
/**
|
|
8806
|
+
* Agent Finder resource identifier, a positive decimal integer.
|
|
8807
|
+
*/
|
|
8808
|
+
resourceId: string;
|
|
8809
|
+
/**
|
|
8810
|
+
* Agent Finder materialisation revision identifier, a positive decimal integer. This is not a Git commit.
|
|
8811
|
+
*/
|
|
8812
|
+
revisionId: string;
|
|
8813
|
+
/**
|
|
8814
|
+
* Materialisation descriptor schema version, currently `1.0.0`.
|
|
8815
|
+
*/
|
|
8816
|
+
schemaVersion: string;
|
|
8817
|
+
/**
|
|
8818
|
+
* Expected `sha256:<lowercase hex>` digest of the canonical descriptor.
|
|
8819
|
+
*/
|
|
8820
|
+
descriptorDigest: string;
|
|
8821
|
+
/**
|
|
8822
|
+
* Expected `sha256:<lowercase hex>` digest of the descriptor's bundle manifest.
|
|
8823
|
+
*/
|
|
8824
|
+
bundleDigest: string;
|
|
8825
|
+
}
|
|
8608
8826
|
/**
|
|
8609
8827
|
* The protocol version and capability set the runtime actually honoured for a successful catalog operation.
|
|
8610
8828
|
*
|
|
@@ -9973,6 +10191,32 @@ export interface ContentExclusionPathCheck {
|
|
|
9973
10191
|
*/
|
|
9974
10192
|
excluded: boolean;
|
|
9975
10193
|
}
|
|
10194
|
+
/**
|
|
10195
|
+
* Candidate content-exclusion policies to validate, as the raw JSON text a host received. The text is supplied unparsed so that a syntax error and a schema violation are both reported by the runtime's own validator rather than by the caller's JSON parser.
|
|
10196
|
+
*
|
|
10197
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
10198
|
+
* via the `definition` "ContentExclusionValidatePoliciesRequest".
|
|
10199
|
+
*/
|
|
10200
|
+
/** @experimental */
|
|
10201
|
+
export interface ContentExclusionValidatePoliciesRequest {
|
|
10202
|
+
/**
|
|
10203
|
+
* Unparsed JSON text expected to hold an array of content-exclusion policies.
|
|
10204
|
+
*/
|
|
10205
|
+
policiesJson: string;
|
|
10206
|
+
}
|
|
10207
|
+
/**
|
|
10208
|
+
* The accepted policies, parsed and normalized. A rejected input is reported as an error rather than in this result.
|
|
10209
|
+
*
|
|
10210
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
10211
|
+
* via the `definition` "ContentExclusionValidatePoliciesResult".
|
|
10212
|
+
*/
|
|
10213
|
+
/** @experimental */
|
|
10214
|
+
export interface ContentExclusionValidatePoliciesResult {
|
|
10215
|
+
/**
|
|
10216
|
+
* Validated policy objects in input order. Raw JSON preserves every field returned by the runtime's policy parser.
|
|
10217
|
+
*/
|
|
10218
|
+
policies: JsonValue[];
|
|
10219
|
+
}
|
|
9976
10220
|
/**
|
|
9977
10221
|
* A single large message currently in context.
|
|
9978
10222
|
*
|
|
@@ -24113,6 +24357,10 @@ export interface SessionOpenOptions {
|
|
|
24113
24357
|
*/
|
|
24114
24358
|
enforceManagedModelDefaults?: boolean;
|
|
24115
24359
|
managedSettings?: SessionManagedSettings;
|
|
24360
|
+
/**
|
|
24361
|
+
* Declares that a human drives this session's conversation, enabling user-message analysis (sentiment, task completion criteria, and task analytics) for user-authored messages. Automated messages remain excluded. Defaults to false for SDK sessions. Applied when the session is created or loaded from storage; ignored when resuming a session that is already active, and for cloud sessions.
|
|
24362
|
+
*/
|
|
24363
|
+
interactiveUser?: boolean;
|
|
24116
24364
|
/**
|
|
24117
24365
|
* Opt in to capturing file changes for session rewind and session diff. Capture cannot reconstruct changes made before it was enabled. On create it starts capture from the first turn. It is also honored on resume: for a session that already has tracked prior turns, tracking continues automatically even if this is omitted; passing it on resume additionally enables tracking for an eligible session that has no prior root turn yet. Resuming a session whose prior root turns were never tracked has no restorable baseline, so tracking stays disabled for it and rewind reports file change tracking as unavailable; the resume itself still succeeds, so sessions that predate tracking remain loadable. The opt-in is only rejected when the session can never track (a subagent session, or one without local session storage). It is intentionally absent from the mutable options update because enabling it after edits have occurred would create an incomplete, misleading baseline. Subagents share the parent session's capture store and are not tracked as separate rewind points: a file a subagent writes is attributed to whichever root user turn was open when the capture was staged, just before the tool body ran. A turn cannot open while a staged capture is still in flight, so a subagent tool that staged under the spawning turn stays attributed to it however late the write lands, while a capture it stages after the user's next message belongs to that later turn. Attribution decides which turn's rewind point counts and file preview include that write; it does not narrow which rewinds revert it, because a rewind restores every capture from the selected turn onward, so the earlier spawning turn reverts it as well.
|
|
24118
24366
|
*/
|
|
@@ -26495,6 +26743,21 @@ export interface SkillList {
|
|
|
26495
26743
|
*/
|
|
26496
26744
|
skills: Skill[];
|
|
26497
26745
|
}
|
|
26746
|
+
/**
|
|
26747
|
+
* Side-effect-free planning of one Skill from a materialisation reference rather than a search candidate.
|
|
26748
|
+
*
|
|
26749
|
+
* This interface was referenced by `_RpcSchemaRoot`'s JSON-Schema
|
|
26750
|
+
* via the `definition` "SkillPlanInstallFromReferenceRequest".
|
|
26751
|
+
*/
|
|
26752
|
+
/** @experimental */
|
|
26753
|
+
export interface SkillPlanInstallFromReferenceRequest {
|
|
26754
|
+
contract: CatalogClientContract;
|
|
26755
|
+
reference: CatalogMaterializationReference;
|
|
26756
|
+
/**
|
|
26757
|
+
* Existing local session attached to this connection.
|
|
26758
|
+
*/
|
|
26759
|
+
policySessionId: string;
|
|
26760
|
+
}
|
|
26498
26761
|
/**
|
|
26499
26762
|
* Side-effect-free planning of one verified Agent Finder Skill candidate.
|
|
26500
26763
|
*
|
|
@@ -31735,6 +31998,17 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
31735
31998
|
getBuiltInCatalog: () => Promise<BuiltInModelCatalog>;
|
|
31736
31999
|
};
|
|
31737
32000
|
/** @experimental */
|
|
32001
|
+
contentExclusion: {
|
|
32002
|
+
/**
|
|
32003
|
+
* Validates candidate content-exclusion policies and returns them normalized, without starting a session. This runs the same parser the runtime's own policy enforcement uses, so a host cannot accept a policy set the runtime would later reject, nor reject one it would have honored. Call it when policies arrive from outside the runtime — a command-line flag, a configuration file, a host's own settings — and must be checked before a session exists to apply them to. A malformed document fails with a message prefixed `Invalid JSON: `; a well-formed document that violates the policy schema fails with the offending field paths.
|
|
32004
|
+
*
|
|
32005
|
+
* @param params Candidate content-exclusion policies to validate, as the raw JSON text a host received. The text is supplied unparsed so that a syntax error and a schema violation are both reported by the runtime's own validator rather than by the caller's JSON parser.
|
|
32006
|
+
*
|
|
32007
|
+
* @returns The accepted policies, parsed and normalized. A rejected input is reported as an error rather than in this result.
|
|
32008
|
+
*/
|
|
32009
|
+
validatePolicies: (params: ContentExclusionValidatePoliciesRequest) => Promise<ContentExclusionValidatePoliciesResult>;
|
|
32010
|
+
};
|
|
32011
|
+
/** @experimental */
|
|
31738
32012
|
tools: {
|
|
31739
32013
|
/**
|
|
31740
32014
|
* Lists built-in tools available for a model.
|
|
@@ -31974,6 +32248,14 @@ export declare function createServerRpc(connection: MessageConnection): {
|
|
|
31974
32248
|
* @returns Skill installation management result with the honoured contract, or a typed refusal.
|
|
31975
32249
|
*/
|
|
31976
32250
|
planInstall: (params: SkillPlanInstallRequest) => Promise<SkillInstallationManagementResult>;
|
|
32251
|
+
/**
|
|
32252
|
+
* Plans installation of the Skill pinned by an Agent Finder materialisation reference without writing files. The runtime retrieves the descriptor only from its fixed Agent Finder authority and applies the same verification as skills.planInstall; the review shows only verified data. Apply the returned plan with skills.applyInstall.
|
|
32253
|
+
*
|
|
32254
|
+
* @param params Side-effect-free planning of one Skill from a materialisation reference rather than a search candidate.
|
|
32255
|
+
*
|
|
32256
|
+
* @returns Skill installation management result with the honoured contract, or a typed refusal.
|
|
32257
|
+
*/
|
|
32258
|
+
planInstallFromReference: (params: SkillPlanInstallFromReferenceRequest) => Promise<SkillInstallationManagementResult>;
|
|
31977
32259
|
/**
|
|
31978
32260
|
* Consumes one verified Skill installation plan, requests explicit human consent through installations.confirm on the original connection, then revalidates and installs the Skill disabled.
|
|
31979
32261
|
*
|
package/dist/generated/rpc.js
CHANGED
|
@@ -237,6 +237,17 @@ function createServerRpc(connection) {
|
|
|
237
237
|
getBuiltInCatalog: async () => connection.sendRequest("models.getBuiltInCatalog", {})
|
|
238
238
|
},
|
|
239
239
|
/** @experimental */
|
|
240
|
+
contentExclusion: {
|
|
241
|
+
/**
|
|
242
|
+
* Validates candidate content-exclusion policies and returns them normalized, without starting a session. This runs the same parser the runtime's own policy enforcement uses, so a host cannot accept a policy set the runtime would later reject, nor reject one it would have honored. Call it when policies arrive from outside the runtime — a command-line flag, a configuration file, a host's own settings — and must be checked before a session exists to apply them to. A malformed document fails with a message prefixed `Invalid JSON: `; a well-formed document that violates the policy schema fails with the offending field paths.
|
|
243
|
+
*
|
|
244
|
+
* @param params Candidate content-exclusion policies to validate, as the raw JSON text a host received. The text is supplied unparsed so that a syntax error and a schema violation are both reported by the runtime's own validator rather than by the caller's JSON parser.
|
|
245
|
+
*
|
|
246
|
+
* @returns The accepted policies, parsed and normalized. A rejected input is reported as an error rather than in this result.
|
|
247
|
+
*/
|
|
248
|
+
validatePolicies: async (params) => connection.sendRequest("contentExclusion.validatePolicies", params)
|
|
249
|
+
},
|
|
250
|
+
/** @experimental */
|
|
240
251
|
tools: {
|
|
241
252
|
/**
|
|
242
253
|
* Lists built-in tools available for a model.
|
|
@@ -476,6 +487,14 @@ function createServerRpc(connection) {
|
|
|
476
487
|
* @returns Skill installation management result with the honoured contract, or a typed refusal.
|
|
477
488
|
*/
|
|
478
489
|
planInstall: async (params) => connection.sendRequest("skills.planInstall", params),
|
|
490
|
+
/**
|
|
491
|
+
* Plans installation of the Skill pinned by an Agent Finder materialisation reference without writing files. The runtime retrieves the descriptor only from its fixed Agent Finder authority and applies the same verification as skills.planInstall; the review shows only verified data. Apply the returned plan with skills.applyInstall.
|
|
492
|
+
*
|
|
493
|
+
* @param params Side-effect-free planning of one Skill from a materialisation reference rather than a search candidate.
|
|
494
|
+
*
|
|
495
|
+
* @returns Skill installation management result with the honoured contract, or a typed refusal.
|
|
496
|
+
*/
|
|
497
|
+
planInstallFromReference: async (params) => connection.sendRequest("skills.planInstallFromReference", params),
|
|
479
498
|
/**
|
|
480
499
|
* Consumes one verified Skill installation plan, requests explicit human consent through installations.confirm on the original connection, then revalidates and installs the Skill disabled.
|
|
481
500
|
*
|
package/dist/session.js
CHANGED
|
@@ -57,6 +57,20 @@ function deserializeHookInput(raw) {
|
|
|
57
57
|
...stop_hook_active === void 0 ? {} : { stopHookActive: stop_hook_active }
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
+
function normalizeHookError(hookType, input) {
|
|
61
|
+
if (hookType !== "errorOccurred" && hookType !== "sessionEnd") {
|
|
62
|
+
return input;
|
|
63
|
+
}
|
|
64
|
+
if (!input || typeof input !== "object" || !("error" in input)) {
|
|
65
|
+
return input;
|
|
66
|
+
}
|
|
67
|
+
const { error } = input;
|
|
68
|
+
if (!error || typeof error !== "object" || Array.isArray(error)) {
|
|
69
|
+
return input;
|
|
70
|
+
}
|
|
71
|
+
const { message } = error;
|
|
72
|
+
return { ...input, error: typeof message === "string" ? message : JSON.stringify(error) };
|
|
73
|
+
}
|
|
60
74
|
function isOpenCanvasInstance(value) {
|
|
61
75
|
if (!value || typeof value !== "object") {
|
|
62
76
|
return false;
|
|
@@ -1775,7 +1789,7 @@ class CopilotSession {
|
|
|
1775
1789
|
if (!this.hooks) {
|
|
1776
1790
|
return void 0;
|
|
1777
1791
|
}
|
|
1778
|
-
const normalized = deserializeHookInput(input);
|
|
1792
|
+
const normalized = normalizeHookError(hookType, deserializeHookInput(input));
|
|
1779
1793
|
const handlerMap = {
|
|
1780
1794
|
preToolUse: this.hooks.onPreToolUse,
|
|
1781
1795
|
preMcpToolCall: this.hooks.onPreMcpToolCall,
|
package/dist/types.d.ts
CHANGED
|
@@ -1135,6 +1135,12 @@ export type AutoModeSwitchHandler = (request: AutoModeSwitchRequest, invocation:
|
|
|
1135
1135
|
* Base interface for all hook inputs
|
|
1136
1136
|
*/
|
|
1137
1137
|
export interface BaseHookInput {
|
|
1138
|
+
/** Subagent actor ID, absent for root hooks and older runtimes. */
|
|
1139
|
+
agentId?: string;
|
|
1140
|
+
/** Subagent type, when known by the runtime. */
|
|
1141
|
+
agentType?: string;
|
|
1142
|
+
/** Immediate parent actor ID, when available. */
|
|
1143
|
+
parentAgentId?: string;
|
|
1138
1144
|
/** The runtime session ID associated with the hook. Child tool hooks use
|
|
1139
1145
|
* the child session ID; sub-agent lifecycle hooks use the parent session ID,
|
|
1140
1146
|
* matching `invocation.sessionId`. */
|
|
@@ -2531,6 +2537,13 @@ export interface SessionConfigBase {
|
|
|
2531
2537
|
* conflicting session options. Overridable managed defaults remain mutable.
|
|
2532
2538
|
*/
|
|
2533
2539
|
enforceManagedModelDefaults?: boolean;
|
|
2540
|
+
/**
|
|
2541
|
+
* Declares that a human drives this session's conversation, enabling
|
|
2542
|
+
* user-message analysis telemetry for user-authored messages. Automated
|
|
2543
|
+
* messages remain excluded. Defaults to false for SDK sessions; ignored
|
|
2544
|
+
* for cloud sessions and when resuming a session that is already active.
|
|
2545
|
+
*/
|
|
2546
|
+
interactiveUser?: boolean;
|
|
2534
2547
|
/**
|
|
2535
2548
|
* Host-injected enterprise managed settings for this session.
|
|
2536
2549
|
*
|
|
@@ -2596,6 +2609,13 @@ export interface SessionConfigBase {
|
|
|
2596
2609
|
* read from the shared session store.
|
|
2597
2610
|
*/
|
|
2598
2611
|
enableSessionStore?: boolean;
|
|
2612
|
+
/**
|
|
2613
|
+
* When true, requests the read-only GitHub cache store for this session
|
|
2614
|
+
* (the `github-cache-store` capability). The runtime registers the
|
|
2615
|
+
* `github_sql` tool only when its `GITHUB_CACHE_STORE` feature flag is
|
|
2616
|
+
* also on. Defaults to disabled.
|
|
2617
|
+
*/
|
|
2618
|
+
enableGitHubCacheStore?: boolean;
|
|
2599
2619
|
/**
|
|
2600
2620
|
* When true, enables skill loading (including builtin skills and discovered
|
|
2601
2621
|
* skill directories). When false, no skills are loaded regardless of
|
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.
|
|
9
|
-
"copilotCliVersion": "1.0.
|
|
8
|
+
"version": "1.0.22-preview.1",
|
|
9
|
+
"copilotCliVersion": "1.0.98-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",
|
|
@@ -103,18 +103,18 @@
|
|
|
103
103
|
"README.md"
|
|
104
104
|
],
|
|
105
105
|
"copilotRuntime": {
|
|
106
|
-
"sourceSha": "
|
|
107
|
-
"version": "1.0.
|
|
106
|
+
"sourceSha": "536a1e5082059b18d4258467104a1cdb7fabd92b",
|
|
107
|
+
"version": "1.0.98-1",
|
|
108
108
|
"visibility": "public"
|
|
109
109
|
},
|
|
110
110
|
"optionalDependencies": {
|
|
111
|
-
"@github/copilot-sdk-darwin-arm64": "1.0.
|
|
112
|
-
"@github/copilot-sdk-darwin-x64": "1.0.
|
|
113
|
-
"@github/copilot-sdk-linux-arm64": "1.0.
|
|
114
|
-
"@github/copilot-sdk-linux-x64": "1.0.
|
|
115
|
-
"@github/copilot-sdk-linuxmusl-arm64": "1.0.
|
|
116
|
-
"@github/copilot-sdk-linuxmusl-x64": "1.0.
|
|
117
|
-
"@github/copilot-sdk-win32-arm64": "1.0.
|
|
118
|
-
"@github/copilot-sdk-win32-x64": "1.0.
|
|
111
|
+
"@github/copilot-sdk-darwin-arm64": "1.0.22-preview.1",
|
|
112
|
+
"@github/copilot-sdk-darwin-x64": "1.0.22-preview.1",
|
|
113
|
+
"@github/copilot-sdk-linux-arm64": "1.0.22-preview.1",
|
|
114
|
+
"@github/copilot-sdk-linux-x64": "1.0.22-preview.1",
|
|
115
|
+
"@github/copilot-sdk-linuxmusl-arm64": "1.0.22-preview.1",
|
|
116
|
+
"@github/copilot-sdk-linuxmusl-x64": "1.0.22-preview.1",
|
|
117
|
+
"@github/copilot-sdk-win32-arm64": "1.0.22-preview.1",
|
|
118
|
+
"@github/copilot-sdk-win32-x64": "1.0.22-preview.1"
|
|
119
119
|
}
|
|
120
120
|
}
|