lua-cli 3.7.5 → 3.8.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.
@@ -73,7 +73,116 @@ function aiGenerateInputFromSimplified(prompt, content) {
73
73
  };
74
74
  }
75
75
  __name(aiGenerateInputFromSimplified, "aiGenerateInputFromSimplified");
76
+
77
+ // src/sandbox-contract.ts
78
+ var REQUIRED_PRIMITIVE_SHIMS = [
79
+ // Class-based
80
+ "LuaTool",
81
+ "LuaSkill",
82
+ "LuaJob",
83
+ "LuaWebhook",
84
+ "PreProcessor",
85
+ "LuaPreprocessor",
86
+ "PostProcessor",
87
+ "LuaPostprocessor",
88
+ "LuaMCPServer",
89
+ // Function-based
90
+ "defineTool",
91
+ "defineSkill",
92
+ "defineJob",
93
+ "defineWebhook",
94
+ "definePreProcessor",
95
+ "definePostProcessor",
96
+ "defineMCPServer"
97
+ ];
98
+ var REQUIRED_PLATFORM_APIS = {
99
+ User: [
100
+ "get",
101
+ "getChatHistory"
102
+ ],
103
+ Products: [
104
+ "get",
105
+ "create",
106
+ "delete",
107
+ "search",
108
+ "getById"
109
+ ],
110
+ Baskets: [
111
+ "create",
112
+ "get",
113
+ "addItem",
114
+ "removeItem",
115
+ "clear",
116
+ "updateStatus",
117
+ "updateMetadata",
118
+ "placeOrder",
119
+ "getById"
120
+ ],
121
+ Orders: [
122
+ "create",
123
+ "updateStatus",
124
+ "updateData",
125
+ "get",
126
+ "getById"
127
+ ],
128
+ Data: [
129
+ "create",
130
+ "get",
131
+ "getEntry",
132
+ "update",
133
+ "search",
134
+ "delete"
135
+ ],
136
+ Jobs: [
137
+ "create",
138
+ "getJob",
139
+ "getAll"
140
+ ],
141
+ AI: [
142
+ "generate"
143
+ ],
144
+ CDN: [
145
+ "upload",
146
+ "get"
147
+ ]
148
+ };
149
+ var REQUIRED_NESTED_APIS = {
150
+ Templates: {
151
+ whatsapp: [
152
+ "list",
153
+ "get",
154
+ "send"
155
+ ]
156
+ },
157
+ Lua: {
158
+ request: [
159
+ "channel"
160
+ ]
161
+ }
162
+ };
163
+ var REQUIRED_ENUMS = {
164
+ BasketStatus: [
165
+ "ACTIVE",
166
+ "CHECKED_OUT",
167
+ "ABANDONED",
168
+ "EXPIRED"
169
+ ],
170
+ OrderStatus: [
171
+ "PENDING",
172
+ "CONFIRMED",
173
+ "FULFILLED",
174
+ "CANCELLED"
175
+ ]
176
+ };
177
+ var REQUIRED_UTILITIES = [
178
+ "env"
179
+ ];
76
180
  export {
181
+ REQUIRED_ENUMS,
182
+ REQUIRED_NESTED_APIS,
183
+ REQUIRED_PLATFORM_APIS,
184
+ REQUIRED_PRIMITIVE_SHIMS,
185
+ REQUIRED_UTILITIES,
77
186
  UNSTRUCTURED_SUPPORTED_MEDIA_TYPES,
78
187
  aiGenerateInputFromSimplified
79
188
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lua-cli",
3
- "version": "3.7.5",
3
+ "version": "3.8.0",
4
4
  "description": "Build, test, and deploy AI agents with custom tools, webhooks, and scheduled jobs. Features LuaAgent unified configuration, streaming chat, and batch deployment.",
5
5
  "readmeFilename": "README.md",
6
6
  "main": "dist/api-exports.js",