lua-cli 3.15.3 → 3.16.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.
- package/dist/api-exports.d.ts +5029 -698
- package/dist/api-exports.js +6509 -772
- package/dist/api-exports.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +41174 -82
- package/dist/index.js.map +1 -1
- package/dist/voice/test/index.d.ts +1217 -0
- package/dist/voice/test/index.js +386 -0
- package/dist/voice/test/index.js.map +1 -0
- package/dist/voice-exports.d.ts +40 -0
- package/dist/voice-exports.js +16 -0
- package/dist/voice-exports.js.map +1 -0
- package/docs/README.md +1 -1
- package/package.json +38 -21
- package/scripts/build-vendor.mjs +6 -3
- package/scripts/run-api-extractor.mjs +79 -0
- package/template/.gitignore +21 -0
- package/template/package.json +1 -1
- package/dist/api/agent.api.service.d.ts +0 -165
- package/dist/api/agent.api.service.d.ts.map +0 -1
- package/dist/api/agent.api.service.js +0 -207
- package/dist/api/agent.api.service.js.map +0 -1
- package/dist/api/agents.api.service.d.ts +0 -21
- package/dist/api/agents.api.service.d.ts.map +0 -1
- package/dist/api/agents.api.service.js +0 -51
- package/dist/api/agents.api.service.js.map +0 -1
- package/dist/api/ai.api.service.d.ts +0 -20
- package/dist/api/ai.api.service.d.ts.map +0 -1
- package/dist/api/ai.api.service.js +0 -40
- package/dist/api/ai.api.service.js.map +0 -1
- package/dist/api/auth.api.service.d.ts +0 -49
- package/dist/api/auth.api.service.d.ts.map +0 -1
- package/dist/api/auth.api.service.js +0 -55
- package/dist/api/auth.api.service.js.map +0 -1
- package/dist/api/backup.api.service.d.ts +0 -78
- package/dist/api/backup.api.service.d.ts.map +0 -1
- package/dist/api/backup.api.service.js +0 -115
- package/dist/api/backup.api.service.js.map +0 -1
- package/dist/api/basket.api.service.d.ts +0 -85
- package/dist/api/basket.api.service.d.ts.map +0 -1
- package/dist/api/basket.api.service.js +0 -160
- package/dist/api/basket.api.service.js.map +0 -1
- package/dist/api/cdn.api.service.d.ts +0 -21
- package/dist/api/cdn.api.service.d.ts.map +0 -1
- package/dist/api/cdn.api.service.js +0 -46
- package/dist/api/cdn.api.service.js.map +0 -1
- package/dist/api/chat.api.service.d.ts +0 -40
- package/dist/api/chat.api.service.d.ts.map +0 -1
- package/dist/api/chat.api.service.js +0 -121
- package/dist/api/chat.api.service.js.map +0 -1
- package/dist/api/credentials.d.ts +0 -25
- package/dist/api/credentials.d.ts.map +0 -1
- package/dist/api/credentials.js +0 -44
- package/dist/api/credentials.js.map +0 -1
- package/dist/api/custom.data.api.service.d.ts +0 -71
- package/dist/api/custom.data.api.service.d.ts.map +0 -1
- package/dist/api/custom.data.api.service.js +0 -126
- package/dist/api/custom.data.api.service.js.map +0 -1
- package/dist/api/developer.api.service.d.ts +0 -121
- package/dist/api/developer.api.service.d.ts.map +0 -1
- package/dist/api/developer.api.service.js +0 -162
- package/dist/api/developer.api.service.js.map +0 -1
- package/dist/api/device-trigger.api.service.d.ts +0 -136
- package/dist/api/device-trigger.api.service.d.ts.map +0 -1
- package/dist/api/device-trigger.api.service.js +0 -120
- package/dist/api/device-trigger.api.service.js.map +0 -1
- package/dist/api/device.api.service.d.ts +0 -61
- package/dist/api/device.api.service.d.ts.map +0 -1
- package/dist/api/device.api.service.js +0 -72
- package/dist/api/device.api.service.js.map +0 -1
- package/dist/api/http.client.d.ts +0 -90
- package/dist/api/http.client.d.ts.map +0 -1
- package/dist/api/http.client.js +0 -265
- package/dist/api/http.client.js.map +0 -1
- package/dist/api/job.api.service.d.ts +0 -154
- package/dist/api/job.api.service.d.ts.map +0 -1
- package/dist/api/job.api.service.js +0 -230
- package/dist/api/job.api.service.js.map +0 -1
- package/dist/api/lazy-instances.d.ts +0 -107
- package/dist/api/lazy-instances.d.ts.map +0 -1
- package/dist/api/lazy-instances.js +0 -220
- package/dist/api/lazy-instances.js.map +0 -1
- package/dist/api/logs.api.service.d.ts +0 -38
- package/dist/api/logs.api.service.d.ts.map +0 -1
- package/dist/api/logs.api.service.js +0 -50
- package/dist/api/logs.api.service.js.map +0 -1
- package/dist/api/marketplace.api.service.d.ts +0 -28
- package/dist/api/marketplace.api.service.d.ts.map +0 -1
- package/dist/api/marketplace.api.service.js +0 -112
- package/dist/api/marketplace.api.service.js.map +0 -1
- package/dist/api/order.api.service.d.ts +0 -53
- package/dist/api/order.api.service.d.ts.map +0 -1
- package/dist/api/order.api.service.js +0 -94
- package/dist/api/order.api.service.js.map +0 -1
- package/dist/api/persona.api.service.d.ts +0 -56
- package/dist/api/persona.api.service.d.ts.map +0 -1
- package/dist/api/persona.api.service.js +0 -90
- package/dist/api/persona.api.service.js.map +0 -1
- package/dist/api/postprocessor.api.service.d.ts +0 -151
- package/dist/api/postprocessor.api.service.d.ts.map +0 -1
- package/dist/api/postprocessor.api.service.js +0 -109
- package/dist/api/postprocessor.api.service.js.map +0 -1
- package/dist/api/preprocessor.api.service.d.ts +0 -155
- package/dist/api/preprocessor.api.service.d.ts.map +0 -1
- package/dist/api/preprocessor.api.service.js +0 -111
- package/dist/api/preprocessor.api.service.js.map +0 -1
- package/dist/api/products.api.service.d.ts +0 -80
- package/dist/api/products.api.service.d.ts.map +0 -1
- package/dist/api/products.api.service.js +0 -126
- package/dist/api/products.api.service.js.map +0 -1
- package/dist/api/resource.api.service.d.ts +0 -77
- package/dist/api/resource.api.service.d.ts.map +0 -1
- package/dist/api/resource.api.service.js +0 -74
- package/dist/api/resource.api.service.js.map +0 -1
- package/dist/api/skills.api.service.d.ts +0 -94
- package/dist/api/skills.api.service.d.ts.map +0 -1
- package/dist/api/skills.api.service.js +0 -120
- package/dist/api/skills.api.service.js.map +0 -1
- package/dist/api/tool.api.service.d.ts +0 -53
- package/dist/api/tool.api.service.d.ts.map +0 -1
- package/dist/api/tool.api.service.js +0 -74
- package/dist/api/tool.api.service.js.map +0 -1
- package/dist/api/unifiedto.api.service.d.ts +0 -133
- package/dist/api/unifiedto.api.service.d.ts.map +0 -1
- package/dist/api/unifiedto.api.service.js +0 -166
- package/dist/api/unifiedto.api.service.js.map +0 -1
- package/dist/api/user.data.api.service.d.ts +0 -69
- package/dist/api/user.data.api.service.d.ts.map +0 -1
- package/dist/api/user.data.api.service.js +0 -158
- package/dist/api/user.data.api.service.js.map +0 -1
- package/dist/api/webhook.api.service.d.ts +0 -163
- package/dist/api/webhook.api.service.d.ts.map +0 -1
- package/dist/api/webhook.api.service.js +0 -140
- package/dist/api/webhook.api.service.js.map +0 -1
- package/dist/api/whatsapp-templates.api.service.d.ts +0 -41
- package/dist/api/whatsapp-templates.api.service.d.ts.map +0 -1
- package/dist/api/whatsapp-templates.api.service.js +0 -79
- package/dist/api/whatsapp-templates.api.service.js.map +0 -1
- package/dist/api-exports.d.ts.map +0 -1
- package/dist/cli/command-definitions.d.ts +0 -29
- package/dist/cli/command-definitions.d.ts.map +0 -1
- package/dist/cli/command-definitions.js +0 -943
- package/dist/cli/command-definitions.js.map +0 -1
- package/dist/commands/admin.d.ts +0 -24
- package/dist/commands/admin.d.ts.map +0 -1
- package/dist/commands/admin.js +0 -44
- package/dist/commands/admin.js.map +0 -1
- package/dist/commands/agents.d.ts +0 -23
- package/dist/commands/agents.d.ts.map +0 -1
- package/dist/commands/agents.js +0 -83
- package/dist/commands/agents.js.map +0 -1
- package/dist/commands/apiKey.d.ts +0 -8
- package/dist/commands/apiKey.d.ts.map +0 -1
- package/dist/commands/apiKey.js +0 -43
- package/dist/commands/apiKey.js.map +0 -1
- package/dist/commands/channels.d.ts +0 -13
- package/dist/commands/channels.d.ts.map +0 -1
- package/dist/commands/channels.js +0 -747
- package/dist/commands/channels.js.map +0 -1
- package/dist/commands/chat-log-probe.d.ts +0 -59
- package/dist/commands/chat-log-probe.d.ts.map +0 -1
- package/dist/commands/chat-log-probe.js +0 -87
- package/dist/commands/chat-log-probe.js.map +0 -1
- package/dist/commands/chat.d.ts +0 -20
- package/dist/commands/chat.d.ts.map +0 -1
- package/dist/commands/chat.js +0 -618
- package/dist/commands/chat.js.map +0 -1
- package/dist/commands/chatClear.d.ts +0 -25
- package/dist/commands/chatClear.d.ts.map +0 -1
- package/dist/commands/chatClear.js +0 -71
- package/dist/commands/chatClear.js.map +0 -1
- package/dist/commands/compile.d.ts +0 -48
- package/dist/commands/compile.d.ts.map +0 -1
- package/dist/commands/compile.js +0 -216
- package/dist/commands/compile.js.map +0 -1
- package/dist/commands/completion.d.ts +0 -12
- package/dist/commands/completion.d.ts.map +0 -1
- package/dist/commands/completion.js +0 -211
- package/dist/commands/completion.js.map +0 -1
- package/dist/commands/configure.d.ts +0 -42
- package/dist/commands/configure.d.ts.map +0 -1
- package/dist/commands/configure.js +0 -76
- package/dist/commands/configure.js.map +0 -1
- package/dist/commands/deploy.d.ts +0 -14
- package/dist/commands/deploy.d.ts.map +0 -1
- package/dist/commands/deploy.js +0 -517
- package/dist/commands/deploy.js.map +0 -1
- package/dist/commands/destroy.d.ts +0 -8
- package/dist/commands/destroy.d.ts.map +0 -1
- package/dist/commands/destroy.js +0 -66
- package/dist/commands/destroy.js.map +0 -1
- package/dist/commands/devices.d.ts +0 -6
- package/dist/commands/devices.d.ts.map +0 -1
- package/dist/commands/devices.js +0 -265
- package/dist/commands/devices.js.map +0 -1
- package/dist/commands/docs.d.ts +0 -20
- package/dist/commands/docs.d.ts.map +0 -1
- package/dist/commands/docs.js +0 -33
- package/dist/commands/docs.js.map +0 -1
- package/dist/commands/env.d.ts +0 -34
- package/dist/commands/env.d.ts.map +0 -1
- package/dist/commands/env.js +0 -612
- package/dist/commands/env.js.map +0 -1
- package/dist/commands/evals.d.ts +0 -9
- package/dist/commands/evals.d.ts.map +0 -1
- package/dist/commands/evals.js +0 -27
- package/dist/commands/evals.js.map +0 -1
- package/dist/commands/features.d.ts +0 -13
- package/dist/commands/features.d.ts.map +0 -1
- package/dist/commands/features.js +0 -455
- package/dist/commands/features.js.map +0 -1
- package/dist/commands/governance.d.ts +0 -7
- package/dist/commands/governance.d.ts.map +0 -1
- package/dist/commands/governance.js +0 -258
- package/dist/commands/governance.js.map +0 -1
- package/dist/commands/index.d.ts +0 -38
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/index.js +0 -38
- package/dist/commands/index.js.map +0 -1
- package/dist/commands/init.d.ts +0 -53
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/init.js +0 -992
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/integrations.d.ts +0 -18
- package/dist/commands/integrations.d.ts.map +0 -1
- package/dist/commands/integrations.js +0 -2666
- package/dist/commands/integrations.js.map +0 -1
- package/dist/commands/jobs.d.ts +0 -13
- package/dist/commands/jobs.d.ts.map +0 -1
- package/dist/commands/jobs.js +0 -736
- package/dist/commands/jobs.js.map +0 -1
- package/dist/commands/log-tip.d.ts +0 -79
- package/dist/commands/log-tip.d.ts.map +0 -1
- package/dist/commands/log-tip.js +0 -83
- package/dist/commands/log-tip.js.map +0 -1
- package/dist/commands/logs.d.ts +0 -13
- package/dist/commands/logs.d.ts.map +0 -1
- package/dist/commands/logs.js +0 -493
- package/dist/commands/logs.js.map +0 -1
- package/dist/commands/marketplace.d.ts +0 -34
- package/dist/commands/marketplace.d.ts.map +0 -1
- package/dist/commands/marketplace.js +0 -2105
- package/dist/commands/marketplace.js.map +0 -1
- package/dist/commands/mcp.d.ts +0 -32
- package/dist/commands/mcp.d.ts.map +0 -1
- package/dist/commands/mcp.js +0 -395
- package/dist/commands/mcp.js.map +0 -1
- package/dist/commands/models.d.ts +0 -18
- package/dist/commands/models.d.ts.map +0 -1
- package/dist/commands/models.js +0 -207
- package/dist/commands/models.js.map +0 -1
- package/dist/commands/persona.d.ts +0 -13
- package/dist/commands/persona.d.ts.map +0 -1
- package/dist/commands/persona.js +0 -560
- package/dist/commands/persona.js.map +0 -1
- package/dist/commands/postprocessors.d.ts +0 -13
- package/dist/commands/postprocessors.d.ts.map +0 -1
- package/dist/commands/postprocessors.js +0 -558
- package/dist/commands/postprocessors.js.map +0 -1
- package/dist/commands/preprocessors.d.ts +0 -13
- package/dist/commands/preprocessors.d.ts.map +0 -1
- package/dist/commands/preprocessors.js +0 -558
- package/dist/commands/preprocessors.js.map +0 -1
- package/dist/commands/production.d.ts +0 -13
- package/dist/commands/production.d.ts.map +0 -1
- package/dist/commands/production.js +0 -588
- package/dist/commands/production.js.map +0 -1
- package/dist/commands/push-helpers.d.ts +0 -42
- package/dist/commands/push-helpers.d.ts.map +0 -1
- package/dist/commands/push-helpers.js +0 -48
- package/dist/commands/push-helpers.js.map +0 -1
- package/dist/commands/push.d.ts +0 -31
- package/dist/commands/push.d.ts.map +0 -1
- package/dist/commands/push.js +0 -1262
- package/dist/commands/push.js.map +0 -1
- package/dist/commands/pushBackup.d.ts +0 -78
- package/dist/commands/pushBackup.d.ts.map +0 -1
- package/dist/commands/pushBackup.js +0 -274
- package/dist/commands/pushBackup.js.map +0 -1
- package/dist/commands/resources.d.ts +0 -13
- package/dist/commands/resources.d.ts.map +0 -1
- package/dist/commands/resources.js +0 -377
- package/dist/commands/resources.js.map +0 -1
- package/dist/commands/skills.d.ts +0 -13
- package/dist/commands/skills.d.ts.map +0 -1
- package/dist/commands/skills.js +0 -618
- package/dist/commands/skills.js.map +0 -1
- package/dist/commands/source.d.ts +0 -72
- package/dist/commands/source.d.ts.map +0 -1
- package/dist/commands/source.js +0 -134
- package/dist/commands/source.js.map +0 -1
- package/dist/commands/status.d.ts +0 -14
- package/dist/commands/status.d.ts.map +0 -1
- package/dist/commands/status.js +0 -731
- package/dist/commands/status.js.map +0 -1
- package/dist/commands/sync.d.ts +0 -28
- package/dist/commands/sync.d.ts.map +0 -1
- package/dist/commands/sync.js +0 -802
- package/dist/commands/sync.js.map +0 -1
- package/dist/commands/telemetry.d.ts +0 -6
- package/dist/commands/telemetry.d.ts.map +0 -1
- package/dist/commands/telemetry.js +0 -42
- package/dist/commands/telemetry.js.map +0 -1
- package/dist/commands/test-output.helpers.d.ts +0 -24
- package/dist/commands/test-output.helpers.d.ts.map +0 -1
- package/dist/commands/test-output.helpers.js +0 -62
- package/dist/commands/test-output.helpers.js.map +0 -1
- package/dist/commands/test.d.ts +0 -9
- package/dist/commands/test.d.ts.map +0 -1
- package/dist/commands/test.js +0 -787
- package/dist/commands/test.js.map +0 -1
- package/dist/commands/update.d.ts +0 -14
- package/dist/commands/update.d.ts.map +0 -1
- package/dist/commands/update.js +0 -97
- package/dist/commands/update.js.map +0 -1
- package/dist/commands/webhooks.d.ts +0 -13
- package/dist/commands/webhooks.d.ts.map +0 -1
- package/dist/commands/webhooks.js +0 -691
- package/dist/commands/webhooks.js.map +0 -1
- package/dist/compiler/agent-traverser.d.ts +0 -140
- package/dist/compiler/agent-traverser.d.ts.map +0 -1
- package/dist/compiler/agent-traverser.js +0 -420
- package/dist/compiler/agent-traverser.js.map +0 -1
- package/dist/compiler/bundler.d.ts +0 -43
- package/dist/compiler/bundler.d.ts.map +0 -1
- package/dist/compiler/bundler.js +0 -188
- package/dist/compiler/bundler.js.map +0 -1
- package/dist/compiler/compiler.d.ts +0 -208
- package/dist/compiler/compiler.d.ts.map +0 -1
- package/dist/compiler/compiler.js +0 -706
- package/dist/compiler/compiler.js.map +0 -1
- package/dist/compiler/index.d.ts +0 -38
- package/dist/compiler/index.d.ts.map +0 -1
- package/dist/compiler/index.js +0 -43
- package/dist/compiler/index.js.map +0 -1
- package/dist/compiler/plugins/agent.plugin.d.ts +0 -58
- package/dist/compiler/plugins/agent.plugin.d.ts.map +0 -1
- package/dist/compiler/plugins/agent.plugin.js +0 -161
- package/dist/compiler/plugins/agent.plugin.js.map +0 -1
- package/dist/compiler/plugins/base.d.ts +0 -334
- package/dist/compiler/plugins/base.d.ts.map +0 -1
- package/dist/compiler/plugins/base.js +0 -353
- package/dist/compiler/plugins/base.js.map +0 -1
- package/dist/compiler/plugins/device-trigger.plugin.d.ts +0 -38
- package/dist/compiler/plugins/device-trigger.plugin.d.ts.map +0 -1
- package/dist/compiler/plugins/device-trigger.plugin.js +0 -107
- package/dist/compiler/plugins/device-trigger.plugin.js.map +0 -1
- package/dist/compiler/plugins/device.plugin.d.ts +0 -39
- package/dist/compiler/plugins/device.plugin.d.ts.map +0 -1
- package/dist/compiler/plugins/device.plugin.js +0 -77
- package/dist/compiler/plugins/device.plugin.js.map +0 -1
- package/dist/compiler/plugins/job.plugin.d.ts +0 -34
- package/dist/compiler/plugins/job.plugin.d.ts.map +0 -1
- package/dist/compiler/plugins/job.plugin.js +0 -108
- package/dist/compiler/plugins/job.plugin.js.map +0 -1
- package/dist/compiler/plugins/mcp-server.plugin.d.ts +0 -38
- package/dist/compiler/plugins/mcp-server.plugin.d.ts.map +0 -1
- package/dist/compiler/plugins/mcp-server.plugin.js +0 -107
- package/dist/compiler/plugins/mcp-server.plugin.js.map +0 -1
- package/dist/compiler/plugins/postprocessor.plugin.d.ts +0 -21
- package/dist/compiler/plugins/postprocessor.plugin.d.ts.map +0 -1
- package/dist/compiler/plugins/postprocessor.plugin.js +0 -36
- package/dist/compiler/plugins/postprocessor.plugin.js.map +0 -1
- package/dist/compiler/plugins/preprocessor.plugin.d.ts +0 -21
- package/dist/compiler/plugins/preprocessor.plugin.d.ts.map +0 -1
- package/dist/compiler/plugins/preprocessor.plugin.js +0 -38
- package/dist/compiler/plugins/preprocessor.plugin.js.map +0 -1
- package/dist/compiler/plugins/processor-base.d.ts +0 -17
- package/dist/compiler/plugins/processor-base.d.ts.map +0 -1
- package/dist/compiler/plugins/processor-base.js +0 -27
- package/dist/compiler/plugins/processor-base.js.map +0 -1
- package/dist/compiler/plugins/registry.d.ts +0 -62
- package/dist/compiler/plugins/registry.d.ts.map +0 -1
- package/dist/compiler/plugins/registry.js +0 -113
- package/dist/compiler/plugins/registry.js.map +0 -1
- package/dist/compiler/plugins/skill.plugin.d.ts +0 -106
- package/dist/compiler/plugins/skill.plugin.d.ts.map +0 -1
- package/dist/compiler/plugins/skill.plugin.js +0 -316
- package/dist/compiler/plugins/skill.plugin.js.map +0 -1
- package/dist/compiler/plugins/tool.plugin.d.ts +0 -69
- package/dist/compiler/plugins/tool.plugin.d.ts.map +0 -1
- package/dist/compiler/plugins/tool.plugin.js +0 -262
- package/dist/compiler/plugins/tool.plugin.js.map +0 -1
- package/dist/compiler/plugins/webhook.plugin.d.ts +0 -38
- package/dist/compiler/plugins/webhook.plugin.d.ts.map +0 -1
- package/dist/compiler/plugins/webhook.plugin.js +0 -117
- package/dist/compiler/plugins/webhook.plugin.js.map +0 -1
- package/dist/compiler/source-writer.d.ts +0 -129
- package/dist/compiler/source-writer.d.ts.map +0 -1
- package/dist/compiler/source-writer.js +0 -329
- package/dist/compiler/source-writer.js.map +0 -1
- package/dist/compiler/types.d.ts +0 -391
- package/dist/compiler/types.d.ts.map +0 -1
- package/dist/compiler/types.js +0 -30
- package/dist/compiler/types.js.map +0 -1
- package/dist/compiler/utils/ast-helpers.d.ts +0 -106
- package/dist/compiler/utils/ast-helpers.d.ts.map +0 -1
- package/dist/compiler/utils/ast-helpers.js +0 -356
- package/dist/compiler/utils/ast-helpers.js.map +0 -1
- package/dist/compiler/utils/common.d.ts +0 -22
- package/dist/compiler/utils/common.d.ts.map +0 -1
- package/dist/compiler/utils/common.js +0 -55
- package/dist/compiler/utils/common.js.map +0 -1
- package/dist/compiler/utils/file-discovery.d.ts +0 -35
- package/dist/compiler/utils/file-discovery.d.ts.map +0 -1
- package/dist/compiler/utils/file-discovery.js +0 -60
- package/dist/compiler/utils/file-discovery.js.map +0 -1
- package/dist/compiler/utils/path-resolver.d.ts +0 -83
- package/dist/compiler/utils/path-resolver.d.ts.map +0 -1
- package/dist/compiler/utils/path-resolver.js +0 -162
- package/dist/compiler/utils/path-resolver.js.map +0 -1
- package/dist/compiler/utils/reference-resolver.d.ts +0 -196
- package/dist/compiler/utils/reference-resolver.d.ts.map +0 -1
- package/dist/compiler/utils/reference-resolver.js +0 -1026
- package/dist/compiler/utils/reference-resolver.js.map +0 -1
- package/dist/compiler/utils/schema-converter.d.ts +0 -52
- package/dist/compiler/utils/schema-converter.d.ts.map +0 -1
- package/dist/compiler/utils/schema-converter.js +0 -170
- package/dist/compiler/utils/schema-converter.js.map +0 -1
- package/dist/compiler/utils/workspace.d.ts +0 -35
- package/dist/compiler/utils/workspace.d.ts.map +0 -1
- package/dist/compiler/utils/workspace.js +0 -121
- package/dist/compiler/utils/workspace.js.map +0 -1
- package/dist/config/compile.constants.d.ts +0 -75
- package/dist/config/compile.constants.d.ts.map +0 -1
- package/dist/config/compile.constants.js +0 -95
- package/dist/config/compile.constants.js.map +0 -1
- package/dist/config/constants.d.ts +0 -49
- package/dist/config/constants.d.ts.map +0 -1
- package/dist/config/constants.js +0 -69
- package/dist/config/constants.js.map +0 -1
- package/dist/errors/auth.error.d.ts +0 -34
- package/dist/errors/auth.error.d.ts.map +0 -1
- package/dist/errors/auth.error.js +0 -29
- package/dist/errors/auth.error.js.map +0 -1
- package/dist/errors/index.d.ts +0 -5
- package/dist/errors/index.d.ts.map +0 -1
- package/dist/errors/index.js +0 -5
- package/dist/errors/index.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/instances/basket.instance.d.ts +0 -82
- package/dist/instances/basket.instance.d.ts.map +0 -1
- package/dist/instances/basket.instance.js +0 -245
- package/dist/instances/basket.instance.js.map +0 -1
- package/dist/instances/data.entry.instance.d.ts +0 -50
- package/dist/instances/data.entry.instance.d.ts.map +0 -1
- package/dist/instances/data.entry.instance.js +0 -163
- package/dist/instances/data.entry.instance.js.map +0 -1
- package/dist/instances/job.instance.d.ts +0 -133
- package/dist/instances/job.instance.d.ts.map +0 -1
- package/dist/instances/job.instance.js +0 -180
- package/dist/instances/job.instance.js.map +0 -1
- package/dist/instances/order.instance.d.ts +0 -50
- package/dist/instances/order.instance.d.ts.map +0 -1
- package/dist/instances/order.instance.js +0 -199
- package/dist/instances/order.instance.js.map +0 -1
- package/dist/instances/product.instance.d.ts +0 -43
- package/dist/instances/product.instance.d.ts.map +0 -1
- package/dist/instances/product.instance.js +0 -145
- package/dist/instances/product.instance.js.map +0 -1
- package/dist/instances/product.pagination.instance.d.ts +0 -102
- package/dist/instances/product.pagination.instance.d.ts.map +0 -1
- package/dist/instances/product.pagination.instance.js +0 -156
- package/dist/instances/product.pagination.instance.js.map +0 -1
- package/dist/instances/product.search.instance.d.ts +0 -81
- package/dist/instances/product.search.instance.d.ts.map +0 -1
- package/dist/instances/product.search.instance.js +0 -121
- package/dist/instances/product.search.instance.js.map +0 -1
- package/dist/instances/user.instance.d.ts +0 -56
- package/dist/instances/user.instance.d.ts.map +0 -1
- package/dist/instances/user.instance.js +0 -188
- package/dist/instances/user.instance.js.map +0 -1
- package/dist/interfaces/admin.d.ts +0 -64
- package/dist/interfaces/admin.d.ts.map +0 -1
- package/dist/interfaces/admin.js +0 -6
- package/dist/interfaces/admin.js.map +0 -1
- package/dist/interfaces/agent.d.ts +0 -399
- package/dist/interfaces/agent.d.ts.map +0 -1
- package/dist/interfaces/agent.js +0 -6
- package/dist/interfaces/agent.js.map +0 -1
- package/dist/interfaces/backup.d.ts +0 -17
- package/dist/interfaces/backup.d.ts.map +0 -1
- package/dist/interfaces/backup.js +0 -7
- package/dist/interfaces/backup.js.map +0 -1
- package/dist/interfaces/baskets.d.ts +0 -80
- package/dist/interfaces/baskets.d.ts.map +0 -1
- package/dist/interfaces/baskets.js +0 -20
- package/dist/interfaces/baskets.js.map +0 -1
- package/dist/interfaces/cdn.d.ts +0 -25
- package/dist/interfaces/cdn.d.ts.map +0 -1
- package/dist/interfaces/cdn.js +0 -6
- package/dist/interfaces/cdn.js.map +0 -1
- package/dist/interfaces/chat.d.ts +0 -98
- package/dist/interfaces/chat.d.ts.map +0 -1
- package/dist/interfaces/chat.js +0 -6
- package/dist/interfaces/chat.js.map +0 -1
- package/dist/interfaces/common.d.ts +0 -64
- package/dist/interfaces/common.d.ts.map +0 -1
- package/dist/interfaces/common.js +0 -9
- package/dist/interfaces/common.js.map +0 -1
- package/dist/interfaces/custom.data.d.ts +0 -83
- package/dist/interfaces/custom.data.d.ts.map +0 -1
- package/dist/interfaces/custom.data.js +0 -6
- package/dist/interfaces/custom.data.js.map +0 -1
- package/dist/interfaces/deploy.d.ts +0 -15
- package/dist/interfaces/deploy.d.ts.map +0 -1
- package/dist/interfaces/deploy.js +0 -5
- package/dist/interfaces/deploy.js.map +0 -1
- package/dist/interfaces/dev.d.ts +0 -54
- package/dist/interfaces/dev.d.ts.map +0 -1
- package/dist/interfaces/dev.js +0 -6
- package/dist/interfaces/dev.js.map +0 -1
- package/dist/interfaces/device-triggers.d.ts +0 -80
- package/dist/interfaces/device-triggers.d.ts.map +0 -1
- package/dist/interfaces/device-triggers.js +0 -6
- package/dist/interfaces/device-triggers.js.map +0 -1
- package/dist/interfaces/devices.d.ts +0 -74
- package/dist/interfaces/devices.d.ts.map +0 -1
- package/dist/interfaces/devices.js +0 -5
- package/dist/interfaces/devices.js.map +0 -1
- package/dist/interfaces/index.d.ts +0 -15
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/interfaces/index.js +0 -8
- package/dist/interfaces/index.js.map +0 -1
- package/dist/interfaces/init.d.ts +0 -42
- package/dist/interfaces/init.d.ts.map +0 -1
- package/dist/interfaces/init.js +0 -5
- package/dist/interfaces/init.js.map +0 -1
- package/dist/interfaces/jobs.d.ts +0 -149
- package/dist/interfaces/jobs.d.ts.map +0 -1
- package/dist/interfaces/jobs.js +0 -6
- package/dist/interfaces/jobs.js.map +0 -1
- package/dist/interfaces/logs.d.ts +0 -44
- package/dist/interfaces/logs.d.ts.map +0 -1
- package/dist/interfaces/logs.js +0 -6
- package/dist/interfaces/logs.js.map +0 -1
- package/dist/interfaces/lua.d.ts +0 -37
- package/dist/interfaces/lua.d.ts.map +0 -1
- package/dist/interfaces/lua.js +0 -6
- package/dist/interfaces/lua.js.map +0 -1
- package/dist/interfaces/marketplace.d.ts +0 -171
- package/dist/interfaces/marketplace.d.ts.map +0 -1
- package/dist/interfaces/marketplace.js +0 -3
- package/dist/interfaces/marketplace.js.map +0 -1
- package/dist/interfaces/mcp.d.ts +0 -96
- package/dist/interfaces/mcp.d.ts.map +0 -1
- package/dist/interfaces/mcp.js +0 -9
- package/dist/interfaces/mcp.js.map +0 -1
- package/dist/interfaces/message.d.ts +0 -16
- package/dist/interfaces/message.d.ts.map +0 -1
- package/dist/interfaces/message.js +0 -2
- package/dist/interfaces/message.js.map +0 -1
- package/dist/interfaces/orders.d.ts +0 -68
- package/dist/interfaces/orders.d.ts.map +0 -1
- package/dist/interfaces/orders.js +0 -20
- package/dist/interfaces/orders.js.map +0 -1
- package/dist/interfaces/persona.d.ts +0 -44
- package/dist/interfaces/persona.d.ts.map +0 -1
- package/dist/interfaces/persona.js +0 -6
- package/dist/interfaces/persona.js.map +0 -1
- package/dist/interfaces/postprocessors.d.ts +0 -15
- package/dist/interfaces/postprocessors.d.ts.map +0 -1
- package/dist/interfaces/postprocessors.js +0 -5
- package/dist/interfaces/postprocessors.js.map +0 -1
- package/dist/interfaces/preprocessors.d.ts +0 -15
- package/dist/interfaces/preprocessors.d.ts.map +0 -1
- package/dist/interfaces/preprocessors.js +0 -5
- package/dist/interfaces/preprocessors.js.map +0 -1
- package/dist/interfaces/product.d.ts +0 -92
- package/dist/interfaces/product.d.ts.map +0 -1
- package/dist/interfaces/product.js +0 -6
- package/dist/interfaces/product.js.map +0 -1
- package/dist/interfaces/push.d.ts +0 -27
- package/dist/interfaces/push.d.ts.map +0 -1
- package/dist/interfaces/push.js +0 -5
- package/dist/interfaces/push.js.map +0 -1
- package/dist/interfaces/skills.d.ts +0 -137
- package/dist/interfaces/skills.d.ts.map +0 -1
- package/dist/interfaces/skills.js +0 -6
- package/dist/interfaces/skills.js.map +0 -1
- package/dist/interfaces/test.d.ts +0 -37
- package/dist/interfaces/test.d.ts.map +0 -1
- package/dist/interfaces/test.js +0 -5
- package/dist/interfaces/test.js.map +0 -1
- package/dist/interfaces/unifiedto.d.ts +0 -141
- package/dist/interfaces/unifiedto.d.ts.map +0 -1
- package/dist/interfaces/unifiedto.js +0 -6
- package/dist/interfaces/unifiedto.js.map +0 -1
- package/dist/interfaces/user.d.ts +0 -75
- package/dist/interfaces/user.d.ts.map +0 -1
- package/dist/interfaces/user.js +0 -2
- package/dist/interfaces/user.js.map +0 -1
- package/dist/interfaces/webhooks.d.ts +0 -97
- package/dist/interfaces/webhooks.d.ts.map +0 -1
- package/dist/interfaces/webhooks.js +0 -6
- package/dist/interfaces/webhooks.js.map +0 -1
- package/dist/interfaces/whatsapp-templates.d.ts +0 -105
- package/dist/interfaces/whatsapp-templates.d.ts.map +0 -1
- package/dist/interfaces/whatsapp-templates.js +0 -6
- package/dist/interfaces/whatsapp-templates.js.map +0 -1
- package/dist/primitives/agent.handler.d.ts +0 -71
- package/dist/primitives/agent.handler.d.ts.map +0 -1
- package/dist/primitives/agent.handler.js +0 -226
- package/dist/primitives/agent.handler.js.map +0 -1
- package/dist/primitives/base.handler.d.ts +0 -229
- package/dist/primitives/base.handler.d.ts.map +0 -1
- package/dist/primitives/base.handler.js +0 -620
- package/dist/primitives/base.handler.js.map +0 -1
- package/dist/primitives/device-trigger.handler.d.ts +0 -56
- package/dist/primitives/device-trigger.handler.d.ts.map +0 -1
- package/dist/primitives/device-trigger.handler.js +0 -99
- package/dist/primitives/device-trigger.handler.js.map +0 -1
- package/dist/primitives/device.handler.d.ts +0 -57
- package/dist/primitives/device.handler.d.ts.map +0 -1
- package/dist/primitives/device.handler.js +0 -103
- package/dist/primitives/device.handler.js.map +0 -1
- package/dist/primitives/index.d.ts +0 -51
- package/dist/primitives/index.d.ts.map +0 -1
- package/dist/primitives/index.js +0 -75
- package/dist/primitives/index.js.map +0 -1
- package/dist/primitives/job.handler.d.ts +0 -53
- package/dist/primitives/job.handler.d.ts.map +0 -1
- package/dist/primitives/job.handler.js +0 -110
- package/dist/primitives/job.handler.js.map +0 -1
- package/dist/primitives/mcp-server.handler.d.ts +0 -93
- package/dist/primitives/mcp-server.handler.d.ts.map +0 -1
- package/dist/primitives/mcp-server.handler.js +0 -216
- package/dist/primitives/mcp-server.handler.js.map +0 -1
- package/dist/primitives/postprocessor.handler.d.ts +0 -44
- package/dist/primitives/postprocessor.handler.d.ts.map +0 -1
- package/dist/primitives/postprocessor.handler.js +0 -71
- package/dist/primitives/postprocessor.handler.js.map +0 -1
- package/dist/primitives/preprocessor.handler.d.ts +0 -44
- package/dist/primitives/preprocessor.handler.d.ts.map +0 -1
- package/dist/primitives/preprocessor.handler.js +0 -72
- package/dist/primitives/preprocessor.handler.js.map +0 -1
- package/dist/primitives/skill.handler.d.ts +0 -47
- package/dist/primitives/skill.handler.d.ts.map +0 -1
- package/dist/primitives/skill.handler.js +0 -229
- package/dist/primitives/skill.handler.js.map +0 -1
- package/dist/primitives/types.d.ts +0 -91
- package/dist/primitives/types.d.ts.map +0 -1
- package/dist/primitives/types.js +0 -17
- package/dist/primitives/types.js.map +0 -1
- package/dist/primitives/webhook.handler.d.ts +0 -47
- package/dist/primitives/webhook.handler.d.ts.map +0 -1
- package/dist/primitives/webhook.handler.js +0 -87
- package/dist/primitives/webhook.handler.js.map +0 -1
- package/dist/services/analytics.d.ts +0 -57
- package/dist/services/analytics.d.ts.map +0 -1
- package/dist/services/analytics.js +0 -317
- package/dist/services/analytics.js.map +0 -1
- package/dist/services/auth.d.ts +0 -72
- package/dist/services/auth.d.ts.map +0 -1
- package/dist/services/auth.js +0 -173
- package/dist/services/auth.js.map +0 -1
- package/dist/services/sandbox.service.d.ts +0 -105
- package/dist/services/sandbox.service.d.ts.map +0 -1
- package/dist/services/sandbox.service.js +0 -531
- package/dist/services/sandbox.service.js.map +0 -1
- package/dist/types/api-contracts.d.ts +0 -287
- package/dist/types/api-contracts.d.ts.map +0 -1
- package/dist/types/api-contracts.js +0 -2
- package/dist/types/api-contracts.js.map +0 -1
- package/dist/types/index.d.ts +0 -28
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -30
- package/dist/types/index.js.map +0 -1
- package/dist/types/skill.d.ts +0 -1079
- package/dist/types/skill.d.ts.map +0 -1
- package/dist/types/skill.js +0 -688
- package/dist/types/skill.js.map +0 -1
- package/dist/types/tool-validation.d.ts +0 -35
- package/dist/types/tool-validation.d.ts.map +0 -1
- package/dist/types/tool-validation.js +0 -43
- package/dist/types/tool-validation.js.map +0 -1
- package/dist/types/yaml.types.d.ts +0 -91
- package/dist/types/yaml.types.d.ts.map +0 -1
- package/dist/types/yaml.types.js +0 -5
- package/dist/types/yaml.types.js.map +0 -1
- package/dist/utils/aliases.d.ts +0 -7
- package/dist/utils/aliases.d.ts.map +0 -1
- package/dist/utils/aliases.js +0 -492
- package/dist/utils/aliases.js.map +0 -1
- package/dist/utils/artifact-loader.d.ts +0 -152
- package/dist/utils/artifact-loader.d.ts.map +0 -1
- package/dist/utils/artifact-loader.js +0 -284
- package/dist/utils/artifact-loader.js.map +0 -1
- package/dist/utils/auth-flows.d.ts +0 -55
- package/dist/utils/auth-flows.d.ts.map +0 -1
- package/dist/utils/auth-flows.js +0 -246
- package/dist/utils/auth-flows.js.map +0 -1
- package/dist/utils/backup-helpers.d.ts +0 -238
- package/dist/utils/backup-helpers.d.ts.map +0 -1
- package/dist/utils/backup-helpers.js +0 -704
- package/dist/utils/backup-helpers.js.map +0 -1
- package/dist/utils/build-manifest-from-disk.d.ts +0 -8
- package/dist/utils/build-manifest-from-disk.d.ts.map +0 -1
- package/dist/utils/build-manifest-from-disk.js +0 -21
- package/dist/utils/build-manifest-from-disk.js.map +0 -1
- package/dist/utils/bundle-upload.d.ts +0 -42
- package/dist/utils/bundle-upload.d.ts.map +0 -1
- package/dist/utils/bundle-upload.js +0 -90
- package/dist/utils/bundle-upload.js.map +0 -1
- package/dist/utils/chat-attachments.d.ts +0 -15
- package/dist/utils/chat-attachments.d.ts.map +0 -1
- package/dist/utils/chat-attachments.js +0 -116
- package/dist/utils/chat-attachments.js.map +0 -1
- package/dist/utils/cli.d.ts +0 -62
- package/dist/utils/cli.d.ts.map +0 -1
- package/dist/utils/cli.js +0 -198
- package/dist/utils/cli.js.map +0 -1
- package/dist/utils/command-utils.d.ts +0 -46
- package/dist/utils/command-utils.d.ts.map +0 -1
- package/dist/utils/command-utils.js +0 -74
- package/dist/utils/command-utils.js.map +0 -1
- package/dist/utils/deploy-helpers.d.ts +0 -40
- package/dist/utils/deploy-helpers.d.ts.map +0 -1
- package/dist/utils/deploy-helpers.js +0 -76
- package/dist/utils/deploy-helpers.js.map +0 -1
- package/dist/utils/env-loader.utils.d.ts +0 -19
- package/dist/utils/env-loader.utils.d.ts.map +0 -1
- package/dist/utils/env-loader.utils.js +0 -90
- package/dist/utils/env-loader.utils.js.map +0 -1
- package/dist/utils/files.d.ts +0 -65
- package/dist/utils/files.d.ts.map +0 -1
- package/dist/utils/files.js +0 -193
- package/dist/utils/files.js.map +0 -1
- package/dist/utils/hints.d.ts +0 -81
- package/dist/utils/hints.d.ts.map +0 -1
- package/dist/utils/hints.js +0 -81
- package/dist/utils/hints.js.map +0 -1
- package/dist/utils/init-agent.d.ts +0 -86
- package/dist/utils/init-agent.d.ts.map +0 -1
- package/dist/utils/init-agent.js +0 -201
- package/dist/utils/init-agent.js.map +0 -1
- package/dist/utils/init-helpers.d.ts +0 -37
- package/dist/utils/init-helpers.d.ts.map +0 -1
- package/dist/utils/init-helpers.js +0 -78
- package/dist/utils/init-helpers.js.map +0 -1
- package/dist/utils/init-prompts.d.ts +0 -74
- package/dist/utils/init-prompts.d.ts.map +0 -1
- package/dist/utils/init-prompts.js +0 -256
- package/dist/utils/init-prompts.js.map +0 -1
- package/dist/utils/prompt-handler.d.ts +0 -17
- package/dist/utils/prompt-handler.d.ts.map +0 -1
- package/dist/utils/prompt-handler.js +0 -49
- package/dist/utils/prompt-handler.js.map +0 -1
- package/dist/utils/sandbox-storage.d.ts +0 -83
- package/dist/utils/sandbox-storage.d.ts.map +0 -1
- package/dist/utils/sandbox-storage.js +0 -211
- package/dist/utils/sandbox-storage.js.map +0 -1
- package/dist/utils/sandbox.d.ts +0 -76
- package/dist/utils/sandbox.d.ts.map +0 -1
- package/dist/utils/sandbox.js +0 -664
- package/dist/utils/sandbox.js.map +0 -1
- package/dist/utils/semver.d.ts +0 -40
- package/dist/utils/semver.d.ts.map +0 -1
- package/dist/utils/semver.js +0 -99
- package/dist/utils/semver.js.map +0 -1
- package/dist/utils/suggest.d.ts +0 -3
- package/dist/utils/suggest.d.ts.map +0 -1
- package/dist/utils/suggest.js +0 -32
- package/dist/utils/suggest.js.map +0 -1
- package/dist/utils/sync-display.d.ts +0 -28
- package/dist/utils/sync-display.d.ts.map +0 -1
- package/dist/utils/sync-display.js +0 -168
- package/dist/utils/sync-display.js.map +0 -1
- package/dist/utils/sync-fetch.d.ts +0 -108
- package/dist/utils/sync-fetch.d.ts.map +0 -1
- package/dist/utils/sync-fetch.js +0 -294
- package/dist/utils/sync-fetch.js.map +0 -1
- package/dist/utils/sync-helpers.d.ts +0 -7
- package/dist/utils/sync-helpers.d.ts.map +0 -1
- package/dist/utils/sync-helpers.js +0 -7
- package/dist/utils/sync-helpers.js.map +0 -1
- package/dist/utils/version-check.d.ts +0 -37
- package/dist/utils/version-check.d.ts.map +0 -1
- package/dist/utils/version-check.js +0 -117
- package/dist/utils/version-check.js.map +0 -1
- package/dist/utils/write-info.d.ts +0 -9
- package/dist/utils/write-info.d.ts.map +0 -1
- package/dist/utils/write-info.js +0 -11
- package/dist/utils/write-info.js.map +0 -1
- package/node_modules/@lua/shared-source-sync/dist/index.d.mts +0 -424
- package/node_modules/@lua/shared-source-sync/dist/index.d.ts +0 -424
- package/node_modules/@lua/shared-source-sync/dist/index.js +0 -536
- package/node_modules/@lua/shared-source-sync/dist/index.mjs +0 -491
- package/node_modules/@lua/shared-source-sync/package.json +0 -26
- package/node_modules/@lua/shared-source-sync/src/archive.ts +0 -98
- package/node_modules/@lua/shared-source-sync/src/filter.ts +0 -72
- package/node_modules/@lua/shared-source-sync/src/hash.ts +0 -40
- package/node_modules/@lua/shared-source-sync/src/http.ts +0 -132
- package/node_modules/@lua/shared-source-sync/src/index.ts +0 -56
- package/node_modules/@lua/shared-source-sync/src/pull.ts +0 -50
- package/node_modules/@lua/shared-source-sync/src/push.ts +0 -94
- package/node_modules/@lua/shared-source-sync/src/restore.ts +0 -83
- package/node_modules/@lua/shared-source-sync/src/skill-source.ts +0 -55
- package/node_modules/@lua/shared-source-sync/src/transfer.ts +0 -92
- package/node_modules/@lua/shared-source-sync/src/types.ts +0 -88
- package/node_modules/@lua/shared-source-sync/src/walk.ts +0 -91
- package/node_modules/@lua/shared-source-sync/tests/archive.test.ts +0 -108
- package/node_modules/@lua/shared-source-sync/tests/hash.test.ts +0 -40
- package/node_modules/@lua/shared-source-sync/tests/http.test.ts +0 -77
- package/node_modules/@lua/shared-source-sync/tests/push.test.ts +0 -162
- package/node_modules/@lua/shared-source-sync/tests/walk.test.ts +0 -84
- package/node_modules/@lua/shared-source-sync/tsconfig.json +0 -12
- package/node_modules/@lua/shared-source-sync/tsup.config.ts +0 -9
- package/node_modules/@lua/shared-source-sync/vitest.config.ts +0 -8
- package/node_modules/@lua/shared-types/dist/index.d.mts +0 -619
- package/node_modules/@lua/shared-types/dist/index.d.ts +0 -619
- package/node_modules/@lua/shared-types/dist/index.js +0 -435
- package/node_modules/@lua/shared-types/dist/index.mjs +0 -394
- package/node_modules/@lua/shared-types/package.json +0 -26
- package/node_modules/@lua/shared-types/src/agent-config.types.ts +0 -45
- package/node_modules/@lua/shared-types/src/agent-invocation.types.ts +0 -73
- package/node_modules/@lua/shared-types/src/ai-generate.types.ts +0 -74
- package/node_modules/@lua/shared-types/src/ai-generate.utils.ts +0 -16
- package/node_modules/@lua/shared-types/src/channel.type.ts +0 -23
- package/node_modules/@lua/shared-types/src/chat-history.types.ts +0 -112
- package/node_modules/@lua/shared-types/src/chat-stream.types.ts +0 -18
- package/node_modules/@lua/shared-types/src/client-tools.types.ts +0 -47
- package/node_modules/@lua/shared-types/src/device.types.ts +0 -190
- package/node_modules/@lua/shared-types/src/index.ts +0 -15
- package/node_modules/@lua/shared-types/src/model-registry.ts +0 -26
- package/node_modules/@lua/shared-types/src/persona-defaults.ts +0 -59
- package/node_modules/@lua/shared-types/src/persona-text.type.ts +0 -92
- package/node_modules/@lua/shared-types/src/sandbox-contract.ts +0 -63
- package/node_modules/@lua/shared-types/src/unstructured-types.ts +0 -58
- package/node_modules/@lua/shared-types/src/vm-execution-log.types.ts +0 -41
- package/node_modules/@lua/shared-types/tsconfig.json +0 -12
- package/node_modules/@lua/shared-types/tsup.config.ts +0 -9
- package/scripts/resolve-workspace-deps.cjs +0 -61
- /package/dist/{compiler/utils/zod-runtime.mjs → zod-runtime.mjs} +0 -0
|
@@ -1,943 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Command Definitions
|
|
3
|
-
* Centralized command structure for the CLI
|
|
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 '../commands/index.js';
|
|
6
|
-
import { sourceListCommand, sourceRollbackCommand } from '../commands/source.js';
|
|
7
|
-
import { writeError } from '../utils/cli.js';
|
|
8
|
-
/**
|
|
9
|
-
* Sets up authentication-related commands.
|
|
10
|
-
*
|
|
11
|
-
* Commands:
|
|
12
|
-
* - `lua auth configure` - Set up API key
|
|
13
|
-
* - `lua auth logout` - Delete stored API key
|
|
14
|
-
* - `lua auth key` - Display current API key
|
|
15
|
-
*
|
|
16
|
-
* @param program - Commander program instance
|
|
17
|
-
*/
|
|
18
|
-
export function setupAuthCommands(program) {
|
|
19
|
-
const authCommand = program
|
|
20
|
-
.command('auth')
|
|
21
|
-
.description('🔐 Authentication management')
|
|
22
|
-
.addHelpText('after', `
|
|
23
|
-
Examples:
|
|
24
|
-
$ lua auth configure Interactive setup (choose API key or email)
|
|
25
|
-
$ lua auth configure --api-key "lk_xxx..." Set API key directly (non-interactive)
|
|
26
|
-
$ lua auth configure --email user@example.com Request OTP via email
|
|
27
|
-
$ lua auth configure --email user@example.com --otp 123456 Complete OTP verification
|
|
28
|
-
$ lua auth key View your current API key (prompts for confirmation)
|
|
29
|
-
$ lua auth key --force View your current API key without confirmation
|
|
30
|
-
$ lua auth logout Remove stored credentials (prompts for confirmation)
|
|
31
|
-
$ lua auth logout --force Remove stored credentials without confirmation
|
|
32
|
-
`);
|
|
33
|
-
authCommand
|
|
34
|
-
.command('configure')
|
|
35
|
-
.description('Set up your API key')
|
|
36
|
-
.option('--api-key <key>', 'Set API key directly (non-interactive)')
|
|
37
|
-
.option('--email <email>', 'Email address for OTP authentication')
|
|
38
|
-
.option('--otp <code>', 'OTP code received via email (use with --email)')
|
|
39
|
-
.addHelpText('after', `
|
|
40
|
-
Non-Interactive Modes:
|
|
41
|
-
--api-key <key> Set API key directly (for CI/CD or when you have a key from dashboard)
|
|
42
|
-
--email <email> Request OTP to be sent to email (step 1 of OTP flow)
|
|
43
|
-
--email <email> --otp <code> Verify OTP and generate API key (step 2 of OTP flow)
|
|
44
|
-
|
|
45
|
-
Examples:
|
|
46
|
-
$ lua auth configure Interactive setup
|
|
47
|
-
$ lua auth configure --api-key "lk_abc123..." Direct API key setup
|
|
48
|
-
$ lua auth configure --email user@example.com Request OTP (check email)
|
|
49
|
-
$ lua auth configure --email user@example.com --otp 123456 Complete OTP flow
|
|
50
|
-
`)
|
|
51
|
-
.action(configureCommand);
|
|
52
|
-
authCommand
|
|
53
|
-
.command('logout')
|
|
54
|
-
.description('Delete your stored API key')
|
|
55
|
-
.option('--force', 'Skip confirmation prompt')
|
|
56
|
-
.action(destroyCommand);
|
|
57
|
-
authCommand
|
|
58
|
-
.command('key')
|
|
59
|
-
.description('Display your stored API key')
|
|
60
|
-
.option('--force', 'Skip confirmation prompt')
|
|
61
|
-
.action(apiKeyCommand);
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Sets up marketplace commands.
|
|
65
|
-
*
|
|
66
|
-
* @param program - Commander program instance
|
|
67
|
-
*/
|
|
68
|
-
export function setupMarketplaceCommands(program) {
|
|
69
|
-
program
|
|
70
|
-
.command('marketplace [role] [action]')
|
|
71
|
-
.description('🛍️ Browse, install, and manage marketplace skills')
|
|
72
|
-
.option('--skill-name <name>', 'Skill name (for creator list, installer update/uninstall)')
|
|
73
|
-
.option('--display-name <name>', 'Display name (for creator list/update)')
|
|
74
|
-
.option('--marketplace-id <id>', 'Marketplace skill ID')
|
|
75
|
-
.option('--version-id <id>', 'Version ID (for publish/install)')
|
|
76
|
-
.option('--changelog <text>', 'Changelog for version (for publish)')
|
|
77
|
-
.option('--env-vars-json <json>', 'JSON string with env var metadata (for creator publish)')
|
|
78
|
-
.option('--env-vars <pairs>', 'Comma-separated key=value pairs (for installer)')
|
|
79
|
-
.option('--query <text>', 'Search query (for search)')
|
|
80
|
-
.option('--page <n>', 'Page number (for search)')
|
|
81
|
-
.option('--limit <n>', 'Results per page (for search)')
|
|
82
|
-
.option('--json', 'Output as JSON')
|
|
83
|
-
.option('--force', 'Skip confirmation prompts')
|
|
84
|
-
.addHelpText('after', `
|
|
85
|
-
Arguments:
|
|
86
|
-
role Optional: 'create' or 'install' (prompts if not provided)
|
|
87
|
-
action Optional: specific action for non-interactive mode
|
|
88
|
-
|
|
89
|
-
Creator Actions:
|
|
90
|
-
list --skill-name <name> --display-name <name>
|
|
91
|
-
publish --marketplace-id <id> --version-id <id> [--changelog <text>] [--env-vars-json <json>]
|
|
92
|
-
update --marketplace-id <id> --display-name <name>
|
|
93
|
-
unlist --marketplace-id <id> --force
|
|
94
|
-
unpublish --marketplace-id <id> --version-id <id> --force
|
|
95
|
-
view [--json]
|
|
96
|
-
|
|
97
|
-
Installer Actions:
|
|
98
|
-
search [--query <text>] [--page <n>] [--limit <n>] [--json]
|
|
99
|
-
view --marketplace-id <id> [--json]
|
|
100
|
-
install --marketplace-id <id> --version-id <id> [--env-vars <k=v,...>] --force
|
|
101
|
-
update --skill-name <name> [--version-id <id>] [--env-vars <k=v,...>]
|
|
102
|
-
uninstall --skill-name <name> --force
|
|
103
|
-
installed [--json]
|
|
104
|
-
|
|
105
|
-
Examples:
|
|
106
|
-
$ lua marketplace Interactive selection
|
|
107
|
-
$ lua marketplace create Creator menu
|
|
108
|
-
$ lua marketplace install Installer menu
|
|
109
|
-
$ lua marketplace create view View my listed skills
|
|
110
|
-
$ lua marketplace create list --skill-name mySkill --display-name "My Skill"
|
|
111
|
-
$ lua marketplace create publish --marketplace-id xyz --version-id v1
|
|
112
|
-
$ lua marketplace create unlist --marketplace-id xyz --force
|
|
113
|
-
$ lua marketplace install search --query "CRM"
|
|
114
|
-
$ lua marketplace install view --marketplace-id xyz --json
|
|
115
|
-
$ lua marketplace install install --marketplace-id xyz --version-id v1 --force
|
|
116
|
-
$ lua marketplace install installed --json
|
|
117
|
-
`)
|
|
118
|
-
.action(marketplaceCommand);
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Sets up skill management commands.
|
|
122
|
-
*
|
|
123
|
-
* @param program - Commander program instance
|
|
124
|
-
*/
|
|
125
|
-
export function setupSkillCommands(program) {
|
|
126
|
-
// Project Setup
|
|
127
|
-
program
|
|
128
|
-
.command('init')
|
|
129
|
-
.description('🚀 Initialize a new Lua skill project')
|
|
130
|
-
.option('--with-examples', 'Include example skills, tools, jobs, and webhooks')
|
|
131
|
-
.option('--agent-id <id>', 'Use existing agent by ID (non-interactive)')
|
|
132
|
-
.option('--agent-name <name>', 'Name for new agent (requires --org-id or --org-name)')
|
|
133
|
-
.option('--org-id <id>', 'Use existing organization by ID')
|
|
134
|
-
.option('--org-name <name>', 'Create new organization with this name')
|
|
135
|
-
.option('--model <model>', "LLM model code to use (e.g. 'openai/gpt-4o')")
|
|
136
|
-
.option('--force', 'Skip confirmations / overwrite existing project')
|
|
137
|
-
.option('--restore-sources', 'Restore project source files from backup (with --agent-id)')
|
|
138
|
-
.option('--from-agent-id <id>', 'Duplicate an existing agent into a new one (with project backup restored)')
|
|
139
|
-
.option('--include-resources', 'Include resources + RAG when duplicating')
|
|
140
|
-
.option('--include-custom-data', 'Include custom data when duplicating')
|
|
141
|
-
.option('--include-inquiry-form', 'Include inquiry forms when duplicating')
|
|
142
|
-
.option('--include-devices', 'Include device + trigger definitions when duplicating')
|
|
143
|
-
.option('--include-ecommerce-catalog', 'Include ecommerce catalog when duplicating')
|
|
144
|
-
.option('--promo-code <code>', 'Apply a promo code for bonus credits')
|
|
145
|
-
.addHelpText('after', `
|
|
146
|
-
Non-Interactive Mode:
|
|
147
|
-
--agent-id <id> Use existing agent
|
|
148
|
-
--agent-name <name> --org-id <id> Create agent in existing org
|
|
149
|
-
--agent-name <name> --org-name <name> Create agent + new org
|
|
150
|
-
--from-agent-id <id> Duplicate agent + scaffold project
|
|
151
|
-
--from-agent-id <id> --org-id <id> Cross-org duplicate
|
|
152
|
-
--model <model> Set LLM model (e.g. openai/gpt-4o)
|
|
153
|
-
--force Override existing project
|
|
154
|
-
--restore-sources Auto-restore sources from backup
|
|
155
|
-
|
|
156
|
-
Examples:
|
|
157
|
-
$ lua init Interactive setup
|
|
158
|
-
$ lua init --with-examples Include example code
|
|
159
|
-
$ lua init --agent-id abc123 Use existing agent
|
|
160
|
-
$ lua init --agent-id abc123 --restore-sources Use agent + restore backup
|
|
161
|
-
$ lua init --agent-name "My Bot" --org-id org456 Create in existing org
|
|
162
|
-
$ lua init --agent-name "My Bot" --org-name "Acme" Create agent + org
|
|
163
|
-
$ lua init --agent-id abc123 --force Override existing project
|
|
164
|
-
$ lua init --agent-id abc123 --with-examples Use agent + include examples
|
|
165
|
-
$ lua init --agent-name "My Bot" --org-name "Acme" --model openai/gpt-4o Create with model
|
|
166
|
-
$ lua init --from-agent-id baseAgent_agent_xxx Duplicate agent + scaffold project
|
|
167
|
-
$ lua init --from-agent-id baseAgent_agent_xxx --org-id <id> Cross-org duplicate
|
|
168
|
-
`)
|
|
169
|
-
.action(initCommand);
|
|
170
|
-
// Development Commands
|
|
171
|
-
program
|
|
172
|
-
.command('compile')
|
|
173
|
-
.description('📦 Compile skill to deployable format')
|
|
174
|
-
.option('--verbose', 'Show detailed progress output')
|
|
175
|
-
.option('--debug', 'Enable debug mode with extra verbose logging and temp file preservation')
|
|
176
|
-
.option('--sync', 'Run drift detection check before compiling')
|
|
177
|
-
.action((opts) => compileCommand({ ...opts, topLevel: true }));
|
|
178
|
-
program
|
|
179
|
-
.command('sync')
|
|
180
|
-
.description('🔄 Sync local code with server state')
|
|
181
|
-
.option('--check', 'Check for drift only, exit code 1 if drift found')
|
|
182
|
-
.option('--pull', 'Pull server state to local without prompting')
|
|
183
|
-
.option('--accept', 'Alias for --pull (kept for backwards compatibility)')
|
|
184
|
-
.option('--push', 'Push local changes to server without prompting')
|
|
185
|
-
.option('--force', 'Skip the local-changes conflict check (use with --pull / --accept)')
|
|
186
|
-
.addHelpText('after', `
|
|
187
|
-
Detects drift between server-deployed state and local code.
|
|
188
|
-
Resolves drift by syncing in either direction.
|
|
189
|
-
|
|
190
|
-
Syncs name, persona, model, and all primitives (skills, webhooks, jobs,
|
|
191
|
-
preprocessors, postprocessors, MCP servers). Source-bearing primitives are
|
|
192
|
-
pulled from the source snapshot in S3; primitives without snapshot coverage
|
|
193
|
-
are reported honestly so you know what's missing.
|
|
194
|
-
|
|
195
|
-
Before --pull overwrites local files, the conflict guard refuses if any
|
|
196
|
-
file has been modified since your last \`lua push backup\`. Pass --force
|
|
197
|
-
to bypass (destructive — cannot be undone).
|
|
198
|
-
|
|
199
|
-
Options:
|
|
200
|
-
--check Check for drift only (CI validation, exits with code 1 if drift found)
|
|
201
|
-
--pull Pull: Update local code from server state (source is restored from snapshot)
|
|
202
|
-
--accept Alias for --pull
|
|
203
|
-
--push Push: Push local changes to server (see "lua push all --force" for full push)
|
|
204
|
-
--force Skip the local-changes conflict check (use with --pull / --accept)
|
|
205
|
-
|
|
206
|
-
Examples:
|
|
207
|
-
$ lua sync Interactive drift resolution (choose push or pull per item)
|
|
208
|
-
$ lua sync --check CI: Fail if drift detected
|
|
209
|
-
$ lua sync --pull CI: Pull server state to local (guarded)
|
|
210
|
-
$ lua sync --pull --force Pull unconditionally (overwrites local changes)
|
|
211
|
-
$ lua sync --push CI: Push local changes to server
|
|
212
|
-
`)
|
|
213
|
-
.action((opts) => syncCommand({ ...opts, accept: opts.pull || opts.accept }));
|
|
214
|
-
program
|
|
215
|
-
.command('test [type]')
|
|
216
|
-
.description('🧪 Test skills, webhooks, or jobs interactively')
|
|
217
|
-
.option('--name <name>', 'Entity name to test')
|
|
218
|
-
.option('--input <json>', 'JSON input string for testing')
|
|
219
|
-
.option('--json', 'Output result as raw JSON (useful for scripting and piping)')
|
|
220
|
-
.addHelpText('after', `
|
|
221
|
-
Arguments:
|
|
222
|
-
type Optional: 'skill', 'webhook', or 'job' (prompts if not provided)
|
|
223
|
-
|
|
224
|
-
Options:
|
|
225
|
-
--name <name> Entity name to test (non-interactive selection)
|
|
226
|
-
--input <json> JSON input string for testing (non-interactive input)
|
|
227
|
-
--json Output result as raw JSON instead of formatted inspect output
|
|
228
|
-
|
|
229
|
-
Examples:
|
|
230
|
-
$ lua test Interactive selection
|
|
231
|
-
$ lua test skill Test a skill/tool directly
|
|
232
|
-
$ lua test webhook Test a webhook with query/headers/body
|
|
233
|
-
$ lua test job Test a job by executing it
|
|
234
|
-
$ lua test skill --name mySkill --input '{}' Test skill with JSON input
|
|
235
|
-
$ lua test webhook --name myWebhook --input '{...}' Test webhook with data
|
|
236
|
-
$ lua test job --name myJob Test job execution
|
|
237
|
-
$ lua test skill --name mySkill --json Output raw JSON for scripting
|
|
238
|
-
`)
|
|
239
|
-
.action(testCommand);
|
|
240
|
-
// Deployment Commands
|
|
241
|
-
program
|
|
242
|
-
.command('push [type]')
|
|
243
|
-
.description('☁️ Push skill, agent, webhook, job, MCP server, or backup to server')
|
|
244
|
-
.option('--force', 'Skip all confirmation prompts (auto-confirm)')
|
|
245
|
-
.option('--auto-deploy', 'Automatically deploy to production after push')
|
|
246
|
-
.option('--name <name>', 'Entity name to push')
|
|
247
|
-
.option('--set-version <version>', 'Version to set (e.g., 1.0.5)')
|
|
248
|
-
// `--fresh` is only meaningful for `lua push backup`. The auto-backup
|
|
249
|
-
// hook always uses fresh=true internally; this flag exposes the same
|
|
250
|
-
// behavior to users who hit the manual `lua push backup` path and
|
|
251
|
-
// want to capture out-of-band file changes (e.g. Builder writes) that
|
|
252
|
-
// a stale dist-v2/manifest.json would silently miss.
|
|
253
|
-
.option('--fresh', 'Build backup manifest from disk instead of compiled manifest.json (push backup only)')
|
|
254
|
-
// Default ON. The post-push source attach is non-fatal — a failure logs
|
|
255
|
-
// a warning but doesn't fail the push.
|
|
256
|
-
.option('--no-include-source', 'Skip the per-skill source attach after push (default: attach, so admin Builder UI sees CLI edits)')
|
|
257
|
-
.addHelpText('after', `
|
|
258
|
-
Arguments:
|
|
259
|
-
type Optional: 'skill', 'agent', 'persona', 'webhook', 'job', 'preprocessor', 'postprocessor', 'mcp', 'backup', or 'all' (prompts if not provided)
|
|
260
|
-
|
|
261
|
-
Options:
|
|
262
|
-
--force Skip all confirmation prompts
|
|
263
|
-
--auto-deploy Automatically deploy to production after push
|
|
264
|
-
--name <name> Entity name to push (non-interactive selection)
|
|
265
|
-
--set-version <ver> Version to set (e.g., 1.0.5)
|
|
266
|
-
--fresh (push backup) Walk disk for the manifest instead of trusting dist-v2/manifest.json
|
|
267
|
-
--no-include-source Skip the per-skill source attach after push (default: attach, so admin Builder UI reflects CLI edits)
|
|
268
|
-
|
|
269
|
-
Examples:
|
|
270
|
-
$ lua push Interactive selection
|
|
271
|
-
$ lua push skill Push a skill directly
|
|
272
|
-
$ lua push agent Push agent config (persona, model)
|
|
273
|
-
$ lua push agent --force Push agent config without prompts
|
|
274
|
-
$ lua push webhook Push a webhook directly
|
|
275
|
-
$ lua push job Push a job directly
|
|
276
|
-
$ lua push mcp Push an MCP server directly
|
|
277
|
-
$ lua push backup Push project source backup
|
|
278
|
-
$ lua push backup --fresh Push backup, building manifest from disk
|
|
279
|
-
$ lua push all --force Push all components without prompts
|
|
280
|
-
$ lua push all --force --auto-deploy Push and deploy all to production
|
|
281
|
-
$ lua push skill --name mySkill --set-version 1.0.5 Push skill with specific version
|
|
282
|
-
$ lua push webhook --name myWebhook --set-version 2.0.0 Push webhook with version
|
|
283
|
-
`)
|
|
284
|
-
.action(pushCommand);
|
|
285
|
-
program
|
|
286
|
-
.command('deploy [type]')
|
|
287
|
-
.description('🚀 Deploy a version to production')
|
|
288
|
-
.option('--name <name>', 'Entity name to deploy (non-interactive selection)')
|
|
289
|
-
.option('--set-version <ver>', "Version to deploy, or 'latest' for newest version")
|
|
290
|
-
.option('--force', 'Skip confirmation prompt')
|
|
291
|
-
// Deprecated aliases kept for backward compatibility
|
|
292
|
-
.option('--skill-name <name>', 'Deprecated: use --name')
|
|
293
|
-
.option('--skill-version <ver>', 'Deprecated: use --set-version')
|
|
294
|
-
.addHelpText('after', `
|
|
295
|
-
Arguments:
|
|
296
|
-
type Optional: skill | webhook | job | preprocessor | postprocessor | persona | all (prompts if not provided)
|
|
297
|
-
|
|
298
|
-
Options:
|
|
299
|
-
--name <name> Entity name to deploy (non-interactive selection)
|
|
300
|
-
--set-version <ver> Version to deploy, or 'latest' for newest version
|
|
301
|
-
--force Skip confirmation prompt
|
|
302
|
-
|
|
303
|
-
Examples:
|
|
304
|
-
$ lua deploy Interactive selection
|
|
305
|
-
$ lua deploy skill Deploy a skill version
|
|
306
|
-
$ lua deploy webhook Deploy a webhook version
|
|
307
|
-
$ lua deploy job Deploy a job version
|
|
308
|
-
$ lua deploy persona Deploy a persona version
|
|
309
|
-
$ lua deploy all --force Deploy latest version of all
|
|
310
|
-
$ lua deploy skill --name mySkill --set-version 1.0.5 --force Deploy specific version
|
|
311
|
-
$ lua deploy webhook --name myWebhook --set-version latest --force Deploy latest webhook version
|
|
312
|
-
`)
|
|
313
|
-
.action(deployCommand);
|
|
314
|
-
// Chat Commands
|
|
315
|
-
const chatCmd = program
|
|
316
|
-
.command('chat')
|
|
317
|
-
.description('💬 Interactive chat with your agent')
|
|
318
|
-
.option('-e, --env <environment>', 'Environment: sandbox or production')
|
|
319
|
-
.option('-m, --message <text>', 'Message to send (non-interactive mode)')
|
|
320
|
-
.option('-b, --batch <messages...>', 'Send multiple messages concurrently to test batching')
|
|
321
|
-
.option('-d, --delay <ms>', 'Delay between batch messages in ms (default: 100)')
|
|
322
|
-
.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.')
|
|
323
|
-
.option('--clear', 'Automatically clear chat history when session ends (clears thread if -t is used, otherwise clears all history)')
|
|
324
|
-
.option('--clear-thread', 'Alias for --clear')
|
|
325
|
-
.addHelpText('after', `
|
|
326
|
-
Examples:
|
|
327
|
-
$ lua chat Start interactive chat session
|
|
328
|
-
$ lua chat clear Clear all conversation history
|
|
329
|
-
$ lua chat --clear Start chat and clear history on exit
|
|
330
|
-
$ lua chat -e sandbox -m "hello" Send message to sandbox
|
|
331
|
-
$ lua chat -e production -m "test" Send message to production
|
|
332
|
-
$ lua chat -m "message" Send message to sandbox (default)
|
|
333
|
-
$ lua chat --thread my-test Chat scoped to thread "my-test"
|
|
334
|
-
$ lua chat -t Chat scoped to a new auto-generated thread
|
|
335
|
-
$ lua chat -t my-test --clear Chat in "my-test" thread, clear on exit
|
|
336
|
-
$ lua chat -m "test" -t my-test --clear Non-interactive: isolated thread, clear after
|
|
337
|
-
$ lua chat -b "Hello" "What is the weather?" "Tell me a joke" -d 2000 -e sandbox Batch test
|
|
338
|
-
`)
|
|
339
|
-
.action(chatCommand);
|
|
340
|
-
chatCmd
|
|
341
|
-
.command('clear')
|
|
342
|
-
.description('Clear conversation history')
|
|
343
|
-
.option('--user <identifier>', 'User ID, email, or mobile number of the user whose history to clear')
|
|
344
|
-
.option('-t, --thread <id>', "Clear a specific thread's history instead of all history")
|
|
345
|
-
.option('--force', 'Skip confirmation prompt')
|
|
346
|
-
.addHelpText('after', `
|
|
347
|
-
Examples:
|
|
348
|
-
$ lua chat clear Clear history
|
|
349
|
-
$ lua chat clear --force Clear history without confirmation
|
|
350
|
-
$ lua chat clear --user <userId> Clear user's history by user ID
|
|
351
|
-
$ lua chat clear --user <email> Clear user's history by email
|
|
352
|
-
$ lua chat clear --user <mobile> Clear user's history by mobile number
|
|
353
|
-
$ lua chat clear --user <userId> --force Clear user's history without confirmation
|
|
354
|
-
$ lua chat clear --thread <threadId> Clear a specific thread's history
|
|
355
|
-
$ lua chat clear --thread <threadId> --force Clear a specific thread's history without confirmation
|
|
356
|
-
|
|
357
|
-
Notes:
|
|
358
|
-
- User identifier can be UUID, email address, or mobile number
|
|
359
|
-
- Mobile numbers should be in international format without + (e.g., 919876543210)
|
|
360
|
-
`)
|
|
361
|
-
.action(chatClearCommand);
|
|
362
|
-
// Configuration Commands
|
|
363
|
-
program
|
|
364
|
-
.command('env [environment]')
|
|
365
|
-
.description('⚙️ Manage environment variables')
|
|
366
|
-
.option('-k, --key <name>', 'Environment variable key')
|
|
367
|
-
.option('-v, --value <value>', 'Environment variable value')
|
|
368
|
-
.option('-d, --delete', 'Delete the specified key')
|
|
369
|
-
.option('--list', 'List all environment variables')
|
|
370
|
-
.addHelpText('after', `
|
|
371
|
-
Arguments:
|
|
372
|
-
environment Optional: 'sandbox', 'staging', or 'production' (prompts if not provided)
|
|
373
|
-
|
|
374
|
-
Examples:
|
|
375
|
-
$ lua env Interactive selection
|
|
376
|
-
$ lua env sandbox Manage sandbox env vars directly
|
|
377
|
-
$ lua env staging Manage staging env vars (alias for sandbox)
|
|
378
|
-
$ lua env production Manage production env vars directly
|
|
379
|
-
$ lua env sandbox --list List sandbox variables
|
|
380
|
-
$ lua env production --list List production variables
|
|
381
|
-
$ lua env sandbox -k TEST_KEY -v "value" Set sandbox variable
|
|
382
|
-
$ lua env production -k API_KEY -v "secret" Set production variable
|
|
383
|
-
$ lua env production -k OLD_KEY --delete Delete production variable
|
|
384
|
-
`)
|
|
385
|
-
.action(envCommand);
|
|
386
|
-
program
|
|
387
|
-
.command('persona [env] [action]')
|
|
388
|
-
.description('🤖 Manage agent persona')
|
|
389
|
-
.option('--persona-version <version>', "Version number or 'latest' for deploy")
|
|
390
|
-
.option('--force', 'Skip confirmation prompt')
|
|
391
|
-
.addHelpText('after', `
|
|
392
|
-
Arguments:
|
|
393
|
-
env Optional: 'sandbox', 'staging', or 'production' (prompts if not provided)
|
|
394
|
-
action Optional (production only): 'view', 'versions', 'deploy'
|
|
395
|
-
|
|
396
|
-
Options:
|
|
397
|
-
--persona-version <ver> Version number or 'latest' for deploy action
|
|
398
|
-
--force Skip confirmation prompt
|
|
399
|
-
|
|
400
|
-
Examples:
|
|
401
|
-
$ lua persona Interactive selection
|
|
402
|
-
$ lua persona sandbox Manage sandbox persona interactively
|
|
403
|
-
$ lua persona production Manage production persona interactively
|
|
404
|
-
$ lua persona production view View current deployed persona
|
|
405
|
-
$ lua persona production versions List all persona versions
|
|
406
|
-
$ lua persona production deploy --persona-version 5 Deploy version 5
|
|
407
|
-
$ lua persona production deploy --persona-version latest --force Deploy latest without prompt
|
|
408
|
-
`)
|
|
409
|
-
.action(personaCommand);
|
|
410
|
-
program
|
|
411
|
-
.command('production [action]')
|
|
412
|
-
.description('🚀 View and manage production environment')
|
|
413
|
-
.addHelpText('after', `
|
|
414
|
-
Arguments:
|
|
415
|
-
action Optional: 'overview', 'persona', 'skills', 'env' (prompts if not provided)
|
|
416
|
-
|
|
417
|
-
Examples:
|
|
418
|
-
$ lua production Interactive management
|
|
419
|
-
$ lua production overview Show production summary
|
|
420
|
-
$ lua production persona View current persona
|
|
421
|
-
$ lua production skills View deployed skills
|
|
422
|
-
$ lua production env List environment variables
|
|
423
|
-
`)
|
|
424
|
-
.action(productionCommand);
|
|
425
|
-
program
|
|
426
|
-
.command('resources [action]')
|
|
427
|
-
.description('📚 Manage agent resources and knowledge base')
|
|
428
|
-
.option('--resource-name <name>', 'Resource name')
|
|
429
|
-
.addHelpText('after', `
|
|
430
|
-
Arguments:
|
|
431
|
-
action Optional: 'list', 'view', 'delete' (prompts if not provided)
|
|
432
|
-
|
|
433
|
-
Options:
|
|
434
|
-
--resource-name <name> Resource name (required for view/delete actions)
|
|
435
|
-
|
|
436
|
-
Note: 'create' and 'update' require interactive mode.
|
|
437
|
-
|
|
438
|
-
Examples:
|
|
439
|
-
$ lua resources Interactive management
|
|
440
|
-
$ lua resources list List all resources
|
|
441
|
-
$ lua resources view --resource-name "FAQ Doc" View resource content
|
|
442
|
-
$ lua resources delete --resource-name "Old Doc" Delete a resource
|
|
443
|
-
`)
|
|
444
|
-
.action(resourcesCommand);
|
|
445
|
-
program.command('admin').description('🔧 Open Lua Admin Dashboard in browser').action(adminCommand);
|
|
446
|
-
program.command('evals').description('📊 Open Lua Evaluations Dashboard in browser').action(evalsCommand);
|
|
447
|
-
program.command('docs').description('📖 Open Lua documentation in browser').action(docsCommand);
|
|
448
|
-
program
|
|
449
|
-
.command('channels [action]')
|
|
450
|
-
.description('📡 Manage agent communication channels')
|
|
451
|
-
.addHelpText('after', `
|
|
452
|
-
Arguments:
|
|
453
|
-
action Optional: 'list' (prompts if not provided)
|
|
454
|
-
|
|
455
|
-
Note: Channel creation requires interactive mode due to complex multi-step input.
|
|
456
|
-
|
|
457
|
-
Examples:
|
|
458
|
-
$ lua channels Interactive management
|
|
459
|
-
$ lua channels list List all channels
|
|
460
|
-
`)
|
|
461
|
-
.action(channelsCommand);
|
|
462
|
-
program
|
|
463
|
-
.command('logs')
|
|
464
|
-
.description('📊 View agent and skill logs')
|
|
465
|
-
.option('--type <type>', 'Filter by type: all, skill, job, webhook, preprocessor, postprocessor, user_message, agent_response, mcp, mastra')
|
|
466
|
-
.option('--name <name>', 'Entity name to filter (requires --type)')
|
|
467
|
-
.option('--user-id <userId>', 'Filter logs by user ID')
|
|
468
|
-
.option('--agent-id <agentId>', 'View logs for a specific agent ID (admin access required)')
|
|
469
|
-
.option('--limit <n>', 'Number of logs to show (default: 20)')
|
|
470
|
-
.option('--page <n>', 'Page number for pagination')
|
|
471
|
-
.option('--json', 'Output as JSON (for scripting)')
|
|
472
|
-
.addHelpText('after', `
|
|
473
|
-
Options:
|
|
474
|
-
--type <type> Filter by type: all, skill, job, webhook, preprocessor, postprocessor, user_message, agent_response, mcp, mastra
|
|
475
|
-
--name <name> Entity name to filter (requires --type, not for message types)
|
|
476
|
-
--user-id <userId> Filter logs by user ID
|
|
477
|
-
--agent-id <agentId> View logs for a specific agent ID (admin access required, overrides the agent in lua.config.yaml)
|
|
478
|
-
--limit <n> Number of logs to show (default: 20)
|
|
479
|
-
--page <n> Page number for pagination
|
|
480
|
-
--json Output as JSON for scripting
|
|
481
|
-
|
|
482
|
-
Examples:
|
|
483
|
-
$ lua logs Interactive selection
|
|
484
|
-
$ lua logs --type all --limit 50 Last 50 logs
|
|
485
|
-
$ lua logs --type skill --name mySkill --limit 10 Skill-specific logs
|
|
486
|
-
$ lua logs --type job --name healthCheck --json JSON output for CI
|
|
487
|
-
$ lua logs --type mcp View MCP tool execution logs
|
|
488
|
-
$ lua logs --type mastra View Mastra AI runtime logs
|
|
489
|
-
$ lua logs --user-id user-123 View all logs for a user
|
|
490
|
-
$ lua logs --user-id user-123 --type skill View skill logs for a user
|
|
491
|
-
$ lua logs --user-id user-123 --json > user-logs.json Export user logs
|
|
492
|
-
$ lua logs --agent-id agent-abc123 Logs for a different agent you admin
|
|
493
|
-
$ lua logs --agent-id agent-abc123 --type skill Skill logs for another agent
|
|
494
|
-
`)
|
|
495
|
-
.action(logsCommand);
|
|
496
|
-
program
|
|
497
|
-
.command('skills [actionOrEnv] [action]')
|
|
498
|
-
.description('⚙️ Manage and view skills')
|
|
499
|
-
.option('--skill-name <name>', 'Skill name')
|
|
500
|
-
.option('--skill-version <version>', "Version for deploy action (or 'latest')")
|
|
501
|
-
.addHelpText('after', `
|
|
502
|
-
Arguments:
|
|
503
|
-
actionOrEnv Optional: environment ('sandbox', 'production') or action ('view', 'versions', 'deploy', 'delete')
|
|
504
|
-
|
|
505
|
-
Options:
|
|
506
|
-
--skill-name <name> Skill name (for versions/deploy/delete actions)
|
|
507
|
-
--skill-version <ver> Version for deploy action, or 'latest'
|
|
508
|
-
|
|
509
|
-
Examples:
|
|
510
|
-
$ lua skills Interactive selection
|
|
511
|
-
$ lua skills sandbox View sandbox skills
|
|
512
|
-
$ lua skills production Manage production skills
|
|
513
|
-
$ lua skills view List all production skills
|
|
514
|
-
$ lua skills versions --skill-name mySkill View skill versions
|
|
515
|
-
$ lua skills deploy --skill-name mySkill --skill-version 1.0.3 Deploy specific version
|
|
516
|
-
$ lua skills deploy --skill-name mySkill --skill-version latest Deploy latest version
|
|
517
|
-
$ lua skills delete --skill-name mySkill Delete a skill from server
|
|
518
|
-
`)
|
|
519
|
-
.action(skillsCommand);
|
|
520
|
-
program
|
|
521
|
-
.command('webhooks [action]')
|
|
522
|
-
.description('🪝 Manage and view webhooks')
|
|
523
|
-
.option('--webhook-name <name>', 'Webhook name')
|
|
524
|
-
.option('--webhook-version <version>', "Version for deploy action (or 'latest')")
|
|
525
|
-
.option('--event <eventType>', 'Event type for subscribe/unsubscribe (e.g. message.delivered)')
|
|
526
|
-
.addHelpText('after', `
|
|
527
|
-
Arguments:
|
|
528
|
-
action Optional: 'view', 'versions', 'deploy', 'activate', 'deactivate', 'delete',
|
|
529
|
-
'list-events', 'subscribe', 'unsubscribe' (prompts if not provided)
|
|
530
|
-
|
|
531
|
-
Options:
|
|
532
|
-
--webhook-name <name> Webhook name (required for most actions)
|
|
533
|
-
--webhook-version <ver> Version for deploy action, or 'latest'
|
|
534
|
-
--event <eventType> Event type for subscribe/unsubscribe (e.g. message.delivered)
|
|
535
|
-
|
|
536
|
-
Examples:
|
|
537
|
-
$ lua webhooks Interactive management
|
|
538
|
-
$ lua webhooks view List all webhooks
|
|
539
|
-
$ lua webhooks activate --webhook-name myWebhook Activate a webhook
|
|
540
|
-
$ lua webhooks deactivate --webhook-name myWebhook Deactivate a webhook
|
|
541
|
-
$ lua webhooks delete --webhook-name myWebhook Delete a webhook
|
|
542
|
-
$ lua webhooks versions --webhook-name myWebhook View webhook versions
|
|
543
|
-
$ lua webhooks deploy --webhook-name myWebhook --webhook-version 1.0.3 Deploy specific version
|
|
544
|
-
$ lua webhooks deploy --webhook-name myWebhook --webhook-version latest Deploy latest version
|
|
545
|
-
$ lua webhooks list-events List available event types
|
|
546
|
-
$ lua webhooks subscribe --webhook-name myWebhook --event message.delivered Subscribe to event
|
|
547
|
-
$ lua webhooks unsubscribe --webhook-name myWebhook --event message.delivered Unsubscribe from event
|
|
548
|
-
`)
|
|
549
|
-
.action(webhooksCommand);
|
|
550
|
-
program
|
|
551
|
-
.command('devices [action]')
|
|
552
|
-
.description('📡 Manage connected devices')
|
|
553
|
-
.option('--device-name <name>', 'Device name')
|
|
554
|
-
.option('--group <group>', 'Filter by device group')
|
|
555
|
-
.option('--payload <json>', 'JSON payload for test/test-trigger', '{}')
|
|
556
|
-
.option('--timeout <ms>', 'Timeout in milliseconds', '30000')
|
|
557
|
-
.option('--force', 'Skip confirmation prompts')
|
|
558
|
-
.addHelpText('after', `
|
|
559
|
-
Arguments:
|
|
560
|
-
action Optional: list, status, enable, disable, remove, test, test-trigger
|
|
561
|
-
|
|
562
|
-
Options:
|
|
563
|
-
--device-name <name> Device name (required for most actions, prompted if not provided)
|
|
564
|
-
--group <group> Filter device list by group
|
|
565
|
-
--payload <json> JSON payload for test command or test-trigger
|
|
566
|
-
--timeout <ms> Command timeout in milliseconds (default: 30000)
|
|
567
|
-
--force Skip confirmation prompts
|
|
568
|
-
|
|
569
|
-
Examples:
|
|
570
|
-
$ lua devices Interactive management
|
|
571
|
-
$ lua devices list List all devices
|
|
572
|
-
$ lua devices list --group printers List devices in group
|
|
573
|
-
$ lua devices status --device-name label-printer Check device status
|
|
574
|
-
$ lua devices enable --device-name label-printer Enable a device
|
|
575
|
-
$ lua devices disable --device-name label-printer Disable a device
|
|
576
|
-
$ lua devices remove --device-name label-printer Remove a device
|
|
577
|
-
$ lua devices remove --device-name label-printer --force Remove without confirmation
|
|
578
|
-
$ lua devices test --device-name label-printer Test a command interactively
|
|
579
|
-
$ lua devices test-trigger --device-name label-printer Test a trigger
|
|
580
|
-
`)
|
|
581
|
-
.action(devicesCommand);
|
|
582
|
-
program
|
|
583
|
-
.command('jobs [action]')
|
|
584
|
-
.description('⏰ Manage and view scheduled jobs')
|
|
585
|
-
.option('-i, --job-name <name>', 'Job name')
|
|
586
|
-
.option('-v, --job-version <version>', "Version for deploy action (or 'latest')")
|
|
587
|
-
.addHelpText('after', `
|
|
588
|
-
Arguments:
|
|
589
|
-
action Optional: view, versions, deploy, activate, deactivate, trigger, history, delete
|
|
590
|
-
|
|
591
|
-
Options:
|
|
592
|
-
-i, --job-name <name> Job name (required for most actions)
|
|
593
|
-
-v, --job-version <ver> Version for deploy action, or 'latest'
|
|
594
|
-
|
|
595
|
-
Examples:
|
|
596
|
-
$ lua jobs Interactive management
|
|
597
|
-
$ lua jobs view List all jobs
|
|
598
|
-
$ lua jobs trigger -i healthCheck Trigger a job
|
|
599
|
-
$ lua jobs activate -i myJob Activate a job
|
|
600
|
-
$ lua jobs deactivate -i myJob Deactivate a job
|
|
601
|
-
$ lua jobs delete -i myJob Delete a job
|
|
602
|
-
$ lua jobs deploy -i myJob -v 1.0.3 Deploy specific version
|
|
603
|
-
$ lua jobs deploy -i myJob -v latest Deploy latest version
|
|
604
|
-
$ lua jobs versions -i myJob View job versions
|
|
605
|
-
$ lua jobs history -i myJob View execution history
|
|
606
|
-
`)
|
|
607
|
-
.action(jobsCommand);
|
|
608
|
-
program
|
|
609
|
-
.command('features [action]')
|
|
610
|
-
.description('🎯 Manage agent features (RAG, webSearch, inquiry)')
|
|
611
|
-
.option('--feature-name <name>', 'Feature name')
|
|
612
|
-
.addHelpText('after', `
|
|
613
|
-
Arguments:
|
|
614
|
-
action Optional: 'list', 'enable', 'disable', 'view' (prompts if not provided)
|
|
615
|
-
|
|
616
|
-
Options:
|
|
617
|
-
--feature-name <name> Feature name (required for enable/disable/view actions)
|
|
618
|
-
|
|
619
|
-
Examples:
|
|
620
|
-
$ lua features Interactive management
|
|
621
|
-
$ lua features list List all features
|
|
622
|
-
$ lua features enable --feature-name rag Enable a feature
|
|
623
|
-
$ lua features disable --feature-name rag Disable a feature
|
|
624
|
-
$ lua features view --feature-name webSearch View feature details
|
|
625
|
-
`)
|
|
626
|
-
.action(featuresCommand);
|
|
627
|
-
program
|
|
628
|
-
.command('preprocessors [action]')
|
|
629
|
-
.description('📥 Manage message preprocessors')
|
|
630
|
-
.option('--preprocessor-name <name>', 'PreProcessor name')
|
|
631
|
-
.option('--preprocessor-version <version>', "Version for deploy action (or 'latest')")
|
|
632
|
-
.addHelpText('after', `
|
|
633
|
-
Arguments:
|
|
634
|
-
action Optional: 'view', 'versions', 'deploy', 'activate', 'deactivate', 'delete' (prompts if not provided)
|
|
635
|
-
|
|
636
|
-
Options:
|
|
637
|
-
--preprocessor-name <name> PreProcessor name (required for most actions)
|
|
638
|
-
--preprocessor-version <ver> Version for deploy action, or 'latest'
|
|
639
|
-
|
|
640
|
-
Examples:
|
|
641
|
-
$ lua preprocessors Interactive management
|
|
642
|
-
$ lua preprocessors view List all preprocessors
|
|
643
|
-
$ lua preprocessors activate --preprocessor-name myPre Activate a preprocessor
|
|
644
|
-
$ lua preprocessors deactivate --preprocessor-name myPre Deactivate a preprocessor
|
|
645
|
-
$ lua preprocessors versions --preprocessor-name myPre View preprocessor versions
|
|
646
|
-
$ lua preprocessors deploy --preprocessor-name myPre --preprocessor-version 1.0.3 Deploy specific version
|
|
647
|
-
$ lua preprocessors deploy --preprocessor-name myPre --preprocessor-version latest Deploy latest version
|
|
648
|
-
$ lua preprocessors delete --preprocessor-name oldPre Delete a preprocessor
|
|
649
|
-
`)
|
|
650
|
-
.action(preprocessorsCommand);
|
|
651
|
-
program
|
|
652
|
-
.command('postprocessors [action]')
|
|
653
|
-
.description('📤 Manage response postprocessors')
|
|
654
|
-
.option('--postprocessor-name <name>', 'PostProcessor name')
|
|
655
|
-
.option('--postprocessor-version <version>', "Version for deploy action (or 'latest')")
|
|
656
|
-
.addHelpText('after', `
|
|
657
|
-
Arguments:
|
|
658
|
-
action Optional: 'view', 'versions', 'deploy', 'activate', 'deactivate', 'delete' (prompts if not provided)
|
|
659
|
-
|
|
660
|
-
Options:
|
|
661
|
-
--postprocessor-name <name> PostProcessor name (required for most actions)
|
|
662
|
-
--postprocessor-version <ver> Version for deploy action, or 'latest'
|
|
663
|
-
|
|
664
|
-
Examples:
|
|
665
|
-
$ lua postprocessors Interactive management
|
|
666
|
-
$ lua postprocessors view List all postprocessors
|
|
667
|
-
$ lua postprocessors activate --postprocessor-name myPost Activate a postprocessor
|
|
668
|
-
$ lua postprocessors deactivate --postprocessor-name myPost Deactivate a postprocessor
|
|
669
|
-
$ lua postprocessors versions --postprocessor-name myPost View postprocessor versions
|
|
670
|
-
$ lua postprocessors deploy --postprocessor-name myPost --postprocessor-version 1.0.3 Deploy specific version
|
|
671
|
-
$ lua postprocessors deploy --postprocessor-name myPost --postprocessor-version latest Deploy latest version
|
|
672
|
-
$ lua postprocessors delete --postprocessor-name oldPost Delete a postprocessor
|
|
673
|
-
`)
|
|
674
|
-
.action(postprocessorsCommand);
|
|
675
|
-
program
|
|
676
|
-
.command('mcp [action] [name]')
|
|
677
|
-
.description('🔌 Manage MCP (Model Context Protocol) servers')
|
|
678
|
-
.option('--server-name <name>', 'MCP server name')
|
|
679
|
-
.addHelpText('after', `
|
|
680
|
-
Arguments:
|
|
681
|
-
action Optional: 'list', 'activate', 'deactivate', or 'delete'
|
|
682
|
-
name Optional: server name (positional, alternative to --server-name flag)
|
|
683
|
-
|
|
684
|
-
Options:
|
|
685
|
-
--server-name <name> MCP server name (for activate/deactivate/delete actions)
|
|
686
|
-
|
|
687
|
-
Examples:
|
|
688
|
-
$ lua mcp Interactive management
|
|
689
|
-
$ lua mcp list List all MCP servers
|
|
690
|
-
$ lua mcp activate --server-name filesystem Activate a server (flag style)
|
|
691
|
-
$ lua mcp activate filesystem Activate a server (positional style)
|
|
692
|
-
$ lua mcp deactivate --server-name api-server Deactivate a server
|
|
693
|
-
$ lua mcp delete --server-name old-server Delete a server
|
|
694
|
-
`)
|
|
695
|
-
.action(mcpCommand);
|
|
696
|
-
program
|
|
697
|
-
.command('integrations [action] [subaction]')
|
|
698
|
-
.description('🔗 Connect third-party integrations via Unified.to')
|
|
699
|
-
.option('--integration <type>', 'Integration type (e.g., linear, googlecalendar)')
|
|
700
|
-
.option('--auth-method <method>', "Authentication method: 'oauth' or 'token'")
|
|
701
|
-
.option('--scopes <scopes>', "Comma-separated OAuth scopes (or 'all' for all scopes)")
|
|
702
|
-
.option('--hide-sensitive <bool>', 'Hide sensitive data from MCP tools (default: true)')
|
|
703
|
-
.option('--connection-id <id>', 'Connection ID to disconnect or pause/resume')
|
|
704
|
-
.option('--connection <id>', 'Connection ID for trigger')
|
|
705
|
-
.option('--webhook-id <id>', 'Trigger ID to delete/pause/resume')
|
|
706
|
-
.option('--object <type>', 'Object type for webhook (e.g., task_task, calendar_event)')
|
|
707
|
-
.option('--event <type>', 'Event type for webhook: created, updated, or deleted')
|
|
708
|
-
.option('--hook-url <url>', 'Custom webhook URL (default: agent trigger)')
|
|
709
|
-
.option('--interval <minutes>', 'Polling interval for virtual webhooks (60, 120, 240, 480, 720, 1440, 2880)')
|
|
710
|
-
.option('--triggers <events>', 'Comma-separated triggers (e.g., task_task.created,task_task.updated)')
|
|
711
|
-
.option('--custom-webhook', 'Use custom webhook URL instead of agent trigger')
|
|
712
|
-
.option('--json', 'Output as JSON (for info and webhooks events commands)')
|
|
713
|
-
.option('--reason <text>', 'Optional reason for pausing a trigger')
|
|
714
|
-
.addHelpText('after', `
|
|
715
|
-
Arguments:
|
|
716
|
-
action Optional: 'connect', 'update', 'list', 'available', 'info', 'disconnect', 'webhooks', or 'mcp'
|
|
717
|
-
subaction For info: <integration-type>
|
|
718
|
-
For webhooks: 'list', 'events', 'create', or 'delete'
|
|
719
|
-
For mcp: 'list', 'activate', or 'deactivate'
|
|
720
|
-
|
|
721
|
-
Options:
|
|
722
|
-
--integration <type> Integration type (linear, googlecalendar, hubspot, etc.)
|
|
723
|
-
--auth-method <method> Authentication method: 'oauth' or 'token'
|
|
724
|
-
--scopes <scopes> Comma-separated OAuth scopes, or 'all' for all available scopes
|
|
725
|
-
--hide-sensitive <bool> Hide sensitive data from MCP tools (default: true, use 'false' to show)
|
|
726
|
-
--triggers <events> Comma-separated triggers to enable (e.g., task_task.created,task_task.updated)
|
|
727
|
-
--custom-webhook Use custom webhook URL instead of agent trigger
|
|
728
|
-
--hook-url <url> Custom webhook URL (use with --custom-webhook)
|
|
729
|
-
--json Output as JSON (for info and webhooks events commands)
|
|
730
|
-
|
|
731
|
-
Webhook/Trigger Options:
|
|
732
|
-
--connection <id> Connection ID for webhook or MCP operations
|
|
733
|
-
--connection-id <id> Connection ID to disconnect
|
|
734
|
-
--webhook-id <id> Trigger ID to delete
|
|
735
|
-
--object <type> Object type (task_task, calendar_event, messaging_message, etc.)
|
|
736
|
-
--event <type> Event type: created, updated, or deleted
|
|
737
|
-
--interval <minutes> Polling interval for virtual webhooks (60=1h, 120=2h, etc.)
|
|
738
|
-
|
|
739
|
-
Note: Only 1 connection per integration type is allowed per agent.
|
|
740
|
-
|
|
741
|
-
Examples:
|
|
742
|
-
$ lua integrations Interactive management
|
|
743
|
-
$ lua integrations connect Connect a new integration (interactive)
|
|
744
|
-
$ lua integrations connect --integration linear Connect Linear (prompts for auth/scopes)
|
|
745
|
-
$ lua integrations connect --integration linear --auth-method oauth --scopes all
|
|
746
|
-
$ lua integrations connect --integration linear --triggers task_task.created,task_task.updated
|
|
747
|
-
$ lua integrations update --integration linear --scopes all Update Linear scopes
|
|
748
|
-
$ lua integrations available List available integrations
|
|
749
|
-
$ lua integrations list List connected integrations
|
|
750
|
-
$ lua integrations info linear Show Linear integration details
|
|
751
|
-
$ lua integrations info linear --json Output as JSON (for scripting)
|
|
752
|
-
$ lua integrations disconnect --connection-id abc123 Disconnect an integration
|
|
753
|
-
|
|
754
|
-
Webhook/Trigger Examples:
|
|
755
|
-
$ lua integrations webhooks list List all triggers
|
|
756
|
-
$ lua integrations webhooks events --integration linear List available events
|
|
757
|
-
$ lua integrations webhooks create Create trigger (interactive)
|
|
758
|
-
$ lua integrations webhooks delete --webhook-id wh_xyz789
|
|
759
|
-
$ lua integrations webhooks pause --webhook-id wh_xyz789
|
|
760
|
-
$ lua integrations webhooks pause --connection-id abc123 Pause all triggers for a connection
|
|
761
|
-
$ lua integrations webhooks resume --webhook-id wh_xyz789
|
|
762
|
-
$ lua integrations webhooks resume --connection-id abc123 Resume all triggers for a connection
|
|
763
|
-
|
|
764
|
-
MCP Server Examples:
|
|
765
|
-
$ lua integrations mcp list List connections with MCP server status
|
|
766
|
-
$ lua integrations mcp activate --connection abc123 Activate MCP server for a connection
|
|
767
|
-
$ lua integrations mcp deactivate --connection abc123 Deactivate MCP server for a connection
|
|
768
|
-
`)
|
|
769
|
-
.action(integrationsCommand);
|
|
770
|
-
// 'lua triggers' — top-level alias for 'lua integrations webhooks' (discoverability)
|
|
771
|
-
program
|
|
772
|
-
.command('triggers [action]')
|
|
773
|
-
.description('⚡ Manage integration triggers (alias for: lua integrations webhooks)')
|
|
774
|
-
.option('--connection-id <id>', 'Connection ID to pause/resume all triggers')
|
|
775
|
-
.option('--connection <id>', 'Connection ID for creating a trigger')
|
|
776
|
-
.option('--webhook-id <id>', 'Trigger ID to delete/pause/resume')
|
|
777
|
-
.option('--object <type>', 'Object type for webhook (e.g., task_task, calendar_event)')
|
|
778
|
-
.option('--event <type>', 'Event type: created, updated, or deleted')
|
|
779
|
-
.option('--hook-url <url>', 'Custom webhook URL (default: agent trigger)')
|
|
780
|
-
.option('--interval <minutes>', 'Polling interval for virtual webhooks')
|
|
781
|
-
.option('--json', 'Output as JSON')
|
|
782
|
-
.option('--reason <text>', 'Optional reason for pausing')
|
|
783
|
-
.addHelpText('after', `
|
|
784
|
-
This is a shortcut for: lua integrations webhooks <action>
|
|
785
|
-
|
|
786
|
-
Actions: list, create, delete, pause, resume, events
|
|
787
|
-
|
|
788
|
-
Examples:
|
|
789
|
-
$ lua triggers Interactive trigger management
|
|
790
|
-
$ lua triggers list List all triggers
|
|
791
|
-
$ lua triggers list --json Output as JSON
|
|
792
|
-
$ lua triggers create Create trigger (interactive)
|
|
793
|
-
$ lua triggers pause --webhook-id <id> Pause a trigger
|
|
794
|
-
$ lua triggers pause --connection-id <id> Pause all triggers for a connection
|
|
795
|
-
$ lua triggers resume --webhook-id <id> Resume a trigger
|
|
796
|
-
$ lua triggers resume --connection-id <id> Resume all triggers for a connection
|
|
797
|
-
$ lua triggers delete --webhook-id <id> Delete a trigger
|
|
798
|
-
`)
|
|
799
|
-
.action((action, cmdOptions) => {
|
|
800
|
-
// Delegate to integrations command with webhooks subcommand
|
|
801
|
-
// integrationsCommand(action, subaction, options) — we map:
|
|
802
|
-
// lua triggers <action> → lua integrations webhooks <action>
|
|
803
|
-
const opts = { ...(cmdOptions || {}) };
|
|
804
|
-
return integrationsCommand('webhooks', action || '', opts);
|
|
805
|
-
});
|
|
806
|
-
program
|
|
807
|
-
.command('completion [shell]')
|
|
808
|
-
.description('🎯 Generate shell completion script')
|
|
809
|
-
.addHelpText('after', `
|
|
810
|
-
Arguments:
|
|
811
|
-
shell Optional: 'bash', 'zsh', or 'fish' (shows instructions if not provided)
|
|
812
|
-
|
|
813
|
-
Examples:
|
|
814
|
-
$ lua completion Show installation instructions
|
|
815
|
-
$ lua completion bash Generate bash completion script
|
|
816
|
-
$ lua completion bash >> ~/.bashrc
|
|
817
|
-
$ lua completion zsh >> ~/.zshrc
|
|
818
|
-
$ lua completion fish > ~/.config/fish/completions/lua.fish
|
|
819
|
-
`)
|
|
820
|
-
.action(completionCommand);
|
|
821
|
-
program
|
|
822
|
-
.command('agents')
|
|
823
|
-
.description('👥 List all organizations and agents you have access to')
|
|
824
|
-
.option('--json', 'Output as JSON')
|
|
825
|
-
.addHelpText('after', `
|
|
826
|
-
Examples:
|
|
827
|
-
$ lua agents List all orgs and agents (formatted)
|
|
828
|
-
$ lua agents --json Output as JSON for scripting
|
|
829
|
-
`)
|
|
830
|
-
.action(agentsCommand);
|
|
831
|
-
program
|
|
832
|
-
.command('models [action]')
|
|
833
|
-
.description('🧠 List and manage LLM models for your agent')
|
|
834
|
-
.option('--model <code>', "Model code for 'set' action (e.g. 'openai/gpt-4o')")
|
|
835
|
-
.option('--json', 'Output as JSON')
|
|
836
|
-
.addHelpText('after', `
|
|
837
|
-
Arguments:
|
|
838
|
-
action Optional: 'list', 'set', or 'unset' (default: list)
|
|
839
|
-
|
|
840
|
-
Options:
|
|
841
|
-
--model <code> Set model non-interactively (use with 'set' action)
|
|
842
|
-
--json Output list as JSON (use with 'list' action)
|
|
843
|
-
|
|
844
|
-
Examples:
|
|
845
|
-
$ lua models List available models (formatted)
|
|
846
|
-
$ lua models list List available models (explicit)
|
|
847
|
-
$ lua models list --json List as JSON for scripting
|
|
848
|
-
$ lua models set Interactively select a model
|
|
849
|
-
$ lua models set --model openai/gpt-4o Set model non-interactively
|
|
850
|
-
$ lua models unset Remove model — use platform default
|
|
851
|
-
`)
|
|
852
|
-
.action(modelsCommand);
|
|
853
|
-
program
|
|
854
|
-
.command('status')
|
|
855
|
-
.alias('describe')
|
|
856
|
-
.description('📋 Show full state: env, auth, project, updates, sync state')
|
|
857
|
-
.option('--json', 'Output as machine-readable JSON')
|
|
858
|
-
.addHelpText('after', `
|
|
859
|
-
Shows full diagnostics in one shot: CLI version + updates, install method,
|
|
860
|
-
auth state and server reachability, project config, per-primitive sync state
|
|
861
|
-
(local vs deployed), persona/backup status, and telemetry. Degrades gracefully
|
|
862
|
-
when run outside a project or unauthenticated.
|
|
863
|
-
|
|
864
|
-
Use --json for machine consumption (LLM agents).
|
|
865
|
-
|
|
866
|
-
Examples:
|
|
867
|
-
$ lua status Full status report
|
|
868
|
-
$ lua describe Same (alias)
|
|
869
|
-
$ lua status --json Stable JSON for automation
|
|
870
|
-
`)
|
|
871
|
-
.action(statusCommand);
|
|
872
|
-
program
|
|
873
|
-
.command('update')
|
|
874
|
-
.description('🔄 Update lua-cli to the latest version')
|
|
875
|
-
.addHelpText('after', `
|
|
876
|
-
Examples:
|
|
877
|
-
$ lua update Check for updates and install the latest version
|
|
878
|
-
`)
|
|
879
|
-
.action(updateCommand);
|
|
880
|
-
program
|
|
881
|
-
.command('telemetry [action]')
|
|
882
|
-
.description('📊 Manage usage telemetry')
|
|
883
|
-
.addHelpText('after', `
|
|
884
|
-
Arguments:
|
|
885
|
-
action Optional: 'on', 'off', or 'status' (default: status)
|
|
886
|
-
|
|
887
|
-
Examples:
|
|
888
|
-
$ lua telemetry Show current telemetry status
|
|
889
|
-
$ lua telemetry on Enable telemetry
|
|
890
|
-
$ lua telemetry off Disable telemetry
|
|
891
|
-
`)
|
|
892
|
-
.action(telemetryCommand);
|
|
893
|
-
program
|
|
894
|
-
.command('governance [action]')
|
|
895
|
-
.description('🛡️ Manage governance for your agent project')
|
|
896
|
-
.addHelpText('after', `
|
|
897
|
-
Arguments:
|
|
898
|
-
action Optional: 'add' or 'remove' (default: interactive setup)
|
|
899
|
-
|
|
900
|
-
Examples:
|
|
901
|
-
$ lua governance Interactive governance setup
|
|
902
|
-
$ lua governance add Add governance (SDK or API mode)
|
|
903
|
-
$ lua governance remove Remove governance from agent (local + server)
|
|
904
|
-
`)
|
|
905
|
-
.action(governanceCommand);
|
|
906
|
-
// Source version management — Phase 5 of the S3 backup hardening plan.
|
|
907
|
-
// Append-only history: rollback never mutates v<N>; it restores v<N>'s
|
|
908
|
-
// files locally and creates v<latest+1> with the same contents.
|
|
909
|
-
const sourceCmd = program.command('source').description('🗂️ Manage workspace source versions');
|
|
910
|
-
sourceCmd
|
|
911
|
-
.command('list')
|
|
912
|
-
.description('List source versions for the current agent')
|
|
913
|
-
.option('--all', 'Show all versions instead of the most recent 50', false)
|
|
914
|
-
.option('--limit <n>', 'Number of versions to show', '50')
|
|
915
|
-
.addHelpText('after', `
|
|
916
|
-
Examples:
|
|
917
|
-
$ lua source list List the most recent 50 versions (active marked with *)
|
|
918
|
-
$ lua source list --all Show full history
|
|
919
|
-
$ lua source list --limit 10 Cap output at 10 versions
|
|
920
|
-
`)
|
|
921
|
-
.action(async (opts) => {
|
|
922
|
-
await sourceListCommand({ all: opts.all, limit: parseInt(opts.limit, 10) });
|
|
923
|
-
});
|
|
924
|
-
sourceCmd
|
|
925
|
-
.command('rollback')
|
|
926
|
-
.description('Roll back to a specific source version')
|
|
927
|
-
.requiredOption('--version <n>', 'Version number to roll back to')
|
|
928
|
-
.option('--force', 'Skip confirmation prompt', false)
|
|
929
|
-
.addHelpText('after', `
|
|
930
|
-
Examples:
|
|
931
|
-
$ lua source rollback --version 5 Restore v5 locally and append as new version
|
|
932
|
-
$ lua source rollback --version 5 --force Skip the confirmation prompt
|
|
933
|
-
`)
|
|
934
|
-
.action(async (opts) => {
|
|
935
|
-
const v = parseInt(opts.version, 10);
|
|
936
|
-
if (Number.isNaN(v) || v < 1) {
|
|
937
|
-
writeError('--version must be a positive integer');
|
|
938
|
-
process.exit(1);
|
|
939
|
-
}
|
|
940
|
-
await sourceRollbackCommand({ version: v, force: opts.force });
|
|
941
|
-
});
|
|
942
|
-
}
|
|
943
|
-
//# sourceMappingURL=command-definitions.js.map
|