@ycodium-ai/plugin-api 0.2.6054 → 0.2.6072
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 +5 -1
- package/dist/_private/ycodium-ui-hooks/ProviderSignInChallenge.d.ts +1 -1
- package/dist/_private/ycodium-ui-hooks/ProviderSignInChallenge.js +1 -1
- package/dist/dataPorts.gen.d.ts +261 -0
- package/dist/dataPorts.gen.d.ts.map +1 -1
- package/dist/dataPorts.gen.js.map +1 -1
- package/dist/executor.d.ts +8 -4
- package/dist/executor.d.ts.map +1 -1
- package/dist/executor.js.map +1 -1
- package/dist/executorCard.d.ts +6 -0
- package/dist/executorCard.d.ts.map +1 -1
- package/dist/executorCard.js.map +1 -1
- package/dist/runtime-maintenance.d.ts +46 -0
- package/dist/runtime-maintenance.d.ts.map +1 -1
- package/dist/runtime-maintenance.js +317 -31
- package/dist/runtime-maintenance.js.map +1 -1
- package/dist/source/_private/ycodium-ui-hooks/ProviderSignInChallenge.tsx +21 -20
- package/dist/source/dataPorts.gen.ts +17 -13
- package/dist/source/executor.ts +8 -3
- package/dist/source/executorCard.ts +7 -0
- package/dist/source/runtime-maintenance.ts +413 -33
- package/dist/source/version.ts +2 -2
- package/dist/version.d.ts +2 -2
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -670,7 +670,11 @@ No thread, timeout, interruption or restart cancels the call. Guard callbacks st
|
|
|
670
670
|
|
|
671
671
|
<!-- plugin-api-versions:start (generated by scripts/gen-plugin-api-version.ts from packages/plugin-api/version-history.json; edit that file) -->
|
|
672
672
|
|
|
673
|
-
The current API is **
|
|
673
|
+
The current API is **197**. This Ycodium loads plugins declaring 193 through 197.
|
|
674
|
+
|
|
675
|
+
API 197 adds `ExecutorSignInInteraction` (`device-code` | `authorization-code` | `browser`), `ExecutorCard.signInInteraction`, `ExecutorInstance.signIn.submit`, and `ExecutorInstance.signInMethods`, exports `createCliAuthorizationCodeSignIn`, `createCliBrowserSignIn`, `sanitizeAuthorizationCodeError`, and `suppressNodeCliBrowserOpen` from `@ycodium-ai/plugin-api/runtime-maintenance`, and adds the operator-only `ctx.providers.instances.submitSignIn` data port, `providerSignInSubmit` machine capability, `signInMode` snapshot field, and `operationId`-bound sign-in maintenance states.
|
|
676
|
+
|
|
677
|
+
API 197 exports `publishRuntimeDirectory` from `@ycodium-ai/plugin-api/runtime-maintenance` so managed runtime installers atomically publish verified version directories even when Windows still holds a handle on the probed staging directory.
|
|
674
678
|
|
|
675
679
|
API 196 includes the creating mount on plugin-authored project schedules and their messages, adds project-scoped plugin fields (`origin: "project"`, `projectId`, `projectPlugin`) to `InstalledPlugin`, optional `pluginEntryId` contributor identity on `ConversationToolPresentation`, optional localized `label` and `items` on `ConversationThreadDecisionCard.detail`, optional approval and conflict-choice fields to `ctx.plugins.installed.setEnabled`, and the operator-only `ctx.plugins.project.installMachine` and `ctx.plugins.project.scan` ports (`restricted: "not-for-plugins"`). Project folder reads include the optional confirmed target (null when registration could not resolve the directory) and plugin notifications can request operator confirmation of a legacy directory link. Installed plugin records identify the canonical machine entry for existing panel pins.
|
|
676
680
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
/** 设备码由用户带到厂商页面;授权码由用户从厂商页面带回。协议、文案和操作归调用方。 */
|
|
3
3
|
export function ProviderSignInChallenge({ Button, challenge, }) {
|
|
4
|
-
const open = challenge.open ? (_jsx(Button, { type: "button", size: "xs", variant: challenge.kind === "device" ? "link" : "outline", onClick: challenge.open, children: challenge.openLabel })) : (_jsx("a", { href: challenge.url, target: "_blank", rel: "noreferrer", className: "w-fit text-xs text-primary underline underline-offset-2", children: challenge.openLabel }));
|
|
4
|
+
const open = challenge.open === null ? null : challenge.open ? (_jsx(Button, { type: "button", size: "xs", variant: challenge.kind === "device" ? "link" : "outline", onClick: challenge.open, children: challenge.openLabel })) : (_jsx("a", { href: challenge.url, target: "_blank", rel: "noreferrer", className: "w-fit text-xs text-primary underline underline-offset-2", children: challenge.openLabel }));
|
|
5
5
|
if (challenge.kind === "device")
|
|
6
6
|
return (_jsxs("div", { className: "grid gap-2 rounded-md border border-border/70 bg-muted/40 p-2.5", children: [_jsxs("div", { className: "grid gap-1", children: [_jsx("span", { className: "text-ui-2xs font-medium uppercase tracking-wider text-muted-foreground", children: challenge.label }), _jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx("code", { className: "font-mono text-lg font-semibold tracking-[0.2em] text-foreground", children: challenge.code }), _jsx(Button, { type: "button", size: "icon-xs", variant: "ghost", className: "size-6 shrink-0 rounded-sm p-0 text-muted-foreground hover:text-foreground", "aria-label": challenge.copyLabel, onClick: challenge.copy, children: challenge.copyIcon })] })] }), open] }));
|
|
7
7
|
const { Input } = challenge;
|
package/dist/dataPorts.gen.d.ts
CHANGED
|
@@ -6586,6 +6586,7 @@ export type MachineSettingsProvidersGetOutput = {
|
|
|
6586
6586
|
};
|
|
6587
6587
|
};
|
|
6588
6588
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
6589
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
6589
6590
|
readonly supportsManagedRuntime?: boolean;
|
|
6590
6591
|
readonly installCommand?: string;
|
|
6591
6592
|
readonly installUrl?: string;
|
|
@@ -6600,14 +6601,26 @@ export type MachineSettingsProvidersGetOutput = {
|
|
|
6600
6601
|
readonly updateState?: {
|
|
6601
6602
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
6602
6603
|
readonly action?: "update" | "install" | "sign-in";
|
|
6604
|
+
readonly operationId?: string;
|
|
6605
|
+
readonly clientRequestId?: string;
|
|
6603
6606
|
readonly startedAt: string | null;
|
|
6604
6607
|
readonly finishedAt: string | null;
|
|
6605
6608
|
readonly message: string | null;
|
|
6606
6609
|
readonly output: string | null;
|
|
6607
6610
|
readonly deviceCode?: {
|
|
6611
|
+
readonly operationId?: string;
|
|
6608
6612
|
readonly userCode: string;
|
|
6609
6613
|
readonly verificationUrl: string;
|
|
6610
6614
|
};
|
|
6615
|
+
readonly browserSignIn?: {
|
|
6616
|
+
readonly operationId: string;
|
|
6617
|
+
readonly verificationUrl: string;
|
|
6618
|
+
};
|
|
6619
|
+
readonly authorizationCode?: {
|
|
6620
|
+
readonly operationId: string;
|
|
6621
|
+
readonly verificationUrl: string;
|
|
6622
|
+
readonly submitted?: boolean;
|
|
6623
|
+
};
|
|
6611
6624
|
};
|
|
6612
6625
|
}>;
|
|
6613
6626
|
};
|
|
@@ -7335,6 +7348,7 @@ export type MachineSettingsConfigGetOutput = {
|
|
|
7335
7348
|
readonly threadDirectoryIds?: boolean;
|
|
7336
7349
|
readonly threadMembers?: boolean;
|
|
7337
7350
|
readonly providerMaintenanceCancel?: boolean;
|
|
7351
|
+
readonly providerSignInSubmit?: boolean;
|
|
7338
7352
|
readonly repositoryIdentity: boolean;
|
|
7339
7353
|
readonly connectionProbe?: boolean;
|
|
7340
7354
|
readonly reviewDiffFiles?: boolean;
|
|
@@ -7994,6 +8008,7 @@ export type ProvidersExecutorsListOutput = {
|
|
|
7994
8008
|
readonly kind: "api-key";
|
|
7995
8009
|
readonly variable: string;
|
|
7996
8010
|
}>;
|
|
8011
|
+
readonly signInInteraction?: "device-code" | "authorization-code" | "browser" | undefined;
|
|
7997
8012
|
readonly deviceCodeSignInArgs: ReadonlyArray<string>;
|
|
7998
8013
|
readonly npmPackage: string;
|
|
7999
8014
|
readonly homebrewFormula: string;
|
|
@@ -8201,6 +8216,7 @@ export type ProvidersInstancesRefreshOutput = {
|
|
|
8201
8216
|
export type ProvidersInstancesInstallInput = {
|
|
8202
8217
|
readonly provider: string;
|
|
8203
8218
|
readonly instanceId?: string;
|
|
8219
|
+
readonly clientRequestId?: string;
|
|
8204
8220
|
};
|
|
8205
8221
|
export type ProvidersInstancesInstallOutput = {
|
|
8206
8222
|
readonly providers: ReadonlyArray<{
|
|
@@ -8332,6 +8348,7 @@ export type ProvidersInstancesInstallOutput = {
|
|
|
8332
8348
|
};
|
|
8333
8349
|
};
|
|
8334
8350
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
8351
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
8335
8352
|
readonly supportsManagedRuntime?: boolean;
|
|
8336
8353
|
readonly installCommand?: string;
|
|
8337
8354
|
readonly installUrl?: string;
|
|
@@ -8346,20 +8363,33 @@ export type ProvidersInstancesInstallOutput = {
|
|
|
8346
8363
|
readonly updateState?: {
|
|
8347
8364
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
8348
8365
|
readonly action?: "update" | "install" | "sign-in";
|
|
8366
|
+
readonly operationId?: string;
|
|
8367
|
+
readonly clientRequestId?: string;
|
|
8349
8368
|
readonly startedAt: string | null;
|
|
8350
8369
|
readonly finishedAt: string | null;
|
|
8351
8370
|
readonly message: string | null;
|
|
8352
8371
|
readonly output: string | null;
|
|
8353
8372
|
readonly deviceCode?: {
|
|
8373
|
+
readonly operationId?: string;
|
|
8354
8374
|
readonly userCode: string;
|
|
8355
8375
|
readonly verificationUrl: string;
|
|
8356
8376
|
};
|
|
8377
|
+
readonly browserSignIn?: {
|
|
8378
|
+
readonly operationId: string;
|
|
8379
|
+
readonly verificationUrl: string;
|
|
8380
|
+
};
|
|
8381
|
+
readonly authorizationCode?: {
|
|
8382
|
+
readonly operationId: string;
|
|
8383
|
+
readonly verificationUrl: string;
|
|
8384
|
+
readonly submitted?: boolean;
|
|
8385
|
+
};
|
|
8357
8386
|
};
|
|
8358
8387
|
}>;
|
|
8359
8388
|
};
|
|
8360
8389
|
export type ProvidersInstancesUpdateInput = {
|
|
8361
8390
|
readonly provider: string;
|
|
8362
8391
|
readonly instanceId?: string;
|
|
8392
|
+
readonly clientRequestId?: string;
|
|
8363
8393
|
};
|
|
8364
8394
|
export type ProvidersInstancesUpdateOutput = {
|
|
8365
8395
|
readonly providers: ReadonlyArray<{
|
|
@@ -8491,6 +8521,7 @@ export type ProvidersInstancesUpdateOutput = {
|
|
|
8491
8521
|
};
|
|
8492
8522
|
};
|
|
8493
8523
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
8524
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
8494
8525
|
readonly supportsManagedRuntime?: boolean;
|
|
8495
8526
|
readonly installCommand?: string;
|
|
8496
8527
|
readonly installUrl?: string;
|
|
@@ -8505,20 +8536,33 @@ export type ProvidersInstancesUpdateOutput = {
|
|
|
8505
8536
|
readonly updateState?: {
|
|
8506
8537
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
8507
8538
|
readonly action?: "update" | "install" | "sign-in";
|
|
8539
|
+
readonly operationId?: string;
|
|
8540
|
+
readonly clientRequestId?: string;
|
|
8508
8541
|
readonly startedAt: string | null;
|
|
8509
8542
|
readonly finishedAt: string | null;
|
|
8510
8543
|
readonly message: string | null;
|
|
8511
8544
|
readonly output: string | null;
|
|
8512
8545
|
readonly deviceCode?: {
|
|
8546
|
+
readonly operationId?: string;
|
|
8513
8547
|
readonly userCode: string;
|
|
8514
8548
|
readonly verificationUrl: string;
|
|
8515
8549
|
};
|
|
8550
|
+
readonly browserSignIn?: {
|
|
8551
|
+
readonly operationId: string;
|
|
8552
|
+
readonly verificationUrl: string;
|
|
8553
|
+
};
|
|
8554
|
+
readonly authorizationCode?: {
|
|
8555
|
+
readonly operationId: string;
|
|
8556
|
+
readonly verificationUrl: string;
|
|
8557
|
+
readonly submitted?: boolean;
|
|
8558
|
+
};
|
|
8516
8559
|
};
|
|
8517
8560
|
}>;
|
|
8518
8561
|
};
|
|
8519
8562
|
export type ProvidersInstancesSignInInput = {
|
|
8520
8563
|
readonly provider: string;
|
|
8521
8564
|
readonly instanceId?: string;
|
|
8565
|
+
readonly clientRequestId?: string;
|
|
8522
8566
|
};
|
|
8523
8567
|
export type ProvidersInstancesSignInOutput = {
|
|
8524
8568
|
readonly providers: ReadonlyArray<{
|
|
@@ -8650,6 +8694,7 @@ export type ProvidersInstancesSignInOutput = {
|
|
|
8650
8694
|
};
|
|
8651
8695
|
};
|
|
8652
8696
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
8697
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
8653
8698
|
readonly supportsManagedRuntime?: boolean;
|
|
8654
8699
|
readonly installCommand?: string;
|
|
8655
8700
|
readonly installUrl?: string;
|
|
@@ -8664,20 +8709,207 @@ export type ProvidersInstancesSignInOutput = {
|
|
|
8664
8709
|
readonly updateState?: {
|
|
8665
8710
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
8666
8711
|
readonly action?: "update" | "install" | "sign-in";
|
|
8712
|
+
readonly operationId?: string;
|
|
8713
|
+
readonly clientRequestId?: string;
|
|
8667
8714
|
readonly startedAt: string | null;
|
|
8668
8715
|
readonly finishedAt: string | null;
|
|
8669
8716
|
readonly message: string | null;
|
|
8670
8717
|
readonly output: string | null;
|
|
8671
8718
|
readonly deviceCode?: {
|
|
8719
|
+
readonly operationId?: string;
|
|
8672
8720
|
readonly userCode: string;
|
|
8673
8721
|
readonly verificationUrl: string;
|
|
8674
8722
|
};
|
|
8723
|
+
readonly browserSignIn?: {
|
|
8724
|
+
readonly operationId: string;
|
|
8725
|
+
readonly verificationUrl: string;
|
|
8726
|
+
};
|
|
8727
|
+
readonly authorizationCode?: {
|
|
8728
|
+
readonly operationId: string;
|
|
8729
|
+
readonly verificationUrl: string;
|
|
8730
|
+
readonly submitted?: boolean;
|
|
8731
|
+
};
|
|
8732
|
+
};
|
|
8733
|
+
}>;
|
|
8734
|
+
};
|
|
8735
|
+
export type ProvidersInstancesSubmitSignInInput = {
|
|
8736
|
+
readonly provider: string;
|
|
8737
|
+
readonly instanceId?: string;
|
|
8738
|
+
readonly operationId: string;
|
|
8739
|
+
readonly code: string;
|
|
8740
|
+
};
|
|
8741
|
+
export type ProvidersInstancesSubmitSignInOutput = {
|
|
8742
|
+
readonly providers: ReadonlyArray<{
|
|
8743
|
+
readonly instanceId: string;
|
|
8744
|
+
readonly driver: string;
|
|
8745
|
+
readonly displayName?: string | undefined;
|
|
8746
|
+
readonly accentColor?: string | undefined;
|
|
8747
|
+
readonly continuation?: {
|
|
8748
|
+
readonly groupKey: string;
|
|
8749
|
+
} | undefined;
|
|
8750
|
+
readonly showInteractionModeToggle?: boolean | undefined;
|
|
8751
|
+
readonly requiresNewThreadForModelChange?: boolean | undefined;
|
|
8752
|
+
readonly supportsContextCompaction?: boolean | undefined;
|
|
8753
|
+
readonly supportsTextGeneration?: boolean | undefined;
|
|
8754
|
+
readonly supportsNativeModeSwitch?: boolean | undefined;
|
|
8755
|
+
readonly maxProcesses?: number;
|
|
8756
|
+
readonly supportsTurnSteering?: boolean | undefined;
|
|
8757
|
+
readonly runtimeModeSwitch?: "in-session" | "next-turn";
|
|
8758
|
+
readonly reportsSpawnedAgents?: boolean;
|
|
8759
|
+
readonly blocksHostMcpWritesInAuto?: boolean;
|
|
8760
|
+
readonly modelSlugAliases?: {
|
|
8761
|
+
readonly [x: string]: string;
|
|
8762
|
+
};
|
|
8763
|
+
readonly enabled: boolean;
|
|
8764
|
+
readonly installed: boolean;
|
|
8765
|
+
readonly version: string | null;
|
|
8766
|
+
readonly readiness: {
|
|
8767
|
+
readonly state: "ready" | "unchecked" | "checking" | "disabled" | "not-installed" | "unauthenticated" | "error";
|
|
8768
|
+
readonly detail?: string | undefined;
|
|
8769
|
+
readonly tooOld?: {
|
|
8770
|
+
readonly minimumVersion: string;
|
|
8771
|
+
} | undefined;
|
|
8772
|
+
readonly recovery?: ProviderProbeRecovery;
|
|
8773
|
+
};
|
|
8774
|
+
readonly auth: {
|
|
8775
|
+
readonly status: "authenticated" | "unauthenticated" | "unknown";
|
|
8776
|
+
readonly type?: string | undefined;
|
|
8777
|
+
readonly label?: string | undefined;
|
|
8778
|
+
readonly email?: string | undefined;
|
|
8779
|
+
};
|
|
8780
|
+
readonly checkedAt: string;
|
|
8781
|
+
readonly configDigest?: string;
|
|
8782
|
+
readonly models: ReadonlyArray<{
|
|
8783
|
+
readonly slug: string;
|
|
8784
|
+
readonly name: string;
|
|
8785
|
+
readonly shortName?: string | undefined;
|
|
8786
|
+
readonly subProvider?: string | undefined;
|
|
8787
|
+
readonly isCustom: boolean;
|
|
8788
|
+
readonly isDefault?: boolean | undefined;
|
|
8789
|
+
readonly hidden?: boolean | undefined;
|
|
8790
|
+
readonly origin?: "probe" | "custom" | "card";
|
|
8791
|
+
readonly capabilities: {
|
|
8792
|
+
readonly optionDescriptors?: ReadonlyArray<{
|
|
8793
|
+
readonly id: string;
|
|
8794
|
+
readonly label: string;
|
|
8795
|
+
readonly description?: string | undefined;
|
|
8796
|
+
readonly type: "select";
|
|
8797
|
+
readonly options: ReadonlyArray<{
|
|
8798
|
+
readonly id: string;
|
|
8799
|
+
readonly label: string;
|
|
8800
|
+
readonly description?: string | undefined;
|
|
8801
|
+
readonly isDefault?: boolean | undefined;
|
|
8802
|
+
}>;
|
|
8803
|
+
readonly currentValue?: string | undefined;
|
|
8804
|
+
readonly promptInjectedValues?: ReadonlyArray<string> | undefined;
|
|
8805
|
+
} | {
|
|
8806
|
+
readonly id: string;
|
|
8807
|
+
readonly label: string;
|
|
8808
|
+
readonly description?: string | undefined;
|
|
8809
|
+
readonly type: "boolean";
|
|
8810
|
+
readonly currentValue?: boolean | undefined;
|
|
8811
|
+
}> | undefined;
|
|
8812
|
+
} | null;
|
|
8813
|
+
readonly contextWindow?: number;
|
|
8814
|
+
readonly contextWindowSource?: "user" | "agent";
|
|
8815
|
+
}>;
|
|
8816
|
+
readonly supportsModelCatalogRefresh?: boolean;
|
|
8817
|
+
readonly modelCatalog?: {
|
|
8818
|
+
readonly state: "unknown" | "confirmed" | "stale" | "failed";
|
|
8819
|
+
readonly confirmedAt?: string;
|
|
8820
|
+
readonly lastFailure?: {
|
|
8821
|
+
readonly at: string;
|
|
8822
|
+
readonly reason: "timeout" | "not-installed" | "unauthenticated" | "error";
|
|
8823
|
+
readonly detail?: string;
|
|
8824
|
+
};
|
|
8825
|
+
};
|
|
8826
|
+
readonly modelCatalogAuthoritative?: boolean;
|
|
8827
|
+
readonly slashCommands: ReadonlyArray<{
|
|
8828
|
+
readonly name: string;
|
|
8829
|
+
readonly description?: string | undefined;
|
|
8830
|
+
readonly input?: {
|
|
8831
|
+
readonly hint: string;
|
|
8832
|
+
} | undefined;
|
|
8833
|
+
}>;
|
|
8834
|
+
readonly skills: ReadonlyArray<{
|
|
8835
|
+
readonly pluginId?: string | undefined;
|
|
8836
|
+
readonly name: string;
|
|
8837
|
+
readonly description?: string | undefined;
|
|
8838
|
+
readonly path: string;
|
|
8839
|
+
readonly scope?: string | undefined;
|
|
8840
|
+
readonly enabled: boolean;
|
|
8841
|
+
readonly displayName?: string | undefined;
|
|
8842
|
+
readonly shortDescription?: string | undefined;
|
|
8843
|
+
readonly userInvocationOnly?: boolean | undefined;
|
|
8844
|
+
readonly userInvocable?: boolean | undefined;
|
|
8845
|
+
}>;
|
|
8846
|
+
readonly nativeModes?: ReadonlyArray<{
|
|
8847
|
+
readonly id: string;
|
|
8848
|
+
readonly name: string;
|
|
8849
|
+
readonly description?: string | undefined;
|
|
8850
|
+
}>;
|
|
8851
|
+
readonly currentNativeModeId?: string;
|
|
8852
|
+
readonly nativeModeByRuntimeMode?: {
|
|
8853
|
+
readonly [x: string]: string;
|
|
8854
|
+
};
|
|
8855
|
+
readonly versionAdvisory?: {
|
|
8856
|
+
readonly status: "unknown" | "current" | "behind_latest";
|
|
8857
|
+
readonly currentVersion: string | null;
|
|
8858
|
+
readonly latestVersion: string | null;
|
|
8859
|
+
readonly updateCommand: string | null;
|
|
8860
|
+
readonly canUpdate: boolean;
|
|
8861
|
+
readonly checkedAt: string | null;
|
|
8862
|
+
readonly message: string | null;
|
|
8863
|
+
};
|
|
8864
|
+
readonly probeNotice?: {
|
|
8865
|
+
readonly messageKey: string;
|
|
8866
|
+
readonly params?: {
|
|
8867
|
+
readonly [x: string]: string;
|
|
8868
|
+
};
|
|
8869
|
+
};
|
|
8870
|
+
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
8871
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
8872
|
+
readonly supportsManagedRuntime?: boolean;
|
|
8873
|
+
readonly installCommand?: string;
|
|
8874
|
+
readonly installUrl?: string;
|
|
8875
|
+
readonly signIn?: ReadonlyArray<{
|
|
8876
|
+
readonly kind: "command";
|
|
8877
|
+
readonly command: string;
|
|
8878
|
+
} | {
|
|
8879
|
+
readonly kind: "environment";
|
|
8880
|
+
readonly variable: string;
|
|
8881
|
+
}>;
|
|
8882
|
+
readonly signInCommand?: string;
|
|
8883
|
+
readonly updateState?: {
|
|
8884
|
+
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
8885
|
+
readonly action?: "update" | "install" | "sign-in";
|
|
8886
|
+
readonly operationId?: string;
|
|
8887
|
+
readonly clientRequestId?: string;
|
|
8888
|
+
readonly startedAt: string | null;
|
|
8889
|
+
readonly finishedAt: string | null;
|
|
8890
|
+
readonly message: string | null;
|
|
8891
|
+
readonly output: string | null;
|
|
8892
|
+
readonly deviceCode?: {
|
|
8893
|
+
readonly operationId?: string;
|
|
8894
|
+
readonly userCode: string;
|
|
8895
|
+
readonly verificationUrl: string;
|
|
8896
|
+
};
|
|
8897
|
+
readonly browserSignIn?: {
|
|
8898
|
+
readonly operationId: string;
|
|
8899
|
+
readonly verificationUrl: string;
|
|
8900
|
+
};
|
|
8901
|
+
readonly authorizationCode?: {
|
|
8902
|
+
readonly operationId: string;
|
|
8903
|
+
readonly verificationUrl: string;
|
|
8904
|
+
readonly submitted?: boolean;
|
|
8905
|
+
};
|
|
8675
8906
|
};
|
|
8676
8907
|
}>;
|
|
8677
8908
|
};
|
|
8678
8909
|
export type ProvidersInstancesCancelMaintenanceInput = {
|
|
8679
8910
|
readonly provider: string;
|
|
8680
8911
|
readonly instanceId?: string;
|
|
8912
|
+
readonly clientRequestId?: string;
|
|
8681
8913
|
};
|
|
8682
8914
|
export type ProvidersInstancesCancelMaintenanceOutput = {
|
|
8683
8915
|
readonly providers: ReadonlyArray<{
|
|
@@ -8809,6 +9041,7 @@ export type ProvidersInstancesCancelMaintenanceOutput = {
|
|
|
8809
9041
|
};
|
|
8810
9042
|
};
|
|
8811
9043
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
9044
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
8812
9045
|
readonly supportsManagedRuntime?: boolean;
|
|
8813
9046
|
readonly installCommand?: string;
|
|
8814
9047
|
readonly installUrl?: string;
|
|
@@ -8823,14 +9056,26 @@ export type ProvidersInstancesCancelMaintenanceOutput = {
|
|
|
8823
9056
|
readonly updateState?: {
|
|
8824
9057
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
8825
9058
|
readonly action?: "update" | "install" | "sign-in";
|
|
9059
|
+
readonly operationId?: string;
|
|
9060
|
+
readonly clientRequestId?: string;
|
|
8826
9061
|
readonly startedAt: string | null;
|
|
8827
9062
|
readonly finishedAt: string | null;
|
|
8828
9063
|
readonly message: string | null;
|
|
8829
9064
|
readonly output: string | null;
|
|
8830
9065
|
readonly deviceCode?: {
|
|
9066
|
+
readonly operationId?: string;
|
|
8831
9067
|
readonly userCode: string;
|
|
8832
9068
|
readonly verificationUrl: string;
|
|
8833
9069
|
};
|
|
9070
|
+
readonly browserSignIn?: {
|
|
9071
|
+
readonly operationId: string;
|
|
9072
|
+
readonly verificationUrl: string;
|
|
9073
|
+
};
|
|
9074
|
+
readonly authorizationCode?: {
|
|
9075
|
+
readonly operationId: string;
|
|
9076
|
+
readonly verificationUrl: string;
|
|
9077
|
+
readonly submitted?: boolean;
|
|
9078
|
+
};
|
|
8834
9079
|
};
|
|
8835
9080
|
}>;
|
|
8836
9081
|
};
|
|
@@ -18439,6 +18684,7 @@ export type MachineSettingsProvidersGetEncodedOutput = {
|
|
|
18439
18684
|
};
|
|
18440
18685
|
};
|
|
18441
18686
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
18687
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
18442
18688
|
readonly supportsManagedRuntime?: boolean;
|
|
18443
18689
|
readonly installCommand?: string;
|
|
18444
18690
|
readonly installUrl?: string;
|
|
@@ -18453,14 +18699,26 @@ export type MachineSettingsProvidersGetEncodedOutput = {
|
|
|
18453
18699
|
readonly updateState?: {
|
|
18454
18700
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
18455
18701
|
readonly action?: "update" | "install" | "sign-in";
|
|
18702
|
+
readonly operationId?: string;
|
|
18703
|
+
readonly clientRequestId?: string;
|
|
18456
18704
|
readonly startedAt: string | null;
|
|
18457
18705
|
readonly finishedAt: string | null;
|
|
18458
18706
|
readonly message: string | null;
|
|
18459
18707
|
readonly output: string | null;
|
|
18460
18708
|
readonly deviceCode?: {
|
|
18709
|
+
readonly operationId?: string;
|
|
18461
18710
|
readonly userCode: string;
|
|
18462
18711
|
readonly verificationUrl: string;
|
|
18463
18712
|
};
|
|
18713
|
+
readonly browserSignIn?: {
|
|
18714
|
+
readonly operationId: string;
|
|
18715
|
+
readonly verificationUrl: string;
|
|
18716
|
+
};
|
|
18717
|
+
readonly authorizationCode?: {
|
|
18718
|
+
readonly operationId: string;
|
|
18719
|
+
readonly verificationUrl: string;
|
|
18720
|
+
readonly submitted?: boolean;
|
|
18721
|
+
};
|
|
18464
18722
|
};
|
|
18465
18723
|
}>;
|
|
18466
18724
|
};
|
|
@@ -18659,6 +18917,7 @@ export type MachineSettingsConfigGetEncodedOutput = {
|
|
|
18659
18917
|
readonly threadDirectoryIds?: boolean;
|
|
18660
18918
|
readonly threadMembers?: boolean;
|
|
18661
18919
|
readonly providerMaintenanceCancel?: boolean;
|
|
18920
|
+
readonly providerSignInSubmit?: boolean;
|
|
18662
18921
|
readonly repositoryIdentity?: boolean | undefined;
|
|
18663
18922
|
readonly connectionProbe?: boolean;
|
|
18664
18923
|
readonly reviewDiffFiles?: boolean;
|
|
@@ -20024,6 +20283,8 @@ export interface PluginDataPorts {
|
|
|
20024
20283
|
readonly update: (input: ProvidersInstancesUpdateInput) => Promise<ProvidersInstancesUpdateOutput>;
|
|
20025
20284
|
/** Data capability: providers.instances.signIn. Plugin admission: {"restricted":"operator-only"} */
|
|
20026
20285
|
readonly signIn: (input: ProvidersInstancesSignInInput) => Promise<ProvidersInstancesSignInOutput>;
|
|
20286
|
+
/** Data capability: providers.instances.submitSignIn. Plugin admission: {"restricted":"operator-only"} */
|
|
20287
|
+
readonly submitSignIn: (input: ProvidersInstancesSubmitSignInInput) => Promise<ProvidersInstancesSubmitSignInOutput>;
|
|
20027
20288
|
/** Data capability: providers.instances.cancelMaintenance. Plugin admission: {"restricted":"operator-only"} */
|
|
20028
20289
|
readonly cancelMaintenance: (input: ProvidersInstancesCancelMaintenanceInput) => Promise<ProvidersInstancesCancelMaintenanceOutput>;
|
|
20029
20290
|
};
|