@github/copilot-sdk-win32-x64 1.0.15 → 1.0.16-preview.0
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/copilot-sdk/client.d.ts +27 -1
- package/copilot-sdk/extension.js +470 -10
- package/copilot-sdk/generated/rpc.d.ts +997 -14
- package/copilot-sdk/generated/session-events.d.ts +81 -1
- package/copilot-sdk/host.d.ts +86 -0
- package/copilot-sdk/index.d.ts +3 -1
- package/copilot-sdk/index.js +471 -10
- package/copilot-sdk/types.d.ts +3 -0
- package/package.json +1 -1
- package/prebuilds/win32-x64/OneAuthInterop.dll +0 -0
- package/prebuilds/win32-x64/copilot-runtime.exe +0 -0
- package/prebuilds/win32-x64/runtime.node +2 -2
- package/ripgrep/bin/win32-x64/rg.exe +0 -0
- package/schemas/api.schema.json +1093 -8
- package/schemas/session-events.schema.json +305 -3
- package/tgrep/bin/win32-x64/tgrep.exe +0 -0
|
@@ -930,6 +930,14 @@ export type SystemNotificationWorkflowCompletedStatus =
|
|
|
930
930
|
* Details of the permission being requested
|
|
931
931
|
*/
|
|
932
932
|
export type PermissionRequest = PermissionRequestShell | PermissionRequestWrite | PermissionRequestRead | PermissionRequestMcp | PermissionRequestUrl | PermissionRequestMemory | PermissionRequestCustomTool | PermissionRequestHook | PermissionRequestExtensionManagement | PermissionRequestWorkflow | PermissionRequestExtensionPermissionAccess | PermissionRequestExtensionEnvAccess;
|
|
933
|
+
/**
|
|
934
|
+
* Access a sandbox path grant confers
|
|
935
|
+
*/
|
|
936
|
+
export type PermissionSandboxPathGrantAccess =
|
|
937
|
+
/** Read access: the path is added to readonlyPaths. */
|
|
938
|
+
"read"
|
|
939
|
+
/** Read and write access: the path is added to readwritePaths. */
|
|
940
|
+
| "readWrite";
|
|
933
941
|
/**
|
|
934
942
|
* Advisory recommendation the runtime attaches to a permission request whose origin it can vouch for by construction. Unlike the auto-approval judge this does not depend on auto mode and does not evaluate what the tool call does; its absence simply means the runtime has no opinion and the request follows the host's normal approval flow.
|
|
935
943
|
*/
|
|
@@ -1028,7 +1036,7 @@ export type PermissionDecisionSource =
|
|
|
1028
1036
|
/**
|
|
1029
1037
|
* The result of the permission request
|
|
1030
1038
|
*/
|
|
1031
|
-
export type PermissionResult = PermissionApproved | PermissionApprovedForSession | PermissionApprovedForLocation | PermissionCancelled | PermissionDeniedByRules | PermissionDeniedNoApprovalRuleAndCouldNotRequestFromUser | PermissionDeniedInteractivelyByUser | PermissionDeniedByContentExclusionPolicy | PermissionDeniedByPermissionRequestHook;
|
|
1039
|
+
export type PermissionResult = PermissionApproved | PermissionApprovedReadOnlyForSession | PermissionApprovedForSession | PermissionApprovedForLocation | PermissionCancelled | PermissionDeniedByRules | PermissionDeniedNoApprovalRuleAndCouldNotRequestFromUser | PermissionDeniedInteractivelyByUser | PermissionDeniedByContentExclusionPolicy | PermissionDeniedByPermissionRequestHook;
|
|
1032
1040
|
/**
|
|
1033
1041
|
* The approval to add as a session-scoped rule
|
|
1034
1042
|
*/
|
|
@@ -8274,6 +8282,12 @@ export interface PermissionRequestShell {
|
|
|
8274
8282
|
* @experimental
|
|
8275
8283
|
*/
|
|
8276
8284
|
resolvedWorkingDirectory?: string;
|
|
8285
|
+
/**
|
|
8286
|
+
* Sandbox policy edit that would let the command run inside the sandbox. Only present when requestSandboxBypass is true.
|
|
8287
|
+
*
|
|
8288
|
+
* @experimental
|
|
8289
|
+
*/
|
|
8290
|
+
sandboxPathGrant?: PermissionSandboxPathGrant;
|
|
8277
8291
|
/**
|
|
8278
8292
|
* Tool call ID that triggered this permission request
|
|
8279
8293
|
*/
|
|
@@ -8318,6 +8332,25 @@ export interface PermissionRequestShellPossibleUrl {
|
|
|
8318
8332
|
*/
|
|
8319
8333
|
url: string;
|
|
8320
8334
|
}
|
|
8335
|
+
/**
|
|
8336
|
+
* A sandbox filesystem policy edit that would let a blocked operation run inside the sandbox instead of outside it. Offered only on a sandbox escalation request whose denial adding this path lifts, and only when managed policy permits the grant. A host accepts it with session.sandbox.grantPathForRequest, which adds the path to the session's sandbox policy and re-runs the operation sandboxed; a host that persists sandbox settings may also save the path there.
|
|
8337
|
+
*/
|
|
8338
|
+
/** @experimental */
|
|
8339
|
+
export interface PermissionSandboxPathGrant {
|
|
8340
|
+
access: PermissionSandboxPathGrantAccess;
|
|
8341
|
+
/**
|
|
8342
|
+
* The path the sandbox refused, present only when it differs from path. That happens when a write under a read-only folder moves the folder to the read-write paths, when a path that does not exist yet is granted through its nearest existing folder, because the OS sandbox cannot grant a path before it exists, and when either is spelled through a symlink, because a grant covers its path as written, so path is then the resolved location. Hosts should then name path in the offer, since the denial names this one.
|
|
8343
|
+
*/
|
|
8344
|
+
deniedPath?: string;
|
|
8345
|
+
/**
|
|
8346
|
+
* Absolute path to add to the sandbox filesystem policy
|
|
8347
|
+
*/
|
|
8348
|
+
path: string;
|
|
8349
|
+
/**
|
|
8350
|
+
* readonlyPaths entries the grant removes, exactly as written in the policy, because a read-only entry for the same location would otherwise keep the path read-only. A host that persists the path must remove these entries from its stored readonlyPaths too.
|
|
8351
|
+
*/
|
|
8352
|
+
removedReadonlyPaths?: string[];
|
|
8353
|
+
}
|
|
8321
8354
|
/**
|
|
8322
8355
|
* File write permission request
|
|
8323
8356
|
*/
|
|
@@ -8364,6 +8397,12 @@ export interface PermissionRequestWrite {
|
|
|
8364
8397
|
* @experimental
|
|
8365
8398
|
*/
|
|
8366
8399
|
resolvedPath?: string;
|
|
8400
|
+
/**
|
|
8401
|
+
* Sandbox policy edit that would let the write run inside the sandbox. Only present when requestSandboxBypass is true.
|
|
8402
|
+
*
|
|
8403
|
+
* @experimental
|
|
8404
|
+
*/
|
|
8405
|
+
sandboxPathGrant?: PermissionSandboxPathGrant;
|
|
8367
8406
|
/**
|
|
8368
8407
|
* Tool call ID that triggered this permission request
|
|
8369
8408
|
*/
|
|
@@ -8403,6 +8442,12 @@ export interface PermissionRequestRead {
|
|
|
8403
8442
|
* @experimental
|
|
8404
8443
|
*/
|
|
8405
8444
|
resolvedPath?: string;
|
|
8445
|
+
/**
|
|
8446
|
+
* Sandbox policy edit that would let the read run inside the sandbox. Only present when requestSandboxBypass is true.
|
|
8447
|
+
*
|
|
8448
|
+
* @experimental
|
|
8449
|
+
*/
|
|
8450
|
+
sandboxPathGrant?: PermissionSandboxPathGrant;
|
|
8406
8451
|
/**
|
|
8407
8452
|
* Tool call ID that triggered this permission request
|
|
8408
8453
|
*/
|
|
@@ -8880,6 +8925,12 @@ export interface PermissionPromptRequestCommands {
|
|
|
8880
8925
|
* True when the escalation is a permissive retry that keeps the sandbox and network policy attached while recording file and process accesses instead of blocking them.
|
|
8881
8926
|
*/
|
|
8882
8927
|
requestSandboxPermissive?: boolean;
|
|
8928
|
+
/**
|
|
8929
|
+
* Sandbox policy edit that would let the command run inside the sandbox. Only present when requestSandboxBypass is true.
|
|
8930
|
+
*
|
|
8931
|
+
* @experimental
|
|
8932
|
+
*/
|
|
8933
|
+
sandboxPathGrant?: PermissionSandboxPathGrant;
|
|
8883
8934
|
/**
|
|
8884
8935
|
* Tool call ID that triggered this permission request
|
|
8885
8936
|
*/
|
|
@@ -9150,6 +9201,12 @@ export interface PermissionPromptRequestPath {
|
|
|
9150
9201
|
* File paths that require explicit approval
|
|
9151
9202
|
*/
|
|
9152
9203
|
paths: string[];
|
|
9204
|
+
/**
|
|
9205
|
+
* Canonical directory candidates that can be granted for file-tool read access in this logical session. Present only for read path prompts.
|
|
9206
|
+
*
|
|
9207
|
+
* @experimental
|
|
9208
|
+
*/
|
|
9209
|
+
readOnlyDirectories?: string[];
|
|
9153
9210
|
/**
|
|
9154
9211
|
* Tool call ID that triggered this permission request
|
|
9155
9212
|
*/
|
|
@@ -9413,6 +9470,21 @@ export interface PermissionApproved {
|
|
|
9413
9470
|
*/
|
|
9414
9471
|
managedApprovalHandled?: boolean;
|
|
9415
9472
|
}
|
|
9473
|
+
/**
|
|
9474
|
+
* Permission response variant that approves a request and records file-tool read authority for specific directories in this logical session.
|
|
9475
|
+
*/
|
|
9476
|
+
export interface PermissionApprovedReadOnlyForSession {
|
|
9477
|
+
/**
|
|
9478
|
+
* Canonical directories covered by the session read-only grant
|
|
9479
|
+
*
|
|
9480
|
+
* @minItems 1
|
|
9481
|
+
*/
|
|
9482
|
+
directories: [string, ...string[]];
|
|
9483
|
+
/**
|
|
9484
|
+
* Approved with read-only directory authority for this session
|
|
9485
|
+
*/
|
|
9486
|
+
kind: "approved-read-only-for-session";
|
|
9487
|
+
}
|
|
9416
9488
|
/**
|
|
9417
9489
|
* Permission response variant that approves a request and remembers the provided approval for the rest of the session.
|
|
9418
9490
|
*/
|
|
@@ -12084,10 +12156,18 @@ export interface McpServerStatusChangedEvent {
|
|
|
12084
12156
|
* Payload of `session.mcp_server_status_changed` for one MCP server's status and optional failure error.
|
|
12085
12157
|
*/
|
|
12086
12158
|
export interface McpServerStatusChangedData {
|
|
12159
|
+
/**
|
|
12160
|
+
* Runtime configuration provenance for a failed connection, or unknown when unavailable. Additional string values may be introduced.
|
|
12161
|
+
*/
|
|
12162
|
+
configSource?: string;
|
|
12087
12163
|
/**
|
|
12088
12164
|
* Error message if the server entered a failed state
|
|
12089
12165
|
*/
|
|
12090
12166
|
error?: string;
|
|
12167
|
+
/**
|
|
12168
|
+
* Runtime-produced classification for the final failed connection; unclassified means no classification was supplied. Additional string values may be introduced.
|
|
12169
|
+
*/
|
|
12170
|
+
errorClassification?: string;
|
|
12091
12171
|
/**
|
|
12092
12172
|
* Name of the MCP server whose status changed
|
|
12093
12173
|
*/
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { HostExitedNotification, HostPublishSessionResult, HostLocalServerOptions, HostGitHubEnvironmentOptions } from "./generated/rpc.js";
|
|
2
|
+
import type { CopilotSession } from "./session.js";
|
|
3
|
+
import type { SessionConfig, ResumeSessionConfig } from "./types.js";
|
|
4
|
+
/** Host-selected defaults for a fresh application-owned session. @experimental */
|
|
5
|
+
export interface AhpSessionCreateRequest {
|
|
6
|
+
/** Pass these settings to createSession, adding your prompt, tools and callbacks. */
|
|
7
|
+
config: Omit<SessionConfig, "onPermissionRequest">;
|
|
8
|
+
/** Aborted when participation ends, including timeout or owner disconnection. */
|
|
9
|
+
signal: AbortSignal;
|
|
10
|
+
}
|
|
11
|
+
/** Host-selected settings for resuming a durable application-owned AHP session. @experimental */
|
|
12
|
+
export interface AhpSessionResumeRequest {
|
|
13
|
+
sessionId: string;
|
|
14
|
+
/** Pass to resumeSession, adding application tools, hooks and callbacks. */
|
|
15
|
+
config: Omit<ResumeSessionConfig, "onPermissionRequest">;
|
|
16
|
+
/** Aborted when participation ends; late results are still released exactly once. */
|
|
17
|
+
signal: AbortSignal;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A listener-task exit report, or an owner disconnect that cannot acknowledge cleanup.
|
|
21
|
+
* `reason: "exited"` means the hosting task failed, not that the runtime process died.
|
|
22
|
+
* In-process hosts have no process exit code (`exitCode` is absent).
|
|
23
|
+
* @experimental
|
|
24
|
+
*/
|
|
25
|
+
export type AhpHostExit = HostExitedNotification;
|
|
26
|
+
/**
|
|
27
|
+
* Options for runtime-supervised AHP hosting. Select at least one transport.
|
|
28
|
+
* Callbacks are captured at startup;
|
|
29
|
+
* later changes to this options object do not reconfigure an existing host.
|
|
30
|
+
* @experimental
|
|
31
|
+
*/
|
|
32
|
+
export interface AhpHostOptions {
|
|
33
|
+
/** Enable a local WebSocket listener; an empty object selects loopback defaults. */
|
|
34
|
+
localServer?: HostLocalServerOptions;
|
|
35
|
+
/** Register a Mission Control environment and enable remote WPS connections. */
|
|
36
|
+
githubEnvironment?: HostGitHubEnvironmentOptions;
|
|
37
|
+
/** Called at most once when hosting ends, not on runtime process death. Local, never serialized. */
|
|
38
|
+
onExit?: (exit: AhpHostExit) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Materialize a fresh session on this client. Preserve the supplied config
|
|
41
|
+
* (including its sessionId and workingDirectory); add your own prompt and tools.
|
|
42
|
+
* The callback and all tool/hook functions stay in the application.
|
|
43
|
+
*/
|
|
44
|
+
createSession?: (request: AhpSessionCreateRequest) => Promise<CopilotSession>;
|
|
45
|
+
/**
|
|
46
|
+
* Resume a durable session previously created by an application factory.
|
|
47
|
+
* Return the original object from this client's resumeSession, or an existing
|
|
48
|
+
* attached original without reconfiguring it. Published resident sessions
|
|
49
|
+
* attach directly and never invoke this callback.
|
|
50
|
+
*/
|
|
51
|
+
resumeSession?: (request: AhpSessionResumeRequest) => Promise<CopilotSession>;
|
|
52
|
+
/**
|
|
53
|
+
* Called once per handoff with the original returned object after AHP detaches
|
|
54
|
+
* or the handoff fails. The SDK never disconnects or destroys this object.
|
|
55
|
+
*/
|
|
56
|
+
onSessionReleased?: (session: CopilotSession) => void | Promise<void>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* A connection-owned AHP listener supervised by the runtime.
|
|
60
|
+
*
|
|
61
|
+
* The runtime hosts the listener in-process, without a companion executable. Disconnecting
|
|
62
|
+
* the owning client also stops the host; reconnecting does not reclaim it.
|
|
63
|
+
* Stopping a host does not delete its underlying sessions.
|
|
64
|
+
* Its durable AHP catalog is shared by successive hosts in the runtime's
|
|
65
|
+
* effective Copilot home; a concurrent host for that catalog is rejected.
|
|
66
|
+
*
|
|
67
|
+
* @experimental
|
|
68
|
+
*/
|
|
69
|
+
export declare class AhpHost {
|
|
70
|
+
private readonly disposeHost;
|
|
71
|
+
private readonly publishHostSession;
|
|
72
|
+
readonly hostId: string;
|
|
73
|
+
/** Local WebSocket URL. Absent when only the GitHub environment is enabled. */
|
|
74
|
+
readonly url: string | undefined;
|
|
75
|
+
/** Mission Control environment ID, when GitHub hosting is enabled. */
|
|
76
|
+
readonly environmentId: string | undefined;
|
|
77
|
+
/** Connection token, when required by the listener. Treat this value as a secret. */
|
|
78
|
+
readonly token: string | undefined;
|
|
79
|
+
/** Legacy separate host process ID. Absent for in-process listeners; use dispose() to stop. */
|
|
80
|
+
readonly pid: number | undefined;
|
|
81
|
+
/** Ask the runtime to stop the listener and await its cleanup, on every call. */
|
|
82
|
+
dispose(): Promise<void>;
|
|
83
|
+
/** Publish an existing session attached to this client, until this listener stops. */
|
|
84
|
+
publishSession(sessionId: string): Promise<HostPublishSessionResult>;
|
|
85
|
+
[Symbol.asyncDispose](): Promise<void>;
|
|
86
|
+
}
|
package/copilot-sdk/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* JSON-RPC based SDK for programmatic control of GitHub Copilot CLI
|
|
5
5
|
*/
|
|
6
6
|
export { CopilotClient } from "./client.js";
|
|
7
|
+
export type { HostLocalServerOptions, HostGitHubEnvironmentOptions } from "./generated/rpc.js";
|
|
8
|
+
export { AhpHost, type AhpHostExit, type AhpHostOptions, type AhpSessionCreateRequest, type AhpSessionResumeRequest, } from "./host.js";
|
|
7
9
|
export { DisableBypassPermissionsModes, RuntimeConnection } from "./types.js";
|
|
8
10
|
export { BuiltInTools, ToolSet } from "./toolSet.js";
|
|
9
11
|
export { CopilotSession, type AssistantMessageEvent } from "./session.js";
|
|
@@ -11,5 +13,5 @@ export { defineWorkflow, WorkflowResumeError, isWorkflowRunTerminal } from "./wo
|
|
|
11
13
|
export { Canvas, CanvasError, createCanvas, type CanvasAction, type CanvasDeclaration, type CanvasHostContext, type CanvasHostContextCapabilities, type CanvasJsonSchema, type CanvasOptions, } from "./canvas.js";
|
|
12
14
|
export { defineTool, approveAll, createAttributedPermissionResult, convertMcpCallToolResult, createSessionFsAdapter, CopilotRequestHandler, CopilotWebSocketHandler, CopilotWebSocketCloseStatus, CopilotWebSocketForwarder, SessionFsSqliteTransactionFailure, SYSTEM_MESSAGE_SECTIONS, } from "./types.js";
|
|
13
15
|
export type * from "./generated/session-events.js";
|
|
14
|
-
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, 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, 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";
|
|
15
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";
|