@wix/app-extensions 1.0.107 → 1.0.108
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/trusted/cjs/index.d.ts +6 -6
- package/build/trusted/cjs/index.js.map +1 -1
- package/build/trusted/es/index.d.mts +6 -6
- package/build/trusted/es/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -26605,7 +26605,7 @@ interface ToolsProviderConfig {
|
|
|
26605
26605
|
}
|
|
26606
26606
|
interface AppTools {
|
|
26607
26607
|
/**
|
|
26608
|
-
*
|
|
26608
|
+
* The tools your app exposes to Aria. Min 1, max 100.
|
|
26609
26609
|
* @minSize 1
|
|
26610
26610
|
* @maxSize 100
|
|
26611
26611
|
*/
|
|
@@ -26614,22 +26614,22 @@ interface AppTools {
|
|
|
26614
26614
|
/** @internal */
|
|
26615
26615
|
interface AppToolConfig {
|
|
26616
26616
|
/**
|
|
26617
|
-
*
|
|
26617
|
+
* A unique identifier for this tool. Aria uses this to specify the tool it has chosen to invoke. Max 30 characters.
|
|
26618
26618
|
* @minLength 1
|
|
26619
26619
|
* @maxLength 30
|
|
26620
26620
|
*/
|
|
26621
26621
|
methodName?: string;
|
|
26622
26622
|
/**
|
|
26623
|
-
*
|
|
26623
|
+
* What the tool does. Aria uses this to decide when to call the tool, so write it clearly. Min 10, max 1,000 characters.
|
|
26624
26624
|
* @minLength 10
|
|
26625
26625
|
* @maxLength 1000
|
|
26626
26626
|
*/
|
|
26627
26627
|
description?: string;
|
|
26628
|
-
/** JSON Schema describing the tool's
|
|
26628
|
+
/** JSON Schema describing the tool's input data. You control which fields Aria can pass to your app. */
|
|
26629
26629
|
requestSchema?: Record<string, any> | null;
|
|
26630
|
-
/** JSON Schema describing the tool's response
|
|
26630
|
+
/** JSON Schema describing the tool's response data. Aria uses this shape when presenting results to the user in natural language. */
|
|
26631
26631
|
responseSchema?: Record<string, any> | null;
|
|
26632
|
-
/** Whether the tool is
|
|
26632
|
+
/** Whether the tool is available to Aria. Set to `true` to enable it. */
|
|
26633
26633
|
activated?: boolean;
|
|
26634
26634
|
}
|
|
26635
26635
|
/** @internal */
|