@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
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.109
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Middleware type definitions and registration for all wirings
|
|
6
|
+
*/
|
|
7
|
+
import { addTagMiddleware as addTagMiddlewareCore, addGlobalMiddleware as addGlobalMiddlewareCore, pikkuMiddleware as pikkuMiddlewareCore } from '@pikku/core/middleware';
|
|
8
|
+
import { addHTTPMiddleware as addHTTPMiddlewareCore } from '@pikku/core/http';
|
|
9
|
+
import { addChannelMiddleware as addChannelMiddlewareCore, } from '@pikku/core/channel';
|
|
10
|
+
export { cors } from '@pikku/core/middleware';
|
|
11
|
+
/**
|
|
12
|
+
* Factory function for creating middleware with tree-shaking support.
|
|
13
|
+
* Supports both direct function and configuration object syntax.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```typescript
|
|
17
|
+
* // Direct function syntax
|
|
18
|
+
* const middleware = pikkuMiddleware(({ logger }, wires, next) => {
|
|
19
|
+
* logger.info('Middleware executed')
|
|
20
|
+
* await next()
|
|
21
|
+
* })
|
|
22
|
+
*
|
|
23
|
+
* // Configuration object syntax with metadata
|
|
24
|
+
* const logMiddleware = pikkuMiddleware({
|
|
25
|
+
* name: 'Request Logger',
|
|
26
|
+
* description: 'Logs all incoming requests',
|
|
27
|
+
* priority: 'high',
|
|
28
|
+
* func: async ({ logger }, wires, next) => {
|
|
29
|
+
* logger.info('Request started')
|
|
30
|
+
* await next()
|
|
31
|
+
* }
|
|
32
|
+
* })
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export const pikkuMiddleware = (middleware) => {
|
|
36
|
+
return pikkuMiddlewareCore(middleware);
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Factory function for creating middleware factories
|
|
40
|
+
* Use this when your middleware needs configuration/input parameters
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```typescript
|
|
44
|
+
* export const logMiddleware = pikkuMiddlewareFactory<LogOptions>(({
|
|
45
|
+
* message,
|
|
46
|
+
* level = 'info'
|
|
47
|
+
* }) => {
|
|
48
|
+
* return pikkuMiddleware(async ({ logger }, next) => {
|
|
49
|
+
* logger[level](message)
|
|
50
|
+
* await next()
|
|
51
|
+
* })
|
|
52
|
+
* })
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
export const pikkuMiddlewareFactory = (factory) => {
|
|
56
|
+
return factory;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Wire-agnostic global middleware. Runs at the top of every wiring's
|
|
60
|
+
* middleware chain — before wire-, tag-, and function-level entries.
|
|
61
|
+
*
|
|
62
|
+
* Resolution order: global -> wire -> tag -> function.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* addGlobalMiddleware([telemetryMiddleware])
|
|
66
|
+
*/
|
|
67
|
+
export const addGlobalMiddleware = (middleware) => {
|
|
68
|
+
addGlobalMiddlewareCore(middleware, '@pikku/addon-console');
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Tag-scoped middleware. Applies to any wiring that carries the matching tag.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* addTagMiddleware('admin', [adminMiddleware])
|
|
75
|
+
*/
|
|
76
|
+
export const addTagMiddleware = (tag, middleware) => {
|
|
77
|
+
addTagMiddlewareCore(tag, middleware, '@pikku/addon-console');
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Registers HTTP middleware either globally or for a specific route pattern.
|
|
81
|
+
*
|
|
82
|
+
* When a string route pattern is provided along with middleware, the middleware
|
|
83
|
+
* is applied only to that route. Otherwise, if an array is provided, it is treated
|
|
84
|
+
* as global middleware (applied to all routes).
|
|
85
|
+
*
|
|
86
|
+
* @param routeOrMiddleware - Either a global middleware array or a route pattern string
|
|
87
|
+
* @param middleware - The middleware array to apply when a route pattern is specified
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* ```typescript
|
|
91
|
+
* // Add global HTTP middleware
|
|
92
|
+
* addHTTPMiddleware([authMiddleware, loggingMiddleware])
|
|
93
|
+
*
|
|
94
|
+
* // Add route-specific middleware
|
|
95
|
+
* addHTTPMiddleware('/api/admin/*', [adminAuthMiddleware])
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
export const addHTTPMiddleware = (routeOrMiddleware, middleware) => {
|
|
99
|
+
addHTTPMiddlewareCore(routeOrMiddleware, middleware);
|
|
100
|
+
};
|
|
101
|
+
export const pikkuChannelMiddleware = (middleware) => {
|
|
102
|
+
return middleware;
|
|
103
|
+
};
|
|
104
|
+
export const pikkuChannelMiddlewareFactory = (factory) => {
|
|
105
|
+
return factory;
|
|
106
|
+
};
|
|
107
|
+
export const addChannelMiddleware = (tag, middleware) => addChannelMiddlewareCore(tag, middleware, '@pikku/addon-console');
|
|
108
|
+
export const pikkuAgentMiddleware = (hooks) => hooks;
|
|
109
|
+
//# sourceMappingURL=pikku-middleware-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-middleware-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/middleware/pikku-middleware-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,OAAO,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,eAAe,IAAI,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AACzK,OAAO,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,kBAAkB,CAAA;AAC7E,OAAO,EAGL,oBAAoB,IAAI,wBAAwB,GACjD,MAAM,qBAAqB,CAAA;AAI5B,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAyB7C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAC7B,UAAuF,EACpD,EAAE;IACrC,OAAO,mBAAmB,CAAC,UAAU,CAAC,CAAA;AACxC,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,OAAuC,EACL,EAAE;IACpC,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,UAA6B,EAAE,EAAE;IACnE,uBAAuB,CAAC,UAAiB,EAAE,sBAAsB,CAAC,CAAA;AACpE,CAAC,CAAA;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,UAA6B,EAAE,EAAE;IAC7E,oBAAoB,CAAC,GAAG,EAAE,UAAiB,EAAE,sBAAsB,CAAC,CAAA;AACtE,CAAC,CAAA;AACD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,iBAA6C,EAC7C,UAA8B,EAC9B,EAAE;IACF,qBAAqB,CAAC,iBAAwB,EAAE,UAAiB,CAAC,CAAA;AACpE,CAAC,CAAA;AAID,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,UAA2D,EACV,EAAE;IACnD,OAAO,UAAU,CAAA;AACnB,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAC3C,OAA8C,EACP,EAAE;IACzC,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,GAAW,EAAE,UAAoC,EAAE,EAAE,CACxF,wBAAwB,CAAC,GAAG,EAAE,UAAU,EAAE,sBAAsB,CAAC,CAAA;AAEnE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAIlC,KAAyD,EACL,EAAE,CAAC,KAAK,CAAA"}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Addon package types for pikkuAddonConfig and pikkuAddonServices
|
|
6
6
|
*/
|
|
7
|
-
import type { CreateConfig } from '@pikku/core';
|
|
8
|
-
import type { PikkuWire } from '@pikku/core/
|
|
7
|
+
import type { CreateConfig } from '@pikku/core/types';
|
|
8
|
+
import type { PikkuWire } from '@pikku/core/types';
|
|
9
9
|
import type { SingletonServices } from '../../types/application-types.d.js';
|
|
10
10
|
import type { Config } from '../../types/application-types.d.js';
|
|
11
11
|
import type { RequiredSingletonServices } from '../pikku-services.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-addon-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/addon/pikku-addon-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"pikku-addon-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/addon/pikku-addon-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAA;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAA;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AAM3E;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAA;IACnC,SAAS,EAAE,qBAAqB,CAAA;IAChC,OAAO,EAAE,kBAAkB,CAAA;CAC5B,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,gBAAgB,SAAS,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG,iBAAiB,EACrI,MAAM,CAAC,QAAQ,EAAE,gBAAgB,KAAK,OAAO,CAAC,MAAM,CAAC,KACpD,YAAY,CAAC,MAAM,CAKrB,CAAA;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,gBAAgB,SAAS,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG,iBAAiB,EACtK,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,KAAK,OAAO,CAAC,CAAC,CAAC,MAElD,QAAQ,MAAM,EAAE,mBAAmB,OAAO,CAAC,iBAAiB,CAAC,KAAG,OAAO,CAAC,yBAAyB,CAchH,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,GAAI,gBAAgB,SAAS,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG,iBAAiB,EAC3I,MAAM,CAAC,QAAQ,EAAE,gBAAgB,EAAE,IAAI,EAAE,SAAS,KAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,KAM7E,GACP,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.109
|
|
3
|
+
*/
|
|
4
|
+
import './pikku-bootstrap.gen.js';
|
|
5
|
+
import './scenarios/schemas/register.gen.js';
|
|
6
|
+
import './scenarios/pikku-scenario-functions-meta.gen.js';
|
|
7
|
+
import './scenarios/pikku-scenario-functions.gen.js';
|
|
8
|
+
import './scenarios/pikku-scenario-wirings-meta.gen.js';
|
|
9
|
+
import './scenarios/pikku-scenario-wirings.gen.js';
|
|
10
|
+
//# sourceMappingURL=pikku-bootstrap-scenarios.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-bootstrap-scenarios.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/addon/pikku-bootstrap-scenarios.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,0BAA0B,CAAA;AACjC,OAAO,qCAAqC,CAAA;AAC5C,OAAO,kDAAkD,CAAA;AACzD,OAAO,6CAA6C,CAAA;AACpD,OAAO,gDAAgD,CAAA;AACvD,OAAO,2CAA2C,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.109
|
|
3
|
+
*/
|
|
4
|
+
import './pikku-bootstrap.gen.js';
|
|
5
|
+
import './scenarios/schemas/register.gen.js';
|
|
6
|
+
import './scenarios/pikku-scenario-functions-meta.gen.js';
|
|
7
|
+
import './scenarios/pikku-scenario-functions.gen.js';
|
|
8
|
+
import './scenarios/pikku-scenario-wirings-meta.gen.js';
|
|
9
|
+
import './scenarios/pikku-scenario-wirings.gen.js';
|
|
10
|
+
//# sourceMappingURL=pikku-bootstrap-scenarios.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-bootstrap-scenarios.gen.js","sourceRoot":"","sources":["../../../.pikku/addon/pikku-bootstrap-scenarios.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,0BAA0B,CAAA;AACjC,OAAO,qCAAqC,CAAA;AAC5C,OAAO,kDAAkD,CAAA;AACzD,OAAO,6CAA6C,CAAA;AACpD,OAAO,gDAAgD,CAAA;AACvD,OAAO,2CAA2C,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.109
|
|
3
|
+
*/
|
|
4
|
+
import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
|
|
5
|
+
import './function/pikku-functions-meta.gen.js';
|
|
6
|
+
import './pikku-package.gen.js';
|
|
7
|
+
import './agent/pikku-model-aliases.gen.js';
|
|
8
|
+
import './schemas/register.gen.js';
|
|
9
|
+
import './function/pikku-functions.gen.js';
|
|
10
|
+
//# sourceMappingURL=pikku-bootstrap.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-bootstrap.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/addon/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,wBAAwB,CAAA;AAC/B,OAAO,oCAAoC,CAAA;AAC3C,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.109
|
|
3
|
+
*/
|
|
4
|
+
import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
|
|
5
|
+
import './function/pikku-functions-meta.gen.js';
|
|
6
|
+
import './pikku-package.gen.js';
|
|
7
|
+
import './agent/pikku-model-aliases.gen.js';
|
|
8
|
+
import './schemas/register.gen.js';
|
|
9
|
+
import './function/pikku-functions.gen.js';
|
|
10
|
+
//# sourceMappingURL=pikku-bootstrap.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-bootstrap.gen.js","sourceRoot":"","sources":["../../../.pikku/addon/pikku-bootstrap.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,8CAA8C,CAAA;AACrD,OAAO,wCAAwC,CAAA;AAC/C,OAAO,wBAAwB,CAAA;AAC/B,OAAO,oCAAoC,CAAA;AAC3C,OAAO,2BAA2B,CAAA;AAClC,OAAO,mCAAmC,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.109
|
|
3
3
|
*/
|
|
4
|
-
import { pikkuState } from '@pikku/core/
|
|
4
|
+
import { pikkuState } from '@pikku/core/state';
|
|
5
5
|
import { createSingletonServices as createSingletonServices } from '../../src/services.js';
|
|
6
6
|
pikkuState('@pikku/addon-console', 'package', 'factories', {
|
|
7
7
|
createSingletonServices,
|
|
8
8
|
});
|
|
9
|
-
pikkuState('@pikku/addon-console', 'package', 'requiredParentServices', ["variables", "secrets", "metaService", "agentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "agentStorage", "agentRunState", "deploymentService", "credentialService", "coverageService", "
|
|
9
|
+
pikkuState('@pikku/addon-console', 'package', 'requiredParentServices', ["variables", "secrets", "metaService", "agentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "agentStorage", "agentRunState", "deploymentService", "credentialService", "coverageService", "webhookService", "auth"]);
|
|
10
10
|
pikkuState('@pikku/addon-console', 'package', 'declaredSecrets', []);
|
|
11
11
|
//# sourceMappingURL=pikku-package.gen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-package.gen.js","sourceRoot":"","sources":["../../../.pikku/addon/pikku-package.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"pikku-package.gen.js","sourceRoot":"","sources":["../../../.pikku/addon/pikku-package.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,uBAAuB,IAAI,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAE1F,UAAU,CAAC,sBAAsB,EAAE,SAAS,EAAE,WAAW,EAAE;IACzD,uBAAuB;CACxB,CAAC,CAAA;AAEF,UAAU,CAAC,sBAAsB,EAAE,SAAS,EAAE,wBAAwB,EAAE,CAAC,WAAW,EAAC,SAAS,EAAC,aAAa,EAAC,aAAa,EAAC,kBAAkB,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,oBAAoB,EAAC,cAAc,EAAC,eAAe,EAAC,mBAAmB,EAAC,mBAAmB,EAAC,iBAAiB,EAAC,gBAAgB,EAAC,MAAM,CAAC,CAAC,CAAA;AAEzT,UAAU,CAAC,sBAAsB,EAAE,SAAS,EAAE,iBAAiB,EAAE,EAAE,CAAC,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.109
|
|
3
|
+
*/
|
|
4
|
+
import type { SingletonServices } from '../../types/application-types.d.js';
|
|
5
|
+
import type { Services } from '../../types/application-types.d.js';
|
|
6
|
+
export declare const requiredSingletonServices: {
|
|
7
|
+
readonly addonReadinessService: true;
|
|
8
|
+
readonly addonService: true;
|
|
9
|
+
readonly agentRunService: true;
|
|
10
|
+
readonly agentRunState: true;
|
|
11
|
+
readonly agentRunner: false;
|
|
12
|
+
readonly agentStorage: false;
|
|
13
|
+
readonly aiEmbedding: false;
|
|
14
|
+
readonly audit: false;
|
|
15
|
+
readonly auditLog: false;
|
|
16
|
+
readonly auth: false;
|
|
17
|
+
readonly codeEditService: true;
|
|
18
|
+
readonly config: true;
|
|
19
|
+
readonly content: false;
|
|
20
|
+
readonly coverageService: false;
|
|
21
|
+
readonly credentialService: true;
|
|
22
|
+
readonly dbSchemaService: true;
|
|
23
|
+
readonly deploymentService: false;
|
|
24
|
+
readonly emailService: false;
|
|
25
|
+
readonly eventHub: false;
|
|
26
|
+
readonly jwt: false;
|
|
27
|
+
readonly knowledgeService: true;
|
|
28
|
+
readonly logger: true;
|
|
29
|
+
readonly metaService: true;
|
|
30
|
+
readonly queueService: false;
|
|
31
|
+
readonly scenarioRunStore: true;
|
|
32
|
+
readonly schedulerService: false;
|
|
33
|
+
readonly schema: true;
|
|
34
|
+
readonly scopeService: false;
|
|
35
|
+
readonly secretAdminService: true;
|
|
36
|
+
readonly secrets: true;
|
|
37
|
+
readonly sessionStore: false;
|
|
38
|
+
readonly stateDiffService: true;
|
|
39
|
+
readonly variables: true;
|
|
40
|
+
readonly virtualUserRunStore: false;
|
|
41
|
+
readonly webhookService: true;
|
|
42
|
+
readonly wiringService: true;
|
|
43
|
+
readonly workflowRunService: true;
|
|
44
|
+
readonly workflowService: false;
|
|
45
|
+
};
|
|
46
|
+
export declare const requiredWireServices: {};
|
|
47
|
+
export type RequiredSingletonServices = Required<Pick<SingletonServices, 'addonReadinessService' | 'addonService' | 'agentRunService' | 'agentRunState' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'knowledgeService' | 'logger' | 'metaService' | 'scenarioRunStore' | 'schema' | 'secretAdminService' | 'secrets' | 'stateDiffService' | 'variables' | 'webhookService' | 'wiringService' | 'workflowRunService'>> & Partial<Omit<SingletonServices, 'addonReadinessService' | 'addonService' | 'agentRunService' | 'agentRunState' | 'codeEditService' | 'config' | 'credentialService' | 'dbSchemaService' | 'knowledgeService' | 'logger' | 'metaService' | 'scenarioRunStore' | 'schema' | 'secretAdminService' | 'secrets' | 'stateDiffService' | 'variables' | 'webhookService' | 'wiringService' | 'workflowRunService'>>;
|
|
48
|
+
export type RequiredWireServices = Partial<Services>;
|
|
49
|
+
export declare const requiredParentServices: readonly ["variables", "secrets", "metaService", "agentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "agentStorage", "agentRunState", "deploymentService", "credentialService", "coverageService", "webhookService", "auth"];
|
|
50
|
+
//# sourceMappingURL=pikku-services.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/addon/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAA;AAGlE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,cAAc,GAAG,iBAAiB,GAAG,eAAe,GAAG,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,QAAQ,GAAG,aAAa,GAAG,kBAAkB,GAAG,QAAQ,GAAG,oBAAoB,GAAG,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,gBAAgB,GAAG,eAAe,GAAG,oBAAoB,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,cAAc,GAAG,iBAAiB,GAAG,eAAe,GAAG,iBAAiB,GAAG,QAAQ,GAAG,mBAAmB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,QAAQ,GAAG,aAAa,GAAG,kBAAkB,GAAG,QAAQ,GAAG,oBAAoB,GAAG,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,gBAAgB,GAAG,eAAe,GAAG,oBAAoB,CAAC,CAAC,CAAA;AAEl0B,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,yQAA4P,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// Singleton services map: true if required, false if available but unused
|
|
2
|
+
export const requiredSingletonServices = {
|
|
3
|
+
'addonReadinessService': true,
|
|
4
|
+
'addonService': true,
|
|
5
|
+
'agentRunService': true,
|
|
6
|
+
'agentRunState': true,
|
|
7
|
+
'agentRunner': false,
|
|
8
|
+
'agentStorage': false,
|
|
9
|
+
'aiEmbedding': false,
|
|
10
|
+
'audit': false,
|
|
11
|
+
'auditLog': false,
|
|
12
|
+
'auth': false,
|
|
13
|
+
'codeEditService': true,
|
|
14
|
+
'config': true,
|
|
15
|
+
'content': false,
|
|
16
|
+
'coverageService': false,
|
|
17
|
+
'credentialService': true,
|
|
18
|
+
'dbSchemaService': true,
|
|
19
|
+
'deploymentService': false,
|
|
20
|
+
'emailService': false,
|
|
21
|
+
'eventHub': false,
|
|
22
|
+
'jwt': false,
|
|
23
|
+
'knowledgeService': true,
|
|
24
|
+
'logger': true,
|
|
25
|
+
'metaService': true,
|
|
26
|
+
'queueService': false,
|
|
27
|
+
'scenarioRunStore': true,
|
|
28
|
+
'schedulerService': false,
|
|
29
|
+
'schema': true,
|
|
30
|
+
'scopeService': false,
|
|
31
|
+
'secretAdminService': true,
|
|
32
|
+
'secrets': true,
|
|
33
|
+
'sessionStore': false,
|
|
34
|
+
'stateDiffService': true,
|
|
35
|
+
'variables': true,
|
|
36
|
+
'virtualUserRunStore': false,
|
|
37
|
+
'webhookService': true,
|
|
38
|
+
'wiringService': true,
|
|
39
|
+
'workflowRunService': true,
|
|
40
|
+
'workflowService': false,
|
|
41
|
+
};
|
|
42
|
+
// Wire services map: true if required, false if available but unused
|
|
43
|
+
export const requiredWireServices = {};
|
|
44
|
+
// Services this addon needs from the parent project
|
|
45
|
+
export const requiredParentServices = ["variables", "secrets", "metaService", "agentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "agentStorage", "agentRunState", "deploymentService", "credentialService", "coverageService", "webhookService", "auth"];
|
|
46
|
+
//# sourceMappingURL=pikku-services.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../../.pikku/addon/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,uBAAuB,EAAE,IAAI;IAC7B,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,aAAa,EAAE,KAAK;IACpB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,KAAK;IACb,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,iBAAiB,EAAE,KAAK;IACxB,mBAAmB,EAAE,IAAI;IACzB,iBAAiB,EAAE,IAAI;IACvB,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;IACZ,kBAAkB,EAAE,IAAI;IACxB,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,IAAI;IACxB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,KAAK;IACrB,oBAAoB,EAAE,IAAI;IAC1B,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,IAAI;IACxB,WAAW,EAAE,IAAI;IACjB,qBAAqB,EAAE,KAAK;IAC5B,gBAAgB,EAAE,IAAI;IACtB,eAAe,EAAE,IAAI;IACrB,oBAAoB,EAAE,IAAI;IAC1B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,WAAW,EAAC,SAAS,EAAC,aAAa,EAAC,aAAa,EAAC,kBAAkB,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,oBAAoB,EAAC,cAAc,EAAC,eAAe,EAAC,mBAAmB,EAAC,mBAAmB,EAAC,iBAAiB,EAAC,gBAAgB,EAAC,MAAM,CAAU,CAAA"}
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.109
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
import type { AgentCredentialRequirement } from '../../../src/functions/agent-credential-check.function.js'
|
|
10
|
+
import type { AddonInstance } from '../../../src/functions/get-addon-instances.function.js'
|
|
11
|
+
import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../../src/functions/get-functions-meta.function.js'
|
|
12
|
+
import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, PermissionMetadata } from '../../../../../core/dist/function/function-meta.types.d.js'
|
|
13
|
+
import type { ScenarioSurface } from '@pikku/core/scenario'
|
|
14
|
+
import type { AuditDurability } from '@pikku/core/services'
|
|
15
|
+
import type { MiddlewareMetadata } from '../../../../../core/dist/middleware/middleware.types.d.js'
|
|
16
|
+
import type { CommonWireMeta, SecurityAuditReport } from '@pikku/core/types'
|
|
17
|
+
import type { InstalledAddon } from '../../../src/functions/get-installed-addons.function.js'
|
|
18
|
+
import type { ScorerListEntry } from '../../../src/functions/get-scorers.function.js'
|
|
19
|
+
import type { WorkflowStepMeta, RpcStepMeta, ScenarioStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '@pikku/core/workflow'
|
|
20
|
+
import type { WorkflowContext } from '@pikku/core/workflow/types'
|
|
21
|
+
import type { ScenarioRunSummary, ScenarioRunRecord } from '@pikku/core/scenario'
|
|
22
|
+
import type { WebhookDeliveryRecord, WebhookDeliveryWithAttempts } from '@pikku/core/services'
|
|
23
|
+
import type { AgentConfigChanges, FunctionConfigChanges } from '../../../src/services/code-edit.service.js'
|
|
24
|
+
import type { AddonMetaQuery, AddonMetaPage, AddonPackageInfo } from '../../../src/services/addon.service.js'
|
|
25
|
+
import type { AllMeta, ChannelSnippets } from '../../../src/services/wiring.service.js'
|
|
26
|
+
import type { AuthProvidersMeta } from '../../../src/functions/get-auth-providers.function.js'
|
|
27
|
+
import type { DbSchema } from '../../../src/services/db-schema.service.js'
|
|
28
|
+
import type { KnowledgeBundle } from '../../../src/services/knowledge.service.js'
|
|
29
|
+
import type { JSONSchema7 } from 'json-schema'
|
|
30
|
+
import type { StateDiff } from '../../../src/services/state-diff.service.js'
|
|
31
|
+
import type { SurfaceResult } from '../../../src/lib/surface.types.js'
|
|
32
|
+
import type { RenderEmailPreviewInput, RenderEmailPreviewOutput } from '../../../src/functions/render-email-preview.function.js'
|
|
33
|
+
|
|
34
|
+
export type AddonReadinessInput = { packageName: string; namespace: string; }
|
|
35
|
+
export type AddonReadinessOutput = { ready: boolean; missingSecrets: string[]; missingVariables: string[]; }
|
|
36
|
+
export type AgentCredentialCheckInput = { agentName: string; }
|
|
37
|
+
export type AgentCredentialCheckOutput = { requirements: AgentCredentialRequirement[]; allConnected: boolean; }
|
|
38
|
+
export type DeleteAgentThreadInput = { threadId: string; }
|
|
39
|
+
export type DeleteAgentThreadOutput = { deleted: boolean; }
|
|
40
|
+
export type DeleteScenarioRunInput = { runId: string; }
|
|
41
|
+
export type DeleteWorkflowRunInput = { runId: string; }
|
|
42
|
+
export type DeleteWorkflowRunOutput = { deleted: boolean; }
|
|
43
|
+
export type GetAddonCategoriesOutput = Record<string, number>
|
|
44
|
+
export type GetAddonCommunityPackageInput = { id: string; }
|
|
45
|
+
export type GetAddonIconInput = { alias: string; }
|
|
46
|
+
export type GetAddonInstalledPackageInput = { packageName: string; }
|
|
47
|
+
export type GetAddonInstancesInput = { packageName: string; }
|
|
48
|
+
export type GetAddonInstancesOutput = AddonInstance[]
|
|
49
|
+
export type GetAgentRunScoresInput = { runId: string; }
|
|
50
|
+
export type GetAgentRunScoresOutput = any[]
|
|
51
|
+
export type GetAgentThreadMessagesInput = { threadId: string; }
|
|
52
|
+
export type GetAgentThreadMessagesOutput = any[]
|
|
53
|
+
export type GetAgentThreadRunsInput = { threadId: string; }
|
|
54
|
+
export type GetAgentThreadRunsOutput = any[]
|
|
55
|
+
export type GetAgentThreadsInput = { agentName?: string | undefined; resourceId?: string | undefined; limit?: number | undefined; offset?: number | undefined; }
|
|
56
|
+
export type GetAgentThreadsOutput = any[]
|
|
57
|
+
export type GetChannelSnippetsInput = { channelName: string; }
|
|
58
|
+
export type GetFunctionsMetaOutput = FunctionMetaWithVersions[]
|
|
59
|
+
export type GetInstalledAddonsOutput = InstalledAddon[]
|
|
60
|
+
export type GetMyAccessOutput = { userId: string; scopes: string[]; }
|
|
61
|
+
export type GetOpenapiCategoriesOutput = Record<string, number>
|
|
62
|
+
export type GetOpenapiDetailInput = { name: string; }
|
|
63
|
+
export type GetOpenapiDetailOutput = { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; swaggerYamlUrl?: string | undefined; logo?: string | undefined; categories: string[]; tags: string[]; added?: string | undefined; updated?: string | undefined; }
|
|
64
|
+
export type GetOpenapisInput = { limit: number; offset: number; search?: string | undefined; category?: string | undefined; }
|
|
65
|
+
export type GetOpenapisOutput = { apis: { name: string; version: string; provider: string; service: string | null; title: string; description: string; openapiVer: string; swaggerUrl: string; logo?: string | undefined; }[]; total: number; nextCursor: number | null; }
|
|
66
|
+
export type GetScenarioArtifactInput = { runId: string; path: string; }
|
|
67
|
+
export type GetScenarioRunInput = { runId: string; }
|
|
68
|
+
export type GetSchemaInput = { schemaName: string; }
|
|
69
|
+
export type GetScorersOutput = ScorerListEntry[]
|
|
70
|
+
export type GetStateDiffInput = { basePath: string; oursPath?: string | undefined; }
|
|
71
|
+
export type GetWebhookDeliveryInput = { deliveryId: string; }
|
|
72
|
+
export type GetWorkflowMetaByIdInput = { workflowId: string; }
|
|
73
|
+
export type GetWorkflowMetaByIdOutput = CommonWireMeta & { name: string; steps: WorkflowStepMeta[]; context?: WorkflowContext | undefined; dsl?: boolean | undefined; expose?: boolean | undefined; scenario?: boolean | undefined; asserts?: boolean | undefined; skip?: string | undefined; actors?: string[] | undefined; }
|
|
74
|
+
export type GetWorkflowRunHistoryInput = { runId: string; }
|
|
75
|
+
export type GetWorkflowRunHistoryOutput = any[]
|
|
76
|
+
export type GetWorkflowRunInput = { runId: string; }
|
|
77
|
+
export type GetWorkflowRunNamesOutput = string[]
|
|
78
|
+
export type GetWorkflowRunOutput = Record<string, unknown>
|
|
79
|
+
export type GetWorkflowRunsInput = { workflowName?: string | undefined; status?: string | undefined; limit?: number | undefined; offset?: number | undefined; }
|
|
80
|
+
export type GetWorkflowRunsOutput = any[]
|
|
81
|
+
export type GetWorkflowRunStepsInput = { runId: string; }
|
|
82
|
+
export type GetWorkflowRunStepsOutput = any[]
|
|
83
|
+
export type GetWorkflowVersionInput = { name: string; graphHash: string; }
|
|
84
|
+
export type GetWorkflowVersionOutput = { graph: any; source: string; }
|
|
85
|
+
export type InstallAddonInput = { packageName: string; namespace: string; version?: string | undefined; }
|
|
86
|
+
export type InstallAddonOutput = { success: boolean; message: string; restartRequired: boolean; ready: boolean; missingSecrets: string[]; missingVariables: string[]; namespace: string; }
|
|
87
|
+
export type InstallOpenapiAddonInput = { name: string; swaggerUrl: string; credential?: "apikey" | "bearer" | "oauth2" | undefined; }
|
|
88
|
+
export type InstallOpenapiAddonOutput = { success: boolean; message: string; }
|
|
89
|
+
export type ListScenarioRunsInput = { limit?: number | undefined; }
|
|
90
|
+
export type ListScenarioRunsOutput = ScenarioRunSummary[]
|
|
91
|
+
export type ListWebhookDeliveriesInput = { organizationId?: string | undefined; limit?: number | undefined; }
|
|
92
|
+
export type ListWebhookDeliveriesOutput = WebhookDeliveryRecord[]
|
|
93
|
+
export type PingOutput = { pong: true; }
|
|
94
|
+
export type ReadAgentSourceInput = { sourceFile: string; exportedName: string; }
|
|
95
|
+
export type ReadAgentSourceOutput = { config: Record<string, unknown>; }
|
|
96
|
+
export type ReadFunctionBodyInput = { sourceFile: string; exportedName: string; }
|
|
97
|
+
export type ReadFunctionBodyOutput = { body: string; }
|
|
98
|
+
export type ReadFunctionSourceInput = { sourceFile: string; exportedName: string; }
|
|
99
|
+
export type ReadFunctionSourceOutput = { config: Record<string, unknown>; body: string | null; wrapperName: string; }
|
|
100
|
+
export type SecretGetInput = { secretId: string; }
|
|
101
|
+
export type SecretGetOutput = { exists: boolean; value: unknown; }
|
|
102
|
+
export type SecretHasInput = { secretId: string; }
|
|
103
|
+
export type SecretHasOutput = { exists: boolean; }
|
|
104
|
+
export type SecretSetInput = { secretId: string; value: unknown; }
|
|
105
|
+
export type SecretSetOutput = { success: boolean; }
|
|
106
|
+
export type StreamWorkflowRunInput = { runId: string; }
|
|
107
|
+
export type UpdateAgentConfigInput = { sourceFile: string; exportedName: string; changes: AgentConfigChanges; }
|
|
108
|
+
export type UpdateAgentConfigOutput = { success: boolean; }
|
|
109
|
+
export type UpdateDependencyInput = { package: string; version: string; }
|
|
110
|
+
export type UpdateEmailTemplateInput = { templateName: string; source: string; }
|
|
111
|
+
export type UpdateEmailTemplateOutput = { success: boolean; }
|
|
112
|
+
export type UpdateFunctionBodyInput = { sourceFile: string; exportedName: string; body: string; }
|
|
113
|
+
export type UpdateFunctionBodyOutput = { success: boolean; }
|
|
114
|
+
export type UpdateFunctionConfigInput = { sourceFile: string; exportedName: string; changes: FunctionConfigChanges; }
|
|
115
|
+
export type UpdateFunctionConfigOutput = { success: boolean; }
|
|
116
|
+
|
|
117
|
+
interface RPCHandler<I, O> {
|
|
118
|
+
input: I;
|
|
119
|
+
output: O;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export type RPCMap = {
|
|
123
|
+
readonly 'addonReadiness': RPCHandler<AddonReadinessInput, AddonReadinessOutput>,
|
|
124
|
+
readonly 'agentCredentialCheck': RPCHandler<AgentCredentialCheckInput, AgentCredentialCheckOutput>,
|
|
125
|
+
readonly 'deleteAgentThread': RPCHandler<DeleteAgentThreadInput, DeleteAgentThreadOutput>,
|
|
126
|
+
readonly 'deleteScenarioRun': RPCHandler<DeleteScenarioRunInput, null>,
|
|
127
|
+
readonly 'deleteWorkflowRun': RPCHandler<DeleteWorkflowRunInput, DeleteWorkflowRunOutput>,
|
|
128
|
+
readonly 'getAddonCategories': RPCHandler<null, GetAddonCategoriesOutput>,
|
|
129
|
+
readonly 'getAddonIcon': RPCHandler<GetAddonIconInput, string>,
|
|
130
|
+
readonly 'getAddonInstances': RPCHandler<GetAddonInstancesInput, GetAddonInstancesOutput>,
|
|
131
|
+
readonly 'getAddonMeta': RPCHandler<AddonMetaQuery, AddonMetaPage>,
|
|
132
|
+
readonly 'getAddonCommunityPackage': RPCHandler<GetAddonCommunityPackageInput, AddonPackageInfo>,
|
|
133
|
+
readonly 'getAgentRunScores': RPCHandler<GetAgentRunScoresInput, GetAgentRunScoresOutput>,
|
|
134
|
+
readonly 'getAgentThreadMessages': RPCHandler<GetAgentThreadMessagesInput, GetAgentThreadMessagesOutput>,
|
|
135
|
+
readonly 'getAgentThreadRuns': RPCHandler<GetAgentThreadRunsInput, GetAgentThreadRunsOutput>,
|
|
136
|
+
readonly 'getAgentThreads': RPCHandler<GetAgentThreadsInput, GetAgentThreadsOutput>,
|
|
137
|
+
readonly 'getAllMeta': RPCHandler<null, AllMeta>,
|
|
138
|
+
readonly 'getAuthProviders': RPCHandler<null, AuthProvidersMeta>,
|
|
139
|
+
readonly 'getChannelSnippets': RPCHandler<GetChannelSnippetsInput, ChannelSnippets>,
|
|
140
|
+
readonly 'getDbSchema': RPCHandler<null, DbSchema>,
|
|
141
|
+
readonly 'getFunctionsMeta': RPCHandler<null, GetFunctionsMetaOutput>,
|
|
142
|
+
readonly 'getInstalledAddons': RPCHandler<null, GetInstalledAddonsOutput>,
|
|
143
|
+
readonly 'getAddonInstalledPackage': RPCHandler<GetAddonInstalledPackageInput, AddonPackageInfo>,
|
|
144
|
+
readonly 'getKnowledge': RPCHandler<null, KnowledgeBundle>,
|
|
145
|
+
readonly 'getMyAccess': RPCHandler<null, GetMyAccessOutput>,
|
|
146
|
+
readonly 'getOpenapiCategories': RPCHandler<null, GetOpenapiCategoriesOutput>,
|
|
147
|
+
readonly 'getOpenapiDetail': RPCHandler<GetOpenapiDetailInput, GetOpenapiDetailOutput>,
|
|
148
|
+
readonly 'getOpenapis': RPCHandler<GetOpenapisInput, GetOpenapisOutput>,
|
|
149
|
+
readonly 'getScenarioRun': RPCHandler<GetScenarioRunInput, ScenarioRunRecord>,
|
|
150
|
+
readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
|
|
151
|
+
readonly 'getScorers': RPCHandler<null, GetScorersOutput>,
|
|
152
|
+
readonly 'getSecurityAudit': RPCHandler<null, SecurityAuditReport>,
|
|
153
|
+
readonly 'getStateDiff': RPCHandler<GetStateDiffInput, StateDiff>,
|
|
154
|
+
readonly 'getSurface': RPCHandler<null, SurfaceResult>,
|
|
155
|
+
readonly 'getWebhookDelivery': RPCHandler<GetWebhookDeliveryInput, WebhookDeliveryWithAttempts>,
|
|
156
|
+
readonly 'getWorkflowMetaById': RPCHandler<GetWorkflowMetaByIdInput, GetWorkflowMetaByIdOutput>,
|
|
157
|
+
readonly 'getWorkflowRunHistory': RPCHandler<GetWorkflowRunHistoryInput, GetWorkflowRunHistoryOutput>,
|
|
158
|
+
readonly 'getWorkflowRunNames': RPCHandler<null, GetWorkflowRunNamesOutput>,
|
|
159
|
+
readonly 'getWorkflowRunSteps': RPCHandler<GetWorkflowRunStepsInput, GetWorkflowRunStepsOutput>,
|
|
160
|
+
readonly 'getWorkflowRun': RPCHandler<GetWorkflowRunInput, GetWorkflowRunOutput>,
|
|
161
|
+
readonly 'getWorkflowRuns': RPCHandler<GetWorkflowRunsInput, GetWorkflowRunsOutput>,
|
|
162
|
+
readonly 'getWorkflowVersion': RPCHandler<GetWorkflowVersionInput, GetWorkflowVersionOutput>,
|
|
163
|
+
readonly 'installAddon': RPCHandler<InstallAddonInput, InstallAddonOutput>,
|
|
164
|
+
readonly 'installOpenapiAddon': RPCHandler<InstallOpenapiAddonInput, InstallOpenapiAddonOutput>,
|
|
165
|
+
readonly 'listScenarioRuns': RPCHandler<ListScenarioRunsInput, ListScenarioRunsOutput>,
|
|
166
|
+
readonly 'listWebhookDeliveries': RPCHandler<ListWebhookDeliveriesInput, ListWebhookDeliveriesOutput>,
|
|
167
|
+
readonly 'ping': RPCHandler<null, PingOutput>,
|
|
168
|
+
readonly 'readAgentSource': RPCHandler<ReadAgentSourceInput, ReadAgentSourceOutput>,
|
|
169
|
+
readonly 'readFunctionBody': RPCHandler<ReadFunctionBodyInput, ReadFunctionBodyOutput>,
|
|
170
|
+
readonly 'readFunctionSource': RPCHandler<ReadFunctionSourceInput, ReadFunctionSourceOutput>,
|
|
171
|
+
readonly 'renderEmailPreview': RPCHandler<RenderEmailPreviewInput, RenderEmailPreviewOutput>,
|
|
172
|
+
readonly 'runSecurityAudit': RPCHandler<null, SecurityAuditReport>,
|
|
173
|
+
readonly 'secretGet': RPCHandler<SecretGetInput, SecretGetOutput>,
|
|
174
|
+
readonly 'secretHas': RPCHandler<SecretHasInput, SecretHasOutput>,
|
|
175
|
+
readonly 'secretSet': RPCHandler<SecretSetInput, SecretSetOutput>,
|
|
176
|
+
readonly 'updateAgentConfig': RPCHandler<UpdateAgentConfigInput, UpdateAgentConfigOutput>,
|
|
177
|
+
readonly 'updateDependency': RPCHandler<UpdateDependencyInput, SecurityAuditReport>,
|
|
178
|
+
readonly 'updateEmailTemplate': RPCHandler<UpdateEmailTemplateInput, UpdateEmailTemplateOutput>,
|
|
179
|
+
readonly 'updateFunctionBody': RPCHandler<UpdateFunctionBodyInput, UpdateFunctionBodyOutput>,
|
|
180
|
+
readonly 'updateFunctionConfig': RPCHandler<UpdateFunctionConfigInput, UpdateFunctionConfigOutput>,
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
// No addon packages, use RPCMap directly
|
|
186
|
+
export type FlattenedRPCMap = RPCMap
|
|
187
|
+
|
|
188
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
189
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
190
|
+
? false
|
|
191
|
+
: [T] extends [void | null | undefined]
|
|
192
|
+
? true
|
|
193
|
+
: false
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
197
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
198
|
+
? [name: Name]
|
|
199
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
200
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
201
|
+
|
|
202
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
203
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
204
|
+
? [name: Name]
|
|
205
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
206
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
207
|
+
|
|
208
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
209
|
+
|
|
210
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
type FlattenedAgentMap = AgentMap
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
217
|
+
import type { AgentInput } from '@pikku/core/agent'
|
|
218
|
+
|
|
219
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
220
|
+
name: Name,
|
|
221
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
222
|
+
options?: { startNode?: string }
|
|
223
|
+
) => Promise<{ runId: string }>
|
|
224
|
+
|
|
225
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
226
|
+
name: Name,
|
|
227
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
228
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
229
|
+
|
|
230
|
+
export type TypedWorkflowStatus = (
|
|
231
|
+
workflowName: string,
|
|
232
|
+
runId: string
|
|
233
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
234
|
+
|
|
235
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
236
|
+
? (name: string, input: AgentInput) => Promise<any>
|
|
237
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
238
|
+
name: Name,
|
|
239
|
+
input: AgentInput
|
|
240
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
241
|
+
|
|
242
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
243
|
+
? (name: string, input: AgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
244
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
245
|
+
name: Name,
|
|
246
|
+
input: AgentInput,
|
|
247
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
248
|
+
) => Promise<void>
|
|
249
|
+
|
|
250
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
251
|
+
|