@ai-matrx/desktop-protocol 0.21.73 → 0.21.75
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/CHANGELOG.md +37 -0
- package/dist/{chunk-server-MK77KDKS.js → chunk-server-FBLTGJJA.js} +141 -5
- package/dist/chunk-server-FBLTGJJA.js.map +1 -0
- package/dist/client.cjs +104 -3
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +1 -1
- package/dist/index.cjs +141 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +210 -6
- package/dist/index.d.ts +210 -6
- package/dist/index.js +34 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-ClCrYsEt.d.cts → models-GpUhHLRw.d.cts} +425 -2
- package/dist/{models-ClCrYsEt.d.ts → models-GpUhHLRw.d.ts} +425 -2
- package/dist/react.d.cts +111 -0
- package/dist/react.d.ts +111 -0
- package/generated/desktop-protocol.schema.json +541 -2
- package/package.json +2 -2
- package/dist/chunk-server-MK77KDKS.js.map +0 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackoffOptions } from '@ai-matrx/data/realtime';
|
|
2
2
|
export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/data/realtime';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-
|
|
5
|
-
export { i as isDesktopProtocolError } from './models-
|
|
4
|
+
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-GpUhHLRw.cjs';
|
|
5
|
+
export { i as isDesktopProtocolError } from './models-GpUhHLRw.cjs';
|
|
6
6
|
import { FrameHeader } from './frame.cjs';
|
|
7
7
|
|
|
8
8
|
/** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
|
package/dist/client.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BackoffOptions } from '@ai-matrx/data/realtime';
|
|
2
2
|
export { RECONNECT_ALARM_ATTEMPTS } from '@ai-matrx/data/realtime';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-
|
|
5
|
-
export { i as isDesktopProtocolError } from './models-
|
|
4
|
+
import { W as Welcome, D as DesktopProtocolError, C as CloseOutcome, O as OpName, a as OpParams, b as OpResult, c as OPS, S as StreamMeta, E as EndReason, d as EVENTS, e as ClientType, M as ModelsTranscribeResult, T as TranscriptionModelId, f as MlProgress } from './models-GpUhHLRw.js';
|
|
5
|
+
export { i as isDesktopProtocolError } from './models-GpUhHLRw.js';
|
|
6
6
|
import { FrameHeader } from './frame.js';
|
|
7
7
|
|
|
8
8
|
/** The subset of the WHATWG WebSocket the client uses — browser, React Native, `ws` and Workers all fit. */
|
package/dist/client.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -43,6 +43,8 @@ __export(src_exports, {
|
|
|
43
43
|
AccountAgentsVersionsParams: () => AccountAgentsVersionsParams,
|
|
44
44
|
AccountAgentsVersionsResult: () => AccountAgentsVersionsResult,
|
|
45
45
|
AccountGap: () => AccountGap,
|
|
46
|
+
AccountProfile: () => AccountProfile,
|
|
47
|
+
AccountReadSource: () => AccountReadSource,
|
|
46
48
|
AccountReadState: () => AccountReadState,
|
|
47
49
|
AccountReset: () => AccountReset,
|
|
48
50
|
AccountResetSource: () => AccountResetSource,
|
|
@@ -61,6 +63,7 @@ __export(src_exports, {
|
|
|
61
63
|
AppProfile: () => AppProfile,
|
|
62
64
|
AppProfileId: () => AppProfileId,
|
|
63
65
|
AppProfileLocator: () => AppProfileLocator,
|
|
66
|
+
AppSetup: () => AppSetup,
|
|
64
67
|
AppSupport: () => AppSupport,
|
|
65
68
|
AppUsageReading: () => AppUsageReading,
|
|
66
69
|
AppWindowInfo: () => AppWindowInfo,
|
|
@@ -127,6 +130,8 @@ __export(src_exports, {
|
|
|
127
130
|
AppsProjectsUnfileResult: () => AppsProjectsUnfileResult,
|
|
128
131
|
AppsProjectsUpdateParams: () => AppsProjectsUpdateParams,
|
|
129
132
|
AppsProjectsUpdateResult: () => AppsProjectsUpdateResult,
|
|
133
|
+
AppsSetupListParams: () => AppsSetupListParams,
|
|
134
|
+
AppsSetupListResult: () => AppsSetupListResult,
|
|
130
135
|
AppsSpendParams: () => AppsSpendParams,
|
|
131
136
|
AppsSpendResult: () => AppsSpendResult,
|
|
132
137
|
AppsSyncRunParams: () => AppsSyncRunParams,
|
|
@@ -520,6 +525,8 @@ __export(src_exports, {
|
|
|
520
525
|
LlamaServerBuild: () => LlamaServerBuild,
|
|
521
526
|
LlmRunning: () => LlmRunning,
|
|
522
527
|
LlmServerState: () => LlmServerState,
|
|
528
|
+
LocalModelKind: () => LocalModelKind,
|
|
529
|
+
LocalModelRow: () => LocalModelRow,
|
|
523
530
|
LocationGetParams: () => LocationGetParams,
|
|
524
531
|
LocationGetResult: () => LocationGetResult,
|
|
525
532
|
MATRX_EXTENSION_IDS: () => MATRX_EXTENSION_IDS,
|
|
@@ -531,6 +538,8 @@ __export(src_exports, {
|
|
|
531
538
|
MailMessage: () => MailMessage,
|
|
532
539
|
MailSendParams: () => MailSendParams,
|
|
533
540
|
MailSendResult: () => MailSendResult,
|
|
541
|
+
McpServerRow: () => McpServerRow,
|
|
542
|
+
McpTransport: () => McpTransport,
|
|
534
543
|
MessagesChat: () => MessagesChat,
|
|
535
544
|
MessagesChatsParams: () => MessagesChatsParams,
|
|
536
545
|
MessagesChatsResult: () => MessagesChatsResult,
|
|
@@ -564,6 +573,10 @@ __export(src_exports, {
|
|
|
564
573
|
ModelsLlmStatusResult: () => ModelsLlmStatusResult,
|
|
565
574
|
ModelsLlmStopParams: () => ModelsLlmStopParams,
|
|
566
575
|
ModelsLlmStopResult: () => ModelsLlmStopResult,
|
|
576
|
+
ModelsLocalListParams: () => ModelsLocalListParams,
|
|
577
|
+
ModelsLocalListResult: () => ModelsLocalListResult,
|
|
578
|
+
ModelsLocalRemoveParams: () => ModelsLocalRemoveParams,
|
|
579
|
+
ModelsLocalRemoveResult: () => ModelsLocalRemoveResult,
|
|
567
580
|
ModelsProgressEvent: () => ModelsProgressEvent,
|
|
568
581
|
ModelsStatusParams: () => ModelsStatusParams,
|
|
569
582
|
ModelsStatusResult: () => ModelsStatusResult,
|
|
@@ -741,6 +754,9 @@ __export(src_exports, {
|
|
|
741
754
|
SessionListResult: () => SessionListResult,
|
|
742
755
|
SessionReleaseParams: () => SessionReleaseParams,
|
|
743
756
|
SessionReleaseResult: () => SessionReleaseResult,
|
|
757
|
+
SetupFact: () => SetupFact,
|
|
758
|
+
SetupItem: () => SetupItem,
|
|
759
|
+
SetupItemKind: () => SetupItemKind,
|
|
744
760
|
Sha256Hex: () => Sha256Hex,
|
|
745
761
|
ShownSection: () => ShownSection,
|
|
746
762
|
Signal: () => Signal,
|
|
@@ -925,7 +941,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
925
941
|
var import_zod = require("zod");
|
|
926
942
|
var import_uuid = require("@ai-matrx/kit/uuid");
|
|
927
943
|
var PROTOCOL_MAJOR = 1;
|
|
928
|
-
var PROTOCOL_MINOR =
|
|
944
|
+
var PROTOCOL_MINOR = 74;
|
|
929
945
|
var PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
|
|
930
946
|
var ProtocolVersion = import_zod.z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
|
|
931
947
|
var RequestId = import_zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
|
|
@@ -1940,6 +1956,36 @@ var ModelsDownloadsListParams = import_zod10.z.strictObject({});
|
|
|
1940
1956
|
var ModelsDownloadsListResult = import_zod10.z.strictObject({ downloads: import_zod10.z.array(DownloadRow).max(64) });
|
|
1941
1957
|
var ModelsDownloadsCancelParams = import_zod10.z.strictObject({ key: import_zod10.z.string().max(64) });
|
|
1942
1958
|
var ModelsDownloadsCancelResult = import_zod10.z.strictObject({ cancelled: import_zod10.z.boolean() });
|
|
1959
|
+
var LocalModelKind = import_zod10.z.enum(["text", "speech"]);
|
|
1960
|
+
var LocalModelRow = import_zod10.z.strictObject({
|
|
1961
|
+
kind: LocalModelKind,
|
|
1962
|
+
model: ModelKey,
|
|
1963
|
+
/** Its folder in the service's store. */
|
|
1964
|
+
path: import_zod10.z.string().max(1024),
|
|
1965
|
+
/** Every file of the model, as installed. */
|
|
1966
|
+
size_bytes: nonNegInt,
|
|
1967
|
+
/** What Remove frees: the files only Matrx 2 holds. A file linked from the person's own folder frees nothing. */
|
|
1968
|
+
freed_bytes: nonNegInt,
|
|
1969
|
+
/** True when any file is a link to a file elsewhere (used in place): Remove then never deletes that file. */
|
|
1970
|
+
in_place: import_zod10.z.boolean(),
|
|
1971
|
+
/** The folder the person's files stay in (in place), when the service can tell; null otherwise. */
|
|
1972
|
+
source: import_zod10.z.string().max(1024).nullable(),
|
|
1973
|
+
/** The language model the server runs now (Remove stops it first). */
|
|
1974
|
+
running: import_zod10.z.boolean()
|
|
1975
|
+
});
|
|
1976
|
+
var ModelsLocalListParams = import_zod10.z.strictObject({});
|
|
1977
|
+
var ModelsLocalListResult = import_zod10.z.strictObject({ models: import_zod10.z.array(LocalModelRow).max(1024) });
|
|
1978
|
+
var ModelsLocalRemoveParams = import_zod10.z.strictObject({ kind: LocalModelKind, model: ModelKey });
|
|
1979
|
+
var ModelsLocalRemoveResult = import_zod10.z.strictObject({
|
|
1980
|
+
kind: LocalModelKind,
|
|
1981
|
+
model: ModelKey,
|
|
1982
|
+
/** Bytes of disk the removal gave back (0 for a model used in place). */
|
|
1983
|
+
freed_bytes: nonNegInt,
|
|
1984
|
+
/** True when it was the running model and the server was stopped first. */
|
|
1985
|
+
stopped: import_zod10.z.boolean(),
|
|
1986
|
+
/** Where the person's files stay (a model used in place); null when nothing was kept. */
|
|
1987
|
+
kept: import_zod10.z.string().max(1024).nullable()
|
|
1988
|
+
});
|
|
1943
1989
|
var MlServiceState = import_zod10.z.enum(["starting", "ready", "restarting", "failed", "stopped"]);
|
|
1944
1990
|
var MlServiceStatus = import_zod10.z.strictObject({
|
|
1945
1991
|
state: MlServiceState,
|
|
@@ -2522,7 +2568,9 @@ var AccountUsage = import_zod14.z.strictObject({
|
|
|
2522
2568
|
* window's use (its usage history), so the real reset is at or before it. Absent when no 5-hour
|
|
2523
2569
|
* window is running (no use in the last reading, or the reading is over 5 hours old).
|
|
2524
2570
|
*/
|
|
2525
|
-
five_hour_resets_by_ms: epochMs.optional()
|
|
2571
|
+
five_hour_resets_by_ms: epochMs.optional(),
|
|
2572
|
+
/** 1.73: where the reading came from (absent = the app itself). */
|
|
2573
|
+
read_source: import_zod14.z.enum(["app", "claude_code"]).optional()
|
|
2526
2574
|
});
|
|
2527
2575
|
var AccountReset = import_zod14.z.strictObject({
|
|
2528
2576
|
window: ChatPlace,
|
|
@@ -2980,6 +3028,25 @@ var ElsewhereInstance = import_zod15.z.strictObject({
|
|
|
2980
3028
|
});
|
|
2981
3029
|
var AccountResetSource = import_zod15.z.enum(["app", "usage_history", "your_list"]);
|
|
2982
3030
|
var AccountGap = import_zod15.z.enum(["email", "plan", "usage"]);
|
|
3031
|
+
var AccountReadSource = import_zod15.z.enum(["app", "claude_code"]);
|
|
3032
|
+
var AccountProfile = import_zod15.z.strictObject({
|
|
3033
|
+
/** The person's name on the account. */
|
|
3034
|
+
name: import_zod15.z.string().max(200).nullable(),
|
|
3035
|
+
/** The organization the sign-in is in, and the person's role there. */
|
|
3036
|
+
org_name: import_zod15.z.string().max(200).nullable(),
|
|
3037
|
+
org_role: import_zod15.z.string().max(80).nullable(),
|
|
3038
|
+
/** Claude: the seat tier of a team plan, the rate-limit tier, how it is billed, when a trial ends. */
|
|
3039
|
+
seat_tier: import_zod15.z.string().max(80).nullable(),
|
|
3040
|
+
rate_limit_tier: import_zod15.z.string().max(120).nullable(),
|
|
3041
|
+
billing: import_zod15.z.string().max(80).nullable(),
|
|
3042
|
+
trial_ends_ms: epochMs.nullable(),
|
|
3043
|
+
/** Cursor: whether the subscription is active ("active", "canceled", …) as Cursor records it. */
|
|
3044
|
+
subscription: import_zod15.z.string().max(80).nullable(),
|
|
3045
|
+
/** Where these facts were read (a short label: "Claude Code's sign-in"). */
|
|
3046
|
+
source: import_zod15.z.string().max(200),
|
|
3047
|
+
/** When the app last fetched them, when it says. */
|
|
3048
|
+
as_of_ms: epochMs.nullable()
|
|
3049
|
+
});
|
|
2983
3050
|
var AppAccount = import_zod15.z.strictObject({
|
|
2984
3051
|
app_key: AppKey,
|
|
2985
3052
|
/** The provider's own account id (Claude's account uuid, ChatGPT's account id); `org:<uuid>` when only its organization is known. */
|
|
@@ -3009,7 +3076,13 @@ var AppAccount = import_zod15.z.strictObject({
|
|
|
3009
3076
|
instances: import_zod15.z.array(ChatPlace).max(200),
|
|
3010
3077
|
first_seen_ms: epochMs.nullable(),
|
|
3011
3078
|
last_seen_ms: epochMs.nullable(),
|
|
3012
|
-
missing: import_zod15.z.array(AccountGap).max(3)
|
|
3079
|
+
missing: import_zod15.z.array(AccountGap).max(3),
|
|
3080
|
+
/** 1.73: who the account is beyond its email (plan details, role, tiers), when the app records it. */
|
|
3081
|
+
profile: AccountProfile.optional(),
|
|
3082
|
+
/** 1.73: where the newest reading came from (absent = the app itself). */
|
|
3083
|
+
read_source: AccountReadSource.optional(),
|
|
3084
|
+
/** 1.73: Claude Code: the running session's cost as Claude Code estimates it (US dollars), with a Claude Code reading. */
|
|
3085
|
+
session_cost_usd: import_zod15.z.number().nonnegative().optional()
|
|
3013
3086
|
});
|
|
3014
3087
|
var AppsInstancesListParams = import_zod15.z.strictObject({ app_key: AppKey, fresh: import_zod15.z.boolean().optional() });
|
|
3015
3088
|
var AppsInstancesListResult = import_zod15.z.strictObject({
|
|
@@ -3043,6 +3116,47 @@ var ProbeFact = import_zod15.z.strictObject({ key: import_zod15.z.string().max(2
|
|
|
3043
3116
|
var ProbeSource = import_zod15.z.strictObject({ source: import_zod15.z.string().max(120), instance: import_zod15.z.string().max(64).nullable(), facts: import_zod15.z.array(ProbeFact).max(500) });
|
|
3044
3117
|
var AppsChatsProbeParams = import_zod15.z.strictObject({ app_key: AppKey, chat_id: import_zod15.z.string().regex(/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/) });
|
|
3045
3118
|
var AppsChatsProbeResult = import_zod15.z.strictObject({ app_key: AppKey, chat_id: import_zod15.z.string().max(128), sources: import_zod15.z.array(ProbeSource).max(200) });
|
|
3119
|
+
var McpTransport = import_zod15.z.enum(["stdio", "http", "sse", "unknown"]);
|
|
3120
|
+
var McpServerRow = import_zod15.z.strictObject({
|
|
3121
|
+
app_key: AppKey,
|
|
3122
|
+
/** The app's instance whose settings hold it ("main", a home's name). */
|
|
3123
|
+
instance: import_zod15.z.string().max(120),
|
|
3124
|
+
name: import_zod15.z.string().max(200),
|
|
3125
|
+
transport: McpTransport,
|
|
3126
|
+
/** The URL (scheme, host and path only) or the command and its arguments (secret-looking ones blanked). */
|
|
3127
|
+
target: import_zod15.z.string().max(400).nullable(),
|
|
3128
|
+
/** "user" (every folder), "desktop" (the desktop app), or the folder it is set up for. */
|
|
3129
|
+
scope: import_zod15.z.string().max(400),
|
|
3130
|
+
/** Turned on or off in the app, when it records it. */
|
|
3131
|
+
enabled: import_zod15.z.boolean().nullable(),
|
|
3132
|
+
/** The settings file it was read from. */
|
|
3133
|
+
where: import_zod15.z.string().max(400)
|
|
3134
|
+
});
|
|
3135
|
+
var SetupFact = import_zod15.z.strictObject({ name: import_zod15.z.string().max(80), value: import_zod15.z.string().max(300) });
|
|
3136
|
+
var SetupItemKind = import_zod15.z.enum(["extension", "plugin", "marketplace", "model"]);
|
|
3137
|
+
var SetupItem = import_zod15.z.strictObject({
|
|
3138
|
+
kind: SetupItemKind,
|
|
3139
|
+
name: import_zod15.z.string().max(200),
|
|
3140
|
+
version: import_zod15.z.string().max(80).nullable(),
|
|
3141
|
+
/** Turned on or off, when the app records it. */
|
|
3142
|
+
enabled: import_zod15.z.boolean().nullable()
|
|
3143
|
+
});
|
|
3144
|
+
var AppSetup = import_zod15.z.strictObject({
|
|
3145
|
+
app_key: AppKey,
|
|
3146
|
+
instance: import_zod15.z.string().max(120),
|
|
3147
|
+
/** The folder its settings were read from. */
|
|
3148
|
+
where: import_zod15.z.string().max(400),
|
|
3149
|
+
facts: import_zod15.z.array(SetupFact).max(60),
|
|
3150
|
+
items: import_zod15.z.array(SetupItem).max(2e3),
|
|
3151
|
+
/** What could not be read there (shown, never hidden). */
|
|
3152
|
+
problems: import_zod15.z.array(import_zod15.z.string().max(300)).max(20)
|
|
3153
|
+
});
|
|
3154
|
+
var AppsSetupListParams = import_zod15.z.strictObject({ app_key: AppKey.optional() });
|
|
3155
|
+
var AppsSetupListResult = import_zod15.z.strictObject({
|
|
3156
|
+
setups: import_zod15.z.array(AppSetup).max(200),
|
|
3157
|
+
mcp: import_zod15.z.array(McpServerRow).max(2e3),
|
|
3158
|
+
problem: import_zod15.z.string().max(400).optional()
|
|
3159
|
+
});
|
|
3046
3160
|
|
|
3047
3161
|
// src/schema/service.ts
|
|
3048
3162
|
var import_zod16 = require("zod");
|
|
@@ -5690,6 +5804,8 @@ var OPS = {
|
|
|
5690
5804
|
"models.llm.stop": { params: ModelsLlmStopParams, result: ModelsLlmStopResult, kind: "unary", since: "1.31", errors: ["INTERNAL"] },
|
|
5691
5805
|
"models.downloads.list": { params: ModelsDownloadsListParams, result: ModelsDownloadsListResult, kind: "unary", since: "1.45", errors: ["INTERNAL"] },
|
|
5692
5806
|
"models.downloads.cancel": { params: ModelsDownloadsCancelParams, result: ModelsDownloadsCancelResult, kind: "unary", since: "1.45", errors: ["NOT_FOUND", "INTERNAL"] },
|
|
5807
|
+
"models.local.list": { params: ModelsLocalListParams, result: ModelsLocalListResult, kind: "unary", since: "1.74", errors: ["INTERNAL"] },
|
|
5808
|
+
"models.local.remove": { params: ModelsLocalRemoveParams, result: ModelsLocalRemoveResult, kind: "unary", since: "1.74", errors: ["NOT_FOUND", "INVALID_PARAMS", "RESOURCE_BUSY", "INTERNAL"] },
|
|
5693
5809
|
// Desktop apps and their profiles (SPEC §6 apps); profiles are rows in users.desktop_app_profile.
|
|
5694
5810
|
"apps.list": { params: AppsListParams, result: AppsListResult, kind: "unary", since: "1.2", errors: ["INTERNAL"] },
|
|
5695
5811
|
"apps.profiles.list": { params: AppsProfilesListParams, result: AppsProfilesListResult, kind: "unary", since: "1.2", errors: ["NOT_FOUND", "INVALID_PARAMS", "INTERNAL"] },
|
|
@@ -5719,6 +5835,7 @@ var OPS = {
|
|
|
5719
5835
|
// 1.47: instances and accounts kept apart — an account's usage is the account's, every instance shows it by id.
|
|
5720
5836
|
"apps.instances.list": { params: AppsInstancesListParams, result: AppsInstancesListResult, kind: "unary", since: "1.47", errors: ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"] },
|
|
5721
5837
|
"apps.accounts.list": { params: AppsAccountsListParams, result: AppsAccountsListResult, kind: "unary", since: "1.47", errors: ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"] },
|
|
5838
|
+
"apps.setup.list": { params: AppsSetupListParams, result: AppsSetupListResult, kind: "unary", since: "1.73", errors: ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"] },
|
|
5722
5839
|
// 1.56: an instance's kept-for account and forgetting it (the app's own tool writes both); every raw fact about one chat.
|
|
5723
5840
|
"apps.windows.set_account": { params: AppsWindowsSetAccountParams, result: AppsWindowActionResult, kind: "unary", since: "1.56", errors: ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"] },
|
|
5724
5841
|
"apps.windows.forget": { params: AppsWindowsForgetParams, result: AppsWindowActionResult, kind: "unary", since: "1.56", errors: ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"] },
|
|
@@ -5969,6 +6086,8 @@ var SERVICES = {
|
|
|
5969
6086
|
"ml.llm_stop": { params: ModelsLlmStopParams, result: ModelsLlmStopResult },
|
|
5970
6087
|
"ml.downloads": { params: ModelsDownloadsListParams, result: ModelsDownloadsListResult },
|
|
5971
6088
|
"ml.download_cancel": { params: ModelsDownloadsCancelParams, result: ModelsDownloadsCancelResult },
|
|
6089
|
+
"ml.local_list": { params: ModelsLocalListParams, result: ModelsLocalListResult },
|
|
6090
|
+
"ml.local_remove": { params: ModelsLocalRemoveParams, result: ModelsLocalRemoveResult },
|
|
5972
6091
|
"ml.catalog_set": { params: MlCatalogSetParams, result: MlCatalogSetResult }
|
|
5973
6092
|
}
|
|
5974
6093
|
},
|
|
@@ -6015,6 +6134,16 @@ var NAMED_SCHEMAS = {
|
|
|
6015
6134
|
AppsInstancesListResult,
|
|
6016
6135
|
AppsAccountsListParams,
|
|
6017
6136
|
AppsAccountsListResult,
|
|
6137
|
+
AccountReadSource,
|
|
6138
|
+
AccountProfile,
|
|
6139
|
+
McpTransport,
|
|
6140
|
+
McpServerRow,
|
|
6141
|
+
SetupFact,
|
|
6142
|
+
SetupItemKind,
|
|
6143
|
+
SetupItem,
|
|
6144
|
+
AppSetup,
|
|
6145
|
+
AppsSetupListParams,
|
|
6146
|
+
AppsSetupListResult,
|
|
6018
6147
|
ProtocolVersion,
|
|
6019
6148
|
RequestId,
|
|
6020
6149
|
ResourceId,
|
|
@@ -6157,6 +6286,12 @@ var NAMED_SCHEMAS = {
|
|
|
6157
6286
|
ModelsDownloadsListResult,
|
|
6158
6287
|
ModelsDownloadsCancelParams,
|
|
6159
6288
|
ModelsDownloadsCancelResult,
|
|
6289
|
+
LocalModelKind,
|
|
6290
|
+
LocalModelRow,
|
|
6291
|
+
ModelsLocalListParams,
|
|
6292
|
+
ModelsLocalListResult,
|
|
6293
|
+
ModelsLocalRemoveParams,
|
|
6294
|
+
ModelsLocalRemoveResult,
|
|
6160
6295
|
CodingServiceCredentials,
|
|
6161
6296
|
CodingHistoryBlocked,
|
|
6162
6297
|
CodingHistoryFailure,
|
|
@@ -6845,7 +6980,8 @@ var FIELDS_SINCE = {
|
|
|
6845
6980
|
AppsAccountsUsageResult: { problem: "1.12" },
|
|
6846
6981
|
AppsAccountsResetsResult: { problem: "1.12" },
|
|
6847
6982
|
ChatRow: { app_project: "1.13", tokens: "1.13", original_title: "1.14", title_source: "1.14", title_override: "1.14", archived: "1.15", session_id: "1.59", app_groups: "1.59", parent: "1.59", prior_sessions: "1.59", title_sync: "1.61", moved: "1.62", home: "1.63", hidden: "1.70", pin_sync: "1.72" },
|
|
6848
|
-
AccountUsage: { plan: "1.13", credits: "1.13", five_hour_resets_by_ms: "1.25" },
|
|
6983
|
+
AccountUsage: { plan: "1.13", credits: "1.13", five_hour_resets_by_ms: "1.25", read_source: "1.73" },
|
|
6984
|
+
AppAccount: { profile: "1.73", read_source: "1.73", session_cost_usd: "1.73" },
|
|
6849
6985
|
ResourcesDisk: { name: "1.17" },
|
|
6850
6986
|
StackServer: { cpu_percent: "1.18", memory_bytes: "1.18" },
|
|
6851
6987
|
AudioDevice: { kind: "1.24" },
|
|
@@ -7136,7 +7272,7 @@ function forPeer(op, part, value, version) {
|
|
|
7136
7272
|
var VERSIONED_RESULT_OPS = [.../* @__PURE__ */ new Set([...RESULT_PATH.keys(), ...WINDOW_RESULTS.keys(), ...NESTED_RESULTS.keys()])];
|
|
7137
7273
|
|
|
7138
7274
|
// src/contract.ts
|
|
7139
|
-
var CONTRACT_SHA256 = "
|
|
7275
|
+
var CONTRACT_SHA256 = "37ce31c865512882841181ce3e174f89fcc134f5aab983df8ededdab363b08bd";
|
|
7140
7276
|
|
|
7141
7277
|
// src/close-policy.ts
|
|
7142
7278
|
var CLOSE_RULES = {
|