lua-cli 2.1.0-alpha.1 → 2.1.0-alpha.2

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.
@@ -7,6 +7,7 @@ export declare class ProductAPI {
7
7
  delete(productId: string): Promise<{
8
8
  success: boolean;
9
9
  }>;
10
+ search(searchQuery: string): Promise<any>;
10
11
  }
11
12
  export declare const product: {
12
13
  data: ProductAPI;
@@ -18,6 +18,9 @@ export class ProductAPI {
18
18
  this.products = this.products.filter((product) => product.id !== productId);
19
19
  return { success: true };
20
20
  }
21
+ async search(searchQuery) {
22
+ return { success: true, data: this.products };
23
+ }
21
24
  }
22
25
  export const product = {
23
26
  data: new ProductAPI()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lua-cli",
3
- "version": "2.1.0-alpha.1",
3
+ "version": "2.1.0-alpha.2",
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",
@@ -15,7 +15,7 @@
15
15
  "axios": "^1.6.0",
16
16
  "inquirer": "^12.9.6",
17
17
  "js-yaml": "^4.1.0",
18
- "lua-cli": "2.0.3",
18
+ "lua-cli": "2.1.0-alpha.1",
19
19
  "openai": "^5.23.0",
20
20
  "zod": "^3.24.1"
21
21
  },
@@ -2045,9 +2045,9 @@
2045
2045
  }
2046
2046
  },
2047
2047
  "node_modules/lua-cli": {
2048
- "version": "2.0.3",
2049
- "resolved": "https://registry.npmjs.org/lua-cli/-/lua-cli-2.0.3.tgz",
2050
- "integrity": "sha512-rAbVDbk116Lz9AYFBMO8z+klnB8JIqJ/bkxtBN3nKG1z7rDxkNzC8i/Ue5h/lNN3l0y4hbJZ9u9K25R5GK45Mw==",
2048
+ "version": "2.1.0-alpha.1",
2049
+ "resolved": "https://registry.npmjs.org/lua-cli/-/lua-cli-2.1.0-alpha.1.tgz",
2050
+ "integrity": "sha512-XJDR1RMOzcobw3NpfR6ZZbV1voBFNh7s9fn6rb5qbpSbxJycOc3OlDqHGMF7MUinoZJUzCRo62W7ceP+TFaKHQ==",
2051
2051
  "license": "MIT",
2052
2052
  "dependencies": {
2053
2053
  "commander": "^14.0.1",
@@ -19,7 +19,7 @@
19
19
  "axios": "^1.6.0",
20
20
  "inquirer": "^12.9.6",
21
21
  "js-yaml": "^4.1.0",
22
- "lua-cli": "2.1.0-alpha.1",
22
+ "lua-cli": "2.1.0-alpha.2",
23
23
  "openai": "^5.23.0",
24
24
  "zod": "^3.24.1"
25
25
  },