@pikku/addon-console 0.12.42 → 0.12.44
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/CHANGELOG.md +2027 -0
- package/dist/.pikku/addon/agent/index.d.ts +8 -0
- package/dist/.pikku/addon/agent/index.d.ts.map +1 -0
- package/dist/.pikku/addon/agent/index.js +8 -0
- package/dist/.pikku/addon/agent/index.js.map +1 -0
- package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +54 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js +20 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.d.ts +2 -0
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +6 -0
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js.map +1 -0
- package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +8 -0
- package/dist/.pikku/addon/auth/auth.types.d.ts +5 -0
- package/dist/.pikku/addon/auth/auth.types.d.ts.map +1 -0
- package/dist/.pikku/addon/auth/auth.types.js +6 -0
- package/dist/.pikku/addon/auth/auth.types.js.map +1 -0
- package/dist/.pikku/addon/auth/index.d.ts +9 -0
- package/dist/.pikku/addon/auth/index.d.ts.map +1 -0
- package/dist/.pikku/addon/auth/index.js +9 -0
- package/dist/.pikku/addon/auth/index.js.map +1 -0
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +119 -0
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +93 -0
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -0
- package/dist/.pikku/addon/channel/index.d.ts +8 -0
- package/dist/.pikku/addon/channel/index.d.ts.map +1 -0
- package/dist/.pikku/addon/channel/index.js +8 -0
- package/dist/.pikku/addon/channel/index.js.map +1 -0
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +91 -0
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +43 -0
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/addon/error/index.d.ts +8 -0
- package/dist/.pikku/addon/error/index.d.ts.map +1 -0
- package/dist/.pikku/addon/error/index.js +8 -0
- package/dist/.pikku/addon/error/index.js.map +1 -0
- package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +8 -0
- package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/error/pikku-error-types.gen.js +8 -0
- package/dist/.pikku/addon/error/pikku-error-types.gen.js.map +1 -0
- package/dist/.pikku/addon/function/index.d.ts +8 -0
- package/dist/.pikku/addon/function/index.d.ts.map +1 -0
- package/dist/.pikku/addon/function/index.js +8 -0
- package/dist/.pikku/addon/function/index.js.map +1 -0
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +270 -0
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/function/pikku-function-types.gen.js +117 -0
- package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +2146 -0
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +1690 -0
- package/dist/.pikku/addon/function/pikku-functions.gen.d.ts +2 -0
- package/dist/.pikku/addon/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/function/pikku-functions.gen.js +126 -0
- package/dist/.pikku/addon/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/addon/http/index.d.ts +8 -0
- package/dist/.pikku/addon/http/index.d.ts.map +1 -0
- package/dist/.pikku/addon/http/index.js +8 -0
- package/dist/.pikku/addon/http/index.js.map +1 -0
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +50 -0
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/http/pikku-http-types.gen.js +11 -0
- package/dist/.pikku/addon/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/addon/index.d.ts +8 -0
- package/dist/.pikku/addon/index.d.ts.map +1 -0
- package/dist/.pikku/addon/index.js +8 -0
- package/dist/.pikku/addon/index.js.map +1 -0
- package/dist/.pikku/addon/mcp/index.d.ts +8 -0
- package/dist/.pikku/addon/mcp/index.d.ts.map +1 -0
- package/dist/.pikku/addon/mcp/index.js +8 -0
- package/dist/.pikku/addon/mcp/index.js.map +1 -0
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +102 -0
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +16 -0
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/addon/middleware/index.d.ts +8 -0
- package/dist/.pikku/addon/middleware/index.d.ts.map +1 -0
- package/dist/.pikku/addon/middleware/index.js +8 -0
- package/dist/.pikku/addon/middleware/index.js.map +1 -0
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +118 -0
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +109 -0
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +2 -2
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +10 -0
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +10 -0
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +10 -0
- package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-bootstrap.gen.js +10 -0
- package/dist/.pikku/addon/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +3 -3
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-services.gen.d.ts +50 -0
- package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-services.gen.js +46 -0
- package/dist/.pikku/addon/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +251 -0
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +253 -0
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +184 -0
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.json +62 -0
- package/dist/.pikku/addon/scenarios/index.d.ts +8 -0
- package/dist/.pikku/addon/scenarios/index.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/index.js +8 -0
- package/dist/.pikku/addon/scenarios/index.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts +18 -0
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.js +18 -0
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +11 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.js +2 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +311 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js +72 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +11 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.js +2 -0
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +5 -0
- package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/schemas/register.gen.js +5 -0
- package/dist/.pikku/addon/scenarios/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/addon/schemas/register.gen.d.ts +2 -0
- package/dist/.pikku/addon/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/schemas/register.gen.js +201 -0
- package/dist/.pikku/addon/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/addon/schemas/schemas/AddonMetaPage.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/AddonMetaQuery.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/AddonPackageInfo.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/AddonReadinessInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/AddonReadinessOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/AgentCredentialCheckInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/AgentCredentialCheckOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/AllMeta.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/AuthProvidersMeta.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ChannelSnippets.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/DbSchema.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/DeleteAgentThreadInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/DeleteAgentThreadOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/DeleteScenarioRunInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/DeleteWorkflowRunInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/DeleteWorkflowRunOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAddonCategoriesOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAddonCommunityPackageInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAddonIconInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAddonInstalledPackageInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAddonInstancesInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAddonInstancesOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAgentRunScoresInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAgentRunScoresOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAgentThreadMessagesInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAgentThreadMessagesOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAgentThreadRunsInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAgentThreadRunsOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAgentThreadsInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAgentThreadsOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetChannelSnippetsInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetInstalledAddonsOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetMyAccessOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetOpenapiCategoriesOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetOpenapiDetailInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetOpenapiDetailOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetOpenapisInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetOpenapisOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetScenarioArtifactInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetScenarioRunInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetSchemaInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetScorersOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetStateDiffInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWebhookDeliveryInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowMetaByIdInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowMetaByIdOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunHistoryInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunHistoryOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunNamesOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunStepsInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunStepsOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunsInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowRunsOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowVersionInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetWorkflowVersionOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/InstallAddonInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/InstallAddonOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/InstallOpenapiAddonInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/InstallOpenapiAddonOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/JSONSchema7.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/KnowledgeBundle.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ListScenarioRunsInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ListScenarioRunsOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ListWebhookDeliveriesInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ListWebhookDeliveriesOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/PingOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ReadAgentSourceInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ReadAgentSourceOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ReadFunctionBodyInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ReadFunctionBodyOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ReadFunctionSourceInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ReadFunctionSourceOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/RenderEmailPreviewInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/RenderEmailPreviewOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/ScenarioRunRecord.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretGetInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretGetOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretHasInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretHasOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretSetInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretSetOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecurityAuditReport.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/StateDiff.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/StreamWorkflowRunInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SurfaceResult.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/UpdateAgentConfigInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/UpdateAgentConfigOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/UpdateDependencyInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/UpdateEmailTemplateInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/UpdateEmailTemplateOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/UpdateFunctionBodyInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/UpdateFunctionBodyOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/UpdateFunctionConfigInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/UpdateFunctionConfigOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/WebhookDeliveryWithAttempts.schema.json +1 -0
- package/dist/.pikku/addon/scopes/index.d.ts +8 -0
- package/dist/.pikku/addon/scopes/index.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/index.js +8 -0
- package/dist/.pikku/addon/scopes/index.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-personas-meta.gen.json +1 -0
- package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts +29 -0
- package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-personas.gen.js +18 -0
- package/dist/.pikku/addon/scopes/pikku-personas.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-roles-meta.gen.json +1 -0
- package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +31 -0
- package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-roles.gen.js +19 -0
- package/dist/.pikku/addon/scopes/pikku-roles.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +6 -0
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +6 -0
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-scopes-meta.gen.json +144 -0
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +36 -0
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.js +30 -0
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.js.map +1 -0
- package/dist/.pikku/addon/secrets/index.d.ts +9 -0
- package/dist/.pikku/addon/secrets/index.d.ts.map +1 -0
- package/dist/.pikku/addon/secrets/index.js +9 -0
- package/dist/.pikku/addon/secrets/index.js.map +1 -0
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +5 -0
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/addon/secrets/pikku-secrets-meta.gen.json +1 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +18 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +19 -0
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/services/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/addon/services/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/addon/setup/index.d.ts +9 -0
- package/dist/.pikku/addon/setup/index.d.ts.map +1 -0
- package/dist/.pikku/addon/setup/index.js +9 -0
- package/dist/.pikku/addon/setup/index.js.map +1 -0
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +66 -0
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +78 -0
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js.map +1 -0
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +67 -0
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +88 -0
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js.map +1 -0
- package/dist/.pikku/addon/trigger/index.d.ts +8 -0
- package/dist/.pikku/addon/trigger/index.d.ts.map +1 -0
- package/dist/.pikku/addon/trigger/index.js +8 -0
- package/dist/.pikku/addon/trigger/index.js.map +1 -0
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +83 -0
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +13 -0
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/addon/variables/index.d.ts +9 -0
- package/dist/.pikku/addon/variables/index.d.ts.map +1 -0
- package/dist/.pikku/addon/variables/index.js +9 -0
- package/dist/.pikku/addon/variables/index.js.map +1 -0
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +5 -0
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/addon/variables/pikku-variables-meta.gen.json +1 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +19 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.js +19 -0
- package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/addon/workflow/index.d.ts +8 -0
- package/dist/.pikku/addon/workflow/index.d.ts.map +1 -0
- package/dist/.pikku/addon/workflow/index.js +8 -0
- package/dist/.pikku/addon/workflow/index.js.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +38 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +106 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +16 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/.pikku/agent/index.d.ts +8 -0
- package/dist/.pikku/agent/index.d.ts.map +1 -0
- package/dist/.pikku/agent/index.js +8 -0
- package/dist/.pikku/agent/index.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +8 -7
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js +2 -3
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +1 -1
- package/dist/.pikku/auth/index.d.ts +9 -0
- package/dist/.pikku/auth/index.d.ts.map +1 -0
- package/dist/.pikku/auth/index.js +9 -0
- package/dist/.pikku/auth/index.js.map +1 -0
- package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +119 -0
- package/dist/.pikku/auth/pikku-auth-types.gen.d.ts.map +1 -0
- package/dist/.pikku/auth/pikku-auth-types.gen.js +93 -0
- package/dist/.pikku/auth/pikku-auth-types.gen.js.map +1 -0
- package/dist/.pikku/channel/index.d.ts +8 -0
- package/dist/.pikku/channel/index.d.ts.map +1 -0
- package/dist/.pikku/channel/index.js +8 -0
- package/dist/.pikku/channel/index.js.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +4 -25
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -19
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -1
- package/dist/.pikku/credentials/index.d.ts +8 -0
- package/dist/.pikku/credentials/index.d.ts.map +1 -0
- package/dist/.pikku/credentials/index.js +8 -0
- package/dist/.pikku/credentials/index.js.map +1 -0
- package/dist/.pikku/credentials/pikku-credential-types.gen.d.ts +5 -0
- package/dist/.pikku/credentials/pikku-credential-types.gen.d.ts.map +1 -0
- package/dist/.pikku/credentials/pikku-credential-types.gen.js +5 -0
- package/dist/.pikku/credentials/pikku-credential-types.gen.js.map +1 -0
- package/dist/.pikku/error/index.d.ts +8 -0
- package/dist/.pikku/error/index.d.ts.map +1 -0
- package/dist/.pikku/error/index.js +8 -0
- package/dist/.pikku/error/index.js.map +1 -0
- package/dist/.pikku/error/pikku-error-types.gen.d.ts +8 -0
- package/dist/.pikku/error/pikku-error-types.gen.d.ts.map +1 -0
- package/dist/.pikku/error/pikku-error-types.gen.js +8 -0
- package/dist/.pikku/error/pikku-error-types.gen.js.map +1 -0
- package/dist/.pikku/function/index.d.ts +8 -0
- package/dist/.pikku/function/index.d.ts.map +1 -0
- package/dist/.pikku/function/index.js +8 -0
- package/dist/.pikku/function/index.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +28 -262
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +1 -236
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +201 -680
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +159 -535
- package/dist/.pikku/function/pikku-functions.gen.js +10 -36
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
- package/dist/.pikku/gateway/index.d.ts +8 -0
- package/dist/.pikku/gateway/index.d.ts.map +1 -0
- package/dist/.pikku/gateway/index.js +8 -0
- package/dist/.pikku/gateway/index.js.map +1 -0
- package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +38 -0
- package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts.map +1 -0
- package/dist/.pikku/gateway/pikku-gateway-types.gen.js +26 -0
- package/dist/.pikku/gateway/pikku-gateway-types.gen.js.map +1 -0
- package/dist/.pikku/http/index.d.ts +8 -0
- package/dist/.pikku/http/index.d.ts.map +1 -0
- package/dist/.pikku/http/index.js +8 -0
- package/dist/.pikku/http/index.js.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +3 -51
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +1 -40
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -1
- package/dist/.pikku/mcp/index.d.ts +8 -0
- package/dist/.pikku/mcp/index.d.ts.map +1 -0
- package/dist/.pikku/mcp/index.js +8 -0
- package/dist/.pikku/mcp/index.js.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +5 -35
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +0 -22
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -1
- package/dist/.pikku/middleware/index.d.ts +8 -0
- package/dist/.pikku/middleware/index.d.ts.map +1 -0
- package/dist/.pikku/middleware/index.js +8 -0
- package/dist/.pikku/middleware/index.js.map +1 -0
- package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +118 -0
- package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts.map +1 -0
- package/dist/.pikku/middleware/pikku-middleware-types.gen.js +109 -0
- package/dist/.pikku/middleware/pikku-middleware-types.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.d.ts +6 -5
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-services.gen.js +5 -4
- package/dist/.pikku/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/pikku-types.gen.d.ts +0 -1
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-types.gen.js +0 -2
- package/dist/.pikku/pikku-types.gen.js.map +1 -1
- package/dist/.pikku/queue/index.d.ts +8 -0
- package/dist/.pikku/queue/index.d.ts.map +1 -0
- package/dist/.pikku/queue/index.js +8 -0
- package/dist/.pikku/queue/index.js.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +16 -55
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +17 -55
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +11 -35
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +5 -18
- package/dist/.pikku/scenarios/index.d.ts +8 -0
- package/dist/.pikku/scenarios/index.d.ts.map +1 -0
- package/dist/.pikku/scenarios/index.js +8 -0
- package/dist/.pikku/scenarios/index.js.map +1 -0
- package/dist/.pikku/scenarios/pikku-personas.gen.d.ts +18 -0
- package/dist/.pikku/scenarios/pikku-personas.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/pikku-personas.gen.js +18 -0
- package/dist/.pikku/scenarios/pikku-personas.gen.js.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +311 -0
- package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-types.gen.js +72 -0
- package/dist/.pikku/scenarios/pikku-scenario-types.gen.js.map +1 -0
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -1
- package/dist/.pikku/scheduler/index.d.ts +8 -0
- package/dist/.pikku/scheduler/index.d.ts.map +1 -0
- package/dist/.pikku/scheduler/index.js +8 -0
- package/dist/.pikku/scheduler/index.js.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -1
- package/dist/.pikku/schemas/register.gen.js +15 -65
- package/dist/.pikku/schemas/register.gen.js.map +1 -1
- package/dist/.pikku/schemas/schemas/AddonMetaPage.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/AddonPackageInfo.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/AllMeta.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/DeleteScenarioRunInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/GetScenarioArtifactInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetScenarioRunInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListScenarioRunsInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ListScenarioRunsOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ScenarioRunRecord.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SurfaceResult.schema.json +1 -0
- package/dist/.pikku/scopes/index.d.ts +8 -0
- package/dist/.pikku/scopes/index.d.ts.map +1 -0
- package/dist/.pikku/scopes/index.js +8 -0
- package/dist/.pikku/scopes/index.js.map +1 -0
- package/dist/.pikku/scopes/pikku-personas.gen.d.ts +4 -13
- package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -1
- package/dist/.pikku/scopes/pikku-personas.gen.js.map +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.js.map +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +2 -4
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +2 -2
- package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -1
- package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +13 -66
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +2 -2
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -1
- package/dist/.pikku/scopes/pikku-scopes.gen.js +1 -2
- package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -1
- package/dist/.pikku/secrets/index.d.ts +9 -0
- package/dist/.pikku/secrets/index.d.ts.map +1 -0
- package/dist/.pikku/secrets/index.js +9 -0
- package/dist/.pikku/secrets/index.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +0 -2
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +7 -11
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +6 -8
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/services/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/services/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/services/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/setup/index.d.ts +8 -0
- package/dist/.pikku/setup/index.d.ts.map +1 -0
- package/dist/.pikku/setup/index.js +8 -0
- package/dist/.pikku/setup/index.js.map +1 -0
- package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +67 -0
- package/dist/.pikku/setup/pikku-setup-types.gen.d.ts.map +1 -0
- package/dist/.pikku/setup/pikku-setup-types.gen.js +88 -0
- package/dist/.pikku/setup/pikku-setup-types.gen.js.map +1 -0
- package/dist/.pikku/trigger/index.d.ts +8 -0
- package/dist/.pikku/trigger/index.d.ts.map +1 -0
- package/dist/.pikku/trigger/index.js +8 -0
- package/dist/.pikku/trigger/index.js.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +5 -36
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +0 -21
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -1
- package/dist/.pikku/variables/index.d.ts +9 -0
- package/dist/.pikku/variables/index.d.ts.map +1 -0
- package/dist/.pikku/variables/index.js +9 -0
- package/dist/.pikku/variables/index.js.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +0 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +7 -10
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +7 -9
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
- package/dist/.pikku/workflow/index.d.ts +8 -0
- package/dist/.pikku/workflow/index.d.ts.map +1 -0
- package/dist/.pikku/workflow/index.js +8 -0
- package/dist/.pikku/workflow/index.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +14 -262
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +0 -63
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
- package/dist/src/functions/addon-readiness.function.d.ts +4 -4
- package/dist/src/functions/addon-readiness.function.d.ts.map +1 -1
- package/dist/src/functions/addon-readiness.function.js +2 -2
- package/dist/src/functions/addon-readiness.function.js.map +1 -1
- package/dist/src/functions/agent-credential-check.function.d.ts +4 -4
- package/dist/src/functions/agent-credential-check.function.d.ts.map +1 -1
- package/dist/src/functions/agent-credential-check.function.js +2 -2
- package/dist/src/functions/agent-credential-check.function.js.map +1 -1
- package/dist/src/functions/credential-delete.function.d.ts +4 -4
- package/dist/src/functions/credential-delete.function.d.ts.map +1 -1
- package/dist/src/functions/credential-delete.function.js +1 -1
- package/dist/src/functions/credential-delete.function.js.map +1 -1
- package/dist/src/functions/credential-get.function.d.ts +4 -4
- package/dist/src/functions/credential-get.function.d.ts.map +1 -1
- package/dist/src/functions/credential-get.function.js +1 -1
- package/dist/src/functions/credential-get.function.js.map +1 -1
- package/dist/src/functions/credential-list-users.function.d.ts +4 -4
- package/dist/src/functions/credential-list-users.function.d.ts.map +1 -1
- package/dist/src/functions/credential-list-users.function.js +1 -1
- package/dist/src/functions/credential-list-users.function.js.map +1 -1
- package/dist/src/functions/credential-set.function.d.ts +4 -4
- package/dist/src/functions/credential-set.function.d.ts.map +1 -1
- package/dist/src/functions/credential-set.function.js +1 -1
- package/dist/src/functions/credential-set.function.js.map +1 -1
- package/dist/src/functions/credential-status.function.d.ts +4 -4
- package/dist/src/functions/credential-status.function.d.ts.map +1 -1
- package/dist/src/functions/credential-status.function.js +1 -1
- package/dist/src/functions/credential-status.function.js.map +1 -1
- package/dist/src/functions/credential-users.function.d.ts +4 -4
- package/dist/src/functions/credential-users.function.d.ts.map +1 -1
- package/dist/src/functions/credential-users.function.js +1 -1
- package/dist/src/functions/credential-users.function.js.map +1 -1
- package/dist/src/functions/delete-agent-thread.function.d.ts +4 -4
- package/dist/src/functions/delete-agent-thread.function.d.ts.map +1 -1
- package/dist/src/functions/delete-agent-thread.function.js +1 -1
- package/dist/src/functions/delete-agent-thread.function.js.map +1 -1
- package/dist/src/functions/delete-scenario-run.function.d.ts +8 -0
- package/dist/src/functions/delete-scenario-run.function.d.ts.map +1 -0
- package/dist/src/functions/delete-scenario-run.function.js +11 -0
- package/dist/src/functions/delete-scenario-run.function.js.map +1 -0
- package/dist/src/functions/delete-workflow-run.function.d.ts +4 -4
- package/dist/src/functions/delete-workflow-run.function.d.ts.map +1 -1
- package/dist/src/functions/delete-workflow-run.function.js +1 -1
- package/dist/src/functions/delete-workflow-run.function.js.map +1 -1
- package/dist/src/functions/get-addon-categories.function.d.ts +1 -1
- package/dist/src/functions/get-addon-categories.function.d.ts.map +1 -1
- package/dist/src/functions/get-addon-categories.function.js +1 -1
- package/dist/src/functions/get-addon-categories.function.js.map +1 -1
- package/dist/src/functions/get-addon-icon.function.d.ts +4 -4
- package/dist/src/functions/get-addon-icon.function.d.ts.map +1 -1
- package/dist/src/functions/get-addon-icon.function.js +1 -1
- package/dist/src/functions/get-addon-icon.function.js.map +1 -1
- package/dist/src/functions/get-addon-instances.function.d.ts +4 -4
- package/dist/src/functions/get-addon-instances.function.d.ts.map +1 -1
- package/dist/src/functions/get-addon-instances.function.js +2 -2
- package/dist/src/functions/get-addon-instances.function.js.map +1 -1
- package/dist/src/functions/get-addon-meta.function.d.ts +1 -1
- package/dist/src/functions/get-addon-meta.function.d.ts.map +1 -1
- package/dist/src/functions/get-addon-meta.function.js +1 -1
- package/dist/src/functions/get-addon-meta.function.js.map +1 -1
- package/dist/src/functions/get-addon-package.function.d.ts +4 -4
- package/dist/src/functions/get-addon-package.function.d.ts.map +1 -1
- package/dist/src/functions/get-addon-package.function.js +1 -1
- package/dist/src/functions/get-addon-package.function.js.map +1 -1
- package/dist/src/functions/get-agent-run-scores.function.d.ts +4 -4
- package/dist/src/functions/get-agent-run-scores.function.d.ts.map +1 -1
- package/dist/src/functions/get-agent-run-scores.function.js +4 -3
- package/dist/src/functions/get-agent-run-scores.function.js.map +1 -1
- package/dist/src/functions/get-agent-thread-messages.function.d.ts +4 -4
- package/dist/src/functions/get-agent-thread-messages.function.d.ts.map +1 -1
- package/dist/src/functions/get-agent-thread-messages.function.js +1 -1
- package/dist/src/functions/get-agent-thread-messages.function.js.map +1 -1
- package/dist/src/functions/get-agent-thread-runs.function.d.ts +4 -4
- package/dist/src/functions/get-agent-thread-runs.function.d.ts.map +1 -1
- package/dist/src/functions/get-agent-thread-runs.function.js +3 -3
- package/dist/src/functions/get-agent-thread-runs.function.js.map +1 -1
- package/dist/src/functions/get-agent-threads.function.d.ts +4 -4
- package/dist/src/functions/get-agent-threads.function.d.ts.map +1 -1
- package/dist/src/functions/get-agent-threads.function.js +3 -3
- package/dist/src/functions/get-agent-threads.function.js.map +1 -1
- package/dist/src/functions/get-agent-threads.function.test.js +1 -1
- package/dist/src/functions/get-agent-threads.function.test.js.map +1 -1
- package/dist/src/functions/get-all-meta.function.d.ts +1 -1
- package/dist/src/functions/get-all-meta.function.d.ts.map +1 -1
- package/dist/src/functions/get-all-meta.function.js +1 -1
- package/dist/src/functions/get-all-meta.function.js.map +1 -1
- package/dist/src/functions/get-audit-filters.function.d.ts +1 -1
- package/dist/src/functions/get-audit-filters.function.d.ts.map +1 -1
- package/dist/src/functions/get-audit-filters.function.js +1 -1
- package/dist/src/functions/get-audit-filters.function.js.map +1 -1
- package/dist/src/functions/get-audits.function.d.ts +2 -2
- package/dist/src/functions/get-audits.function.d.ts.map +1 -1
- package/dist/src/functions/get-audits.function.js +1 -1
- package/dist/src/functions/get-audits.function.js.map +1 -1
- package/dist/src/functions/get-auth-providers.function.d.ts +1 -1
- package/dist/src/functions/get-auth-providers.function.d.ts.map +1 -1
- package/dist/src/functions/get-auth-providers.function.js +1 -1
- package/dist/src/functions/get-auth-providers.function.js.map +1 -1
- package/dist/src/functions/get-channel-snippets.function.d.ts +4 -4
- package/dist/src/functions/get-channel-snippets.function.d.ts.map +1 -1
- package/dist/src/functions/get-channel-snippets.function.js +1 -1
- package/dist/src/functions/get-channel-snippets.function.js.map +1 -1
- package/dist/src/functions/get-db-schema.function.d.ts +1 -1
- package/dist/src/functions/get-db-schema.function.d.ts.map +1 -1
- package/dist/src/functions/get-db-schema.function.js +2 -2
- package/dist/src/functions/get-db-schema.function.js.map +1 -1
- package/dist/src/functions/get-functions-meta.function.d.ts +1 -1
- package/dist/src/functions/get-functions-meta.function.d.ts.map +1 -1
- package/dist/src/functions/get-functions-meta.function.js +1 -1
- package/dist/src/functions/get-functions-meta.function.js.map +1 -1
- package/dist/src/functions/get-installed-addons.function.d.ts +1 -1
- package/dist/src/functions/get-installed-addons.function.d.ts.map +1 -1
- package/dist/src/functions/get-installed-addons.function.js +2 -2
- package/dist/src/functions/get-installed-addons.function.js.map +1 -1
- package/dist/src/functions/get-installed-package.function.d.ts +4 -4
- package/dist/src/functions/get-installed-package.function.d.ts.map +1 -1
- package/dist/src/functions/get-installed-package.function.js +11 -4
- package/dist/src/functions/get-installed-package.function.js.map +1 -1
- package/dist/src/functions/get-installed-package.function.test.d.ts +2 -0
- package/dist/src/functions/get-installed-package.function.test.d.ts.map +1 -0
- package/dist/src/functions/get-installed-package.function.test.js +35 -0
- package/dist/src/functions/get-installed-package.function.test.js.map +1 -0
- package/dist/src/functions/get-knowledge.function.d.ts +1 -1
- package/dist/src/functions/get-knowledge.function.d.ts.map +1 -1
- package/dist/src/functions/get-knowledge.function.js +2 -2
- package/dist/src/functions/get-knowledge.function.js.map +1 -1
- package/dist/src/functions/get-knowledge.function.test.js +1 -1
- package/dist/src/functions/get-my-access.function.d.ts +4 -4
- package/dist/src/functions/get-my-access.function.d.ts.map +1 -1
- package/dist/src/functions/get-my-access.function.js +1 -1
- package/dist/src/functions/get-my-access.function.js.map +1 -1
- package/dist/src/functions/get-openapi-categories.function.d.ts +1 -1
- package/dist/src/functions/get-openapi-categories.function.d.ts.map +1 -1
- package/dist/src/functions/get-openapi-categories.function.js +1 -1
- package/dist/src/functions/get-openapi-categories.function.js.map +1 -1
- package/dist/src/functions/get-openapi-detail.function.d.ts +4 -4
- package/dist/src/functions/get-openapi-detail.function.d.ts.map +1 -1
- package/dist/src/functions/get-openapi-detail.function.js +1 -1
- package/dist/src/functions/get-openapi-detail.function.js.map +1 -1
- package/dist/src/functions/get-openapis.function.d.ts +4 -4
- package/dist/src/functions/get-openapis.function.d.ts.map +1 -1
- package/dist/src/functions/get-openapis.function.js +1 -1
- package/dist/src/functions/get-openapis.function.js.map +1 -1
- package/dist/src/functions/get-scenario-artifact.function.d.ts +19 -0
- package/dist/src/functions/get-scenario-artifact.function.d.ts.map +1 -0
- package/dist/src/functions/get-scenario-artifact.function.js +30 -0
- package/dist/src/functions/get-scenario-artifact.function.js.map +1 -0
- package/dist/src/functions/get-scenario-run.function.d.ts +9 -0
- package/dist/src/functions/get-scenario-run.function.d.ts.map +1 -0
- package/dist/src/functions/get-scenario-run.function.js +14 -0
- package/dist/src/functions/get-scenario-run.function.js.map +1 -0
- package/dist/src/functions/get-schema.function.d.ts +4 -4
- package/dist/src/functions/get-schema.function.d.ts.map +1 -1
- package/dist/src/functions/get-schema.function.js +1 -1
- package/dist/src/functions/get-schema.function.js.map +1 -1
- package/dist/src/functions/get-scorers.function.d.ts +1 -1
- package/dist/src/functions/get-scorers.function.d.ts.map +1 -1
- package/dist/src/functions/get-scorers.function.js +2 -2
- package/dist/src/functions/get-scorers.function.js.map +1 -1
- package/dist/src/functions/get-security-audit.function.d.ts +2 -2
- package/dist/src/functions/get-security-audit.function.d.ts.map +1 -1
- package/dist/src/functions/get-security-audit.function.js +1 -1
- package/dist/src/functions/get-security-audit.function.js.map +1 -1
- package/dist/src/functions/get-state-diff.function.d.ts +4 -4
- package/dist/src/functions/get-state-diff.function.d.ts.map +1 -1
- package/dist/src/functions/get-state-diff.function.js +1 -1
- package/dist/src/functions/get-state-diff.function.js.map +1 -1
- package/dist/src/functions/get-surface.function.d.ts +3 -0
- package/dist/src/functions/get-surface.function.d.ts.map +1 -0
- package/dist/src/functions/get-surface.function.js +10 -0
- package/dist/src/functions/get-surface.function.js.map +1 -0
- package/dist/src/functions/get-webhook-delivery.function.d.ts +5 -5
- package/dist/src/functions/get-webhook-delivery.function.d.ts.map +1 -1
- package/dist/src/functions/get-webhook-delivery.function.js +1 -1
- package/dist/src/functions/get-webhook-delivery.function.js.map +1 -1
- package/dist/src/functions/get-workflow-meta-by-id.function.d.ts +13 -13
- package/dist/src/functions/get-workflow-meta-by-id.function.d.ts.map +1 -1
- package/dist/src/functions/get-workflow-meta-by-id.function.js +1 -1
- package/dist/src/functions/get-workflow-meta-by-id.function.js.map +1 -1
- package/dist/src/functions/get-workflow-run-history.function.d.ts +4 -4
- package/dist/src/functions/get-workflow-run-history.function.d.ts.map +1 -1
- package/dist/src/functions/get-workflow-run-history.function.js +1 -1
- package/dist/src/functions/get-workflow-run-history.function.js.map +1 -1
- package/dist/src/functions/get-workflow-run-names.function.d.ts +1 -1
- package/dist/src/functions/get-workflow-run-names.function.d.ts.map +1 -1
- package/dist/src/functions/get-workflow-run-names.function.js +1 -1
- package/dist/src/functions/get-workflow-run-names.function.js.map +1 -1
- package/dist/src/functions/get-workflow-run-steps.function.d.ts +4 -4
- package/dist/src/functions/get-workflow-run-steps.function.d.ts.map +1 -1
- package/dist/src/functions/get-workflow-run-steps.function.js +1 -1
- package/dist/src/functions/get-workflow-run-steps.function.js.map +1 -1
- package/dist/src/functions/get-workflow-run.function.d.ts +4 -4
- package/dist/src/functions/get-workflow-run.function.d.ts.map +1 -1
- package/dist/src/functions/get-workflow-run.function.js +1 -1
- package/dist/src/functions/get-workflow-run.function.js.map +1 -1
- package/dist/src/functions/get-workflow-runs.function.d.ts +4 -4
- package/dist/src/functions/get-workflow-runs.function.d.ts.map +1 -1
- package/dist/src/functions/get-workflow-runs.function.js +1 -1
- package/dist/src/functions/get-workflow-runs.function.js.map +1 -1
- package/dist/src/functions/get-workflow-version.function.d.ts +4 -4
- package/dist/src/functions/get-workflow-version.function.d.ts.map +1 -1
- package/dist/src/functions/get-workflow-version.function.js +1 -1
- package/dist/src/functions/get-workflow-version.function.js.map +1 -1
- package/dist/src/functions/install-addon.function.d.ts +4 -4
- package/dist/src/functions/install-addon.function.d.ts.map +1 -1
- package/dist/src/functions/install-addon.function.js +4 -4
- package/dist/src/functions/install-addon.function.js.map +1 -1
- package/dist/src/functions/install-addon.function.test.js +4 -4
- package/dist/src/functions/install-addon.function.test.js.map +1 -1
- package/dist/src/functions/install-openapi-addon.function.d.ts +4 -4
- package/dist/src/functions/install-openapi-addon.function.d.ts.map +1 -1
- package/dist/src/functions/install-openapi-addon.function.js +3 -3
- package/dist/src/functions/install-openapi-addon.function.js.map +1 -1
- package/dist/src/functions/list-scenario-runs.function.d.ts +9 -0
- package/dist/src/functions/list-scenario-runs.function.d.ts.map +1 -0
- package/dist/src/functions/list-scenario-runs.function.js +14 -0
- package/dist/src/functions/list-scenario-runs.function.js.map +1 -0
- package/dist/src/functions/list-webhook-deliveries.function.d.ts +5 -5
- package/dist/src/functions/list-webhook-deliveries.function.d.ts.map +1 -1
- package/dist/src/functions/list-webhook-deliveries.function.js +1 -1
- package/dist/src/functions/list-webhook-deliveries.function.js.map +1 -1
- package/dist/src/functions/ping.function.d.ts +4 -4
- package/dist/src/functions/ping.function.d.ts.map +1 -1
- package/dist/src/functions/ping.function.js +1 -1
- package/dist/src/functions/ping.function.js.map +1 -1
- package/dist/src/functions/read-agent-source.function.d.ts +4 -4
- package/dist/src/functions/read-agent-source.function.d.ts.map +1 -1
- package/dist/src/functions/read-agent-source.function.js +2 -2
- package/dist/src/functions/read-agent-source.function.js.map +1 -1
- package/dist/src/functions/read-function-body.function.d.ts +4 -4
- package/dist/src/functions/read-function-body.function.d.ts.map +1 -1
- package/dist/src/functions/read-function-body.function.js +2 -2
- package/dist/src/functions/read-function-body.function.js.map +1 -1
- package/dist/src/functions/read-function-source.function.d.ts +4 -4
- package/dist/src/functions/read-function-source.function.d.ts.map +1 -1
- package/dist/src/functions/read-function-source.function.js +2 -2
- package/dist/src/functions/read-function-source.function.js.map +1 -1
- package/dist/src/functions/render-email-preview.function.d.ts +1 -1
- package/dist/src/functions/render-email-preview.function.d.ts.map +1 -1
- package/dist/src/functions/render-email-preview.function.js +8 -19
- package/dist/src/functions/render-email-preview.function.js.map +1 -1
- package/dist/src/functions/render-email-preview.function.test.js +1 -1
- package/dist/src/functions/render-email-preview.function.test.js.map +1 -1
- package/dist/src/functions/render-email-template.utils.d.ts +8 -3
- package/dist/src/functions/render-email-template.utils.d.ts.map +1 -1
- package/dist/src/functions/render-email-template.utils.js +71 -17
- package/dist/src/functions/render-email-template.utils.js.map +1 -1
- package/dist/src/functions/render-email-template.utils.test.js +56 -23
- package/dist/src/functions/render-email-template.utils.test.js.map +1 -1
- package/dist/src/functions/run-security-audit.function.d.ts +2 -2
- package/dist/src/functions/run-security-audit.function.d.ts.map +1 -1
- package/dist/src/functions/run-security-audit.function.js +1 -1
- package/dist/src/functions/run-security-audit.function.js.map +1 -1
- package/dist/src/functions/run-security-audit.function.test.d.ts +2 -0
- package/dist/src/functions/run-security-audit.function.test.d.ts.map +1 -0
- package/dist/src/functions/run-security-audit.function.test.js +98 -0
- package/dist/src/functions/run-security-audit.function.test.js.map +1 -0
- package/dist/src/functions/scope-add-scope-to-user.function.d.ts +4 -4
- package/dist/src/functions/scope-add-scope-to-user.function.d.ts.map +1 -1
- package/dist/src/functions/scope-add-scope-to-user.function.js +1 -1
- package/dist/src/functions/scope-add-scope-to-user.function.js.map +1 -1
- package/dist/src/functions/scope-add-user-to-role.function.d.ts +4 -4
- package/dist/src/functions/scope-add-user-to-role.function.d.ts.map +1 -1
- package/dist/src/functions/scope-add-user-to-role.function.js +1 -1
- package/dist/src/functions/scope-add-user-to-role.function.js.map +1 -1
- package/dist/src/functions/scope-create-role.function.d.ts +4 -4
- package/dist/src/functions/scope-create-role.function.d.ts.map +1 -1
- package/dist/src/functions/scope-create-role.function.js +1 -1
- package/dist/src/functions/scope-create-role.function.js.map +1 -1
- package/dist/src/functions/scope-delete-role.function.d.ts +4 -4
- package/dist/src/functions/scope-delete-role.function.d.ts.map +1 -1
- package/dist/src/functions/scope-delete-role.function.js +1 -1
- package/dist/src/functions/scope-delete-role.function.js.map +1 -1
- package/dist/src/functions/scope-list-declared.function.d.ts +4 -4
- package/dist/src/functions/scope-list-declared.function.d.ts.map +1 -1
- package/dist/src/functions/scope-list-declared.function.js +1 -1
- package/dist/src/functions/scope-list-declared.function.js.map +1 -1
- package/dist/src/functions/scope-list-roles.function.d.ts +5 -5
- package/dist/src/functions/scope-list-roles.function.d.ts.map +1 -1
- package/dist/src/functions/scope-list-roles.function.js +1 -1
- package/dist/src/functions/scope-list-roles.function.js.map +1 -1
- package/dist/src/functions/scope-list-user-roles.function.d.ts +4 -4
- package/dist/src/functions/scope-list-user-roles.function.d.ts.map +1 -1
- package/dist/src/functions/scope-list-user-roles.function.js +1 -1
- package/dist/src/functions/scope-list-user-roles.function.js.map +1 -1
- package/dist/src/functions/scope-remove-scope-from-user.function.d.ts +4 -4
- package/dist/src/functions/scope-remove-scope-from-user.function.d.ts.map +1 -1
- package/dist/src/functions/scope-remove-scope-from-user.function.js +1 -1
- package/dist/src/functions/scope-remove-scope-from-user.function.js.map +1 -1
- package/dist/src/functions/scope-remove-user-from-role.function.d.ts +4 -4
- package/dist/src/functions/scope-remove-user-from-role.function.d.ts.map +1 -1
- package/dist/src/functions/scope-remove-user-from-role.function.js +1 -1
- package/dist/src/functions/scope-remove-user-from-role.function.js.map +1 -1
- package/dist/src/functions/scope-set-role-scopes.function.d.ts +4 -4
- package/dist/src/functions/scope-set-role-scopes.function.d.ts.map +1 -1
- package/dist/src/functions/scope-set-role-scopes.function.js +1 -1
- package/dist/src/functions/scope-set-role-scopes.function.js.map +1 -1
- package/dist/src/functions/secret-get.function.d.ts +4 -4
- package/dist/src/functions/secret-get.function.d.ts.map +1 -1
- package/dist/src/functions/secret-get.function.js +1 -1
- package/dist/src/functions/secret-get.function.js.map +1 -1
- package/dist/src/functions/secret-has.function.d.ts +4 -4
- package/dist/src/functions/secret-has.function.d.ts.map +1 -1
- package/dist/src/functions/secret-has.function.js +1 -1
- package/dist/src/functions/secret-has.function.js.map +1 -1
- package/dist/src/functions/secret-set.function.d.ts +4 -4
- package/dist/src/functions/secret-set.function.d.ts.map +1 -1
- package/dist/src/functions/secret-set.function.js +1 -1
- package/dist/src/functions/secret-set.function.js.map +1 -1
- package/dist/src/functions/stream-workflow-run.function.d.ts +4 -4
- package/dist/src/functions/stream-workflow-run.function.d.ts.map +1 -1
- package/dist/src/functions/stream-workflow-run.function.js +1 -1
- package/dist/src/functions/stream-workflow-run.function.js.map +1 -1
- package/dist/src/functions/update-agent-config.function.d.ts +4 -4
- package/dist/src/functions/update-agent-config.function.d.ts.map +1 -1
- package/dist/src/functions/update-agent-config.function.js +2 -2
- package/dist/src/functions/update-agent-config.function.js.map +1 -1
- package/dist/src/functions/update-dependency.function.d.ts +5 -5
- package/dist/src/functions/update-dependency.function.d.ts.map +1 -1
- package/dist/src/functions/update-dependency.function.js +1 -1
- package/dist/src/functions/update-dependency.function.js.map +1 -1
- package/dist/src/functions/update-dependency.function.test.d.ts +2 -0
- package/dist/src/functions/update-dependency.function.test.d.ts.map +1 -0
- package/dist/src/functions/update-dependency.function.test.js +181 -0
- package/dist/src/functions/update-dependency.function.test.js.map +1 -0
- package/dist/src/functions/update-email-template.function.d.ts +4 -4
- package/dist/src/functions/update-email-template.function.d.ts.map +1 -1
- package/dist/src/functions/update-email-template.function.js +2 -3
- package/dist/src/functions/update-email-template.function.js.map +1 -1
- package/dist/src/functions/update-function-body.function.d.ts +4 -4
- package/dist/src/functions/update-function-body.function.d.ts.map +1 -1
- package/dist/src/functions/update-function-body.function.js +2 -2
- package/dist/src/functions/update-function-body.function.js.map +1 -1
- package/dist/src/functions/update-function-config.function.d.ts +4 -4
- package/dist/src/functions/update-function-config.function.d.ts.map +1 -1
- package/dist/src/functions/update-function-config.function.js +2 -2
- package/dist/src/functions/update-function-config.function.js.map +1 -1
- package/dist/src/lib/addon-readiness.test.js +1 -1
- package/dist/src/lib/audit-exec.d.ts +2 -2
- package/dist/src/lib/audit-exec.d.ts.map +1 -1
- package/dist/src/lib/audit-exec.test.d.ts +2 -0
- package/dist/src/lib/audit-exec.test.d.ts.map +1 -0
- package/dist/src/lib/audit-exec.test.js +97 -0
- package/dist/src/lib/audit-exec.test.js.map +1 -0
- package/dist/src/lib/derive-instance-overrides.js +1 -1
- package/dist/src/lib/resolve-audit-users.d.ts +1 -1
- package/dist/src/lib/resolve-audit-users.d.ts.map +1 -1
- package/dist/src/lib/resolve-package-manager.d.ts +11 -0
- package/dist/src/lib/resolve-package-manager.d.ts.map +1 -1
- package/dist/src/lib/resolve-package-manager.js +49 -20
- package/dist/src/lib/resolve-package-manager.js.map +1 -1
- package/dist/src/lib/resolve-package-manager.test.js +39 -1
- package/dist/src/lib/resolve-package-manager.test.js.map +1 -1
- package/dist/src/lib/surface.d.ts +30 -0
- package/dist/src/lib/surface.d.ts.map +1 -0
- package/dist/src/lib/surface.js +47 -0
- package/dist/src/lib/surface.js.map +1 -0
- package/dist/src/lib/surface.test.d.ts +2 -0
- package/dist/src/lib/surface.test.d.ts.map +1 -0
- package/dist/src/lib/surface.test.js +99 -0
- package/dist/src/lib/surface.test.js.map +1 -0
- package/dist/src/lib/surface.types.d.ts +59 -0
- package/dist/src/lib/surface.types.d.ts.map +1 -0
- package/dist/src/lib/surface.types.js +2 -0
- package/dist/src/lib/surface.types.js.map +1 -0
- package/dist/src/scopes.js +21 -59
- package/dist/src/scopes.js.map +1 -1
- package/dist/src/services/addon-readiness.service.d.ts +2 -1
- package/dist/src/services/addon-readiness.service.d.ts.map +1 -1
- package/dist/src/services/addon-readiness.service.js.map +1 -1
- package/dist/src/services/addon.service.d.ts +5 -5
- package/dist/src/services/addon.service.d.ts.map +1 -1
- package/dist/src/services/db-schema.service.d.ts +1 -1
- package/dist/src/services/db-schema.service.d.ts.map +1 -1
- package/dist/src/services/wiring.service.d.ts +7 -7
- package/dist/src/services/wiring.service.d.ts.map +1 -1
- package/dist/src/services.d.ts +1 -1
- package/dist/src/services.d.ts.map +1 -1
- package/dist/src/services.js +12 -9
- package/dist/src/services.js.map +1 -1
- package/dist/types/application-types.d.ts +10 -2
- package/package.json +17 -20
- package/dist/.pikku/schemas/schemas/GetAuditFiltersOutput.schema.json +0 -1
- package/dist/.pikku/schemas/schemas/GetAuditsInput.schema.json +0 -1
- package/dist/.pikku/schemas/schemas/GetAuditsOutput.schema.json +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export declare const installOpenapiAddon: import("#pikku").PikkuFunctionConfig<{
|
|
1
|
+
export declare const installOpenapiAddon: import("#pikku/addon/function").PikkuFunctionConfig<{
|
|
2
2
|
name: string;
|
|
3
3
|
swaggerUrl: string;
|
|
4
4
|
credential?: "apikey" | "bearer" | "oauth2";
|
|
5
5
|
}, {
|
|
6
6
|
success: boolean;
|
|
7
7
|
message: string;
|
|
8
|
-
}, "rpc" | "session", import("#pikku").PikkuFunction<{
|
|
8
|
+
}, "rpc" | "session", import("#pikku/addon/function").PikkuFunction<{
|
|
9
9
|
name: string;
|
|
10
10
|
swaggerUrl: string;
|
|
11
11
|
credential?: "apikey" | "bearer" | "oauth2";
|
|
12
12
|
}, {
|
|
13
13
|
success: boolean;
|
|
14
14
|
message: string;
|
|
15
|
-
}, "rpc" | "session", import("#pikku").WiredServices> | import("#pikku").PikkuFunctionSessionless<{
|
|
15
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices> | import("#pikku/addon/function").PikkuFunctionSessionless<{
|
|
16
16
|
name: string;
|
|
17
17
|
swaggerUrl: string;
|
|
18
18
|
credential?: "apikey" | "bearer" | "oauth2";
|
|
19
19
|
}, {
|
|
20
20
|
success: boolean;
|
|
21
21
|
message: string;
|
|
22
|
-
}, "rpc" | "session", import("#pikku").WiredServices, unknown>, undefined, undefined>;
|
|
22
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown>, undefined, undefined>;
|
|
23
23
|
//# sourceMappingURL=install-openapi-addon.function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install-openapi-addon.function.d.ts","sourceRoot":"","sources":["../../../src/functions/install-openapi-addon.function.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,mBAAmB;UAEtB,MAAM;gBACA,MAAM;iBACL,QAAQ,GAAG,QAAQ,GAAG,QAAQ;;aAElC,OAAO;aAAW,MAAM;;UAJ3B,MAAM;gBACA,MAAM;iBACL,QAAQ,GAAG,QAAQ,GAAG,QAAQ;;aAElC,OAAO;aAAW,MAAM;;UAJ3B,MAAM;gBACA,MAAM;iBACL,QAAQ,GAAG,QAAQ,GAAG,QAAQ;;aAElC,OAAO;aAAW,MAAM;
|
|
1
|
+
{"version":3,"file":"install-openapi-addon.function.d.ts","sourceRoot":"","sources":["../../../src/functions/install-openapi-addon.function.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,mBAAmB;UAEtB,MAAM;gBACA,MAAM;iBACL,QAAQ,GAAG,QAAQ,GAAG,QAAQ;;aAElC,OAAO;aAAW,MAAM;;UAJ3B,MAAM;gBACA,MAAM;iBACL,QAAQ,GAAG,QAAQ,GAAG,QAAQ;;aAElC,OAAO;aAAW,MAAM;;UAJ3B,MAAM;gBACA,MAAM;iBACL,QAAQ,GAAG,QAAQ,GAAG,QAAQ;;aAElC,OAAO;aAAW,MAAM;oGAsHnC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LocalEnvironmentOnlyError } from '
|
|
2
|
-
import { pikkuFunc } from '#pikku';
|
|
1
|
+
import { LocalEnvironmentOnlyError } from '#pikku/addon/error';
|
|
2
|
+
import { pikkuFunc } from '#pikku/addon/function';
|
|
3
3
|
import { findProjectRoot } from '../lib/find-project-root.js';
|
|
4
4
|
import { execPrefix, resolvePackageManager, } from '../lib/resolve-package-manager.js';
|
|
5
5
|
export const installOpenapiAddon = pikkuFunc({
|
|
@@ -88,7 +88,7 @@ export const installOpenapiAddon = pikkuFunc({
|
|
|
88
88
|
mkdirSync(addonsDir, { recursive: true });
|
|
89
89
|
const wiringFile = join(addonsDir, `${name}.addon.ts`);
|
|
90
90
|
if (!existsSync(wiringFile)) {
|
|
91
|
-
writeFileSync(wiringFile, `import { wireAddon } from '#pikku/
|
|
91
|
+
writeFileSync(wiringFile, `import { wireAddon } from '#pikku/addon'\n\nwireAddon({ name: '${name}', package: '@pikku/addon-${name}' })\n`, 'utf-8');
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
execFileSync(runner, [...runnerArgs, 'pikku', 'all'], {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install-openapi-addon.function.js","sourceRoot":"","sources":["../../../src/functions/install-openapi-addon.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"install-openapi-addon.function.js","sourceRoot":"","sources":["../../../src/functions/install-openapi-addon.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,EACL,UAAU,EACV,qBAAqB,GACtB,MAAM,mCAAmC,CAAA;AAE1C,MAAM,CAAC,MAAM,mBAAmB,GAAG,SAAS,CAO1C;IACA,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EACT,2FAA2F;IAC7F,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,IAAI;IACV,MAAM,EAAE,CAAC,8BAA8B,CAAC;IACxC,IAAI,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,EAAE;QAChE,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,CAAA;QACrD,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,CAAA;QACnD,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,CAAA;QACxE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC/B,MAAM,IAAI,KAAK,CAAC,uBAAuB,IAAI,EAAE,CAAC,CAAA;QAChD,CAAC;QACD,IAAI,CAAC;YACH,IAAI,GAAG,CAAC,UAAU,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,EAAE,IAAI,EAAE,CAAC,CAAA;YACzC,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,EAAE,GAAG,IAAI,WAAW,CAAC,CAAA;YACtD,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;gBAC5B,aAAa,CACX,UAAU,EACV,kEAAkE,IAAI,6BAA6B,IAAI,QAAQ,EAC/G,OAAO,CACR,CAAA;YACH,CAAC;QACH,CAAC;QAED,YAAY,CAAC,MAAM,EAAE,CAAC,GAAG,UAAU,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE;YACpD,GAAG,EAAE,OAAO;YACZ,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,OAAO;SACjB,CAAC,CAAA;QAEF,OAAO;YACL,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,oBAAoB,IAAI,gDAAgD;SAClF,CAAA;IACH,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ScenarioRunSummary } from '@pikku/core/scenario';
|
|
2
|
+
export declare const listScenarioRuns: import("#pikku/addon/function").PikkuFunctionConfig<{
|
|
3
|
+
limit?: number;
|
|
4
|
+
}, ScenarioRunSummary[], "rpc" | "session", import("#pikku/addon/function").PikkuFunction<{
|
|
5
|
+
limit?: number;
|
|
6
|
+
}, ScenarioRunSummary[], "rpc" | "session", import("#pikku/addon/function").WiredServices> | import("#pikku/addon/function").PikkuFunctionSessionless<{
|
|
7
|
+
limit?: number;
|
|
8
|
+
}, ScenarioRunSummary[], "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown>, undefined, undefined>;
|
|
9
|
+
//# sourceMappingURL=list-scenario-runs.function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-scenario-runs.function.d.ts","sourceRoot":"","sources":["../../../src/functions/list-scenario-runs.function.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,gBAAgB;YACjB,MAAM;;YAAN,MAAM;;YAAN,MAAM;0HAchB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { pikkuFunc } from '#pikku/addon/function';
|
|
2
|
+
export const listScenarioRuns = pikkuFunc({
|
|
3
|
+
title: 'List Scenario Runs',
|
|
4
|
+
description: 'Past `pikku scenario run` invocations, newest first, each summarised with its outcome, counts and how many artifacts it left. Empty when the project has never run a scenario.',
|
|
5
|
+
expose: true,
|
|
6
|
+
scopes: ['pikku:console:scenarios:read'],
|
|
7
|
+
func: async ({ scenarioRunStore }, input) => {
|
|
8
|
+
if (!scenarioRunStore) {
|
|
9
|
+
return [];
|
|
10
|
+
}
|
|
11
|
+
return scenarioRunStore.list({ limit: input?.limit ?? 50 });
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=list-scenario-runs.function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-scenario-runs.function.js","sourceRoot":"","sources":["../../../src/functions/list-scenario-runs.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,SAAS,CAGvC;IACA,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EACT,gLAAgL;IAClL,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,CAAC,8BAA8B,CAAC;IACxC,IAAI,EAAE,KAAK,EAAE,EAAE,gBAAgB,EAAE,EAAE,KAAK,EAAE,EAAE;QAC1C,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACtB,OAAO,EAAE,CAAA;QACX,CAAC;QACD,OAAO,gBAAgB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE,EAAE,CAAC,CAAA;IAC7D,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { WebhookDeliveryRecord } from '@pikku/core/
|
|
2
|
-
export declare const listWebhookDeliveries: import("#pikku").PikkuFunctionConfig<{
|
|
1
|
+
import type { WebhookDeliveryRecord } from '@pikku/core/services';
|
|
2
|
+
export declare const listWebhookDeliveries: import("#pikku/addon/function").PikkuFunctionConfig<{
|
|
3
3
|
organizationId?: string;
|
|
4
4
|
limit?: number;
|
|
5
|
-
}, WebhookDeliveryRecord[], "rpc" | "session", import("#pikku").PikkuFunction<{
|
|
5
|
+
}, WebhookDeliveryRecord[], "rpc" | "session", import("#pikku/addon/function").PikkuFunction<{
|
|
6
6
|
organizationId?: string;
|
|
7
7
|
limit?: number;
|
|
8
|
-
}, WebhookDeliveryRecord[], "rpc" | "session", import("#pikku").WiredServices> | import("#pikku").PikkuFunctionSessionless<{
|
|
8
|
+
}, WebhookDeliveryRecord[], "rpc" | "session", import("#pikku/addon/function").WiredServices> | import("#pikku/addon/function").PikkuFunctionSessionless<{
|
|
9
9
|
organizationId?: string;
|
|
10
10
|
limit?: number;
|
|
11
|
-
}, WebhookDeliveryRecord[], "rpc" | "session", import("#pikku").WiredServices, unknown>, undefined, undefined>;
|
|
11
|
+
}, WebhookDeliveryRecord[], "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown>, undefined, undefined>;
|
|
12
12
|
//# sourceMappingURL=list-webhook-deliveries.function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-deliveries.function.d.ts","sourceRoot":"","sources":["../../../src/functions/list-webhook-deliveries.function.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"list-webhook-deliveries.function.d.ts","sourceRoot":"","sources":["../../../src/functions/list-webhook-deliveries.function.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAGjE,eAAO,MAAM,qBAAqB;qBACb,MAAM;YAAU,MAAM;;qBAAtB,MAAM;YAAU,MAAM;;qBAAtB,MAAM;YAAU,MAAM;6HAWzC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { pikkuFunc } from '#pikku';
|
|
1
|
+
import { pikkuFunc } from '#pikku/addon/function';
|
|
2
2
|
export const listWebhookDeliveries = pikkuFunc({
|
|
3
3
|
title: 'List Webhook Deliveries',
|
|
4
4
|
description: 'Lists outgoing webhook deliveries (most recent first), optionally scoped to an organization.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-deliveries.function.js","sourceRoot":"","sources":["../../../src/functions/list-webhook-deliveries.function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"list-webhook-deliveries.function.js","sourceRoot":"","sources":["../../../src/functions/list-webhook-deliveries.function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAG5C;IACA,KAAK,EAAE,yBAAyB;IAChC,WAAW,EACT,8FAA8F;IAChG,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,CAAC,4BAA4B,CAAC;IACtC,IAAI,EAAE,KAAK,EAAE,EAAE,cAAc,EAAE,EAAE,KAAK,EAAE,EAAE;QACxC,OAAO,cAAc,CAAC,cAAc,CAAC,KAAK,IAAI,SAAS,CAAC,CAAA;IAC1D,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const ping: import("#pikku").PikkuFunctionConfig<null, {
|
|
1
|
+
export declare const ping: import("#pikku/addon/function").PikkuFunctionConfig<null, {
|
|
2
2
|
pong: true;
|
|
3
|
-
}, "rpc" | "session", import("#pikku").PikkuFunction<null, {
|
|
3
|
+
}, "rpc" | "session", import("#pikku/addon/function").PikkuFunction<null, {
|
|
4
4
|
pong: true;
|
|
5
|
-
}, "rpc" | "session", import("#pikku").WiredServices> | import("#pikku").PikkuFunctionSessionless<null, {
|
|
5
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices> | import("#pikku/addon/function").PikkuFunctionSessionless<null, {
|
|
6
6
|
pong: true;
|
|
7
|
-
}, "rpc" | "session", import("#pikku").WiredServices, unknown>, undefined, undefined>;
|
|
7
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown>, undefined, undefined>;
|
|
8
8
|
//# sourceMappingURL=ping.function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping.function.d.ts","sourceRoot":"","sources":["../../../src/functions/ping.function.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;UAA2B,IAAI;;UAAJ,IAAI;;UAAJ,IAAI;
|
|
1
|
+
{"version":3,"file":"ping.function.d.ts","sourceRoot":"","sources":["../../../src/functions/ping.function.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;UAA2B,IAAI;;UAAJ,IAAI;;UAAJ,IAAI;oGAO9C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping.function.js","sourceRoot":"","sources":["../../../src/functions/ping.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ping.function.js","sourceRoot":"","sources":["../../../src/functions/ping.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,IAAI,GAAG,SAAS,CAAuB;IAClD,KAAK,EAAE,MAAM;IACb,WAAW,EAAE,8CAA8C;IAC3D,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,KAAK,IAAI,EAAE;QACf,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAA;IACvB,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export declare const readAgentSource: import("#pikku").PikkuFunctionConfig<{
|
|
1
|
+
export declare const readAgentSource: import("#pikku/addon/function").PikkuFunctionConfig<{
|
|
2
2
|
sourceFile: string;
|
|
3
3
|
exportedName: string;
|
|
4
4
|
}, {
|
|
5
5
|
config: Record<string, unknown>;
|
|
6
|
-
}, "rpc" | "session", import("#pikku").PikkuFunction<{
|
|
6
|
+
}, "rpc" | "session", import("#pikku/addon/function").PikkuFunction<{
|
|
7
7
|
sourceFile: string;
|
|
8
8
|
exportedName: string;
|
|
9
9
|
}, {
|
|
10
10
|
config: Record<string, unknown>;
|
|
11
|
-
}, "rpc" | "session", import("#pikku").WiredServices> | import("#pikku").PikkuFunctionSessionless<{
|
|
11
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices> | import("#pikku/addon/function").PikkuFunctionSessionless<{
|
|
12
12
|
sourceFile: string;
|
|
13
13
|
exportedName: string;
|
|
14
14
|
}, {
|
|
15
15
|
config: Record<string, unknown>;
|
|
16
|
-
}, "rpc" | "session", import("#pikku").WiredServices, unknown>, undefined, undefined>;
|
|
16
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown>, undefined, undefined>;
|
|
17
17
|
//# sourceMappingURL=read-agent-source.function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-agent-source.function.d.ts","sourceRoot":"","sources":["../../../src/functions/read-agent-source.function.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;gBACZ,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;gBADnB,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;gBADnB,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"read-agent-source.function.d.ts","sourceRoot":"","sources":["../../../src/functions/read-agent-source.function.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;gBACZ,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;gBADnB,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;gBADnB,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;oGAejC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LocalEnvironmentOnlyError } from '
|
|
2
|
-
import { pikkuFunc } from '#pikku';
|
|
1
|
+
import { LocalEnvironmentOnlyError } from '#pikku/addon/error';
|
|
2
|
+
import { pikkuFunc } from '#pikku/addon/function';
|
|
3
3
|
export const readAgentSource = pikkuFunc({
|
|
4
4
|
title: 'Read Agent Source',
|
|
5
5
|
description: 'Reads the source code of a pikku AI agent definition and returns its config properties.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-agent-source.function.js","sourceRoot":"","sources":["../../../src/functions/read-agent-source.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"read-agent-source.function.js","sourceRoot":"","sources":["../../../src/functions/read-agent-source.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAGtC;IACA,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EACT,yFAAyF;IAC3F,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,CAAC,2BAA2B,CAAC;IACrC,IAAI,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,EAAE;QAChE,IAAI,CAAC,eAAe,EAAE,CAAC;YACrB,MAAM,IAAI,yBAAyB,CACjC,0CAA0C,CAC3C,CAAA;QACH,CAAC;QACD,OAAO,eAAe,CAAC,eAAe,CAAC,UAAU,EAAE,YAAY,CAAC,CAAA;IAClE,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export declare const readFunctionBody: import("#pikku").PikkuFunctionConfig<{
|
|
1
|
+
export declare const readFunctionBody: import("#pikku/addon/function").PikkuFunctionConfig<{
|
|
2
2
|
sourceFile: string;
|
|
3
3
|
exportedName: string;
|
|
4
4
|
}, {
|
|
5
5
|
body: string;
|
|
6
|
-
}, "rpc" | "session", import("#pikku").PikkuFunction<{
|
|
6
|
+
}, "rpc" | "session", import("#pikku/addon/function").PikkuFunction<{
|
|
7
7
|
sourceFile: string;
|
|
8
8
|
exportedName: string;
|
|
9
9
|
}, {
|
|
10
10
|
body: string;
|
|
11
|
-
}, "rpc" | "session", import("#pikku").WiredServices> | import("#pikku").PikkuFunctionSessionless<{
|
|
11
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices> | import("#pikku/addon/function").PikkuFunctionSessionless<{
|
|
12
12
|
sourceFile: string;
|
|
13
13
|
exportedName: string;
|
|
14
14
|
}, {
|
|
15
15
|
body: string;
|
|
16
|
-
}, "rpc" | "session", import("#pikku").WiredServices, unknown>, undefined, undefined>;
|
|
16
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown>, undefined, undefined>;
|
|
17
17
|
//# sourceMappingURL=read-function-body.function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-function-body.function.d.ts","sourceRoot":"","sources":["../../../src/functions/read-function-body.function.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB;gBACb,MAAM;kBAAgB,MAAM;;UAClC,MAAM;;gBADA,MAAM;kBAAgB,MAAM;;UAClC,MAAM;;gBADA,MAAM;kBAAgB,MAAM;;UAClC,MAAM;
|
|
1
|
+
{"version":3,"file":"read-function-body.function.d.ts","sourceRoot":"","sources":["../../../src/functions/read-function-body.function.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB;gBACb,MAAM;kBAAgB,MAAM;;UAClC,MAAM;;gBADA,MAAM;kBAAgB,MAAM;;UAClC,MAAM;;gBADA,MAAM;kBAAgB,MAAM;;UAClC,MAAM;oGAmBd,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LocalEnvironmentOnlyError } from '
|
|
2
|
-
import { pikkuFunc } from '#pikku';
|
|
1
|
+
import { LocalEnvironmentOnlyError } from '#pikku/addon/error';
|
|
2
|
+
import { pikkuFunc } from '#pikku/addon/function';
|
|
3
3
|
export const readFunctionBody = pikkuFunc({
|
|
4
4
|
title: 'Read Function Body',
|
|
5
5
|
description: 'Reads the function body (the func: async (...) => { ... } part) from a pikku function definition.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-function-body.function.js","sourceRoot":"","sources":["../../../src/functions/read-function-body.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"read-function-body.function.js","sourceRoot":"","sources":["../../../src/functions/read-function-body.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,SAAS,CAGvC;IACA,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EACT,mGAAmG;IACrG,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,CAAC,4BAA4B,CAAC;IACtC,IAAI,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,EAAE;QAChE,IAAI,CAAC,eAAe,EAAE,CAAC;YACrB,MAAM,IAAI,yBAAyB,CACjC,0CAA0C,CAC3C,CAAA;QACH,CAAC;QACD,MAAM,IAAI,GAAG,MAAM,eAAe,CAAC,gBAAgB,CACjD,UAAU,EACV,YAAY,CACb,CAAA;QACD,OAAO,EAAE,IAAI,EAAE,CAAA;IACjB,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export declare const readFunctionSource: import("#pikku").PikkuFunctionConfig<{
|
|
1
|
+
export declare const readFunctionSource: import("#pikku/addon/function").PikkuFunctionConfig<{
|
|
2
2
|
sourceFile: string;
|
|
3
3
|
exportedName: string;
|
|
4
4
|
}, {
|
|
5
5
|
config: Record<string, unknown>;
|
|
6
6
|
body: string | null;
|
|
7
7
|
wrapperName: string;
|
|
8
|
-
}, "rpc" | "session", import("#pikku").PikkuFunction<{
|
|
8
|
+
}, "rpc" | "session", import("#pikku/addon/function").PikkuFunction<{
|
|
9
9
|
sourceFile: string;
|
|
10
10
|
exportedName: string;
|
|
11
11
|
}, {
|
|
12
12
|
config: Record<string, unknown>;
|
|
13
13
|
body: string | null;
|
|
14
14
|
wrapperName: string;
|
|
15
|
-
}, "rpc" | "session", import("#pikku").WiredServices> | import("#pikku").PikkuFunctionSessionless<{
|
|
15
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices> | import("#pikku/addon/function").PikkuFunctionSessionless<{
|
|
16
16
|
sourceFile: string;
|
|
17
17
|
exportedName: string;
|
|
18
18
|
}, {
|
|
19
19
|
config: Record<string, unknown>;
|
|
20
20
|
body: string | null;
|
|
21
21
|
wrapperName: string;
|
|
22
|
-
}, "rpc" | "session", import("#pikku").WiredServices, unknown>, undefined, undefined>;
|
|
22
|
+
}, "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown>, undefined, undefined>;
|
|
23
23
|
//# sourceMappingURL=read-function-source.function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-function-source.function.d.ts","sourceRoot":"","sources":["../../../src/functions/read-function-source.function.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB;gBACf,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;UAAQ,MAAM,GAAG,IAAI;iBAAe,MAAM;;gBAD7D,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;UAAQ,MAAM,GAAG,IAAI;iBAAe,MAAM;;gBAD7D,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;UAAQ,MAAM,GAAG,IAAI;iBAAe,MAAM;
|
|
1
|
+
{"version":3,"file":"read-function-source.function.d.ts","sourceRoot":"","sources":["../../../src/functions/read-function-source.function.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB;gBACf,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;UAAQ,MAAM,GAAG,IAAI;iBAAe,MAAM;;gBAD7D,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;UAAQ,MAAM,GAAG,IAAI;iBAAe,MAAM;;gBAD7D,MAAM;kBAAgB,MAAM;;YAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;UAAQ,MAAM,GAAG,IAAI;iBAAe,MAAM;oGAe3E,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LocalEnvironmentOnlyError } from '
|
|
2
|
-
import { pikkuFunc } from '#pikku';
|
|
1
|
+
import { LocalEnvironmentOnlyError } from '#pikku/addon/error';
|
|
2
|
+
import { pikkuFunc } from '#pikku/addon/function';
|
|
3
3
|
export const readFunctionSource = pikkuFunc({
|
|
4
4
|
title: 'Read Function Source',
|
|
5
5
|
description: 'Reads the source code of a pikku function definition and returns its config properties and function body.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-function-source.function.js","sourceRoot":"","sources":["../../../src/functions/read-function-source.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"read-function-source.function.js","sourceRoot":"","sources":["../../../src/functions/read-function-source.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,MAAM,CAAC,MAAM,kBAAkB,GAAG,SAAS,CAGzC;IACA,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EACT,2GAA2G;IAC7G,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,CAAC,4BAA4B,CAAC;IACtC,IAAI,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,EAAE;QAChE,IAAI,CAAC,eAAe,EAAE,CAAC;YACrB,MAAM,IAAI,yBAAyB,CACjC,0CAA0C,CAC3C,CAAA;QACH,CAAC;QACD,OAAO,eAAe,CAAC,kBAAkB,CAAC,UAAU,EAAE,YAAY,CAAC,CAAA;IACrE,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -17,6 +17,6 @@ export interface RenderEmailPreviewOutput {
|
|
|
17
17
|
hash: string;
|
|
18
18
|
missing: string[];
|
|
19
19
|
}
|
|
20
|
-
export declare const renderEmailPreview: import("#pikku").PikkuFunctionConfig<RenderEmailPreviewInput, RenderEmailPreviewOutput, "rpc" | "session", import("#pikku").PikkuFunction<RenderEmailPreviewInput, RenderEmailPreviewOutput, "rpc" | "session", import("#pikku").WiredServices> | import("#pikku").PikkuFunctionSessionless<RenderEmailPreviewInput, RenderEmailPreviewOutput, "rpc" | "session", import("#pikku").WiredServices, unknown>, undefined, undefined>;
|
|
20
|
+
export declare const renderEmailPreview: import("#pikku/addon/function").PikkuFunctionConfig<RenderEmailPreviewInput, RenderEmailPreviewOutput, "rpc" | "session", import("#pikku/addon/function").PikkuFunction<RenderEmailPreviewInput, RenderEmailPreviewOutput, "rpc" | "session", import("#pikku/addon/function").WiredServices> | import("#pikku/addon/function").PikkuFunctionSessionless<RenderEmailPreviewInput, RenderEmailPreviewOutput, "rpc" | "session", import("#pikku/addon/function").WiredServices, unknown>, undefined, undefined>;
|
|
21
21
|
export {};
|
|
22
22
|
//# sourceMappingURL=render-email-preview.function.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-email-preview.function.d.ts","sourceRoot":"","sources":["../../../src/functions/render-email-preview.function.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"render-email-preview.function.d.ts","sourceRoot":"","sources":["../../../src/functions/render-email-preview.function.ts"],"names":[],"mappings":"AAQA,KAAK,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAA;AAClE,KAAK,kBAAkB,GACrB,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC,CAAA;AAE3D,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;CAC1C;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6FAA6F;IAC7F,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,eAAO,MAAM,kBAAkB,8eA4F7B,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { pikkuFunc } from '#pikku';
|
|
2
|
-
import { NotFoundError } from '
|
|
3
|
-
import { getNestedValue, renderTemplate,
|
|
1
|
+
import { pikkuFunc } from '#pikku/addon/function';
|
|
2
|
+
import { NotFoundError } from '#pikku/addon/error';
|
|
3
|
+
import { getNestedValue, renderTemplate, } from './render-email-template.utils.js';
|
|
4
4
|
export const renderEmailPreview = pikkuFunc({
|
|
5
5
|
title: 'Render Email Preview',
|
|
6
6
|
description: 'Renders an email template preview from emailTemplatesDir using a locale and variable payload.',
|
|
@@ -24,34 +24,23 @@ export const renderEmailPreview = pikkuFunc({
|
|
|
24
24
|
t: assets.strings,
|
|
25
25
|
appName,
|
|
26
26
|
};
|
|
27
|
-
const subject = renderTemplate(assets.subject, baseContext).trim();
|
|
28
|
-
const
|
|
29
|
-
let htmlBody = renderTemplate(htmlWithPartials, {
|
|
27
|
+
const subject = renderTemplate(assets.subject, baseContext, assets.partials, false).trim();
|
|
28
|
+
const htmlBody = renderTemplate(assets.html, {
|
|
30
29
|
...baseContext,
|
|
31
30
|
subject,
|
|
32
|
-
});
|
|
33
|
-
const partialMatches = [...htmlBody.matchAll(/@@PARTIAL:([^@]+)@@/g)];
|
|
34
|
-
for (const match of partialMatches) {
|
|
35
|
-
if (!match[1])
|
|
36
|
-
continue;
|
|
37
|
-
const rendered = renderPartial(match[1], assets.partials, {
|
|
38
|
-
...baseContext,
|
|
39
|
-
subject,
|
|
40
|
-
});
|
|
41
|
-
htmlBody = htmlBody.replace(match[0], rendered);
|
|
42
|
-
}
|
|
31
|
+
}, assets.partials, true);
|
|
43
32
|
const html = assets.layout
|
|
44
33
|
? renderTemplate(assets.layout, {
|
|
45
34
|
...baseContext,
|
|
46
35
|
subject,
|
|
47
36
|
content: htmlBody,
|
|
48
|
-
})
|
|
37
|
+
}, assets.partials, true)
|
|
49
38
|
: htmlBody;
|
|
50
39
|
const text = assets.text
|
|
51
40
|
? renderTemplate(assets.text, {
|
|
52
41
|
...baseContext,
|
|
53
42
|
subject,
|
|
54
|
-
}).trim()
|
|
43
|
+
}, assets.partials, false).trim()
|
|
55
44
|
: undefined;
|
|
56
45
|
return {
|
|
57
46
|
name: input.templateName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-email-preview.function.js","sourceRoot":"","sources":["../../../src/functions/render-email-preview.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"render-email-preview.function.js","sourceRoot":"","sources":["../../../src/functions/render-email-preview.function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD,OAAO,EACL,cAAc,EACd,cAAc,GACf,MAAM,kCAAkC,CAAA;AAyBzC,MAAM,CAAC,MAAM,kBAAkB,GAAG,SAAS,CAGzC;IACA,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EACT,+FAA+F;IACjG,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,CAAC,2BAA2B,CAAC;IACrC,IAAI,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,EAAE;QACrC,MAAM,UAAU,GAAG,MAAM,WAAW,CAAC,YAAY,EAAE,CAAA;QACnD,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,YAAY,CAC7B,CAAA;QAE/B,IAAI,CAAC,YAAY,EAAE,CAAC;YAClB,MAAM,IAAI,aAAa,CAAC,2BAA2B,KAAK,CAAC,YAAY,EAAE,CAAC,CAAA;QAC1E,CAAC;QAED,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAA;QAE3E,MAAM,MAAM,GAAG,MAAM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AAI;YACJ,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACzB,MAAM,EAAE,MAAM,CAAC,IAAI;YACnB,SAAS,EAAE,YAAY,CAAC,SAAS;YACjC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,IAAI,EAAE;YACrD,OAAO,EAAE,MAAM,CAAC,OAAO;SACxB,CAAA;IACH,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import assert from 'node:assert/strict';
|
|
2
2
|
import { test } from 'node:test';
|
|
3
|
-
import { NotFoundError } from '
|
|
3
|
+
import { NotFoundError } from '#pikku/addon/error';
|
|
4
4
|
import { renderEmailPreview } from './render-email-preview.function.js';
|
|
5
5
|
test('renderEmailPreview renders subject, layout, partials, text, and metadata', async () => {
|
|
6
6
|
const metaService = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-email-preview.function.test.js","sourceRoot":"","sources":["../../../src/functions/render-email-preview.function.test.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAA;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAEhC,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"render-email-preview.function.test.js","sourceRoot":"","sources":["../../../src/functions/render-email-preview.function.test.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAA;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAEhC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAA;AAGvE,IAAI,CAAC,0EAA0E,EAAE,KAAK,IAAI,EAAE;IAC1F,MAAM,WAAW,GAAG;QAClB,YAAY,EAAE,KAAK,IAAI,EAAE,CA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,YAAY,EAAE,SAAS;KACxB,EACD,SAAkB,CACnB,EACH,CAAC,KAAc,EAAE,EAAE;QACjB,MAAM,CAAC,EAAE,CAAC,KAAK,YAAY,aAAa,CAAC,CAAA;QACzC,MAAM,CAAC,KAAK,CAAE,KAAe,CAAC,OAAO,EAAE,iCAAiC,CAAC,CAAA;QACzE,OAAO,IAAI,CAAA;IACb,CAAC,CACF,CAAA;AACH,CAAC,CAAC,CAAA"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
export declare function escapeHtml(value: string): string;
|
|
1
2
|
export declare function getNestedValue(source: Record<string, unknown>, path: string): string;
|
|
2
|
-
export declare function
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
export declare function expandPartials(source: string, partials: Record<string, string>, depth?: number): string;
|
|
4
|
+
/**
|
|
5
|
+
* A single substitution pass — the replacement text is never rescanned, so a
|
|
6
|
+
* caller-supplied value can never be reinterpreted as a template.
|
|
7
|
+
*/
|
|
8
|
+
export declare function substitute(source: string, context: Record<string, unknown>, escape: boolean): string;
|
|
9
|
+
export declare function renderTemplate(source: string, context: Record<string, unknown>, partials: Record<string, string>, escape: boolean): string;
|
|
5
10
|
//# sourceMappingURL=render-email-template.utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-email-template.utils.d.ts","sourceRoot":"","sources":["../../../src/functions/render-email-template.utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"render-email-template.utils.d.ts","sourceRoot":"","sources":["../../../src/functions/render-email-template.utils.ts"],"names":[],"mappings":"AAyBA,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,IAAI,EAAE,MAAM,GACX,MAAM,CAYR;AAWD,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAChC,KAAK,SAAI,GACR,MAAM,CASR;AA0BD;;;GAGG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,MAAM,EAAE,OAAO,GACd,MAAM,CAYR;AAED,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAChC,MAAM,EAAE,OAAO,GACd,MAAM,CAOR"}
|
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
const HTML_ESCAPES = {
|
|
2
|
+
'&': '&',
|
|
3
|
+
'<': '<',
|
|
4
|
+
'>': '>',
|
|
5
|
+
'"': '"',
|
|
6
|
+
"'": ''',
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Matches the raw `{{{ value }}}` form before the escaped `{{ value }}` form, so
|
|
10
|
+
* the opt-in escape hatch is never mistaken for a normal substitution.
|
|
11
|
+
*/
|
|
12
|
+
const TEMPLATE_TOKEN = /\{\{\{\s*([^{}]+?)\s*\}\}\}|\{\{\s*([^}]+?)\s*\}\}/g;
|
|
13
|
+
const PARTIAL_TOKEN = /\{\{\s*>\s*([a-zA-Z0-9-_/.]+)\s*\}\}/g;
|
|
14
|
+
const MAX_TEMPLATE_DEPTH = 5;
|
|
15
|
+
/**
|
|
16
|
+
* theme.json and the locale files ship with the templates, so they are treated
|
|
17
|
+
* as template-author input: expanded before caller data and allowed to contain
|
|
18
|
+
* their own placeholders. Everything else is caller-supplied.
|
|
19
|
+
*/
|
|
20
|
+
const TRUSTED_ROOTS = ['theme', 't'];
|
|
21
|
+
export function escapeHtml(value) {
|
|
22
|
+
return value.replace(/[&<>"']/g, (char) => HTML_ESCAPES[char] ?? char);
|
|
23
|
+
}
|
|
1
24
|
export function getNestedValue(source, path) {
|
|
2
25
|
const segments = path.split('.');
|
|
3
26
|
let current = source;
|
|
@@ -11,30 +34,61 @@ export function getNestedValue(source, path) {
|
|
|
11
34
|
? String(current)
|
|
12
35
|
: '';
|
|
13
36
|
}
|
|
14
|
-
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
return
|
|
37
|
+
function isTrustedKey(key) {
|
|
38
|
+
return TRUSTED_ROOTS.includes(String(key.split('.')[0]));
|
|
39
|
+
}
|
|
40
|
+
function readToken(rawTriple, rawDouble) {
|
|
41
|
+
const raw = typeof rawTriple === 'string';
|
|
42
|
+
return { raw, key: String(raw ? rawTriple : rawDouble).trim() };
|
|
43
|
+
}
|
|
44
|
+
export function expandPartials(source, partials, depth = 0) {
|
|
45
|
+
if (depth >= MAX_TEMPLATE_DEPTH)
|
|
46
|
+
return source;
|
|
47
|
+
let found = false;
|
|
48
|
+
const expanded = source.replace(PARTIAL_TOKEN, (_match, partialName) => {
|
|
49
|
+
found = true;
|
|
50
|
+
const partial = partials[String(partialName).trim()];
|
|
51
|
+
return typeof partial === 'string' ? partial : '';
|
|
24
52
|
});
|
|
53
|
+
return found ? expandPartials(expanded, partials, depth + 1) : expanded;
|
|
25
54
|
}
|
|
26
|
-
|
|
55
|
+
function expandTrusted(source, context, escape) {
|
|
27
56
|
let rendered = source;
|
|
28
|
-
for (let i = 0; i <
|
|
29
|
-
|
|
30
|
-
|
|
57
|
+
for (let i = 0; i < MAX_TEMPLATE_DEPTH; i += 1) {
|
|
58
|
+
let found = false;
|
|
59
|
+
const next = rendered.replace(TEMPLATE_TOKEN, (match, rawTriple, rawDouble) => {
|
|
60
|
+
const { raw, key } = readToken(rawTriple, rawDouble);
|
|
61
|
+
if (!isTrustedKey(key))
|
|
62
|
+
return match;
|
|
63
|
+
found = true;
|
|
64
|
+
const value = getNestedValue(context, key);
|
|
65
|
+
return raw || !escape ? value : escapeHtml(value);
|
|
66
|
+
});
|
|
67
|
+
if (!found || next === rendered)
|
|
31
68
|
break;
|
|
32
69
|
rendered = next;
|
|
33
70
|
}
|
|
34
71
|
return rendered;
|
|
35
72
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
73
|
+
/**
|
|
74
|
+
* A single substitution pass — the replacement text is never rescanned, so a
|
|
75
|
+
* caller-supplied value can never be reinterpreted as a template.
|
|
76
|
+
*/
|
|
77
|
+
export function substitute(source, context, escape) {
|
|
78
|
+
return source.replace(TEMPLATE_TOKEN, (_match, rawTriple, rawDouble) => {
|
|
79
|
+
const { raw, key } = readToken(rawTriple, rawDouble);
|
|
80
|
+
if (key === 'content') {
|
|
81
|
+
return typeof context.content === 'string' ? context.content : '';
|
|
82
|
+
}
|
|
83
|
+
if (key.startsWith('>')) {
|
|
84
|
+
return '';
|
|
85
|
+
}
|
|
86
|
+
const value = getNestedValue(context, key);
|
|
87
|
+
return raw || !escape ? value : escapeHtml(value);
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
export function renderTemplate(source, context, partials, escape) {
|
|
91
|
+
const composed = expandTrusted(expandPartials(source, partials), context, escape);
|
|
92
|
+
return substitute(composed, context, escape);
|
|
39
93
|
}
|
|
40
94
|
//# sourceMappingURL=render-email-template.utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-email-template.utils.js","sourceRoot":"","sources":["../../../src/functions/render-email-template.utils.ts"],"names":[],"mappings":"AAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"render-email-template.utils.js","sourceRoot":"","sources":["../../../src/functions/render-email-template.utils.ts"],"names":[],"mappings":"AAAA,MAAM,YAAY,GAA2B;IAC3C,GAAG,EAAE,OAAO;IACZ,GAAG,EAAE,MAAM;IACX,GAAG,EAAE,MAAM;IACX,GAAG,EAAE,QAAQ;IACb,GAAG,EAAE,OAAO;CACb,CAAA;AAED;;;GAGG;AACH,MAAM,cAAc,GAAG,qDAAqD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