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.
Files changed (37) hide show
  1. package/dist/api/agent.api.service.d.ts +45 -0
  2. package/dist/api/agent.api.service.js +54 -0
  3. package/dist/api/user.data.api.service.d.ts +15 -0
  4. package/dist/api/user.data.api.service.js +31 -0
  5. package/dist/cli/command-definitions.js +77 -5
  6. package/dist/commands/completion.d.ts +11 -0
  7. package/dist/commands/completion.js +209 -0
  8. package/dist/commands/env.d.ts +3 -2
  9. package/dist/commands/env.js +42 -17
  10. package/dist/commands/features.d.ts +16 -0
  11. package/dist/commands/features.js +352 -0
  12. package/dist/commands/index.d.ts +3 -0
  13. package/dist/commands/index.js +3 -0
  14. package/dist/commands/persona.d.ts +3 -2
  15. package/dist/commands/persona.js +43 -18
  16. package/dist/commands/push.d.ts +9 -13
  17. package/dist/commands/push.js +271 -82
  18. package/dist/commands/skills.d.ts +16 -0
  19. package/dist/commands/skills.js +438 -0
  20. package/dist/common/data.entry.instance.d.ts +7 -0
  21. package/dist/common/data.entry.instance.js +15 -0
  22. package/dist/common/order.instance.d.ts +6 -0
  23. package/dist/common/order.instance.js +14 -0
  24. package/dist/common/product.instance.d.ts +6 -0
  25. package/dist/common/product.instance.js +14 -0
  26. package/dist/common/user.instance.d.ts +14 -0
  27. package/dist/common/user.instance.js +29 -0
  28. package/dist/index.js +14 -3
  29. package/dist/interfaces/agent.d.ts +31 -0
  30. package/dist/interfaces/message.d.ts +18 -0
  31. package/dist/interfaces/message.js +1 -0
  32. package/dist/types/api-contracts.d.ts +9 -0
  33. package/dist/types/api-contracts.js +0 -7
  34. package/dist/web/app.css +152 -736
  35. package/dist/web/app.js +45 -45
  36. package/package.json +2 -2
  37. 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 {};