lua-cli 3.13.0 → 3.14.1
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/README.md +14 -13
- package/dist/api/agent.api.service.d.ts +20 -20
- package/dist/api/agent.api.service.d.ts.map +1 -1
- package/dist/api/agent.api.service.js +1 -1
- package/dist/api/agent.api.service.js.map +1 -1
- package/dist/api/agents.api.service.d.ts +3 -3
- package/dist/api/agents.api.service.d.ts.map +1 -1
- package/dist/api/agents.api.service.js +11 -9
- package/dist/api/agents.api.service.js.map +1 -1
- package/dist/api/ai.api.service.d.ts +4 -4
- package/dist/api/ai.api.service.d.ts.map +1 -1
- package/dist/api/ai.api.service.js +10 -8
- package/dist/api/ai.api.service.js.map +1 -1
- package/dist/api/auth.api.service.d.ts +3 -3
- package/dist/api/auth.api.service.d.ts.map +1 -1
- package/dist/api/auth.api.service.js +1 -1
- package/dist/api/auth.api.service.js.map +1 -1
- package/dist/api/backup.api.service.d.ts.map +1 -1
- package/dist/api/backup.api.service.js +21 -7
- package/dist/api/backup.api.service.js.map +1 -1
- package/dist/api/basket.api.service.d.ts +5 -5
- package/dist/api/basket.api.service.d.ts.map +1 -1
- package/dist/api/basket.api.service.js +4 -4
- package/dist/api/basket.api.service.js.map +1 -1
- package/dist/api/cdn.api.service.d.ts +1 -1
- package/dist/api/cdn.api.service.js +3 -3
- package/dist/api/cdn.api.service.js.map +1 -1
- package/dist/api/chat.api.service.d.ts +4 -4
- package/dist/api/chat.api.service.js +3 -3
- package/dist/api/chat.api.service.js.map +1 -1
- package/dist/api/credentials.js +3 -3
- package/dist/api/custom.data.api.service.d.ts +4 -4
- package/dist/api/custom.data.api.service.d.ts.map +1 -1
- package/dist/api/custom.data.api.service.js +2 -2
- package/dist/api/custom.data.api.service.js.map +1 -1
- package/dist/api/developer.api.service.d.ts +3 -3
- package/dist/api/developer.api.service.d.ts.map +1 -1
- package/dist/api/developer.api.service.js +7 -3
- package/dist/api/developer.api.service.js.map +1 -1
- package/dist/api/device-trigger.api.service.d.ts +3 -3
- package/dist/api/device-trigger.api.service.d.ts.map +1 -1
- package/dist/api/device-trigger.api.service.js +1 -1
- package/dist/api/device-trigger.api.service.js.map +1 -1
- package/dist/api/device.api.service.d.ts +3 -3
- package/dist/api/device.api.service.d.ts.map +1 -1
- package/dist/api/device.api.service.js +1 -1
- package/dist/api/device.api.service.js.map +1 -1
- package/dist/api/http.client.d.ts +1 -1
- package/dist/api/http.client.d.ts.map +1 -1
- package/dist/api/http.client.js +6 -6
- package/dist/api/http.client.js.map +1 -1
- package/dist/api/job.api.service.d.ts +13 -14
- package/dist/api/job.api.service.d.ts.map +1 -1
- package/dist/api/job.api.service.js +12 -20
- package/dist/api/job.api.service.js.map +1 -1
- package/dist/api/lazy-instances.d.ts +12 -12
- package/dist/api/lazy-instances.js +14 -14
- package/dist/api/logs.api.service.d.ts +5 -5
- package/dist/api/logs.api.service.d.ts.map +1 -1
- package/dist/api/logs.api.service.js +9 -9
- package/dist/api/logs.api.service.js.map +1 -1
- package/dist/api/marketplace.api.service.d.ts +1 -1
- package/dist/api/marketplace.api.service.d.ts.map +1 -1
- package/dist/api/marketplace.api.service.js +18 -18
- package/dist/api/marketplace.api.service.js.map +1 -1
- package/dist/api/order.api.service.d.ts +4 -4
- package/dist/api/order.api.service.d.ts.map +1 -1
- package/dist/api/order.api.service.js +2 -2
- package/dist/api/order.api.service.js.map +1 -1
- package/dist/api/persona.api.service.d.ts +3 -3
- package/dist/api/persona.api.service.d.ts.map +1 -1
- package/dist/api/persona.api.service.js +2 -2
- package/dist/api/persona.api.service.js.map +1 -1
- package/dist/api/postprocessor.api.service.d.ts +8 -9
- package/dist/api/postprocessor.api.service.d.ts.map +1 -1
- package/dist/api/postprocessor.api.service.js +1 -2
- package/dist/api/postprocessor.api.service.js.map +1 -1
- package/dist/api/preprocessor.api.service.d.ts +8 -9
- package/dist/api/preprocessor.api.service.d.ts.map +1 -1
- package/dist/api/preprocessor.api.service.js +1 -2
- package/dist/api/preprocessor.api.service.js.map +1 -1
- package/dist/api/products.api.service.d.ts +9 -9
- package/dist/api/products.api.service.d.ts.map +1 -1
- package/dist/api/products.api.service.js +10 -10
- package/dist/api/products.api.service.js.map +1 -1
- package/dist/api/resource.api.service.d.ts +2 -2
- package/dist/api/resource.api.service.js +1 -1
- package/dist/api/skills.api.service.d.ts +4 -4
- package/dist/api/skills.api.service.d.ts.map +1 -1
- package/dist/api/skills.api.service.js +1 -1
- package/dist/api/skills.api.service.js.map +1 -1
- package/dist/api/tool.api.service.d.ts +2 -2
- package/dist/api/tool.api.service.js +1 -1
- package/dist/api/unifiedto.api.service.d.ts +3 -3
- package/dist/api/unifiedto.api.service.d.ts.map +1 -1
- package/dist/api/unifiedto.api.service.js +28 -10
- package/dist/api/unifiedto.api.service.js.map +1 -1
- package/dist/api/user.data.api.service.d.ts +6 -6
- package/dist/api/user.data.api.service.d.ts.map +1 -1
- package/dist/api/user.data.api.service.js +5 -5
- package/dist/api/user.data.api.service.js.map +1 -1
- package/dist/api/webhook.api.service.d.ts +3 -3
- package/dist/api/webhook.api.service.d.ts.map +1 -1
- package/dist/api/webhook.api.service.js +1 -1
- package/dist/api/webhook.api.service.js.map +1 -1
- package/dist/api/whatsapp-templates.api.service.d.ts +3 -3
- package/dist/api/whatsapp-templates.api.service.js +1 -1
- package/dist/api-exports.d.ts +25 -25
- package/dist/api-exports.d.ts.map +1 -1
- package/dist/api-exports.js +26 -26
- package/dist/api-exports.js.map +1 -1
- package/dist/cli/command-definitions.d.ts +1 -1
- package/dist/cli/command-definitions.d.ts.map +1 -1
- package/dist/cli/command-definitions.js +190 -199
- package/dist/cli/command-definitions.js.map +1 -1
- package/dist/commands/agents.js +2 -2
- package/dist/commands/apiKey.js +12 -12
- package/dist/commands/channels.js +163 -163
- package/dist/commands/channels.js.map +1 -1
- package/dist/commands/chat-log-probe.d.ts.map +1 -1
- package/dist/commands/chat-log-probe.js +2 -6
- package/dist/commands/chat-log-probe.js.map +1 -1
- package/dist/commands/chat.d.ts.map +1 -1
- package/dist/commands/chat.js +33 -33
- package/dist/commands/chat.js.map +1 -1
- package/dist/commands/chatClear.d.ts.map +1 -1
- package/dist/commands/chatClear.js +10 -6
- package/dist/commands/chatClear.js.map +1 -1
- package/dist/commands/compile.d.ts.map +1 -1
- package/dist/commands/compile.js +18 -11
- package/dist/commands/compile.js.map +1 -1
- package/dist/commands/completion.js +1 -1
- package/dist/commands/configure.js +5 -5
- package/dist/commands/deploy.d.ts.map +1 -1
- package/dist/commands/deploy.js +27 -15
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/destroy.d.ts.map +1 -1
- package/dist/commands/destroy.js +27 -17
- package/dist/commands/destroy.js.map +1 -1
- package/dist/commands/devices.js +1 -3
- package/dist/commands/devices.js.map +1 -1
- package/dist/commands/env.js +58 -60
- package/dist/commands/env.js.map +1 -1
- package/dist/commands/features.js +69 -70
- package/dist/commands/features.js.map +1 -1
- package/dist/commands/governance.d.ts.map +1 -1
- package/dist/commands/governance.js +13 -7
- package/dist/commands/governance.js.map +1 -1
- package/dist/commands/index.d.ts +37 -37
- package/dist/commands/index.js +37 -37
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +69 -69
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/integrations.d.ts.map +1 -1
- package/dist/commands/integrations.js +369 -339
- package/dist/commands/integrations.js.map +1 -1
- package/dist/commands/jobs.d.ts.map +1 -1
- package/dist/commands/jobs.js +56 -62
- package/dist/commands/jobs.js.map +1 -1
- package/dist/commands/log-tip.d.ts.map +1 -1
- package/dist/commands/log-tip.js +2 -10
- package/dist/commands/log-tip.js.map +1 -1
- package/dist/commands/logs.d.ts.map +1 -1
- package/dist/commands/logs.js +80 -73
- package/dist/commands/logs.js.map +1 -1
- package/dist/commands/marketplace.d.ts.map +1 -1
- package/dist/commands/marketplace.js +368 -403
- package/dist/commands/marketplace.js.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +38 -38
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/models.d.ts.map +1 -1
- package/dist/commands/models.js +2 -2
- package/dist/commands/models.js.map +1 -1
- package/dist/commands/persona.js +96 -96
- package/dist/commands/persona.js.map +1 -1
- package/dist/commands/postprocessors.js +44 -44
- package/dist/commands/postprocessors.js.map +1 -1
- package/dist/commands/preprocessors.js +44 -44
- package/dist/commands/preprocessors.js.map +1 -1
- package/dist/commands/production.js +99 -101
- package/dist/commands/production.js.map +1 -1
- package/dist/commands/push.d.ts.map +1 -1
- package/dist/commands/push.js +130 -81
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/pushBackup.d.ts.map +1 -1
- package/dist/commands/pushBackup.js +4 -6
- package/dist/commands/pushBackup.js.map +1 -1
- package/dist/commands/resources.js +45 -48
- package/dist/commands/resources.js.map +1 -1
- package/dist/commands/skills.d.ts.map +1 -1
- package/dist/commands/skills.js +68 -55
- package/dist/commands/skills.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +11 -14
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +34 -29
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/test-output.helpers.js +1 -1
- package/dist/commands/test-output.helpers.js.map +1 -1
- package/dist/commands/test.d.ts.map +1 -1
- package/dist/commands/test.js +81 -71
- package/dist/commands/test.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +15 -3
- package/dist/commands/update.js.map +1 -1
- package/dist/commands/webhooks.d.ts.map +1 -1
- package/dist/commands/webhooks.js +60 -66
- package/dist/commands/webhooks.js.map +1 -1
- package/dist/compiler/agent-traverser.d.ts.map +1 -1
- package/dist/compiler/agent-traverser.js +2 -4
- package/dist/compiler/agent-traverser.js.map +1 -1
- package/dist/compiler/bundler.d.ts.map +1 -1
- package/dist/compiler/bundler.js +5 -5
- package/dist/compiler/bundler.js.map +1 -1
- package/dist/compiler/compiler.d.ts.map +1 -1
- package/dist/compiler/compiler.js +12 -11
- package/dist/compiler/compiler.js.map +1 -1
- package/dist/compiler/index.d.ts +2 -2
- package/dist/compiler/index.d.ts.map +1 -1
- package/dist/compiler/index.js +2 -2
- package/dist/compiler/index.js.map +1 -1
- package/dist/compiler/plugins/agent.plugin.d.ts.map +1 -1
- package/dist/compiler/plugins/agent.plugin.js +2 -4
- package/dist/compiler/plugins/agent.plugin.js.map +1 -1
- package/dist/compiler/plugins/base.d.ts.map +1 -1
- package/dist/compiler/plugins/base.js +3 -3
- package/dist/compiler/plugins/base.js.map +1 -1
- package/dist/compiler/plugins/device-trigger.plugin.d.ts.map +1 -1
- package/dist/compiler/plugins/device-trigger.plugin.js +8 -4
- package/dist/compiler/plugins/device-trigger.plugin.js.map +1 -1
- package/dist/compiler/plugins/device.plugin.d.ts.map +1 -1
- package/dist/compiler/plugins/device.plugin.js +4 -4
- package/dist/compiler/plugins/device.plugin.js.map +1 -1
- package/dist/compiler/plugins/job.plugin.d.ts.map +1 -1
- package/dist/compiler/plugins/job.plugin.js +15 -11
- package/dist/compiler/plugins/job.plugin.js.map +1 -1
- package/dist/compiler/plugins/mcp-server.plugin.d.ts.map +1 -1
- package/dist/compiler/plugins/mcp-server.plugin.js +10 -4
- package/dist/compiler/plugins/mcp-server.plugin.js.map +1 -1
- package/dist/compiler/plugins/registry.js +2 -2
- package/dist/compiler/plugins/registry.js.map +1 -1
- package/dist/compiler/plugins/skill.plugin.d.ts.map +1 -1
- package/dist/compiler/plugins/skill.plugin.js +8 -13
- package/dist/compiler/plugins/skill.plugin.js.map +1 -1
- package/dist/compiler/plugins/tool.plugin.d.ts.map +1 -1
- package/dist/compiler/plugins/tool.plugin.js +13 -9
- package/dist/compiler/plugins/tool.plugin.js.map +1 -1
- package/dist/compiler/plugins/webhook.plugin.d.ts.map +1 -1
- package/dist/compiler/plugins/webhook.plugin.js +7 -5
- package/dist/compiler/plugins/webhook.plugin.js.map +1 -1
- package/dist/compiler/source-writer.d.ts.map +1 -1
- package/dist/compiler/source-writer.js +2 -4
- package/dist/compiler/source-writer.js.map +1 -1
- package/dist/compiler/utils/ast-helpers.d.ts.map +1 -1
- package/dist/compiler/utils/ast-helpers.js +12 -7
- package/dist/compiler/utils/ast-helpers.js.map +1 -1
- package/dist/compiler/utils/common.d.ts.map +1 -1
- package/dist/compiler/utils/common.js +1 -11
- package/dist/compiler/utils/common.js.map +1 -1
- package/dist/compiler/utils/file-discovery.d.ts.map +1 -1
- package/dist/compiler/utils/file-discovery.js +2 -10
- package/dist/compiler/utils/file-discovery.js.map +1 -1
- package/dist/compiler/utils/path-resolver.d.ts.map +1 -1
- package/dist/compiler/utils/path-resolver.js.map +1 -1
- package/dist/compiler/utils/reference-resolver.d.ts.map +1 -1
- package/dist/compiler/utils/reference-resolver.js +4 -8
- package/dist/compiler/utils/reference-resolver.js.map +1 -1
- package/dist/compiler/utils/schema-converter.d.ts.map +1 -1
- package/dist/compiler/utils/schema-converter.js +1 -4
- package/dist/compiler/utils/schema-converter.js.map +1 -1
- package/dist/config/compile.constants.d.ts.map +1 -1
- package/dist/config/compile.constants.js +3 -1
- package/dist/config/compile.constants.js.map +1 -1
- package/dist/config/constants.d.ts.map +1 -1
- package/dist/config/constants.js +1 -5
- package/dist/config/constants.js.map +1 -1
- package/dist/errors/auth.error.d.ts.map +1 -1
- package/dist/errors/auth.error.js +3 -5
- package/dist/errors/auth.error.js.map +1 -1
- package/dist/errors/index.d.ts +1 -1
- package/dist/errors/index.js +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/instances/basket.instance.d.ts +3 -3
- package/dist/instances/basket.instance.d.ts.map +1 -1
- package/dist/instances/basket.instance.js +26 -8
- package/dist/instances/basket.instance.js.map +1 -1
- package/dist/instances/data.entry.instance.d.ts +2 -2
- package/dist/instances/data.entry.instance.d.ts.map +1 -1
- package/dist/instances/data.entry.instance.js +5 -5
- package/dist/instances/data.entry.instance.js.map +1 -1
- package/dist/instances/order.instance.d.ts +2 -2
- package/dist/instances/order.instance.d.ts.map +1 -1
- package/dist/instances/order.instance.js +20 -9
- package/dist/instances/order.instance.js.map +1 -1
- package/dist/instances/product.instance.d.ts +1 -1
- package/dist/instances/product.instance.d.ts.map +1 -1
- package/dist/instances/product.instance.js +3 -3
- package/dist/instances/product.instance.js.map +1 -1
- package/dist/instances/product.pagination.instance.d.ts +2 -2
- package/dist/instances/product.pagination.instance.d.ts.map +1 -1
- package/dist/instances/product.pagination.instance.js +6 -7
- package/dist/instances/product.pagination.instance.js.map +1 -1
- package/dist/instances/product.search.instance.d.ts +3 -3
- package/dist/instances/product.search.instance.d.ts.map +1 -1
- package/dist/instances/product.search.instance.js +3 -4
- package/dist/instances/product.search.instance.js.map +1 -1
- package/dist/instances/user.instance.d.ts +3 -3
- package/dist/instances/user.instance.d.ts.map +1 -1
- package/dist/instances/user.instance.js +19 -36
- package/dist/instances/user.instance.js.map +1 -1
- package/dist/interfaces/agent.d.ts +8 -8
- package/dist/interfaces/agent.d.ts.map +1 -1
- package/dist/interfaces/device-triggers.d.ts +0 -2
- package/dist/interfaces/device-triggers.d.ts.map +1 -1
- package/dist/interfaces/devices.d.ts +0 -1
- package/dist/interfaces/devices.d.ts.map +1 -1
- package/dist/interfaces/index.d.ts +8 -8
- package/dist/interfaces/index.d.ts.map +1 -1
- package/dist/interfaces/jobs.d.ts +2 -3
- package/dist/interfaces/jobs.d.ts.map +1 -1
- package/dist/interfaces/message.d.ts +3 -3
- package/dist/interfaces/message.d.ts.map +1 -1
- package/dist/interfaces/orders.d.ts +1 -1
- package/dist/interfaces/skills.d.ts +18 -0
- package/dist/interfaces/skills.d.ts.map +1 -1
- package/dist/interfaces/webhooks.d.ts +2 -2
- package/dist/interfaces/webhooks.d.ts.map +1 -1
- package/dist/primitives/agent.handler.d.ts.map +1 -1
- package/dist/primitives/agent.handler.js +1 -1
- package/dist/primitives/agent.handler.js.map +1 -1
- package/dist/primitives/base.handler.d.ts +2 -2
- package/dist/primitives/base.handler.d.ts.map +1 -1
- package/dist/primitives/base.handler.js +38 -36
- package/dist/primitives/base.handler.js.map +1 -1
- package/dist/primitives/device-trigger.handler.d.ts +1 -1
- package/dist/primitives/device-trigger.handler.d.ts.map +1 -1
- package/dist/primitives/device-trigger.handler.js +2 -3
- package/dist/primitives/device-trigger.handler.js.map +1 -1
- package/dist/primitives/device.handler.d.ts +1 -1
- package/dist/primitives/device.handler.d.ts.map +1 -1
- package/dist/primitives/device.handler.js +2 -3
- package/dist/primitives/device.handler.js.map +1 -1
- package/dist/primitives/index.d.ts +1 -1
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/index.js +2 -3
- package/dist/primitives/index.js.map +1 -1
- package/dist/primitives/job.handler.d.ts +1 -1
- package/dist/primitives/job.handler.d.ts.map +1 -1
- package/dist/primitives/job.handler.js +3 -6
- package/dist/primitives/job.handler.js.map +1 -1
- package/dist/primitives/mcp-server.handler.d.ts.map +1 -1
- package/dist/primitives/mcp-server.handler.js +2 -2
- package/dist/primitives/mcp-server.handler.js.map +1 -1
- package/dist/primitives/postprocessor.handler.d.ts.map +1 -1
- package/dist/primitives/postprocessor.handler.js.map +1 -1
- package/dist/primitives/preprocessor.handler.d.ts +1 -1
- package/dist/primitives/preprocessor.handler.d.ts.map +1 -1
- package/dist/primitives/preprocessor.handler.js +2 -3
- package/dist/primitives/preprocessor.handler.js.map +1 -1
- package/dist/primitives/skill.handler.d.ts +1 -1
- package/dist/primitives/skill.handler.d.ts.map +1 -1
- package/dist/primitives/skill.handler.js +72 -22
- package/dist/primitives/skill.handler.js.map +1 -1
- package/dist/primitives/types.d.ts +1 -1
- package/dist/primitives/types.d.ts.map +1 -1
- package/dist/primitives/types.js.map +1 -1
- package/dist/primitives/webhook.handler.d.ts +1 -1
- package/dist/primitives/webhook.handler.d.ts.map +1 -1
- package/dist/primitives/webhook.handler.js +2 -3
- package/dist/primitives/webhook.handler.js.map +1 -1
- package/dist/services/analytics.d.ts.map +1 -1
- package/dist/services/analytics.js +4 -5
- package/dist/services/analytics.js.map +1 -1
- package/dist/services/auth.d.ts +1 -1
- package/dist/services/auth.js +7 -7
- package/dist/services/auth.js.map +1 -1
- package/dist/services/sandbox.service.d.ts.map +1 -1
- package/dist/services/sandbox.service.js +126 -78
- package/dist/services/sandbox.service.js.map +1 -1
- package/dist/types/api-contracts.d.ts +4 -4
- package/dist/types/api-contracts.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/skill.d.ts +7 -7
- package/dist/types/skill.d.ts.map +1 -1
- package/dist/types/skill.js +2 -2
- package/dist/types/skill.js.map +1 -1
- package/dist/types/tool-validation.js.map +1 -1
- package/dist/types/yaml.types.js +0 -1
- package/dist/types/yaml.types.js.map +1 -1
- package/dist/utils/aliases.d.ts.map +1 -1
- package/dist/utils/aliases.js +38 -3
- package/dist/utils/aliases.js.map +1 -1
- package/dist/utils/artifact-loader.d.ts +47 -0
- package/dist/utils/artifact-loader.d.ts.map +1 -1
- package/dist/utils/artifact-loader.js +98 -6
- package/dist/utils/artifact-loader.js.map +1 -1
- package/dist/utils/auth-flows.d.ts.map +1 -1
- package/dist/utils/auth-flows.js +54 -54
- package/dist/utils/auth-flows.js.map +1 -1
- package/dist/utils/backup-helpers.d.ts.map +1 -1
- package/dist/utils/backup-helpers.js +10 -16
- package/dist/utils/backup-helpers.js.map +1 -1
- package/dist/utils/bundle-upload.d.ts +42 -0
- package/dist/utils/bundle-upload.d.ts.map +1 -0
- package/dist/utils/bundle-upload.js +90 -0
- package/dist/utils/bundle-upload.js.map +1 -0
- package/dist/utils/chat-attachments.js +1 -1
- package/dist/utils/chat-attachments.js.map +1 -1
- package/dist/utils/cli.d.ts.map +1 -1
- package/dist/utils/cli.js +3 -5
- package/dist/utils/cli.js.map +1 -1
- package/dist/utils/command-utils.d.ts.map +1 -1
- package/dist/utils/command-utils.js +4 -4
- package/dist/utils/command-utils.js.map +1 -1
- package/dist/utils/deploy-helpers.d.ts.map +1 -1
- package/dist/utils/deploy-helpers.js +13 -13
- package/dist/utils/deploy-helpers.js.map +1 -1
- package/dist/utils/env-loader.utils.d.ts +1 -1
- package/dist/utils/env-loader.utils.d.ts.map +1 -1
- package/dist/utils/env-loader.utils.js +15 -22
- package/dist/utils/env-loader.utils.js.map +1 -1
- package/dist/utils/files.d.ts.map +1 -1
- package/dist/utils/files.js +23 -13
- package/dist/utils/files.js.map +1 -1
- package/dist/utils/hints.d.ts.map +1 -1
- package/dist/utils/hints.js +3 -5
- package/dist/utils/hints.js.map +1 -1
- package/dist/utils/init-agent.d.ts.map +1 -1
- package/dist/utils/init-agent.js +18 -20
- package/dist/utils/init-agent.js.map +1 -1
- package/dist/utils/init-helpers.d.ts.map +1 -1
- package/dist/utils/init-helpers.js +11 -11
- package/dist/utils/init-helpers.js.map +1 -1
- package/dist/utils/init-prompts.d.ts.map +1 -1
- package/dist/utils/init-prompts.js +34 -36
- package/dist/utils/init-prompts.js.map +1 -1
- package/dist/utils/prompt-handler.js +1 -1
- package/dist/utils/prompt-handler.js.map +1 -1
- package/dist/utils/sandbox-storage.d.ts.map +1 -1
- package/dist/utils/sandbox-storage.js.map +1 -1
- package/dist/utils/sandbox.d.ts +1 -1
- package/dist/utils/sandbox.d.ts.map +1 -1
- package/dist/utils/sandbox.js +107 -106
- package/dist/utils/sandbox.js.map +1 -1
- package/dist/utils/semver.js +1 -1
- package/dist/utils/semver.js.map +1 -1
- package/dist/utils/suggest.d.ts.map +1 -1
- package/dist/utils/suggest.js +1 -3
- package/dist/utils/suggest.js.map +1 -1
- package/dist/utils/sync-display.d.ts.map +1 -1
- package/dist/utils/sync-display.js +15 -13
- package/dist/utils/sync-display.js.map +1 -1
- package/dist/utils/sync-fetch.d.ts.map +1 -1
- package/dist/utils/sync-fetch.js +33 -24
- package/dist/utils/sync-fetch.js.map +1 -1
- package/dist/utils/version-check.js +1 -1
- package/dist/utils/version-check.js.map +1 -1
- package/docs/README.md +1 -1
- package/node_modules/@lua/shared-types/dist/index.d.mts +13 -1
- package/node_modules/@lua/shared-types/dist/index.d.ts +13 -1
- package/node_modules/@lua/shared-types/src/ai-generate.types.ts +1 -6
- package/node_modules/@lua/shared-types/src/ai-generate.utils.ts +1 -4
- package/node_modules/@lua/shared-types/src/chat-stream.types.ts +11 -0
- package/node_modules/@lua/shared-types/src/device.types.ts +6 -6
- package/node_modules/@lua/shared-types/src/index.ts +1 -0
- package/node_modules/@lua/shared-types/src/sandbox-contract.ts +26 -5
- package/node_modules/@lua/shared-types/src/vm-execution-log.types.ts +11 -11
- package/package.json +1 -1
- package/template/QUICKSTART.md +33 -33
- package/template/README.md +35 -34
- package/template/examples/README.md +44 -38
- package/template/examples/jobs/AbandonedBasketProcessorJob.ts +30 -31
- package/template/examples/jobs/DailyCleanupJob.ts +17 -18
- package/template/examples/jobs/DataMigrationJob.ts +18 -23
- package/template/examples/jobs/HealthCheckJob.ts +13 -14
- package/template/examples/postprocessors/modifyResponse.ts +14 -15
- package/template/examples/preprocessors/messageMatching.ts +28 -29
- package/template/examples/services/ApiService.ts +68 -64
- package/template/examples/services/GetWeather.ts +39 -33
- package/template/examples/skills/basket.skill.ts +27 -7
- package/template/examples/skills/product.skill.ts +21 -8
- package/template/examples/skills/tools/BasketTool.ts +97 -98
- package/template/examples/skills/tools/CreateInlineJob.ts +38 -36
- package/template/examples/skills/tools/CreatePostTool.ts +27 -28
- package/template/examples/skills/tools/CustomDataTool.ts +72 -63
- package/template/examples/skills/tools/GameScoreTrackerTool.ts +72 -78
- package/template/examples/skills/tools/GetWeatherTool.ts +43 -45
- package/template/examples/skills/tools/OrderTool.ts +58 -58
- package/template/examples/skills/tools/PaymentTool.ts +43 -43
- package/template/examples/skills/tools/PremiumFeatureTool.ts +79 -77
- package/template/examples/skills/tools/ProductsTool.ts +68 -69
- package/template/examples/skills/tools/SmartBasketTool.ts +43 -44
- package/template/examples/skills/tools/UserDataTool.ts +97 -98
- package/template/examples/skills/user.skill.ts +7 -8
- package/template/examples/webhooks/FileUploadWebhook.ts +38 -31
- package/template/examples/webhooks/PaymentWebhook.ts +23 -22
- package/template/examples/webhooks/UserEventWebhook.ts +16 -19
- package/template/lua.skill.yaml +2 -2
- package/template/package.json +1 -1
- package/template/src/index.ts +28 -28
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Command Definitions
|
|
3
3
|
* Centralized command structure for the CLI
|
|
4
4
|
*/
|
|
5
|
-
import { configureCommand, initCommand, destroyCommand, apiKeyCommand, compileCommand, testCommand, pushCommand, deployCommand, chatCommand, chatClearCommand, envCommand, personaCommand, productionCommand, resourcesCommand, adminCommand, evalsCommand, docsCommand, channelsCommand, logsCommand, completionCommand, skillsCommand, webhooksCommand, devicesCommand, jobsCommand, featuresCommand, preprocessorsCommand, postprocessorsCommand, marketplaceCommand, mcpCommand, syncCommand, integrationsCommand, agentsCommand, updateCommand, telemetryCommand, governanceCommand, modelsCommand, statusCommand } from
|
|
5
|
+
import { configureCommand, initCommand, destroyCommand, apiKeyCommand, compileCommand, testCommand, pushCommand, deployCommand, chatCommand, chatClearCommand, envCommand, personaCommand, productionCommand, resourcesCommand, adminCommand, evalsCommand, docsCommand, channelsCommand, logsCommand, completionCommand, skillsCommand, webhooksCommand, devicesCommand, jobsCommand, featuresCommand, preprocessorsCommand, postprocessorsCommand, marketplaceCommand, mcpCommand, syncCommand, integrationsCommand, agentsCommand, updateCommand, telemetryCommand, governanceCommand, modelsCommand, statusCommand, } from '../commands/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Sets up authentication-related commands.
|
|
8
8
|
*
|
|
@@ -15,8 +15,8 @@ import { configureCommand, initCommand, destroyCommand, apiKeyCommand, compileCo
|
|
|
15
15
|
*/
|
|
16
16
|
export function setupAuthCommands(program) {
|
|
17
17
|
const authCommand = program
|
|
18
|
-
.command(
|
|
19
|
-
.description(
|
|
18
|
+
.command('auth')
|
|
19
|
+
.description('🔐 Authentication management')
|
|
20
20
|
.addHelpText('after', `
|
|
21
21
|
Examples:
|
|
22
22
|
$ lua auth configure Interactive setup (choose API key or email)
|
|
@@ -29,11 +29,11 @@ Examples:
|
|
|
29
29
|
$ lua auth logout --force Remove stored credentials without confirmation
|
|
30
30
|
`);
|
|
31
31
|
authCommand
|
|
32
|
-
.command(
|
|
33
|
-
.description(
|
|
34
|
-
.option(
|
|
35
|
-
.option(
|
|
36
|
-
.option(
|
|
32
|
+
.command('configure')
|
|
33
|
+
.description('Set up your API key')
|
|
34
|
+
.option('--api-key <key>', 'Set API key directly (non-interactive)')
|
|
35
|
+
.option('--email <email>', 'Email address for OTP authentication')
|
|
36
|
+
.option('--otp <code>', 'OTP code received via email (use with --email)')
|
|
37
37
|
.addHelpText('after', `
|
|
38
38
|
Non-Interactive Modes:
|
|
39
39
|
--api-key <key> Set API key directly (for CI/CD or when you have a key from dashboard)
|
|
@@ -48,14 +48,14 @@ Examples:
|
|
|
48
48
|
`)
|
|
49
49
|
.action(configureCommand);
|
|
50
50
|
authCommand
|
|
51
|
-
.command(
|
|
52
|
-
.description(
|
|
53
|
-
.option(
|
|
51
|
+
.command('logout')
|
|
52
|
+
.description('Delete your stored API key')
|
|
53
|
+
.option('--force', 'Skip confirmation prompt')
|
|
54
54
|
.action(destroyCommand);
|
|
55
55
|
authCommand
|
|
56
|
-
.command(
|
|
57
|
-
.description(
|
|
58
|
-
.option(
|
|
56
|
+
.command('key')
|
|
57
|
+
.description('Display your stored API key')
|
|
58
|
+
.option('--force', 'Skip confirmation prompt')
|
|
59
59
|
.action(apiKeyCommand);
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
@@ -65,20 +65,20 @@ Examples:
|
|
|
65
65
|
*/
|
|
66
66
|
export function setupMarketplaceCommands(program) {
|
|
67
67
|
program
|
|
68
|
-
.command(
|
|
69
|
-
.description(
|
|
70
|
-
.option(
|
|
71
|
-
.option(
|
|
72
|
-
.option(
|
|
73
|
-
.option(
|
|
74
|
-
.option(
|
|
75
|
-
.option(
|
|
76
|
-
.option(
|
|
77
|
-
.option(
|
|
78
|
-
.option(
|
|
79
|
-
.option(
|
|
80
|
-
.option(
|
|
81
|
-
.option(
|
|
68
|
+
.command('marketplace [role] [action]')
|
|
69
|
+
.description('🛍️ Browse, install, and manage marketplace skills')
|
|
70
|
+
.option('--skill-name <name>', 'Skill name (for creator list, installer update/uninstall)')
|
|
71
|
+
.option('--display-name <name>', 'Display name (for creator list/update)')
|
|
72
|
+
.option('--marketplace-id <id>', 'Marketplace skill ID')
|
|
73
|
+
.option('--version-id <id>', 'Version ID (for publish/install)')
|
|
74
|
+
.option('--changelog <text>', 'Changelog for version (for publish)')
|
|
75
|
+
.option('--env-vars-json <json>', 'JSON string with env var metadata (for creator publish)')
|
|
76
|
+
.option('--env-vars <pairs>', 'Comma-separated key=value pairs (for installer)')
|
|
77
|
+
.option('--query <text>', 'Search query (for search)')
|
|
78
|
+
.option('--page <n>', 'Page number (for search)')
|
|
79
|
+
.option('--limit <n>', 'Results per page (for search)')
|
|
80
|
+
.option('--json', 'Output as JSON')
|
|
81
|
+
.option('--force', 'Skip confirmation prompts')
|
|
82
82
|
.addHelpText('after', `
|
|
83
83
|
Arguments:
|
|
84
84
|
role Optional: 'create' or 'install' (prompts if not provided)
|
|
@@ -123,17 +123,17 @@ Examples:
|
|
|
123
123
|
export function setupSkillCommands(program) {
|
|
124
124
|
// Project Setup
|
|
125
125
|
program
|
|
126
|
-
.command(
|
|
127
|
-
.description(
|
|
128
|
-
.option(
|
|
129
|
-
.option(
|
|
130
|
-
.option(
|
|
131
|
-
.option(
|
|
132
|
-
.option(
|
|
133
|
-
.option(
|
|
134
|
-
.option(
|
|
135
|
-
.option(
|
|
136
|
-
.option(
|
|
126
|
+
.command('init')
|
|
127
|
+
.description('🚀 Initialize a new Lua skill project')
|
|
128
|
+
.option('--with-examples', 'Include example skills, tools, jobs, and webhooks')
|
|
129
|
+
.option('--agent-id <id>', 'Use existing agent by ID (non-interactive)')
|
|
130
|
+
.option('--agent-name <name>', 'Name for new agent (requires --org-id or --org-name)')
|
|
131
|
+
.option('--org-id <id>', 'Use existing organization by ID')
|
|
132
|
+
.option('--org-name <name>', 'Create new organization with this name')
|
|
133
|
+
.option('--model <model>', "LLM model code to use (e.g. 'openai/gpt-4o')")
|
|
134
|
+
.option('--force', 'Skip confirmations / overwrite existing project')
|
|
135
|
+
.option('--restore-sources', 'Restore project source files from backup (with --agent-id)')
|
|
136
|
+
.option('--promo-code <code>', 'Apply a promo code for bonus credits')
|
|
137
137
|
.addHelpText('after', `
|
|
138
138
|
Non-Interactive Mode:
|
|
139
139
|
--agent-id <id> Use existing agent
|
|
@@ -157,20 +157,20 @@ Examples:
|
|
|
157
157
|
.action(initCommand);
|
|
158
158
|
// Development Commands
|
|
159
159
|
program
|
|
160
|
-
.command(
|
|
161
|
-
.description(
|
|
162
|
-
.option(
|
|
163
|
-
.option(
|
|
164
|
-
.option(
|
|
160
|
+
.command('compile')
|
|
161
|
+
.description('📦 Compile skill to deployable format')
|
|
162
|
+
.option('--verbose', 'Show detailed progress output')
|
|
163
|
+
.option('--debug', 'Enable debug mode with extra verbose logging and temp file preservation')
|
|
164
|
+
.option('--sync', 'Run drift detection check before compiling')
|
|
165
165
|
.action((opts) => compileCommand({ ...opts, topLevel: true }));
|
|
166
166
|
program
|
|
167
|
-
.command(
|
|
168
|
-
.description(
|
|
169
|
-
.option(
|
|
170
|
-
.option(
|
|
171
|
-
.option(
|
|
172
|
-
.option(
|
|
173
|
-
.option(
|
|
167
|
+
.command('sync')
|
|
168
|
+
.description('🔄 Sync local code with server state')
|
|
169
|
+
.option('--check', 'Check for drift only, exit code 1 if drift found')
|
|
170
|
+
.option('--pull', 'Pull server state to local without prompting')
|
|
171
|
+
.option('--accept', 'Alias for --pull (kept for backwards compatibility)')
|
|
172
|
+
.option('--push', 'Push local changes to server without prompting')
|
|
173
|
+
.option('--force', 'Skip the local-changes conflict check (use with --pull / --accept)')
|
|
174
174
|
.addHelpText('after', `
|
|
175
175
|
Detects drift between server-deployed state and local code.
|
|
176
176
|
Resolves drift by syncing in either direction.
|
|
@@ -200,11 +200,11 @@ Examples:
|
|
|
200
200
|
`)
|
|
201
201
|
.action((opts) => syncCommand({ ...opts, accept: opts.pull || opts.accept }));
|
|
202
202
|
program
|
|
203
|
-
.command(
|
|
204
|
-
.description(
|
|
205
|
-
.option(
|
|
206
|
-
.option(
|
|
207
|
-
.option(
|
|
203
|
+
.command('test [type]')
|
|
204
|
+
.description('🧪 Test skills, webhooks, or jobs interactively')
|
|
205
|
+
.option('--name <name>', 'Entity name to test')
|
|
206
|
+
.option('--input <json>', 'JSON input string for testing')
|
|
207
|
+
.option('--json', 'Output result as raw JSON (useful for scripting and piping)')
|
|
208
208
|
.addHelpText('after', `
|
|
209
209
|
Arguments:
|
|
210
210
|
type Optional: 'skill', 'webhook', or 'job' (prompts if not provided)
|
|
@@ -227,12 +227,12 @@ Examples:
|
|
|
227
227
|
.action(testCommand);
|
|
228
228
|
// Deployment Commands
|
|
229
229
|
program
|
|
230
|
-
.command(
|
|
231
|
-
.description(
|
|
230
|
+
.command('push [type]')
|
|
231
|
+
.description('☁️ Push skill, agent, webhook, job, MCP server, or backup to server')
|
|
232
232
|
.option('--force', 'Skip all confirmation prompts (auto-confirm)')
|
|
233
233
|
.option('--auto-deploy', 'Automatically deploy to production after push')
|
|
234
|
-
.option(
|
|
235
|
-
.option(
|
|
234
|
+
.option('--name <name>', 'Entity name to push')
|
|
235
|
+
.option('--set-version <version>', 'Version to set (e.g., 1.0.5)')
|
|
236
236
|
.addHelpText('after', `
|
|
237
237
|
Arguments:
|
|
238
238
|
type Optional: 'skill', 'agent', 'persona', 'webhook', 'job', 'preprocessor', 'postprocessor', 'mcp', 'backup', or 'all' (prompts if not provided)
|
|
@@ -259,14 +259,14 @@ Examples:
|
|
|
259
259
|
`)
|
|
260
260
|
.action(pushCommand);
|
|
261
261
|
program
|
|
262
|
-
.command(
|
|
263
|
-
.description(
|
|
264
|
-
.option(
|
|
265
|
-
.option(
|
|
266
|
-
.option(
|
|
262
|
+
.command('deploy [type]')
|
|
263
|
+
.description('🚀 Deploy a version to production')
|
|
264
|
+
.option('--name <name>', 'Entity name to deploy (non-interactive selection)')
|
|
265
|
+
.option('--set-version <ver>', "Version to deploy, or 'latest' for newest version")
|
|
266
|
+
.option('--force', 'Skip confirmation prompt')
|
|
267
267
|
// Deprecated aliases kept for backward compatibility
|
|
268
|
-
.option(
|
|
269
|
-
.option(
|
|
268
|
+
.option('--skill-name <name>', 'Deprecated: use --name')
|
|
269
|
+
.option('--skill-version <ver>', 'Deprecated: use --set-version')
|
|
270
270
|
.addHelpText('after', `
|
|
271
271
|
Arguments:
|
|
272
272
|
type Optional: skill | webhook | job | preprocessor | postprocessor | persona | all (prompts if not provided)
|
|
@@ -289,15 +289,15 @@ Examples:
|
|
|
289
289
|
.action(deployCommand);
|
|
290
290
|
// Chat Commands
|
|
291
291
|
const chatCmd = program
|
|
292
|
-
.command(
|
|
293
|
-
.description(
|
|
294
|
-
.option(
|
|
295
|
-
.option(
|
|
296
|
-
.option(
|
|
297
|
-
.option(
|
|
298
|
-
.option(
|
|
299
|
-
.option(
|
|
300
|
-
.option(
|
|
292
|
+
.command('chat')
|
|
293
|
+
.description('💬 Interactive chat with your agent')
|
|
294
|
+
.option('-e, --env <environment>', 'Environment: sandbox or production')
|
|
295
|
+
.option('-m, --message <text>', 'Message to send (non-interactive mode)')
|
|
296
|
+
.option('-b, --batch <messages...>', 'Send multiple messages concurrently to test batching')
|
|
297
|
+
.option('-d, --delay <ms>', 'Delay between batch messages in ms (default: 100)')
|
|
298
|
+
.option('-t, --thread [id]', 'Thread ID for conversation scoping. If no ID is provided, a UUID is auto-generated. Displayed at session start so you can reuse it later.')
|
|
299
|
+
.option('--clear', 'Automatically clear chat history when session ends (clears thread if -t is used, otherwise clears all history)')
|
|
300
|
+
.option('--clear-thread', 'Alias for --clear')
|
|
301
301
|
.addHelpText('after', `
|
|
302
302
|
Examples:
|
|
303
303
|
$ lua chat Start interactive chat session
|
|
@@ -314,11 +314,11 @@ Examples:
|
|
|
314
314
|
`)
|
|
315
315
|
.action(chatCommand);
|
|
316
316
|
chatCmd
|
|
317
|
-
.command(
|
|
318
|
-
.description(
|
|
319
|
-
.option(
|
|
320
|
-
.option(
|
|
321
|
-
.option(
|
|
317
|
+
.command('clear')
|
|
318
|
+
.description('Clear conversation history')
|
|
319
|
+
.option('--user <identifier>', 'User ID, email, or mobile number of the user whose history to clear')
|
|
320
|
+
.option('-t, --thread <id>', "Clear a specific thread's history instead of all history")
|
|
321
|
+
.option('--force', 'Skip confirmation prompt')
|
|
322
322
|
.addHelpText('after', `
|
|
323
323
|
Examples:
|
|
324
324
|
$ lua chat clear Clear history
|
|
@@ -337,12 +337,12 @@ Notes:
|
|
|
337
337
|
.action(chatClearCommand);
|
|
338
338
|
// Configuration Commands
|
|
339
339
|
program
|
|
340
|
-
.command(
|
|
341
|
-
.description(
|
|
342
|
-
.option(
|
|
343
|
-
.option(
|
|
344
|
-
.option(
|
|
345
|
-
.option(
|
|
340
|
+
.command('env [environment]')
|
|
341
|
+
.description('⚙️ Manage environment variables')
|
|
342
|
+
.option('-k, --key <name>', 'Environment variable key')
|
|
343
|
+
.option('-v, --value <value>', 'Environment variable value')
|
|
344
|
+
.option('-d, --delete', 'Delete the specified key')
|
|
345
|
+
.option('--list', 'List all environment variables')
|
|
346
346
|
.addHelpText('after', `
|
|
347
347
|
Arguments:
|
|
348
348
|
environment Optional: 'sandbox', 'staging', or 'production' (prompts if not provided)
|
|
@@ -360,10 +360,10 @@ Examples:
|
|
|
360
360
|
`)
|
|
361
361
|
.action(envCommand);
|
|
362
362
|
program
|
|
363
|
-
.command(
|
|
364
|
-
.description(
|
|
365
|
-
.option(
|
|
366
|
-
.option(
|
|
363
|
+
.command('persona [env] [action]')
|
|
364
|
+
.description('🤖 Manage agent persona')
|
|
365
|
+
.option('--persona-version <version>', "Version number or 'latest' for deploy")
|
|
366
|
+
.option('--force', 'Skip confirmation prompt')
|
|
367
367
|
.addHelpText('after', `
|
|
368
368
|
Arguments:
|
|
369
369
|
env Optional: 'sandbox', 'staging', or 'production' (prompts if not provided)
|
|
@@ -384,8 +384,8 @@ Examples:
|
|
|
384
384
|
`)
|
|
385
385
|
.action(personaCommand);
|
|
386
386
|
program
|
|
387
|
-
.command(
|
|
388
|
-
.description(
|
|
387
|
+
.command('production [action]')
|
|
388
|
+
.description('🚀 View and manage production environment')
|
|
389
389
|
.addHelpText('after', `
|
|
390
390
|
Arguments:
|
|
391
391
|
action Optional: 'overview', 'persona', 'skills', 'env' (prompts if not provided)
|
|
@@ -399,9 +399,9 @@ Examples:
|
|
|
399
399
|
`)
|
|
400
400
|
.action(productionCommand);
|
|
401
401
|
program
|
|
402
|
-
.command(
|
|
403
|
-
.description(
|
|
404
|
-
.option(
|
|
402
|
+
.command('resources [action]')
|
|
403
|
+
.description('📚 Manage agent resources and knowledge base')
|
|
404
|
+
.option('--resource-name <name>', 'Resource name')
|
|
405
405
|
.addHelpText('after', `
|
|
406
406
|
Arguments:
|
|
407
407
|
action Optional: 'list', 'view', 'delete' (prompts if not provided)
|
|
@@ -418,21 +418,12 @@ Examples:
|
|
|
418
418
|
$ lua resources delete --resource-name "Old Doc" Delete a resource
|
|
419
419
|
`)
|
|
420
420
|
.action(resourcesCommand);
|
|
421
|
+
program.command('admin').description('🔧 Open Lua Admin Dashboard in browser').action(adminCommand);
|
|
422
|
+
program.command('evals').description('📊 Open Lua Evaluations Dashboard in browser').action(evalsCommand);
|
|
423
|
+
program.command('docs').description('📖 Open Lua documentation in browser').action(docsCommand);
|
|
421
424
|
program
|
|
422
|
-
.command(
|
|
423
|
-
.description(
|
|
424
|
-
.action(adminCommand);
|
|
425
|
-
program
|
|
426
|
-
.command("evals")
|
|
427
|
-
.description("📊 Open Lua Evaluations Dashboard in browser")
|
|
428
|
-
.action(evalsCommand);
|
|
429
|
-
program
|
|
430
|
-
.command("docs")
|
|
431
|
-
.description("📖 Open Lua documentation in browser")
|
|
432
|
-
.action(docsCommand);
|
|
433
|
-
program
|
|
434
|
-
.command("channels [action]")
|
|
435
|
-
.description("📡 Manage agent communication channels")
|
|
425
|
+
.command('channels [action]')
|
|
426
|
+
.description('📡 Manage agent communication channels')
|
|
436
427
|
.addHelpText('after', `
|
|
437
428
|
Arguments:
|
|
438
429
|
action Optional: 'list' (prompts if not provided)
|
|
@@ -445,14 +436,14 @@ Examples:
|
|
|
445
436
|
`)
|
|
446
437
|
.action(channelsCommand);
|
|
447
438
|
program
|
|
448
|
-
.command(
|
|
449
|
-
.description(
|
|
450
|
-
.option(
|
|
451
|
-
.option(
|
|
452
|
-
.option(
|
|
453
|
-
.option(
|
|
454
|
-
.option(
|
|
455
|
-
.option(
|
|
439
|
+
.command('logs')
|
|
440
|
+
.description('📊 View agent and skill logs')
|
|
441
|
+
.option('--type <type>', 'Filter by type: all, skill, job, webhook, preprocessor, postprocessor, user_message, agent_response, mcp, mastra')
|
|
442
|
+
.option('--name <name>', 'Entity name to filter (requires --type)')
|
|
443
|
+
.option('--user-id <userId>', 'Filter logs by user ID')
|
|
444
|
+
.option('--limit <n>', 'Number of logs to show (default: 20)')
|
|
445
|
+
.option('--page <n>', 'Page number for pagination')
|
|
446
|
+
.option('--json', 'Output as JSON (for scripting)')
|
|
456
447
|
.addHelpText('after', `
|
|
457
448
|
Options:
|
|
458
449
|
--type <type> Filter by type: all, skill, job, webhook, preprocessor, postprocessor, user_message, agent_response, mcp, mastra
|
|
@@ -475,10 +466,10 @@ Examples:
|
|
|
475
466
|
`)
|
|
476
467
|
.action(logsCommand);
|
|
477
468
|
program
|
|
478
|
-
.command(
|
|
479
|
-
.description(
|
|
480
|
-
.option(
|
|
481
|
-
.option(
|
|
469
|
+
.command('skills [actionOrEnv] [action]')
|
|
470
|
+
.description('⚙️ Manage and view skills')
|
|
471
|
+
.option('--skill-name <name>', 'Skill name')
|
|
472
|
+
.option('--skill-version <version>', "Version for deploy action (or 'latest')")
|
|
482
473
|
.addHelpText('after', `
|
|
483
474
|
Arguments:
|
|
484
475
|
actionOrEnv Optional: environment ('sandbox', 'production') or action ('view', 'versions', 'deploy', 'delete')
|
|
@@ -499,11 +490,11 @@ Examples:
|
|
|
499
490
|
`)
|
|
500
491
|
.action(skillsCommand);
|
|
501
492
|
program
|
|
502
|
-
.command(
|
|
503
|
-
.description(
|
|
504
|
-
.option(
|
|
505
|
-
.option(
|
|
506
|
-
.option(
|
|
493
|
+
.command('webhooks [action]')
|
|
494
|
+
.description('🪝 Manage and view webhooks')
|
|
495
|
+
.option('--webhook-name <name>', 'Webhook name')
|
|
496
|
+
.option('--webhook-version <version>', "Version for deploy action (or 'latest')")
|
|
497
|
+
.option('--event <eventType>', 'Event type for subscribe/unsubscribe (e.g. message.delivered)')
|
|
507
498
|
.addHelpText('after', `
|
|
508
499
|
Arguments:
|
|
509
500
|
action Optional: 'view', 'versions', 'deploy', 'activate', 'deactivate', 'delete',
|
|
@@ -529,13 +520,13 @@ Examples:
|
|
|
529
520
|
`)
|
|
530
521
|
.action(webhooksCommand);
|
|
531
522
|
program
|
|
532
|
-
.command(
|
|
533
|
-
.description(
|
|
534
|
-
.option(
|
|
535
|
-
.option(
|
|
536
|
-
.option(
|
|
537
|
-
.option(
|
|
538
|
-
.option(
|
|
523
|
+
.command('devices [action]')
|
|
524
|
+
.description('📡 Manage connected devices')
|
|
525
|
+
.option('--device-name <name>', 'Device name')
|
|
526
|
+
.option('--group <group>', 'Filter by device group')
|
|
527
|
+
.option('--payload <json>', 'JSON payload for test/test-trigger', '{}')
|
|
528
|
+
.option('--timeout <ms>', 'Timeout in milliseconds', '30000')
|
|
529
|
+
.option('--force', 'Skip confirmation prompts')
|
|
539
530
|
.addHelpText('after', `
|
|
540
531
|
Arguments:
|
|
541
532
|
action Optional: list, status, enable, disable, remove, test, test-trigger
|
|
@@ -561,10 +552,10 @@ Examples:
|
|
|
561
552
|
`)
|
|
562
553
|
.action(devicesCommand);
|
|
563
554
|
program
|
|
564
|
-
.command(
|
|
565
|
-
.description(
|
|
566
|
-
.option(
|
|
567
|
-
.option(
|
|
555
|
+
.command('jobs [action]')
|
|
556
|
+
.description('⏰ Manage and view scheduled jobs')
|
|
557
|
+
.option('-i, --job-name <name>', 'Job name')
|
|
558
|
+
.option('-v, --job-version <version>', "Version for deploy action (or 'latest')")
|
|
568
559
|
.addHelpText('after', `
|
|
569
560
|
Arguments:
|
|
570
561
|
action Optional: view, versions, deploy, activate, deactivate, trigger, history, delete
|
|
@@ -587,9 +578,9 @@ Examples:
|
|
|
587
578
|
`)
|
|
588
579
|
.action(jobsCommand);
|
|
589
580
|
program
|
|
590
|
-
.command(
|
|
591
|
-
.description(
|
|
592
|
-
.option(
|
|
581
|
+
.command('features [action]')
|
|
582
|
+
.description('🎯 Manage agent features (RAG, webSearch, inquiry)')
|
|
583
|
+
.option('--feature-name <name>', 'Feature name')
|
|
593
584
|
.addHelpText('after', `
|
|
594
585
|
Arguments:
|
|
595
586
|
action Optional: 'list', 'enable', 'disable', 'view' (prompts if not provided)
|
|
@@ -606,10 +597,10 @@ Examples:
|
|
|
606
597
|
`)
|
|
607
598
|
.action(featuresCommand);
|
|
608
599
|
program
|
|
609
|
-
.command(
|
|
610
|
-
.description(
|
|
611
|
-
.option(
|
|
612
|
-
.option(
|
|
600
|
+
.command('preprocessors [action]')
|
|
601
|
+
.description('📥 Manage message preprocessors')
|
|
602
|
+
.option('--preprocessor-name <name>', 'PreProcessor name')
|
|
603
|
+
.option('--preprocessor-version <version>', "Version for deploy action (or 'latest')")
|
|
613
604
|
.addHelpText('after', `
|
|
614
605
|
Arguments:
|
|
615
606
|
action Optional: 'view', 'versions', 'deploy', 'activate', 'deactivate', 'delete' (prompts if not provided)
|
|
@@ -630,10 +621,10 @@ Examples:
|
|
|
630
621
|
`)
|
|
631
622
|
.action(preprocessorsCommand);
|
|
632
623
|
program
|
|
633
|
-
.command(
|
|
634
|
-
.description(
|
|
635
|
-
.option(
|
|
636
|
-
.option(
|
|
624
|
+
.command('postprocessors [action]')
|
|
625
|
+
.description('📤 Manage response postprocessors')
|
|
626
|
+
.option('--postprocessor-name <name>', 'PostProcessor name')
|
|
627
|
+
.option('--postprocessor-version <version>', "Version for deploy action (or 'latest')")
|
|
637
628
|
.addHelpText('after', `
|
|
638
629
|
Arguments:
|
|
639
630
|
action Optional: 'view', 'versions', 'deploy', 'activate', 'deactivate', 'delete' (prompts if not provided)
|
|
@@ -654,9 +645,9 @@ Examples:
|
|
|
654
645
|
`)
|
|
655
646
|
.action(postprocessorsCommand);
|
|
656
647
|
program
|
|
657
|
-
.command(
|
|
658
|
-
.description(
|
|
659
|
-
.option(
|
|
648
|
+
.command('mcp [action] [name]')
|
|
649
|
+
.description('🔌 Manage MCP (Model Context Protocol) servers')
|
|
650
|
+
.option('--server-name <name>', 'MCP server name')
|
|
660
651
|
.addHelpText('after', `
|
|
661
652
|
Arguments:
|
|
662
653
|
action Optional: 'list', 'activate', 'deactivate', or 'delete'
|
|
@@ -675,23 +666,23 @@ Examples:
|
|
|
675
666
|
`)
|
|
676
667
|
.action(mcpCommand);
|
|
677
668
|
program
|
|
678
|
-
.command(
|
|
679
|
-
.description(
|
|
680
|
-
.option(
|
|
681
|
-
.option(
|
|
682
|
-
.option(
|
|
683
|
-
.option(
|
|
684
|
-
.option(
|
|
685
|
-
.option(
|
|
686
|
-
.option(
|
|
687
|
-
.option(
|
|
688
|
-
.option(
|
|
689
|
-
.option(
|
|
690
|
-
.option(
|
|
691
|
-
.option(
|
|
692
|
-
.option(
|
|
693
|
-
.option(
|
|
694
|
-
.option(
|
|
669
|
+
.command('integrations [action] [subaction]')
|
|
670
|
+
.description('🔗 Connect third-party integrations via Unified.to')
|
|
671
|
+
.option('--integration <type>', 'Integration type (e.g., linear, googlecalendar)')
|
|
672
|
+
.option('--auth-method <method>', "Authentication method: 'oauth' or 'token'")
|
|
673
|
+
.option('--scopes <scopes>', "Comma-separated OAuth scopes (or 'all' for all scopes)")
|
|
674
|
+
.option('--hide-sensitive <bool>', 'Hide sensitive data from MCP tools (default: true)')
|
|
675
|
+
.option('--connection-id <id>', 'Connection ID to disconnect or pause/resume')
|
|
676
|
+
.option('--connection <id>', 'Connection ID for trigger')
|
|
677
|
+
.option('--webhook-id <id>', 'Trigger ID to delete/pause/resume')
|
|
678
|
+
.option('--object <type>', 'Object type for webhook (e.g., task_task, calendar_event)')
|
|
679
|
+
.option('--event <type>', 'Event type for webhook: created, updated, or deleted')
|
|
680
|
+
.option('--hook-url <url>', 'Custom webhook URL (default: agent trigger)')
|
|
681
|
+
.option('--interval <minutes>', 'Polling interval for virtual webhooks (60, 120, 240, 480, 720, 1440, 2880)')
|
|
682
|
+
.option('--triggers <events>', 'Comma-separated triggers (e.g., task_task.created,task_task.updated)')
|
|
683
|
+
.option('--custom-webhook', 'Use custom webhook URL instead of agent trigger')
|
|
684
|
+
.option('--json', 'Output as JSON (for info and webhooks events commands)')
|
|
685
|
+
.option('--reason <text>', 'Optional reason for pausing a trigger')
|
|
695
686
|
.addHelpText('after', `
|
|
696
687
|
Arguments:
|
|
697
688
|
action Optional: 'connect', 'update', 'list', 'available', 'info', 'disconnect', 'webhooks', or 'mcp'
|
|
@@ -750,17 +741,17 @@ MCP Server Examples:
|
|
|
750
741
|
.action(integrationsCommand);
|
|
751
742
|
// 'lua triggers' — top-level alias for 'lua integrations webhooks' (discoverability)
|
|
752
743
|
program
|
|
753
|
-
.command(
|
|
754
|
-
.description(
|
|
755
|
-
.option(
|
|
756
|
-
.option(
|
|
757
|
-
.option(
|
|
758
|
-
.option(
|
|
759
|
-
.option(
|
|
760
|
-
.option(
|
|
761
|
-
.option(
|
|
762
|
-
.option(
|
|
763
|
-
.option(
|
|
744
|
+
.command('triggers [action]')
|
|
745
|
+
.description('⚡ Manage integration triggers (alias for: lua integrations webhooks)')
|
|
746
|
+
.option('--connection-id <id>', 'Connection ID to pause/resume all triggers')
|
|
747
|
+
.option('--connection <id>', 'Connection ID for creating a trigger')
|
|
748
|
+
.option('--webhook-id <id>', 'Trigger ID to delete/pause/resume')
|
|
749
|
+
.option('--object <type>', 'Object type for webhook (e.g., task_task, calendar_event)')
|
|
750
|
+
.option('--event <type>', 'Event type: created, updated, or deleted')
|
|
751
|
+
.option('--hook-url <url>', 'Custom webhook URL (default: agent trigger)')
|
|
752
|
+
.option('--interval <minutes>', 'Polling interval for virtual webhooks')
|
|
753
|
+
.option('--json', 'Output as JSON')
|
|
754
|
+
.option('--reason <text>', 'Optional reason for pausing')
|
|
764
755
|
.addHelpText('after', `
|
|
765
756
|
This is a shortcut for: lua integrations webhooks <action>
|
|
766
757
|
|
|
@@ -785,8 +776,8 @@ Examples:
|
|
|
785
776
|
return integrationsCommand('webhooks', action || '', opts);
|
|
786
777
|
});
|
|
787
778
|
program
|
|
788
|
-
.command(
|
|
789
|
-
.description(
|
|
779
|
+
.command('completion [shell]')
|
|
780
|
+
.description('🎯 Generate shell completion script')
|
|
790
781
|
.addHelpText('after', `
|
|
791
782
|
Arguments:
|
|
792
783
|
shell Optional: 'bash', 'zsh', or 'fish' (shows instructions if not provided)
|
|
@@ -800,9 +791,9 @@ Examples:
|
|
|
800
791
|
`)
|
|
801
792
|
.action(completionCommand);
|
|
802
793
|
program
|
|
803
|
-
.command(
|
|
804
|
-
.description(
|
|
805
|
-
.option(
|
|
794
|
+
.command('agents')
|
|
795
|
+
.description('👥 List all organizations and agents you have access to')
|
|
796
|
+
.option('--json', 'Output as JSON')
|
|
806
797
|
.addHelpText('after', `
|
|
807
798
|
Examples:
|
|
808
799
|
$ lua agents List all orgs and agents (formatted)
|
|
@@ -810,10 +801,10 @@ Examples:
|
|
|
810
801
|
`)
|
|
811
802
|
.action(agentsCommand);
|
|
812
803
|
program
|
|
813
|
-
.command(
|
|
814
|
-
.description(
|
|
815
|
-
.option(
|
|
816
|
-
.option(
|
|
804
|
+
.command('models [action]')
|
|
805
|
+
.description('🧠 List and manage LLM models for your agent')
|
|
806
|
+
.option('--model <code>', "Model code for 'set' action (e.g. 'openai/gpt-4o')")
|
|
807
|
+
.option('--json', 'Output as JSON')
|
|
817
808
|
.addHelpText('after', `
|
|
818
809
|
Arguments:
|
|
819
810
|
action Optional: 'list', 'set', or 'unset' (default: list)
|
|
@@ -832,10 +823,10 @@ Examples:
|
|
|
832
823
|
`)
|
|
833
824
|
.action(modelsCommand);
|
|
834
825
|
program
|
|
835
|
-
.command(
|
|
836
|
-
.alias(
|
|
837
|
-
.description(
|
|
838
|
-
.option(
|
|
826
|
+
.command('status')
|
|
827
|
+
.alias('describe')
|
|
828
|
+
.description('📋 Show full state: env, auth, project, updates, sync state')
|
|
829
|
+
.option('--json', 'Output as machine-readable JSON')
|
|
839
830
|
.addHelpText('after', `
|
|
840
831
|
Shows full diagnostics in one shot: CLI version + updates, install method,
|
|
841
832
|
auth state and server reachability, project config, per-primitive sync state
|
|
@@ -851,16 +842,16 @@ Examples:
|
|
|
851
842
|
`)
|
|
852
843
|
.action(statusCommand);
|
|
853
844
|
program
|
|
854
|
-
.command(
|
|
855
|
-
.description(
|
|
845
|
+
.command('update')
|
|
846
|
+
.description('🔄 Update lua-cli to the latest version')
|
|
856
847
|
.addHelpText('after', `
|
|
857
848
|
Examples:
|
|
858
849
|
$ lua update Check for updates and install the latest version
|
|
859
850
|
`)
|
|
860
851
|
.action(updateCommand);
|
|
861
852
|
program
|
|
862
|
-
.command(
|
|
863
|
-
.description(
|
|
853
|
+
.command('telemetry [action]')
|
|
854
|
+
.description('📊 Manage usage telemetry')
|
|
864
855
|
.addHelpText('after', `
|
|
865
856
|
Arguments:
|
|
866
857
|
action Optional: 'on', 'off', or 'status' (default: status)
|
|
@@ -872,8 +863,8 @@ Examples:
|
|
|
872
863
|
`)
|
|
873
864
|
.action(telemetryCommand);
|
|
874
865
|
program
|
|
875
|
-
.command(
|
|
876
|
-
.description(
|
|
866
|
+
.command('governance [action]')
|
|
867
|
+
.description('🛡️ Manage governance for your agent project')
|
|
877
868
|
.addHelpText('after', `
|
|
878
869
|
Arguments:
|
|
879
870
|
action Optional: 'add' or 'remove' (default: interactive setup)
|