@m6d/cortex-cli 1.6.0 → 1.7.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/package.json
CHANGED
|
@@ -149,6 +149,13 @@ export const runtimeAgentConfigSchema = z.object({
|
|
|
149
149
|
systemPrompt: z.string(),
|
|
150
150
|
promptVariables: z.array(z.enum(PROMPT_VARIABLES)),
|
|
151
151
|
defaultLocale: localeSchema,
|
|
152
|
+
/**
|
|
153
|
+
* Whether end users may upload files to this agent. Operational config
|
|
154
|
+
* like `auth`: read from the agent row, so toggling applies without
|
|
155
|
+
* republishing. The runtime rejects new uploads when false; existing
|
|
156
|
+
* attachments stay downloadable and deletable.
|
|
157
|
+
*/
|
|
158
|
+
attachmentsEnabled: z.boolean(),
|
|
152
159
|
metaTools: z.object({
|
|
153
160
|
searchKnowledge: z.boolean(),
|
|
154
161
|
searchTools: z.boolean(),
|
|
@@ -81,6 +81,14 @@ export type ClientToolBinding = {
|
|
|
81
81
|
embedOrigin: string;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* What the server offers this agent's clients, fetched once at widget startup.
|
|
86
|
+
* The widget hides UI for anything absent; enforcement stays server-side.
|
|
87
|
+
*/
|
|
88
|
+
export type AgentCapabilities = {
|
|
89
|
+
attachments: boolean;
|
|
90
|
+
};
|
|
91
|
+
|
|
84
92
|
export type MessageMetadata = {
|
|
85
93
|
modelId?: string;
|
|
86
94
|
providerMetadata?: unknown;
|