@ycodium-ai/plugin-api 0.2.6054 → 0.2.6114
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 +7 -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 +367 -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 +19 -15
- 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 +5 -5
package/README.md
CHANGED
|
@@ -670,7 +670,13 @@ 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 **198**. This Ycodium loads plugins declaring 193 through 198.
|
|
674
|
+
|
|
675
|
+
API 198 adds optional `confirmedSequence` and `origin` on `PluginThreadMessage` (`ctx.projections.getThreadMessage` / `ctx.threads.messages.get`), exposing the persistent event sequence of initial confirmation (`null` when not governed by a turn intent) and the host-recorded turn-intent origin so event reactors can deduplicate confirmations and suppress inbound echoes across restarts.
|
|
676
|
+
|
|
677
|
+
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.
|
|
678
|
+
|
|
679
|
+
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
680
|
|
|
675
681
|
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
682
|
|
|
@@ -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
|
@@ -4646,6 +4646,59 @@ export type ThreadsMessagesGetOutput = {
|
|
|
4646
4646
|
readonly text: string;
|
|
4647
4647
|
readonly turnId: string | null;
|
|
4648
4648
|
readonly createdAt: string;
|
|
4649
|
+
readonly confirmedSequence?: number | null | undefined;
|
|
4650
|
+
readonly origin?: {
|
|
4651
|
+
readonly kind: "user";
|
|
4652
|
+
} | {
|
|
4653
|
+
readonly kind: "schedule";
|
|
4654
|
+
readonly scheduleId: string;
|
|
4655
|
+
readonly name: string;
|
|
4656
|
+
readonly pluginId?: string;
|
|
4657
|
+
readonly entryId?: string;
|
|
4658
|
+
} | {
|
|
4659
|
+
readonly kind: "scheduled-wake";
|
|
4660
|
+
readonly wakeId: string;
|
|
4661
|
+
readonly dueAt: string;
|
|
4662
|
+
readonly note: string;
|
|
4663
|
+
} | {
|
|
4664
|
+
readonly kind: "record";
|
|
4665
|
+
readonly recordId: string;
|
|
4666
|
+
} | {
|
|
4667
|
+
readonly kind: "session";
|
|
4668
|
+
readonly threadId: string;
|
|
4669
|
+
readonly turnId?: string | undefined;
|
|
4670
|
+
} | {
|
|
4671
|
+
readonly kind: "reply";
|
|
4672
|
+
readonly recordId: string;
|
|
4673
|
+
} | {
|
|
4674
|
+
readonly kind: "child-report";
|
|
4675
|
+
readonly childThreadId: string;
|
|
4676
|
+
readonly outcome: "settled" | "failed" | null;
|
|
4677
|
+
} | {
|
|
4678
|
+
readonly kind: "plugin-wake";
|
|
4679
|
+
readonly pluginId: string;
|
|
4680
|
+
readonly continuation?: TurnIntentContinuation;
|
|
4681
|
+
} | {
|
|
4682
|
+
readonly kind: "board-dispatch";
|
|
4683
|
+
readonly workItemId: string;
|
|
4684
|
+
} | {
|
|
4685
|
+
readonly kind: "person";
|
|
4686
|
+
readonly pluginId: string;
|
|
4687
|
+
readonly displayName: string;
|
|
4688
|
+
} | {
|
|
4689
|
+
readonly kind: "plugin-notice";
|
|
4690
|
+
readonly title: string;
|
|
4691
|
+
readonly pluginId?: string | undefined;
|
|
4692
|
+
} | {
|
|
4693
|
+
readonly kind: "home-machine";
|
|
4694
|
+
} | {
|
|
4695
|
+
readonly kind: "restart-resume";
|
|
4696
|
+
} | {
|
|
4697
|
+
readonly kind: "remote-post";
|
|
4698
|
+
readonly postId: string;
|
|
4699
|
+
readonly authorKind: "human" | "agent";
|
|
4700
|
+
readonly authorName?: string;
|
|
4701
|
+
} | undefined;
|
|
4649
4702
|
readonly modelSelection?: {
|
|
4650
4703
|
readonly instanceId: string;
|
|
4651
4704
|
readonly model: string;
|
|
@@ -6586,6 +6639,7 @@ export type MachineSettingsProvidersGetOutput = {
|
|
|
6586
6639
|
};
|
|
6587
6640
|
};
|
|
6588
6641
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
6642
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
6589
6643
|
readonly supportsManagedRuntime?: boolean;
|
|
6590
6644
|
readonly installCommand?: string;
|
|
6591
6645
|
readonly installUrl?: string;
|
|
@@ -6600,14 +6654,26 @@ export type MachineSettingsProvidersGetOutput = {
|
|
|
6600
6654
|
readonly updateState?: {
|
|
6601
6655
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
6602
6656
|
readonly action?: "update" | "install" | "sign-in";
|
|
6657
|
+
readonly operationId?: string;
|
|
6658
|
+
readonly clientRequestId?: string;
|
|
6603
6659
|
readonly startedAt: string | null;
|
|
6604
6660
|
readonly finishedAt: string | null;
|
|
6605
6661
|
readonly message: string | null;
|
|
6606
6662
|
readonly output: string | null;
|
|
6607
6663
|
readonly deviceCode?: {
|
|
6664
|
+
readonly operationId?: string;
|
|
6608
6665
|
readonly userCode: string;
|
|
6609
6666
|
readonly verificationUrl: string;
|
|
6610
6667
|
};
|
|
6668
|
+
readonly browserSignIn?: {
|
|
6669
|
+
readonly operationId: string;
|
|
6670
|
+
readonly verificationUrl: string;
|
|
6671
|
+
};
|
|
6672
|
+
readonly authorizationCode?: {
|
|
6673
|
+
readonly operationId: string;
|
|
6674
|
+
readonly verificationUrl: string;
|
|
6675
|
+
readonly submitted?: boolean;
|
|
6676
|
+
};
|
|
6611
6677
|
};
|
|
6612
6678
|
}>;
|
|
6613
6679
|
};
|
|
@@ -7335,6 +7401,7 @@ export type MachineSettingsConfigGetOutput = {
|
|
|
7335
7401
|
readonly threadDirectoryIds?: boolean;
|
|
7336
7402
|
readonly threadMembers?: boolean;
|
|
7337
7403
|
readonly providerMaintenanceCancel?: boolean;
|
|
7404
|
+
readonly providerSignInSubmit?: boolean;
|
|
7338
7405
|
readonly repositoryIdentity: boolean;
|
|
7339
7406
|
readonly connectionProbe?: boolean;
|
|
7340
7407
|
readonly reviewDiffFiles?: boolean;
|
|
@@ -7994,6 +8061,7 @@ export type ProvidersExecutorsListOutput = {
|
|
|
7994
8061
|
readonly kind: "api-key";
|
|
7995
8062
|
readonly variable: string;
|
|
7996
8063
|
}>;
|
|
8064
|
+
readonly signInInteraction?: "device-code" | "authorization-code" | "browser" | undefined;
|
|
7997
8065
|
readonly deviceCodeSignInArgs: ReadonlyArray<string>;
|
|
7998
8066
|
readonly npmPackage: string;
|
|
7999
8067
|
readonly homebrewFormula: string;
|
|
@@ -8201,6 +8269,7 @@ export type ProvidersInstancesRefreshOutput = {
|
|
|
8201
8269
|
export type ProvidersInstancesInstallInput = {
|
|
8202
8270
|
readonly provider: string;
|
|
8203
8271
|
readonly instanceId?: string;
|
|
8272
|
+
readonly clientRequestId?: string;
|
|
8204
8273
|
};
|
|
8205
8274
|
export type ProvidersInstancesInstallOutput = {
|
|
8206
8275
|
readonly providers: ReadonlyArray<{
|
|
@@ -8332,6 +8401,7 @@ export type ProvidersInstancesInstallOutput = {
|
|
|
8332
8401
|
};
|
|
8333
8402
|
};
|
|
8334
8403
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
8404
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
8335
8405
|
readonly supportsManagedRuntime?: boolean;
|
|
8336
8406
|
readonly installCommand?: string;
|
|
8337
8407
|
readonly installUrl?: string;
|
|
@@ -8346,20 +8416,33 @@ export type ProvidersInstancesInstallOutput = {
|
|
|
8346
8416
|
readonly updateState?: {
|
|
8347
8417
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
8348
8418
|
readonly action?: "update" | "install" | "sign-in";
|
|
8419
|
+
readonly operationId?: string;
|
|
8420
|
+
readonly clientRequestId?: string;
|
|
8349
8421
|
readonly startedAt: string | null;
|
|
8350
8422
|
readonly finishedAt: string | null;
|
|
8351
8423
|
readonly message: string | null;
|
|
8352
8424
|
readonly output: string | null;
|
|
8353
8425
|
readonly deviceCode?: {
|
|
8426
|
+
readonly operationId?: string;
|
|
8354
8427
|
readonly userCode: string;
|
|
8355
8428
|
readonly verificationUrl: string;
|
|
8356
8429
|
};
|
|
8430
|
+
readonly browserSignIn?: {
|
|
8431
|
+
readonly operationId: string;
|
|
8432
|
+
readonly verificationUrl: string;
|
|
8433
|
+
};
|
|
8434
|
+
readonly authorizationCode?: {
|
|
8435
|
+
readonly operationId: string;
|
|
8436
|
+
readonly verificationUrl: string;
|
|
8437
|
+
readonly submitted?: boolean;
|
|
8438
|
+
};
|
|
8357
8439
|
};
|
|
8358
8440
|
}>;
|
|
8359
8441
|
};
|
|
8360
8442
|
export type ProvidersInstancesUpdateInput = {
|
|
8361
8443
|
readonly provider: string;
|
|
8362
8444
|
readonly instanceId?: string;
|
|
8445
|
+
readonly clientRequestId?: string;
|
|
8363
8446
|
};
|
|
8364
8447
|
export type ProvidersInstancesUpdateOutput = {
|
|
8365
8448
|
readonly providers: ReadonlyArray<{
|
|
@@ -8491,6 +8574,7 @@ export type ProvidersInstancesUpdateOutput = {
|
|
|
8491
8574
|
};
|
|
8492
8575
|
};
|
|
8493
8576
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
8577
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
8494
8578
|
readonly supportsManagedRuntime?: boolean;
|
|
8495
8579
|
readonly installCommand?: string;
|
|
8496
8580
|
readonly installUrl?: string;
|
|
@@ -8505,20 +8589,33 @@ export type ProvidersInstancesUpdateOutput = {
|
|
|
8505
8589
|
readonly updateState?: {
|
|
8506
8590
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
8507
8591
|
readonly action?: "update" | "install" | "sign-in";
|
|
8592
|
+
readonly operationId?: string;
|
|
8593
|
+
readonly clientRequestId?: string;
|
|
8508
8594
|
readonly startedAt: string | null;
|
|
8509
8595
|
readonly finishedAt: string | null;
|
|
8510
8596
|
readonly message: string | null;
|
|
8511
8597
|
readonly output: string | null;
|
|
8512
8598
|
readonly deviceCode?: {
|
|
8599
|
+
readonly operationId?: string;
|
|
8513
8600
|
readonly userCode: string;
|
|
8514
8601
|
readonly verificationUrl: string;
|
|
8515
8602
|
};
|
|
8603
|
+
readonly browserSignIn?: {
|
|
8604
|
+
readonly operationId: string;
|
|
8605
|
+
readonly verificationUrl: string;
|
|
8606
|
+
};
|
|
8607
|
+
readonly authorizationCode?: {
|
|
8608
|
+
readonly operationId: string;
|
|
8609
|
+
readonly verificationUrl: string;
|
|
8610
|
+
readonly submitted?: boolean;
|
|
8611
|
+
};
|
|
8516
8612
|
};
|
|
8517
8613
|
}>;
|
|
8518
8614
|
};
|
|
8519
8615
|
export type ProvidersInstancesSignInInput = {
|
|
8520
8616
|
readonly provider: string;
|
|
8521
8617
|
readonly instanceId?: string;
|
|
8618
|
+
readonly clientRequestId?: string;
|
|
8522
8619
|
};
|
|
8523
8620
|
export type ProvidersInstancesSignInOutput = {
|
|
8524
8621
|
readonly providers: ReadonlyArray<{
|
|
@@ -8650,6 +8747,7 @@ export type ProvidersInstancesSignInOutput = {
|
|
|
8650
8747
|
};
|
|
8651
8748
|
};
|
|
8652
8749
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
8750
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
8653
8751
|
readonly supportsManagedRuntime?: boolean;
|
|
8654
8752
|
readonly installCommand?: string;
|
|
8655
8753
|
readonly installUrl?: string;
|
|
@@ -8664,20 +8762,207 @@ export type ProvidersInstancesSignInOutput = {
|
|
|
8664
8762
|
readonly updateState?: {
|
|
8665
8763
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
8666
8764
|
readonly action?: "update" | "install" | "sign-in";
|
|
8765
|
+
readonly operationId?: string;
|
|
8766
|
+
readonly clientRequestId?: string;
|
|
8667
8767
|
readonly startedAt: string | null;
|
|
8668
8768
|
readonly finishedAt: string | null;
|
|
8669
8769
|
readonly message: string | null;
|
|
8670
8770
|
readonly output: string | null;
|
|
8671
8771
|
readonly deviceCode?: {
|
|
8772
|
+
readonly operationId?: string;
|
|
8672
8773
|
readonly userCode: string;
|
|
8673
8774
|
readonly verificationUrl: string;
|
|
8674
8775
|
};
|
|
8776
|
+
readonly browserSignIn?: {
|
|
8777
|
+
readonly operationId: string;
|
|
8778
|
+
readonly verificationUrl: string;
|
|
8779
|
+
};
|
|
8780
|
+
readonly authorizationCode?: {
|
|
8781
|
+
readonly operationId: string;
|
|
8782
|
+
readonly verificationUrl: string;
|
|
8783
|
+
readonly submitted?: boolean;
|
|
8784
|
+
};
|
|
8785
|
+
};
|
|
8786
|
+
}>;
|
|
8787
|
+
};
|
|
8788
|
+
export type ProvidersInstancesSubmitSignInInput = {
|
|
8789
|
+
readonly provider: string;
|
|
8790
|
+
readonly instanceId?: string;
|
|
8791
|
+
readonly operationId: string;
|
|
8792
|
+
readonly code: string;
|
|
8793
|
+
};
|
|
8794
|
+
export type ProvidersInstancesSubmitSignInOutput = {
|
|
8795
|
+
readonly providers: ReadonlyArray<{
|
|
8796
|
+
readonly instanceId: string;
|
|
8797
|
+
readonly driver: string;
|
|
8798
|
+
readonly displayName?: string | undefined;
|
|
8799
|
+
readonly accentColor?: string | undefined;
|
|
8800
|
+
readonly continuation?: {
|
|
8801
|
+
readonly groupKey: string;
|
|
8802
|
+
} | undefined;
|
|
8803
|
+
readonly showInteractionModeToggle?: boolean | undefined;
|
|
8804
|
+
readonly requiresNewThreadForModelChange?: boolean | undefined;
|
|
8805
|
+
readonly supportsContextCompaction?: boolean | undefined;
|
|
8806
|
+
readonly supportsTextGeneration?: boolean | undefined;
|
|
8807
|
+
readonly supportsNativeModeSwitch?: boolean | undefined;
|
|
8808
|
+
readonly maxProcesses?: number;
|
|
8809
|
+
readonly supportsTurnSteering?: boolean | undefined;
|
|
8810
|
+
readonly runtimeModeSwitch?: "in-session" | "next-turn";
|
|
8811
|
+
readonly reportsSpawnedAgents?: boolean;
|
|
8812
|
+
readonly blocksHostMcpWritesInAuto?: boolean;
|
|
8813
|
+
readonly modelSlugAliases?: {
|
|
8814
|
+
readonly [x: string]: string;
|
|
8815
|
+
};
|
|
8816
|
+
readonly enabled: boolean;
|
|
8817
|
+
readonly installed: boolean;
|
|
8818
|
+
readonly version: string | null;
|
|
8819
|
+
readonly readiness: {
|
|
8820
|
+
readonly state: "ready" | "unchecked" | "checking" | "disabled" | "not-installed" | "unauthenticated" | "error";
|
|
8821
|
+
readonly detail?: string | undefined;
|
|
8822
|
+
readonly tooOld?: {
|
|
8823
|
+
readonly minimumVersion: string;
|
|
8824
|
+
} | undefined;
|
|
8825
|
+
readonly recovery?: ProviderProbeRecovery;
|
|
8826
|
+
};
|
|
8827
|
+
readonly auth: {
|
|
8828
|
+
readonly status: "authenticated" | "unauthenticated" | "unknown";
|
|
8829
|
+
readonly type?: string | undefined;
|
|
8830
|
+
readonly label?: string | undefined;
|
|
8831
|
+
readonly email?: string | undefined;
|
|
8832
|
+
};
|
|
8833
|
+
readonly checkedAt: string;
|
|
8834
|
+
readonly configDigest?: string;
|
|
8835
|
+
readonly models: ReadonlyArray<{
|
|
8836
|
+
readonly slug: string;
|
|
8837
|
+
readonly name: string;
|
|
8838
|
+
readonly shortName?: string | undefined;
|
|
8839
|
+
readonly subProvider?: string | undefined;
|
|
8840
|
+
readonly isCustom: boolean;
|
|
8841
|
+
readonly isDefault?: boolean | undefined;
|
|
8842
|
+
readonly hidden?: boolean | undefined;
|
|
8843
|
+
readonly origin?: "probe" | "custom" | "card";
|
|
8844
|
+
readonly capabilities: {
|
|
8845
|
+
readonly optionDescriptors?: ReadonlyArray<{
|
|
8846
|
+
readonly id: string;
|
|
8847
|
+
readonly label: string;
|
|
8848
|
+
readonly description?: string | undefined;
|
|
8849
|
+
readonly type: "select";
|
|
8850
|
+
readonly options: ReadonlyArray<{
|
|
8851
|
+
readonly id: string;
|
|
8852
|
+
readonly label: string;
|
|
8853
|
+
readonly description?: string | undefined;
|
|
8854
|
+
readonly isDefault?: boolean | undefined;
|
|
8855
|
+
}>;
|
|
8856
|
+
readonly currentValue?: string | undefined;
|
|
8857
|
+
readonly promptInjectedValues?: ReadonlyArray<string> | undefined;
|
|
8858
|
+
} | {
|
|
8859
|
+
readonly id: string;
|
|
8860
|
+
readonly label: string;
|
|
8861
|
+
readonly description?: string | undefined;
|
|
8862
|
+
readonly type: "boolean";
|
|
8863
|
+
readonly currentValue?: boolean | undefined;
|
|
8864
|
+
}> | undefined;
|
|
8865
|
+
} | null;
|
|
8866
|
+
readonly contextWindow?: number;
|
|
8867
|
+
readonly contextWindowSource?: "user" | "agent";
|
|
8868
|
+
}>;
|
|
8869
|
+
readonly supportsModelCatalogRefresh?: boolean;
|
|
8870
|
+
readonly modelCatalog?: {
|
|
8871
|
+
readonly state: "unknown" | "confirmed" | "stale" | "failed";
|
|
8872
|
+
readonly confirmedAt?: string;
|
|
8873
|
+
readonly lastFailure?: {
|
|
8874
|
+
readonly at: string;
|
|
8875
|
+
readonly reason: "timeout" | "not-installed" | "unauthenticated" | "error";
|
|
8876
|
+
readonly detail?: string;
|
|
8877
|
+
};
|
|
8878
|
+
};
|
|
8879
|
+
readonly modelCatalogAuthoritative?: boolean;
|
|
8880
|
+
readonly slashCommands: ReadonlyArray<{
|
|
8881
|
+
readonly name: string;
|
|
8882
|
+
readonly description?: string | undefined;
|
|
8883
|
+
readonly input?: {
|
|
8884
|
+
readonly hint: string;
|
|
8885
|
+
} | undefined;
|
|
8886
|
+
}>;
|
|
8887
|
+
readonly skills: ReadonlyArray<{
|
|
8888
|
+
readonly pluginId?: string | undefined;
|
|
8889
|
+
readonly name: string;
|
|
8890
|
+
readonly description?: string | undefined;
|
|
8891
|
+
readonly path: string;
|
|
8892
|
+
readonly scope?: string | undefined;
|
|
8893
|
+
readonly enabled: boolean;
|
|
8894
|
+
readonly displayName?: string | undefined;
|
|
8895
|
+
readonly shortDescription?: string | undefined;
|
|
8896
|
+
readonly userInvocationOnly?: boolean | undefined;
|
|
8897
|
+
readonly userInvocable?: boolean | undefined;
|
|
8898
|
+
}>;
|
|
8899
|
+
readonly nativeModes?: ReadonlyArray<{
|
|
8900
|
+
readonly id: string;
|
|
8901
|
+
readonly name: string;
|
|
8902
|
+
readonly description?: string | undefined;
|
|
8903
|
+
}>;
|
|
8904
|
+
readonly currentNativeModeId?: string;
|
|
8905
|
+
readonly nativeModeByRuntimeMode?: {
|
|
8906
|
+
readonly [x: string]: string;
|
|
8907
|
+
};
|
|
8908
|
+
readonly versionAdvisory?: {
|
|
8909
|
+
readonly status: "unknown" | "current" | "behind_latest";
|
|
8910
|
+
readonly currentVersion: string | null;
|
|
8911
|
+
readonly latestVersion: string | null;
|
|
8912
|
+
readonly updateCommand: string | null;
|
|
8913
|
+
readonly canUpdate: boolean;
|
|
8914
|
+
readonly checkedAt: string | null;
|
|
8915
|
+
readonly message: string | null;
|
|
8916
|
+
};
|
|
8917
|
+
readonly probeNotice?: {
|
|
8918
|
+
readonly messageKey: string;
|
|
8919
|
+
readonly params?: {
|
|
8920
|
+
readonly [x: string]: string;
|
|
8921
|
+
};
|
|
8922
|
+
};
|
|
8923
|
+
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
8924
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
8925
|
+
readonly supportsManagedRuntime?: boolean;
|
|
8926
|
+
readonly installCommand?: string;
|
|
8927
|
+
readonly installUrl?: string;
|
|
8928
|
+
readonly signIn?: ReadonlyArray<{
|
|
8929
|
+
readonly kind: "command";
|
|
8930
|
+
readonly command: string;
|
|
8931
|
+
} | {
|
|
8932
|
+
readonly kind: "environment";
|
|
8933
|
+
readonly variable: string;
|
|
8934
|
+
}>;
|
|
8935
|
+
readonly signInCommand?: string;
|
|
8936
|
+
readonly updateState?: {
|
|
8937
|
+
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
8938
|
+
readonly action?: "update" | "install" | "sign-in";
|
|
8939
|
+
readonly operationId?: string;
|
|
8940
|
+
readonly clientRequestId?: string;
|
|
8941
|
+
readonly startedAt: string | null;
|
|
8942
|
+
readonly finishedAt: string | null;
|
|
8943
|
+
readonly message: string | null;
|
|
8944
|
+
readonly output: string | null;
|
|
8945
|
+
readonly deviceCode?: {
|
|
8946
|
+
readonly operationId?: string;
|
|
8947
|
+
readonly userCode: string;
|
|
8948
|
+
readonly verificationUrl: string;
|
|
8949
|
+
};
|
|
8950
|
+
readonly browserSignIn?: {
|
|
8951
|
+
readonly operationId: string;
|
|
8952
|
+
readonly verificationUrl: string;
|
|
8953
|
+
};
|
|
8954
|
+
readonly authorizationCode?: {
|
|
8955
|
+
readonly operationId: string;
|
|
8956
|
+
readonly verificationUrl: string;
|
|
8957
|
+
readonly submitted?: boolean;
|
|
8958
|
+
};
|
|
8675
8959
|
};
|
|
8676
8960
|
}>;
|
|
8677
8961
|
};
|
|
8678
8962
|
export type ProvidersInstancesCancelMaintenanceInput = {
|
|
8679
8963
|
readonly provider: string;
|
|
8680
8964
|
readonly instanceId?: string;
|
|
8965
|
+
readonly clientRequestId?: string;
|
|
8681
8966
|
};
|
|
8682
8967
|
export type ProvidersInstancesCancelMaintenanceOutput = {
|
|
8683
8968
|
readonly providers: ReadonlyArray<{
|
|
@@ -8809,6 +9094,7 @@ export type ProvidersInstancesCancelMaintenanceOutput = {
|
|
|
8809
9094
|
};
|
|
8810
9095
|
};
|
|
8811
9096
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
9097
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
8812
9098
|
readonly supportsManagedRuntime?: boolean;
|
|
8813
9099
|
readonly installCommand?: string;
|
|
8814
9100
|
readonly installUrl?: string;
|
|
@@ -8823,14 +9109,26 @@ export type ProvidersInstancesCancelMaintenanceOutput = {
|
|
|
8823
9109
|
readonly updateState?: {
|
|
8824
9110
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
8825
9111
|
readonly action?: "update" | "install" | "sign-in";
|
|
9112
|
+
readonly operationId?: string;
|
|
9113
|
+
readonly clientRequestId?: string;
|
|
8826
9114
|
readonly startedAt: string | null;
|
|
8827
9115
|
readonly finishedAt: string | null;
|
|
8828
9116
|
readonly message: string | null;
|
|
8829
9117
|
readonly output: string | null;
|
|
8830
9118
|
readonly deviceCode?: {
|
|
9119
|
+
readonly operationId?: string;
|
|
8831
9120
|
readonly userCode: string;
|
|
8832
9121
|
readonly verificationUrl: string;
|
|
8833
9122
|
};
|
|
9123
|
+
readonly browserSignIn?: {
|
|
9124
|
+
readonly operationId: string;
|
|
9125
|
+
readonly verificationUrl: string;
|
|
9126
|
+
};
|
|
9127
|
+
readonly authorizationCode?: {
|
|
9128
|
+
readonly operationId: string;
|
|
9129
|
+
readonly verificationUrl: string;
|
|
9130
|
+
readonly submitted?: boolean;
|
|
9131
|
+
};
|
|
8834
9132
|
};
|
|
8835
9133
|
}>;
|
|
8836
9134
|
};
|
|
@@ -17810,6 +18108,59 @@ export type ThreadsMessagesGetEncodedOutput = {
|
|
|
17810
18108
|
readonly text: string;
|
|
17811
18109
|
readonly turnId: string | null;
|
|
17812
18110
|
readonly createdAt: string;
|
|
18111
|
+
readonly confirmedSequence?: number | null | undefined;
|
|
18112
|
+
readonly origin?: {
|
|
18113
|
+
readonly kind: "user";
|
|
18114
|
+
} | {
|
|
18115
|
+
readonly kind: "schedule";
|
|
18116
|
+
readonly scheduleId: string;
|
|
18117
|
+
readonly name: string;
|
|
18118
|
+
readonly pluginId?: string;
|
|
18119
|
+
readonly entryId?: string;
|
|
18120
|
+
} | {
|
|
18121
|
+
readonly kind: "scheduled-wake";
|
|
18122
|
+
readonly wakeId: string;
|
|
18123
|
+
readonly dueAt: string;
|
|
18124
|
+
readonly note: string;
|
|
18125
|
+
} | {
|
|
18126
|
+
readonly kind: "record";
|
|
18127
|
+
readonly recordId: string;
|
|
18128
|
+
} | {
|
|
18129
|
+
readonly kind: "session";
|
|
18130
|
+
readonly threadId: string;
|
|
18131
|
+
readonly turnId?: string | undefined;
|
|
18132
|
+
} | {
|
|
18133
|
+
readonly kind: "reply";
|
|
18134
|
+
readonly recordId: string;
|
|
18135
|
+
} | {
|
|
18136
|
+
readonly kind: "child-report";
|
|
18137
|
+
readonly childThreadId: string;
|
|
18138
|
+
readonly outcome: "settled" | "failed" | null;
|
|
18139
|
+
} | {
|
|
18140
|
+
readonly kind: "plugin-wake";
|
|
18141
|
+
readonly pluginId: string;
|
|
18142
|
+
readonly continuation?: TurnIntentContinuation_1;
|
|
18143
|
+
} | {
|
|
18144
|
+
readonly kind: "board-dispatch";
|
|
18145
|
+
readonly workItemId: string;
|
|
18146
|
+
} | {
|
|
18147
|
+
readonly kind: "person";
|
|
18148
|
+
readonly pluginId: string;
|
|
18149
|
+
readonly displayName: string;
|
|
18150
|
+
} | {
|
|
18151
|
+
readonly kind: "plugin-notice";
|
|
18152
|
+
readonly title: string;
|
|
18153
|
+
readonly pluginId?: string | undefined;
|
|
18154
|
+
} | {
|
|
18155
|
+
readonly kind: "home-machine";
|
|
18156
|
+
} | {
|
|
18157
|
+
readonly kind: "restart-resume";
|
|
18158
|
+
} | {
|
|
18159
|
+
readonly kind: "remote-post";
|
|
18160
|
+
readonly postId: string;
|
|
18161
|
+
readonly authorKind: "human" | "agent";
|
|
18162
|
+
readonly authorName?: string;
|
|
18163
|
+
} | undefined;
|
|
17813
18164
|
readonly modelSelection?: {
|
|
17814
18165
|
readonly provider?: unknown | undefined;
|
|
17815
18166
|
readonly instanceId?: unknown | undefined;
|
|
@@ -18439,6 +18790,7 @@ export type MachineSettingsProvidersGetEncodedOutput = {
|
|
|
18439
18790
|
};
|
|
18440
18791
|
};
|
|
18441
18792
|
readonly supportsAuthorizationCodeSignIn?: boolean;
|
|
18793
|
+
readonly signInMode?: "device-code" | "authorization-code" | "command";
|
|
18442
18794
|
readonly supportsManagedRuntime?: boolean;
|
|
18443
18795
|
readonly installCommand?: string;
|
|
18444
18796
|
readonly installUrl?: string;
|
|
@@ -18453,14 +18805,26 @@ export type MachineSettingsProvidersGetEncodedOutput = {
|
|
|
18453
18805
|
readonly updateState?: {
|
|
18454
18806
|
readonly status: "idle" | "queued" | "running" | "succeeded" | "failed" | "unchanged" | "cancelled";
|
|
18455
18807
|
readonly action?: "update" | "install" | "sign-in";
|
|
18808
|
+
readonly operationId?: string;
|
|
18809
|
+
readonly clientRequestId?: string;
|
|
18456
18810
|
readonly startedAt: string | null;
|
|
18457
18811
|
readonly finishedAt: string | null;
|
|
18458
18812
|
readonly message: string | null;
|
|
18459
18813
|
readonly output: string | null;
|
|
18460
18814
|
readonly deviceCode?: {
|
|
18815
|
+
readonly operationId?: string;
|
|
18461
18816
|
readonly userCode: string;
|
|
18462
18817
|
readonly verificationUrl: string;
|
|
18463
18818
|
};
|
|
18819
|
+
readonly browserSignIn?: {
|
|
18820
|
+
readonly operationId: string;
|
|
18821
|
+
readonly verificationUrl: string;
|
|
18822
|
+
};
|
|
18823
|
+
readonly authorizationCode?: {
|
|
18824
|
+
readonly operationId: string;
|
|
18825
|
+
readonly verificationUrl: string;
|
|
18826
|
+
readonly submitted?: boolean;
|
|
18827
|
+
};
|
|
18464
18828
|
};
|
|
18465
18829
|
}>;
|
|
18466
18830
|
};
|
|
@@ -18659,6 +19023,7 @@ export type MachineSettingsConfigGetEncodedOutput = {
|
|
|
18659
19023
|
readonly threadDirectoryIds?: boolean;
|
|
18660
19024
|
readonly threadMembers?: boolean;
|
|
18661
19025
|
readonly providerMaintenanceCancel?: boolean;
|
|
19026
|
+
readonly providerSignInSubmit?: boolean;
|
|
18662
19027
|
readonly repositoryIdentity?: boolean | undefined;
|
|
18663
19028
|
readonly connectionProbe?: boolean;
|
|
18664
19029
|
readonly reviewDiffFiles?: boolean;
|
|
@@ -20024,6 +20389,8 @@ export interface PluginDataPorts {
|
|
|
20024
20389
|
readonly update: (input: ProvidersInstancesUpdateInput) => Promise<ProvidersInstancesUpdateOutput>;
|
|
20025
20390
|
/** Data capability: providers.instances.signIn. Plugin admission: {"restricted":"operator-only"} */
|
|
20026
20391
|
readonly signIn: (input: ProvidersInstancesSignInInput) => Promise<ProvidersInstancesSignInOutput>;
|
|
20392
|
+
/** Data capability: providers.instances.submitSignIn. Plugin admission: {"restricted":"operator-only"} */
|
|
20393
|
+
readonly submitSignIn: (input: ProvidersInstancesSubmitSignInInput) => Promise<ProvidersInstancesSubmitSignInOutput>;
|
|
20027
20394
|
/** Data capability: providers.instances.cancelMaintenance. Plugin admission: {"restricted":"operator-only"} */
|
|
20028
20395
|
readonly cancelMaintenance: (input: ProvidersInstancesCancelMaintenanceInput) => Promise<ProvidersInstancesCancelMaintenanceOutput>;
|
|
20029
20396
|
};
|