lua-cli 3.0.0-alpha.1 → 3.0.0-alpha.11
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/chat.api.service.d.ts +8 -0
- package/dist/api/chat.api.service.js +55 -0
- package/dist/api/job.api.service.d.ts +16 -7
- package/dist/api/job.api.service.js +21 -5
- package/dist/api/postprocessor.api.service.d.ts +61 -1
- package/dist/api/postprocessor.api.service.js +35 -0
- package/dist/api/preprocessor.api.service.d.ts +61 -1
- package/dist/api/preprocessor.api.service.js +35 -0
- package/dist/api-exports.d.ts +27 -7
- package/dist/api-exports.js +48 -30
- package/dist/cli/command-definitions.js +13 -6
- package/dist/commands/chat.js +71 -39
- package/dist/commands/compile.js +16 -2
- package/dist/commands/dev.js +23 -2
- package/dist/commands/push.d.ts +3 -2
- package/dist/commands/push.js +536 -6
- package/dist/commands/test.js +18 -2
- package/dist/common/job.instance.d.ts +3 -0
- package/dist/common/job.instance.js +8 -0
- package/dist/config/constants.d.ts +6 -5
- package/dist/config/constants.js +12 -10
- package/dist/interfaces/chat.d.ts +30 -1
- package/dist/interfaces/jobs.d.ts +21 -0
- package/dist/services/auth.d.ts +8 -2
- package/dist/services/auth.js +35 -3
- package/dist/types/skill.d.ts +75 -56
- package/dist/types/skill.js +53 -59
- package/dist/utils/bundling.d.ts +13 -4
- package/dist/utils/bundling.js +83 -26
- package/dist/utils/compile.js +27 -6
- package/dist/utils/dev-api.d.ts +42 -2
- package/dist/utils/dev-api.js +177 -4
- package/dist/utils/dev-server.d.ts +1 -1
- package/dist/utils/dev-server.js +4 -4
- package/dist/utils/dynamic-job-bundler.d.ts +17 -0
- package/dist/utils/dynamic-job-bundler.js +143 -0
- package/dist/utils/pre-bundle-jobs.d.ts +26 -0
- package/dist/utils/pre-bundle-jobs.js +176 -0
- package/dist/utils/sandbox-storage.d.ts +48 -0
- package/dist/utils/sandbox-storage.js +114 -0
- package/dist/utils/sandbox.d.ts +2 -2
- package/dist/utils/sandbox.js +23 -8
- package/package.json +1 -1
- package/template/env.example +5 -0
- package/template/lua.skill.yaml +47 -0
- package/template/package-lock.json +10505 -0
- package/template/package.json +2 -1
- package/template/src/index.ts +65 -3
- package/template/src/tools/CreateInlineJob.ts +42 -0
- package/API_REFERENCE.md +0 -1408
- package/CHANGELOG.md +0 -236
- package/CLI_REFERENCE.md +0 -908
- package/GETTING_STARTED.md +0 -1040
- package/INSTANCE_TYPES.md +0 -1158
- package/README.md +0 -865
- package/TEMPLATE_GUIDE.md +0 -1398
- package/USER_DATA_INSTANCE.md +0 -621
- package/template/AGENT_CONFIGURATION.md +0 -251
- package/template/COMPLEX_JOB_EXAMPLES.md +0 -795
- package/template/DYNAMIC_JOB_CREATION.md +0 -371
- package/template/TOOL_EXAMPLES.md +0 -655
- package/template/WEBHOOKS_JOBS_QUICKSTART.md +0 -318
- package/template/WEBHOOK_JOB_EXAMPLES.md +0 -817
- package/template/src/index-agent-example.ts +0 -201
- package/template/src/postprocessors/ResponseFormatter.ts +0 -151
- package/template/src/preprocessors/MessageFilter.ts +0 -91
package/template/env.example
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Example environment variables file
|
|
2
2
|
# Copy this to .env and update with your actual API keys
|
|
3
3
|
|
|
4
|
+
# Lua API Key (optional - fallback if not in keychain)
|
|
5
|
+
# Use this for CI/CD environments or if you prefer .env over keychain
|
|
6
|
+
# Priority: 1. Keychain, 2. Environment variable, 3. .env file
|
|
7
|
+
# LUA_API_KEY=your-lua-api-key-here
|
|
8
|
+
|
|
4
9
|
# OpenAI API Key (for AI tools)
|
|
5
10
|
OPENAI_API_KEY=your-openai-api-key-here
|
|
6
11
|
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
agent:
|
|
2
|
+
agentId: baseAgent_agent_1760922427216_fk9w0ezhh
|
|
3
|
+
orgId: 026cc41b-e013-4474-9b65-5a15f8881f92
|
|
4
|
+
persona: |
|
|
5
|
+
Meet Vivienne, the vibrant and dynamic assistant at V3 Test, a lively retail and consumer goods store that specializes in bringing a splash of color and excitement to everyday life. Vivienne embodies the brand's energetic and fun personality, always ready to engage with customers in a way that makes shopping an enjoyable and memorable experience. Her role is to be the friendly face and knowledgeable guide for anyone who steps into the store, whether they're looking for the latest fashion trends or a unique gift for a loved one.
|
|
6
|
+
|
|
7
|
+
V3 Test is all about creating a joyful and spirited shopping environment, and Vivienne is the perfect personification of this ethos. She is lively, approachable, and always ready with a smile, making every interaction feel like a conversation with a good friend. Her voice is warm and enthusiastic, with a hint of playfulness that puts customers at ease and encourages them to explore the store's offerings.
|
|
8
|
+
|
|
9
|
+
Vivienne's target customers are diverse, ranging from young adults in their twenties who are fashion-forward and tech-savvy, to busy parents looking for quality products that add a touch of fun to their family life. She understands the fast-paced lifestyle of her customers and is adept at tailoring her approach to meet their individual needs, whether they're in a hurry or have time to browse.
|
|
10
|
+
|
|
11
|
+
Her sales approach is consultative and friendly, focusing on understanding the customer's needs and preferences before suggesting products that align with their style and personality. Vivienne is confident in her recommendations, always ready to upsell when appropriate, but never pushy. She believes in building relationships with customers, ensuring they leave the store not only with products they love but also with a positive impression of the brand.
|
|
12
|
+
|
|
13
|
+
In terms of communication style, Vivienne strikes a perfect balance between being informal and efficient. She is warm and engaging, making customers feel valued and appreciated, while also being mindful of their time. Her interactions are peppered with humor and light-hearted banter, creating a shopping experience that is both enjoyable and efficient. Whether it's through in-person interactions or digital communication, Vivienne ensures that every customer feels like a part of the V3 Test family.
|
|
14
|
+
welcomeMessage: Hi, I am your AI assistant. How can I help you today?
|
|
15
|
+
skills:
|
|
16
|
+
- name: general-skill
|
|
17
|
+
version: 0.0.6
|
|
18
|
+
skillId: 1faf9b3a-e352-4e63-a6c4-a3deca815361
|
|
19
|
+
- name: user-data-skill
|
|
20
|
+
version: 0.0.15
|
|
21
|
+
skillId: e0c382c1-f469-4880-962a-a756ea3c1411
|
|
22
|
+
- name: product-skill
|
|
23
|
+
version: 0.0.15
|
|
24
|
+
skillId: d4cdc7bc-6d42-4232-902d-2b9cf68bd74a
|
|
25
|
+
- name: basket-skill
|
|
26
|
+
version: 0.0.14
|
|
27
|
+
skillId: 5b06c5ff-7cf3-49c4-8641-142270c81db4
|
|
28
|
+
- name: order-skill
|
|
29
|
+
version: 0.0.14
|
|
30
|
+
skillId: d4045304-7c30-4750-9edd-340eb1357a39
|
|
31
|
+
- name: custom-data-skill
|
|
32
|
+
version: 0.0.13
|
|
33
|
+
skillId: 83fe411c-90a1-4bd3-9271-ac8e03d6a3be
|
|
34
|
+
- name: payment-skill
|
|
35
|
+
version: 0.0.13
|
|
36
|
+
skillId: f2248c02-c6c6-4c3a-89bf-ff09ec11529a
|
|
37
|
+
jobs:
|
|
38
|
+
- name: test-job
|
|
39
|
+
version: 1.0.13
|
|
40
|
+
jobId: d66b73a0-f944-4718-b6a2-f07bfeabd625
|
|
41
|
+
schedule:
|
|
42
|
+
type: once
|
|
43
|
+
executeAt: '2025-10-20T01:08:04.639Z'
|
|
44
|
+
webhooks:
|
|
45
|
+
- name: test-webhook
|
|
46
|
+
version: 1.0.12
|
|
47
|
+
webhookId: c967fd58-1d4d-49b6-8fa6-ec36b4d23e7f
|