@pikku/addon-console 0.12.41 → 0.12.43
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 +2002 -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 +3 -2
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js.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-map.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +14 -13
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js +5 -6
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/agent/pikku-model-aliases.gen.js +2 -2
- package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +1 -1
- package/dist/.pikku/agent/pikku-scorer-names.gen.d.ts +1 -1
- package/dist/.pikku/auth/auth.types.d.ts +1 -1
- package/dist/.pikku/auth/auth.types.js +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 +5 -26
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +2 -19
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +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 +26 -258
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +2 -236
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +247 -687
- package/dist/.pikku/function/pikku-functions-meta.gen.js +2 -2
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +192 -536
- package/dist/.pikku/function/pikku-functions.gen.js +13 -37
- 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 +4 -52
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +2 -41
- 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 +7 -36
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -23
- 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-bootstrap-scenarios.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +11 -9
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-services.gen.js +9 -7
- package/dist/.pikku/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/pikku-types.gen.d.ts +1 -2
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -3
- 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/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +25 -61
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +26 -61
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +19 -41
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +2 -2
- 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 +6 -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 +2 -2
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +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 +2 -2
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.js +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/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -1
- package/dist/.pikku/schemas/register.gen.js +19 -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/AddonReadinessInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AddonReadinessOutput.schema.json +1 -0
- 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/InstallAddonOutput.schema.json +1 -1
- 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 +5 -13
- package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -1
- package/dist/.pikku/scopes/pikku-personas.gen.js +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-scope-types.gen.d.ts +1 -3
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
- 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 +0 -1
- 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 +1 -2
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +8 -12
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +7 -9
- 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 +1 -22
- 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 +1 -2
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +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 +8 -10
- 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-personas.gen.d.ts +3 -2
- package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +1 -1
- package/dist/.pikku/workflow/pikku-personas.gen.js +2 -2
- package/dist/.pikku/workflow/pikku-personas.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
- 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 +2 -65
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +2 -2
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/src/functions/addon-readiness.function.d.ts +23 -0
- package/dist/src/functions/addon-readiness.function.d.ts.map +1 -0
- package/dist/src/functions/addon-readiness.function.js +41 -0
- package/dist/src/functions/addon-readiness.function.js.map +1 -0
- 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 +7 -6
- package/dist/src/functions/get-agent-run-scores.function.js.map +1 -1
- package/dist/src/functions/get-agent-run-scores.function.test.js +2 -2
- package/dist/src/functions/get-agent-run-scores.function.test.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-security-audit.function.test.js +3 -1
- package/dist/src/functions/get-security-audit.function.test.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 +4 -4
- 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 +7 -7
- 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 +19 -4
- package/dist/src/functions/install-addon.function.d.ts.map +1 -1
- package/dist/src/functions/install-addon.function.js +21 -11
- package/dist/src/functions/install-addon.function.js.map +1 -1
- package/dist/src/functions/install-addon.function.test.js +50 -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 +4 -4
- 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 +2 -2
- 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.map +1 -1
- package/dist/src/functions/render-email-template.utils.js.map +1 -1
- 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 +4 -4
- 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.d.ts +26 -0
- package/dist/src/lib/addon-readiness.d.ts.map +1 -0
- package/dist/src/lib/addon-readiness.js +82 -0
- package/dist/src/lib/addon-readiness.js.map +1 -0
- package/dist/src/lib/addon-readiness.test.d.ts +2 -0
- package/dist/src/lib/addon-readiness.test.d.ts.map +1 -0
- package/dist/src/lib/addon-readiness.test.js +118 -0
- package/dist/src/lib/addon-readiness.test.js.map +1 -0
- package/dist/src/lib/audit-exec.d.ts +1 -1
- package/dist/src/lib/audit-exec.d.ts.map +1 -1
- package/dist/src/lib/audit-exec.js.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.d.ts +6 -0
- package/dist/src/lib/derive-instance-overrides.d.ts.map +1 -1
- package/dist/src/lib/derive-instance-overrides.js +35 -2
- package/dist/src/lib/derive-instance-overrides.js.map +1 -1
- package/dist/src/lib/derive-instance-overrides.test.js +27 -1
- package/dist/src/lib/derive-instance-overrides.test.js.map +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 +15 -0
- package/dist/src/services/addon-readiness.service.d.ts.map +1 -0
- package/dist/src/services/addon-readiness.service.js +15 -0
- package/dist/src/services/addon-readiness.service.js.map +1 -0
- package/dist/src/services/addon.service.d.ts +1 -1
- package/dist/src/services/addon.service.d.ts.map +1 -1
- package/dist/src/services/code-edit.service.test.js +2 -2
- 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.d.ts +1 -1
- package/dist/src/services.d.ts.map +1 -1
- package/dist/src/services.js +18 -12
- package/dist/src/services.js.map +1 -1
- package/dist/types/application-types.d.ts +11 -1
- package/package.json +17 -20
- package/dist/.pikku/schemas/schemas/GetAuditFiltersOutput.schema.json +0 -1
- package/dist/.pikku/schemas/schemas/GetAuditsInput.schema.json +0 -1
- package/dist/.pikku/schemas/schemas/GetAuditsOutput.schema.json +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
@@ -7,46 +7,37 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
import type { AgentCredentialRequirement } from '../../src/functions/agent-credential-check.function.js'
|
|
10
|
-
import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
|
|
11
10
|
import type { AddonInstance } from '../../src/functions/get-addon-instances.function.js'
|
|
12
11
|
import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
|
|
13
|
-
import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta,
|
|
14
|
-
import type { ScenarioSurface } from '@pikku/core/
|
|
12
|
+
import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, PermissionMetadata } from '../../../../core/dist/function/function-meta.types.d.js'
|
|
13
|
+
import type { ScenarioSurface } from '@pikku/core/scenario'
|
|
15
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'
|
|
16
17
|
import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
|
|
17
18
|
import type { ScorerListEntry } from '../../src/functions/get-scorers.function.js'
|
|
18
19
|
import type { WorkflowStepMeta, RpcStepMeta, ScenarioStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '@pikku/core/workflow'
|
|
19
20
|
import type { WorkflowContext } from '@pikku/core/workflow/types'
|
|
21
|
+
import type { ScenarioRunSummary, ScenarioRunRecord } from '@pikku/core/scenario'
|
|
20
22
|
import type { WebhookDeliveryRecord, WebhookDeliveryWithAttempts } from '@pikku/core/services'
|
|
21
|
-
import type { DeclaredScopeEntry } from '../../src/functions/scope-list-declared.function.js'
|
|
22
|
-
import type { Role } from '@pikku/core/services'
|
|
23
23
|
import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
|
|
24
24
|
import type { AddonMetaQuery, AddonMetaPage, AddonPackageInfo } from '../../src/services/addon.service.js'
|
|
25
25
|
import type { AllMeta, ChannelSnippets } from '../../src/services/wiring.service.js'
|
|
26
|
-
import type { GetAuditFiltersOutput } from '../../src/functions/get-audit-filters.function.js'
|
|
27
|
-
import type { GetAuditsInput, GetAuditsOutput } from '../../src/functions/get-audits.function.js'
|
|
28
26
|
import type { AuthProvidersMeta } from '../../src/functions/get-auth-providers.function.js'
|
|
29
27
|
import type { DbSchema } from '../../src/services/db-schema.service.js'
|
|
30
28
|
import type { KnowledgeBundle } from '../../src/services/knowledge.service.js'
|
|
31
29
|
import type { JSONSchema7 } from 'json-schema'
|
|
32
30
|
import type { StateDiff } from '../../src/services/state-diff.service.js'
|
|
31
|
+
import type { SurfaceResult } from '../../src/lib/surface.types.js'
|
|
33
32
|
import type { RenderEmailPreviewInput, RenderEmailPreviewOutput } from '../../src/functions/render-email-preview.function.js'
|
|
34
33
|
|
|
34
|
+
export type AddonReadinessInput = { packageName: string; namespace: string; }
|
|
35
|
+
export type AddonReadinessOutput = { ready: boolean; missingSecrets: string[]; missingVariables: string[]; }
|
|
35
36
|
export type AgentCredentialCheckInput = { agentName: string; }
|
|
36
37
|
export type AgentCredentialCheckOutput = { requirements: AgentCredentialRequirement[]; allConnected: boolean; }
|
|
37
|
-
export type CredentialDeleteInput = { name: string; userId?: string | undefined; }
|
|
38
|
-
export type CredentialDeleteOutput = { success: boolean; }
|
|
39
|
-
export type CredentialGetInput = { name: string; userId?: string | undefined; }
|
|
40
|
-
export type CredentialGetOutput = { value: unknown; }
|
|
41
|
-
export type CredentialListUsersOutput = { users: CredentialUserEntry[]; }
|
|
42
|
-
export type CredentialSetInput = { name: string; value: unknown; userId?: string | undefined; }
|
|
43
|
-
export type CredentialSetOutput = { success: boolean; }
|
|
44
|
-
export type CredentialStatusInput = { names: string[]; userId?: string | undefined; }
|
|
45
|
-
export type CredentialStatusOutput = { statuses: Record<string, boolean>; }
|
|
46
|
-
export type CredentialUsersInput = { name: string; }
|
|
47
|
-
export type CredentialUsersOutput = { userIds: string[]; }
|
|
48
38
|
export type DeleteAgentThreadInput = { threadId: string; }
|
|
49
39
|
export type DeleteAgentThreadOutput = { deleted: boolean; }
|
|
40
|
+
export type DeleteScenarioRunInput = { runId: string; }
|
|
50
41
|
export type DeleteWorkflowRunInput = { runId: string; }
|
|
51
42
|
export type DeleteWorkflowRunOutput = { deleted: boolean; }
|
|
52
43
|
export type GetAddonCategoriesOutput = Record<string, number>
|
|
@@ -72,6 +63,8 @@ export type GetOpenapiDetailInput = { name: string; }
|
|
|
72
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; }
|
|
73
64
|
export type GetOpenapisInput = { limit: number; offset: number; search?: string | undefined; category?: string | undefined; }
|
|
74
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; }
|
|
75
68
|
export type GetSchemaInput = { schemaName: string; }
|
|
76
69
|
export type GetScorersOutput = ScorerListEntry[]
|
|
77
70
|
export type GetStateDiffInput = { basePath: string; oursPath?: string | undefined; }
|
|
@@ -90,9 +83,11 @@ export type GetWorkflowRunStepsOutput = any[]
|
|
|
90
83
|
export type GetWorkflowVersionInput = { name: string; graphHash: string; }
|
|
91
84
|
export type GetWorkflowVersionOutput = { graph: any; source: string; }
|
|
92
85
|
export type InstallAddonInput = { packageName: string; namespace: string; version?: string | undefined; }
|
|
93
|
-
export type InstallAddonOutput = { success: boolean; message: string; }
|
|
86
|
+
export type InstallAddonOutput = { success: boolean; message: string; restartRequired: boolean; ready: boolean; missingSecrets: string[]; missingVariables: string[]; namespace: string; }
|
|
94
87
|
export type InstallOpenapiAddonInput = { name: string; swaggerUrl: string; credential?: "apikey" | "bearer" | "oauth2" | undefined; }
|
|
95
88
|
export type InstallOpenapiAddonOutput = { success: boolean; message: string; }
|
|
89
|
+
export type ListScenarioRunsInput = { limit?: number | undefined; }
|
|
90
|
+
export type ListScenarioRunsOutput = ScenarioRunSummary[]
|
|
96
91
|
export type ListWebhookDeliveriesInput = { organizationId?: string | undefined; limit?: number | undefined; }
|
|
97
92
|
export type ListWebhookDeliveriesOutput = WebhookDeliveryRecord[]
|
|
98
93
|
export type PingOutput = { pong: true; }
|
|
@@ -102,24 +97,6 @@ export type ReadFunctionBodyInput = { sourceFile: string; exportedName: string;
|
|
|
102
97
|
export type ReadFunctionBodyOutput = { body: string; }
|
|
103
98
|
export type ReadFunctionSourceInput = { sourceFile: string; exportedName: string; }
|
|
104
99
|
export type ReadFunctionSourceOutput = { config: Record<string, unknown>; body: string | null; wrapperName: string; }
|
|
105
|
-
export type ScopeAddScopeToUserInput = { userId: string; scope: string; }
|
|
106
|
-
export type ScopeAddScopeToUserOutput = { success: boolean; }
|
|
107
|
-
export type ScopeAddUserToRoleInput = { userId: string; role: string; }
|
|
108
|
-
export type ScopeAddUserToRoleOutput = { success: boolean; }
|
|
109
|
-
export type ScopeCreateRoleInput = { name: string; description?: string | undefined; scopes: string[]; }
|
|
110
|
-
export type ScopeCreateRoleOutput = { success: boolean; }
|
|
111
|
-
export type ScopeDeleteRoleInput = { name: string; }
|
|
112
|
-
export type ScopeDeleteRoleOutput = { success: boolean; }
|
|
113
|
-
export type ScopeListDeclaredOutput = { scopes: DeclaredScopeEntry[]; }
|
|
114
|
-
export type ScopeListRolesOutput = { roles: Role[]; }
|
|
115
|
-
export type ScopeListUserRolesInput = { userId: string; }
|
|
116
|
-
export type ScopeListUserRolesOutput = { roles: string[]; scopes: string[]; directScopes: string[]; }
|
|
117
|
-
export type ScopeRemoveScopeFromUserInput = { userId: string; scope: string; }
|
|
118
|
-
export type ScopeRemoveScopeFromUserOutput = { success: boolean; }
|
|
119
|
-
export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
|
|
120
|
-
export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
|
|
121
|
-
export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
|
|
122
|
-
export type ScopeSetRoleScopesOutput = { success: boolean; }
|
|
123
100
|
export type SecretGetInput = { secretId: string; }
|
|
124
101
|
export type SecretGetOutput = { exists: boolean; value: unknown; }
|
|
125
102
|
export type SecretHasInput = { secretId: string; }
|
|
@@ -143,14 +120,10 @@ interface RPCHandler<I, O> {
|
|
|
143
120
|
}
|
|
144
121
|
|
|
145
122
|
export type RPCMap = {
|
|
123
|
+
readonly 'addonReadiness': RPCHandler<AddonReadinessInput, AddonReadinessOutput>,
|
|
146
124
|
readonly 'agentCredentialCheck': RPCHandler<AgentCredentialCheckInput, AgentCredentialCheckOutput>,
|
|
147
|
-
readonly 'credentialDelete': RPCHandler<CredentialDeleteInput, CredentialDeleteOutput>,
|
|
148
|
-
readonly 'credentialGet': RPCHandler<CredentialGetInput, CredentialGetOutput>,
|
|
149
|
-
readonly 'credentialListUsers': RPCHandler<null, CredentialListUsersOutput>,
|
|
150
|
-
readonly 'credentialSet': RPCHandler<CredentialSetInput, CredentialSetOutput>,
|
|
151
|
-
readonly 'credentialStatus': RPCHandler<CredentialStatusInput, CredentialStatusOutput>,
|
|
152
|
-
readonly 'credentialUsers': RPCHandler<CredentialUsersInput, CredentialUsersOutput>,
|
|
153
125
|
readonly 'deleteAgentThread': RPCHandler<DeleteAgentThreadInput, DeleteAgentThreadOutput>,
|
|
126
|
+
readonly 'deleteScenarioRun': RPCHandler<DeleteScenarioRunInput, null>,
|
|
154
127
|
readonly 'deleteWorkflowRun': RPCHandler<DeleteWorkflowRunInput, DeleteWorkflowRunOutput>,
|
|
155
128
|
readonly 'getAddonCategories': RPCHandler<null, GetAddonCategoriesOutput>,
|
|
156
129
|
readonly 'getAddonIcon': RPCHandler<GetAddonIconInput, string>,
|
|
@@ -162,8 +135,6 @@ export type RPCMap = {
|
|
|
162
135
|
readonly 'getAgentThreadRuns': RPCHandler<GetAgentThreadRunsInput, GetAgentThreadRunsOutput>,
|
|
163
136
|
readonly 'getAgentThreads': RPCHandler<GetAgentThreadsInput, GetAgentThreadsOutput>,
|
|
164
137
|
readonly 'getAllMeta': RPCHandler<null, AllMeta>,
|
|
165
|
-
readonly 'getAuditFilters': RPCHandler<null, GetAuditFiltersOutput>,
|
|
166
|
-
readonly 'getAudits': RPCHandler<GetAuditsInput, GetAuditsOutput>,
|
|
167
138
|
readonly 'getAuthProviders': RPCHandler<null, AuthProvidersMeta>,
|
|
168
139
|
readonly 'getChannelSnippets': RPCHandler<GetChannelSnippetsInput, ChannelSnippets>,
|
|
169
140
|
readonly 'getDbSchema': RPCHandler<null, DbSchema>,
|
|
@@ -175,10 +146,12 @@ export type RPCMap = {
|
|
|
175
146
|
readonly 'getOpenapiCategories': RPCHandler<null, GetOpenapiCategoriesOutput>,
|
|
176
147
|
readonly 'getOpenapiDetail': RPCHandler<GetOpenapiDetailInput, GetOpenapiDetailOutput>,
|
|
177
148
|
readonly 'getOpenapis': RPCHandler<GetOpenapisInput, GetOpenapisOutput>,
|
|
149
|
+
readonly 'getScenarioRun': RPCHandler<GetScenarioRunInput, ScenarioRunRecord>,
|
|
178
150
|
readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
|
|
179
151
|
readonly 'getScorers': RPCHandler<null, GetScorersOutput>,
|
|
180
152
|
readonly 'getSecurityAudit': RPCHandler<null, SecurityAuditReport>,
|
|
181
153
|
readonly 'getStateDiff': RPCHandler<GetStateDiffInput, StateDiff>,
|
|
154
|
+
readonly 'getSurface': RPCHandler<null, SurfaceResult>,
|
|
182
155
|
readonly 'getWebhookDelivery': RPCHandler<GetWebhookDeliveryInput, WebhookDeliveryWithAttempts>,
|
|
183
156
|
readonly 'getWorkflowMetaById': RPCHandler<GetWorkflowMetaByIdInput, GetWorkflowMetaByIdOutput>,
|
|
184
157
|
readonly 'getWorkflowRunHistory': RPCHandler<GetWorkflowRunHistoryInput, GetWorkflowRunHistoryOutput>,
|
|
@@ -189,6 +162,7 @@ export type RPCMap = {
|
|
|
189
162
|
readonly 'getWorkflowVersion': RPCHandler<GetWorkflowVersionInput, GetWorkflowVersionOutput>,
|
|
190
163
|
readonly 'installAddon': RPCHandler<InstallAddonInput, InstallAddonOutput>,
|
|
191
164
|
readonly 'installOpenapiAddon': RPCHandler<InstallOpenapiAddonInput, InstallOpenapiAddonOutput>,
|
|
165
|
+
readonly 'listScenarioRuns': RPCHandler<ListScenarioRunsInput, ListScenarioRunsOutput>,
|
|
192
166
|
readonly 'listWebhookDeliveries': RPCHandler<ListWebhookDeliveriesInput, ListWebhookDeliveriesOutput>,
|
|
193
167
|
readonly 'ping': RPCHandler<null, PingOutput>,
|
|
194
168
|
readonly 'readAgentSource': RPCHandler<ReadAgentSourceInput, ReadAgentSourceOutput>,
|
|
@@ -196,16 +170,6 @@ export type RPCMap = {
|
|
|
196
170
|
readonly 'readFunctionSource': RPCHandler<ReadFunctionSourceInput, ReadFunctionSourceOutput>,
|
|
197
171
|
readonly 'renderEmailPreview': RPCHandler<RenderEmailPreviewInput, RenderEmailPreviewOutput>,
|
|
198
172
|
readonly 'runSecurityAudit': RPCHandler<null, SecurityAuditReport>,
|
|
199
|
-
readonly 'scopeAddScopeToUser': RPCHandler<ScopeAddScopeToUserInput, ScopeAddScopeToUserOutput>,
|
|
200
|
-
readonly 'scopeAddUserToRole': RPCHandler<ScopeAddUserToRoleInput, ScopeAddUserToRoleOutput>,
|
|
201
|
-
readonly 'scopeCreateRole': RPCHandler<ScopeCreateRoleInput, ScopeCreateRoleOutput>,
|
|
202
|
-
readonly 'scopeDeleteRole': RPCHandler<ScopeDeleteRoleInput, ScopeDeleteRoleOutput>,
|
|
203
|
-
readonly 'scopeListDeclared': RPCHandler<null, ScopeListDeclaredOutput>,
|
|
204
|
-
readonly 'scopeListRoles': RPCHandler<null, ScopeListRolesOutput>,
|
|
205
|
-
readonly 'scopeListUserRoles': RPCHandler<ScopeListUserRolesInput, ScopeListUserRolesOutput>,
|
|
206
|
-
readonly 'scopeRemoveScopeFromUser': RPCHandler<ScopeRemoveScopeFromUserInput, ScopeRemoveScopeFromUserOutput>,
|
|
207
|
-
readonly 'scopeRemoveUserFromRole': RPCHandler<ScopeRemoveUserFromRoleInput, ScopeRemoveUserFromRoleOutput>,
|
|
208
|
-
readonly 'scopeSetRoleScopes': RPCHandler<ScopeSetRoleScopesInput, ScopeSetRoleScopesOutput>,
|
|
209
173
|
readonly 'secretGet': RPCHandler<SecretGetInput, SecretGetOutput>,
|
|
210
174
|
readonly 'secretHas': RPCHandler<SecretHasInput, SecretHasOutput>,
|
|
211
175
|
readonly 'secretSet': RPCHandler<SecretSetInput, SecretSetOutput>,
|
|
@@ -250,7 +214,7 @@ type FlattenedAgentMap = AgentMap
|
|
|
250
214
|
|
|
251
215
|
|
|
252
216
|
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
253
|
-
import type {
|
|
217
|
+
import type { AgentInput } from '@pikku/core/agent'
|
|
254
218
|
|
|
255
219
|
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
256
220
|
name: Name,
|
|
@@ -269,17 +233,17 @@ export type TypedWorkflowStatus = (
|
|
|
269
233
|
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
270
234
|
|
|
271
235
|
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
272
|
-
? (name: string, input:
|
|
236
|
+
? (name: string, input: AgentInput) => Promise<any>
|
|
273
237
|
: <Name extends keyof FlattenedAgentMap>(
|
|
274
238
|
name: Name,
|
|
275
|
-
input:
|
|
239
|
+
input: AgentInput
|
|
276
240
|
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
277
241
|
|
|
278
242
|
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
279
|
-
? (name: string, input:
|
|
243
|
+
? (name: string, input: AgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
280
244
|
: <Name extends keyof FlattenedAgentMap>(
|
|
281
245
|
name: Name,
|
|
282
|
-
input:
|
|
246
|
+
input: AgentInput,
|
|
283
247
|
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
284
248
|
) => Promise<void>
|
|
285
249
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
@@ -7,46 +7,37 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
import type { AgentCredentialRequirement } from '../../src/functions/agent-credential-check.function.js'
|
|
10
|
-
import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
|
|
11
10
|
import type { AddonInstance } from '../../src/functions/get-addon-instances.function.js'
|
|
12
11
|
import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
|
|
13
|
-
import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta,
|
|
14
|
-
import type { ScenarioSurface } from '@pikku/core/
|
|
12
|
+
import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, PermissionMetadata } from '../../../../core/dist/function/function-meta.types.d.js'
|
|
13
|
+
import type { ScenarioSurface } from '@pikku/core/scenario'
|
|
15
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'
|
|
16
17
|
import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
|
|
17
18
|
import type { ScorerListEntry } from '../../src/functions/get-scorers.function.js'
|
|
18
19
|
import type { WorkflowStepMeta, RpcStepMeta, ScenarioStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '@pikku/core/workflow'
|
|
19
20
|
import type { WorkflowContext } from '@pikku/core/workflow/types'
|
|
21
|
+
import type { ScenarioRunSummary, ScenarioRunRecord } from '@pikku/core/scenario'
|
|
20
22
|
import type { WebhookDeliveryRecord, WebhookDeliveryWithAttempts } from '@pikku/core/services'
|
|
21
|
-
import type { DeclaredScopeEntry } from '../../src/functions/scope-list-declared.function.js'
|
|
22
|
-
import type { Role } from '@pikku/core/services'
|
|
23
23
|
import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
|
|
24
24
|
import type { AddonMetaQuery, AddonMetaPage, AddonPackageInfo } from '../../src/services/addon.service.js'
|
|
25
25
|
import type { AllMeta, ChannelSnippets } from '../../src/services/wiring.service.js'
|
|
26
|
-
import type { GetAuditFiltersOutput } from '../../src/functions/get-audit-filters.function.js'
|
|
27
|
-
import type { GetAuditsInput, GetAuditsOutput } from '../../src/functions/get-audits.function.js'
|
|
28
26
|
import type { AuthProvidersMeta } from '../../src/functions/get-auth-providers.function.js'
|
|
29
27
|
import type { DbSchema } from '../../src/services/db-schema.service.js'
|
|
30
28
|
import type { KnowledgeBundle } from '../../src/services/knowledge.service.js'
|
|
31
29
|
import type { JSONSchema7 } from 'json-schema'
|
|
32
30
|
import type { StateDiff } from '../../src/services/state-diff.service.js'
|
|
31
|
+
import type { SurfaceResult } from '../../src/lib/surface.types.js'
|
|
33
32
|
import type { RenderEmailPreviewInput, RenderEmailPreviewOutput } from '../../src/functions/render-email-preview.function.js'
|
|
34
33
|
|
|
34
|
+
export type AddonReadinessInput = { packageName: string; namespace: string; }
|
|
35
|
+
export type AddonReadinessOutput = { ready: boolean; missingSecrets: string[]; missingVariables: string[]; }
|
|
35
36
|
export type AgentCredentialCheckInput = { agentName: string; }
|
|
36
37
|
export type AgentCredentialCheckOutput = { requirements: AgentCredentialRequirement[]; allConnected: boolean; }
|
|
37
|
-
export type CredentialDeleteInput = { name: string; userId?: string | undefined; }
|
|
38
|
-
export type CredentialDeleteOutput = { success: boolean; }
|
|
39
|
-
export type CredentialGetInput = { name: string; userId?: string | undefined; }
|
|
40
|
-
export type CredentialGetOutput = { value: unknown; }
|
|
41
|
-
export type CredentialListUsersOutput = { users: CredentialUserEntry[]; }
|
|
42
|
-
export type CredentialSetInput = { name: string; value: unknown; userId?: string | undefined; }
|
|
43
|
-
export type CredentialSetOutput = { success: boolean; }
|
|
44
|
-
export type CredentialStatusInput = { names: string[]; userId?: string | undefined; }
|
|
45
|
-
export type CredentialStatusOutput = { statuses: Record<string, boolean>; }
|
|
46
|
-
export type CredentialUsersInput = { name: string; }
|
|
47
|
-
export type CredentialUsersOutput = { userIds: string[]; }
|
|
48
38
|
export type DeleteAgentThreadInput = { threadId: string; }
|
|
49
39
|
export type DeleteAgentThreadOutput = { deleted: boolean; }
|
|
40
|
+
export type DeleteScenarioRunInput = { runId: string; }
|
|
50
41
|
export type DeleteWorkflowRunInput = { runId: string; }
|
|
51
42
|
export type DeleteWorkflowRunOutput = { deleted: boolean; }
|
|
52
43
|
export type GetAddonCategoriesOutput = Record<string, number>
|
|
@@ -72,6 +63,8 @@ export type GetOpenapiDetailInput = { name: string; }
|
|
|
72
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; }
|
|
73
64
|
export type GetOpenapisInput = { limit: number; offset: number; search?: string | undefined; category?: string | undefined; }
|
|
74
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; }
|
|
75
68
|
export type GetSchemaInput = { schemaName: string; }
|
|
76
69
|
export type GetScorersOutput = ScorerListEntry[]
|
|
77
70
|
export type GetStateDiffInput = { basePath: string; oursPath?: string | undefined; }
|
|
@@ -90,9 +83,11 @@ export type GetWorkflowRunStepsOutput = any[]
|
|
|
90
83
|
export type GetWorkflowVersionInput = { name: string; graphHash: string; }
|
|
91
84
|
export type GetWorkflowVersionOutput = { graph: any; source: string; }
|
|
92
85
|
export type InstallAddonInput = { packageName: string; namespace: string; version?: string | undefined; }
|
|
93
|
-
export type InstallAddonOutput = { success: boolean; message: string; }
|
|
86
|
+
export type InstallAddonOutput = { success: boolean; message: string; restartRequired: boolean; ready: boolean; missingSecrets: string[]; missingVariables: string[]; namespace: string; }
|
|
94
87
|
export type InstallOpenapiAddonInput = { name: string; swaggerUrl: string; credential?: "apikey" | "bearer" | "oauth2" | undefined; }
|
|
95
88
|
export type InstallOpenapiAddonOutput = { success: boolean; message: string; }
|
|
89
|
+
export type ListScenarioRunsInput = { limit?: number | undefined; }
|
|
90
|
+
export type ListScenarioRunsOutput = ScenarioRunSummary[]
|
|
96
91
|
export type ListWebhookDeliveriesInput = { organizationId?: string | undefined; limit?: number | undefined; }
|
|
97
92
|
export type ListWebhookDeliveriesOutput = WebhookDeliveryRecord[]
|
|
98
93
|
export type PingOutput = { pong: true; }
|
|
@@ -102,24 +97,6 @@ export type ReadFunctionBodyInput = { sourceFile: string; exportedName: string;
|
|
|
102
97
|
export type ReadFunctionBodyOutput = { body: string; }
|
|
103
98
|
export type ReadFunctionSourceInput = { sourceFile: string; exportedName: string; }
|
|
104
99
|
export type ReadFunctionSourceOutput = { config: Record<string, unknown>; body: string | null; wrapperName: string; }
|
|
105
|
-
export type ScopeAddScopeToUserInput = { userId: string; scope: string; }
|
|
106
|
-
export type ScopeAddScopeToUserOutput = { success: boolean; }
|
|
107
|
-
export type ScopeAddUserToRoleInput = { userId: string; role: string; }
|
|
108
|
-
export type ScopeAddUserToRoleOutput = { success: boolean; }
|
|
109
|
-
export type ScopeCreateRoleInput = { name: string; description?: string | undefined; scopes: string[]; }
|
|
110
|
-
export type ScopeCreateRoleOutput = { success: boolean; }
|
|
111
|
-
export type ScopeDeleteRoleInput = { name: string; }
|
|
112
|
-
export type ScopeDeleteRoleOutput = { success: boolean; }
|
|
113
|
-
export type ScopeListDeclaredOutput = { scopes: DeclaredScopeEntry[]; }
|
|
114
|
-
export type ScopeListRolesOutput = { roles: Role[]; }
|
|
115
|
-
export type ScopeListUserRolesInput = { userId: string; }
|
|
116
|
-
export type ScopeListUserRolesOutput = { roles: string[]; scopes: string[]; directScopes: string[]; }
|
|
117
|
-
export type ScopeRemoveScopeFromUserInput = { userId: string; scope: string; }
|
|
118
|
-
export type ScopeRemoveScopeFromUserOutput = { success: boolean; }
|
|
119
|
-
export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
|
|
120
|
-
export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
|
|
121
|
-
export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
|
|
122
|
-
export type ScopeSetRoleScopesOutput = { success: boolean; }
|
|
123
100
|
export type SecretGetInput = { secretId: string; }
|
|
124
101
|
export type SecretGetOutput = { exists: boolean; value: unknown; }
|
|
125
102
|
export type SecretHasInput = { secretId: string; }
|
|
@@ -143,14 +120,10 @@ interface RPCHandler<I, O> {
|
|
|
143
120
|
}
|
|
144
121
|
|
|
145
122
|
export type RPCMap = {
|
|
123
|
+
readonly 'addonReadiness': RPCHandler<AddonReadinessInput, AddonReadinessOutput>,
|
|
146
124
|
readonly 'agentCredentialCheck': RPCHandler<AgentCredentialCheckInput, AgentCredentialCheckOutput>,
|
|
147
|
-
readonly 'credentialDelete': RPCHandler<CredentialDeleteInput, CredentialDeleteOutput>,
|
|
148
|
-
readonly 'credentialGet': RPCHandler<CredentialGetInput, CredentialGetOutput>,
|
|
149
|
-
readonly 'credentialListUsers': RPCHandler<null, CredentialListUsersOutput>,
|
|
150
|
-
readonly 'credentialSet': RPCHandler<CredentialSetInput, CredentialSetOutput>,
|
|
151
|
-
readonly 'credentialStatus': RPCHandler<CredentialStatusInput, CredentialStatusOutput>,
|
|
152
|
-
readonly 'credentialUsers': RPCHandler<CredentialUsersInput, CredentialUsersOutput>,
|
|
153
125
|
readonly 'deleteAgentThread': RPCHandler<DeleteAgentThreadInput, DeleteAgentThreadOutput>,
|
|
126
|
+
readonly 'deleteScenarioRun': RPCHandler<DeleteScenarioRunInput, null>,
|
|
154
127
|
readonly 'deleteWorkflowRun': RPCHandler<DeleteWorkflowRunInput, DeleteWorkflowRunOutput>,
|
|
155
128
|
readonly 'getAddonCategories': RPCHandler<null, GetAddonCategoriesOutput>,
|
|
156
129
|
readonly 'getAddonIcon': RPCHandler<GetAddonIconInput, string>,
|
|
@@ -162,8 +135,6 @@ export type RPCMap = {
|
|
|
162
135
|
readonly 'getAgentThreadRuns': RPCHandler<GetAgentThreadRunsInput, GetAgentThreadRunsOutput>,
|
|
163
136
|
readonly 'getAgentThreads': RPCHandler<GetAgentThreadsInput, GetAgentThreadsOutput>,
|
|
164
137
|
readonly 'getAllMeta': RPCHandler<null, AllMeta>,
|
|
165
|
-
readonly 'getAuditFilters': RPCHandler<null, GetAuditFiltersOutput>,
|
|
166
|
-
readonly 'getAudits': RPCHandler<GetAuditsInput, GetAuditsOutput>,
|
|
167
138
|
readonly 'getAuthProviders': RPCHandler<null, AuthProvidersMeta>,
|
|
168
139
|
readonly 'getChannelSnippets': RPCHandler<GetChannelSnippetsInput, ChannelSnippets>,
|
|
169
140
|
readonly 'getDbSchema': RPCHandler<null, DbSchema>,
|
|
@@ -175,10 +146,13 @@ export type RPCMap = {
|
|
|
175
146
|
readonly 'getOpenapiCategories': RPCHandler<null, GetOpenapiCategoriesOutput>,
|
|
176
147
|
readonly 'getOpenapiDetail': RPCHandler<GetOpenapiDetailInput, GetOpenapiDetailOutput>,
|
|
177
148
|
readonly 'getOpenapis': RPCHandler<GetOpenapisInput, GetOpenapisOutput>,
|
|
149
|
+
readonly 'getScenarioArtifact': RPCHandler<GetScenarioArtifactInput, null>,
|
|
150
|
+
readonly 'getScenarioRun': RPCHandler<GetScenarioRunInput, ScenarioRunRecord>,
|
|
178
151
|
readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
|
|
179
152
|
readonly 'getScorers': RPCHandler<null, GetScorersOutput>,
|
|
180
153
|
readonly 'getSecurityAudit': RPCHandler<null, SecurityAuditReport>,
|
|
181
154
|
readonly 'getStateDiff': RPCHandler<GetStateDiffInput, StateDiff>,
|
|
155
|
+
readonly 'getSurface': RPCHandler<null, SurfaceResult>,
|
|
182
156
|
readonly 'getWebhookDelivery': RPCHandler<GetWebhookDeliveryInput, WebhookDeliveryWithAttempts>,
|
|
183
157
|
readonly 'getWorkflowMetaById': RPCHandler<GetWorkflowMetaByIdInput, GetWorkflowMetaByIdOutput>,
|
|
184
158
|
readonly 'getWorkflowRunHistory': RPCHandler<GetWorkflowRunHistoryInput, GetWorkflowRunHistoryOutput>,
|
|
@@ -189,6 +163,7 @@ export type RPCMap = {
|
|
|
189
163
|
readonly 'getWorkflowVersion': RPCHandler<GetWorkflowVersionInput, GetWorkflowVersionOutput>,
|
|
190
164
|
readonly 'installAddon': RPCHandler<InstallAddonInput, InstallAddonOutput>,
|
|
191
165
|
readonly 'installOpenapiAddon': RPCHandler<InstallOpenapiAddonInput, InstallOpenapiAddonOutput>,
|
|
166
|
+
readonly 'listScenarioRuns': RPCHandler<ListScenarioRunsInput, ListScenarioRunsOutput>,
|
|
192
167
|
readonly 'listWebhookDeliveries': RPCHandler<ListWebhookDeliveriesInput, ListWebhookDeliveriesOutput>,
|
|
193
168
|
readonly 'ping': RPCHandler<null, PingOutput>,
|
|
194
169
|
readonly 'readAgentSource': RPCHandler<ReadAgentSourceInput, ReadAgentSourceOutput>,
|
|
@@ -196,16 +171,6 @@ export type RPCMap = {
|
|
|
196
171
|
readonly 'readFunctionSource': RPCHandler<ReadFunctionSourceInput, ReadFunctionSourceOutput>,
|
|
197
172
|
readonly 'renderEmailPreview': RPCHandler<RenderEmailPreviewInput, RenderEmailPreviewOutput>,
|
|
198
173
|
readonly 'runSecurityAudit': RPCHandler<null, SecurityAuditReport>,
|
|
199
|
-
readonly 'scopeAddScopeToUser': RPCHandler<ScopeAddScopeToUserInput, ScopeAddScopeToUserOutput>,
|
|
200
|
-
readonly 'scopeAddUserToRole': RPCHandler<ScopeAddUserToRoleInput, ScopeAddUserToRoleOutput>,
|
|
201
|
-
readonly 'scopeCreateRole': RPCHandler<ScopeCreateRoleInput, ScopeCreateRoleOutput>,
|
|
202
|
-
readonly 'scopeDeleteRole': RPCHandler<ScopeDeleteRoleInput, ScopeDeleteRoleOutput>,
|
|
203
|
-
readonly 'scopeListDeclared': RPCHandler<null, ScopeListDeclaredOutput>,
|
|
204
|
-
readonly 'scopeListRoles': RPCHandler<null, ScopeListRolesOutput>,
|
|
205
|
-
readonly 'scopeListUserRoles': RPCHandler<ScopeListUserRolesInput, ScopeListUserRolesOutput>,
|
|
206
|
-
readonly 'scopeRemoveScopeFromUser': RPCHandler<ScopeRemoveScopeFromUserInput, ScopeRemoveScopeFromUserOutput>,
|
|
207
|
-
readonly 'scopeRemoveUserFromRole': RPCHandler<ScopeRemoveUserFromRoleInput, ScopeRemoveUserFromRoleOutput>,
|
|
208
|
-
readonly 'scopeSetRoleScopes': RPCHandler<ScopeSetRoleScopesInput, ScopeSetRoleScopesOutput>,
|
|
209
174
|
readonly 'secretGet': RPCHandler<SecretGetInput, SecretGetOutput>,
|
|
210
175
|
readonly 'secretHas': RPCHandler<SecretHasInput, SecretHasOutput>,
|
|
211
176
|
readonly 'secretSet': RPCHandler<SecretSetInput, SecretSetOutput>,
|
|
@@ -251,7 +216,7 @@ type FlattenedAgentMap = AgentMap
|
|
|
251
216
|
|
|
252
217
|
|
|
253
218
|
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
254
|
-
import type {
|
|
219
|
+
import type { AgentInput } from '@pikku/core/agent'
|
|
255
220
|
|
|
256
221
|
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
257
222
|
name: Name,
|
|
@@ -270,17 +235,17 @@ export type TypedWorkflowStatus = (
|
|
|
270
235
|
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
271
236
|
|
|
272
237
|
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
273
|
-
? (name: string, input:
|
|
238
|
+
? (name: string, input: AgentInput) => Promise<any>
|
|
274
239
|
: <Name extends keyof FlattenedAgentMap>(
|
|
275
240
|
name: Name,
|
|
276
|
-
input:
|
|
241
|
+
input: AgentInput
|
|
277
242
|
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
278
243
|
|
|
279
244
|
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
280
|
-
? (name: string, input:
|
|
245
|
+
? (name: string, input: AgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
281
246
|
: <Name extends keyof FlattenedAgentMap>(
|
|
282
247
|
name: Name,
|
|
283
|
-
input:
|
|
248
|
+
input: AgentInput,
|
|
284
249
|
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
285
250
|
) => Promise<void>
|
|
286
251
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
@@ -7,36 +7,28 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
import type { AgentCredentialRequirement } from '../../src/functions/agent-credential-check.function.js'
|
|
10
|
-
import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
|
|
11
10
|
import type { AddonInstance } from '../../src/functions/get-addon-instances.function.js'
|
|
12
11
|
import type { FunctionMetaWithVersions, FunctionVersionEntry } from '../../src/functions/get-functions-meta.function.js'
|
|
13
|
-
import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta,
|
|
14
|
-
import type { ScenarioSurface } from '@pikku/core/
|
|
12
|
+
import type { FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, PermissionMetadata } from '../../../../core/dist/function/function-meta.types.d.js'
|
|
13
|
+
import type { ScenarioSurface } from '@pikku/core/scenario'
|
|
15
14
|
import type { AuditDurability } from '@pikku/core/services'
|
|
15
|
+
import type { MiddlewareMetadata } from '../../../../core/dist/middleware/middleware.types.d.js'
|
|
16
|
+
import type { CommonWireMeta } from '@pikku/core/types'
|
|
16
17
|
import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
|
|
17
18
|
import type { ScorerListEntry } from '../../src/functions/get-scorers.function.js'
|
|
18
19
|
import type { WorkflowStepMeta, RpcStepMeta, ScenarioStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SuspendStepMeta, ApprovalStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '@pikku/core/workflow'
|
|
19
20
|
import type { WorkflowContext } from '@pikku/core/workflow/types'
|
|
21
|
+
import type { ScenarioRunSummary } from '@pikku/core/scenario'
|
|
20
22
|
import type { WebhookDeliveryRecord } from '@pikku/core/services'
|
|
21
|
-
import type { DeclaredScopeEntry } from '../../src/functions/scope-list-declared.function.js'
|
|
22
|
-
import type { Role } from '@pikku/core/services'
|
|
23
23
|
import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
|
|
24
24
|
|
|
25
|
+
export type AddonReadinessInput = { packageName: string; namespace: string; }
|
|
26
|
+
export type AddonReadinessOutput = { ready: boolean; missingSecrets: string[]; missingVariables: string[]; }
|
|
25
27
|
export type AgentCredentialCheckInput = { agentName: string; }
|
|
26
28
|
export type AgentCredentialCheckOutput = { requirements: AgentCredentialRequirement[]; allConnected: boolean; }
|
|
27
|
-
export type CredentialDeleteInput = { name: string; userId?: string | undefined; }
|
|
28
|
-
export type CredentialDeleteOutput = { success: boolean; }
|
|
29
|
-
export type CredentialGetInput = { name: string; userId?: string | undefined; }
|
|
30
|
-
export type CredentialGetOutput = { value: unknown; }
|
|
31
|
-
export type CredentialListUsersOutput = { users: CredentialUserEntry[]; }
|
|
32
|
-
export type CredentialSetInput = { name: string; value: unknown; userId?: string | undefined; }
|
|
33
|
-
export type CredentialSetOutput = { success: boolean; }
|
|
34
|
-
export type CredentialStatusInput = { names: string[]; userId?: string | undefined; }
|
|
35
|
-
export type CredentialStatusOutput = { statuses: Record<string, boolean>; }
|
|
36
|
-
export type CredentialUsersInput = { name: string; }
|
|
37
|
-
export type CredentialUsersOutput = { userIds: string[]; }
|
|
38
29
|
export type DeleteAgentThreadInput = { threadId: string; }
|
|
39
30
|
export type DeleteAgentThreadOutput = { deleted: boolean; }
|
|
31
|
+
export type DeleteScenarioRunInput = { runId: string; }
|
|
40
32
|
export type DeleteWorkflowRunInput = { runId: string; }
|
|
41
33
|
export type DeleteWorkflowRunOutput = { deleted: boolean; }
|
|
42
34
|
export type GetAddonCategoriesOutput = Record<string, number>
|
|
@@ -62,6 +54,8 @@ export type GetOpenapiDetailInput = { name: string; }
|
|
|
62
54
|
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; }
|
|
63
55
|
export type GetOpenapisInput = { limit: number; offset: number; search?: string | undefined; category?: string | undefined; }
|
|
64
56
|
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; }
|
|
57
|
+
export type GetScenarioArtifactInput = { runId: string; path: string; }
|
|
58
|
+
export type GetScenarioRunInput = { runId: string; }
|
|
65
59
|
export type GetSchemaInput = { schemaName: string; }
|
|
66
60
|
export type GetScorersOutput = ScorerListEntry[]
|
|
67
61
|
export type GetStateDiffInput = { basePath: string; oursPath?: string | undefined; }
|
|
@@ -80,9 +74,11 @@ export type GetWorkflowRunStepsOutput = any[]
|
|
|
80
74
|
export type GetWorkflowVersionInput = { name: string; graphHash: string; }
|
|
81
75
|
export type GetWorkflowVersionOutput = { graph: any; source: string; }
|
|
82
76
|
export type InstallAddonInput = { packageName: string; namespace: string; version?: string | undefined; }
|
|
83
|
-
export type InstallAddonOutput = { success: boolean; message: string; }
|
|
77
|
+
export type InstallAddonOutput = { success: boolean; message: string; restartRequired: boolean; ready: boolean; missingSecrets: string[]; missingVariables: string[]; namespace: string; }
|
|
84
78
|
export type InstallOpenapiAddonInput = { name: string; swaggerUrl: string; credential?: "apikey" | "bearer" | "oauth2" | undefined; }
|
|
85
79
|
export type InstallOpenapiAddonOutput = { success: boolean; message: string; }
|
|
80
|
+
export type ListScenarioRunsInput = { limit?: number | undefined; }
|
|
81
|
+
export type ListScenarioRunsOutput = ScenarioRunSummary[]
|
|
86
82
|
export type ListWebhookDeliveriesInput = { organizationId?: string | undefined; limit?: number | undefined; }
|
|
87
83
|
export type ListWebhookDeliveriesOutput = WebhookDeliveryRecord[]
|
|
88
84
|
export type PingOutput = { pong: true; }
|
|
@@ -92,24 +88,6 @@ export type ReadFunctionBodyInput = { sourceFile: string; exportedName: string;
|
|
|
92
88
|
export type ReadFunctionBodyOutput = { body: string; }
|
|
93
89
|
export type ReadFunctionSourceInput = { sourceFile: string; exportedName: string; }
|
|
94
90
|
export type ReadFunctionSourceOutput = { config: Record<string, unknown>; body: string | null; wrapperName: string; }
|
|
95
|
-
export type ScopeAddScopeToUserInput = { userId: string; scope: string; }
|
|
96
|
-
export type ScopeAddScopeToUserOutput = { success: boolean; }
|
|
97
|
-
export type ScopeAddUserToRoleInput = { userId: string; role: string; }
|
|
98
|
-
export type ScopeAddUserToRoleOutput = { success: boolean; }
|
|
99
|
-
export type ScopeCreateRoleInput = { name: string; description?: string | undefined; scopes: string[]; }
|
|
100
|
-
export type ScopeCreateRoleOutput = { success: boolean; }
|
|
101
|
-
export type ScopeDeleteRoleInput = { name: string; }
|
|
102
|
-
export type ScopeDeleteRoleOutput = { success: boolean; }
|
|
103
|
-
export type ScopeListDeclaredOutput = { scopes: DeclaredScopeEntry[]; }
|
|
104
|
-
export type ScopeListRolesOutput = { roles: Role[]; }
|
|
105
|
-
export type ScopeListUserRolesInput = { userId: string; }
|
|
106
|
-
export type ScopeListUserRolesOutput = { roles: string[]; scopes: string[]; directScopes: string[]; }
|
|
107
|
-
export type ScopeRemoveScopeFromUserInput = { userId: string; scope: string; }
|
|
108
|
-
export type ScopeRemoveScopeFromUserOutput = { success: boolean; }
|
|
109
|
-
export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
|
|
110
|
-
export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
|
|
111
|
-
export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
|
|
112
|
-
export type ScopeSetRoleScopesOutput = { success: boolean; }
|
|
113
91
|
export type SecretGetInput = { secretId: string; }
|
|
114
92
|
export type SecretGetOutput = { exists: boolean; value: unknown; }
|
|
115
93
|
export type SecretHasInput = { secretId: string; }
|
|
@@ -169,7 +147,7 @@ type FlattenedAgentMap = AgentMap
|
|
|
169
147
|
|
|
170
148
|
|
|
171
149
|
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
172
|
-
import type {
|
|
150
|
+
import type { AgentInput } from '@pikku/core/agent'
|
|
173
151
|
|
|
174
152
|
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
175
153
|
name: Name,
|
|
@@ -188,17 +166,17 @@ export type TypedWorkflowStatus = (
|
|
|
188
166
|
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
189
167
|
|
|
190
168
|
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
191
|
-
? (name: string, input:
|
|
169
|
+
? (name: string, input: AgentInput) => Promise<any>
|
|
192
170
|
: <Name extends keyof FlattenedAgentMap>(
|
|
193
171
|
name: Name,
|
|
194
|
-
input:
|
|
172
|
+
input: AgentInput
|
|
195
173
|
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
196
174
|
|
|
197
175
|
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
198
|
-
? (name: string, input:
|
|
176
|
+
? (name: string, input: AgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
199
177
|
: <Name extends keyof FlattenedAgentMap>(
|
|
200
178
|
name: Name,
|
|
201
|
-
input:
|
|
179
|
+
input: AgentInput,
|
|
202
180
|
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
203
181
|
) => Promise<void>
|
|
204
182
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.105
|
|
3
3
|
*/
|
|
4
|
-
import { pikkuState } from '@pikku/core/
|
|
4
|
+
import { pikkuState } from '@pikku/core/state';
|
|
5
5
|
import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
|
|
6
6
|
pikkuState('@pikku/addon-console', 'rpc', 'meta', metaData);
|
|
7
7
|
//# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,sBAAsB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
+
"addonReadiness": "addonReadiness",
|
|
2
3
|
"agentCredentialCheck": "agentCredentialCheck",
|
|
3
|
-
"credentialDelete": "credentialDelete",
|
|
4
|
-
"credentialGet": "credentialGet",
|
|
5
|
-
"credentialListUsers": "credentialListUsers",
|
|
6
|
-
"credentialSet": "credentialSet",
|
|
7
|
-
"credentialStatus": "credentialStatus",
|
|
8
|
-
"credentialUsers": "credentialUsers",
|
|
9
4
|
"deleteAgentThread": "deleteAgentThread",
|
|
5
|
+
"deleteScenarioRun": "deleteScenarioRun",
|
|
10
6
|
"deleteWorkflowRun": "deleteWorkflowRun",
|
|
11
7
|
"getAddonCategories": "getAddonCategories",
|
|
12
8
|
"getAddonIcon": "getAddonIcon",
|
|
@@ -18,8 +14,6 @@
|
|
|
18
14
|
"getAgentThreadRuns": "getAgentThreadRuns",
|
|
19
15
|
"getAgentThreads": "getAgentThreads",
|
|
20
16
|
"getAllMeta": "getAllMeta",
|
|
21
|
-
"getAuditFilters": "getAuditFilters",
|
|
22
|
-
"getAudits": "getAudits",
|
|
23
17
|
"getAuthProviders": "getAuthProviders",
|
|
24
18
|
"getChannelSnippets": "getChannelSnippets",
|
|
25
19
|
"getDbSchema": "getDbSchema",
|
|
@@ -31,10 +25,13 @@
|
|
|
31
25
|
"getOpenapiCategories": "getOpenapiCategories",
|
|
32
26
|
"getOpenapiDetail": "getOpenapiDetail",
|
|
33
27
|
"getOpenapis": "getOpenapis",
|
|
28
|
+
"getScenarioArtifact": "getScenarioArtifact",
|
|
29
|
+
"getScenarioRun": "getScenarioRun",
|
|
34
30
|
"getSchema": "getSchema",
|
|
35
31
|
"getScorers": "getScorers",
|
|
36
32
|
"getSecurityAudit": "getSecurityAudit",
|
|
37
33
|
"getStateDiff": "getStateDiff",
|
|
34
|
+
"getSurface": "getSurface",
|
|
38
35
|
"getWebhookDelivery": "getWebhookDelivery",
|
|
39
36
|
"getWorkflowMetaById": "getWorkflowMetaById",
|
|
40
37
|
"getWorkflowRunHistory": "getWorkflowRunHistory",
|
|
@@ -45,6 +42,7 @@
|
|
|
45
42
|
"getWorkflowVersion": "getWorkflowVersion",
|
|
46
43
|
"installAddon": "installAddon",
|
|
47
44
|
"installOpenapiAddon": "installOpenapiAddon",
|
|
45
|
+
"listScenarioRuns": "listScenarioRuns",
|
|
48
46
|
"listWebhookDeliveries": "listWebhookDeliveries",
|
|
49
47
|
"ping": "ping",
|
|
50
48
|
"readAgentSource": "readAgentSource",
|
|
@@ -52,16 +50,6 @@
|
|
|
52
50
|
"readFunctionSource": "readFunctionSource",
|
|
53
51
|
"renderEmailPreview": "renderEmailPreview",
|
|
54
52
|
"runSecurityAudit": "runSecurityAudit",
|
|
55
|
-
"scopeAddScopeToUser": "scopeAddScopeToUser",
|
|
56
|
-
"scopeAddUserToRole": "scopeAddUserToRole",
|
|
57
|
-
"scopeCreateRole": "scopeCreateRole",
|
|
58
|
-
"scopeDeleteRole": "scopeDeleteRole",
|
|
59
|
-
"scopeListDeclared": "scopeListDeclared",
|
|
60
|
-
"scopeListRoles": "scopeListRoles",
|
|
61
|
-
"scopeListUserRoles": "scopeListUserRoles",
|
|
62
|
-
"scopeRemoveScopeFromUser": "scopeRemoveScopeFromUser",
|
|
63
|
-
"scopeRemoveUserFromRole": "scopeRemoveUserFromRole",
|
|
64
|
-
"scopeSetRoleScopes": "scopeSetRoleScopes",
|
|
65
53
|
"secretGet": "secretGet",
|
|
66
54
|
"secretHas": "secretHas",
|
|
67
55
|
"secretSet": "secretSet",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../.pikku/scenarios/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,+BAA+B,CAAA"}
|