@nekro-nxt/contracts 0.2.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 +689 -126
- 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 +269 -148
- 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 +194 -3
- package/lib/types/extension-ui.d.ts.map +1 -1
- package/lib/types/host-api.d.ts +1674 -272
- 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 +233 -169
- package/src/extension-capabilities.ts +54 -8
- package/src/extension-ui.ts +107 -20
- package/src/host-api.ts +382 -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,6 +2043,7 @@ 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<{
|
|
1772
2049
|
kind: z.ZodLiteral<"community">;
|
|
@@ -1774,12 +2051,14 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1774
2051
|
releaseId: z.ZodString;
|
|
1775
2052
|
publisherHandle: z.ZodString;
|
|
1776
2053
|
installedAt: z.ZodNumber;
|
|
1777
|
-
}, z.core.$
|
|
1778
|
-
|
|
2054
|
+
}, z.core.$strip>>;
|
|
2055
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
1779
2056
|
agent: "agent";
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
2057
|
+
adapter: "adapter";
|
|
2058
|
+
mcp: "mcp";
|
|
2059
|
+
page: "page";
|
|
2060
|
+
}>>;
|
|
2061
|
+
agentLayer: z.ZodBoolean;
|
|
1783
2062
|
contributions: z.ZodArray<z.ZodString>;
|
|
1784
2063
|
verification: z.ZodOptional<z.ZodObject<{
|
|
1785
2064
|
verifiedAt: z.ZodNumber;
|
|
@@ -1825,6 +2104,9 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1825
2104
|
navigation: "navigation";
|
|
1826
2105
|
}>;
|
|
1827
2106
|
startPath: z.ZodString;
|
|
2107
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
2108
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
2109
|
+
}, z.core.$strict>>;
|
|
1828
2110
|
}, z.core.$strict>>>;
|
|
1829
2111
|
usedUiComponents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1830
2112
|
Button: "Button";
|
|
@@ -1873,7 +2155,7 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1873
2155
|
titleDistinct: z.ZodBoolean;
|
|
1874
2156
|
}, z.core.$strict>>>;
|
|
1875
2157
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
1876
|
-
permissions: z.ZodArray<z.ZodEnum<{
|
|
2158
|
+
permissions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1877
2159
|
"agents.read": "agents.read";
|
|
1878
2160
|
"channels.read": "channels.read";
|
|
1879
2161
|
"connections.read": "connections.read";
|
|
@@ -1889,9 +2171,24 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1889
2171
|
"messages.send": "messages.send";
|
|
1890
2172
|
"notifications.publish": "notifications.publish";
|
|
1891
2173
|
"network.request": "network.request";
|
|
1892
|
-
}
|
|
2174
|
+
}>>>;
|
|
1893
2175
|
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
1894
|
-
|
|
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<{
|
|
1895
2192
|
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1896
2193
|
mode: z.ZodLiteral<"domains">;
|
|
1897
2194
|
domains: z.ZodArray<z.ZodString>;
|
|
@@ -1976,107 +2273,336 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
1976
2273
|
}, z.core.$strict>>>;
|
|
1977
2274
|
}, z.core.$strict>>;
|
|
1978
2275
|
}, z.core.$strict>>;
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
activations: z.ZodArray<z.ZodObject<{
|
|
1998
|
-
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
1999
|
-
extensionRevisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
2000
|
-
config: z.ZodJSONSchema;
|
|
2001
|
-
configuredSecrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2002
|
-
activatedAt: z.ZodNumber;
|
|
2003
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
2004
|
-
status: z.ZodEnum<{
|
|
2005
|
-
active: "active";
|
|
2006
|
-
"restore-failed": "restore-failed";
|
|
2007
|
-
"dispose-failed": "dispose-failed";
|
|
2008
|
-
}>;
|
|
2009
|
-
message: z.ZodOptional<z.ZodString>;
|
|
2010
|
-
observedAt: z.ZodNumber;
|
|
2011
|
-
}, z.core.$strip>>;
|
|
2012
|
-
mcpServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2013
|
-
name: z.ZodString;
|
|
2014
|
-
state: z.ZodEnum<{
|
|
2015
|
-
unavailable: "unavailable";
|
|
2016
|
-
connecting: "connecting";
|
|
2017
|
-
connected: "connected";
|
|
2018
|
-
"missing-credentials": "missing-credentials";
|
|
2019
|
-
}>;
|
|
2020
|
-
toolCount: z.ZodOptional<z.ZodNumber>;
|
|
2021
|
-
missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2022
|
-
message: z.ZodOptional<z.ZodString>;
|
|
2023
|
-
observedAt: z.ZodNumber;
|
|
2024
|
-
}, z.core.$strict>>>;
|
|
2025
|
-
}, z.core.$strict>>;
|
|
2026
|
-
installation: z.ZodOptional<z.ZodObject<{
|
|
2027
|
-
extensionRevisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
2028
|
-
installedAt: z.ZodNumber;
|
|
2029
|
-
config: z.ZodDefault<z.ZodJSONSchema>;
|
|
2030
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
2031
|
-
status: z.ZodEnum<{
|
|
2032
|
-
active: "active";
|
|
2033
|
-
"restore-failed": "restore-failed";
|
|
2034
|
-
"dispose-failed": "dispose-failed";
|
|
2035
|
-
}>;
|
|
2036
|
-
message: z.ZodOptional<z.ZodString>;
|
|
2037
|
-
observedAt: z.ZodNumber;
|
|
2038
|
-
}, z.core.$strip>>;
|
|
2039
|
-
}, z.core.$strict>>;
|
|
2040
|
-
hostUiPermission: z.ZodOptional<z.ZodObject<{
|
|
2041
|
-
declaration: z.ZodObject<{
|
|
2042
|
-
permissions: z.ZodArray<z.ZodEnum<{
|
|
2043
|
-
"agents.read": "agents.read";
|
|
2044
|
-
"channels.read": "channels.read";
|
|
2045
|
-
"connections.read": "connections.read";
|
|
2046
|
-
"extensions.read": "extensions.read";
|
|
2047
|
-
"dsh-plugins.read": "dsh-plugins.read";
|
|
2048
|
-
"runtime.read": "runtime.read";
|
|
2049
|
-
"messages.read": "messages.read";
|
|
2050
|
-
"assets.read": "assets.read";
|
|
2051
|
-
"agents.manage": "agents.manage";
|
|
2052
|
-
"channels.manage": "channels.manage";
|
|
2053
|
-
"connections.manage": "connections.manage";
|
|
2054
|
-
"credentials.write": "credentials.write";
|
|
2055
|
-
"messages.send": "messages.send";
|
|
2056
|
-
"notifications.publish": "notifications.publish";
|
|
2057
|
-
"network.request": "network.request";
|
|
2058
|
-
}>>;
|
|
2059
|
-
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
2060
|
-
capabilities: z.ZodOptional<z.ZodObject<{
|
|
2061
|
-
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2062
|
-
mode: z.ZodLiteral<"domains">;
|
|
2063
|
-
domains: z.ZodArray<z.ZodString>;
|
|
2064
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2065
|
-
mode: z.ZodLiteral<"config">;
|
|
2066
|
-
fields: z.ZodArray<z.ZodString>;
|
|
2067
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2068
|
-
mode: z.ZodLiteral<"unrestricted">;
|
|
2069
|
-
purpose: z.ZodString;
|
|
2070
|
-
}, z.core.$strict>], "mode">>;
|
|
2071
|
-
storage: z.ZodOptional<z.ZodObject<{
|
|
2072
|
-
scopes: z.ZodArray<z.ZodEnum<{
|
|
2073
|
-
channel: "channel";
|
|
2074
|
-
agent: "agent";
|
|
2075
|
-
member: "member";
|
|
2076
|
-
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";
|
|
2077
2294
|
}>>;
|
|
2078
|
-
|
|
2079
|
-
|
|
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>>;
|
|
2080
2606
|
assets: z.ZodOptional<z.ZodObject<{
|
|
2081
2607
|
write: z.ZodLiteral<true>;
|
|
2082
2608
|
}, z.core.$strict>>;
|
|
@@ -2210,6 +2736,9 @@ export declare const HostSnapshotSchema: z.ZodObject<{
|
|
|
2210
2736
|
startPath: z.ZodString;
|
|
2211
2737
|
visible: z.ZodBoolean;
|
|
2212
2738
|
sortOrder: z.ZodNumber;
|
|
2739
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
2740
|
+
order: z.ZodNumber;
|
|
2741
|
+
}, z.core.$strict>>;
|
|
2213
2742
|
routeBase: z.ZodString;
|
|
2214
2743
|
client: z.ZodObject<{
|
|
2215
2744
|
moduleUrl: z.ZodString;
|
|
@@ -2630,6 +3159,9 @@ export declare const DshPluginCatalogEntrySchema: z.ZodObject<{
|
|
|
2630
3159
|
navigation: "navigation";
|
|
2631
3160
|
}>;
|
|
2632
3161
|
startPath: z.ZodString;
|
|
3162
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
3163
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
3164
|
+
}, z.core.$strict>>;
|
|
2633
3165
|
}, z.core.$strict>>;
|
|
2634
3166
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
2635
3167
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
@@ -2923,6 +3455,7 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2923
3455
|
sender: z.ZodOptional<z.ZodObject<{
|
|
2924
3456
|
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
2925
3457
|
displayName: z.ZodOptional<z.ZodString>;
|
|
3458
|
+
localAgentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
2926
3459
|
}, z.core.$strict>>;
|
|
2927
3460
|
mentionedConnectionAccount: z.ZodOptional<z.ZodBoolean>;
|
|
2928
3461
|
activityKey: z.ZodOptional<z.ZodString>;
|
|
@@ -3122,6 +3655,13 @@ export declare const HostSseEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3122
3655
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
3123
3656
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
3124
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>>>;
|
|
3125
3665
|
}, z.core.$strict>>;
|
|
3126
3666
|
revision: z.ZodNumber;
|
|
3127
3667
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3241,6 +3781,16 @@ export declare const LlmProviderCredentialSchema: z.ZodObject<{
|
|
|
3241
3781
|
source: z.ZodOptional<z.ZodString>;
|
|
3242
3782
|
writable: z.ZodBoolean;
|
|
3243
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>;
|
|
3244
3794
|
export declare const LlmProviderViewSchema: z.ZodObject<{
|
|
3245
3795
|
provider: z.ZodString;
|
|
3246
3796
|
displayName: z.ZodString;
|
|
@@ -3269,6 +3819,12 @@ export declare const LlmProviderViewSchema: z.ZodObject<{
|
|
|
3269
3819
|
}, z.core.$strict>>;
|
|
3270
3820
|
modelsCustomized: z.ZodBoolean;
|
|
3271
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>>>;
|
|
3272
3828
|
}, z.core.$strict>;
|
|
3273
3829
|
export declare const LlmProviderSettingsSchema: z.ZodObject<{
|
|
3274
3830
|
writable: z.ZodBoolean;
|
|
@@ -3301,6 +3857,12 @@ export declare const LlmProviderSettingsSchema: z.ZodObject<{
|
|
|
3301
3857
|
}, z.core.$strict>>;
|
|
3302
3858
|
modelsCustomized: z.ZodBoolean;
|
|
3303
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>>>;
|
|
3304
3866
|
}, z.core.$strict>>;
|
|
3305
3867
|
}, z.core.$strict>;
|
|
3306
3868
|
export declare const ConnectionTestResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3353,20 +3915,21 @@ export declare const ExtensionImportInspectionSchema: z.ZodObject<{
|
|
|
3353
3915
|
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
3354
3916
|
slug: z.ZodString;
|
|
3355
3917
|
displayName: z.ZodString;
|
|
3356
|
-
|
|
3918
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
3357
3919
|
agent: "agent";
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3920
|
+
adapter: "adapter";
|
|
3921
|
+
mcp: "mcp";
|
|
3922
|
+
page: "page";
|
|
3923
|
+
}>>;
|
|
3361
3924
|
idempotent: z.ZodBoolean;
|
|
3362
3925
|
slugConflict: z.ZodBoolean;
|
|
3363
3926
|
}, z.core.$strict>;
|
|
3364
3927
|
export declare const AgentRevisionChangedFieldSchema: z.ZodEnum<{
|
|
3365
3928
|
name: "name";
|
|
3366
3929
|
model: "model";
|
|
3930
|
+
persona: "persona";
|
|
3367
3931
|
capabilities: "capabilities";
|
|
3368
3932
|
approvalPolicy: "approvalPolicy";
|
|
3369
|
-
persona: "persona";
|
|
3370
3933
|
imagePolicy: "imagePolicy";
|
|
3371
3934
|
}>;
|
|
3372
3935
|
export declare const AgentRevisionHistorySchema: z.ZodObject<{
|
|
@@ -3384,9 +3947,9 @@ export declare const AgentRevisionHistorySchema: z.ZodObject<{
|
|
|
3384
3947
|
changedFields: z.ZodArray<z.ZodEnum<{
|
|
3385
3948
|
name: "name";
|
|
3386
3949
|
model: "model";
|
|
3950
|
+
persona: "persona";
|
|
3387
3951
|
capabilities: "capabilities";
|
|
3388
3952
|
approvalPolicy: "approvalPolicy";
|
|
3389
|
-
persona: "persona";
|
|
3390
3953
|
imagePolicy: "imagePolicy";
|
|
3391
3954
|
}>>;
|
|
3392
3955
|
current: z.ZodBoolean;
|
|
@@ -3792,6 +4355,7 @@ export declare const HostApiContracts: {
|
|
|
3792
4355
|
unreadCount: z.ZodNumber;
|
|
3793
4356
|
unreadCapped: z.ZodBoolean;
|
|
3794
4357
|
}, z.core.$strict>>;
|
|
4358
|
+
localAgentIds: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>>;
|
|
3795
4359
|
bindings: z.ZodArray<z.ZodObject<{
|
|
3796
4360
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
3797
4361
|
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
@@ -3805,6 +4369,10 @@ export declare const HostApiContracts: {
|
|
|
3805
4369
|
auto: "auto";
|
|
3806
4370
|
off: "off";
|
|
3807
4371
|
}>>;
|
|
4372
|
+
localAgentMessages: z.ZodOptional<z.ZodEnum<{
|
|
4373
|
+
trigger: "trigger";
|
|
4374
|
+
observe: "observe";
|
|
4375
|
+
}>>;
|
|
3808
4376
|
activityTriggerOverrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
3809
4377
|
boundAt: z.ZodNumber;
|
|
3810
4378
|
}, z.core.$strict>>;
|
|
@@ -3857,6 +4425,7 @@ export declare const HostApiContracts: {
|
|
|
3857
4425
|
sender: z.ZodOptional<z.ZodObject<{
|
|
3858
4426
|
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
3859
4427
|
displayName: z.ZodOptional<z.ZodString>;
|
|
4428
|
+
localAgentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
3860
4429
|
}, z.core.$strict>>;
|
|
3861
4430
|
mentionedConnectionAccount: z.ZodOptional<z.ZodBoolean>;
|
|
3862
4431
|
activityKey: z.ZodOptional<z.ZodString>;
|
|
@@ -4016,11 +4585,12 @@ export declare const HostApiContracts: {
|
|
|
4016
4585
|
}, z.core.$strict>>>;
|
|
4017
4586
|
extensions: z.ZodArray<z.ZodObject<{
|
|
4018
4587
|
id: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
4019
|
-
|
|
4588
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
4020
4589
|
agent: "agent";
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4590
|
+
adapter: "adapter";
|
|
4591
|
+
mcp: "mcp";
|
|
4592
|
+
page: "page";
|
|
4593
|
+
}>>;
|
|
4024
4594
|
slug: z.ZodString;
|
|
4025
4595
|
displayName: z.ZodString;
|
|
4026
4596
|
description: z.ZodString;
|
|
@@ -4078,7 +4648,7 @@ export declare const HostApiContracts: {
|
|
|
4078
4648
|
toolViews: z.ZodArray<z.ZodString>;
|
|
4079
4649
|
messageRenderers: z.ZodArray<z.ZodString>;
|
|
4080
4650
|
}, z.core.$strict>>;
|
|
4081
|
-
|
|
4651
|
+
hostConfigSchema: z.ZodOptional<z.ZodType<import("./config-schema.js").ConfigSchemaNode, unknown, z.core.$ZodTypeInternals<import("./config-schema.js").ConfigSchemaNode, unknown>> & z.ZodType<{
|
|
4082
4652
|
readonly type: "object";
|
|
4083
4653
|
readonly dict: Readonly<Record<string, import("./config-schema.js").ConfigSchemaNode>>;
|
|
4084
4654
|
readonly meta?: import("./config-schema.js").ConfigSchemaMeta | undefined;
|
|
@@ -4087,6 +4657,16 @@ export declare const HostApiContracts: {
|
|
|
4087
4657
|
readonly dict: Readonly<Record<string, import("./config-schema.js").ConfigSchemaNode>>;
|
|
4088
4658
|
readonly meta?: import("./config-schema.js").ConfigSchemaMeta | undefined;
|
|
4089
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>;
|
|
4090
4670
|
createdAt: z.ZodNumber;
|
|
4091
4671
|
source: z.ZodOptional<z.ZodObject<{
|
|
4092
4672
|
kind: z.ZodLiteral<"community">;
|
|
@@ -4094,12 +4674,14 @@ export declare const HostApiContracts: {
|
|
|
4094
4674
|
releaseId: z.ZodString;
|
|
4095
4675
|
publisherHandle: z.ZodString;
|
|
4096
4676
|
installedAt: z.ZodNumber;
|
|
4097
|
-
}, z.core.$
|
|
4098
|
-
|
|
4677
|
+
}, z.core.$strip>>;
|
|
4678
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
4099
4679
|
agent: "agent";
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4680
|
+
adapter: "adapter";
|
|
4681
|
+
mcp: "mcp";
|
|
4682
|
+
page: "page";
|
|
4683
|
+
}>>;
|
|
4684
|
+
agentLayer: z.ZodBoolean;
|
|
4103
4685
|
contributions: z.ZodArray<z.ZodString>;
|
|
4104
4686
|
verification: z.ZodOptional<z.ZodObject<{
|
|
4105
4687
|
verifiedAt: z.ZodNumber;
|
|
@@ -4145,6 +4727,9 @@ export declare const HostApiContracts: {
|
|
|
4145
4727
|
navigation: "navigation";
|
|
4146
4728
|
}>;
|
|
4147
4729
|
startPath: z.ZodString;
|
|
4730
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
4731
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4732
|
+
}, z.core.$strict>>;
|
|
4148
4733
|
}, z.core.$strict>>>;
|
|
4149
4734
|
usedUiComponents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4150
4735
|
Button: "Button";
|
|
@@ -4193,7 +4778,7 @@ export declare const HostApiContracts: {
|
|
|
4193
4778
|
titleDistinct: z.ZodBoolean;
|
|
4194
4779
|
}, z.core.$strict>>>;
|
|
4195
4780
|
permissions: z.ZodOptional<z.ZodObject<{
|
|
4196
|
-
permissions: z.ZodArray<z.ZodEnum<{
|
|
4781
|
+
permissions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4197
4782
|
"agents.read": "agents.read";
|
|
4198
4783
|
"channels.read": "channels.read";
|
|
4199
4784
|
"connections.read": "connections.read";
|
|
@@ -4209,9 +4794,24 @@ export declare const HostApiContracts: {
|
|
|
4209
4794
|
"messages.send": "messages.send";
|
|
4210
4795
|
"notifications.publish": "notifications.publish";
|
|
4211
4796
|
"network.request": "network.request";
|
|
4212
|
-
}
|
|
4797
|
+
}>>>;
|
|
4213
4798
|
networkOrigins: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
4214
|
-
|
|
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<{
|
|
4215
4815
|
network: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4216
4816
|
mode: z.ZodLiteral<"domains">;
|
|
4217
4817
|
domains: z.ZodArray<z.ZodString>;
|
|
@@ -4296,8 +4896,222 @@ export declare const HostApiContracts: {
|
|
|
4296
4896
|
}, z.core.$strict>>>;
|
|
4297
4897
|
}, z.core.$strict>>;
|
|
4298
4898
|
}, z.core.$strict>>;
|
|
4299
|
-
|
|
4300
|
-
|
|
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>>;
|
|
4301
5115
|
adapter: z.ZodOptional<z.ZodObject<{
|
|
4302
5116
|
apiVersion: z.ZodLiteral<2>;
|
|
4303
5117
|
key: z.ZodString;
|
|
@@ -4343,10 +5157,25 @@ export declare const HostApiContracts: {
|
|
|
4343
5157
|
observedAt: z.ZodNumber;
|
|
4344
5158
|
}, z.core.$strict>>>;
|
|
4345
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>>>;
|
|
4346
5174
|
installation: z.ZodOptional<z.ZodObject<{
|
|
4347
5175
|
extensionRevisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
4348
5176
|
installedAt: z.ZodNumber;
|
|
4349
5177
|
config: z.ZodDefault<z.ZodJSONSchema>;
|
|
5178
|
+
configuredSecrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4350
5179
|
runtime: z.ZodOptional<z.ZodObject<{
|
|
4351
5180
|
status: z.ZodEnum<{
|
|
4352
5181
|
active: "active";
|
|
@@ -4357,7 +5186,7 @@ export declare const HostApiContracts: {
|
|
|
4357
5186
|
observedAt: z.ZodNumber;
|
|
4358
5187
|
}, z.core.$strip>>;
|
|
4359
5188
|
}, z.core.$strict>>;
|
|
4360
|
-
|
|
5189
|
+
hostPermission: z.ZodOptional<z.ZodObject<{
|
|
4361
5190
|
declaration: z.ZodObject<{
|
|
4362
5191
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
4363
5192
|
"agents.read": "agents.read";
|
|
@@ -4530,6 +5359,9 @@ export declare const HostApiContracts: {
|
|
|
4530
5359
|
startPath: z.ZodString;
|
|
4531
5360
|
visible: z.ZodBoolean;
|
|
4532
5361
|
sortOrder: z.ZodNumber;
|
|
5362
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
5363
|
+
order: z.ZodNumber;
|
|
5364
|
+
}, z.core.$strict>>;
|
|
4533
5365
|
routeBase: z.ZodString;
|
|
4534
5366
|
client: z.ZodObject<{
|
|
4535
5367
|
moduleUrl: z.ZodString;
|
|
@@ -6176,6 +7008,10 @@ export declare const HostApiContracts: {
|
|
|
6176
7008
|
auto: "auto";
|
|
6177
7009
|
off: "off";
|
|
6178
7010
|
}>>;
|
|
7011
|
+
localAgentMessages: z.ZodOptional<z.ZodEnum<{
|
|
7012
|
+
trigger: "trigger";
|
|
7013
|
+
observe: "observe";
|
|
7014
|
+
}>>;
|
|
6179
7015
|
activityTriggerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
6180
7016
|
}, z.core.$strict>, z.ZodObject<{
|
|
6181
7017
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
@@ -6190,6 +7026,10 @@ export declare const HostApiContracts: {
|
|
|
6190
7026
|
auto: "auto";
|
|
6191
7027
|
off: "off";
|
|
6192
7028
|
}>>;
|
|
7029
|
+
localAgentMessages: z.ZodOptional<z.ZodEnum<{
|
|
7030
|
+
trigger: "trigger";
|
|
7031
|
+
observe: "observe";
|
|
7032
|
+
}>>;
|
|
6193
7033
|
activityTriggerOverrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
6194
7034
|
boundAt: z.ZodNumber;
|
|
6195
7035
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -6272,6 +7112,7 @@ export declare const HostApiContracts: {
|
|
|
6272
7112
|
sender: z.ZodOptional<z.ZodObject<{
|
|
6273
7113
|
memberId: z.core.$ZodBranded<z.ZodString, "ChannelMemberId", "out">;
|
|
6274
7114
|
displayName: z.ZodOptional<z.ZodString>;
|
|
7115
|
+
localAgentId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AgentId", "out">>;
|
|
6275
7116
|
}, z.core.$strict>>;
|
|
6276
7117
|
mentionedConnectionAccount: z.ZodOptional<z.ZodBoolean>;
|
|
6277
7118
|
activityKey: z.ZodOptional<z.ZodString>;
|
|
@@ -6498,6 +7339,13 @@ export declare const HostApiContracts: {
|
|
|
6498
7339
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
6499
7340
|
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
6500
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>>>;
|
|
6501
7349
|
}, z.core.$strict>>;
|
|
6502
7350
|
cursor: z.ZodObject<{
|
|
6503
7351
|
epoch: z.ZodString;
|
|
@@ -6526,6 +7374,225 @@ export declare const HostApiContracts: {
|
|
|
6526
7374
|
message: z.ZodString;
|
|
6527
7375
|
}, z.core.$strict>;
|
|
6528
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<{
|
|
7503
|
+
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
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>>;
|
|
7590
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7591
|
+
error: z.ZodObject<{
|
|
7592
|
+
code: z.ZodString;
|
|
7593
|
+
message: z.ZodString;
|
|
7594
|
+
}, z.core.$strict>;
|
|
7595
|
+
}, z.core.$strict>>;
|
|
6529
7596
|
readonly resetChannelContext: HostApiContract<"POST", z.ZodObject<{
|
|
6530
7597
|
channelId: z.core.$ZodBranded<z.ZodString, "ChannelId", "out">;
|
|
6531
7598
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -6740,6 +7807,9 @@ export declare const HostApiContracts: {
|
|
|
6740
7807
|
navigation: "navigation";
|
|
6741
7808
|
}>;
|
|
6742
7809
|
startPath: z.ZodString;
|
|
7810
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
7811
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
7812
|
+
}, z.core.$strict>>;
|
|
6743
7813
|
}, z.core.$strict>>;
|
|
6744
7814
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
6745
7815
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
@@ -6944,6 +8014,9 @@ export declare const HostApiContracts: {
|
|
|
6944
8014
|
navigation: "navigation";
|
|
6945
8015
|
}>;
|
|
6946
8016
|
startPath: z.ZodString;
|
|
8017
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
8018
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
8019
|
+
}, z.core.$strict>>;
|
|
6947
8020
|
}, z.core.$strict>>;
|
|
6948
8021
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
6949
8022
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
@@ -7122,6 +8195,9 @@ export declare const HostApiContracts: {
|
|
|
7122
8195
|
navigation: "navigation";
|
|
7123
8196
|
}>;
|
|
7124
8197
|
startPath: z.ZodString;
|
|
8198
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
8199
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
8200
|
+
}, z.core.$strict>>;
|
|
7125
8201
|
}, z.core.$strict>>;
|
|
7126
8202
|
permissions: z.ZodDefault<z.ZodObject<{
|
|
7127
8203
|
permissions: z.ZodArray<z.ZodEnum<{
|
|
@@ -7323,11 +8399,12 @@ export declare const HostApiContracts: {
|
|
|
7323
8399
|
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
7324
8400
|
slug: z.ZodString;
|
|
7325
8401
|
displayName: z.ZodString;
|
|
7326
|
-
|
|
8402
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
7327
8403
|
agent: "agent";
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
8404
|
+
adapter: "adapter";
|
|
8405
|
+
mcp: "mcp";
|
|
8406
|
+
page: "page";
|
|
8407
|
+
}>>;
|
|
7331
8408
|
idempotent: z.ZodBoolean;
|
|
7332
8409
|
slugConflict: z.ZodBoolean;
|
|
7333
8410
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -7384,10 +8461,10 @@ export declare const HostApiContracts: {
|
|
|
7384
8461
|
handle: z.ZodString;
|
|
7385
8462
|
displayName: z.ZodString;
|
|
7386
8463
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
7387
|
-
}, z.core.$
|
|
8464
|
+
}, z.core.$strip>>;
|
|
7388
8465
|
signedInAt: z.ZodNullable<z.ZodNumber>;
|
|
7389
8466
|
updatesAvailable: z.ZodNumber;
|
|
7390
|
-
}, z.core.$
|
|
8467
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7391
8468
|
error: z.ZodObject<{
|
|
7392
8469
|
code: z.ZodString;
|
|
7393
8470
|
message: z.ZodString;
|
|
@@ -7414,10 +8491,10 @@ export declare const HostApiContracts: {
|
|
|
7414
8491
|
handle: z.ZodString;
|
|
7415
8492
|
displayName: z.ZodString;
|
|
7416
8493
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
7417
|
-
}, z.core.$
|
|
8494
|
+
}, z.core.$strip>>;
|
|
7418
8495
|
signedInAt: z.ZodNullable<z.ZodNumber>;
|
|
7419
8496
|
updatesAvailable: z.ZodNumber;
|
|
7420
|
-
}, z.core.$
|
|
8497
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7421
8498
|
error: z.ZodObject<{
|
|
7422
8499
|
code: z.ZodString;
|
|
7423
8500
|
message: z.ZodString;
|
|
@@ -7425,29 +8502,36 @@ export declare const HostApiContracts: {
|
|
|
7425
8502
|
}, z.core.$strict>>;
|
|
7426
8503
|
readonly listCommunityExtensions: HostApiContract<"GET", z.ZodObject<{
|
|
7427
8504
|
query: z.ZodOptional<z.ZodString>;
|
|
7428
|
-
|
|
8505
|
+
provides: z.ZodOptional<z.ZodEnum<{
|
|
7429
8506
|
agent: "agent";
|
|
7430
|
-
|
|
7431
|
-
|
|
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";
|
|
7432
8519
|
}>>;
|
|
7433
8520
|
cursor: z.ZodOptional<z.ZodString>;
|
|
7434
8521
|
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7435
8522
|
items: z.ZodArray<z.ZodObject<{
|
|
7436
8523
|
id: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7437
|
-
|
|
7438
|
-
agent: "agent";
|
|
7439
|
-
"host-adapter": "host-adapter";
|
|
7440
|
-
"host-ui": "host-ui";
|
|
7441
|
-
}>;
|
|
8524
|
+
provides: z.ZodArray<z.ZodString>;
|
|
7442
8525
|
displayName: z.ZodString;
|
|
7443
8526
|
summary: z.ZodString;
|
|
7444
8527
|
tags: z.ZodArray<z.ZodString>;
|
|
8528
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
7445
8529
|
official: z.ZodBoolean;
|
|
7446
8530
|
publisher: z.ZodObject<{
|
|
7447
8531
|
handle: z.ZodString;
|
|
7448
8532
|
displayName: z.ZodString;
|
|
7449
8533
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
7450
|
-
}, z.core.$
|
|
8534
|
+
}, z.core.$strip>;
|
|
7451
8535
|
latest: z.ZodNullable<z.ZodObject<{
|
|
7452
8536
|
id: z.ZodString;
|
|
7453
8537
|
reviewStatus: z.ZodEnum<{
|
|
@@ -7461,12 +8545,17 @@ export declare const HostApiContracts: {
|
|
|
7461
8545
|
rejected: "rejected";
|
|
7462
8546
|
incomplete: "incomplete";
|
|
7463
8547
|
}>;
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
|
|
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>>;
|
|
7470
8559
|
permissions: z.ZodArray<z.ZodObject<{
|
|
7471
8560
|
key: z.ZodString;
|
|
7472
8561
|
level: z.ZodEnum<{
|
|
@@ -7476,16 +8565,20 @@ export declare const HostApiContracts: {
|
|
|
7476
8565
|
}>;
|
|
7477
8566
|
label: z.ZodString;
|
|
7478
8567
|
detail: z.ZodOptional<z.ZodString>;
|
|
7479
|
-
|
|
8568
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
8569
|
+
host: "host";
|
|
8570
|
+
agent: "agent";
|
|
8571
|
+
}>>;
|
|
8572
|
+
}, z.core.$strip>>;
|
|
7480
8573
|
packageSize: z.ZodNumber;
|
|
7481
8574
|
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
7482
8575
|
notes: z.ZodString;
|
|
7483
8576
|
createdAt: z.ZodNumber;
|
|
7484
|
-
}, z.core.$
|
|
8577
|
+
}, z.core.$strip>>;
|
|
7485
8578
|
downloads: z.ZodNumber;
|
|
7486
8579
|
updatedAt: z.ZodNumber;
|
|
7487
8580
|
pageUrl: z.ZodString;
|
|
7488
|
-
}, z.core.$
|
|
8581
|
+
}, z.core.$strip>>;
|
|
7489
8582
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
7490
8583
|
}, z.core.$strict>, z.ZodObject<{
|
|
7491
8584
|
error: z.ZodObject<{
|
|
@@ -7497,20 +8590,17 @@ export declare const HostApiContracts: {
|
|
|
7497
8590
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7498
8591
|
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7499
8592
|
id: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7500
|
-
|
|
7501
|
-
agent: "agent";
|
|
7502
|
-
"host-adapter": "host-adapter";
|
|
7503
|
-
"host-ui": "host-ui";
|
|
7504
|
-
}>;
|
|
8593
|
+
provides: z.ZodArray<z.ZodString>;
|
|
7505
8594
|
displayName: z.ZodString;
|
|
7506
8595
|
summary: z.ZodString;
|
|
7507
8596
|
tags: z.ZodArray<z.ZodString>;
|
|
8597
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
7508
8598
|
official: z.ZodBoolean;
|
|
7509
8599
|
publisher: z.ZodObject<{
|
|
7510
8600
|
handle: z.ZodString;
|
|
7511
8601
|
displayName: z.ZodString;
|
|
7512
8602
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
7513
|
-
}, z.core.$
|
|
8603
|
+
}, z.core.$strip>;
|
|
7514
8604
|
latest: z.ZodNullable<z.ZodObject<{
|
|
7515
8605
|
id: z.ZodString;
|
|
7516
8606
|
reviewStatus: z.ZodEnum<{
|
|
@@ -7524,12 +8614,17 @@ export declare const HostApiContracts: {
|
|
|
7524
8614
|
rejected: "rejected";
|
|
7525
8615
|
incomplete: "incomplete";
|
|
7526
8616
|
}>;
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
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>>;
|
|
7533
8628
|
permissions: z.ZodArray<z.ZodObject<{
|
|
7534
8629
|
key: z.ZodString;
|
|
7535
8630
|
level: z.ZodEnum<{
|
|
@@ -7539,12 +8634,16 @@ export declare const HostApiContracts: {
|
|
|
7539
8634
|
}>;
|
|
7540
8635
|
label: z.ZodString;
|
|
7541
8636
|
detail: z.ZodOptional<z.ZodString>;
|
|
7542
|
-
|
|
8637
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
8638
|
+
host: "host";
|
|
8639
|
+
agent: "agent";
|
|
8640
|
+
}>>;
|
|
8641
|
+
}, z.core.$strip>>;
|
|
7543
8642
|
packageSize: z.ZodNumber;
|
|
7544
8643
|
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
7545
8644
|
notes: z.ZodString;
|
|
7546
8645
|
createdAt: z.ZodNumber;
|
|
7547
|
-
}, z.core.$
|
|
8646
|
+
}, z.core.$strip>>;
|
|
7548
8647
|
downloads: z.ZodNumber;
|
|
7549
8648
|
updatedAt: z.ZodNumber;
|
|
7550
8649
|
pageUrl: z.ZodString;
|
|
@@ -7562,19 +8661,34 @@ export declare const HostApiContracts: {
|
|
|
7562
8661
|
rejected: "rejected";
|
|
7563
8662
|
incomplete: "incomplete";
|
|
7564
8663
|
}>;
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
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>>;
|
|
7571
8675
|
summary: z.ZodNullable<z.ZodString>;
|
|
7572
|
-
|
|
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;
|
|
7573
8682
|
severity: z.ZodString;
|
|
7574
8683
|
title: z.ZodString;
|
|
7575
|
-
}, z.core.$
|
|
7576
|
-
|
|
7577
|
-
|
|
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<{
|
|
7578
8692
|
error: z.ZodObject<{
|
|
7579
8693
|
code: z.ZodString;
|
|
7580
8694
|
message: z.ZodString;
|
|
@@ -7591,7 +8705,7 @@ export declare const HostApiContracts: {
|
|
|
7591
8705
|
defaultUrl: z.ZodString;
|
|
7592
8706
|
environmentUrl: z.ZodNullable<z.ZodString>;
|
|
7593
8707
|
insecure: z.ZodBoolean;
|
|
7594
|
-
}, z.core.$
|
|
8708
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7595
8709
|
error: z.ZodObject<{
|
|
7596
8710
|
code: z.ZodString;
|
|
7597
8711
|
message: z.ZodString;
|
|
@@ -7611,7 +8725,7 @@ export declare const HostApiContracts: {
|
|
|
7611
8725
|
defaultUrl: z.ZodString;
|
|
7612
8726
|
environmentUrl: z.ZodNullable<z.ZodString>;
|
|
7613
8727
|
insecure: z.ZodBoolean;
|
|
7614
|
-
}, z.core.$
|
|
8728
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7615
8729
|
error: z.ZodObject<{
|
|
7616
8730
|
code: z.ZodString;
|
|
7617
8731
|
message: z.ZodString;
|
|
@@ -7651,7 +8765,7 @@ export declare const HostApiContracts: {
|
|
|
7651
8765
|
releaseId: z.ZodString;
|
|
7652
8766
|
publisherHandle: z.ZodString;
|
|
7653
8767
|
installedAt: z.ZodNumber;
|
|
7654
|
-
}, z.core.$
|
|
8768
|
+
}, z.core.$strip>;
|
|
7655
8769
|
sameCommunity: z.ZodBoolean;
|
|
7656
8770
|
found: z.ZodBoolean;
|
|
7657
8771
|
delisted: z.ZodBoolean;
|
|
@@ -7670,12 +8784,17 @@ export declare const HostApiContracts: {
|
|
|
7670
8784
|
rejected: "rejected";
|
|
7671
8785
|
incomplete: "incomplete";
|
|
7672
8786
|
}>;
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7678
|
-
|
|
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>>;
|
|
7679
8798
|
permissions: z.ZodArray<z.ZodObject<{
|
|
7680
8799
|
key: z.ZodString;
|
|
7681
8800
|
level: z.ZodEnum<{
|
|
@@ -7685,12 +8804,16 @@ export declare const HostApiContracts: {
|
|
|
7685
8804
|
}>;
|
|
7686
8805
|
label: z.ZodString;
|
|
7687
8806
|
detail: z.ZodOptional<z.ZodString>;
|
|
7688
|
-
|
|
8807
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
8808
|
+
host: "host";
|
|
8809
|
+
agent: "agent";
|
|
8810
|
+
}>>;
|
|
8811
|
+
}, z.core.$strip>>;
|
|
7689
8812
|
packageSize: z.ZodNumber;
|
|
7690
8813
|
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
7691
8814
|
notes: z.ZodString;
|
|
7692
8815
|
createdAt: z.ZodNumber;
|
|
7693
|
-
}, z.core.$
|
|
8816
|
+
}, z.core.$strip>>;
|
|
7694
8817
|
updateAvailable: z.ZodBoolean;
|
|
7695
8818
|
addedPermissions: z.ZodArray<z.ZodObject<{
|
|
7696
8819
|
key: z.ZodString;
|
|
@@ -7701,9 +8824,13 @@ export declare const HostApiContracts: {
|
|
|
7701
8824
|
}>;
|
|
7702
8825
|
label: z.ZodString;
|
|
7703
8826
|
detail: z.ZodOptional<z.ZodString>;
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
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<{
|
|
7707
8834
|
error: z.ZodObject<{
|
|
7708
8835
|
code: z.ZodString;
|
|
7709
8836
|
message: z.ZodString;
|
|
@@ -7712,20 +8839,17 @@ export declare const HostApiContracts: {
|
|
|
7712
8839
|
readonly listCommunityMine: HostApiContract<"GET", z.ZodObject<{}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
7713
8840
|
items: z.ZodArray<z.ZodObject<{
|
|
7714
8841
|
id: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7715
|
-
|
|
7716
|
-
agent: "agent";
|
|
7717
|
-
"host-adapter": "host-adapter";
|
|
7718
|
-
"host-ui": "host-ui";
|
|
7719
|
-
}>;
|
|
8842
|
+
provides: z.ZodArray<z.ZodString>;
|
|
7720
8843
|
displayName: z.ZodString;
|
|
7721
8844
|
summary: z.ZodString;
|
|
7722
8845
|
tags: z.ZodArray<z.ZodString>;
|
|
8846
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
7723
8847
|
official: z.ZodBoolean;
|
|
7724
8848
|
publisher: z.ZodObject<{
|
|
7725
8849
|
handle: z.ZodString;
|
|
7726
8850
|
displayName: z.ZodString;
|
|
7727
8851
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
7728
|
-
}, z.core.$
|
|
8852
|
+
}, z.core.$strip>;
|
|
7729
8853
|
latest: z.ZodNullable<z.ZodObject<{
|
|
7730
8854
|
id: z.ZodString;
|
|
7731
8855
|
reviewStatus: z.ZodEnum<{
|
|
@@ -7739,12 +8863,17 @@ export declare const HostApiContracts: {
|
|
|
7739
8863
|
rejected: "rejected";
|
|
7740
8864
|
incomplete: "incomplete";
|
|
7741
8865
|
}>;
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
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>>;
|
|
7748
8877
|
permissions: z.ZodArray<z.ZodObject<{
|
|
7749
8878
|
key: z.ZodString;
|
|
7750
8879
|
level: z.ZodEnum<{
|
|
@@ -7754,12 +8883,16 @@ export declare const HostApiContracts: {
|
|
|
7754
8883
|
}>;
|
|
7755
8884
|
label: z.ZodString;
|
|
7756
8885
|
detail: z.ZodOptional<z.ZodString>;
|
|
7757
|
-
|
|
8886
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
8887
|
+
host: "host";
|
|
8888
|
+
agent: "agent";
|
|
8889
|
+
}>>;
|
|
8890
|
+
}, z.core.$strip>>;
|
|
7758
8891
|
packageSize: z.ZodNumber;
|
|
7759
8892
|
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
7760
8893
|
notes: z.ZodString;
|
|
7761
8894
|
createdAt: z.ZodNumber;
|
|
7762
|
-
}, z.core.$
|
|
8895
|
+
}, z.core.$strip>>;
|
|
7763
8896
|
downloads: z.ZodNumber;
|
|
7764
8897
|
updatedAt: z.ZodNumber;
|
|
7765
8898
|
pageUrl: z.ZodString;
|
|
@@ -7776,12 +8909,17 @@ export declare const HostApiContracts: {
|
|
|
7776
8909
|
rejected: "rejected";
|
|
7777
8910
|
incomplete: "incomplete";
|
|
7778
8911
|
}>;
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
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>>;
|
|
7785
8923
|
permissions: z.ZodArray<z.ZodObject<{
|
|
7786
8924
|
key: z.ZodString;
|
|
7787
8925
|
level: z.ZodEnum<{
|
|
@@ -7791,16 +8929,20 @@ export declare const HostApiContracts: {
|
|
|
7791
8929
|
}>;
|
|
7792
8930
|
label: z.ZodString;
|
|
7793
8931
|
detail: z.ZodOptional<z.ZodString>;
|
|
7794
|
-
|
|
8932
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
8933
|
+
host: "host";
|
|
8934
|
+
agent: "agent";
|
|
8935
|
+
}>>;
|
|
8936
|
+
}, z.core.$strip>>;
|
|
7795
8937
|
packageSize: z.ZodNumber;
|
|
7796
8938
|
requiresSdk: z.ZodNullable<z.ZodNumber>;
|
|
7797
8939
|
notes: z.ZodString;
|
|
7798
8940
|
createdAt: z.ZodNumber;
|
|
7799
8941
|
withdrawn: z.ZodBoolean;
|
|
7800
|
-
}, z.core.$
|
|
8942
|
+
}, z.core.$strip>>;
|
|
7801
8943
|
delisted: z.ZodBoolean;
|
|
7802
8944
|
delistedReason: z.ZodNullable<z.ZodString>;
|
|
7803
|
-
}, z.core.$
|
|
8945
|
+
}, z.core.$strip>>;
|
|
7804
8946
|
}, z.core.$strict>, z.ZodObject<{
|
|
7805
8947
|
error: z.ZodObject<{
|
|
7806
8948
|
code: z.ZodString;
|
|
@@ -7822,12 +8964,17 @@ export declare const HostApiContracts: {
|
|
|
7822
8964
|
rejected: "rejected";
|
|
7823
8965
|
incomplete: "incomplete";
|
|
7824
8966
|
}>;
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
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>>;
|
|
7831
8978
|
deterministic: z.ZodArray<z.ZodObject<{
|
|
7832
8979
|
severity: z.ZodEnum<{
|
|
7833
8980
|
info: "info";
|
|
@@ -7839,44 +8986,23 @@ export declare const HostApiContracts: {
|
|
|
7839
8986
|
detail: z.ZodString;
|
|
7840
8987
|
file: z.ZodOptional<z.ZodString>;
|
|
7841
8988
|
line: z.ZodOptional<z.ZodNumber>;
|
|
7842
|
-
}, z.core.$
|
|
8989
|
+
}, z.core.$strip>>;
|
|
7843
8990
|
ai: z.ZodNullable<z.ZodObject<{
|
|
7844
8991
|
summary: z.ZodString;
|
|
7845
8992
|
verdict: z.ZodString;
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
D: "D";
|
|
7851
|
-
}>;
|
|
8993
|
+
compliance: z.ZodNullable<z.ZodObject<{
|
|
8994
|
+
ok: z.ZodBoolean;
|
|
8995
|
+
notes: z.ZodString;
|
|
8996
|
+
}, z.core.$strip>>;
|
|
7852
8997
|
dimensions: z.ZodArray<z.ZodObject<{
|
|
7853
|
-
key: z.
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
reliability: "reliability";
|
|
7857
|
-
context_cost: "context_cost";
|
|
7858
|
-
usability: "usability";
|
|
7859
|
-
maintainability: "maintainability";
|
|
7860
|
-
compliance: "compliance";
|
|
7861
|
-
}>;
|
|
7862
|
-
grade: z.ZodEnum<{
|
|
7863
|
-
A: "A";
|
|
7864
|
-
B: "B";
|
|
7865
|
-
C: "C";
|
|
7866
|
-
D: "D";
|
|
7867
|
-
}>;
|
|
8998
|
+
key: z.ZodString;
|
|
8999
|
+
stars: z.ZodNumber;
|
|
9000
|
+
headline: z.ZodString;
|
|
7868
9001
|
notes: z.ZodString;
|
|
7869
|
-
|
|
9002
|
+
nextStar: z.ZodOptional<z.ZodString>;
|
|
9003
|
+
}, z.core.$strip>>;
|
|
7870
9004
|
findings: z.ZodArray<z.ZodObject<{
|
|
7871
|
-
dimension: z.
|
|
7872
|
-
security: "security";
|
|
7873
|
-
transparency: "transparency";
|
|
7874
|
-
reliability: "reliability";
|
|
7875
|
-
context_cost: "context_cost";
|
|
7876
|
-
usability: "usability";
|
|
7877
|
-
maintainability: "maintainability";
|
|
7878
|
-
compliance: "compliance";
|
|
7879
|
-
}>;
|
|
9005
|
+
dimension: z.ZodString;
|
|
7880
9006
|
severity: z.ZodEnum<{
|
|
7881
9007
|
info: "info";
|
|
7882
9008
|
warning: "warning";
|
|
@@ -7889,9 +9015,9 @@ export declare const HostApiContracts: {
|
|
|
7889
9015
|
file: z.ZodOptional<z.ZodString>;
|
|
7890
9016
|
line: z.ZodOptional<z.ZodNumber>;
|
|
7891
9017
|
suggestion: z.ZodOptional<z.ZodString>;
|
|
7892
|
-
}, z.core.$
|
|
9018
|
+
}, z.core.$strip>>;
|
|
7893
9019
|
exploitability: z.ZodOptional<z.ZodString>;
|
|
7894
|
-
}, z.core.$
|
|
9020
|
+
}, z.core.$strip>>;
|
|
7895
9021
|
model: z.ZodNullable<z.ZodString>;
|
|
7896
9022
|
error: z.ZodNullable<z.ZodString>;
|
|
7897
9023
|
decisions: z.ZodArray<z.ZodObject<{
|
|
@@ -7899,10 +9025,10 @@ export declare const HostApiContracts: {
|
|
|
7899
9025
|
note: z.ZodString;
|
|
7900
9026
|
by: z.ZodString;
|
|
7901
9027
|
createdAt: z.ZodNumber;
|
|
7902
|
-
}, z.core.$
|
|
9028
|
+
}, z.core.$strip>>;
|
|
7903
9029
|
finishedAt: z.ZodNullable<z.ZodNumber>;
|
|
7904
9030
|
reportUrl: z.ZodString;
|
|
7905
|
-
}, z.core.$
|
|
9031
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7906
9032
|
error: z.ZodObject<{
|
|
7907
9033
|
code: z.ZodString;
|
|
7908
9034
|
message: z.ZodString;
|
|
@@ -7936,11 +9062,12 @@ export declare const HostApiContracts: {
|
|
|
7936
9062
|
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
7937
9063
|
slug: z.ZodString;
|
|
7938
9064
|
displayName: z.ZodString;
|
|
7939
|
-
|
|
9065
|
+
provides: z.ZodArray<z.ZodEnum<{
|
|
7940
9066
|
agent: "agent";
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
9067
|
+
adapter: "adapter";
|
|
9068
|
+
mcp: "mcp";
|
|
9069
|
+
page: "page";
|
|
9070
|
+
}>>;
|
|
7944
9071
|
idempotent: z.ZodBoolean;
|
|
7945
9072
|
slugConflict: z.ZodBoolean;
|
|
7946
9073
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -7953,6 +9080,12 @@ export declare const HostApiContracts: {
|
|
|
7953
9080
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
7954
9081
|
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
7955
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>>;
|
|
7956
9089
|
}, z.core.$strict>, z.ZodObject<{
|
|
7957
9090
|
releaseId: z.ZodString;
|
|
7958
9091
|
reviewStatus: z.ZodEnum<{
|
|
@@ -7978,6 +9111,203 @@ export declare const HostApiContracts: {
|
|
|
7978
9111
|
message: z.ZodString;
|
|
7979
9112
|
}, z.core.$strict>;
|
|
7980
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>>;
|
|
7981
9311
|
readonly testMcpServer: HostApiContract<"POST", z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
7982
9312
|
server: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7983
9313
|
transport: z.ZodLiteral<"streamable-http">;
|
|
@@ -8200,6 +9530,12 @@ export declare const HostApiContracts: {
|
|
|
8200
9530
|
}, z.core.$strict>>;
|
|
8201
9531
|
modelsCustomized: z.ZodBoolean;
|
|
8202
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>>>;
|
|
8203
9539
|
}, z.core.$strict>>;
|
|
8204
9540
|
}, z.core.$strict>, z.ZodObject<{
|
|
8205
9541
|
error: z.ZodObject<{
|
|
@@ -8325,6 +9661,12 @@ export declare const HostApiContracts: {
|
|
|
8325
9661
|
}, z.core.$strict>>;
|
|
8326
9662
|
modelsCustomized: z.ZodBoolean;
|
|
8327
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>>>;
|
|
8328
9670
|
}, z.core.$strict>>;
|
|
8329
9671
|
}, z.core.$strict>, z.ZodObject<{
|
|
8330
9672
|
error: z.ZodObject<{
|
|
@@ -8367,6 +9709,12 @@ export declare const HostApiContracts: {
|
|
|
8367
9709
|
}, z.core.$strict>>;
|
|
8368
9710
|
modelsCustomized: z.ZodBoolean;
|
|
8369
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>>>;
|
|
8370
9718
|
}, z.core.$strict>>;
|
|
8371
9719
|
}, z.core.$strict>, z.ZodObject<{
|
|
8372
9720
|
error: z.ZodObject<{
|
|
@@ -8423,6 +9771,12 @@ export declare const HostApiContracts: {
|
|
|
8423
9771
|
}, z.core.$strict>>;
|
|
8424
9772
|
modelsCustomized: z.ZodBoolean;
|
|
8425
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>>>;
|
|
8426
9780
|
}, z.core.$strict>>;
|
|
8427
9781
|
}, z.core.$strict>, z.ZodObject<{
|
|
8428
9782
|
error: z.ZodObject<{
|
|
@@ -8931,6 +10285,9 @@ export declare const HostApiContracts: {
|
|
|
8931
10285
|
navigation: "navigation";
|
|
8932
10286
|
}>;
|
|
8933
10287
|
startPath: z.ZodString;
|
|
10288
|
+
rail: z.ZodOptional<z.ZodObject<{
|
|
10289
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
10290
|
+
}, z.core.$strict>>;
|
|
8934
10291
|
}, z.core.$strict>>>;
|
|
8935
10292
|
usedUiComponents: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
8936
10293
|
Button: "Button";
|
|
@@ -9018,7 +10375,16 @@ export declare const HostApiContracts: {
|
|
|
9018
10375
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
9019
10376
|
revisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
9020
10377
|
}, z.core.$strict>, z.ZodObject<{
|
|
9021
|
-
|
|
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">>;
|
|
9022
10388
|
method: z.ZodString;
|
|
9023
10389
|
input: z.ZodOptional<z.ZodJSONSchema>;
|
|
9024
10390
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -9072,15 +10438,32 @@ export declare const HostApiContracts: {
|
|
|
9072
10438
|
permissionApproval: z.ZodOptional<z.ZodObject<{
|
|
9073
10439
|
permissionDigest: z.ZodString;
|
|
9074
10440
|
}, z.core.$strict>>;
|
|
10441
|
+
hostPermissionApproval: z.ZodOptional<z.ZodObject<{
|
|
10442
|
+
permissionDigest: z.ZodString;
|
|
10443
|
+
}, z.core.$strict>>;
|
|
9075
10444
|
}, z.core.$strict>, z.ZodObject<{
|
|
9076
|
-
activation: z.ZodObject<{
|
|
10445
|
+
activation: z.ZodOptional<z.ZodObject<{
|
|
9077
10446
|
agentId: z.core.$ZodBranded<z.ZodString, "AgentId", "out">;
|
|
9078
10447
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
9079
10448
|
extensionRevisionId: z.core.$ZodBranded<z.ZodString, "ExtensionRevisionId", "out">;
|
|
9080
10449
|
config: z.ZodJSONSchema;
|
|
9081
10450
|
configuredSecrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9082
10451
|
activatedAt: z.ZodNumber;
|
|
9083
|
-
}, 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>>;
|
|
9084
10467
|
}, z.core.$strict>, z.ZodObject<{
|
|
9085
10468
|
error: z.ZodObject<{
|
|
9086
10469
|
code: z.ZodString;
|
|
@@ -9092,6 +10475,20 @@ export declare const HostApiContracts: {
|
|
|
9092
10475
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
9093
10476
|
}, z.core.$strict>, z.ZodUndefined, z.ZodObject<{
|
|
9094
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>>;
|
|
9095
10492
|
}, z.core.$strict>, z.ZodObject<{
|
|
9096
10493
|
error: z.ZodObject<{
|
|
9097
10494
|
code: z.ZodString;
|
|
@@ -9117,8 +10514,10 @@ export declare const HostApiContracts: {
|
|
|
9117
10514
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
9118
10515
|
}, z.core.$strict>, z.ZodObject<{
|
|
9119
10516
|
config: z.ZodJSONSchema;
|
|
10517
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9120
10518
|
}, z.core.$strict>, z.ZodObject<{
|
|
9121
10519
|
config: z.ZodJSONSchema;
|
|
10520
|
+
configuredSecrets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9122
10521
|
}, z.core.$strict>, z.ZodObject<{
|
|
9123
10522
|
error: z.ZodObject<{
|
|
9124
10523
|
code: z.ZodString;
|
|
@@ -9132,6 +10531,9 @@ export declare const HostApiContracts: {
|
|
|
9132
10531
|
permissionApproval: z.ZodOptional<z.ZodObject<{
|
|
9133
10532
|
permissionDigest: z.ZodString;
|
|
9134
10533
|
}, z.core.$strict>>;
|
|
10534
|
+
agentPermissionApproval: z.ZodOptional<z.ZodObject<{
|
|
10535
|
+
permissionDigest: z.ZodString;
|
|
10536
|
+
}, z.core.$strict>>;
|
|
9135
10537
|
}, z.core.$strict>, z.ZodObject<{
|
|
9136
10538
|
installation: z.ZodObject<{
|
|
9137
10539
|
extensionId: z.core.$ZodBranded<z.ZodString, "ExtensionId", "out">;
|
|
@@ -9401,9 +10803,9 @@ export declare const HostApiContracts: {
|
|
|
9401
10803
|
changedFields: z.ZodArray<z.ZodEnum<{
|
|
9402
10804
|
name: "name";
|
|
9403
10805
|
model: "model";
|
|
10806
|
+
persona: "persona";
|
|
9404
10807
|
capabilities: "capabilities";
|
|
9405
10808
|
approvalPolicy: "approvalPolicy";
|
|
9406
|
-
persona: "persona";
|
|
9407
10809
|
imagePolicy: "imagePolicy";
|
|
9408
10810
|
}>>;
|
|
9409
10811
|
current: z.ZodBoolean;
|