lua-cli 3.0.0-alpha.6 → 3.0.0-alpha.7
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/commands/push.js
CHANGED
|
@@ -1143,15 +1143,10 @@ async function pushAllCommand(options) {
|
|
|
1143
1143
|
// Auto-bump patch version
|
|
1144
1144
|
const newVersion = bumpPatchVersion(currentVersion);
|
|
1145
1145
|
writeInfo(` 📝 ${skillConfig.name}: ${currentVersion} → ${newVersion}`);
|
|
1146
|
-
// Push version
|
|
1146
|
+
// Push version - use the full skillData with tools
|
|
1147
1147
|
const pushResult = await pushVersion(apiKey, agentId, skillId, {
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
context: skillConfig.context || '',
|
|
1151
|
-
code: skillData.code,
|
|
1152
|
-
executeFunction: skillData.executeFunction,
|
|
1153
|
-
inputSchema: skillData.inputSchema,
|
|
1154
|
-
outputSchema: skillData.outputSchema,
|
|
1148
|
+
...skillData, // Include all fields from deploy.json (tools, name, etc.)
|
|
1149
|
+
version: newVersion, // Override with new version
|
|
1155
1150
|
});
|
|
1156
1151
|
if (!pushResult.success) {
|
|
1157
1152
|
console.error(` ❌ Failed to push ${skillConfig.name}:`, pushResult.error?.message);
|
package/package.json
CHANGED
package/template/lua.skill.yaml
CHANGED
|
@@ -36,34 +36,34 @@ agent:
|
|
|
36
36
|
welcomeMessage: Hi, I am your AI assistant. How can I help you today?
|
|
37
37
|
skills:
|
|
38
38
|
- name: general-skill
|
|
39
|
-
version: 0.0.
|
|
39
|
+
version: 0.0.6
|
|
40
40
|
skillId: 1faf9b3a-e352-4e63-a6c4-a3deca815361
|
|
41
41
|
- name: user-data-skill
|
|
42
|
-
version: 0.0.
|
|
42
|
+
version: 0.0.15
|
|
43
43
|
skillId: e0c382c1-f469-4880-962a-a756ea3c1411
|
|
44
44
|
- name: product-skill
|
|
45
|
-
version: 0.0.
|
|
45
|
+
version: 0.0.15
|
|
46
46
|
skillId: d4cdc7bc-6d42-4232-902d-2b9cf68bd74a
|
|
47
47
|
- name: basket-skill
|
|
48
|
-
version: 0.0.
|
|
48
|
+
version: 0.0.14
|
|
49
49
|
skillId: 5b06c5ff-7cf3-49c4-8641-142270c81db4
|
|
50
50
|
- name: order-skill
|
|
51
|
-
version: 0.0.
|
|
51
|
+
version: 0.0.14
|
|
52
52
|
skillId: d4045304-7c30-4750-9edd-340eb1357a39
|
|
53
53
|
- name: custom-data-skill
|
|
54
|
-
version: 0.0.
|
|
54
|
+
version: 0.0.13
|
|
55
55
|
skillId: 83fe411c-90a1-4bd3-9271-ac8e03d6a3be
|
|
56
56
|
- name: payment-skill
|
|
57
|
-
version: 0.0.
|
|
57
|
+
version: 0.0.13
|
|
58
58
|
skillId: f2248c02-c6c6-4c3a-89bf-ff09ec11529a
|
|
59
59
|
jobs:
|
|
60
60
|
- name: test-job
|
|
61
|
-
version: 1.0.
|
|
61
|
+
version: 1.0.13
|
|
62
62
|
jobId: d66b73a0-f944-4718-b6a2-f07bfeabd625
|
|
63
63
|
schedule:
|
|
64
64
|
type: once
|
|
65
65
|
executeAt: '2025-10-20T01:08:04.639Z'
|
|
66
66
|
webhooks:
|
|
67
67
|
- name: test-webhook
|
|
68
|
-
version: 1.0.
|
|
68
|
+
version: 1.0.12
|
|
69
69
|
webhookId: c967fd58-1d4d-49b6-8fa6-ec36b4d23e7f
|