lua-cli 2.5.7 → 2.5.8
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/api/agent.api.service.d.ts +45 -0
- package/dist/api/agent.api.service.js +54 -0
- package/dist/api/user.data.api.service.d.ts +15 -0
- package/dist/api/user.data.api.service.js +31 -0
- package/dist/cli/command-definitions.js +77 -5
- package/dist/commands/completion.d.ts +11 -0
- package/dist/commands/completion.js +209 -0
- package/dist/commands/env.d.ts +3 -2
- package/dist/commands/env.js +42 -17
- package/dist/commands/features.d.ts +16 -0
- package/dist/commands/features.js +352 -0
- package/dist/commands/index.d.ts +3 -0
- package/dist/commands/index.js +3 -0
- package/dist/commands/persona.d.ts +3 -2
- package/dist/commands/persona.js +43 -18
- package/dist/commands/push.d.ts +9 -13
- package/dist/commands/push.js +271 -82
- package/dist/commands/skills.d.ts +16 -0
- package/dist/commands/skills.js +438 -0
- package/dist/common/data.entry.instance.d.ts +7 -0
- package/dist/common/data.entry.instance.js +15 -0
- package/dist/common/order.instance.d.ts +6 -0
- package/dist/common/order.instance.js +14 -0
- package/dist/common/product.instance.d.ts +6 -0
- package/dist/common/product.instance.js +14 -0
- package/dist/common/user.instance.d.ts +14 -0
- package/dist/common/user.instance.js +29 -0
- package/dist/index.js +14 -3
- package/dist/interfaces/agent.d.ts +31 -0
- package/dist/interfaces/message.d.ts +18 -0
- package/dist/interfaces/message.js +1 -0
- package/dist/types/api-contracts.d.ts +9 -0
- package/dist/types/api-contracts.js +0 -7
- package/dist/web/app.css +152 -736
- package/dist/web/app.js +45 -45
- package/package.json +2 -2
- package/template/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Message } from "../interfaces/message.js";
|
|
1
2
|
/**
|
|
2
3
|
* API Contract Interfaces
|
|
3
4
|
* TypeScript interfaces that API service classes must implement
|
|
@@ -26,6 +27,14 @@ export interface UserDataAPI {
|
|
|
26
27
|
* @returns Promise resolving when data is cleared
|
|
27
28
|
*/
|
|
28
29
|
clear(): Promise<any>;
|
|
30
|
+
/**
|
|
31
|
+
* Sends a message to a specific user conversation for the agent
|
|
32
|
+
* @param userId - The unique identifier of the user to send the message to
|
|
33
|
+
* @param messages - An array of messages to send (can be text, image, or file types)
|
|
34
|
+
* @returns Promise resolving to the response data from the server
|
|
35
|
+
* @throws Error if the message sending fails or the request is unsuccessful
|
|
36
|
+
*/
|
|
37
|
+
sendMessage(messages: Message[]): Promise<any>;
|
|
29
38
|
}
|
|
30
39
|
/**
|
|
31
40
|
* Product API contract.
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* API Contract Interfaces
|
|
3
|
-
* TypeScript interfaces that API service classes must implement
|
|
4
|
-
*
|
|
5
|
-
* These interfaces define the contract that API services must fulfill.
|
|
6
|
-
* They ensure consistent method signatures across all API implementations.
|
|
7
|
-
*/
|
|
8
1
|
export {};
|