@pikku/addon-console 0.12.5 → 0.12.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +3 -3
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +6 -2
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-package.gen.js +2 -1
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +6 -6
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +78 -0
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts.map +1 -0
- package/dist/.pikku/cli/pikku-cli-types.gen.js +61 -0
- package/dist/.pikku/cli/pikku-cli-types.gen.js.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +28 -31
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +15 -19
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +522 -184
- package/dist/.pikku/function/pikku-functions.gen.js +38 -2
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +3 -2
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -10
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -1
- package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.d.ts +12 -10
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-services.gen.js +11 -8
- package/dist/.pikku/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +218 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +219 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +32 -14
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.js +111 -43
- package/dist/.pikku/schemas/register.gen.js.map +1 -1
- package/dist/.pikku/schemas/schemas/AddonPackageInfo.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/AgentCredentialCheckInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AgentCredentialCheckOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/AllMeta.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/CredentialDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialListUsersOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialSetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialStatusInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialStatusOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialUsersInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/CredentialUsersOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetAddonMetaOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/GetFunctionsMetaOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/GetOpenapiDetailInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetOpenapiDetailOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetOpenapisInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetOpenapisOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/GetWorkflowMetaByIdOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/InstallAddonInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/InstallAddonOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/InstallOpenapiAddonInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/InstallOpenapiAddonOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/OauthConnectInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PingOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReadAgentSourceInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReadAgentSourceOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReadFunctionBodyInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReadFunctionBodyOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReadFunctionSourceInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/ReadFunctionSourceOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateAgentConfigInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateAgentConfigOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateFunctionBodyInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateFunctionBodyOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateFunctionConfigInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/UpdateFunctionConfigOutput.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +36 -27
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +5 -18
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/src/functions/agent-credential-check.function.d.ts +26 -0
- package/dist/src/functions/agent-credential-check.function.d.ts.map +1 -0
- package/dist/src/functions/agent-credential-check.function.js +48 -0
- package/dist/src/functions/agent-credential-check.function.js.map +1 -0
- package/dist/src/functions/credential-delete.function.d.ts +17 -0
- package/dist/src/functions/credential-delete.function.d.ts.map +1 -0
- package/dist/src/functions/credential-delete.function.js +15 -0
- package/dist/src/functions/credential-delete.function.js.map +1 -0
- package/dist/src/functions/credential-get.function.d.ts +17 -0
- package/dist/src/functions/credential-get.function.d.ts.map +1 -0
- package/dist/src/functions/credential-get.function.js +15 -0
- package/dist/src/functions/credential-get.function.js.map +1 -0
- package/dist/src/functions/credential-list-users.function.d.ts +12 -0
- package/dist/src/functions/credential-list-users.function.d.ts.map +1 -0
- package/dist/src/functions/credential-list-users.function.js +25 -0
- package/dist/src/functions/credential-list-users.function.js.map +1 -0
- package/dist/src/functions/credential-set.function.d.ts +20 -0
- package/dist/src/functions/credential-set.function.d.ts.map +1 -0
- package/dist/src/functions/credential-set.function.js +15 -0
- package/dist/src/functions/credential-set.function.js.map +1 -0
- package/dist/src/functions/credential-status.function.d.ts +17 -0
- package/dist/src/functions/credential-status.function.d.ts.map +1 -0
- package/dist/src/functions/credential-status.function.js +18 -0
- package/dist/src/functions/credential-status.function.js.map +1 -0
- package/dist/src/functions/credential-users.function.d.ts +14 -0
- package/dist/src/functions/credential-users.function.d.ts.map +1 -0
- package/dist/src/functions/credential-users.function.js +15 -0
- package/dist/src/functions/credential-users.function.js.map +1 -0
- package/dist/src/functions/delete-agent-thread.function.d.ts.map +1 -1
- package/dist/src/functions/delete-agent-thread.function.js +2 -1
- package/dist/src/functions/delete-agent-thread.function.js.map +1 -1
- package/dist/src/functions/delete-workflow-run.function.d.ts.map +1 -1
- package/dist/src/functions/delete-workflow-run.function.js +2 -1
- package/dist/src/functions/delete-workflow-run.function.js.map +1 -1
- package/dist/src/functions/get-agent-thread-messages.function.d.ts.map +1 -1
- package/dist/src/functions/get-agent-thread-messages.function.js +2 -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.map +1 -1
- package/dist/src/functions/get-agent-thread-runs.function.js +2 -1
- package/dist/src/functions/get-agent-thread-runs.function.js.map +1 -1
- package/dist/src/functions/get-agent-threads.function.d.ts.map +1 -1
- package/dist/src/functions/get-agent-threads.function.js +2 -1
- package/dist/src/functions/get-agent-threads.function.js.map +1 -1
- package/dist/src/functions/get-ai-workflows.function.d.ts.map +1 -1
- package/dist/src/functions/get-ai-workflows.function.js +5 -4
- package/dist/src/functions/get-ai-workflows.function.js.map +1 -1
- package/dist/src/functions/get-channel-snippets.function.d.ts.map +1 -1
- package/dist/src/functions/get-channel-snippets.function.js +3 -3
- package/dist/src/functions/get-channel-snippets.function.js.map +1 -1
- package/dist/src/functions/get-functions-meta.function.js +3 -3
- package/dist/src/functions/get-functions-meta.function.js.map +1 -1
- package/dist/src/functions/get-installed-addons.function.d.ts.map +1 -1
- package/dist/src/functions/get-installed-addons.function.js +9 -9
- package/dist/src/functions/get-installed-addons.function.js.map +1 -1
- package/dist/src/functions/get-installed-package.function.d.ts.map +1 -1
- package/dist/src/functions/get-installed-package.function.js +39 -51
- package/dist/src/functions/get-installed-package.function.js.map +1 -1
- package/dist/src/functions/get-openapi-detail.function.d.ts +53 -0
- package/dist/src/functions/get-openapi-detail.function.d.ts.map +1 -0
- package/dist/src/functions/get-openapi-detail.function.js +17 -0
- package/dist/src/functions/get-openapi-detail.function.js.map +1 -0
- package/dist/src/functions/get-openapis.function.d.ts +56 -0
- package/dist/src/functions/get-openapis.function.d.ts.map +1 -0
- package/dist/src/functions/get-openapis.function.js +20 -0
- package/dist/src/functions/get-openapis.function.js.map +1 -0
- package/dist/src/functions/get-schema.function.js +3 -3
- package/dist/src/functions/get-schema.function.js.map +1 -1
- package/dist/src/functions/get-workflow-meta-by-id.function.d.ts +6 -0
- 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 +4 -4
- 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.map +1 -1
- package/dist/src/functions/get-workflow-run-history.function.js +2 -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.map +1 -1
- package/dist/src/functions/get-workflow-run-names.function.js +2 -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.map +1 -1
- package/dist/src/functions/get-workflow-run-steps.function.js +2 -1
- package/dist/src/functions/get-workflow-run-steps.function.js.map +1 -1
- package/dist/src/functions/get-workflow-run.function.d.ts.map +1 -1
- package/dist/src/functions/get-workflow-run.function.js +2 -1
- package/dist/src/functions/get-workflow-run.function.js.map +1 -1
- package/dist/src/functions/get-workflow-runs.function.d.ts.map +1 -1
- package/dist/src/functions/get-workflow-runs.function.js +2 -1
- package/dist/src/functions/get-workflow-runs.function.js.map +1 -1
- package/dist/src/functions/get-workflow-version.function.d.ts.map +1 -1
- package/dist/src/functions/get-workflow-version.function.js +2 -1
- package/dist/src/functions/get-workflow-version.function.js.map +1 -1
- package/dist/src/functions/install-addon.function.d.ts +23 -0
- package/dist/src/functions/install-addon.function.d.ts.map +1 -0
- package/dist/src/functions/install-addon.function.js +78 -0
- package/dist/src/functions/install-addon.function.js.map +1 -0
- package/dist/src/functions/install-openapi-addon.function.d.ts +23 -0
- package/dist/src/functions/install-openapi-addon.function.d.ts.map +1 -0
- package/dist/src/functions/install-openapi-addon.function.js +112 -0
- package/dist/src/functions/install-openapi-addon.function.js.map +1 -0
- package/dist/src/functions/oauth-connect.function.d.ts +3 -0
- package/dist/src/functions/oauth-connect.function.d.ts.map +1 -1
- package/dist/src/functions/oauth-connect.function.js +16 -6
- package/dist/src/functions/oauth-connect.function.js.map +1 -1
- package/dist/src/functions/oauth-disconnect.function.d.ts.map +1 -1
- package/dist/src/functions/oauth-disconnect.function.js +11 -5
- package/dist/src/functions/oauth-disconnect.function.js.map +1 -1
- package/dist/src/functions/oauth-exchange-tokens.function.d.ts.map +1 -1
- package/dist/src/functions/oauth-exchange-tokens.function.js +9 -4
- package/dist/src/functions/oauth-exchange-tokens.function.js.map +1 -1
- package/dist/src/functions/oauth-refresh-token.function.d.ts.map +1 -1
- package/dist/src/functions/oauth-refresh-token.function.js +4 -3
- package/dist/src/functions/oauth-refresh-token.function.js.map +1 -1
- package/dist/src/functions/oauth-status.function.d.ts.map +1 -1
- package/dist/src/functions/oauth-status.function.js +16 -6
- package/dist/src/functions/oauth-status.function.js.map +1 -1
- package/dist/src/functions/oauth-test-token.function.d.ts.map +1 -1
- package/dist/src/functions/oauth-test-token.function.js +4 -3
- package/dist/src/functions/oauth-test-token.function.js.map +1 -1
- package/dist/src/functions/ping.function.d.ts +8 -0
- package/dist/src/functions/ping.function.d.ts.map +1 -0
- package/dist/src/functions/ping.function.js +11 -0
- package/dist/src/functions/ping.function.js.map +1 -0
- package/dist/src/functions/read-agent-source.function.d.ts +17 -0
- package/dist/src/functions/read-agent-source.function.d.ts.map +1 -0
- package/dist/src/functions/read-agent-source.function.js +15 -0
- package/dist/src/functions/read-agent-source.function.js.map +1 -0
- package/dist/src/functions/read-function-body.function.d.ts +17 -0
- package/dist/src/functions/read-function-body.function.d.ts.map +1 -0
- package/dist/src/functions/read-function-body.function.js +16 -0
- package/dist/src/functions/read-function-body.function.js.map +1 -0
- package/dist/src/functions/read-function-source.function.d.ts +23 -0
- package/dist/src/functions/read-function-source.function.d.ts.map +1 -0
- package/dist/src/functions/read-function-source.function.js +15 -0
- package/dist/src/functions/read-function-source.function.js.map +1 -0
- package/dist/src/functions/stream-workflow-run.function.d.ts.map +1 -1
- package/dist/src/functions/stream-workflow-run.function.js +2 -1
- package/dist/src/functions/stream-workflow-run.function.js.map +1 -1
- package/dist/src/functions/update-agent-config.function.d.ts +21 -0
- package/dist/src/functions/update-agent-config.function.d.ts.map +1 -0
- package/dist/src/functions/update-agent-config.function.js +16 -0
- package/dist/src/functions/update-agent-config.function.js.map +1 -0
- package/dist/src/functions/update-function-body.function.d.ts +20 -0
- package/dist/src/functions/update-function-body.function.d.ts.map +1 -0
- package/dist/src/functions/update-function-body.function.js +16 -0
- package/dist/src/functions/update-function-body.function.js.map +1 -0
- package/dist/src/functions/update-function-config.function.d.ts +21 -0
- package/dist/src/functions/update-function-config.function.d.ts.map +1 -0
- package/dist/src/functions/update-function-config.function.js +16 -0
- package/dist/src/functions/update-function-config.function.js.map +1 -0
- package/dist/src/services/code-edit.service.d.ts +51 -0
- package/dist/src/services/code-edit.service.d.ts.map +1 -0
- package/dist/src/services/code-edit.service.js +299 -0
- package/dist/src/services/code-edit.service.js.map +1 -0
- package/dist/src/services/code-edit.service.test.d.ts +2 -0
- package/dist/src/services/code-edit.service.test.d.ts.map +1 -0
- package/dist/src/services/code-edit.service.test.js +375 -0
- package/dist/src/services/code-edit.service.test.js.map +1 -0
- package/dist/src/services/oauth.service.d.ts +1 -0
- package/dist/src/services/oauth.service.d.ts.map +1 -1
- package/dist/src/services/oauth.service.js.map +1 -1
- package/dist/src/services/wiring.service.d.ts +12 -222
- package/dist/src/services/wiring.service.d.ts.map +1 -1
- package/dist/src/services/wiring.service.js +30 -334
- package/dist/src/services/wiring.service.js.map +1 -1
- package/dist/src/services.d.ts.map +1 -1
- package/dist/src/services.js +16 -11
- package/dist/src/services.js.map +1 -1
- package/package.json +8 -10
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts +0 -2
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.d.ts.map +0 -1
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +0 -7
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js.map +0 -1
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.json +0 -3
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +0 -5
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts.map +0 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js +0 -5
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js.map +0 -1
- package/dist/src/index.d.ts +0 -16
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -15
- package/dist/src/index.js.map +0 -1
- package/dist/src/services/file-watcher.service.d.ts +0 -13
- package/dist/src/services/file-watcher.service.d.ts.map +0 -1
- package/dist/src/services/file-watcher.service.js +0 -31
- package/dist/src/services/file-watcher.service.js.map +0 -1
- package/dist/src/services/schema.service.d.ts +0 -10
- package/dist/src/services/schema.service.d.ts.map +0 -1
- package/dist/src/services/schema.service.js +0 -35
- package/dist/src/services/schema.service.js.map +0 -1
|
@@ -2,26 +2,29 @@
|
|
|
2
2
|
export const requiredSingletonServices = {
|
|
3
3
|
'addonService': true,
|
|
4
4
|
'agentRunService': true,
|
|
5
|
-
'aiAgentRunner':
|
|
6
|
-
'aiRunState':
|
|
7
|
-
'aiStorage':
|
|
5
|
+
'aiAgentRunner': true,
|
|
6
|
+
'aiRunState': true,
|
|
7
|
+
'aiStorage': true,
|
|
8
|
+
'codeEditService': true,
|
|
8
9
|
'config': true,
|
|
9
10
|
'content': false,
|
|
10
|
-
'
|
|
11
|
-
'
|
|
11
|
+
'credentialService': true,
|
|
12
|
+
'deploymentService': true,
|
|
12
13
|
'jwt': false,
|
|
13
14
|
'logger': true,
|
|
15
|
+
'metaService': true,
|
|
14
16
|
'oauthService': true,
|
|
15
17
|
'queueService': false,
|
|
16
|
-
'schedulerService':
|
|
18
|
+
'schedulerService': true,
|
|
17
19
|
'schema': true,
|
|
18
|
-
'schemaService': true,
|
|
19
20
|
'secrets': true,
|
|
20
21
|
'variables': true,
|
|
21
22
|
'wiringService': true,
|
|
22
23
|
'workflowRunService': true,
|
|
23
|
-
'workflowService':
|
|
24
|
+
'workflowService': true,
|
|
24
25
|
};
|
|
25
26
|
// Wire services map: true if required, false if available but unused
|
|
26
27
|
export const requiredWireServices = {};
|
|
28
|
+
// Services this addon needs from the parent project
|
|
29
|
+
export const requiredParentServices = ["variables", "metaService", "aiAgentRunner", "schedulerService", "agentRunService", "workflowService", "workflowRunService", "aiStorage", "aiRunState", "deploymentService", "credentialService"];
|
|
27
30
|
//# sourceMappingURL=pikku-services.gen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,cAAc,EAAE,IAAI;IACpB,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,YAAY,EAAE,IAAI;IAClB,WAAW,EAAE,IAAI;IACjB,iBAAiB,EAAE,IAAI;IACvB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,IAAI;IACzB,mBAAmB,EAAE,IAAI;IACzB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,cAAc,EAAE,IAAI;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,IAAI;IACxB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,eAAe,EAAE,IAAI;IACrB,oBAAoB,EAAE,IAAI;IAC1B,iBAAiB,EAAE,IAAI;CACf,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,WAAW,EAAC,aAAa,EAAC,eAAe,EAAC,kBAAkB,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,oBAAoB,EAAC,WAAW,EAAC,YAAY,EAAC,mBAAmB,EAAC,mBAAmB,CAAU,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.16
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CoreQueueWorker } from '@pikku/core/queue';
|
|
8
|
+
import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
/**
|
|
10
|
+
* Type definition for queue workers that process background jobs.
|
|
11
|
+
*
|
|
12
|
+
* @template In - Input type for the queue job
|
|
13
|
+
* @template Out - Output type for the queue job
|
|
14
|
+
*/
|
|
15
|
+
type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>;
|
|
16
|
+
/**
|
|
17
|
+
* Registers a queue worker with the Pikku framework.
|
|
18
|
+
* Workers process background jobs from queues.
|
|
19
|
+
*
|
|
20
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
21
|
+
*/
|
|
22
|
+
export declare const wireQueueWorker: (queueWorker: QueueWiring<any, any>) => void;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=pikku-queue-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,eAAe,EAA0C,MAAM,mBAAmB,CAAA;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAElF;;;;;GAKG;AACH,KAAK,WAAW,CAAC,EAAE,EAAE,GAAG,IAAI,eAAe,CAAC,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,CAAA;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,aAAa,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,SAEjE,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.16
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue';
|
|
8
|
+
/**
|
|
9
|
+
* Registers a queue worker with the Pikku framework.
|
|
10
|
+
* Workers process background jobs from queues.
|
|
11
|
+
*
|
|
12
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
13
|
+
*/
|
|
14
|
+
export const wireQueueWorker = (queueWorker) => {
|
|
15
|
+
wireQueueWorkerCore(queueWorker);
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pikku-queue-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.js","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAmB,eAAe,IAAI,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAW3F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAkC,EAAE,EAAE;IACpE,mBAAmB,CAAC,WAAkB,CAAC,CAAA;AACzC,CAAC,CAAA"}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.16
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
import type { AgentCredentialRequirement } from '../../src/functions/agent-credential-check.function.js'
|
|
10
|
+
import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
|
|
11
|
+
import type { AddonPackageInfo } from '../../src/services/addon.service.js'
|
|
12
|
+
import type { FunctionMeta, FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta } from '../../../../core/dist/types/core.types.d.js'
|
|
13
|
+
import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
|
|
14
|
+
import type { WorkflowStepMeta, RpcStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
|
|
15
|
+
import type { WorkflowContext } from '../../../../core/dist/wirings/workflow/workflow.types.d.js'
|
|
16
|
+
import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
|
|
17
|
+
import type { AllMeta, ChannelSnippets } from '../../src/services/wiring.service.js'
|
|
18
|
+
import type { JSONSchema7 } from 'json-schema'
|
|
19
|
+
|
|
20
|
+
export type AgentCredentialCheckInput = { agentName: string; userId?: string; }
|
|
21
|
+
export type AgentCredentialCheckOutput = { requirements: AgentCredentialRequirement[]; allConnected: boolean; }
|
|
22
|
+
export type CredentialDeleteInput = { name: string; userId?: string; }
|
|
23
|
+
export type CredentialDeleteOutput = { success: boolean; }
|
|
24
|
+
export type CredentialGetInput = { name: string; userId?: string; }
|
|
25
|
+
export type CredentialGetOutput = { value: unknown; }
|
|
26
|
+
export type CredentialListUsersOutput = { users: CredentialUserEntry[]; }
|
|
27
|
+
export type CredentialSetInput = { name: string; value: unknown; userId?: string; }
|
|
28
|
+
export type CredentialSetOutput = { success: boolean; }
|
|
29
|
+
export type CredentialStatusInput = { names: string[]; userId?: string; }
|
|
30
|
+
export type CredentialStatusOutput = { statuses: Record<string, boolean>; }
|
|
31
|
+
export type CredentialUsersInput = { name: string; }
|
|
32
|
+
export type CredentialUsersOutput = { userIds: string[]; }
|
|
33
|
+
export type DeleteAgentThreadInput = { threadId: string; }
|
|
34
|
+
export type DeleteAgentThreadOutput = { deleted: boolean; }
|
|
35
|
+
export type DeleteWorkflowRunInput = { runId: string; }
|
|
36
|
+
export type DeleteWorkflowRunOutput = { deleted: boolean; }
|
|
37
|
+
export type GetAddonCommunityPackageInput = { id: string; }
|
|
38
|
+
export type GetAddonIconInput = { alias: string; }
|
|
39
|
+
export type GetAddonInstalledPackageInput = { packageName: string; }
|
|
40
|
+
export type GetAddonMetaOutput = AddonPackageInfo[]
|
|
41
|
+
export type GetAgentThreadMessagesInput = { threadId: string; }
|
|
42
|
+
export type GetAgentThreadMessagesOutput = any[]
|
|
43
|
+
export type GetAgentThreadRunsInput = { threadId: string; }
|
|
44
|
+
export type GetAgentThreadRunsOutput = any[]
|
|
45
|
+
export type GetAgentThreadsInput = { agentName?: string; limit?: number; offset?: number; }
|
|
46
|
+
export type GetAgentThreadsOutput = any[]
|
|
47
|
+
export type GetAIWorkflowsInput = { agentName?: string; }
|
|
48
|
+
export type GetAIWorkflowsOutput = { workflowName: string; graphHash: string; graph: any; }[]
|
|
49
|
+
export type GetChannelSnippetsInput = { channelName: string; }
|
|
50
|
+
export type GetFunctionsMetaOutput = FunctionMeta[]
|
|
51
|
+
export type GetInstalledAddonsOutput = InstalledAddon[]
|
|
52
|
+
export type GetOpenapiDetailInput = { name: string; }
|
|
53
|
+
export type GetOpenapiDetailOutput = { name: string; version: string; provider: string; service: string; title: string; description: string; openapiVer: string; swaggerUrl: string; swaggerYamlUrl?: string; logo?: string; categories: string[]; tags: string[]; added?: string; updated?: string; }
|
|
54
|
+
export type GetOpenapisInput = { limit: number; offset: number; search?: string; }
|
|
55
|
+
export type GetOpenapisOutput = { apis: { name: string; version: string; provider: string; service: string; title: string; description: string; openapiVer: string; swaggerUrl: string; logo?: string; }[]; total: number; nextCursor: number; }
|
|
56
|
+
export type GetSchemaInput = { schemaName: string; }
|
|
57
|
+
export type GetWorkflowMetaByIdInput = { workflowId: string; }
|
|
58
|
+
export type GetWorkflowMetaByIdOutput = CommonWireMeta & { name: string; steps: WorkflowStepMeta[]; context?: WorkflowContext; dsl?: boolean; inline?: boolean; expose?: boolean; }
|
|
59
|
+
export type GetWorkflowRunHistoryInput = { runId: string; }
|
|
60
|
+
export type GetWorkflowRunHistoryOutput = any[]
|
|
61
|
+
export type GetWorkflowRunInput = { runId: string; }
|
|
62
|
+
export type GetWorkflowRunNamesOutput = string[]
|
|
63
|
+
export type GetWorkflowRunOutput = Record<string, unknown>
|
|
64
|
+
export type GetWorkflowRunsInput = { workflowName?: string; status?: string; limit?: number; offset?: number; }
|
|
65
|
+
export type GetWorkflowRunsOutput = any[]
|
|
66
|
+
export type GetWorkflowRunStepsInput = { runId: string; }
|
|
67
|
+
export type GetWorkflowRunStepsOutput = any[]
|
|
68
|
+
export type GetWorkflowVersionInput = { name: string; graphHash: string; }
|
|
69
|
+
export type GetWorkflowVersionOutput = { graph: any; source: string; }
|
|
70
|
+
export type InstallAddonInput = { packageName: string; namespace: string; version?: string; }
|
|
71
|
+
export type InstallAddonOutput = { success: boolean; message: string; }
|
|
72
|
+
export type InstallOpenapiAddonInput = { name: string; swaggerUrl: string; credential?: "apikey" | "bearer" | "oauth2"; }
|
|
73
|
+
export type InstallOpenapiAddonOutput = { success: boolean; message: string; }
|
|
74
|
+
export type OauthConnectInput = { credentialName: string; callbackUrl?: string; userId?: string; }
|
|
75
|
+
export type OauthConnectOutput = { authUrl: string; }
|
|
76
|
+
export type OauthDisconnectInput = { credentialName: string; }
|
|
77
|
+
export type OauthExchangeTokensInput = { code: string; state: string; }
|
|
78
|
+
export type OauthExchangeTokensOutput = { credentialName: string; }
|
|
79
|
+
export type OauthRefreshTokenInput = { credentialName: string; }
|
|
80
|
+
export type OauthRefreshTokenOutput = { success: boolean; error?: string; }
|
|
81
|
+
export type OauthStatusInput = { credentialName: string; }
|
|
82
|
+
export type OauthStatusOutput = { connected: boolean; hasRefreshToken?: boolean; expiresAt?: number; isExpired?: boolean; }
|
|
83
|
+
export type OauthTestTokenInput = { credentialName: string; }
|
|
84
|
+
export type OauthTestTokenOutput = { valid: boolean; error?: string; }
|
|
85
|
+
export type PingOutput = { pong: true; }
|
|
86
|
+
export type ReadAgentSourceInput = { sourceFile: string; exportedName: string; }
|
|
87
|
+
export type ReadAgentSourceOutput = { config: Record<string, unknown>; }
|
|
88
|
+
export type ReadFunctionBodyInput = { sourceFile: string; exportedName: string; }
|
|
89
|
+
export type ReadFunctionBodyOutput = { body: string; }
|
|
90
|
+
export type ReadFunctionSourceInput = { sourceFile: string; exportedName: string; }
|
|
91
|
+
export type ReadFunctionSourceOutput = { config: Record<string, unknown>; body: string; wrapperName: string; }
|
|
92
|
+
export type StreamWorkflowRunInput = { runId: string; }
|
|
93
|
+
export type UpdateAgentConfigInput = { sourceFile: string; exportedName: string; changes: AgentConfigChanges; }
|
|
94
|
+
export type UpdateAgentConfigOutput = { success: boolean; }
|
|
95
|
+
export type UpdateFunctionBodyInput = { sourceFile: string; exportedName: string; body: string; }
|
|
96
|
+
export type UpdateFunctionBodyOutput = { success: boolean; }
|
|
97
|
+
export type UpdateFunctionConfigInput = { sourceFile: string; exportedName: string; changes: FunctionConfigChanges; }
|
|
98
|
+
export type UpdateFunctionConfigOutput = { success: boolean; }
|
|
99
|
+
|
|
100
|
+
interface RPCHandler<I, O> {
|
|
101
|
+
input: I;
|
|
102
|
+
output: O;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export type RPCMap = {
|
|
106
|
+
readonly 'agentCredentialCheck': RPCHandler<AgentCredentialCheckInput, AgentCredentialCheckOutput>,
|
|
107
|
+
readonly 'credentialDelete': RPCHandler<CredentialDeleteInput, CredentialDeleteOutput>,
|
|
108
|
+
readonly 'credentialGet': RPCHandler<CredentialGetInput, CredentialGetOutput>,
|
|
109
|
+
readonly 'credentialListUsers': RPCHandler<null, CredentialListUsersOutput>,
|
|
110
|
+
readonly 'credentialSet': RPCHandler<CredentialSetInput, CredentialSetOutput>,
|
|
111
|
+
readonly 'credentialStatus': RPCHandler<CredentialStatusInput, CredentialStatusOutput>,
|
|
112
|
+
readonly 'credentialUsers': RPCHandler<CredentialUsersInput, CredentialUsersOutput>,
|
|
113
|
+
readonly 'deleteAgentThread': RPCHandler<DeleteAgentThreadInput, DeleteAgentThreadOutput>,
|
|
114
|
+
readonly 'deleteWorkflowRun': RPCHandler<DeleteWorkflowRunInput, DeleteWorkflowRunOutput>,
|
|
115
|
+
readonly 'getAddonIcon': RPCHandler<GetAddonIconInput, string>,
|
|
116
|
+
readonly 'getAddonMeta': RPCHandler<null, GetAddonMetaOutput>,
|
|
117
|
+
readonly 'getAddonCommunityPackage': RPCHandler<GetAddonCommunityPackageInput, AddonPackageInfo>,
|
|
118
|
+
readonly 'getAgentThreadMessages': RPCHandler<GetAgentThreadMessagesInput, GetAgentThreadMessagesOutput>,
|
|
119
|
+
readonly 'getAgentThreadRuns': RPCHandler<GetAgentThreadRunsInput, GetAgentThreadRunsOutput>,
|
|
120
|
+
readonly 'getAgentThreads': RPCHandler<GetAgentThreadsInput, GetAgentThreadsOutput>,
|
|
121
|
+
readonly 'getAIWorkflows': RPCHandler<GetAIWorkflowsInput, GetAIWorkflowsOutput>,
|
|
122
|
+
readonly 'getAllMeta': RPCHandler<null, AllMeta>,
|
|
123
|
+
readonly 'getChannelSnippets': RPCHandler<GetChannelSnippetsInput, ChannelSnippets>,
|
|
124
|
+
readonly 'getFunctionsMeta': RPCHandler<null, GetFunctionsMetaOutput>,
|
|
125
|
+
readonly 'getInstalledAddons': RPCHandler<null, GetInstalledAddonsOutput>,
|
|
126
|
+
readonly 'getAddonInstalledPackage': RPCHandler<GetAddonInstalledPackageInput, AddonPackageInfo>,
|
|
127
|
+
readonly 'getOpenapiDetail': RPCHandler<GetOpenapiDetailInput, GetOpenapiDetailOutput>,
|
|
128
|
+
readonly 'getOpenapis': RPCHandler<GetOpenapisInput, GetOpenapisOutput>,
|
|
129
|
+
readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
|
|
130
|
+
readonly 'getWorkflowMetaById': RPCHandler<GetWorkflowMetaByIdInput, GetWorkflowMetaByIdOutput>,
|
|
131
|
+
readonly 'getWorkflowRunHistory': RPCHandler<GetWorkflowRunHistoryInput, GetWorkflowRunHistoryOutput>,
|
|
132
|
+
readonly 'getWorkflowRunNames': RPCHandler<null, GetWorkflowRunNamesOutput>,
|
|
133
|
+
readonly 'getWorkflowRunSteps': RPCHandler<GetWorkflowRunStepsInput, GetWorkflowRunStepsOutput>,
|
|
134
|
+
readonly 'getWorkflowRun': RPCHandler<GetWorkflowRunInput, GetWorkflowRunOutput>,
|
|
135
|
+
readonly 'getWorkflowRuns': RPCHandler<GetWorkflowRunsInput, GetWorkflowRunsOutput>,
|
|
136
|
+
readonly 'getWorkflowVersion': RPCHandler<GetWorkflowVersionInput, GetWorkflowVersionOutput>,
|
|
137
|
+
readonly 'installAddon': RPCHandler<InstallAddonInput, InstallAddonOutput>,
|
|
138
|
+
readonly 'installOpenapiAddon': RPCHandler<InstallOpenapiAddonInput, InstallOpenapiAddonOutput>,
|
|
139
|
+
readonly 'oauthConnect': RPCHandler<OauthConnectInput, OauthConnectOutput>,
|
|
140
|
+
readonly 'oauthDisconnect': RPCHandler<OauthDisconnectInput, null>,
|
|
141
|
+
readonly 'oauthExchangeTokens': RPCHandler<OauthExchangeTokensInput, OauthExchangeTokensOutput>,
|
|
142
|
+
readonly 'oauthRefreshToken': RPCHandler<OauthRefreshTokenInput, OauthRefreshTokenOutput>,
|
|
143
|
+
readonly 'oauthStatus': RPCHandler<OauthStatusInput, OauthStatusOutput>,
|
|
144
|
+
readonly 'oauthTestToken': RPCHandler<OauthTestTokenInput, OauthTestTokenOutput>,
|
|
145
|
+
readonly 'ping': RPCHandler<null, PingOutput>,
|
|
146
|
+
readonly 'readAgentSource': RPCHandler<ReadAgentSourceInput, ReadAgentSourceOutput>,
|
|
147
|
+
readonly 'readFunctionBody': RPCHandler<ReadFunctionBodyInput, ReadFunctionBodyOutput>,
|
|
148
|
+
readonly 'readFunctionSource': RPCHandler<ReadFunctionSourceInput, ReadFunctionSourceOutput>,
|
|
149
|
+
readonly 'updateAgentConfig': RPCHandler<UpdateAgentConfigInput, UpdateAgentConfigOutput>,
|
|
150
|
+
readonly 'updateFunctionBody': RPCHandler<UpdateFunctionBodyInput, UpdateFunctionBodyOutput>,
|
|
151
|
+
readonly 'updateFunctionConfig': RPCHandler<UpdateFunctionConfigInput, UpdateFunctionConfigOutput>,
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
// No addon packages, use RPCMap directly
|
|
157
|
+
export type FlattenedRPCMap = RPCMap
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
161
|
+
name: Name,
|
|
162
|
+
data: FlattenedRPCMap[Name]['input']
|
|
163
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
164
|
+
|
|
165
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
166
|
+
name: Name,
|
|
167
|
+
data: FlattenedRPCMap[Name]['input']
|
|
168
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
169
|
+
|
|
170
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
171
|
+
|
|
172
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
type FlattenedAgentMap = AgentMap
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
179
|
+
|
|
180
|
+
interface AIAgentInput {
|
|
181
|
+
message: string
|
|
182
|
+
threadId: string
|
|
183
|
+
resourceId: string
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
187
|
+
name: Name,
|
|
188
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
189
|
+
options?: { startNode?: string }
|
|
190
|
+
) => Promise<{ runId: string }>
|
|
191
|
+
|
|
192
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
193
|
+
name: Name,
|
|
194
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
195
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
196
|
+
|
|
197
|
+
export type TypedWorkflowStatus = (
|
|
198
|
+
workflowName: string,
|
|
199
|
+
runId: string
|
|
200
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
201
|
+
|
|
202
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
203
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
204
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
205
|
+
name: Name,
|
|
206
|
+
input: AIAgentInput
|
|
207
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
208
|
+
|
|
209
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
210
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
211
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
212
|
+
name: Name,
|
|
213
|
+
input: AIAgentInput,
|
|
214
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
215
|
+
) => Promise<void>
|
|
216
|
+
|
|
217
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
218
|
+
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.16
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
import type { AgentCredentialRequirement } from '../../src/functions/agent-credential-check.function.js'
|
|
10
|
+
import type { CredentialUserEntry } from '../../src/functions/credential-list-users.function.js'
|
|
11
|
+
import type { AddonPackageInfo } from '../../src/services/addon.service.js'
|
|
12
|
+
import type { FunctionMeta, FunctionRuntimeMeta, FunctionServicesMeta, FunctionWiresMeta, MiddlewareMetadata, PermissionMetadata, CommonWireMeta } from '../../../../core/dist/types/core.types.d.js'
|
|
13
|
+
import type { InstalledAddon } from '../../src/functions/get-installed-addons.function.js'
|
|
14
|
+
import type { WorkflowStepMeta, RpcStepMeta, BranchStepMeta, ParallelGroupStepMeta, FanoutStepMeta, ReturnStepMeta, InlineStepMeta, SleepStepMeta, CancelStepMeta, SwitchStepMeta, FilterStepMeta, ArrayPredicateStepMeta, SetStepMeta } from '../../../../core/dist/wirings/workflow/dsl/workflow-dsl.types.d.js'
|
|
15
|
+
import type { WorkflowContext } from '../../../../core/dist/wirings/workflow/workflow.types.d.js'
|
|
16
|
+
import type { AgentConfigChanges, FunctionConfigChanges } from '../../src/services/code-edit.service.js'
|
|
17
|
+
import type { AllMeta, ChannelSnippets } from '../../src/services/wiring.service.js'
|
|
18
|
+
import type { JSONSchema7 } from 'json-schema'
|
|
19
|
+
|
|
20
|
+
export type AgentCredentialCheckInput = { agentName: string; userId?: string; }
|
|
21
|
+
export type AgentCredentialCheckOutput = { requirements: AgentCredentialRequirement[]; allConnected: boolean; }
|
|
22
|
+
export type CredentialDeleteInput = { name: string; userId?: string; }
|
|
23
|
+
export type CredentialDeleteOutput = { success: boolean; }
|
|
24
|
+
export type CredentialGetInput = { name: string; userId?: string; }
|
|
25
|
+
export type CredentialGetOutput = { value: unknown; }
|
|
26
|
+
export type CredentialListUsersOutput = { users: CredentialUserEntry[]; }
|
|
27
|
+
export type CredentialSetInput = { name: string; value: unknown; userId?: string; }
|
|
28
|
+
export type CredentialSetOutput = { success: boolean; }
|
|
29
|
+
export type CredentialStatusInput = { names: string[]; userId?: string; }
|
|
30
|
+
export type CredentialStatusOutput = { statuses: Record<string, boolean>; }
|
|
31
|
+
export type CredentialUsersInput = { name: string; }
|
|
32
|
+
export type CredentialUsersOutput = { userIds: string[]; }
|
|
33
|
+
export type DeleteAgentThreadInput = { threadId: string; }
|
|
34
|
+
export type DeleteAgentThreadOutput = { deleted: boolean; }
|
|
35
|
+
export type DeleteWorkflowRunInput = { runId: string; }
|
|
36
|
+
export type DeleteWorkflowRunOutput = { deleted: boolean; }
|
|
37
|
+
export type GetAddonCommunityPackageInput = { id: string; }
|
|
38
|
+
export type GetAddonIconInput = { alias: string; }
|
|
39
|
+
export type GetAddonInstalledPackageInput = { packageName: string; }
|
|
40
|
+
export type GetAddonMetaOutput = AddonPackageInfo[]
|
|
41
|
+
export type GetAgentThreadMessagesInput = { threadId: string; }
|
|
42
|
+
export type GetAgentThreadMessagesOutput = any[]
|
|
43
|
+
export type GetAgentThreadRunsInput = { threadId: string; }
|
|
44
|
+
export type GetAgentThreadRunsOutput = any[]
|
|
45
|
+
export type GetAgentThreadsInput = { agentName?: string; limit?: number; offset?: number; }
|
|
46
|
+
export type GetAgentThreadsOutput = any[]
|
|
47
|
+
export type GetAIWorkflowsInput = { agentName?: string; }
|
|
48
|
+
export type GetAIWorkflowsOutput = { workflowName: string; graphHash: string; graph: any; }[]
|
|
49
|
+
export type GetChannelSnippetsInput = { channelName: string; }
|
|
50
|
+
export type GetFunctionsMetaOutput = FunctionMeta[]
|
|
51
|
+
export type GetInstalledAddonsOutput = InstalledAddon[]
|
|
52
|
+
export type GetOpenapiDetailInput = { name: string; }
|
|
53
|
+
export type GetOpenapiDetailOutput = { name: string; version: string; provider: string; service: string; title: string; description: string; openapiVer: string; swaggerUrl: string; swaggerYamlUrl?: string; logo?: string; categories: string[]; tags: string[]; added?: string; updated?: string; }
|
|
54
|
+
export type GetOpenapisInput = { limit: number; offset: number; search?: string; }
|
|
55
|
+
export type GetOpenapisOutput = { apis: { name: string; version: string; provider: string; service: string; title: string; description: string; openapiVer: string; swaggerUrl: string; logo?: string; }[]; total: number; nextCursor: number; }
|
|
56
|
+
export type GetSchemaInput = { schemaName: string; }
|
|
57
|
+
export type GetWorkflowMetaByIdInput = { workflowId: string; }
|
|
58
|
+
export type GetWorkflowMetaByIdOutput = CommonWireMeta & { name: string; steps: WorkflowStepMeta[]; context?: WorkflowContext; dsl?: boolean; inline?: boolean; expose?: boolean; }
|
|
59
|
+
export type GetWorkflowRunHistoryInput = { runId: string; }
|
|
60
|
+
export type GetWorkflowRunHistoryOutput = any[]
|
|
61
|
+
export type GetWorkflowRunInput = { runId: string; }
|
|
62
|
+
export type GetWorkflowRunNamesOutput = string[]
|
|
63
|
+
export type GetWorkflowRunOutput = Record<string, unknown>
|
|
64
|
+
export type GetWorkflowRunsInput = { workflowName?: string; status?: string; limit?: number; offset?: number; }
|
|
65
|
+
export type GetWorkflowRunsOutput = any[]
|
|
66
|
+
export type GetWorkflowRunStepsInput = { runId: string; }
|
|
67
|
+
export type GetWorkflowRunStepsOutput = any[]
|
|
68
|
+
export type GetWorkflowVersionInput = { name: string; graphHash: string; }
|
|
69
|
+
export type GetWorkflowVersionOutput = { graph: any; source: string; }
|
|
70
|
+
export type InstallAddonInput = { packageName: string; namespace: string; version?: string; }
|
|
71
|
+
export type InstallAddonOutput = { success: boolean; message: string; }
|
|
72
|
+
export type InstallOpenapiAddonInput = { name: string; swaggerUrl: string; credential?: "apikey" | "bearer" | "oauth2"; }
|
|
73
|
+
export type InstallOpenapiAddonOutput = { success: boolean; message: string; }
|
|
74
|
+
export type OauthConnectInput = { credentialName: string; callbackUrl?: string; userId?: string; }
|
|
75
|
+
export type OauthConnectOutput = { authUrl: string; }
|
|
76
|
+
export type OauthDisconnectInput = { credentialName: string; }
|
|
77
|
+
export type OauthExchangeTokensInput = { code: string; state: string; }
|
|
78
|
+
export type OauthExchangeTokensOutput = { credentialName: string; }
|
|
79
|
+
export type OauthRefreshTokenInput = { credentialName: string; }
|
|
80
|
+
export type OauthRefreshTokenOutput = { success: boolean; error?: string; }
|
|
81
|
+
export type OauthStatusInput = { credentialName: string; }
|
|
82
|
+
export type OauthStatusOutput = { connected: boolean; hasRefreshToken?: boolean; expiresAt?: number; isExpired?: boolean; }
|
|
83
|
+
export type OauthTestTokenInput = { credentialName: string; }
|
|
84
|
+
export type OauthTestTokenOutput = { valid: boolean; error?: string; }
|
|
85
|
+
export type PingOutput = { pong: true; }
|
|
86
|
+
export type ReadAgentSourceInput = { sourceFile: string; exportedName: string; }
|
|
87
|
+
export type ReadAgentSourceOutput = { config: Record<string, unknown>; }
|
|
88
|
+
export type ReadFunctionBodyInput = { sourceFile: string; exportedName: string; }
|
|
89
|
+
export type ReadFunctionBodyOutput = { body: string; }
|
|
90
|
+
export type ReadFunctionSourceInput = { sourceFile: string; exportedName: string; }
|
|
91
|
+
export type ReadFunctionSourceOutput = { config: Record<string, unknown>; body: string; wrapperName: string; }
|
|
92
|
+
export type StreamWorkflowRunInput = { runId: string; }
|
|
93
|
+
export type UpdateAgentConfigInput = { sourceFile: string; exportedName: string; changes: AgentConfigChanges; }
|
|
94
|
+
export type UpdateAgentConfigOutput = { success: boolean; }
|
|
95
|
+
export type UpdateFunctionBodyInput = { sourceFile: string; exportedName: string; body: string; }
|
|
96
|
+
export type UpdateFunctionBodyOutput = { success: boolean; }
|
|
97
|
+
export type UpdateFunctionConfigInput = { sourceFile: string; exportedName: string; changes: FunctionConfigChanges; }
|
|
98
|
+
export type UpdateFunctionConfigOutput = { success: boolean; }
|
|
99
|
+
|
|
100
|
+
interface RPCHandler<I, O> {
|
|
101
|
+
input: I;
|
|
102
|
+
output: O;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export type RPCMap = {
|
|
106
|
+
readonly 'agentCredentialCheck': RPCHandler<AgentCredentialCheckInput, AgentCredentialCheckOutput>,
|
|
107
|
+
readonly 'credentialDelete': RPCHandler<CredentialDeleteInput, CredentialDeleteOutput>,
|
|
108
|
+
readonly 'credentialGet': RPCHandler<CredentialGetInput, CredentialGetOutput>,
|
|
109
|
+
readonly 'credentialListUsers': RPCHandler<null, CredentialListUsersOutput>,
|
|
110
|
+
readonly 'credentialSet': RPCHandler<CredentialSetInput, CredentialSetOutput>,
|
|
111
|
+
readonly 'credentialStatus': RPCHandler<CredentialStatusInput, CredentialStatusOutput>,
|
|
112
|
+
readonly 'credentialUsers': RPCHandler<CredentialUsersInput, CredentialUsersOutput>,
|
|
113
|
+
readonly 'deleteAgentThread': RPCHandler<DeleteAgentThreadInput, DeleteAgentThreadOutput>,
|
|
114
|
+
readonly 'deleteWorkflowRun': RPCHandler<DeleteWorkflowRunInput, DeleteWorkflowRunOutput>,
|
|
115
|
+
readonly 'getAddonIcon': RPCHandler<GetAddonIconInput, string>,
|
|
116
|
+
readonly 'getAddonMeta': RPCHandler<null, GetAddonMetaOutput>,
|
|
117
|
+
readonly 'getAddonCommunityPackage': RPCHandler<GetAddonCommunityPackageInput, AddonPackageInfo>,
|
|
118
|
+
readonly 'getAgentThreadMessages': RPCHandler<GetAgentThreadMessagesInput, GetAgentThreadMessagesOutput>,
|
|
119
|
+
readonly 'getAgentThreadRuns': RPCHandler<GetAgentThreadRunsInput, GetAgentThreadRunsOutput>,
|
|
120
|
+
readonly 'getAgentThreads': RPCHandler<GetAgentThreadsInput, GetAgentThreadsOutput>,
|
|
121
|
+
readonly 'getAIWorkflows': RPCHandler<GetAIWorkflowsInput, GetAIWorkflowsOutput>,
|
|
122
|
+
readonly 'getAllMeta': RPCHandler<null, AllMeta>,
|
|
123
|
+
readonly 'getChannelSnippets': RPCHandler<GetChannelSnippetsInput, ChannelSnippets>,
|
|
124
|
+
readonly 'getFunctionsMeta': RPCHandler<null, GetFunctionsMetaOutput>,
|
|
125
|
+
readonly 'getInstalledAddons': RPCHandler<null, GetInstalledAddonsOutput>,
|
|
126
|
+
readonly 'getAddonInstalledPackage': RPCHandler<GetAddonInstalledPackageInput, AddonPackageInfo>,
|
|
127
|
+
readonly 'getOpenapiDetail': RPCHandler<GetOpenapiDetailInput, GetOpenapiDetailOutput>,
|
|
128
|
+
readonly 'getOpenapis': RPCHandler<GetOpenapisInput, GetOpenapisOutput>,
|
|
129
|
+
readonly 'getSchema': RPCHandler<GetSchemaInput, JSONSchema7>,
|
|
130
|
+
readonly 'getWorkflowMetaById': RPCHandler<GetWorkflowMetaByIdInput, GetWorkflowMetaByIdOutput>,
|
|
131
|
+
readonly 'getWorkflowRunHistory': RPCHandler<GetWorkflowRunHistoryInput, GetWorkflowRunHistoryOutput>,
|
|
132
|
+
readonly 'getWorkflowRunNames': RPCHandler<null, GetWorkflowRunNamesOutput>,
|
|
133
|
+
readonly 'getWorkflowRunSteps': RPCHandler<GetWorkflowRunStepsInput, GetWorkflowRunStepsOutput>,
|
|
134
|
+
readonly 'getWorkflowRun': RPCHandler<GetWorkflowRunInput, GetWorkflowRunOutput>,
|
|
135
|
+
readonly 'getWorkflowRuns': RPCHandler<GetWorkflowRunsInput, GetWorkflowRunsOutput>,
|
|
136
|
+
readonly 'getWorkflowVersion': RPCHandler<GetWorkflowVersionInput, GetWorkflowVersionOutput>,
|
|
137
|
+
readonly 'installAddon': RPCHandler<InstallAddonInput, InstallAddonOutput>,
|
|
138
|
+
readonly 'installOpenapiAddon': RPCHandler<InstallOpenapiAddonInput, InstallOpenapiAddonOutput>,
|
|
139
|
+
readonly 'oauthConnect': RPCHandler<OauthConnectInput, OauthConnectOutput>,
|
|
140
|
+
readonly 'oauthDisconnect': RPCHandler<OauthDisconnectInput, null>,
|
|
141
|
+
readonly 'oauthExchangeTokens': RPCHandler<OauthExchangeTokensInput, OauthExchangeTokensOutput>,
|
|
142
|
+
readonly 'oauthRefreshToken': RPCHandler<OauthRefreshTokenInput, OauthRefreshTokenOutput>,
|
|
143
|
+
readonly 'oauthStatus': RPCHandler<OauthStatusInput, OauthStatusOutput>,
|
|
144
|
+
readonly 'oauthTestToken': RPCHandler<OauthTestTokenInput, OauthTestTokenOutput>,
|
|
145
|
+
readonly 'ping': RPCHandler<null, PingOutput>,
|
|
146
|
+
readonly 'readAgentSource': RPCHandler<ReadAgentSourceInput, ReadAgentSourceOutput>,
|
|
147
|
+
readonly 'readFunctionBody': RPCHandler<ReadFunctionBodyInput, ReadFunctionBodyOutput>,
|
|
148
|
+
readonly 'readFunctionSource': RPCHandler<ReadFunctionSourceInput, ReadFunctionSourceOutput>,
|
|
149
|
+
readonly 'streamWorkflowRun': RPCHandler<StreamWorkflowRunInput, null>,
|
|
150
|
+
readonly 'updateAgentConfig': RPCHandler<UpdateAgentConfigInput, UpdateAgentConfigOutput>,
|
|
151
|
+
readonly 'updateFunctionBody': RPCHandler<UpdateFunctionBodyInput, UpdateFunctionBodyOutput>,
|
|
152
|
+
readonly 'updateFunctionConfig': RPCHandler<UpdateFunctionConfigInput, UpdateFunctionConfigOutput>,
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
// No addon packages, use RPCMap directly
|
|
158
|
+
export type FlattenedRPCMap = RPCMap
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
162
|
+
name: Name,
|
|
163
|
+
data: FlattenedRPCMap[Name]['input']
|
|
164
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
165
|
+
|
|
166
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
167
|
+
name: Name,
|
|
168
|
+
data: FlattenedRPCMap[Name]['input']
|
|
169
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
170
|
+
|
|
171
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
172
|
+
|
|
173
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
type FlattenedAgentMap = AgentMap
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
180
|
+
|
|
181
|
+
interface AIAgentInput {
|
|
182
|
+
message: string
|
|
183
|
+
threadId: string
|
|
184
|
+
resourceId: string
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
188
|
+
name: Name,
|
|
189
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
190
|
+
options?: { startNode?: string }
|
|
191
|
+
) => Promise<{ runId: string }>
|
|
192
|
+
|
|
193
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
194
|
+
name: Name,
|
|
195
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
196
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
197
|
+
|
|
198
|
+
export type TypedWorkflowStatus = (
|
|
199
|
+
workflowName: string,
|
|
200
|
+
runId: string
|
|
201
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
202
|
+
|
|
203
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
204
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
205
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
206
|
+
name: Name,
|
|
207
|
+
input: AIAgentInput
|
|
208
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
209
|
+
|
|
210
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
211
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
212
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
213
|
+
name: Name,
|
|
214
|
+
input: AIAgentInput,
|
|
215
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
216
|
+
) => Promise<void>
|
|
217
|
+
|
|
218
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
219
|
+
|
|
@@ -1,31 +1,49 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
2
|
+
"agentCredentialCheck": "agentCredentialCheck",
|
|
3
|
+
"credentialDelete": "credentialDelete",
|
|
4
|
+
"credentialGet": "credentialGet",
|
|
5
|
+
"credentialListUsers": "credentialListUsers",
|
|
6
|
+
"credentialSet": "credentialSet",
|
|
7
|
+
"credentialStatus": "credentialStatus",
|
|
8
|
+
"credentialUsers": "credentialUsers",
|
|
9
|
+
"deleteAgentThread": "deleteAgentThread",
|
|
10
|
+
"deleteWorkflowRun": "deleteWorkflowRun",
|
|
5
11
|
"getAddonIcon": "getAddonIcon",
|
|
6
12
|
"getAddonMeta": "getAddonMeta",
|
|
7
13
|
"getAddonCommunityPackage": "getAddonCommunityPackage",
|
|
8
|
-
"getAddonInstalledPackage": "getAddonInstalledPackage",
|
|
9
|
-
"getFunctionsMeta": "getFunctionsMeta",
|
|
10
|
-
"getSchema": "getSchema",
|
|
11
|
-
"getWorkflowMetaById": "getWorkflowMetaById",
|
|
12
|
-
"oauthConnect": "oauthConnect",
|
|
13
|
-
"oauthDisconnect": "oauthDisconnect",
|
|
14
|
-
"oauthExchangeTokens": "oauthExchangeTokens",
|
|
15
|
-
"oauthStatus": "oauthStatus",
|
|
16
|
-
"deleteAgentThread": "deleteAgentThread",
|
|
17
|
-
"deleteWorkflowRun": "deleteWorkflowRun",
|
|
18
14
|
"getAgentThreadMessages": "getAgentThreadMessages",
|
|
19
15
|
"getAgentThreadRuns": "getAgentThreadRuns",
|
|
20
16
|
"getAgentThreads": "getAgentThreads",
|
|
21
17
|
"getAIWorkflows": "getAIWorkflows",
|
|
18
|
+
"getAllMeta": "getAllMeta",
|
|
19
|
+
"getChannelSnippets": "getChannelSnippets",
|
|
20
|
+
"getFunctionsMeta": "getFunctionsMeta",
|
|
21
|
+
"getInstalledAddons": "getInstalledAddons",
|
|
22
|
+
"getAddonInstalledPackage": "getAddonInstalledPackage",
|
|
23
|
+
"getOpenapiDetail": "getOpenapiDetail",
|
|
24
|
+
"getOpenapis": "getOpenapis",
|
|
25
|
+
"getSchema": "getSchema",
|
|
26
|
+
"getWorkflowMetaById": "getWorkflowMetaById",
|
|
22
27
|
"getWorkflowRunHistory": "getWorkflowRunHistory",
|
|
23
28
|
"getWorkflowRunNames": "getWorkflowRunNames",
|
|
24
29
|
"getWorkflowRunSteps": "getWorkflowRunSteps",
|
|
25
30
|
"getWorkflowRun": "getWorkflowRun",
|
|
26
31
|
"getWorkflowRuns": "getWorkflowRuns",
|
|
27
32
|
"getWorkflowVersion": "getWorkflowVersion",
|
|
33
|
+
"installAddon": "installAddon",
|
|
34
|
+
"installOpenapiAddon": "installOpenapiAddon",
|
|
35
|
+
"oauthConnect": "oauthConnect",
|
|
36
|
+
"oauthDisconnect": "oauthDisconnect",
|
|
37
|
+
"oauthExchangeTokens": "oauthExchangeTokens",
|
|
28
38
|
"oauthRefreshToken": "oauthRefreshToken",
|
|
39
|
+
"oauthStatus": "oauthStatus",
|
|
29
40
|
"oauthTestToken": "oauthTestToken",
|
|
30
|
-
"
|
|
41
|
+
"ping": "ping",
|
|
42
|
+
"readAgentSource": "readAgentSource",
|
|
43
|
+
"readFunctionBody": "readFunctionBody",
|
|
44
|
+
"readFunctionSource": "readFunctionSource",
|
|
45
|
+
"streamWorkflowRun": "streamWorkflowRun",
|
|
46
|
+
"updateAgentConfig": "updateAgentConfig",
|
|
47
|
+
"updateFunctionBody": "updateFunctionBody",
|
|
48
|
+
"updateFunctionConfig": "updateFunctionConfig"
|
|
31
49
|
}
|