lua-cli 2.1.0-alpha.4 → 2.1.0-alpha.6

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.
@@ -1,4 +1,39 @@
1
- import { CreateProductResponse, DeleteProductResponse, ProductsResponse, SearchProductsResponse, UpdateProductResponse } from "./services/api";
1
+ export interface Product {
2
+ id: string;
3
+ [key: string]: any;
4
+ }
5
+ export interface ProductsResponse {
6
+ success: boolean;
7
+ data: Product[];
8
+ pagination: {
9
+ currentPage: number;
10
+ totalPages: number;
11
+ totalCount: number;
12
+ limit: number;
13
+ hasNextPage: boolean;
14
+ hasPrevPage: boolean;
15
+ nextPage: number | null;
16
+ prevPage: number | null;
17
+ };
18
+ }
19
+ export interface CreateProductResponse {
20
+ updated: boolean;
21
+ isNew: boolean;
22
+ product: Product;
23
+ }
24
+ export interface UpdateProductResponse {
25
+ updated: boolean;
26
+ isNew: boolean;
27
+ product: Product;
28
+ }
29
+ export interface DeleteProductResponse {
30
+ deleted: boolean;
31
+ }
32
+ export interface SearchProductsResponse {
33
+ success: boolean;
34
+ message: string;
35
+ data: Product[];
36
+ }
2
37
  export declare class ProductAPI {
3
38
  products: any;
4
39
  constructor();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lua-cli",
3
- "version": "2.1.0-alpha.4",
3
+ "version": "2.1.0-alpha.6",
4
4
  "description": "Command-line interface for Lua AI platform - develop, test, and deploy LuaSkills with custom tools",
5
5
  "readmeFilename": "README.md",
6
6
  "main": "dist/index.js",
@@ -1,15 +1,13 @@
1
1
  agent:
2
- agentId: baseAgent_agent_1758705162448_cyu7ybbhx
3
- orgId: ae25d3f8-5446-4135-806f-daf4ec55d010
4
- persona: Your name is Stefan always remember that
5
- welcomeMessage: 'Hi, I am your AI assistant. How can I help you today?'
2
+ agentId: baseAgent_agent_1759165790010_cmu8t35ta
3
+ orgId: 845c77a8-88b9-4381-ba4a-fd7496ef1f57
6
4
  skills:
7
5
  - name: general-skill
8
6
  version: 0.0.2
9
- skillId: 24294a5a-bd95-4167-89b1-aebad352196a
7
+ skillId: 5d990e43-6204-43af-8246-67dedeb80c68
10
8
  - name: user-data-skill
11
9
  version: 0.0.1
12
- skillId: 5c167305-9f59-4e20-84e9-fd1b50856ec4
10
+ skillId: 457bb68a-a136-4671-9bb0-9263a262eb41
13
11
  - name: eccomerce-skill
14
12
  version: 0.0.1
15
- skillId: dbec43db-9786-4223-9eac-8087d976d22d
13
+ skillId: e1976320-2bdb-4622-bfde-fe20eabe8360