@github/copilot-sdk 1.0.16 → 1.0.17-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 +12 -2
- package/dist/cjs/cliVersion.js +1 -1
- package/dist/cjs/client.js +69 -9
- package/dist/cjs/ffiRuntimeHost.js +14 -3
- package/dist/cjs/generated/rpc.js +291 -230
- package/dist/cjs/session.js +9 -0
- package/dist/cliVersion.d.ts +1 -1
- package/dist/cliVersion.js +1 -1
- package/dist/client.d.ts +1 -0
- package/dist/client.js +69 -9
- package/dist/ffiRuntimeHost.d.ts +1 -0
- package/dist/ffiRuntimeHost.js +14 -3
- package/dist/generated/rpc.d.ts +649 -14
- package/dist/generated/rpc.js +291 -230
- package/dist/generated/session-events.d.ts +13 -3
- package/dist/index.d.ts +1 -1
- package/dist/session.d.ts +4 -1
- package/dist/session.js +9 -0
- package/dist/types.d.ts +17 -2
- package/package.json +17 -12
|
@@ -6477,6 +6477,12 @@ export interface ToolExecutionProgressData {
|
|
|
6477
6477
|
* Human-readable progress status message (e.g., from an MCP server)
|
|
6478
6478
|
*/
|
|
6479
6479
|
progressMessage: string;
|
|
6480
|
+
/**
|
|
6481
|
+
* Client-only structured progress metadata. Not model-facing tool output.
|
|
6482
|
+
*
|
|
6483
|
+
* @experimental
|
|
6484
|
+
*/
|
|
6485
|
+
structuredContent?: JsonValue;
|
|
6480
6486
|
/**
|
|
6481
6487
|
* Tool call ID this progress notification belongs to
|
|
6482
6488
|
*/
|
|
@@ -11306,13 +11312,17 @@ export interface AutoModeResolvedData {
|
|
|
11306
11312
|
* The routing method the server applied, when Auto Intent ran
|
|
11307
11313
|
*/
|
|
11308
11314
|
routingMethod?: string;
|
|
11315
|
+
/**
|
|
11316
|
+
* Short human-readable sentence from the routing service explaining why this model was chosen, for display alongside the model. Present only when the service supplied one: it is omitted for on-device selections, when the service did not provide an explanation, and when a replayed decision made no routing call. The text is display-only and drawn from a fixed catalogue; several distinct routing categories share identical wording, so it cannot be used to recover the category or keyed on programmatically.
|
|
11317
|
+
*/
|
|
11318
|
+
selectionReason?: string;
|
|
11309
11319
|
/**
|
|
11310
11320
|
* Whether a sticky model choice overrode the router result
|
|
11311
11321
|
*/
|
|
11312
11322
|
stickyOverride?: boolean;
|
|
11313
11323
|
}
|
|
11314
11324
|
/**
|
|
11315
|
-
* Session event "session.managed_settings_resolved".
|
|
11325
|
+
* Session event "session.managed_settings_resolved". Effective enterprise managed settings applied to the session and their contributing channels. Emitted whenever managed policy is applied or reapplied, including session start, resume, and account switch. This ephemeral live snapshot is delivered to subscribers but not persisted to the session event log; initial resolution occurs before session.start.
|
|
11316
11326
|
*/
|
|
11317
11327
|
/** @experimental */
|
|
11318
11328
|
export interface ManagedSettingsResolvedEvent {
|
|
@@ -11343,7 +11353,7 @@ export interface ManagedSettingsResolvedEvent {
|
|
|
11343
11353
|
type: "session.managed_settings_resolved";
|
|
11344
11354
|
}
|
|
11345
11355
|
/**
|
|
11346
|
-
*
|
|
11356
|
+
* Effective enterprise managed settings and contributing channels. Session events report applied policy; sessionless resolve reports an account/device snapshot, and compose reports a non-applying preview of candidate documents. Device values take precedence over server values, then the policy helper, per ordinary key, while permissions compose restrictively. Session-local SDK-client policy is included only in session results. Marked experimental while the managed-settings surface stabilizes.
|
|
11347
11357
|
*/
|
|
11348
11358
|
/** @experimental */
|
|
11349
11359
|
export interface ManagedSettingsResolvedData {
|
|
@@ -12157,7 +12167,7 @@ export interface McpServerStatusChangedEvent {
|
|
|
12157
12167
|
*/
|
|
12158
12168
|
export interface McpServerStatusChangedData {
|
|
12159
12169
|
/**
|
|
12160
|
-
* Runtime configuration provenance for a failed
|
|
12170
|
+
* Runtime configuration provenance for a connected or failed server, or unknown when unavailable. Additional string values may be introduced.
|
|
12161
12171
|
*/
|
|
12162
12172
|
configSource?: string;
|
|
12163
12173
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ export { defineWorkflow, WorkflowResumeError, isWorkflowRunTerminal } from "./wo
|
|
|
13
13
|
export { Canvas, CanvasError, createCanvas, type CanvasAction, type CanvasDeclaration, type CanvasHostContext, type CanvasHostContextCapabilities, type CanvasJsonSchema, type CanvasOptions, } from "./canvas.js";
|
|
14
14
|
export { defineTool, approveAll, createAttributedPermissionResult, convertMcpCallToolResult, createSessionFsAdapter, CopilotRequestHandler, CopilotWebSocketHandler, CopilotWebSocketCloseStatus, CopilotWebSocketForwarder, SessionFsSqliteTransactionFailure, SYSTEM_MESSAGE_SECTIONS, } from "./types.js";
|
|
15
15
|
export type * from "./generated/session-events.js";
|
|
16
|
-
export type { AskUserVariant, CommandContext, CommandDefinition, CommandHandler, CanvasProviderIdentity, CloudSessionOptions, CloudSessionRepository, ConnectorAccountRequest, ConnectorAvailability, ConnectorCapabilities, ConnectorCatalogEntry, ConnectorCatalogResult, ConnectorCatalogStatus, ConnectorConnectRequest, ConnectorConnectResult, ConnectorContinueRequest, ConnectorDisconnectResult, ConnectorMcpStatus, ConnectorReconcileRequest, ConnectorRuntimeStatus, ConnectorStatus, AutoModeSwitchHandler, AutoModeSwitchRequest, AutoModeSwitchResponse, AgentStopHandler, AgentStopHookInput, AgentStopHookOutput, UserPromptTransformedHandler, UserPromptTransformedHookInput, UserPromptTransformedHookOutput, CopilotClientInfo, CopilotClientMode, CopilotClientOptions, InstallationConfirmationHandler, InstallationConfirmationRequest, InstallationConfirmationResponse, InstallationDecision, InstallationReview, McpInstallationReview, CopilotExpAssignmentResponse, StdioRuntimeConnection, InProcessRuntimeConnection, TcpRuntimeConnection, UriRuntimeConnection, ChildProcessRuntimeConnection, CustomAgentConfig, ElicitationFieldValue, ElicitationHandler, ElicitationParams, ElicitationContext, ElicitationResult, ElicitationSchema, ElicitationSchemaField, ExpConfigEntry, ExpFlagValue, ExitPlanModeHandler, ExitPlanModeRequest, ExitPlanModeResult, ExtensionLaunchProfile, ExtensionLaunchProvider, ExtensionLaunchProviderResolveRequest, ExtensionLaunchProviderResolveResult, ExtensionInfo, ForegroundSessionInfo, GetAuthStatusResponse, GetStatusResponse, GitHubMcpToolConfig, GitHubTelemetryNotification, GitHubTelemetryEvent, GitHubTelemetryClientInfo, GitHubTokenAcquireReason, GitHubTokenAcquireResult, GitHubTokenProvider, GitHubTokenProviderArgs, GitHubTokenProviderResult, InfiniteSessionConfig, LargeToolOutputConfig, MemoryConfiguration, UiInputOptions, MCPStdioServerConfig, MCPHTTPServerConfig, MCPServerConfig, DefaultAgentConfig, BearerTokenProvider, ExtensionContextAttachment, MessageOptions, ResponseSchema, MessageSource, ManagedSettings, ManagedSettingsPermissions, ModelBilling, ModelBillingTokenPrices, ModelBillingTokenPricesLongContext, AutoTier, CapiSessionOptions, CurrentModel, ModelSwitchAutoTierResult, ModelSwitchAutoTierStatus, ModelCapabilities, ModelCapabilitiesOverride, ModelInfo, ModelPolicy, NamedProviderConfig, PermissionHandler, PermissionRequest, PermissionRequestedData, PermissionRequestedEvent, PermissionRequestResult, AttributedPermissionResult, PermissionDecisionContext, PermissionDecisionOutcome, PermissionDecisionSource, PermissionDecisionSurface, PermissionResponseCapability, ProviderConfig, ProviderModelConfig, ProviderTokenArgs, RemoteSessionMode, SandboxConfigSource, ResumeSessionConfig, SectionOverride, SectionOverrideAction, SectionTransformFn, SessionCapabilities, SessionConfig, SessionConfigBase, SessionEvent, SessionEventHandler, SessionEventPayload, SessionEventType, SessionLifecycleEvent, SessionLifecycleEventMetadata, SessionLifecycleEventType, SessionLifecycleHandler, SessionHooks, SessionCreatedEvent, SessionDeletedEvent, SessionUpdatedEvent, SessionForegroundEvent, SessionBackgroundEvent, SessionContext, SessionListFilter, SessionMetadata, SessionUiApi, SessionFsConfig, SessionFsProvider, SessionFsFileInfo, SessionFsSqliteQueryResult, SessionFsSqliteQueryType, SessionFsSqliteProvider, SessionFsSqliteStatement, SessionFsSqliteTransactionErrorClass, CopilotRequestContext, SystemMessageAppendConfig, SystemMessageConfig, SystemMessageCustomizeConfig, SystemMessageReplaceConfig, SystemMessageSection, TelemetryConfig, TraceContext, TraceContextProvider, Tool, ToolHandler, ToolInvocation, CurrentToolMetadata, ToolTelemetry, ToolResultObject, ToolSearchConfig, TypedSessionEventHandler, TypedSessionLifecycleHandler, ZodSchema, } from "./types.js";
|
|
16
|
+
export type { AskUserVariant, CommandContext, CommandDefinition, CommandHandler, CanvasProviderIdentity, CloudSessionOptions, CloudSessionRepository, AuthIdentityMetadata, AuthInfoType, ConnectorAccountRequest, ConnectorAvailability, ConnectorCapabilities, ConnectorCatalogEntry, ConnectorCatalogResult, ConnectorCatalogStatus, ConnectorConnectRequest, ConnectorConnectResult, ConnectorContinueRequest, ConnectorDisconnectResult, ConnectorMcpStatus, ConnectorReconcileRequest, ConnectorRuntimeStatus, ConnectorSessionAccount, ConnectorSessionAccountResult, ConnectorStatus, AutoModeSwitchHandler, AutoModeSwitchRequest, AutoModeSwitchResponse, AgentStopHandler, AgentStopHookInput, AgentStopHookOutput, UserPromptTransformedHandler, UserPromptTransformedHookInput, UserPromptTransformedHookOutput, CopilotClientInfo, CopilotClientMode, CopilotClientOptions, InstallationConfirmationHandler, InstallationConfirmationRequest, InstallationConfirmationResponse, InstallationDecision, InstallationReview, McpInstallationReview, CopilotExpAssignmentResponse, StdioRuntimeConnection, InProcessRuntimeConnection, TcpRuntimeConnection, UriRuntimeConnection, ChildProcessRuntimeConnection, CustomAgentConfig, ElicitationFieldValue, ElicitationHandler, ElicitationParams, ElicitationContext, ElicitationResult, ElicitationSchema, ElicitationSchemaField, ExpConfigEntry, ExpFlagValue, ExitPlanModeHandler, ExitPlanModeRequest, ExitPlanModeResult, ExtensionLaunchProfile, ExtensionLaunchProvider, ExtensionLaunchProviderResolveRequest, ExtensionLaunchProviderResolveResult, ExtensionInfo, ForegroundSessionInfo, GetAuthStatusResponse, GetStatusResponse, GitHubMcpToolConfig, GitHubTelemetryNotification, GitHubTelemetryEvent, GitHubTelemetryClientInfo, GitHubTokenAcquireReason, GitHubTokenAcquireResult, GitHubTokenProvider, GitHubTokenProviderArgs, GitHubTokenProviderResult, InfiniteSessionConfig, LargeToolOutputConfig, MemoryConfiguration, UiInputOptions, MCPStdioServerConfig, MCPHTTPServerConfig, MCPServerConfig, DefaultAgentConfig, BearerTokenProvider, ExtensionContextAttachment, MessageOptions, ResponseSchema, MessageSource, ManagedSettings, ManagedSettingsPermissions, ModelBilling, ModelBillingTokenPrices, ModelBillingTokenPricesLongContext, AutoTier, CapiSessionOptions, CurrentModel, ModelSwitchAutoTierResult, ModelSwitchAutoTierStatus, ModelCapabilities, ModelCapabilitiesOverride, ModelInfo, ModelPolicy, NamedProviderConfig, PermissionHandler, PermissionRequest, PermissionRequestedData, PermissionRequestedEvent, PermissionRequestResult, AttributedPermissionResult, PermissionDecisionContext, PermissionDecisionOutcome, PermissionDecisionSource, PermissionDecisionSurface, PermissionResponseCapability, ProviderConfig, ProviderModelConfig, ProviderTokenArgs, RemoteSessionMode, SandboxConfigSource, ResumeSessionConfig, TranscriptRecovery, SectionOverride, SectionOverrideAction, SectionTransformFn, SessionCapabilities, SessionConfig, SessionConfigBase, SessionEvent, SessionEventHandler, SessionEventPayload, SessionEventType, SessionLifecycleEvent, SessionLifecycleEventMetadata, SessionLifecycleEventType, SessionLifecycleHandler, SessionHooks, SessionCreatedEvent, SessionDeletedEvent, SessionUpdatedEvent, SessionForegroundEvent, SessionBackgroundEvent, SessionContext, SessionListFilter, SessionMetadata, SessionUiApi, SessionFsConfig, SessionFsProvider, SessionFsFileInfo, SessionFsSqliteQueryResult, SessionFsSqliteQueryType, SessionFsSqliteProvider, SessionFsSqliteStatement, SessionFsSqliteTransactionErrorClass, CopilotRequestContext, SystemMessageAppendConfig, SystemMessageConfig, SystemMessageCustomizeConfig, SystemMessageReplaceConfig, SystemMessageSection, TelemetryConfig, TraceContext, TraceContextProvider, Tool, ToolHandler, ToolInvocation, CurrentToolMetadata, ToolTelemetry, ToolResultObject, ToolSearchConfig, TypedSessionEventHandler, TypedSessionLifecycleHandler, ZodSchema, } from "./types.js";
|
|
17
17
|
export type { JsonValue, WorkflowRunOptions, WorkflowResumeOptions, WorkflowLimitOverrides, WorkflowResumeErrorCode, SessionWorkflowApi, WorkflowAgentOptions, WorkflowContext, WorkflowDefinition, WorkflowHandle, WorkflowJsonSchema, WorkflowLimits, WorkflowMeta, WorkflowPipelineStage, WorkflowStepOptions, WorkflowRunResult, WorkflowRunStatus, WorkflowRunSummary, WorkflowListRunsOptions, WorkflowRunsPage, WorkflowRunDetail, WorkflowProgressPage, WorkflowProgressLine, WorkflowPhaseObservation, WorkflowPhaseStatus, WorkflowAgentSummary, } from "./workflow.js";
|
package/dist/session.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSessionRpc } from "./generated/rpc.js";
|
|
2
2
|
import type { ModelSwitchAutoTierResult } from "./generated/rpc.js";
|
|
3
3
|
import type { OpenCanvasInstance } from "./generated/rpc.js";
|
|
4
|
-
import type { MessageOptions, ResponseSchema, ContextTier, ReasoningEffort, ReasoningSummary, AutoTier, ModelCapabilitiesOverride, SessionCapabilities, SessionEvent, SessionEventHandler, SessionEventType, SessionUiApi, TypedSessionEventHandler } from "./types.js";
|
|
4
|
+
import type { MessageOptions, ResponseSchema, ContextTier, ReasoningEffort, ReasoningSummary, AutoTier, ModelCapabilitiesOverride, SessionCapabilities, SessionEvent, SessionEventHandler, SessionEventType, SessionUiApi, TranscriptRecovery, TypedSessionEventHandler } from "./types.js";
|
|
5
5
|
import { type SessionWorkflowApi } from "./workflow.js";
|
|
6
6
|
/** Assistant message event - the final response from the assistant. */
|
|
7
7
|
export type AssistantMessageEvent = Extract<SessionEvent, {
|
|
@@ -41,6 +41,7 @@ export declare class CopilotSession {
|
|
|
41
41
|
readonly sessionId: string;
|
|
42
42
|
private connection;
|
|
43
43
|
private _workspacePath?;
|
|
44
|
+
private _transcriptRecovery?;
|
|
44
45
|
private eventHandlers;
|
|
45
46
|
private typedEventHandlers;
|
|
46
47
|
private toolHandlers;
|
|
@@ -97,6 +98,8 @@ export declare class CopilotSession {
|
|
|
97
98
|
* Undefined if infinite sessions are disabled.
|
|
98
99
|
*/
|
|
99
100
|
get workspacePath(): string | undefined;
|
|
101
|
+
/** Recovery observed while loading this session; undefined on a clean resume. */
|
|
102
|
+
get transcriptRecovery(): TranscriptRecovery | undefined;
|
|
100
103
|
/**
|
|
101
104
|
* Host capabilities reported when the session was created or resumed.
|
|
102
105
|
* Use this to check feature support before calling capability-gated APIs.
|
package/dist/session.js
CHANGED
|
@@ -236,6 +236,7 @@ class CopilotSession {
|
|
|
236
236
|
sessionId;
|
|
237
237
|
connection;
|
|
238
238
|
_workspacePath;
|
|
239
|
+
_transcriptRecovery;
|
|
239
240
|
eventHandlers = /* @__PURE__ */ new Set();
|
|
240
241
|
typedEventHandlers = /* @__PURE__ */ new Map();
|
|
241
242
|
toolHandlers = /* @__PURE__ */ new Map();
|
|
@@ -425,6 +426,14 @@ class CopilotSession {
|
|
|
425
426
|
get workspacePath() {
|
|
426
427
|
return this._workspacePath;
|
|
427
428
|
}
|
|
429
|
+
/** Recovery observed while loading this session; undefined on a clean resume. */
|
|
430
|
+
get transcriptRecovery() {
|
|
431
|
+
return this._transcriptRecovery;
|
|
432
|
+
}
|
|
433
|
+
/** @internal */
|
|
434
|
+
setTranscriptRecovery(recovery) {
|
|
435
|
+
this._transcriptRecovery = recovery;
|
|
436
|
+
}
|
|
428
437
|
/**
|
|
429
438
|
* Host capabilities reported when the session was created or resumed.
|
|
430
439
|
* Use this to check feature support before calling capability-gated APIs.
|
package/dist/types.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import type { ToolSet } from "./toolSet.js";
|
|
|
14
14
|
export type { RemoteSessionMode } from "./generated/rpc.js";
|
|
15
15
|
export type { CurrentToolMetadata } from "./generated/rpc.js";
|
|
16
16
|
export type { SandboxConfigSource } from "./generated/rpc.js";
|
|
17
|
-
export type { ConnectorAccountRequest, ConnectorAvailability, ConnectorCapabilities, ConnectorCatalogEntry, ConnectorCatalogResult, ConnectorCatalogStatus, ConnectorConnectRequest, ConnectorConnectResult, ConnectorContinueRequest, ConnectorDisconnectResult, ConnectorMcpStatus, ConnectorReconcileRequest, ConnectorRuntimeStatus, ConnectorStatus, ExtensionLaunchProfile, ExtensionLaunchProviderResolveRequest, ExtensionLaunchProviderResolveResult, GitHubTokenAcquireReason, GitHubTokenAcquireResult, GitHubTelemetryNotification, GitHubTelemetryEvent, GitHubTelemetryClientInfo, InstallationConfirmationRequest, InstallationConfirmationResponse, InstallationDecision, InstallationReview, McpInstallationReview, } from "./generated/rpc.js";
|
|
17
|
+
export type { AuthIdentityMetadata, AuthInfoType, ConnectorAccountRequest, ConnectorAvailability, ConnectorCapabilities, ConnectorCatalogEntry, ConnectorCatalogResult, ConnectorCatalogStatus, ConnectorConnectRequest, ConnectorConnectResult, ConnectorContinueRequest, ConnectorDisconnectResult, ConnectorMcpStatus, ConnectorReconcileRequest, ConnectorRuntimeStatus, ConnectorSessionAccount, ConnectorSessionAccountResult, ConnectorStatus, ExtensionLaunchProfile, ExtensionLaunchProviderResolveRequest, ExtensionLaunchProviderResolveResult, GitHubTokenAcquireReason, GitHubTokenAcquireResult, GitHubTelemetryNotification, GitHubTelemetryEvent, GitHubTelemetryClientInfo, InstallationConfirmationRequest, InstallationConfirmationResponse, InstallationDecision, InstallationReview, McpInstallationReview, } from "./generated/rpc.js";
|
|
18
18
|
/**
|
|
19
19
|
* Arguments passed to a session's {@link GitHubTokenProvider}.
|
|
20
20
|
*
|
|
@@ -2444,6 +2444,11 @@ export interface SessionConfig extends SessionConfigBase {
|
|
|
2444
2444
|
* {@link CopilotClient.resumeSession}.
|
|
2445
2445
|
*/
|
|
2446
2446
|
export interface ResumeSessionConfig extends SessionConfigBase {
|
|
2447
|
+
/**
|
|
2448
|
+
* Allow the runtime to recover a damaged transcript during resume.
|
|
2449
|
+
* Defaults to true in all modes. Set false to reject recovery.
|
|
2450
|
+
*/
|
|
2451
|
+
allowTranscriptRecovery?: boolean;
|
|
2447
2452
|
/**
|
|
2448
2453
|
* When true, skips emitting the session.resume event.
|
|
2449
2454
|
* Useful for reconnecting to a session without triggering resume-related side effects.
|
|
@@ -2453,7 +2458,8 @@ export interface ResumeSessionConfig extends SessionConfigBase {
|
|
|
2453
2458
|
/**
|
|
2454
2459
|
* When true, the runtime continues any tool calls or permission prompts that were
|
|
2455
2460
|
* still pending when the session was last suspended. When false (the default), the
|
|
2456
|
-
* runtime treats pending work as interrupted on resume.
|
|
2461
|
+
* runtime treats pending work as interrupted on resume. Completed tool results
|
|
2462
|
+
* already durably recorded by the runtime are preserved.
|
|
2457
2463
|
*
|
|
2458
2464
|
* For permission requests, the runtime re-emits `permission.requested` so the
|
|
2459
2465
|
* registered `onPermissionRequest` handler can re-prompt; for external tool calls,
|
|
@@ -2469,6 +2475,15 @@ export interface ResumeSessionConfig extends SessionConfigBase {
|
|
|
2469
2475
|
*/
|
|
2470
2476
|
openCanvases?: OpenCanvasInstance[];
|
|
2471
2477
|
}
|
|
2478
|
+
/** Transcript repair proposed during the most recent resume. */
|
|
2479
|
+
export interface TranscriptRecovery {
|
|
2480
|
+
/** Planned backup path; the backup is written on the next append. */
|
|
2481
|
+
plannedBackupPath: string;
|
|
2482
|
+
/** One-based physical line numbers removed from the transcript. */
|
|
2483
|
+
invalidLineNumbers: number[];
|
|
2484
|
+
/** Whether an existing session.start event was moved to the beginning. */
|
|
2485
|
+
sessionStartMoved: boolean;
|
|
2486
|
+
}
|
|
2472
2487
|
/**
|
|
2473
2488
|
* Arguments passed to a {@link BearerTokenProvider} callback when the runtime needs a
|
|
2474
2489
|
* fresh bearer token for a BYOK provider.
|
package/package.json
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
"name": "@github/copilot-sdk",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
|
-
"url": "https://github.com/github/copilot-
|
|
5
|
+
"url": "https://github.com/github/copilot-agent-runtime.git",
|
|
6
|
+
"directory": "src/sdk/nodejs"
|
|
6
7
|
},
|
|
7
|
-
"version": "1.0.
|
|
8
|
-
"copilotCliVersion": "1.0.
|
|
8
|
+
"version": "1.0.17-preview.1",
|
|
9
|
+
"copilotCliVersion": "1.0.92-1",
|
|
9
10
|
"description": "TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC",
|
|
10
11
|
"main": "./dist/cjs/index.js",
|
|
11
12
|
"types": "./dist/index.d.ts",
|
|
@@ -36,7 +37,6 @@
|
|
|
36
37
|
"auth:refresh": "node ../scripts/npm-auth-refresh.mjs --run",
|
|
37
38
|
"clean": "rimraf --glob dist *.tgz",
|
|
38
39
|
"build": "tsx esbuild-copilotsdk-nodejs.ts",
|
|
39
|
-
"acquire:runtime-packages": "tsx scripts/runtime-package-acquisition.ts",
|
|
40
40
|
"pack:release": "npm run verify:dependency-policy && tsx scripts/package-sdk.ts",
|
|
41
41
|
"verify:dependency-policy": "tsx scripts/verify-dependency-policy.ts",
|
|
42
42
|
"verify:release-packages": "tsx scripts/verify-release-packages.ts",
|
|
@@ -101,14 +101,19 @@
|
|
|
101
101
|
"docs/**/*",
|
|
102
102
|
"README.md"
|
|
103
103
|
],
|
|
104
|
+
"copilotRuntime": {
|
|
105
|
+
"sourceSha": "f35a336da8899d7c919157780bdb088504c81fd2",
|
|
106
|
+
"version": "1.0.92-1",
|
|
107
|
+
"visibility": "public"
|
|
108
|
+
},
|
|
104
109
|
"optionalDependencies": {
|
|
105
|
-
"@github/copilot-sdk-darwin-arm64": "1.0.
|
|
106
|
-
"@github/copilot-sdk-darwin-x64": "1.0.
|
|
107
|
-
"@github/copilot-sdk-linux-arm64": "1.0.
|
|
108
|
-
"@github/copilot-sdk-linux-x64": "1.0.
|
|
109
|
-
"@github/copilot-sdk-linuxmusl-arm64": "1.0.
|
|
110
|
-
"@github/copilot-sdk-linuxmusl-x64": "1.0.
|
|
111
|
-
"@github/copilot-sdk-win32-arm64": "1.0.
|
|
112
|
-
"@github/copilot-sdk-win32-x64": "1.0.
|
|
110
|
+
"@github/copilot-sdk-darwin-arm64": "1.0.17-preview.1",
|
|
111
|
+
"@github/copilot-sdk-darwin-x64": "1.0.17-preview.1",
|
|
112
|
+
"@github/copilot-sdk-linux-arm64": "1.0.17-preview.1",
|
|
113
|
+
"@github/copilot-sdk-linux-x64": "1.0.17-preview.1",
|
|
114
|
+
"@github/copilot-sdk-linuxmusl-arm64": "1.0.17-preview.1",
|
|
115
|
+
"@github/copilot-sdk-linuxmusl-x64": "1.0.17-preview.1",
|
|
116
|
+
"@github/copilot-sdk-win32-arm64": "1.0.17-preview.1",
|
|
117
|
+
"@github/copilot-sdk-win32-x64": "1.0.17-preview.1"
|
|
113
118
|
}
|
|
114
119
|
}
|