@egdesk/next-api-plugin 1.5.8 → 1.5.9
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/generate-helpers.js +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/generate-helpers.js
CHANGED
|
@@ -2165,6 +2165,13 @@ export type AiCallerCallOptions = {
|
|
|
2165
2165
|
maxOutputTokens?: number;
|
|
2166
2166
|
caller?: string;
|
|
2167
2167
|
responseSchema?: Record<string, any>;
|
|
2168
|
+
/** Gemini function declarations for tool use */
|
|
2169
|
+
tools?: Array<Record<string, any>>;
|
|
2170
|
+
/** Function-calling mode and restrictions */
|
|
2171
|
+
toolConfig?: {
|
|
2172
|
+
mode?: 'AUTO' | 'ANY' | 'NONE' | 'MODE_UNSPECIFIED';
|
|
2173
|
+
allowedFunctionNames?: string[];
|
|
2174
|
+
};
|
|
2168
2175
|
/** Base64 strings (raw or data URLs) */
|
|
2169
2176
|
images?: string[];
|
|
2170
2177
|
/** Absolute paths — images, text files, .pdf, .docx, video (same rules as filesystem MCP) */
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* The minimum EGDesk app version this plugin version is compatible with.
|
|
9
9
|
* The app checks this at setup time and warns on mismatch.
|
|
10
10
|
*/
|
|
11
|
-
export declare const COMPATIBLE_APP_VERSION = "1.4.
|
|
11
|
+
export declare const COMPATIBLE_APP_VERSION = "1.4.10";
|
|
12
12
|
export interface SetupOptions {
|
|
13
13
|
egdeskUrl?: string;
|
|
14
14
|
/** Production EGDesk server URL — written to .env.production.local. Falls back to egdeskUrl. */
|
package/dist/index.js
CHANGED
|
@@ -46,7 +46,7 @@ exports.setupNextApiPlugin = setupNextApiPlugin;
|
|
|
46
46
|
* The minimum EGDesk app version this plugin version is compatible with.
|
|
47
47
|
* The app checks this at setup time and warns on mismatch.
|
|
48
48
|
*/
|
|
49
|
-
exports.COMPATIBLE_APP_VERSION = '1.4.
|
|
49
|
+
exports.COMPATIBLE_APP_VERSION = '1.4.10';
|
|
50
50
|
const fs = __importStar(require("fs"));
|
|
51
51
|
const path = __importStar(require("path"));
|
|
52
52
|
const setup_userdata_1 = require("./setup-userdata");
|