@nekro-nxt/contracts 0.1.0 → 0.3.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/dist/index.mjs +876 -94
- package/dist/index.mjs.map +1 -1
- package/lib/types/community-personas.d.ts +139 -0
- package/lib/types/community-personas.d.ts.map +1 -0
- package/lib/types/community.d.ts +534 -56
- package/lib/types/community.d.ts.map +1 -1
- package/lib/types/extension-capabilities.d.ts +36 -7
- package/lib/types/extension-capabilities.d.ts.map +1 -1
- package/lib/types/extension-ui.d.ts +197 -6
- package/lib/types/extension-ui.d.ts.map +1 -1
- package/lib/types/host-api.d.ts +2059 -282
- package/lib/types/host-api.d.ts.map +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/community-personas.ts +81 -0
- package/src/community.ts +266 -54
- package/src/extension-capabilities.ts +54 -8
- package/src/extension-ui.ts +107 -20
- package/src/host-api.ts +467 -34
- package/src/index.ts +1 -0
package/lib/types/host-api.d.ts
CHANGED
|
@@ -5,6 +5,134 @@ export declare const HostApiErrorSchema: z.ZodObject<{
|
|
|
5
5
|
message: z.ZodString;
|
|
6
6
|
}, z.core.$strict>;
|
|
7
7
|
}, z.core.$strict>;
|
|
8
|
+
/**
|
|
9
|
+
* An enable or disable request of one agent extension that has not settled: `waiting` until the agent reaches a safe
|
|
10
|
+
* gap (its current reply ends), or `failed` with the reason until the next request replaces it.
|
|
11
|
+
*/
|
|
12
|
+
/** What one approval asks the user to grant and whether the current grant already covers it. */
|
|
13
|
+
export declare const ExtensionPermissionRequirementSchema: z.ZodObject<{
|
|
14
|
+
declaration: z.ZodObject<{
|
|
15
|
+
permissions: z.ZodArray<z.ZodEnum<{
|
|
16
|
+
"agents.read": "agents.read";
|
|
17
|
+
"channels.read": "channels.read";
|
|
18
|
+
"connections.read": "connections.read";
|
|
19
|
+
"extensions.read": "extensions.read";
|
|
20
|
+
"dsh-plugins.read": "dsh-plugins.read";
|
|
21
|
+
"runtime.read": "runtime.read";
|
|
22
|
+
"messages.read": "messages.read";
|
|
23
|
+
"assets.read": "assets.read";
|
|
24
|
+
"agents.manage": "agents.manage";
|
|
25
|
+
"channels.manage": "channels.manage";
|
|
26
|
+
"connections.manage": "connections.manage";
|
|
27
|
+
"credentials.write": "credentials.write";
|
|
28
|
+
"messages.send": "messages.send";
|
|
29
|
+
"notifications.publish": "notifications.publish";
|
|
30
|
+
"network.request": "network.request";
|
|
31
|
+
}>>;
|
|
32
|
+
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
33
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
35
|
+
mode: z.ZodLiteral<"domains">;
|
|
36
|
+
domains: z.ZodArray<z.ZodString>;
|
|
37
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
38
|
+
mode: z.ZodLiteral<"config">;
|
|
39
|
+
fields: z.ZodArray<z.ZodString>;
|
|
40
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
41
|
+
mode: z.ZodLiteral<"unrestricted">;
|
|
42
|
+
purpose: z.ZodString;
|
|
43
|
+
}, z.core.$strict>], "mode">>;
|
|
44
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
45
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
46
|
+
channel: "channel";
|
|
47
|
+
agent: "agent";
|
|
48
|
+
member: "member";
|
|
49
|
+
shared: "shared";
|
|
50
|
+
}>>;
|
|
51
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
}, z.core.$strict>>;
|
|
53
|
+
assets: z.ZodOptional<z.ZodObject<{
|
|
54
|
+
write: z.ZodLiteral<true>;
|
|
55
|
+
}, z.core.$strict>>;
|
|
56
|
+
history: z.ZodOptional<z.ZodObject<{
|
|
57
|
+
read: z.ZodLiteral<true>;
|
|
58
|
+
}, z.core.$strict>>;
|
|
59
|
+
inboundHook: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
reads: z.ZodEnum<{
|
|
61
|
+
triggered: "triggered";
|
|
62
|
+
all: "all";
|
|
63
|
+
}>;
|
|
64
|
+
mayHide: z.ZodBoolean;
|
|
65
|
+
mayForceTrigger: z.ZodBoolean;
|
|
66
|
+
timeoutMs: z.ZodNumber;
|
|
67
|
+
}, z.core.$strict>>;
|
|
68
|
+
jobs: z.ZodOptional<z.ZodObject<{
|
|
69
|
+
declared: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
70
|
+
id: z.ZodString;
|
|
71
|
+
label: z.ZodString;
|
|
72
|
+
cron: z.ZodString;
|
|
73
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
74
|
+
}, z.core.$strict>>>;
|
|
75
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
maxActive: z.ZodNumber;
|
|
77
|
+
}, z.core.$strict>>;
|
|
78
|
+
}, z.core.$strict>>;
|
|
79
|
+
platform: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
81
|
+
adapter: z.ZodString;
|
|
82
|
+
action: z.ZodString;
|
|
83
|
+
}, z.core.$strict>>>;
|
|
84
|
+
raw: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
85
|
+
}, z.core.$strict>>;
|
|
86
|
+
llm: z.ZodOptional<z.ZodObject<{
|
|
87
|
+
maxCallsPerTurn: z.ZodNumber;
|
|
88
|
+
maxOutputTokens: z.ZodNumber;
|
|
89
|
+
}, z.core.$strict>>;
|
|
90
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
91
|
+
servers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
92
|
+
transport: z.ZodLiteral<"streamable-http">;
|
|
93
|
+
name: z.ZodString;
|
|
94
|
+
url: z.ZodString;
|
|
95
|
+
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
96
|
+
secret: z.ZodString;
|
|
97
|
+
}, z.core.$strict>]>>>;
|
|
98
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
99
|
+
transport: z.ZodLiteral<"stdio">;
|
|
100
|
+
name: z.ZodString;
|
|
101
|
+
command: z.ZodString;
|
|
102
|
+
args: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
103
|
+
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
104
|
+
secret: z.ZodString;
|
|
105
|
+
}, z.core.$strict>]>>>;
|
|
106
|
+
}, z.core.$strict>], "transport">>;
|
|
107
|
+
}, z.core.$strict>>;
|
|
108
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
109
|
+
name: z.ZodString;
|
|
110
|
+
kind: z.ZodEnum<{
|
|
111
|
+
dynamic: "dynamic";
|
|
112
|
+
static: "static";
|
|
113
|
+
}>;
|
|
114
|
+
maxChars: z.ZodNumber;
|
|
115
|
+
}, z.core.$strict>>>;
|
|
116
|
+
}, z.core.$strict>>;
|
|
117
|
+
}, z.core.$strict>;
|
|
118
|
+
permissionDigest: z.ZodString;
|
|
119
|
+
approvalRequired: z.ZodBoolean;
|
|
120
|
+
}, z.core.$strict>;
|
|
121
|
+
export type ExtensionPermissionRequirement = z.output<typeof ExtensionPermissionRequirementSchema>;
|
|
122
|
+
export declare const ExtensionActivationTransitionSchema: z.ZodObject<{
|
|
123
|
+
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
124
|
+
target: z.ZodEnum<{
|
|
125
|
+
enabled: "enabled";
|
|
126
|
+
disabled: "disabled";
|
|
127
|
+
}>;
|
|
128
|
+
extensionRevisionId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">>;
|
|
129
|
+
state: z.ZodEnum<{
|
|
130
|
+
waiting: "waiting";
|
|
131
|
+
failed: "failed";
|
|
132
|
+
}>;
|
|
133
|
+
message: z.ZodOptional<z.ZodString>;
|
|
134
|
+
since: z.ZodNumber;
|
|
135
|
+
}, z.core.$strict>;
|
|
8
136
|
export declare const ImageUnderstandingPolicyApiSchema: z.ZodObject<{
|
|
9
137
|
history: z.ZodObject<{
|
|
10
138
|
mode: z.ZodLiteral<"persistent-distinct">;
|
|
@@ -133,6 +261,7 @@ export declare const HostSnapshotMessageSchema: z.ZodObject<{
|
|
|
133
261
|
sender: z.ZodOptional<z.ZodObject<{
|
|
134
262
|
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
135
263
|
displayName: z.ZodOptional<z.ZodString>;
|
|
264
|
+
localAgentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
136
265
|
}, z.core.$strict>>;
|
|
137
266
|
mentionedConnectionAccount: z.ZodOptional<z.ZodBoolean>;
|
|
138
267
|
activityKey: z.ZodOptional<z.ZodString>;
|
|
@@ -280,6 +409,7 @@ export declare const ChannelFactSseItemSchema: z.ZodObject<{
|
|
|
280
409
|
sender: z.ZodOptional<z.ZodObject<{
|
|
281
410
|
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
282
411
|
displayName: z.ZodOptional<z.ZodString>;
|
|
412
|
+
localAgentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
283
413
|
}, z.core.$strict>>;
|
|
284
414
|
mentionedConnectionAccount: z.ZodOptional<z.ZodBoolean>;
|
|
285
415
|
activityKey: z.ZodOptional<z.ZodString>;
|
|
@@ -373,6 +503,7 @@ export declare const ChannelFactSseDataSchema: z.ZodObject<{
|
|
|
373
503
|
sender: z.ZodOptional<z.ZodObject<{
|
|
374
504
|
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
375
505
|
displayName: z.ZodOptional<z.ZodString>;
|
|
506
|
+
localAgentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
376
507
|
}, z.core.$strict>>;
|
|
377
508
|
mentionedConnectionAccount: z.ZodOptional<z.ZodBoolean>;
|
|
378
509
|
activityKey: z.ZodOptional<z.ZodString>;
|
|
@@ -488,6 +619,14 @@ export declare const ChannelRuntimeStepSchema: z.ZodObject<{
|
|
|
488
619
|
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
489
620
|
}, z.core.$strict>>;
|
|
490
621
|
}, z.core.$strict>;
|
|
622
|
+
/** One message that entered the model's input during a turn: channel admissions and host or DSH injections. */
|
|
623
|
+
export declare const ChannelRuntimeInputSchema: z.ZodObject<{
|
|
624
|
+
messageId: z.ZodString;
|
|
625
|
+
source: z.ZodString;
|
|
626
|
+
eventCount: z.ZodOptional<z.ZodNumber>;
|
|
627
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
628
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
629
|
+
}, z.core.$strict>;
|
|
491
630
|
export declare const ChannelRuntimeTurnSchema: z.ZodObject<{
|
|
492
631
|
turn: z.ZodNumber;
|
|
493
632
|
state: z.ZodEnum<{
|
|
@@ -554,6 +693,13 @@ export declare const ChannelRuntimeTurnSchema: z.ZodObject<{
|
|
|
554
693
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
555
694
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
556
695
|
triggerEventId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ChannelEventId", "out">>;
|
|
696
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
697
|
+
messageId: z.ZodString;
|
|
698
|
+
source: z.ZodString;
|
|
699
|
+
eventCount: z.ZodOptional<z.ZodNumber>;
|
|
700
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
701
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
702
|
+
}, z.core.$strict>>>;
|
|
557
703
|
}, z.core.$strict>;
|
|
558
704
|
export declare const ChannelRuntimeOccupancySchema: z.ZodObject<{
|
|
559
705
|
projectedTokens: z.ZodNumber;
|
|
@@ -768,6 +914,13 @@ export declare const ChannelRuntimeProjectionSchema: z.ZodObject<{
|
|
|
768
914
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
769
915
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
770
916
|
triggerEventId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ChannelEventId", "out">>;
|
|
917
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
918
|
+
messageId: z.ZodString;
|
|
919
|
+
source: z.ZodString;
|
|
920
|
+
eventCount: z.ZodOptional<z.ZodNumber>;
|
|
921
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
922
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
923
|
+
}, z.core.$strict>>>;
|
|
771
924
|
}, z.core.$strict>>;
|
|
772
925
|
}, z.core.$strict>;
|
|
773
926
|
export declare const ChannelRuntimeSseDataSchema: z.ZodObject<{
|
|
@@ -908,10 +1061,114 @@ export declare const ChannelRuntimeSseDataSchema: z.ZodObject<{
|
|
|
908
1061
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
909
1062
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
910
1063
|
triggerEventId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ChannelEventId", "out">>;
|
|
1064
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1065
|
+
messageId: z.ZodString;
|
|
1066
|
+
source: z.ZodString;
|
|
1067
|
+
eventCount: z.ZodOptional<z.ZodNumber>;
|
|
1068
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
1070
|
+
}, z.core.$strict>>>;
|
|
911
1071
|
}, z.core.$strict>>;
|
|
912
1072
|
revision: z.ZodNumber;
|
|
913
1073
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
914
1074
|
}, z.core.$strict>;
|
|
1075
|
+
export declare const ChannelRuntimeContextSchema: z.ZodObject<{
|
|
1076
|
+
available: z.ZodBoolean;
|
|
1077
|
+
route: z.ZodOptional<z.ZodObject<{
|
|
1078
|
+
provider: z.ZodString;
|
|
1079
|
+
model: z.ZodString;
|
|
1080
|
+
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
1081
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
1082
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1083
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1084
|
+
}, z.core.$strict>>;
|
|
1085
|
+
instructions: z.ZodArray<z.ZodObject<{
|
|
1086
|
+
role: z.ZodEnum<{
|
|
1087
|
+
system: "system";
|
|
1088
|
+
developer: "developer";
|
|
1089
|
+
}>;
|
|
1090
|
+
text: z.ZodString;
|
|
1091
|
+
truncated: z.ZodBoolean;
|
|
1092
|
+
}, z.core.$strict>>;
|
|
1093
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
1094
|
+
name: z.ZodString;
|
|
1095
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1096
|
+
parameters: z.ZodOptional<z.ZodString>;
|
|
1097
|
+
}, z.core.$strict>>;
|
|
1098
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
1099
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
1100
|
+
reason: z.ZodEnum<{
|
|
1101
|
+
initial: "initial";
|
|
1102
|
+
resume: "resume";
|
|
1103
|
+
change: "change";
|
|
1104
|
+
series: "series";
|
|
1105
|
+
}>;
|
|
1106
|
+
toolCount: z.ZodNumber;
|
|
1107
|
+
}, z.core.$strict>>;
|
|
1108
|
+
}, z.core.$strict>;
|
|
1109
|
+
/** A channel's own instructions for whoever answers it, with recent earlier versions to restore. */
|
|
1110
|
+
export declare const ChannelPromptViewSchema: z.ZodObject<{
|
|
1111
|
+
document: z.ZodObject<{
|
|
1112
|
+
version: z.ZodLiteral<1>;
|
|
1113
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1114
|
+
type: z.ZodLiteral<"text">;
|
|
1115
|
+
text: z.ZodString;
|
|
1116
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1117
|
+
type: z.ZodLiteral<"reference">;
|
|
1118
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
1119
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
1120
|
+
labelSnapshot: z.ZodString;
|
|
1121
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1122
|
+
type: z.ZodLiteral<"reference">;
|
|
1123
|
+
kind: z.ZodLiteral<"channel">;
|
|
1124
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
1125
|
+
labelSnapshot: z.ZodString;
|
|
1126
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1127
|
+
type: z.ZodLiteral<"reference">;
|
|
1128
|
+
kind: z.ZodLiteral<"extension">;
|
|
1129
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
1130
|
+
labelSnapshot: z.ZodString;
|
|
1131
|
+
}, z.core.$strict>], "kind">]>>;
|
|
1132
|
+
}, z.core.$strict>;
|
|
1133
|
+
locked: z.ZodBoolean;
|
|
1134
|
+
revision: z.ZodNumber;
|
|
1135
|
+
maxChars: z.ZodNumber;
|
|
1136
|
+
updatedBy: z.ZodOptional<z.ZodEnum<{
|
|
1137
|
+
agent: "agent";
|
|
1138
|
+
admin: "admin";
|
|
1139
|
+
}>>;
|
|
1140
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
1141
|
+
revisions: z.ZodArray<z.ZodObject<{
|
|
1142
|
+
revision: z.ZodNumber;
|
|
1143
|
+
document: z.ZodObject<{
|
|
1144
|
+
version: z.ZodLiteral<1>;
|
|
1145
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1146
|
+
type: z.ZodLiteral<"text">;
|
|
1147
|
+
text: z.ZodString;
|
|
1148
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1149
|
+
type: z.ZodLiteral<"reference">;
|
|
1150
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
1151
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
1152
|
+
labelSnapshot: z.ZodString;
|
|
1153
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1154
|
+
type: z.ZodLiteral<"reference">;
|
|
1155
|
+
kind: z.ZodLiteral<"channel">;
|
|
1156
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
1157
|
+
labelSnapshot: z.ZodString;
|
|
1158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1159
|
+
type: z.ZodLiteral<"reference">;
|
|
1160
|
+
kind: z.ZodLiteral<"extension">;
|
|
1161
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
1162
|
+
labelSnapshot: z.ZodString;
|
|
1163
|
+
}, z.core.$strict>], "kind">]>>;
|
|
1164
|
+
}, z.core.$strict>;
|
|
1165
|
+
updatedBy: z.ZodEnum<{
|
|
1166
|
+
agent: "agent";
|
|
1167
|
+
admin: "admin";
|
|
1168
|
+
}>;
|
|
1169
|
+
updatedAt: z.ZodNumber;
|
|
1170
|
+
}, z.core.$strict>>;
|
|
1171
|
+
}, z.core.$strict>;
|
|
915
1172
|
export type ChannelRuntimePhase = z.output<typeof ChannelRuntimePhaseSchema>;
|
|
916
1173
|
export type ChannelRuntimeUsage = z.output<typeof ChannelRuntimeUsageSchema>;
|
|
917
1174
|
export type ChannelRuntimeOccupancy = z.output<typeof ChannelRuntimeOccupancySchema>;
|
|
@@ -920,6 +1177,9 @@ export type ChannelRuntimeCache = z.output<typeof ChannelRuntimeCacheSchema>;
|
|
|
920
1177
|
export type ChannelRuntimePerformanceSample = z.output<typeof ChannelRuntimePerformanceSampleSchema>;
|
|
921
1178
|
export type ChannelRuntimePerformance = z.output<typeof ChannelRuntimePerformanceSchema>;
|
|
922
1179
|
export type ChannelRuntimeProjection = z.output<typeof ChannelRuntimeProjectionSchema>;
|
|
1180
|
+
export type ChannelRuntimeContext = z.output<typeof ChannelRuntimeContextSchema>;
|
|
1181
|
+
export type ChannelRuntimeInput = z.output<typeof ChannelRuntimeInputSchema>;
|
|
1182
|
+
export type ChannelPromptView = z.output<typeof ChannelPromptViewSchema>;
|
|
923
1183
|
export type ChannelRuntimeSseData = z.output<typeof ChannelRuntimeSseDataSchema>;
|
|
924
1184
|
export type ChannelFactSseData = z.output<typeof ChannelFactSseDataSchema>;
|
|
925
1185
|
export declare const HostSyncCursorSchema: z.ZodObject<{
|
|
@@ -1472,6 +1732,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1472
1732
|
unreadCount: z.ZodNumber;
|
|
1473
1733
|
unreadCapped: z.ZodBoolean;
|
|
1474
1734
|
}, z.core.$strict>>;
|
|
1735
|
+
localAgentIds: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>>;
|
|
1475
1736
|
bindings: z.ZodArray<z.ZodObject<{
|
|
1476
1737
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
1477
1738
|
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
@@ -1485,6 +1746,10 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1485
1746
|
auto: "auto";
|
|
1486
1747
|
off: "off";
|
|
1487
1748
|
}>>;
|
|
1749
|
+
localAgentMessages: z.ZodOptional<z.ZodEnum<{
|
|
1750
|
+
trigger: "trigger";
|
|
1751
|
+
observe: "observe";
|
|
1752
|
+
}>>;
|
|
1488
1753
|
activityTriggerOverrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1489
1754
|
boundAt: z.ZodNumber;
|
|
1490
1755
|
}, z.core.$strict>>;
|
|
@@ -1537,6 +1802,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1537
1802
|
sender: z.ZodOptional<z.ZodObject<{
|
|
1538
1803
|
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
1539
1804
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1805
|
+
localAgentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
1540
1806
|
}, z.core.$strict>>;
|
|
1541
1807
|
mentionedConnectionAccount: z.ZodOptional<z.ZodBoolean>;
|
|
1542
1808
|
activityKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1696,11 +1962,12 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1696
1962
|
}, z.core.$strict>>>;
|
|
1697
1963
|
extensions: z.ZodArray<z.ZodObject<{
|
|
1698
1964
|
id: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
1699
|
-
|
|
1965
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
1700
1966
|
agent: "agent";
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1967
|
+
adapter: "adapter";
|
|
1968
|
+
mcp: "mcp";
|
|
1969
|
+
page: "page";
|
|
1970
|
+
}>>;
|
|
1704
1971
|
slug: z.ZodString;
|
|
1705
1972
|
displayName: z.ZodString;
|
|
1706
1973
|
description: z.ZodString;
|
|
@@ -1758,7 +2025,16 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1758
2025
|
toolViews: z.ZodArray<z.ZodString>;
|
|
1759
2026
|
messageRenderers: z.ZodArray<z.ZodString>;
|
|
1760
2027
|
}, z.core.$strict>>;
|
|
1761
|
-
|
|
2028
|
+
hostConfigSchema: z.ZodOptional<z.ZodType<import("./config-schema.js").ConfigSchemaNode, unknown, z.core.$ZodTypeInternals<import("./config-schema.js").ConfigSchemaNode, unknown>> & z.ZodType<{
|
|
2029
|
+
readonly type: "object";
|
|
2030
|
+
readonly dict: Readonly<Record<string, import("./config-schema.js").ConfigSchemaNode>>;
|
|
2031
|
+
readonly meta?: import("./config-schema.js").ConfigSchemaMeta | undefined;
|
|
2032
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
2033
|
+
readonly type: "object";
|
|
2034
|
+
readonly dict: Readonly<Record<string, import("./config-schema.js").ConfigSchemaNode>>;
|
|
2035
|
+
readonly meta?: import("./config-schema.js").ConfigSchemaMeta | undefined;
|
|
2036
|
+
}, unknown>>>;
|
|
2037
|
+
agentConfigSchema: z.ZodOptional<z.ZodType<import("./config-schema.js").ConfigSchemaNode, unknown, z.core.$ZodTypeInternals<import("./config-schema.js").ConfigSchemaNode, unknown>> & z.ZodType<{
|
|
1762
2038
|
readonly type: "object";
|
|
1763
2039
|
readonly dict: Readonly<Record<string, import("./config-schema.js").ConfigSchemaNode>>;
|
|
1764
2040
|
readonly meta?: import("./config-schema.js").ConfigSchemaMeta | undefined;
|
|
@@ -1767,12 +2043,22 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1767
2043
|
readonly dict: Readonly<Record<string, import("./config-schema.js").ConfigSchemaNode>>;
|
|
1768
2044
|
readonly meta?: import("./config-schema.js").ConfigSchemaMeta | undefined;
|
|
1769
2045
|
}, unknown>>>;
|
|
2046
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1770
2047
|
createdAt: z.ZodNumber;
|
|
1771
|
-
|
|
2048
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
2049
|
+
kind: z.ZodLiteral<"community">;
|
|
2050
|
+
communityUrl: z.ZodString;
|
|
2051
|
+
releaseId: z.ZodString;
|
|
2052
|
+
publisherHandle: z.ZodString;
|
|
2053
|
+
installedAt: z.ZodNumber;
|
|
2054
|
+
}, z.core.$strip>>;
|
|
2055
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
1772
2056
|
agent: "agent";
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
2057
|
+
adapter: "adapter";
|
|
2058
|
+
mcp: "mcp";
|
|
2059
|
+
page: "page";
|
|
2060
|
+
}>>;
|
|
2061
|
+
agentLayer: z.ZodBoolean;
|
|
1776
2062
|
contributions: z.ZodArray<z.ZodString>;
|
|
1777
2063
|
verification: z.ZodOptional<z.ZodObject<{
|
|
1778
2064
|
verifiedAt: z.ZodNumber;
|
|
@@ -1818,6 +2104,9 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1818
2104
|
navigation: "navigation";
|
|
1819
2105
|
}>;
|
|
1820
2106
|
startPath: z.ZodString;
|
|
2107
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
2108
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
2109
|
+
}, z.core.$strict>>;
|
|
1821
2110
|
}, z.core.$strict>>>;
|
|
1822
2111
|
usedUiComponents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1823
2112
|
Button: "Button";
|
|
@@ -1866,7 +2155,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1866
2155
|
titleDistinct: z.ZodBoolean;
|
|
1867
2156
|
}, z.core.$strict>>>;
|
|
1868
2157
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
1869
|
-
permissions: z.ZodArray<z.ZodEnum<{
|
|
2158
|
+
permissions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1870
2159
|
"agents.read": "agents.read";
|
|
1871
2160
|
"channels.read": "channels.read";
|
|
1872
2161
|
"connections.read": "connections.read";
|
|
@@ -1882,9 +2171,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1882
2171
|
"messages.send": "messages.send";
|
|
1883
2172
|
"notifications.publish": "notifications.publish";
|
|
1884
2173
|
"network.request": "network.request";
|
|
1885
|
-
}
|
|
2174
|
+
}>>>;
|
|
1886
2175
|
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
1887
|
-
|
|
2176
|
+
host: z.ZodOptional<z.ZodObject<{
|
|
2177
|
+
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2178
|
+
mode: z.ZodLiteral<"domains">;
|
|
2179
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2180
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2181
|
+
mode: z.ZodLiteral<"config">;
|
|
2182
|
+
fields: z.ZodArray<z.ZodString>;
|
|
2183
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2184
|
+
mode: z.ZodLiteral<"unrestricted">;
|
|
2185
|
+
purpose: z.ZodString;
|
|
2186
|
+
}, z.core.$strict>], "mode">>;
|
|
2187
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
2188
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2189
|
+
}, z.core.$strict>>;
|
|
2190
|
+
}, z.core.$strict>>;
|
|
2191
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
1888
2192
|
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1889
2193
|
mode: z.ZodLiteral<"domains">;
|
|
1890
2194
|
domains: z.ZodArray<z.ZodString>;
|
|
@@ -1969,107 +2273,336 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1969
2273
|
}, z.core.$strict>>>;
|
|
1970
2274
|
}, z.core.$strict>>;
|
|
1971
2275
|
}, z.core.$strict>>;
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
activations: z.ZodArray<z.ZodObject<{
|
|
1991
|
-
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
1992
|
-
extensionRevisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
1993
|
-
config: z.ZodJSONSchema;
|
|
1994
|
-
configuredSecrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1995
|
-
activatedAt: z.ZodNumber;
|
|
1996
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
1997
|
-
status: z.ZodEnum<{
|
|
1998
|
-
active: "active";
|
|
1999
|
-
"restore-failed": "restore-failed";
|
|
2000
|
-
"dispose-failed": "dispose-failed";
|
|
2001
|
-
}>;
|
|
2002
|
-
message: z.ZodOptional<z.ZodString>;
|
|
2003
|
-
observedAt: z.ZodNumber;
|
|
2004
|
-
}, z.core.$strip>>;
|
|
2005
|
-
mcpServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2006
|
-
name: z.ZodString;
|
|
2007
|
-
state: z.ZodEnum<{
|
|
2008
|
-
unavailable: "unavailable";
|
|
2009
|
-
connecting: "connecting";
|
|
2010
|
-
connected: "connected";
|
|
2011
|
-
"missing-credentials": "missing-credentials";
|
|
2012
|
-
}>;
|
|
2013
|
-
toolCount: z.ZodOptional<z.ZodNumber>;
|
|
2014
|
-
missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2015
|
-
message: z.ZodOptional<z.ZodString>;
|
|
2016
|
-
observedAt: z.ZodNumber;
|
|
2017
|
-
}, z.core.$strict>>>;
|
|
2018
|
-
}, z.core.$strict>>;
|
|
2019
|
-
installation: z.ZodOptional<z.ZodObject<{
|
|
2020
|
-
extensionRevisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
2021
|
-
installedAt: z.ZodNumber;
|
|
2022
|
-
config: z.ZodDefault<z.ZodJSONSchema>;
|
|
2023
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
2024
|
-
status: z.ZodEnum<{
|
|
2025
|
-
active: "active";
|
|
2026
|
-
"restore-failed": "restore-failed";
|
|
2027
|
-
"dispose-failed": "dispose-failed";
|
|
2028
|
-
}>;
|
|
2029
|
-
message: z.ZodOptional<z.ZodString>;
|
|
2030
|
-
observedAt: z.ZodNumber;
|
|
2031
|
-
}, z.core.$strip>>;
|
|
2032
|
-
}, z.core.$strict>>;
|
|
2033
|
-
hostUiPermission: z.ZodOptional<z.ZodObject<{
|
|
2034
|
-
declaration: z.ZodObject<{
|
|
2035
|
-
permissions: z.ZodArray<z.ZodEnum<{
|
|
2036
|
-
"agents.read": "agents.read";
|
|
2037
|
-
"channels.read": "channels.read";
|
|
2038
|
-
"connections.read": "connections.read";
|
|
2039
|
-
"extensions.read": "extensions.read";
|
|
2040
|
-
"dsh-plugins.read": "dsh-plugins.read";
|
|
2041
|
-
"runtime.read": "runtime.read";
|
|
2042
|
-
"messages.read": "messages.read";
|
|
2043
|
-
"assets.read": "assets.read";
|
|
2044
|
-
"agents.manage": "agents.manage";
|
|
2045
|
-
"channels.manage": "channels.manage";
|
|
2046
|
-
"connections.manage": "connections.manage";
|
|
2047
|
-
"credentials.write": "credentials.write";
|
|
2048
|
-
"messages.send": "messages.send";
|
|
2049
|
-
"notifications.publish": "notifications.publish";
|
|
2050
|
-
"network.request": "network.request";
|
|
2051
|
-
}>>;
|
|
2052
|
-
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
2053
|
-
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2054
|
-
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2055
|
-
mode: z.ZodLiteral<"domains">;
|
|
2056
|
-
domains: z.ZodArray<z.ZodString>;
|
|
2057
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2058
|
-
mode: z.ZodLiteral<"config">;
|
|
2059
|
-
fields: z.ZodArray<z.ZodString>;
|
|
2060
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2061
|
-
mode: z.ZodLiteral<"unrestricted">;
|
|
2062
|
-
purpose: z.ZodString;
|
|
2063
|
-
}, z.core.$strict>], "mode">>;
|
|
2064
|
-
storage: z.ZodOptional<z.ZodObject<{
|
|
2065
|
-
scopes: z.ZodArray<z.ZodEnum<{
|
|
2066
|
-
channel: "channel";
|
|
2067
|
-
agent: "agent";
|
|
2068
|
-
member: "member";
|
|
2069
|
-
shared: "shared";
|
|
2276
|
+
hostPermission: z.ZodOptional<z.ZodObject<{
|
|
2277
|
+
declaration: z.ZodObject<{
|
|
2278
|
+
permissions: z.ZodArray<z.ZodEnum<{
|
|
2279
|
+
"agents.read": "agents.read";
|
|
2280
|
+
"channels.read": "channels.read";
|
|
2281
|
+
"connections.read": "connections.read";
|
|
2282
|
+
"extensions.read": "extensions.read";
|
|
2283
|
+
"dsh-plugins.read": "dsh-plugins.read";
|
|
2284
|
+
"runtime.read": "runtime.read";
|
|
2285
|
+
"messages.read": "messages.read";
|
|
2286
|
+
"assets.read": "assets.read";
|
|
2287
|
+
"agents.manage": "agents.manage";
|
|
2288
|
+
"channels.manage": "channels.manage";
|
|
2289
|
+
"connections.manage": "connections.manage";
|
|
2290
|
+
"credentials.write": "credentials.write";
|
|
2291
|
+
"messages.send": "messages.send";
|
|
2292
|
+
"notifications.publish": "notifications.publish";
|
|
2293
|
+
"network.request": "network.request";
|
|
2070
2294
|
}>>;
|
|
2071
|
-
|
|
2072
|
-
|
|
2295
|
+
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
2296
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2297
|
+
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2298
|
+
mode: z.ZodLiteral<"domains">;
|
|
2299
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2300
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2301
|
+
mode: z.ZodLiteral<"config">;
|
|
2302
|
+
fields: z.ZodArray<z.ZodString>;
|
|
2303
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2304
|
+
mode: z.ZodLiteral<"unrestricted">;
|
|
2305
|
+
purpose: z.ZodString;
|
|
2306
|
+
}, z.core.$strict>], "mode">>;
|
|
2307
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
2308
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
2309
|
+
channel: "channel";
|
|
2310
|
+
agent: "agent";
|
|
2311
|
+
member: "member";
|
|
2312
|
+
shared: "shared";
|
|
2313
|
+
}>>;
|
|
2314
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2315
|
+
}, z.core.$strict>>;
|
|
2316
|
+
assets: z.ZodOptional<z.ZodObject<{
|
|
2317
|
+
write: z.ZodLiteral<true>;
|
|
2318
|
+
}, z.core.$strict>>;
|
|
2319
|
+
history: z.ZodOptional<z.ZodObject<{
|
|
2320
|
+
read: z.ZodLiteral<true>;
|
|
2321
|
+
}, z.core.$strict>>;
|
|
2322
|
+
inboundHook: z.ZodOptional<z.ZodObject<{
|
|
2323
|
+
reads: z.ZodEnum<{
|
|
2324
|
+
triggered: "triggered";
|
|
2325
|
+
all: "all";
|
|
2326
|
+
}>;
|
|
2327
|
+
mayHide: z.ZodBoolean;
|
|
2328
|
+
mayForceTrigger: z.ZodBoolean;
|
|
2329
|
+
timeoutMs: z.ZodNumber;
|
|
2330
|
+
}, z.core.$strict>>;
|
|
2331
|
+
jobs: z.ZodOptional<z.ZodObject<{
|
|
2332
|
+
declared: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2333
|
+
id: z.ZodString;
|
|
2334
|
+
label: z.ZodString;
|
|
2335
|
+
cron: z.ZodString;
|
|
2336
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
2337
|
+
}, z.core.$strict>>>;
|
|
2338
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
2339
|
+
maxActive: z.ZodNumber;
|
|
2340
|
+
}, z.core.$strict>>;
|
|
2341
|
+
}, z.core.$strict>>;
|
|
2342
|
+
platform: z.ZodOptional<z.ZodObject<{
|
|
2343
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2344
|
+
adapter: z.ZodString;
|
|
2345
|
+
action: z.ZodString;
|
|
2346
|
+
}, z.core.$strict>>>;
|
|
2347
|
+
raw: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2348
|
+
}, z.core.$strict>>;
|
|
2349
|
+
llm: z.ZodOptional<z.ZodObject<{
|
|
2350
|
+
maxCallsPerTurn: z.ZodNumber;
|
|
2351
|
+
maxOutputTokens: z.ZodNumber;
|
|
2352
|
+
}, z.core.$strict>>;
|
|
2353
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
2354
|
+
servers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2355
|
+
transport: z.ZodLiteral<"streamable-http">;
|
|
2356
|
+
name: z.ZodString;
|
|
2357
|
+
url: z.ZodString;
|
|
2358
|
+
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2359
|
+
secret: z.ZodString;
|
|
2360
|
+
}, z.core.$strict>]>>>;
|
|
2361
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2362
|
+
transport: z.ZodLiteral<"stdio">;
|
|
2363
|
+
name: z.ZodString;
|
|
2364
|
+
command: z.ZodString;
|
|
2365
|
+
args: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2366
|
+
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2367
|
+
secret: z.ZodString;
|
|
2368
|
+
}, z.core.$strict>]>>>;
|
|
2369
|
+
}, z.core.$strict>], "transport">>;
|
|
2370
|
+
}, z.core.$strict>>;
|
|
2371
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2372
|
+
name: z.ZodString;
|
|
2373
|
+
kind: z.ZodEnum<{
|
|
2374
|
+
dynamic: "dynamic";
|
|
2375
|
+
static: "static";
|
|
2376
|
+
}>;
|
|
2377
|
+
maxChars: z.ZodNumber;
|
|
2378
|
+
}, z.core.$strict>>>;
|
|
2379
|
+
}, z.core.$strict>>;
|
|
2380
|
+
}, z.core.$strict>;
|
|
2381
|
+
permissionDigest: z.ZodString;
|
|
2382
|
+
approvalRequired: z.ZodBoolean;
|
|
2383
|
+
}, z.core.$strict>>;
|
|
2384
|
+
agentPermission: z.ZodOptional<z.ZodObject<{
|
|
2385
|
+
declaration: z.ZodObject<{
|
|
2386
|
+
permissions: z.ZodArray<z.ZodEnum<{
|
|
2387
|
+
"agents.read": "agents.read";
|
|
2388
|
+
"channels.read": "channels.read";
|
|
2389
|
+
"connections.read": "connections.read";
|
|
2390
|
+
"extensions.read": "extensions.read";
|
|
2391
|
+
"dsh-plugins.read": "dsh-plugins.read";
|
|
2392
|
+
"runtime.read": "runtime.read";
|
|
2393
|
+
"messages.read": "messages.read";
|
|
2394
|
+
"assets.read": "assets.read";
|
|
2395
|
+
"agents.manage": "agents.manage";
|
|
2396
|
+
"channels.manage": "channels.manage";
|
|
2397
|
+
"connections.manage": "connections.manage";
|
|
2398
|
+
"credentials.write": "credentials.write";
|
|
2399
|
+
"messages.send": "messages.send";
|
|
2400
|
+
"notifications.publish": "notifications.publish";
|
|
2401
|
+
"network.request": "network.request";
|
|
2402
|
+
}>>;
|
|
2403
|
+
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
2404
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2405
|
+
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2406
|
+
mode: z.ZodLiteral<"domains">;
|
|
2407
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2408
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2409
|
+
mode: z.ZodLiteral<"config">;
|
|
2410
|
+
fields: z.ZodArray<z.ZodString>;
|
|
2411
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2412
|
+
mode: z.ZodLiteral<"unrestricted">;
|
|
2413
|
+
purpose: z.ZodString;
|
|
2414
|
+
}, z.core.$strict>], "mode">>;
|
|
2415
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
2416
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
2417
|
+
channel: "channel";
|
|
2418
|
+
agent: "agent";
|
|
2419
|
+
member: "member";
|
|
2420
|
+
shared: "shared";
|
|
2421
|
+
}>>;
|
|
2422
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2423
|
+
}, z.core.$strict>>;
|
|
2424
|
+
assets: z.ZodOptional<z.ZodObject<{
|
|
2425
|
+
write: z.ZodLiteral<true>;
|
|
2426
|
+
}, z.core.$strict>>;
|
|
2427
|
+
history: z.ZodOptional<z.ZodObject<{
|
|
2428
|
+
read: z.ZodLiteral<true>;
|
|
2429
|
+
}, z.core.$strict>>;
|
|
2430
|
+
inboundHook: z.ZodOptional<z.ZodObject<{
|
|
2431
|
+
reads: z.ZodEnum<{
|
|
2432
|
+
triggered: "triggered";
|
|
2433
|
+
all: "all";
|
|
2434
|
+
}>;
|
|
2435
|
+
mayHide: z.ZodBoolean;
|
|
2436
|
+
mayForceTrigger: z.ZodBoolean;
|
|
2437
|
+
timeoutMs: z.ZodNumber;
|
|
2438
|
+
}, z.core.$strict>>;
|
|
2439
|
+
jobs: z.ZodOptional<z.ZodObject<{
|
|
2440
|
+
declared: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2441
|
+
id: z.ZodString;
|
|
2442
|
+
label: z.ZodString;
|
|
2443
|
+
cron: z.ZodString;
|
|
2444
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
2445
|
+
}, z.core.$strict>>>;
|
|
2446
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
2447
|
+
maxActive: z.ZodNumber;
|
|
2448
|
+
}, z.core.$strict>>;
|
|
2449
|
+
}, z.core.$strict>>;
|
|
2450
|
+
platform: z.ZodOptional<z.ZodObject<{
|
|
2451
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2452
|
+
adapter: z.ZodString;
|
|
2453
|
+
action: z.ZodString;
|
|
2454
|
+
}, z.core.$strict>>>;
|
|
2455
|
+
raw: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2456
|
+
}, z.core.$strict>>;
|
|
2457
|
+
llm: z.ZodOptional<z.ZodObject<{
|
|
2458
|
+
maxCallsPerTurn: z.ZodNumber;
|
|
2459
|
+
maxOutputTokens: z.ZodNumber;
|
|
2460
|
+
}, z.core.$strict>>;
|
|
2461
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
2462
|
+
servers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2463
|
+
transport: z.ZodLiteral<"streamable-http">;
|
|
2464
|
+
name: z.ZodString;
|
|
2465
|
+
url: z.ZodString;
|
|
2466
|
+
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2467
|
+
secret: z.ZodString;
|
|
2468
|
+
}, z.core.$strict>]>>>;
|
|
2469
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2470
|
+
transport: z.ZodLiteral<"stdio">;
|
|
2471
|
+
name: z.ZodString;
|
|
2472
|
+
command: z.ZodString;
|
|
2473
|
+
args: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2474
|
+
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2475
|
+
secret: z.ZodString;
|
|
2476
|
+
}, z.core.$strict>]>>>;
|
|
2477
|
+
}, z.core.$strict>], "transport">>;
|
|
2478
|
+
}, z.core.$strict>>;
|
|
2479
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2480
|
+
name: z.ZodString;
|
|
2481
|
+
kind: z.ZodEnum<{
|
|
2482
|
+
dynamic: "dynamic";
|
|
2483
|
+
static: "static";
|
|
2484
|
+
}>;
|
|
2485
|
+
maxChars: z.ZodNumber;
|
|
2486
|
+
}, z.core.$strict>>>;
|
|
2487
|
+
}, z.core.$strict>>;
|
|
2488
|
+
}, z.core.$strict>;
|
|
2489
|
+
permissionDigest: z.ZodString;
|
|
2490
|
+
approvalRequired: z.ZodBoolean;
|
|
2491
|
+
}, z.core.$strict>>;
|
|
2492
|
+
adapter: z.ZodOptional<z.ZodObject<{
|
|
2493
|
+
apiVersion: z.ZodLiteral<2>;
|
|
2494
|
+
key: z.ZodString;
|
|
2495
|
+
descriptorDigest: z.ZodString;
|
|
2496
|
+
registered: z.ZodBoolean;
|
|
2497
|
+
started: z.ZodBoolean;
|
|
2498
|
+
stopped: z.ZodBoolean;
|
|
2499
|
+
inboundCommitted: z.ZodBoolean;
|
|
2500
|
+
outboundReceipt: z.ZodEnum<{
|
|
2501
|
+
unknown: "unknown";
|
|
2502
|
+
failed: "failed";
|
|
2503
|
+
sent: "sent";
|
|
2504
|
+
}>;
|
|
2505
|
+
}, z.core.$strict>>;
|
|
2506
|
+
}, z.core.$strict>>;
|
|
2507
|
+
}, z.core.$strict>>;
|
|
2508
|
+
activations: z.ZodArray<z.ZodObject<{
|
|
2509
|
+
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
2510
|
+
extensionRevisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
2511
|
+
config: z.ZodJSONSchema;
|
|
2512
|
+
configuredSecrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2513
|
+
activatedAt: z.ZodNumber;
|
|
2514
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
2515
|
+
status: z.ZodEnum<{
|
|
2516
|
+
active: "active";
|
|
2517
|
+
"restore-failed": "restore-failed";
|
|
2518
|
+
"dispose-failed": "dispose-failed";
|
|
2519
|
+
}>;
|
|
2520
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
observedAt: z.ZodNumber;
|
|
2522
|
+
}, z.core.$strip>>;
|
|
2523
|
+
mcpServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2524
|
+
name: z.ZodString;
|
|
2525
|
+
state: z.ZodEnum<{
|
|
2526
|
+
unavailable: "unavailable";
|
|
2527
|
+
connecting: "connecting";
|
|
2528
|
+
connected: "connected";
|
|
2529
|
+
"missing-credentials": "missing-credentials";
|
|
2530
|
+
}>;
|
|
2531
|
+
toolCount: z.ZodOptional<z.ZodNumber>;
|
|
2532
|
+
missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2533
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
observedAt: z.ZodNumber;
|
|
2535
|
+
}, z.core.$strict>>>;
|
|
2536
|
+
}, z.core.$strict>>;
|
|
2537
|
+
activationTransitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2538
|
+
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
2539
|
+
target: z.ZodEnum<{
|
|
2540
|
+
enabled: "enabled";
|
|
2541
|
+
disabled: "disabled";
|
|
2542
|
+
}>;
|
|
2543
|
+
extensionRevisionId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">>;
|
|
2544
|
+
state: z.ZodEnum<{
|
|
2545
|
+
waiting: "waiting";
|
|
2546
|
+
failed: "failed";
|
|
2547
|
+
}>;
|
|
2548
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2549
|
+
since: z.ZodNumber;
|
|
2550
|
+
}, z.core.$strict>>>;
|
|
2551
|
+
installation: z.ZodOptional<z.ZodObject<{
|
|
2552
|
+
extensionRevisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
2553
|
+
installedAt: z.ZodNumber;
|
|
2554
|
+
config: z.ZodDefault<z.ZodJSONSchema>;
|
|
2555
|
+
configuredSecrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2556
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
2557
|
+
status: z.ZodEnum<{
|
|
2558
|
+
active: "active";
|
|
2559
|
+
"restore-failed": "restore-failed";
|
|
2560
|
+
"dispose-failed": "dispose-failed";
|
|
2561
|
+
}>;
|
|
2562
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2563
|
+
observedAt: z.ZodNumber;
|
|
2564
|
+
}, z.core.$strip>>;
|
|
2565
|
+
}, z.core.$strict>>;
|
|
2566
|
+
hostPermission: z.ZodOptional<z.ZodObject<{
|
|
2567
|
+
declaration: z.ZodObject<{
|
|
2568
|
+
permissions: z.ZodArray<z.ZodEnum<{
|
|
2569
|
+
"agents.read": "agents.read";
|
|
2570
|
+
"channels.read": "channels.read";
|
|
2571
|
+
"connections.read": "connections.read";
|
|
2572
|
+
"extensions.read": "extensions.read";
|
|
2573
|
+
"dsh-plugins.read": "dsh-plugins.read";
|
|
2574
|
+
"runtime.read": "runtime.read";
|
|
2575
|
+
"messages.read": "messages.read";
|
|
2576
|
+
"assets.read": "assets.read";
|
|
2577
|
+
"agents.manage": "agents.manage";
|
|
2578
|
+
"channels.manage": "channels.manage";
|
|
2579
|
+
"connections.manage": "connections.manage";
|
|
2580
|
+
"credentials.write": "credentials.write";
|
|
2581
|
+
"messages.send": "messages.send";
|
|
2582
|
+
"notifications.publish": "notifications.publish";
|
|
2583
|
+
"network.request": "network.request";
|
|
2584
|
+
}>>;
|
|
2585
|
+
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
2586
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2587
|
+
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2588
|
+
mode: z.ZodLiteral<"domains">;
|
|
2589
|
+
domains: z.ZodArray<z.ZodString>;
|
|
2590
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2591
|
+
mode: z.ZodLiteral<"config">;
|
|
2592
|
+
fields: z.ZodArray<z.ZodString>;
|
|
2593
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2594
|
+
mode: z.ZodLiteral<"unrestricted">;
|
|
2595
|
+
purpose: z.ZodString;
|
|
2596
|
+
}, z.core.$strict>], "mode">>;
|
|
2597
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
2598
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
2599
|
+
channel: "channel";
|
|
2600
|
+
agent: "agent";
|
|
2601
|
+
member: "member";
|
|
2602
|
+
shared: "shared";
|
|
2603
|
+
}>>;
|
|
2604
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
2605
|
+
}, z.core.$strict>>;
|
|
2073
2606
|
assets: z.ZodOptional<z.ZodObject<{
|
|
2074
2607
|
write: z.ZodLiteral<true>;
|
|
2075
2608
|
}, z.core.$strict>>;
|
|
@@ -2203,6 +2736,9 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
2203
2736
|
startPath: z.ZodString;
|
|
2204
2737
|
visible: z.ZodBoolean;
|
|
2205
2738
|
sortOrder: z.ZodNumber;
|
|
2739
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
2740
|
+
order: z.ZodNumber;
|
|
2741
|
+
}, z.core.$strict>>;
|
|
2206
2742
|
routeBase: z.ZodString;
|
|
2207
2743
|
client: z.ZodObject<{
|
|
2208
2744
|
moduleUrl: z.ZodString;
|
|
@@ -2623,6 +3159,9 @@ export declare const DshPluginCatalogEntrySchema: z.ZodObject<{
|
|
|
2623
3159
|
navigation: "navigation";
|
|
2624
3160
|
}>;
|
|
2625
3161
|
startPath: z.ZodString;
|
|
3162
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
3163
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
3164
|
+
}, z.core.$strict>>;
|
|
2626
3165
|
}, z.core.$strict>>;
|
|
2627
3166
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
2628
3167
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
@@ -2916,6 +3455,7 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2916
3455
|
sender: z.ZodOptional<z.ZodObject<{
|
|
2917
3456
|
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
2918
3457
|
displayName: z.ZodOptional<z.ZodString>;
|
|
3458
|
+
localAgentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
2919
3459
|
}, z.core.$strict>>;
|
|
2920
3460
|
mentionedConnectionAccount: z.ZodOptional<z.ZodBoolean>;
|
|
2921
3461
|
activityKey: z.ZodOptional<z.ZodString>;
|
|
@@ -3115,6 +3655,13 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3115
3655
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
3116
3656
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
3117
3657
|
triggerEventId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ChannelEventId", "out">>;
|
|
3658
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3659
|
+
messageId: z.ZodString;
|
|
3660
|
+
source: z.ZodString;
|
|
3661
|
+
eventCount: z.ZodOptional<z.ZodNumber>;
|
|
3662
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
3663
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
3664
|
+
}, z.core.$strict>>>;
|
|
3118
3665
|
}, z.core.$strict>>;
|
|
3119
3666
|
revision: z.ZodNumber;
|
|
3120
3667
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3234,6 +3781,16 @@ export declare const LlmProviderCredentialSchema: z.ZodObject<{
|
|
|
3234
3781
|
source: z.ZodOptional<z.ZodString>;
|
|
3235
3782
|
writable: z.ZodBoolean;
|
|
3236
3783
|
}, z.core.$strict>;
|
|
3784
|
+
/**
|
|
3785
|
+
* The latest connection test that still describes the provider's saved address, protocol and API key. Tests made
|
|
3786
|
+
* before one of those changed are dropped. Never carries a key, request or response body.
|
|
3787
|
+
*/
|
|
3788
|
+
export declare const LlmProviderTestResultSchema: z.ZodObject<{
|
|
3789
|
+
at: z.ZodNumber;
|
|
3790
|
+
ok: z.ZodBoolean;
|
|
3791
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3792
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3793
|
+
}, z.core.$strict>;
|
|
3237
3794
|
export declare const LlmProviderViewSchema: z.ZodObject<{
|
|
3238
3795
|
provider: z.ZodString;
|
|
3239
3796
|
displayName: z.ZodString;
|
|
@@ -3262,6 +3819,12 @@ export declare const LlmProviderViewSchema: z.ZodObject<{
|
|
|
3262
3819
|
}, z.core.$strict>>;
|
|
3263
3820
|
modelsCustomized: z.ZodBoolean;
|
|
3264
3821
|
discoverable: z.ZodBoolean;
|
|
3822
|
+
lastTest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3823
|
+
at: z.ZodNumber;
|
|
3824
|
+
ok: z.ZodBoolean;
|
|
3825
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3826
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3827
|
+
}, z.core.$strict>>>;
|
|
3265
3828
|
}, z.core.$strict>;
|
|
3266
3829
|
export declare const LlmProviderSettingsSchema: z.ZodObject<{
|
|
3267
3830
|
writable: z.ZodBoolean;
|
|
@@ -3294,6 +3857,12 @@ export declare const LlmProviderSettingsSchema: z.ZodObject<{
|
|
|
3294
3857
|
}, z.core.$strict>>;
|
|
3295
3858
|
modelsCustomized: z.ZodBoolean;
|
|
3296
3859
|
discoverable: z.ZodBoolean;
|
|
3860
|
+
lastTest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3861
|
+
at: z.ZodNumber;
|
|
3862
|
+
ok: z.ZodBoolean;
|
|
3863
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3864
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3865
|
+
}, z.core.$strict>>>;
|
|
3297
3866
|
}, z.core.$strict>>;
|
|
3298
3867
|
}, z.core.$strict>;
|
|
3299
3868
|
export declare const ConnectionTestResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3346,20 +3915,21 @@ export declare const ExtensionImportInspectionSchema: z.ZodObject<{
|
|
|
3346
3915
|
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
3347
3916
|
slug: z.ZodString;
|
|
3348
3917
|
displayName: z.ZodString;
|
|
3349
|
-
|
|
3918
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
3350
3919
|
agent: "agent";
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3920
|
+
adapter: "adapter";
|
|
3921
|
+
mcp: "mcp";
|
|
3922
|
+
page: "page";
|
|
3923
|
+
}>>;
|
|
3354
3924
|
idempotent: z.ZodBoolean;
|
|
3355
3925
|
slugConflict: z.ZodBoolean;
|
|
3356
3926
|
}, z.core.$strict>;
|
|
3357
3927
|
export declare const AgentRevisionChangedFieldSchema: z.ZodEnum<{
|
|
3358
3928
|
name: "name";
|
|
3359
|
-
capabilities: "capabilities";
|
|
3360
|
-
approvalPolicy: "approvalPolicy";
|
|
3361
3929
|
model: "model";
|
|
3362
3930
|
persona: "persona";
|
|
3931
|
+
capabilities: "capabilities";
|
|
3932
|
+
approvalPolicy: "approvalPolicy";
|
|
3363
3933
|
imagePolicy: "imagePolicy";
|
|
3364
3934
|
}>;
|
|
3365
3935
|
export declare const AgentRevisionHistorySchema: z.ZodObject<{
|
|
@@ -3376,10 +3946,10 @@ export declare const AgentRevisionHistorySchema: z.ZodObject<{
|
|
|
3376
3946
|
}, z.core.$strict>;
|
|
3377
3947
|
changedFields: z.ZodArray<z.ZodEnum<{
|
|
3378
3948
|
name: "name";
|
|
3379
|
-
capabilities: "capabilities";
|
|
3380
|
-
approvalPolicy: "approvalPolicy";
|
|
3381
3949
|
model: "model";
|
|
3382
3950
|
persona: "persona";
|
|
3951
|
+
capabilities: "capabilities";
|
|
3952
|
+
approvalPolicy: "approvalPolicy";
|
|
3383
3953
|
imagePolicy: "imagePolicy";
|
|
3384
3954
|
}>>;
|
|
3385
3955
|
current: z.ZodBoolean;
|
|
@@ -3785,6 +4355,7 @@ export declare const HostApiContracts: {
|
|
|
3785
4355
|
unreadCount: z.ZodNumber;
|
|
3786
4356
|
unreadCapped: z.ZodBoolean;
|
|
3787
4357
|
}, z.core.$strict>>;
|
|
4358
|
+
localAgentIds: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>>;
|
|
3788
4359
|
bindings: z.ZodArray<z.ZodObject<{
|
|
3789
4360
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
3790
4361
|
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
@@ -3798,6 +4369,10 @@ export declare const HostApiContracts: {
|
|
|
3798
4369
|
auto: "auto";
|
|
3799
4370
|
off: "off";
|
|
3800
4371
|
}>>;
|
|
4372
|
+
localAgentMessages: z.ZodOptional<z.ZodEnum<{
|
|
4373
|
+
trigger: "trigger";
|
|
4374
|
+
observe: "observe";
|
|
4375
|
+
}>>;
|
|
3801
4376
|
activityTriggerOverrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
3802
4377
|
boundAt: z.ZodNumber;
|
|
3803
4378
|
}, z.core.$strict>>;
|
|
@@ -3850,6 +4425,7 @@ export declare const HostApiContracts: {
|
|
|
3850
4425
|
sender: z.ZodOptional<z.ZodObject<{
|
|
3851
4426
|
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
3852
4427
|
displayName: z.ZodOptional<z.ZodString>;
|
|
4428
|
+
localAgentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
3853
4429
|
}, z.core.$strict>>;
|
|
3854
4430
|
mentionedConnectionAccount: z.ZodOptional<z.ZodBoolean>;
|
|
3855
4431
|
activityKey: z.ZodOptional<z.ZodString>;
|
|
@@ -4009,11 +4585,12 @@ export declare const HostApiContracts: {
|
|
|
4009
4585
|
}, z.core.$strict>>>;
|
|
4010
4586
|
extensions: z.ZodArray<z.ZodObject<{
|
|
4011
4587
|
id: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
4012
|
-
|
|
4588
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
4013
4589
|
agent: "agent";
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4590
|
+
adapter: "adapter";
|
|
4591
|
+
mcp: "mcp";
|
|
4592
|
+
page: "page";
|
|
4593
|
+
}>>;
|
|
4017
4594
|
slug: z.ZodString;
|
|
4018
4595
|
displayName: z.ZodString;
|
|
4019
4596
|
description: z.ZodString;
|
|
@@ -4071,7 +4648,7 @@ export declare const HostApiContracts: {
|
|
|
4071
4648
|
toolViews: z.ZodArray<z.ZodString>;
|
|
4072
4649
|
messageRenderers: z.ZodArray<z.ZodString>;
|
|
4073
4650
|
}, z.core.$strict>>;
|
|
4074
|
-
|
|
4651
|
+
hostConfigSchema: z.ZodOptional<z.ZodType<import("./config-schema.js").ConfigSchemaNode, unknown, z.core.$ZodTypeInternals<import("./config-schema.js").ConfigSchemaNode, unknown>> & z.ZodType<{
|
|
4075
4652
|
readonly type: "object";
|
|
4076
4653
|
readonly dict: Readonly<Record<string, import("./config-schema.js").ConfigSchemaNode>>;
|
|
4077
4654
|
readonly meta?: import("./config-schema.js").ConfigSchemaMeta | undefined;
|
|
@@ -4080,12 +4657,31 @@ export declare const HostApiContracts: {
|
|
|
4080
4657
|
readonly dict: Readonly<Record<string, import("./config-schema.js").ConfigSchemaNode>>;
|
|
4081
4658
|
readonly meta?: import("./config-schema.js").ConfigSchemaMeta | undefined;
|
|
4082
4659
|
}, unknown>>>;
|
|
4660
|
+
agentConfigSchema: z.ZodOptional<z.ZodType<import("./config-schema.js").ConfigSchemaNode, unknown, z.core.$ZodTypeInternals<import("./config-schema.js").ConfigSchemaNode, unknown>> & z.ZodType<{
|
|
4661
|
+
readonly type: "object";
|
|
4662
|
+
readonly dict: Readonly<Record<string, import("./config-schema.js").ConfigSchemaNode>>;
|
|
4663
|
+
readonly meta?: import("./config-schema.js").ConfigSchemaMeta | undefined;
|
|
4664
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
4665
|
+
readonly type: "object";
|
|
4666
|
+
readonly dict: Readonly<Record<string, import("./config-schema.js").ConfigSchemaNode>>;
|
|
4667
|
+
readonly meta?: import("./config-schema.js").ConfigSchemaMeta | undefined;
|
|
4668
|
+
}, unknown>>>;
|
|
4669
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
4083
4670
|
createdAt: z.ZodNumber;
|
|
4084
|
-
|
|
4671
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
4672
|
+
kind: z.ZodLiteral<"community">;
|
|
4673
|
+
communityUrl: z.ZodString;
|
|
4674
|
+
releaseId: z.ZodString;
|
|
4675
|
+
publisherHandle: z.ZodString;
|
|
4676
|
+
installedAt: z.ZodNumber;
|
|
4677
|
+
}, z.core.$strip>>;
|
|
4678
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
4085
4679
|
agent: "agent";
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4680
|
+
adapter: "adapter";
|
|
4681
|
+
mcp: "mcp";
|
|
4682
|
+
page: "page";
|
|
4683
|
+
}>>;
|
|
4684
|
+
agentLayer: z.ZodBoolean;
|
|
4089
4685
|
contributions: z.ZodArray<z.ZodString>;
|
|
4090
4686
|
verification: z.ZodOptional<z.ZodObject<{
|
|
4091
4687
|
verifiedAt: z.ZodNumber;
|
|
@@ -4131,6 +4727,9 @@ export declare const HostApiContracts: {
|
|
|
4131
4727
|
navigation: "navigation";
|
|
4132
4728
|
}>;
|
|
4133
4729
|
startPath: z.ZodString;
|
|
4730
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
4731
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4732
|
+
}, z.core.$strict>>;
|
|
4134
4733
|
}, z.core.$strict>>>;
|
|
4135
4734
|
usedUiComponents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4136
4735
|
Button: "Button";
|
|
@@ -4179,7 +4778,7 @@ export declare const HostApiContracts: {
|
|
|
4179
4778
|
titleDistinct: z.ZodBoolean;
|
|
4180
4779
|
}, z.core.$strict>>>;
|
|
4181
4780
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
4182
|
-
permissions: z.ZodArray<z.ZodEnum<{
|
|
4781
|
+
permissions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4183
4782
|
"agents.read": "agents.read";
|
|
4184
4783
|
"channels.read": "channels.read";
|
|
4185
4784
|
"connections.read": "connections.read";
|
|
@@ -4195,9 +4794,24 @@ export declare const HostApiContracts: {
|
|
|
4195
4794
|
"messages.send": "messages.send";
|
|
4196
4795
|
"notifications.publish": "notifications.publish";
|
|
4197
4796
|
"network.request": "network.request";
|
|
4198
|
-
}
|
|
4797
|
+
}>>>;
|
|
4199
4798
|
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
4200
|
-
|
|
4799
|
+
host: z.ZodOptional<z.ZodObject<{
|
|
4800
|
+
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4801
|
+
mode: z.ZodLiteral<"domains">;
|
|
4802
|
+
domains: z.ZodArray<z.ZodString>;
|
|
4803
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4804
|
+
mode: z.ZodLiteral<"config">;
|
|
4805
|
+
fields: z.ZodArray<z.ZodString>;
|
|
4806
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4807
|
+
mode: z.ZodLiteral<"unrestricted">;
|
|
4808
|
+
purpose: z.ZodString;
|
|
4809
|
+
}, z.core.$strict>], "mode">>;
|
|
4810
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
4811
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4812
|
+
}, z.core.$strict>>;
|
|
4813
|
+
}, z.core.$strict>>;
|
|
4814
|
+
agent: z.ZodOptional<z.ZodObject<{
|
|
4201
4815
|
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4202
4816
|
mode: z.ZodLiteral<"domains">;
|
|
4203
4817
|
domains: z.ZodArray<z.ZodString>;
|
|
@@ -4282,8 +4896,222 @@ export declare const HostApiContracts: {
|
|
|
4282
4896
|
}, z.core.$strict>>>;
|
|
4283
4897
|
}, z.core.$strict>>;
|
|
4284
4898
|
}, z.core.$strict>>;
|
|
4285
|
-
|
|
4286
|
-
|
|
4899
|
+
hostPermission: z.ZodOptional<z.ZodObject<{
|
|
4900
|
+
declaration: z.ZodObject<{
|
|
4901
|
+
permissions: z.ZodArray<z.ZodEnum<{
|
|
4902
|
+
"agents.read": "agents.read";
|
|
4903
|
+
"channels.read": "channels.read";
|
|
4904
|
+
"connections.read": "connections.read";
|
|
4905
|
+
"extensions.read": "extensions.read";
|
|
4906
|
+
"dsh-plugins.read": "dsh-plugins.read";
|
|
4907
|
+
"runtime.read": "runtime.read";
|
|
4908
|
+
"messages.read": "messages.read";
|
|
4909
|
+
"assets.read": "assets.read";
|
|
4910
|
+
"agents.manage": "agents.manage";
|
|
4911
|
+
"channels.manage": "channels.manage";
|
|
4912
|
+
"connections.manage": "connections.manage";
|
|
4913
|
+
"credentials.write": "credentials.write";
|
|
4914
|
+
"messages.send": "messages.send";
|
|
4915
|
+
"notifications.publish": "notifications.publish";
|
|
4916
|
+
"network.request": "network.request";
|
|
4917
|
+
}>>;
|
|
4918
|
+
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
4919
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
4920
|
+
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4921
|
+
mode: z.ZodLiteral<"domains">;
|
|
4922
|
+
domains: z.ZodArray<z.ZodString>;
|
|
4923
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4924
|
+
mode: z.ZodLiteral<"config">;
|
|
4925
|
+
fields: z.ZodArray<z.ZodString>;
|
|
4926
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4927
|
+
mode: z.ZodLiteral<"unrestricted">;
|
|
4928
|
+
purpose: z.ZodString;
|
|
4929
|
+
}, z.core.$strict>], "mode">>;
|
|
4930
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
4931
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
4932
|
+
channel: "channel";
|
|
4933
|
+
agent: "agent";
|
|
4934
|
+
member: "member";
|
|
4935
|
+
shared: "shared";
|
|
4936
|
+
}>>;
|
|
4937
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
4938
|
+
}, z.core.$strict>>;
|
|
4939
|
+
assets: z.ZodOptional<z.ZodObject<{
|
|
4940
|
+
write: z.ZodLiteral<true>;
|
|
4941
|
+
}, z.core.$strict>>;
|
|
4942
|
+
history: z.ZodOptional<z.ZodObject<{
|
|
4943
|
+
read: z.ZodLiteral<true>;
|
|
4944
|
+
}, z.core.$strict>>;
|
|
4945
|
+
inboundHook: z.ZodOptional<z.ZodObject<{
|
|
4946
|
+
reads: z.ZodEnum<{
|
|
4947
|
+
triggered: "triggered";
|
|
4948
|
+
all: "all";
|
|
4949
|
+
}>;
|
|
4950
|
+
mayHide: z.ZodBoolean;
|
|
4951
|
+
mayForceTrigger: z.ZodBoolean;
|
|
4952
|
+
timeoutMs: z.ZodNumber;
|
|
4953
|
+
}, z.core.$strict>>;
|
|
4954
|
+
jobs: z.ZodOptional<z.ZodObject<{
|
|
4955
|
+
declared: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4956
|
+
id: z.ZodString;
|
|
4957
|
+
label: z.ZodString;
|
|
4958
|
+
cron: z.ZodString;
|
|
4959
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
4960
|
+
}, z.core.$strict>>>;
|
|
4961
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
4962
|
+
maxActive: z.ZodNumber;
|
|
4963
|
+
}, z.core.$strict>>;
|
|
4964
|
+
}, z.core.$strict>>;
|
|
4965
|
+
platform: z.ZodOptional<z.ZodObject<{
|
|
4966
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4967
|
+
adapter: z.ZodString;
|
|
4968
|
+
action: z.ZodString;
|
|
4969
|
+
}, z.core.$strict>>>;
|
|
4970
|
+
raw: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4971
|
+
}, z.core.$strict>>;
|
|
4972
|
+
llm: z.ZodOptional<z.ZodObject<{
|
|
4973
|
+
maxCallsPerTurn: z.ZodNumber;
|
|
4974
|
+
maxOutputTokens: z.ZodNumber;
|
|
4975
|
+
}, z.core.$strict>>;
|
|
4976
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
4977
|
+
servers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4978
|
+
transport: z.ZodLiteral<"streamable-http">;
|
|
4979
|
+
name: z.ZodString;
|
|
4980
|
+
url: z.ZodString;
|
|
4981
|
+
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4982
|
+
secret: z.ZodString;
|
|
4983
|
+
}, z.core.$strict>]>>>;
|
|
4984
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4985
|
+
transport: z.ZodLiteral<"stdio">;
|
|
4986
|
+
name: z.ZodString;
|
|
4987
|
+
command: z.ZodString;
|
|
4988
|
+
args: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4989
|
+
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4990
|
+
secret: z.ZodString;
|
|
4991
|
+
}, z.core.$strict>]>>>;
|
|
4992
|
+
}, z.core.$strict>], "transport">>;
|
|
4993
|
+
}, z.core.$strict>>;
|
|
4994
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4995
|
+
name: z.ZodString;
|
|
4996
|
+
kind: z.ZodEnum<{
|
|
4997
|
+
dynamic: "dynamic";
|
|
4998
|
+
static: "static";
|
|
4999
|
+
}>;
|
|
5000
|
+
maxChars: z.ZodNumber;
|
|
5001
|
+
}, z.core.$strict>>>;
|
|
5002
|
+
}, z.core.$strict>>;
|
|
5003
|
+
}, z.core.$strict>;
|
|
5004
|
+
permissionDigest: z.ZodString;
|
|
5005
|
+
approvalRequired: z.ZodBoolean;
|
|
5006
|
+
}, z.core.$strict>>;
|
|
5007
|
+
agentPermission: z.ZodOptional<z.ZodObject<{
|
|
5008
|
+
declaration: z.ZodObject<{
|
|
5009
|
+
permissions: z.ZodArray<z.ZodEnum<{
|
|
5010
|
+
"agents.read": "agents.read";
|
|
5011
|
+
"channels.read": "channels.read";
|
|
5012
|
+
"connections.read": "connections.read";
|
|
5013
|
+
"extensions.read": "extensions.read";
|
|
5014
|
+
"dsh-plugins.read": "dsh-plugins.read";
|
|
5015
|
+
"runtime.read": "runtime.read";
|
|
5016
|
+
"messages.read": "messages.read";
|
|
5017
|
+
"assets.read": "assets.read";
|
|
5018
|
+
"agents.manage": "agents.manage";
|
|
5019
|
+
"channels.manage": "channels.manage";
|
|
5020
|
+
"connections.manage": "connections.manage";
|
|
5021
|
+
"credentials.write": "credentials.write";
|
|
5022
|
+
"messages.send": "messages.send";
|
|
5023
|
+
"notifications.publish": "notifications.publish";
|
|
5024
|
+
"network.request": "network.request";
|
|
5025
|
+
}>>;
|
|
5026
|
+
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
5027
|
+
capabilities: z.ZodOptional<z.ZodObject<{
|
|
5028
|
+
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5029
|
+
mode: z.ZodLiteral<"domains">;
|
|
5030
|
+
domains: z.ZodArray<z.ZodString>;
|
|
5031
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5032
|
+
mode: z.ZodLiteral<"config">;
|
|
5033
|
+
fields: z.ZodArray<z.ZodString>;
|
|
5034
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5035
|
+
mode: z.ZodLiteral<"unrestricted">;
|
|
5036
|
+
purpose: z.ZodString;
|
|
5037
|
+
}, z.core.$strict>], "mode">>;
|
|
5038
|
+
storage: z.ZodOptional<z.ZodObject<{
|
|
5039
|
+
scopes: z.ZodArray<z.ZodEnum<{
|
|
5040
|
+
channel: "channel";
|
|
5041
|
+
agent: "agent";
|
|
5042
|
+
member: "member";
|
|
5043
|
+
shared: "shared";
|
|
5044
|
+
}>>;
|
|
5045
|
+
quotaBytes: z.ZodOptional<z.ZodNumber>;
|
|
5046
|
+
}, z.core.$strict>>;
|
|
5047
|
+
assets: z.ZodOptional<z.ZodObject<{
|
|
5048
|
+
write: z.ZodLiteral<true>;
|
|
5049
|
+
}, z.core.$strict>>;
|
|
5050
|
+
history: z.ZodOptional<z.ZodObject<{
|
|
5051
|
+
read: z.ZodLiteral<true>;
|
|
5052
|
+
}, z.core.$strict>>;
|
|
5053
|
+
inboundHook: z.ZodOptional<z.ZodObject<{
|
|
5054
|
+
reads: z.ZodEnum<{
|
|
5055
|
+
triggered: "triggered";
|
|
5056
|
+
all: "all";
|
|
5057
|
+
}>;
|
|
5058
|
+
mayHide: z.ZodBoolean;
|
|
5059
|
+
mayForceTrigger: z.ZodBoolean;
|
|
5060
|
+
timeoutMs: z.ZodNumber;
|
|
5061
|
+
}, z.core.$strict>>;
|
|
5062
|
+
jobs: z.ZodOptional<z.ZodObject<{
|
|
5063
|
+
declared: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5064
|
+
id: z.ZodString;
|
|
5065
|
+
label: z.ZodString;
|
|
5066
|
+
cron: z.ZodString;
|
|
5067
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
5068
|
+
}, z.core.$strict>>>;
|
|
5069
|
+
runtime: z.ZodOptional<z.ZodObject<{
|
|
5070
|
+
maxActive: z.ZodNumber;
|
|
5071
|
+
}, z.core.$strict>>;
|
|
5072
|
+
}, z.core.$strict>>;
|
|
5073
|
+
platform: z.ZodOptional<z.ZodObject<{
|
|
5074
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5075
|
+
adapter: z.ZodString;
|
|
5076
|
+
action: z.ZodString;
|
|
5077
|
+
}, z.core.$strict>>>;
|
|
5078
|
+
raw: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5079
|
+
}, z.core.$strict>>;
|
|
5080
|
+
llm: z.ZodOptional<z.ZodObject<{
|
|
5081
|
+
maxCallsPerTurn: z.ZodNumber;
|
|
5082
|
+
maxOutputTokens: z.ZodNumber;
|
|
5083
|
+
}, z.core.$strict>>;
|
|
5084
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
5085
|
+
servers: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5086
|
+
transport: z.ZodLiteral<"streamable-http">;
|
|
5087
|
+
name: z.ZodString;
|
|
5088
|
+
url: z.ZodString;
|
|
5089
|
+
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5090
|
+
secret: z.ZodString;
|
|
5091
|
+
}, z.core.$strict>]>>>;
|
|
5092
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5093
|
+
transport: z.ZodLiteral<"stdio">;
|
|
5094
|
+
name: z.ZodString;
|
|
5095
|
+
command: z.ZodString;
|
|
5096
|
+
args: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5097
|
+
env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5098
|
+
secret: z.ZodString;
|
|
5099
|
+
}, z.core.$strict>]>>>;
|
|
5100
|
+
}, z.core.$strict>], "transport">>;
|
|
5101
|
+
}, z.core.$strict>>;
|
|
5102
|
+
context: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5103
|
+
name: z.ZodString;
|
|
5104
|
+
kind: z.ZodEnum<{
|
|
5105
|
+
dynamic: "dynamic";
|
|
5106
|
+
static: "static";
|
|
5107
|
+
}>;
|
|
5108
|
+
maxChars: z.ZodNumber;
|
|
5109
|
+
}, z.core.$strict>>>;
|
|
5110
|
+
}, z.core.$strict>>;
|
|
5111
|
+
}, z.core.$strict>;
|
|
5112
|
+
permissionDigest: z.ZodString;
|
|
5113
|
+
approvalRequired: z.ZodBoolean;
|
|
5114
|
+
}, z.core.$strict>>;
|
|
4287
5115
|
adapter: z.ZodOptional<z.ZodObject<{
|
|
4288
5116
|
apiVersion: z.ZodLiteral<2>;
|
|
4289
5117
|
key: z.ZodString;
|
|
@@ -4329,10 +5157,25 @@ export declare const HostApiContracts: {
|
|
|
4329
5157
|
observedAt: z.ZodNumber;
|
|
4330
5158
|
}, z.core.$strict>>>;
|
|
4331
5159
|
}, z.core.$strict>>;
|
|
5160
|
+
activationTransitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5161
|
+
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
5162
|
+
target: z.ZodEnum<{
|
|
5163
|
+
enabled: "enabled";
|
|
5164
|
+
disabled: "disabled";
|
|
5165
|
+
}>;
|
|
5166
|
+
extensionRevisionId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">>;
|
|
5167
|
+
state: z.ZodEnum<{
|
|
5168
|
+
waiting: "waiting";
|
|
5169
|
+
failed: "failed";
|
|
5170
|
+
}>;
|
|
5171
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5172
|
+
since: z.ZodNumber;
|
|
5173
|
+
}, z.core.$strict>>>;
|
|
4332
5174
|
installation: z.ZodOptional<z.ZodObject<{
|
|
4333
5175
|
extensionRevisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
4334
5176
|
installedAt: z.ZodNumber;
|
|
4335
5177
|
config: z.ZodDefault<z.ZodJSONSchema>;
|
|
5178
|
+
configuredSecrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4336
5179
|
runtime: z.ZodOptional<z.ZodObject<{
|
|
4337
5180
|
status: z.ZodEnum<{
|
|
4338
5181
|
active: "active";
|
|
@@ -4343,7 +5186,7 @@ export declare const HostApiContracts: {
|
|
|
4343
5186
|
observedAt: z.ZodNumber;
|
|
4344
5187
|
}, z.core.$strip>>;
|
|
4345
5188
|
}, z.core.$strict>>;
|
|
4346
|
-
|
|
5189
|
+
hostPermission: z.ZodOptional<z.ZodObject<{
|
|
4347
5190
|
declaration: z.ZodObject<{
|
|
4348
5191
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
4349
5192
|
"agents.read": "agents.read";
|
|
@@ -4516,6 +5359,9 @@ export declare const HostApiContracts: {
|
|
|
4516
5359
|
startPath: z.ZodString;
|
|
4517
5360
|
visible: z.ZodBoolean;
|
|
4518
5361
|
sortOrder: z.ZodNumber;
|
|
5362
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
5363
|
+
order: z.ZodNumber;
|
|
5364
|
+
}, z.core.$strict>>;
|
|
4519
5365
|
routeBase: z.ZodString;
|
|
4520
5366
|
client: z.ZodObject<{
|
|
4521
5367
|
moduleUrl: z.ZodString;
|
|
@@ -6162,6 +7008,10 @@ export declare const HostApiContracts: {
|
|
|
6162
7008
|
auto: "auto";
|
|
6163
7009
|
off: "off";
|
|
6164
7010
|
}>>;
|
|
7011
|
+
localAgentMessages: z.ZodOptional<z.ZodEnum<{
|
|
7012
|
+
trigger: "trigger";
|
|
7013
|
+
observe: "observe";
|
|
7014
|
+
}>>;
|
|
6165
7015
|
activityTriggerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
6166
7016
|
}, z.core.$strict>, z.ZodObject<{
|
|
6167
7017
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
@@ -6176,6 +7026,10 @@ export declare const HostApiContracts: {
|
|
|
6176
7026
|
auto: "auto";
|
|
6177
7027
|
off: "off";
|
|
6178
7028
|
}>>;
|
|
7029
|
+
localAgentMessages: z.ZodOptional<z.ZodEnum<{
|
|
7030
|
+
trigger: "trigger";
|
|
7031
|
+
observe: "observe";
|
|
7032
|
+
}>>;
|
|
6179
7033
|
activityTriggerOverrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
6180
7034
|
boundAt: z.ZodNumber;
|
|
6181
7035
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -6258,6 +7112,7 @@ export declare const HostApiContracts: {
|
|
|
6258
7112
|
sender: z.ZodOptional<z.ZodObject<{
|
|
6259
7113
|
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
6260
7114
|
displayName: z.ZodOptional<z.ZodString>;
|
|
7115
|
+
localAgentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
6261
7116
|
}, z.core.$strict>>;
|
|
6262
7117
|
mentionedConnectionAccount: z.ZodOptional<z.ZodBoolean>;
|
|
6263
7118
|
activityKey: z.ZodOptional<z.ZodString>;
|
|
@@ -6484,6 +7339,13 @@ export declare const HostApiContracts: {
|
|
|
6484
7339
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
6485
7340
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
6486
7341
|
triggerEventId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ChannelEventId", "out">>;
|
|
7342
|
+
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7343
|
+
messageId: z.ZodString;
|
|
7344
|
+
source: z.ZodString;
|
|
7345
|
+
eventCount: z.ZodOptional<z.ZodNumber>;
|
|
7346
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
7347
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
7348
|
+
}, z.core.$strict>>>;
|
|
6487
7349
|
}, z.core.$strict>>;
|
|
6488
7350
|
cursor: z.ZodObject<{
|
|
6489
7351
|
epoch: z.ZodString;
|
|
@@ -6495,17 +7357,236 @@ export declare const HostApiContracts: {
|
|
|
6495
7357
|
message: z.ZodString;
|
|
6496
7358
|
}, z.core.$strict>;
|
|
6497
7359
|
}, z.core.$strict>>;
|
|
6498
|
-
readonly getChannelToolCall: HostApiContract<"GET", z.ZodObject<{
|
|
7360
|
+
readonly getChannelToolCall: HostApiContract<"GET", z.ZodObject<{
|
|
7361
|
+
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7362
|
+
callId: z.ZodString;
|
|
7363
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7364
|
+
callId: z.ZodString;
|
|
7365
|
+
available: z.ZodBoolean;
|
|
7366
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7367
|
+
input: z.ZodOptional<z.ZodString>;
|
|
7368
|
+
result: z.ZodOptional<z.ZodString>;
|
|
7369
|
+
inputTruncated: z.ZodBoolean;
|
|
7370
|
+
resultTruncated: z.ZodBoolean;
|
|
7371
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7372
|
+
error: z.ZodObject<{
|
|
7373
|
+
code: z.ZodString;
|
|
7374
|
+
message: z.ZodString;
|
|
7375
|
+
}, z.core.$strict>;
|
|
7376
|
+
}, z.core.$strict>>;
|
|
7377
|
+
readonly getChannelRuntimeContext: HostApiContract<"GET", z.ZodObject<{
|
|
7378
|
+
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7379
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7380
|
+
available: z.ZodBoolean;
|
|
7381
|
+
route: z.ZodOptional<z.ZodObject<{
|
|
7382
|
+
provider: z.ZodString;
|
|
7383
|
+
model: z.ZodString;
|
|
7384
|
+
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
7385
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
7386
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
7387
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
7388
|
+
}, z.core.$strict>>;
|
|
7389
|
+
instructions: z.ZodArray<z.ZodObject<{
|
|
7390
|
+
role: z.ZodEnum<{
|
|
7391
|
+
system: "system";
|
|
7392
|
+
developer: "developer";
|
|
7393
|
+
}>;
|
|
7394
|
+
text: z.ZodString;
|
|
7395
|
+
truncated: z.ZodBoolean;
|
|
7396
|
+
}, z.core.$strict>>;
|
|
7397
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
7398
|
+
name: z.ZodString;
|
|
7399
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7400
|
+
parameters: z.ZodOptional<z.ZodString>;
|
|
7401
|
+
}, z.core.$strict>>;
|
|
7402
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
7403
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
7404
|
+
reason: z.ZodEnum<{
|
|
7405
|
+
initial: "initial";
|
|
7406
|
+
resume: "resume";
|
|
7407
|
+
change: "change";
|
|
7408
|
+
series: "series";
|
|
7409
|
+
}>;
|
|
7410
|
+
toolCount: z.ZodNumber;
|
|
7411
|
+
}, z.core.$strict>>;
|
|
7412
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7413
|
+
error: z.ZodObject<{
|
|
7414
|
+
code: z.ZodString;
|
|
7415
|
+
message: z.ZodString;
|
|
7416
|
+
}, z.core.$strict>;
|
|
7417
|
+
}, z.core.$strict>>;
|
|
7418
|
+
readonly getChannelRuntimeInput: HostApiContract<"GET", z.ZodObject<{
|
|
7419
|
+
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7420
|
+
messageId: z.ZodString;
|
|
7421
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7422
|
+
messageId: z.ZodString;
|
|
7423
|
+
available: z.ZodBoolean;
|
|
7424
|
+
source: z.ZodOptional<z.ZodString>;
|
|
7425
|
+
text: z.ZodOptional<z.ZodString>;
|
|
7426
|
+
truncated: z.ZodBoolean;
|
|
7427
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7428
|
+
error: z.ZodObject<{
|
|
7429
|
+
code: z.ZodString;
|
|
7430
|
+
message: z.ZodString;
|
|
7431
|
+
}, z.core.$strict>;
|
|
7432
|
+
}, z.core.$strict>>;
|
|
7433
|
+
readonly getChannelPrompt: HostApiContract<"GET", z.ZodObject<{
|
|
7434
|
+
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7435
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7436
|
+
document: z.ZodObject<{
|
|
7437
|
+
version: z.ZodLiteral<1>;
|
|
7438
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7439
|
+
type: z.ZodLiteral<"text">;
|
|
7440
|
+
text: z.ZodString;
|
|
7441
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7442
|
+
type: z.ZodLiteral<"reference">;
|
|
7443
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
7444
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
7445
|
+
labelSnapshot: z.ZodString;
|
|
7446
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7447
|
+
type: z.ZodLiteral<"reference">;
|
|
7448
|
+
kind: z.ZodLiteral<"channel">;
|
|
7449
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7450
|
+
labelSnapshot: z.ZodString;
|
|
7451
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7452
|
+
type: z.ZodLiteral<"reference">;
|
|
7453
|
+
kind: z.ZodLiteral<"extension">;
|
|
7454
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7455
|
+
labelSnapshot: z.ZodString;
|
|
7456
|
+
}, z.core.$strict>], "kind">]>>;
|
|
7457
|
+
}, z.core.$strict>;
|
|
7458
|
+
locked: z.ZodBoolean;
|
|
7459
|
+
revision: z.ZodNumber;
|
|
7460
|
+
maxChars: z.ZodNumber;
|
|
7461
|
+
updatedBy: z.ZodOptional<z.ZodEnum<{
|
|
7462
|
+
agent: "agent";
|
|
7463
|
+
admin: "admin";
|
|
7464
|
+
}>>;
|
|
7465
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
7466
|
+
revisions: z.ZodArray<z.ZodObject<{
|
|
7467
|
+
revision: z.ZodNumber;
|
|
7468
|
+
document: z.ZodObject<{
|
|
7469
|
+
version: z.ZodLiteral<1>;
|
|
7470
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7471
|
+
type: z.ZodLiteral<"text">;
|
|
7472
|
+
text: z.ZodString;
|
|
7473
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7474
|
+
type: z.ZodLiteral<"reference">;
|
|
7475
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
7476
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
7477
|
+
labelSnapshot: z.ZodString;
|
|
7478
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7479
|
+
type: z.ZodLiteral<"reference">;
|
|
7480
|
+
kind: z.ZodLiteral<"channel">;
|
|
7481
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7482
|
+
labelSnapshot: z.ZodString;
|
|
7483
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7484
|
+
type: z.ZodLiteral<"reference">;
|
|
7485
|
+
kind: z.ZodLiteral<"extension">;
|
|
7486
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7487
|
+
labelSnapshot: z.ZodString;
|
|
7488
|
+
}, z.core.$strict>], "kind">]>>;
|
|
7489
|
+
}, z.core.$strict>;
|
|
7490
|
+
updatedBy: z.ZodEnum<{
|
|
7491
|
+
agent: "agent";
|
|
7492
|
+
admin: "admin";
|
|
7493
|
+
}>;
|
|
7494
|
+
updatedAt: z.ZodNumber;
|
|
7495
|
+
}, z.core.$strict>>;
|
|
7496
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7497
|
+
error: z.ZodObject<{
|
|
7498
|
+
code: z.ZodString;
|
|
7499
|
+
message: z.ZodString;
|
|
7500
|
+
}, z.core.$strict>;
|
|
7501
|
+
}, z.core.$strict>>;
|
|
7502
|
+
readonly updateChannelPrompt: HostApiContract<"PUT", z.ZodObject<{
|
|
6499
7503
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
7504
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7505
|
+
document: z.ZodObject<{
|
|
7506
|
+
version: z.ZodLiteral<1>;
|
|
7507
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7508
|
+
type: z.ZodLiteral<"text">;
|
|
7509
|
+
text: z.ZodString;
|
|
7510
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7511
|
+
type: z.ZodLiteral<"reference">;
|
|
7512
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
7513
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
7514
|
+
labelSnapshot: z.ZodString;
|
|
7515
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7516
|
+
type: z.ZodLiteral<"reference">;
|
|
7517
|
+
kind: z.ZodLiteral<"channel">;
|
|
7518
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7519
|
+
labelSnapshot: z.ZodString;
|
|
7520
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7521
|
+
type: z.ZodLiteral<"reference">;
|
|
7522
|
+
kind: z.ZodLiteral<"extension">;
|
|
7523
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7524
|
+
labelSnapshot: z.ZodString;
|
|
7525
|
+
}, z.core.$strict>], "kind">]>>;
|
|
7526
|
+
}, z.core.$strict>;
|
|
7527
|
+
locked: z.ZodBoolean;
|
|
7528
|
+
expectedRevision: z.ZodNumber;
|
|
7529
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7530
|
+
document: z.ZodObject<{
|
|
7531
|
+
version: z.ZodLiteral<1>;
|
|
7532
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7533
|
+
type: z.ZodLiteral<"text">;
|
|
7534
|
+
text: z.ZodString;
|
|
7535
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7536
|
+
type: z.ZodLiteral<"reference">;
|
|
7537
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
7538
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
7539
|
+
labelSnapshot: z.ZodString;
|
|
7540
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7541
|
+
type: z.ZodLiteral<"reference">;
|
|
7542
|
+
kind: z.ZodLiteral<"channel">;
|
|
7543
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7544
|
+
labelSnapshot: z.ZodString;
|
|
7545
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7546
|
+
type: z.ZodLiteral<"reference">;
|
|
7547
|
+
kind: z.ZodLiteral<"extension">;
|
|
7548
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7549
|
+
labelSnapshot: z.ZodString;
|
|
7550
|
+
}, z.core.$strict>], "kind">]>>;
|
|
7551
|
+
}, z.core.$strict>;
|
|
7552
|
+
locked: z.ZodBoolean;
|
|
7553
|
+
revision: z.ZodNumber;
|
|
7554
|
+
maxChars: z.ZodNumber;
|
|
7555
|
+
updatedBy: z.ZodOptional<z.ZodEnum<{
|
|
7556
|
+
agent: "agent";
|
|
7557
|
+
admin: "admin";
|
|
7558
|
+
}>>;
|
|
7559
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
7560
|
+
revisions: z.ZodArray<z.ZodObject<{
|
|
7561
|
+
revision: z.ZodNumber;
|
|
7562
|
+
document: z.ZodObject<{
|
|
7563
|
+
version: z.ZodLiteral<1>;
|
|
7564
|
+
segments: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7565
|
+
type: z.ZodLiteral<"text">;
|
|
7566
|
+
text: z.ZodString;
|
|
7567
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7568
|
+
type: z.ZodLiteral<"reference">;
|
|
7569
|
+
kind: z.ZodLiteral<"platform-user">;
|
|
7570
|
+
targetId: z.core.$ZodBranded<z.ZodString, "PlatformIdentityId", "out">;
|
|
7571
|
+
labelSnapshot: z.ZodString;
|
|
7572
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7573
|
+
type: z.ZodLiteral<"reference">;
|
|
7574
|
+
kind: z.ZodLiteral<"channel">;
|
|
7575
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
7576
|
+
labelSnapshot: z.ZodString;
|
|
7577
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7578
|
+
type: z.ZodLiteral<"reference">;
|
|
7579
|
+
kind: z.ZodLiteral<"extension">;
|
|
7580
|
+
targetId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7581
|
+
labelSnapshot: z.ZodString;
|
|
7582
|
+
}, z.core.$strict>], "kind">]>>;
|
|
7583
|
+
}, z.core.$strict>;
|
|
7584
|
+
updatedBy: z.ZodEnum<{
|
|
7585
|
+
agent: "agent";
|
|
7586
|
+
admin: "admin";
|
|
7587
|
+
}>;
|
|
7588
|
+
updatedAt: z.ZodNumber;
|
|
7589
|
+
}, z.core.$strict>>;
|
|
6509
7590
|
}, z.core.$strict>, z.ZodObject<{
|
|
6510
7591
|
error: z.ZodObject<{
|
|
6511
7592
|
code: z.ZodString;
|
|
@@ -6726,6 +7807,9 @@ export declare const HostApiContracts: {
|
|
|
6726
7807
|
navigation: "navigation";
|
|
6727
7808
|
}>;
|
|
6728
7809
|
startPath: z.ZodString;
|
|
7810
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
7811
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
7812
|
+
}, z.core.$strict>>;
|
|
6729
7813
|
}, z.core.$strict>>;
|
|
6730
7814
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
6731
7815
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
@@ -6930,6 +8014,9 @@ export declare const HostApiContracts: {
|
|
|
6930
8014
|
navigation: "navigation";
|
|
6931
8015
|
}>;
|
|
6932
8016
|
startPath: z.ZodString;
|
|
8017
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
8018
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
8019
|
+
}, z.core.$strict>>;
|
|
6933
8020
|
}, z.core.$strict>>;
|
|
6934
8021
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
6935
8022
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
@@ -7108,6 +8195,9 @@ export declare const HostApiContracts: {
|
|
|
7108
8195
|
navigation: "navigation";
|
|
7109
8196
|
}>;
|
|
7110
8197
|
startPath: z.ZodString;
|
|
8198
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
8199
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
8200
|
+
}, z.core.$strict>>;
|
|
7111
8201
|
}, z.core.$strict>>;
|
|
7112
8202
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
7113
8203
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
@@ -7309,11 +8399,12 @@ export declare const HostApiContracts: {
|
|
|
7309
8399
|
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
7310
8400
|
slug: z.ZodString;
|
|
7311
8401
|
displayName: z.ZodString;
|
|
7312
|
-
|
|
8402
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
7313
8403
|
agent: "agent";
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
8404
|
+
adapter: "adapter";
|
|
8405
|
+
mcp: "mcp";
|
|
8406
|
+
page: "page";
|
|
8407
|
+
}>>;
|
|
7317
8408
|
idempotent: z.ZodBoolean;
|
|
7318
8409
|
slugConflict: z.ZodBoolean;
|
|
7319
8410
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -7344,83 +8435,421 @@ export declare const HostApiContracts: {
|
|
|
7344
8435
|
readonly revokeManagementDevice: HostApiContract<"DELETE", z.ZodObject<{
|
|
7345
8436
|
deviceId: z.core.$ZodBranded<z.ZodString, "ManagementDeviceId", "out">;
|
|
7346
8437
|
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7347
|
-
revoked: z.ZodBoolean;
|
|
7348
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
8438
|
+
revoked: z.ZodBoolean;
|
|
8439
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8440
|
+
error: z.ZodObject<{
|
|
8441
|
+
code: z.ZodString;
|
|
8442
|
+
message: z.ZodString;
|
|
8443
|
+
}, z.core.$strict>;
|
|
8444
|
+
}, z.core.$strict>>;
|
|
8445
|
+
readonly managementLogout: HostApiContract<"DELETE", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8446
|
+
authenticated: z.ZodLiteral<false>;
|
|
8447
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8448
|
+
error: z.ZodObject<{
|
|
8449
|
+
code: z.ZodString;
|
|
8450
|
+
message: z.ZodString;
|
|
8451
|
+
}, z.core.$strict>;
|
|
8452
|
+
}, z.core.$strict>>;
|
|
8453
|
+
readonly getCommunityStatus: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8454
|
+
communityUrl: z.ZodString;
|
|
8455
|
+
environment: z.ZodNullable<z.ZodEnum<{
|
|
8456
|
+
production: "production";
|
|
8457
|
+
staging: "staging";
|
|
8458
|
+
development: "development";
|
|
8459
|
+
}>>;
|
|
8460
|
+
account: z.ZodNullable<z.ZodObject<{
|
|
8461
|
+
handle: z.ZodString;
|
|
8462
|
+
displayName: z.ZodString;
|
|
8463
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
8464
|
+
}, z.core.$strip>>;
|
|
8465
|
+
signedInAt: z.ZodNullable<z.ZodNumber>;
|
|
8466
|
+
updatesAvailable: z.ZodNumber;
|
|
8467
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8468
|
+
error: z.ZodObject<{
|
|
8469
|
+
code: z.ZodString;
|
|
8470
|
+
message: z.ZodString;
|
|
8471
|
+
}, z.core.$strict>;
|
|
8472
|
+
}, z.core.$strict>>;
|
|
8473
|
+
readonly startCommunityLogin: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
8474
|
+
returnOrigin: z.ZodString;
|
|
8475
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8476
|
+
authorizeUrl: z.ZodString;
|
|
8477
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8478
|
+
error: z.ZodObject<{
|
|
8479
|
+
code: z.ZodString;
|
|
8480
|
+
message: z.ZodString;
|
|
8481
|
+
}, z.core.$strict>;
|
|
8482
|
+
}, z.core.$strict>>;
|
|
8483
|
+
readonly communityLogout: HostApiContract<"DELETE", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8484
|
+
communityUrl: z.ZodString;
|
|
8485
|
+
environment: z.ZodNullable<z.ZodEnum<{
|
|
8486
|
+
production: "production";
|
|
8487
|
+
staging: "staging";
|
|
8488
|
+
development: "development";
|
|
8489
|
+
}>>;
|
|
8490
|
+
account: z.ZodNullable<z.ZodObject<{
|
|
8491
|
+
handle: z.ZodString;
|
|
8492
|
+
displayName: z.ZodString;
|
|
8493
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
8494
|
+
}, z.core.$strip>>;
|
|
8495
|
+
signedInAt: z.ZodNullable<z.ZodNumber>;
|
|
8496
|
+
updatesAvailable: z.ZodNumber;
|
|
8497
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8498
|
+
error: z.ZodObject<{
|
|
8499
|
+
code: z.ZodString;
|
|
8500
|
+
message: z.ZodString;
|
|
8501
|
+
}, z.core.$strict>;
|
|
8502
|
+
}, z.core.$strict>>;
|
|
8503
|
+
readonly listCommunityExtensions: HostApiContract<"GET", z.ZodObject<{
|
|
8504
|
+
query: z.ZodOptional<z.ZodString>;
|
|
8505
|
+
provides: z.ZodOptional<z.ZodEnum<{
|
|
8506
|
+
agent: "agent";
|
|
8507
|
+
adapter: "adapter";
|
|
8508
|
+
mcp: "mcp";
|
|
8509
|
+
page: "page";
|
|
8510
|
+
}>>;
|
|
8511
|
+
official: z.ZodOptional<z.ZodEnum<{
|
|
8512
|
+
1: "1";
|
|
8513
|
+
}>>;
|
|
8514
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
8515
|
+
score: "score";
|
|
8516
|
+
updated: "updated";
|
|
8517
|
+
downloads: "downloads";
|
|
8518
|
+
newest: "newest";
|
|
8519
|
+
}>>;
|
|
8520
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
8521
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8522
|
+
items: z.ZodArray<z.ZodObject<{
|
|
8523
|
+
id: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8524
|
+
provides: z.ZodArray<z.ZodString>;
|
|
8525
|
+
displayName: z.ZodString;
|
|
8526
|
+
summary: z.ZodString;
|
|
8527
|
+
tags: z.ZodArray<z.ZodString>;
|
|
8528
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
8529
|
+
official: z.ZodBoolean;
|
|
8530
|
+
publisher: z.ZodObject<{
|
|
8531
|
+
handle: z.ZodString;
|
|
8532
|
+
displayName: z.ZodString;
|
|
8533
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
8534
|
+
}, z.core.$strip>;
|
|
8535
|
+
latest: z.ZodNullable<z.ZodObject<{
|
|
8536
|
+
id: z.ZodString;
|
|
8537
|
+
reviewStatus: z.ZodEnum<{
|
|
8538
|
+
pending: "pending";
|
|
8539
|
+
reviewing: "reviewing";
|
|
8540
|
+
passed: "passed";
|
|
8541
|
+
passed_with_notes: "passed_with_notes";
|
|
8542
|
+
flagged: "flagged";
|
|
8543
|
+
held: "held";
|
|
8544
|
+
risk_confirmed: "risk_confirmed";
|
|
8545
|
+
rejected: "rejected";
|
|
8546
|
+
incomplete: "incomplete";
|
|
8547
|
+
}>;
|
|
8548
|
+
rating: z.ZodNullable<z.ZodObject<{
|
|
8549
|
+
standard: z.ZodString;
|
|
8550
|
+
score: z.ZodNumber;
|
|
8551
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
8552
|
+
key: z.ZodString;
|
|
8553
|
+
stars: z.ZodNumber;
|
|
8554
|
+
headline: z.ZodString;
|
|
8555
|
+
cap: z.ZodOptional<z.ZodString>;
|
|
8556
|
+
}, z.core.$strip>>;
|
|
8557
|
+
badges: z.ZodArray<z.ZodString>;
|
|
8558
|
+
}, z.core.$strip>>;
|
|
8559
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
8560
|
+
key: z.ZodString;
|
|
8561
|
+
level: z.ZodEnum<{
|
|
8562
|
+
normal: "normal";
|
|
8563
|
+
elevated: "elevated";
|
|
8564
|
+
high: "high";
|
|
8565
|
+
}>;
|
|
8566
|
+
label: z.ZodString;
|
|
8567
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
8568
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
8569
|
+
host: "host";
|
|
8570
|
+
agent: "agent";
|
|
8571
|
+
}>>;
|
|
8572
|
+
}, z.core.$strip>>;
|
|
8573
|
+
packageSize: z.ZodNumber;
|
|
8574
|
+
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
8575
|
+
notes: z.ZodString;
|
|
8576
|
+
createdAt: z.ZodNumber;
|
|
8577
|
+
}, z.core.$strip>>;
|
|
8578
|
+
downloads: z.ZodNumber;
|
|
8579
|
+
updatedAt: z.ZodNumber;
|
|
8580
|
+
pageUrl: z.ZodString;
|
|
8581
|
+
}, z.core.$strip>>;
|
|
8582
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
8583
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8584
|
+
error: z.ZodObject<{
|
|
8585
|
+
code: z.ZodString;
|
|
8586
|
+
message: z.ZodString;
|
|
8587
|
+
}, z.core.$strict>;
|
|
8588
|
+
}, z.core.$strict>>;
|
|
8589
|
+
readonly getCommunityExtension: HostApiContract<"GET", z.ZodObject<{
|
|
8590
|
+
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8591
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8592
|
+
id: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8593
|
+
provides: z.ZodArray<z.ZodString>;
|
|
8594
|
+
displayName: z.ZodString;
|
|
8595
|
+
summary: z.ZodString;
|
|
8596
|
+
tags: z.ZodArray<z.ZodString>;
|
|
8597
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
8598
|
+
official: z.ZodBoolean;
|
|
8599
|
+
publisher: z.ZodObject<{
|
|
8600
|
+
handle: z.ZodString;
|
|
8601
|
+
displayName: z.ZodString;
|
|
8602
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
8603
|
+
}, z.core.$strip>;
|
|
8604
|
+
latest: z.ZodNullable<z.ZodObject<{
|
|
8605
|
+
id: z.ZodString;
|
|
8606
|
+
reviewStatus: z.ZodEnum<{
|
|
8607
|
+
pending: "pending";
|
|
8608
|
+
reviewing: "reviewing";
|
|
8609
|
+
passed: "passed";
|
|
8610
|
+
passed_with_notes: "passed_with_notes";
|
|
8611
|
+
flagged: "flagged";
|
|
8612
|
+
held: "held";
|
|
8613
|
+
risk_confirmed: "risk_confirmed";
|
|
8614
|
+
rejected: "rejected";
|
|
8615
|
+
incomplete: "incomplete";
|
|
8616
|
+
}>;
|
|
8617
|
+
rating: z.ZodNullable<z.ZodObject<{
|
|
8618
|
+
standard: z.ZodString;
|
|
8619
|
+
score: z.ZodNumber;
|
|
8620
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
8621
|
+
key: z.ZodString;
|
|
8622
|
+
stars: z.ZodNumber;
|
|
8623
|
+
headline: z.ZodString;
|
|
8624
|
+
cap: z.ZodOptional<z.ZodString>;
|
|
8625
|
+
}, z.core.$strip>>;
|
|
8626
|
+
badges: z.ZodArray<z.ZodString>;
|
|
8627
|
+
}, z.core.$strip>>;
|
|
8628
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
8629
|
+
key: z.ZodString;
|
|
8630
|
+
level: z.ZodEnum<{
|
|
8631
|
+
normal: "normal";
|
|
8632
|
+
elevated: "elevated";
|
|
8633
|
+
high: "high";
|
|
8634
|
+
}>;
|
|
8635
|
+
label: z.ZodString;
|
|
8636
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
8637
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
8638
|
+
host: "host";
|
|
8639
|
+
agent: "agent";
|
|
8640
|
+
}>>;
|
|
8641
|
+
}, z.core.$strip>>;
|
|
8642
|
+
packageSize: z.ZodNumber;
|
|
8643
|
+
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
8644
|
+
notes: z.ZodString;
|
|
8645
|
+
createdAt: z.ZodNumber;
|
|
8646
|
+
}, z.core.$strip>>;
|
|
8647
|
+
downloads: z.ZodNumber;
|
|
8648
|
+
updatedAt: z.ZodNumber;
|
|
8649
|
+
pageUrl: z.ZodString;
|
|
8650
|
+
description: z.ZodString;
|
|
8651
|
+
sourceUrl: z.ZodNullable<z.ZodString>;
|
|
8652
|
+
review: z.ZodNullable<z.ZodObject<{
|
|
8653
|
+
status: z.ZodEnum<{
|
|
8654
|
+
pending: "pending";
|
|
8655
|
+
reviewing: "reviewing";
|
|
8656
|
+
passed: "passed";
|
|
8657
|
+
passed_with_notes: "passed_with_notes";
|
|
8658
|
+
flagged: "flagged";
|
|
8659
|
+
held: "held";
|
|
8660
|
+
risk_confirmed: "risk_confirmed";
|
|
8661
|
+
rejected: "rejected";
|
|
8662
|
+
incomplete: "incomplete";
|
|
8663
|
+
}>;
|
|
8664
|
+
rating: z.ZodNullable<z.ZodObject<{
|
|
8665
|
+
standard: z.ZodString;
|
|
8666
|
+
score: z.ZodNumber;
|
|
8667
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
8668
|
+
key: z.ZodString;
|
|
8669
|
+
stars: z.ZodNumber;
|
|
8670
|
+
headline: z.ZodString;
|
|
8671
|
+
cap: z.ZodOptional<z.ZodString>;
|
|
8672
|
+
}, z.core.$strip>>;
|
|
8673
|
+
badges: z.ZodArray<z.ZodString>;
|
|
8674
|
+
}, z.core.$strip>>;
|
|
8675
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
8676
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
8677
|
+
key: z.ZodString;
|
|
8678
|
+
notes: z.ZodString;
|
|
8679
|
+
}, z.core.$strip>>;
|
|
8680
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
8681
|
+
dimension: z.ZodString;
|
|
8682
|
+
severity: z.ZodString;
|
|
8683
|
+
title: z.ZodString;
|
|
8684
|
+
}, z.core.$strip>>;
|
|
8685
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
8686
|
+
severity: z.ZodString;
|
|
8687
|
+
title: z.ZodString;
|
|
8688
|
+
}, z.core.$strip>>;
|
|
8689
|
+
reviewedAt: z.ZodNullable<z.ZodNumber>;
|
|
8690
|
+
}, z.core.$strip>>;
|
|
8691
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7349
8692
|
error: z.ZodObject<{
|
|
7350
8693
|
code: z.ZodString;
|
|
7351
8694
|
message: z.ZodString;
|
|
7352
8695
|
}, z.core.$strict>;
|
|
7353
8696
|
}, z.core.$strict>>;
|
|
7354
|
-
|
|
7355
|
-
|
|
7356
|
-
|
|
8697
|
+
/** 下载社区发布并按包摘要校验,结果与本地文件导入的检查相同,再经 `commitExtensionImport` 确认。 */
|
|
8698
|
+
readonly getCommunityEndpoint: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8699
|
+
url: z.ZodString;
|
|
8700
|
+
source: z.ZodEnum<{
|
|
8701
|
+
default: "default";
|
|
8702
|
+
environment: "environment";
|
|
8703
|
+
setting: "setting";
|
|
8704
|
+
}>;
|
|
8705
|
+
defaultUrl: z.ZodString;
|
|
8706
|
+
environmentUrl: z.ZodNullable<z.ZodString>;
|
|
8707
|
+
insecure: z.ZodBoolean;
|
|
8708
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7357
8709
|
error: z.ZodObject<{
|
|
7358
8710
|
code: z.ZodString;
|
|
7359
8711
|
message: z.ZodString;
|
|
7360
8712
|
}, z.core.$strict>;
|
|
7361
8713
|
}, z.core.$strict>>;
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
displayName: z.ZodString;
|
|
7367
|
-
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
7368
|
-
}, z.core.$strict>>;
|
|
7369
|
-
signedInAt: z.ZodNullable<z.ZodNumber>;
|
|
8714
|
+
/** 修改社区地址;`url: null` 恢复为环境变量或默认地址。非加密的局域网地址需要确认风险。 */
|
|
8715
|
+
readonly updateCommunityEndpoint: HostApiContract<"PUT", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
8716
|
+
url: z.ZodNullable<z.ZodString>;
|
|
8717
|
+
acknowledgeInsecure: z.ZodBoolean;
|
|
7370
8718
|
}, z.core.$strict>, z.ZodObject<{
|
|
8719
|
+
url: z.ZodString;
|
|
8720
|
+
source: z.ZodEnum<{
|
|
8721
|
+
default: "default";
|
|
8722
|
+
environment: "environment";
|
|
8723
|
+
setting: "setting";
|
|
8724
|
+
}>;
|
|
8725
|
+
defaultUrl: z.ZodString;
|
|
8726
|
+
environmentUrl: z.ZodNullable<z.ZodString>;
|
|
8727
|
+
insecure: z.ZodBoolean;
|
|
8728
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7371
8729
|
error: z.ZodObject<{
|
|
7372
8730
|
code: z.ZodString;
|
|
7373
8731
|
message: z.ZodString;
|
|
7374
8732
|
}, z.core.$strict>;
|
|
7375
8733
|
}, z.core.$strict>>;
|
|
7376
|
-
readonly
|
|
7377
|
-
|
|
8734
|
+
readonly testCommunityEndpoint: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
8735
|
+
url: z.ZodString;
|
|
8736
|
+
acknowledgeInsecure: z.ZodBoolean;
|
|
7378
8737
|
}, z.core.$strict>, z.ZodObject<{
|
|
7379
|
-
|
|
8738
|
+
ok: z.ZodBoolean;
|
|
8739
|
+
message: z.ZodString;
|
|
8740
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8741
|
+
environment: z.ZodOptional<z.ZodEnum<{
|
|
8742
|
+
production: "production";
|
|
8743
|
+
staging: "staging";
|
|
8744
|
+
development: "development";
|
|
8745
|
+
}>>;
|
|
7380
8746
|
}, z.core.$strict>, z.ZodObject<{
|
|
7381
8747
|
error: z.ZodObject<{
|
|
7382
8748
|
code: z.ZodString;
|
|
7383
8749
|
message: z.ZodString;
|
|
7384
8750
|
}, z.core.$strict>;
|
|
7385
8751
|
}, z.core.$strict>>;
|
|
7386
|
-
readonly
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
8752
|
+
readonly listCommunityInstalled: HostApiContract<"GET", z.ZodObject<{
|
|
8753
|
+
refresh: z.ZodOptional<z.ZodEnum<{
|
|
8754
|
+
1: "1";
|
|
8755
|
+
}>>;
|
|
8756
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8757
|
+
checkedAt: z.ZodNullable<z.ZodNumber>;
|
|
8758
|
+
items: z.ZodArray<z.ZodObject<{
|
|
8759
|
+
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7390
8760
|
displayName: z.ZodString;
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
8761
|
+
revisionId: z.ZodString;
|
|
8762
|
+
source: z.ZodObject<{
|
|
8763
|
+
kind: z.ZodLiteral<"community">;
|
|
8764
|
+
communityUrl: z.ZodString;
|
|
8765
|
+
releaseId: z.ZodString;
|
|
8766
|
+
publisherHandle: z.ZodString;
|
|
8767
|
+
installedAt: z.ZodNumber;
|
|
8768
|
+
}, z.core.$strip>;
|
|
8769
|
+
sameCommunity: z.ZodBoolean;
|
|
8770
|
+
found: z.ZodBoolean;
|
|
8771
|
+
delisted: z.ZodBoolean;
|
|
8772
|
+
delistedReason: z.ZodNullable<z.ZodString>;
|
|
8773
|
+
releaseWithdrawn: z.ZodBoolean;
|
|
8774
|
+
latest: z.ZodNullable<z.ZodObject<{
|
|
8775
|
+
id: z.ZodString;
|
|
8776
|
+
reviewStatus: z.ZodEnum<{
|
|
8777
|
+
pending: "pending";
|
|
8778
|
+
reviewing: "reviewing";
|
|
8779
|
+
passed: "passed";
|
|
8780
|
+
passed_with_notes: "passed_with_notes";
|
|
8781
|
+
flagged: "flagged";
|
|
8782
|
+
held: "held";
|
|
8783
|
+
risk_confirmed: "risk_confirmed";
|
|
8784
|
+
rejected: "rejected";
|
|
8785
|
+
incomplete: "incomplete";
|
|
8786
|
+
}>;
|
|
8787
|
+
rating: z.ZodNullable<z.ZodObject<{
|
|
8788
|
+
standard: z.ZodString;
|
|
8789
|
+
score: z.ZodNumber;
|
|
8790
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
8791
|
+
key: z.ZodString;
|
|
8792
|
+
stars: z.ZodNumber;
|
|
8793
|
+
headline: z.ZodString;
|
|
8794
|
+
cap: z.ZodOptional<z.ZodString>;
|
|
8795
|
+
}, z.core.$strip>>;
|
|
8796
|
+
badges: z.ZodArray<z.ZodString>;
|
|
8797
|
+
}, z.core.$strip>>;
|
|
8798
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
8799
|
+
key: z.ZodString;
|
|
8800
|
+
level: z.ZodEnum<{
|
|
8801
|
+
normal: "normal";
|
|
8802
|
+
elevated: "elevated";
|
|
8803
|
+
high: "high";
|
|
8804
|
+
}>;
|
|
8805
|
+
label: z.ZodString;
|
|
8806
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
8807
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
8808
|
+
host: "host";
|
|
8809
|
+
agent: "agent";
|
|
8810
|
+
}>>;
|
|
8811
|
+
}, z.core.$strip>>;
|
|
8812
|
+
packageSize: z.ZodNumber;
|
|
8813
|
+
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
8814
|
+
notes: z.ZodString;
|
|
8815
|
+
createdAt: z.ZodNumber;
|
|
8816
|
+
}, z.core.$strip>>;
|
|
8817
|
+
updateAvailable: z.ZodBoolean;
|
|
8818
|
+
addedPermissions: z.ZodArray<z.ZodObject<{
|
|
8819
|
+
key: z.ZodString;
|
|
8820
|
+
level: z.ZodEnum<{
|
|
8821
|
+
normal: "normal";
|
|
8822
|
+
elevated: "elevated";
|
|
8823
|
+
high: "high";
|
|
8824
|
+
}>;
|
|
8825
|
+
label: z.ZodString;
|
|
8826
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
8827
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
8828
|
+
host: "host";
|
|
8829
|
+
agent: "agent";
|
|
8830
|
+
}>>;
|
|
8831
|
+
}, z.core.$strip>>;
|
|
8832
|
+
}, z.core.$strip>>;
|
|
8833
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7395
8834
|
error: z.ZodObject<{
|
|
7396
8835
|
code: z.ZodString;
|
|
7397
8836
|
message: z.ZodString;
|
|
7398
8837
|
}, z.core.$strict>;
|
|
7399
8838
|
}, z.core.$strict>>;
|
|
7400
|
-
readonly
|
|
7401
|
-
query: z.ZodOptional<z.ZodString>;
|
|
7402
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
7403
|
-
agent: "agent";
|
|
7404
|
-
"host-adapter": "host-adapter";
|
|
7405
|
-
"host-ui": "host-ui";
|
|
7406
|
-
}>>;
|
|
7407
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
7408
|
-
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8839
|
+
readonly listCommunityMine: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7409
8840
|
items: z.ZodArray<z.ZodObject<{
|
|
7410
8841
|
id: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7411
|
-
|
|
7412
|
-
agent: "agent";
|
|
7413
|
-
"host-adapter": "host-adapter";
|
|
7414
|
-
"host-ui": "host-ui";
|
|
7415
|
-
}>;
|
|
8842
|
+
provides: z.ZodArray<z.ZodString>;
|
|
7416
8843
|
displayName: z.ZodString;
|
|
7417
8844
|
summary: z.ZodString;
|
|
7418
8845
|
tags: z.ZodArray<z.ZodString>;
|
|
8846
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
8847
|
+
official: z.ZodBoolean;
|
|
7419
8848
|
publisher: z.ZodObject<{
|
|
7420
8849
|
handle: z.ZodString;
|
|
7421
8850
|
displayName: z.ZodString;
|
|
7422
8851
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
7423
|
-
}, z.core.$
|
|
8852
|
+
}, z.core.$strip>;
|
|
7424
8853
|
latest: z.ZodNullable<z.ZodObject<{
|
|
7425
8854
|
id: z.ZodString;
|
|
7426
8855
|
reviewStatus: z.ZodEnum<{
|
|
@@ -7434,12 +8863,17 @@ export declare const HostApiContracts: {
|
|
|
7434
8863
|
rejected: "rejected";
|
|
7435
8864
|
incomplete: "incomplete";
|
|
7436
8865
|
}>;
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
8866
|
+
rating: z.ZodNullable<z.ZodObject<{
|
|
8867
|
+
standard: z.ZodString;
|
|
8868
|
+
score: z.ZodNumber;
|
|
8869
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
8870
|
+
key: z.ZodString;
|
|
8871
|
+
stars: z.ZodNumber;
|
|
8872
|
+
headline: z.ZodString;
|
|
8873
|
+
cap: z.ZodOptional<z.ZodString>;
|
|
8874
|
+
}, z.core.$strip>>;
|
|
8875
|
+
badges: z.ZodArray<z.ZodString>;
|
|
8876
|
+
}, z.core.$strip>>;
|
|
7443
8877
|
permissions: z.ZodArray<z.ZodObject<{
|
|
7444
8878
|
key: z.ZodString;
|
|
7445
8879
|
level: z.ZodEnum<{
|
|
@@ -7449,110 +8883,177 @@ export declare const HostApiContracts: {
|
|
|
7449
8883
|
}>;
|
|
7450
8884
|
label: z.ZodString;
|
|
7451
8885
|
detail: z.ZodOptional<z.ZodString>;
|
|
7452
|
-
|
|
8886
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
8887
|
+
host: "host";
|
|
8888
|
+
agent: "agent";
|
|
8889
|
+
}>>;
|
|
8890
|
+
}, z.core.$strip>>;
|
|
7453
8891
|
packageSize: z.ZodNumber;
|
|
7454
8892
|
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
7455
8893
|
notes: z.ZodString;
|
|
7456
8894
|
createdAt: z.ZodNumber;
|
|
7457
|
-
}, z.core.$
|
|
8895
|
+
}, z.core.$strip>>;
|
|
7458
8896
|
downloads: z.ZodNumber;
|
|
7459
8897
|
updatedAt: z.ZodNumber;
|
|
7460
8898
|
pageUrl: z.ZodString;
|
|
7461
|
-
|
|
7462
|
-
|
|
8899
|
+
releases: z.ZodArray<z.ZodObject<{
|
|
8900
|
+
id: z.ZodString;
|
|
8901
|
+
reviewStatus: z.ZodEnum<{
|
|
8902
|
+
pending: "pending";
|
|
8903
|
+
reviewing: "reviewing";
|
|
8904
|
+
passed: "passed";
|
|
8905
|
+
passed_with_notes: "passed_with_notes";
|
|
8906
|
+
flagged: "flagged";
|
|
8907
|
+
held: "held";
|
|
8908
|
+
risk_confirmed: "risk_confirmed";
|
|
8909
|
+
rejected: "rejected";
|
|
8910
|
+
incomplete: "incomplete";
|
|
8911
|
+
}>;
|
|
8912
|
+
rating: z.ZodNullable<z.ZodObject<{
|
|
8913
|
+
standard: z.ZodString;
|
|
8914
|
+
score: z.ZodNumber;
|
|
8915
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
8916
|
+
key: z.ZodString;
|
|
8917
|
+
stars: z.ZodNumber;
|
|
8918
|
+
headline: z.ZodString;
|
|
8919
|
+
cap: z.ZodOptional<z.ZodString>;
|
|
8920
|
+
}, z.core.$strip>>;
|
|
8921
|
+
badges: z.ZodArray<z.ZodString>;
|
|
8922
|
+
}, z.core.$strip>>;
|
|
8923
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
8924
|
+
key: z.ZodString;
|
|
8925
|
+
level: z.ZodEnum<{
|
|
8926
|
+
normal: "normal";
|
|
8927
|
+
elevated: "elevated";
|
|
8928
|
+
high: "high";
|
|
8929
|
+
}>;
|
|
8930
|
+
label: z.ZodString;
|
|
8931
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
8932
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
8933
|
+
host: "host";
|
|
8934
|
+
agent: "agent";
|
|
8935
|
+
}>>;
|
|
8936
|
+
}, z.core.$strip>>;
|
|
8937
|
+
packageSize: z.ZodNumber;
|
|
8938
|
+
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
8939
|
+
notes: z.ZodString;
|
|
8940
|
+
createdAt: z.ZodNumber;
|
|
8941
|
+
withdrawn: z.ZodBoolean;
|
|
8942
|
+
}, z.core.$strip>>;
|
|
8943
|
+
delisted: z.ZodBoolean;
|
|
8944
|
+
delistedReason: z.ZodNullable<z.ZodString>;
|
|
8945
|
+
}, z.core.$strip>>;
|
|
7463
8946
|
}, z.core.$strict>, z.ZodObject<{
|
|
7464
8947
|
error: z.ZodObject<{
|
|
7465
8948
|
code: z.ZodString;
|
|
7466
8949
|
message: z.ZodString;
|
|
7467
8950
|
}, z.core.$strict>;
|
|
7468
8951
|
}, z.core.$strict>>;
|
|
7469
|
-
readonly
|
|
7470
|
-
|
|
8952
|
+
readonly getCommunityReleaseReview: HostApiContract<"GET", z.ZodObject<{
|
|
8953
|
+
releaseId: z.ZodString;
|
|
7471
8954
|
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
8955
|
+
releaseId: z.ZodString;
|
|
8956
|
+
status: z.ZodEnum<{
|
|
8957
|
+
pending: "pending";
|
|
8958
|
+
reviewing: "reviewing";
|
|
8959
|
+
passed: "passed";
|
|
8960
|
+
passed_with_notes: "passed_with_notes";
|
|
8961
|
+
flagged: "flagged";
|
|
8962
|
+
held: "held";
|
|
8963
|
+
risk_confirmed: "risk_confirmed";
|
|
8964
|
+
rejected: "rejected";
|
|
8965
|
+
incomplete: "incomplete";
|
|
7477
8966
|
}>;
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
risk_confirmed: "risk_confirmed";
|
|
7496
|
-
rejected: "rejected";
|
|
7497
|
-
incomplete: "incomplete";
|
|
8967
|
+
rating: z.ZodNullable<z.ZodObject<{
|
|
8968
|
+
standard: z.ZodString;
|
|
8969
|
+
score: z.ZodNumber;
|
|
8970
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
8971
|
+
key: z.ZodString;
|
|
8972
|
+
stars: z.ZodNumber;
|
|
8973
|
+
headline: z.ZodString;
|
|
8974
|
+
cap: z.ZodOptional<z.ZodString>;
|
|
8975
|
+
}, z.core.$strip>>;
|
|
8976
|
+
badges: z.ZodArray<z.ZodString>;
|
|
8977
|
+
}, z.core.$strip>>;
|
|
8978
|
+
deterministic: z.ZodArray<z.ZodObject<{
|
|
8979
|
+
severity: z.ZodEnum<{
|
|
8980
|
+
info: "info";
|
|
8981
|
+
warning: "warning";
|
|
8982
|
+
risk: "risk";
|
|
8983
|
+
block: "block";
|
|
7498
8984
|
}>;
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
|
|
8985
|
+
title: z.ZodString;
|
|
8986
|
+
detail: z.ZodString;
|
|
8987
|
+
file: z.ZodOptional<z.ZodString>;
|
|
8988
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
8989
|
+
}, z.core.$strip>>;
|
|
8990
|
+
ai: z.ZodNullable<z.ZodObject<{
|
|
8991
|
+
summary: z.ZodString;
|
|
8992
|
+
verdict: z.ZodString;
|
|
8993
|
+
compliance: z.ZodNullable<z.ZodObject<{
|
|
8994
|
+
ok: z.ZodBoolean;
|
|
8995
|
+
notes: z.ZodString;
|
|
8996
|
+
}, z.core.$strip>>;
|
|
8997
|
+
dimensions: z.ZodArray<z.ZodObject<{
|
|
7506
8998
|
key: z.ZodString;
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
8999
|
+
stars: z.ZodNumber;
|
|
9000
|
+
headline: z.ZodString;
|
|
9001
|
+
notes: z.ZodString;
|
|
9002
|
+
nextStar: z.ZodOptional<z.ZodString>;
|
|
9003
|
+
}, z.core.$strip>>;
|
|
9004
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
9005
|
+
dimension: z.ZodString;
|
|
9006
|
+
severity: z.ZodEnum<{
|
|
9007
|
+
info: "info";
|
|
9008
|
+
warning: "warning";
|
|
9009
|
+
risk: "risk";
|
|
9010
|
+
suggestion: "suggestion";
|
|
9011
|
+
critical: "critical";
|
|
7511
9012
|
}>;
|
|
7512
|
-
label: z.ZodString;
|
|
7513
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
7514
|
-
}, z.core.$strict>>;
|
|
7515
|
-
packageSize: z.ZodNumber;
|
|
7516
|
-
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
7517
|
-
notes: z.ZodString;
|
|
7518
|
-
createdAt: z.ZodNumber;
|
|
7519
|
-
}, z.core.$strict>>;
|
|
7520
|
-
downloads: z.ZodNumber;
|
|
7521
|
-
updatedAt: z.ZodNumber;
|
|
7522
|
-
pageUrl: z.ZodString;
|
|
7523
|
-
description: z.ZodString;
|
|
7524
|
-
sourceUrl: z.ZodNullable<z.ZodString>;
|
|
7525
|
-
review: z.ZodNullable<z.ZodObject<{
|
|
7526
|
-
status: z.ZodEnum<{
|
|
7527
|
-
pending: "pending";
|
|
7528
|
-
reviewing: "reviewing";
|
|
7529
|
-
passed: "passed";
|
|
7530
|
-
passed_with_notes: "passed_with_notes";
|
|
7531
|
-
flagged: "flagged";
|
|
7532
|
-
held: "held";
|
|
7533
|
-
risk_confirmed: "risk_confirmed";
|
|
7534
|
-
rejected: "rejected";
|
|
7535
|
-
incomplete: "incomplete";
|
|
7536
|
-
}>;
|
|
7537
|
-
grade: z.ZodNullable<z.ZodEnum<{
|
|
7538
|
-
A: "A";
|
|
7539
|
-
B: "B";
|
|
7540
|
-
C: "C";
|
|
7541
|
-
D: "D";
|
|
7542
|
-
}>>;
|
|
7543
|
-
summary: z.ZodNullable<z.ZodString>;
|
|
7544
|
-
highlights: z.ZodArray<z.ZodObject<{
|
|
7545
|
-
severity: z.ZodString;
|
|
7546
9013
|
title: z.ZodString;
|
|
7547
|
-
|
|
7548
|
-
|
|
9014
|
+
detail: z.ZodString;
|
|
9015
|
+
file: z.ZodOptional<z.ZodString>;
|
|
9016
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
9017
|
+
suggestion: z.ZodOptional<z.ZodString>;
|
|
9018
|
+
}, z.core.$strip>>;
|
|
9019
|
+
exploitability: z.ZodOptional<z.ZodString>;
|
|
9020
|
+
}, z.core.$strip>>;
|
|
9021
|
+
model: z.ZodNullable<z.ZodString>;
|
|
9022
|
+
error: z.ZodNullable<z.ZodString>;
|
|
9023
|
+
decisions: z.ZodArray<z.ZodObject<{
|
|
9024
|
+
decision: z.ZodString;
|
|
9025
|
+
note: z.ZodString;
|
|
9026
|
+
by: z.ZodString;
|
|
9027
|
+
createdAt: z.ZodNumber;
|
|
9028
|
+
}, z.core.$strip>>;
|
|
9029
|
+
finishedAt: z.ZodNullable<z.ZodNumber>;
|
|
9030
|
+
reportUrl: z.ZodString;
|
|
9031
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9032
|
+
error: z.ZodObject<{
|
|
9033
|
+
code: z.ZodString;
|
|
9034
|
+
message: z.ZodString;
|
|
9035
|
+
}, z.core.$strict>;
|
|
9036
|
+
}, z.core.$strict>>;
|
|
9037
|
+
readonly requestCommunityReview: HostApiContract<"POST", z.ZodObject<{
|
|
9038
|
+
releaseId: z.ZodString;
|
|
9039
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
9040
|
+
ok: z.ZodLiteral<true>;
|
|
9041
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9042
|
+
error: z.ZodObject<{
|
|
9043
|
+
code: z.ZodString;
|
|
9044
|
+
message: z.ZodString;
|
|
9045
|
+
}, z.core.$strict>;
|
|
9046
|
+
}, z.core.$strict>>;
|
|
9047
|
+
readonly withdrawCommunityRelease: HostApiContract<"POST", z.ZodObject<{
|
|
9048
|
+
releaseId: z.ZodString;
|
|
9049
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
9050
|
+
ok: z.ZodLiteral<true>;
|
|
7549
9051
|
}, z.core.$strict>, z.ZodObject<{
|
|
7550
9052
|
error: z.ZodObject<{
|
|
7551
9053
|
code: z.ZodString;
|
|
7552
9054
|
message: z.ZodString;
|
|
7553
9055
|
}, z.core.$strict>;
|
|
7554
9056
|
}, z.core.$strict>>;
|
|
7555
|
-
/** 下载社区发布并按包摘要校验,结果与本地文件导入的检查相同,再经 `commitExtensionImport` 确认。 */
|
|
7556
9057
|
readonly importCommunityRelease: HostApiContract<"POST", z.ZodObject<{
|
|
7557
9058
|
releaseId: z.ZodString;
|
|
7558
9059
|
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
@@ -7561,11 +9062,12 @@ export declare const HostApiContracts: {
|
|
|
7561
9062
|
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
7562
9063
|
slug: z.ZodString;
|
|
7563
9064
|
displayName: z.ZodString;
|
|
7564
|
-
|
|
9065
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
7565
9066
|
agent: "agent";
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
9067
|
+
adapter: "adapter";
|
|
9068
|
+
mcp: "mcp";
|
|
9069
|
+
page: "page";
|
|
9070
|
+
}>>;
|
|
7569
9071
|
idempotent: z.ZodBoolean;
|
|
7570
9072
|
slugConflict: z.ZodBoolean;
|
|
7571
9073
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -7578,6 +9080,12 @@ export declare const HostApiContracts: {
|
|
|
7578
9080
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7579
9081
|
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
7580
9082
|
notes: z.ZodString;
|
|
9083
|
+
listing: z.ZodOptional<z.ZodObject<{
|
|
9084
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
9085
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9086
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9087
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
9088
|
+
}, z.core.$strip>>;
|
|
7581
9089
|
}, z.core.$strict>, z.ZodObject<{
|
|
7582
9090
|
releaseId: z.ZodString;
|
|
7583
9091
|
reviewStatus: z.ZodEnum<{
|
|
@@ -7603,6 +9111,203 @@ export declare const HostApiContracts: {
|
|
|
7603
9111
|
message: z.ZodString;
|
|
7604
9112
|
}, z.core.$strict>;
|
|
7605
9113
|
}, z.core.$strict>>;
|
|
9114
|
+
readonly listCommunityPersonas: HostApiContract<"GET", z.ZodObject<{
|
|
9115
|
+
query: z.ZodOptional<z.ZodString>;
|
|
9116
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
9117
|
+
official: z.ZodOptional<z.ZodLiteral<"1">>;
|
|
9118
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
9119
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
9120
|
+
items: z.ZodArray<z.ZodObject<{
|
|
9121
|
+
id: z.ZodString;
|
|
9122
|
+
name: z.ZodString;
|
|
9123
|
+
summary: z.ZodString;
|
|
9124
|
+
tags: z.ZodArray<z.ZodString>;
|
|
9125
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
9126
|
+
official: z.ZodBoolean;
|
|
9127
|
+
publisher: z.ZodObject<{
|
|
9128
|
+
handle: z.ZodString;
|
|
9129
|
+
displayName: z.ZodString;
|
|
9130
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
9131
|
+
}, z.core.$strip>;
|
|
9132
|
+
installs: z.ZodNumber;
|
|
9133
|
+
updatedAt: z.ZodNumber;
|
|
9134
|
+
pageUrl: z.ZodString;
|
|
9135
|
+
}, z.core.$strip>>;
|
|
9136
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
9137
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9138
|
+
error: z.ZodObject<{
|
|
9139
|
+
code: z.ZodString;
|
|
9140
|
+
message: z.ZodString;
|
|
9141
|
+
}, z.core.$strict>;
|
|
9142
|
+
}, z.core.$strict>>;
|
|
9143
|
+
readonly getCommunityPersona: HostApiContract<"GET", z.ZodObject<{
|
|
9144
|
+
personaId: z.ZodString;
|
|
9145
|
+
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
9146
|
+
id: z.ZodString;
|
|
9147
|
+
name: z.ZodString;
|
|
9148
|
+
summary: z.ZodString;
|
|
9149
|
+
tags: z.ZodArray<z.ZodString>;
|
|
9150
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
9151
|
+
official: z.ZodBoolean;
|
|
9152
|
+
publisher: z.ZodObject<{
|
|
9153
|
+
handle: z.ZodString;
|
|
9154
|
+
displayName: z.ZodString;
|
|
9155
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
9156
|
+
}, z.core.$strip>;
|
|
9157
|
+
installs: z.ZodNumber;
|
|
9158
|
+
updatedAt: z.ZodNumber;
|
|
9159
|
+
pageUrl: z.ZodString;
|
|
9160
|
+
description: z.ZodString;
|
|
9161
|
+
persona: z.ZodString;
|
|
9162
|
+
revision: z.ZodObject<{
|
|
9163
|
+
id: z.ZodString;
|
|
9164
|
+
notes: z.ZodString;
|
|
9165
|
+
createdAt: z.ZodNumber;
|
|
9166
|
+
}, z.core.$strip>;
|
|
9167
|
+
review: z.ZodNullable<z.ZodObject<{
|
|
9168
|
+
status: z.ZodEnum<{
|
|
9169
|
+
flagged: "flagged";
|
|
9170
|
+
approved: "approved";
|
|
9171
|
+
}>;
|
|
9172
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
9173
|
+
}, z.core.$strip>>;
|
|
9174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9175
|
+
error: z.ZodObject<{
|
|
9176
|
+
code: z.ZodString;
|
|
9177
|
+
message: z.ZodString;
|
|
9178
|
+
}, z.core.$strict>;
|
|
9179
|
+
}, z.core.$strict>>;
|
|
9180
|
+
/**
|
|
9181
|
+
* 把社区人设装进本机:新建一个智能体,或为现有智能体保存一次只换设定(及可选名称)的新配置。头像下载后作为
|
|
9182
|
+
* 智能体头像;下载失败不影响安装。`expectedRevisionId` 是用户看过的修订,社区已更新时拒绝,避免装入未看过的内容。
|
|
9183
|
+
*/
|
|
9184
|
+
readonly installCommunityPersona: HostApiContract<"POST", z.ZodObject<{
|
|
9185
|
+
personaId: z.ZodString;
|
|
9186
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9187
|
+
target: z.ZodLiteral<"new">;
|
|
9188
|
+
expectedRevisionId: z.ZodString;
|
|
9189
|
+
displayName: z.ZodString;
|
|
9190
|
+
model: z.ZodObject<{
|
|
9191
|
+
provider: z.ZodString;
|
|
9192
|
+
model: z.ZodString;
|
|
9193
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
9194
|
+
}, z.core.$strict>;
|
|
9195
|
+
useAvatar: z.ZodBoolean;
|
|
9196
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9197
|
+
target: z.ZodLiteral<"replace">;
|
|
9198
|
+
expectedRevisionId: z.ZodString;
|
|
9199
|
+
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
9200
|
+
expectedCurrentRevisionId: z.core.$ZodBranded<z.ZodString, "AgentRevisionId", "out">;
|
|
9201
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
9202
|
+
useAvatar: z.ZodBoolean;
|
|
9203
|
+
}, z.core.$strict>], "target">, z.ZodObject<{
|
|
9204
|
+
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
9205
|
+
channelId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ChannelId", "out">>;
|
|
9206
|
+
currentRevisionId: z.core.$ZodBranded<z.ZodString, "AgentRevisionId", "out">;
|
|
9207
|
+
avatar: z.ZodEnum<{
|
|
9208
|
+
failed: "failed";
|
|
9209
|
+
none: "none";
|
|
9210
|
+
applied: "applied";
|
|
9211
|
+
}>;
|
|
9212
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9213
|
+
error: z.ZodObject<{
|
|
9214
|
+
code: z.ZodString;
|
|
9215
|
+
message: z.ZodString;
|
|
9216
|
+
}, z.core.$strict>;
|
|
9217
|
+
}, z.core.$strict>>;
|
|
9218
|
+
readonly listCommunityMyPersonas: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
9219
|
+
items: z.ZodArray<z.ZodObject<{
|
|
9220
|
+
id: z.ZodString;
|
|
9221
|
+
name: z.ZodString;
|
|
9222
|
+
summary: z.ZodString;
|
|
9223
|
+
tags: z.ZodArray<z.ZodString>;
|
|
9224
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
9225
|
+
official: z.ZodBoolean;
|
|
9226
|
+
publisher: z.ZodObject<{
|
|
9227
|
+
handle: z.ZodString;
|
|
9228
|
+
displayName: z.ZodString;
|
|
9229
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
9230
|
+
}, z.core.$strip>;
|
|
9231
|
+
installs: z.ZodNumber;
|
|
9232
|
+
updatedAt: z.ZodNumber;
|
|
9233
|
+
pageUrl: z.ZodString;
|
|
9234
|
+
status: z.ZodEnum<{
|
|
9235
|
+
delisted: "delisted";
|
|
9236
|
+
listed: "listed";
|
|
9237
|
+
}>;
|
|
9238
|
+
latestRevision: z.ZodObject<{
|
|
9239
|
+
id: z.ZodString;
|
|
9240
|
+
createdAt: z.ZodNumber;
|
|
9241
|
+
reviewStatus: z.ZodEnum<{
|
|
9242
|
+
pending: "pending";
|
|
9243
|
+
flagged: "flagged";
|
|
9244
|
+
rejected: "rejected";
|
|
9245
|
+
approved: "approved";
|
|
9246
|
+
}>;
|
|
9247
|
+
reviewSummary: z.ZodNullable<z.ZodString>;
|
|
9248
|
+
}, z.core.$strip>;
|
|
9249
|
+
}, z.core.$strip>>;
|
|
9250
|
+
agentLinks: z.ZodRecord<z.core.$ZodBranded<z.ZodString, "AgentId", "out">, z.ZodString>;
|
|
9251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9252
|
+
error: z.ZodObject<{
|
|
9253
|
+
code: z.ZodString;
|
|
9254
|
+
message: z.ZodString;
|
|
9255
|
+
}, z.core.$strict>;
|
|
9256
|
+
}, z.core.$strict>>;
|
|
9257
|
+
/** 把智能体的设定分享到社区;带 `personaId` 时更新自己已发布的人设(生成新修订并重新审查)。 */
|
|
9258
|
+
readonly publishCommunityPersona: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
9259
|
+
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
9260
|
+
personaId: z.ZodOptional<z.ZodString>;
|
|
9261
|
+
name: z.ZodString;
|
|
9262
|
+
summary: z.ZodString;
|
|
9263
|
+
description: z.ZodString;
|
|
9264
|
+
tags: z.ZodArray<z.ZodString>;
|
|
9265
|
+
persona: z.ZodString;
|
|
9266
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
9267
|
+
avatar: z.ZodOptional<z.ZodObject<{
|
|
9268
|
+
mediaType: z.ZodEnum<{
|
|
9269
|
+
"image/png": "image/png";
|
|
9270
|
+
"image/jpeg": "image/jpeg";
|
|
9271
|
+
"image/webp": "image/webp";
|
|
9272
|
+
}>;
|
|
9273
|
+
base64: z.ZodString;
|
|
9274
|
+
}, z.core.$strict>>;
|
|
9275
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9276
|
+
id: z.ZodString;
|
|
9277
|
+
name: z.ZodString;
|
|
9278
|
+
summary: z.ZodString;
|
|
9279
|
+
tags: z.ZodArray<z.ZodString>;
|
|
9280
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
9281
|
+
official: z.ZodBoolean;
|
|
9282
|
+
publisher: z.ZodObject<{
|
|
9283
|
+
handle: z.ZodString;
|
|
9284
|
+
displayName: z.ZodString;
|
|
9285
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
9286
|
+
}, z.core.$strip>;
|
|
9287
|
+
installs: z.ZodNumber;
|
|
9288
|
+
updatedAt: z.ZodNumber;
|
|
9289
|
+
pageUrl: z.ZodString;
|
|
9290
|
+
status: z.ZodEnum<{
|
|
9291
|
+
delisted: "delisted";
|
|
9292
|
+
listed: "listed";
|
|
9293
|
+
}>;
|
|
9294
|
+
latestRevision: z.ZodObject<{
|
|
9295
|
+
id: z.ZodString;
|
|
9296
|
+
createdAt: z.ZodNumber;
|
|
9297
|
+
reviewStatus: z.ZodEnum<{
|
|
9298
|
+
pending: "pending";
|
|
9299
|
+
flagged: "flagged";
|
|
9300
|
+
rejected: "rejected";
|
|
9301
|
+
approved: "approved";
|
|
9302
|
+
}>;
|
|
9303
|
+
reviewSummary: z.ZodNullable<z.ZodString>;
|
|
9304
|
+
}, z.core.$strip>;
|
|
9305
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9306
|
+
error: z.ZodObject<{
|
|
9307
|
+
code: z.ZodString;
|
|
9308
|
+
message: z.ZodString;
|
|
9309
|
+
}, z.core.$strict>;
|
|
9310
|
+
}, z.core.$strict>>;
|
|
7606
9311
|
readonly testMcpServer: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
7607
9312
|
server: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7608
9313
|
transport: z.ZodLiteral<"streamable-http">;
|
|
@@ -7825,6 +9530,12 @@ export declare const HostApiContracts: {
|
|
|
7825
9530
|
}, z.core.$strict>>;
|
|
7826
9531
|
modelsCustomized: z.ZodBoolean;
|
|
7827
9532
|
discoverable: z.ZodBoolean;
|
|
9533
|
+
lastTest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9534
|
+
at: z.ZodNumber;
|
|
9535
|
+
ok: z.ZodBoolean;
|
|
9536
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9537
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9538
|
+
}, z.core.$strict>>>;
|
|
7828
9539
|
}, z.core.$strict>>;
|
|
7829
9540
|
}, z.core.$strict>, z.ZodObject<{
|
|
7830
9541
|
error: z.ZodObject<{
|
|
@@ -7950,6 +9661,12 @@ export declare const HostApiContracts: {
|
|
|
7950
9661
|
}, z.core.$strict>>;
|
|
7951
9662
|
modelsCustomized: z.ZodBoolean;
|
|
7952
9663
|
discoverable: z.ZodBoolean;
|
|
9664
|
+
lastTest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9665
|
+
at: z.ZodNumber;
|
|
9666
|
+
ok: z.ZodBoolean;
|
|
9667
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9668
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9669
|
+
}, z.core.$strict>>>;
|
|
7953
9670
|
}, z.core.$strict>>;
|
|
7954
9671
|
}, z.core.$strict>, z.ZodObject<{
|
|
7955
9672
|
error: z.ZodObject<{
|
|
@@ -7992,6 +9709,12 @@ export declare const HostApiContracts: {
|
|
|
7992
9709
|
}, z.core.$strict>>;
|
|
7993
9710
|
modelsCustomized: z.ZodBoolean;
|
|
7994
9711
|
discoverable: z.ZodBoolean;
|
|
9712
|
+
lastTest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9713
|
+
at: z.ZodNumber;
|
|
9714
|
+
ok: z.ZodBoolean;
|
|
9715
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9716
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9717
|
+
}, z.core.$strict>>>;
|
|
7995
9718
|
}, z.core.$strict>>;
|
|
7996
9719
|
}, z.core.$strict>, z.ZodObject<{
|
|
7997
9720
|
error: z.ZodObject<{
|
|
@@ -8048,6 +9771,12 @@ export declare const HostApiContracts: {
|
|
|
8048
9771
|
}, z.core.$strict>>;
|
|
8049
9772
|
modelsCustomized: z.ZodBoolean;
|
|
8050
9773
|
discoverable: z.ZodBoolean;
|
|
9774
|
+
lastTest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9775
|
+
at: z.ZodNumber;
|
|
9776
|
+
ok: z.ZodBoolean;
|
|
9777
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9778
|
+
model: z.ZodOptional<z.ZodString>;
|
|
9779
|
+
}, z.core.$strict>>>;
|
|
8051
9780
|
}, z.core.$strict>>;
|
|
8052
9781
|
}, z.core.$strict>, z.ZodObject<{
|
|
8053
9782
|
error: z.ZodObject<{
|
|
@@ -8556,6 +10285,9 @@ export declare const HostApiContracts: {
|
|
|
8556
10285
|
navigation: "navigation";
|
|
8557
10286
|
}>;
|
|
8558
10287
|
startPath: z.ZodString;
|
|
10288
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
10289
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
10290
|
+
}, z.core.$strict>>;
|
|
8559
10291
|
}, z.core.$strict>>>;
|
|
8560
10292
|
usedUiComponents: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
8561
10293
|
Button: "Button";
|
|
@@ -8643,7 +10375,16 @@ export declare const HostApiContracts: {
|
|
|
8643
10375
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8644
10376
|
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
8645
10377
|
}, z.core.$strict>, z.ZodObject<{
|
|
8646
|
-
|
|
10378
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
10379
|
+
kind: z.ZodEnum<{
|
|
10380
|
+
channel: "channel";
|
|
10381
|
+
extension: "extension";
|
|
10382
|
+
agent: "agent";
|
|
10383
|
+
connection: "connection";
|
|
10384
|
+
}>;
|
|
10385
|
+
id: z.ZodString;
|
|
10386
|
+
}, z.core.$strict>>;
|
|
10387
|
+
agentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
8647
10388
|
method: z.ZodString;
|
|
8648
10389
|
input: z.ZodOptional<z.ZodJSONSchema>;
|
|
8649
10390
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8697,15 +10438,32 @@ export declare const HostApiContracts: {
|
|
|
8697
10438
|
permissionApproval: z.ZodOptional<z.ZodObject<{
|
|
8698
10439
|
permissionDigest: z.ZodString;
|
|
8699
10440
|
}, z.core.$strict>>;
|
|
10441
|
+
hostPermissionApproval: z.ZodOptional<z.ZodObject<{
|
|
10442
|
+
permissionDigest: z.ZodString;
|
|
10443
|
+
}, z.core.$strict>>;
|
|
8700
10444
|
}, z.core.$strict>, z.ZodObject<{
|
|
8701
|
-
activation: z.ZodObject<{
|
|
10445
|
+
activation: z.ZodOptional<z.ZodObject<{
|
|
8702
10446
|
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
8703
10447
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8704
10448
|
extensionRevisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
8705
10449
|
config: z.ZodJSONSchema;
|
|
8706
10450
|
configuredSecrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8707
10451
|
activatedAt: z.ZodNumber;
|
|
8708
|
-
}, z.core.$strict
|
|
10452
|
+
}, z.core.$strict>>;
|
|
10453
|
+
pending: z.ZodOptional<z.ZodObject<{
|
|
10454
|
+
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
10455
|
+
target: z.ZodEnum<{
|
|
10456
|
+
enabled: "enabled";
|
|
10457
|
+
disabled: "disabled";
|
|
10458
|
+
}>;
|
|
10459
|
+
extensionRevisionId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">>;
|
|
10460
|
+
state: z.ZodEnum<{
|
|
10461
|
+
waiting: "waiting";
|
|
10462
|
+
failed: "failed";
|
|
10463
|
+
}>;
|
|
10464
|
+
message: z.ZodOptional<z.ZodString>;
|
|
10465
|
+
since: z.ZodNumber;
|
|
10466
|
+
}, z.core.$strict>>;
|
|
8709
10467
|
}, z.core.$strict>, z.ZodObject<{
|
|
8710
10468
|
error: z.ZodObject<{
|
|
8711
10469
|
code: z.ZodString;
|
|
@@ -8717,6 +10475,20 @@ export declare const HostApiContracts: {
|
|
|
8717
10475
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8718
10476
|
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
8719
10477
|
disabled: z.ZodLiteral<true>;
|
|
10478
|
+
pending: z.ZodOptional<z.ZodObject<{
|
|
10479
|
+
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
10480
|
+
target: z.ZodEnum<{
|
|
10481
|
+
enabled: "enabled";
|
|
10482
|
+
disabled: "disabled";
|
|
10483
|
+
}>;
|
|
10484
|
+
extensionRevisionId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">>;
|
|
10485
|
+
state: z.ZodEnum<{
|
|
10486
|
+
waiting: "waiting";
|
|
10487
|
+
failed: "failed";
|
|
10488
|
+
}>;
|
|
10489
|
+
message: z.ZodOptional<z.ZodString>;
|
|
10490
|
+
since: z.ZodNumber;
|
|
10491
|
+
}, z.core.$strict>>;
|
|
8720
10492
|
}, z.core.$strict>, z.ZodObject<{
|
|
8721
10493
|
error: z.ZodObject<{
|
|
8722
10494
|
code: z.ZodString;
|
|
@@ -8742,8 +10514,10 @@ export declare const HostApiContracts: {
|
|
|
8742
10514
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
8743
10515
|
}, z.core.$strict>, z.ZodObject<{
|
|
8744
10516
|
config: z.ZodJSONSchema;
|
|
10517
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8745
10518
|
}, z.core.$strict>, z.ZodObject<{
|
|
8746
10519
|
config: z.ZodJSONSchema;
|
|
10520
|
+
configuredSecrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8747
10521
|
}, z.core.$strict>, z.ZodObject<{
|
|
8748
10522
|
error: z.ZodObject<{
|
|
8749
10523
|
code: z.ZodString;
|
|
@@ -8757,6 +10531,9 @@ export declare const HostApiContracts: {
|
|
|
8757
10531
|
permissionApproval: z.ZodOptional<z.ZodObject<{
|
|
8758
10532
|
permissionDigest: z.ZodString;
|
|
8759
10533
|
}, z.core.$strict>>;
|
|
10534
|
+
agentPermissionApproval: z.ZodOptional<z.ZodObject<{
|
|
10535
|
+
permissionDigest: z.ZodString;
|
|
10536
|
+
}, z.core.$strict>>;
|
|
8760
10537
|
}, z.core.$strict>, z.ZodObject<{
|
|
8761
10538
|
installation: z.ZodObject<{
|
|
8762
10539
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
@@ -9025,10 +10802,10 @@ export declare const HostApiContracts: {
|
|
|
9025
10802
|
}, z.core.$strict>;
|
|
9026
10803
|
changedFields: z.ZodArray<z.ZodEnum<{
|
|
9027
10804
|
name: "name";
|
|
9028
|
-
capabilities: "capabilities";
|
|
9029
|
-
approvalPolicy: "approvalPolicy";
|
|
9030
10805
|
model: "model";
|
|
9031
10806
|
persona: "persona";
|
|
10807
|
+
capabilities: "capabilities";
|
|
10808
|
+
approvalPolicy: "approvalPolicy";
|
|
9032
10809
|
imagePolicy: "imagePolicy";
|
|
9033
10810
|
}>>;
|
|
9034
10811
|
current: z.ZodBoolean;
|