@vaia-lab/sdk 0.4.3 → 0.6.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/react/index.cjs +352 -185
- package/dist/react/index.d.cts +7 -1
- package/dist/react/index.d.ts +7 -1
- package/dist/react/index.js +306 -139
- package/package.json +8 -2
package/dist/react/index.d.cts
CHANGED
|
@@ -14,7 +14,13 @@ interface HandeiaAgentProps {
|
|
|
14
14
|
onAction?: ((name: string, args: Record<string, unknown>) => Promise<AgentActionResult> | AgentActionResult) | undefined;
|
|
15
15
|
placeholder?: string | undefined;
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
/**
|
|
18
|
+
* El agente, con su red de seguridad puesta.
|
|
19
|
+
*
|
|
20
|
+
* Lo que se exporta envuelve al componente real: si algo revienta aquí dentro,
|
|
21
|
+
* desaparece el agente y la app que lo hospeda sigue funcionando.
|
|
22
|
+
*/
|
|
23
|
+
declare function HandeiaAgent(props: HandeiaAgentProps): react.JSX.Element;
|
|
18
24
|
|
|
19
25
|
/**
|
|
20
26
|
* El campo de texto de Handeia — EL MISMO, no una imitación.
|
package/dist/react/index.d.ts
CHANGED
|
@@ -14,7 +14,13 @@ interface HandeiaAgentProps {
|
|
|
14
14
|
onAction?: ((name: string, args: Record<string, unknown>) => Promise<AgentActionResult> | AgentActionResult) | undefined;
|
|
15
15
|
placeholder?: string | undefined;
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
/**
|
|
18
|
+
* El agente, con su red de seguridad puesta.
|
|
19
|
+
*
|
|
20
|
+
* Lo que se exporta envuelve al componente real: si algo revienta aquí dentro,
|
|
21
|
+
* desaparece el agente y la app que lo hospeda sigue funcionando.
|
|
22
|
+
*/
|
|
23
|
+
declare function HandeiaAgent(props: HandeiaAgentProps): react.JSX.Element;
|
|
18
24
|
|
|
19
25
|
/**
|
|
20
26
|
* El campo de texto de Handeia — EL MISMO, no una imitación.
|