@invect/core 0.0.1
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/LICENSE +21 -0
- package/README.md +103 -0
- package/dist/_virtual/_rolldown/runtime.cjs +33 -0
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/actions/action-executor.cjs +166 -0
- package/dist/actions/action-executor.cjs.map +1 -0
- package/dist/actions/action-executor.d.cts +33 -0
- package/dist/actions/action-executor.d.cts.map +1 -0
- package/dist/actions/action-executor.d.ts +33 -0
- package/dist/actions/action-executor.d.ts.map +1 -0
- package/dist/actions/action-executor.js +164 -0
- package/dist/actions/action-executor.js.map +1 -0
- package/dist/actions/action-registry.cjs +236 -0
- package/dist/actions/action-registry.cjs.map +1 -0
- package/dist/actions/action-registry.d.cts +58 -0
- package/dist/actions/action-registry.d.cts.map +1 -0
- package/dist/actions/action-registry.d.ts +58 -0
- package/dist/actions/action-registry.d.ts.map +1 -0
- package/dist/actions/action-registry.js +233 -0
- package/dist/actions/action-registry.js.map +1 -0
- package/dist/actions/core/if-else.cjs +111 -0
- package/dist/actions/core/if-else.cjs.map +1 -0
- package/dist/actions/core/if-else.d.cts +1 -0
- package/dist/actions/core/if-else.d.ts +1 -0
- package/dist/actions/core/if-else.js +98 -0
- package/dist/actions/core/if-else.js.map +1 -0
- package/dist/actions/core/index.cjs +20 -0
- package/dist/actions/core/index.cjs.map +1 -0
- package/dist/actions/core/index.d.cts +7 -0
- package/dist/actions/core/index.d.cts.map +1 -0
- package/dist/actions/core/index.d.ts +7 -0
- package/dist/actions/core/index.d.ts.map +1 -0
- package/dist/actions/core/index.js +20 -0
- package/dist/actions/core/index.js.map +1 -0
- package/dist/actions/core/input.cjs +73 -0
- package/dist/actions/core/input.cjs.map +1 -0
- package/dist/actions/core/input.d.cts +1 -0
- package/dist/actions/core/input.d.ts +1 -0
- package/dist/actions/core/input.js +72 -0
- package/dist/actions/core/input.js.map +1 -0
- package/dist/actions/core/javascript.cjs +77 -0
- package/dist/actions/core/javascript.cjs.map +1 -0
- package/dist/actions/core/javascript.d.cts +1 -0
- package/dist/actions/core/javascript.d.ts +1 -0
- package/dist/actions/core/javascript.js +62 -0
- package/dist/actions/core/javascript.js.map +1 -0
- package/dist/actions/core/model.cjs +285 -0
- package/dist/actions/core/model.cjs.map +1 -0
- package/dist/actions/core/model.d.cts +1 -0
- package/dist/actions/core/model.d.ts +1 -0
- package/dist/actions/core/model.js +276 -0
- package/dist/actions/core/model.js.map +1 -0
- package/dist/actions/core/output.cjs +66 -0
- package/dist/actions/core/output.cjs.map +1 -0
- package/dist/actions/core/output.d.cts +1 -0
- package/dist/actions/core/output.d.ts +1 -0
- package/dist/actions/core/output.js +57 -0
- package/dist/actions/core/output.js.map +1 -0
- package/dist/actions/core/template-string.cjs +85 -0
- package/dist/actions/core/template-string.cjs.map +1 -0
- package/dist/actions/core/template-string.d.cts +1 -0
- package/dist/actions/core/template-string.d.ts +1 -0
- package/dist/actions/core/template-string.js +76 -0
- package/dist/actions/core/template-string.js.map +1 -0
- package/dist/actions/define-action.cjs +14 -0
- package/dist/actions/define-action.cjs.map +1 -0
- package/dist/actions/define-action.d.cts +13 -0
- package/dist/actions/define-action.d.cts.map +1 -0
- package/dist/actions/define-action.d.ts +13 -0
- package/dist/actions/define-action.d.ts.map +1 -0
- package/dist/actions/define-action.js +14 -0
- package/dist/actions/define-action.js.map +1 -0
- package/dist/actions/github/add-issue-comment.cjs +152 -0
- package/dist/actions/github/add-issue-comment.cjs.map +1 -0
- package/dist/actions/github/add-issue-comment.d.cts +1 -0
- package/dist/actions/github/add-issue-comment.d.ts +1 -0
- package/dist/actions/github/add-issue-comment.js +150 -0
- package/dist/actions/github/add-issue-comment.js.map +1 -0
- package/dist/actions/github/create-branch.cjs +201 -0
- package/dist/actions/github/create-branch.cjs.map +1 -0
- package/dist/actions/github/create-branch.d.cts +1 -0
- package/dist/actions/github/create-branch.d.ts +1 -0
- package/dist/actions/github/create-branch.js +199 -0
- package/dist/actions/github/create-branch.js.map +1 -0
- package/dist/actions/github/create-issue.cjs +190 -0
- package/dist/actions/github/create-issue.cjs.map +1 -0
- package/dist/actions/github/create-issue.d.cts +1 -0
- package/dist/actions/github/create-issue.d.ts +1 -0
- package/dist/actions/github/create-issue.js +188 -0
- package/dist/actions/github/create-issue.js.map +1 -0
- package/dist/actions/github/create-or-update-file.cjs +216 -0
- package/dist/actions/github/create-or-update-file.cjs.map +1 -0
- package/dist/actions/github/create-or-update-file.d.cts +1 -0
- package/dist/actions/github/create-or-update-file.d.ts +1 -0
- package/dist/actions/github/create-or-update-file.js +214 -0
- package/dist/actions/github/create-or-update-file.js.map +1 -0
- package/dist/actions/github/create-pull-request.cjs +206 -0
- package/dist/actions/github/create-pull-request.cjs.map +1 -0
- package/dist/actions/github/create-pull-request.d.cts +1 -0
- package/dist/actions/github/create-pull-request.d.ts +1 -0
- package/dist/actions/github/create-pull-request.js +204 -0
- package/dist/actions/github/create-pull-request.js.map +1 -0
- package/dist/actions/github/create-release.cjs +218 -0
- package/dist/actions/github/create-release.cjs.map +1 -0
- package/dist/actions/github/create-release.d.cts +1 -0
- package/dist/actions/github/create-release.d.ts +1 -0
- package/dist/actions/github/create-release.js +216 -0
- package/dist/actions/github/create-release.js.map +1 -0
- package/dist/actions/github/get-file-content.cjs +164 -0
- package/dist/actions/github/get-file-content.cjs.map +1 -0
- package/dist/actions/github/get-file-content.d.cts +1 -0
- package/dist/actions/github/get-file-content.d.ts +1 -0
- package/dist/actions/github/get-file-content.js +162 -0
- package/dist/actions/github/get-file-content.js.map +1 -0
- package/dist/actions/github/get-issue.cjs +149 -0
- package/dist/actions/github/get-issue.cjs.map +1 -0
- package/dist/actions/github/get-issue.d.cts +1 -0
- package/dist/actions/github/get-issue.d.ts +1 -0
- package/dist/actions/github/get-issue.js +147 -0
- package/dist/actions/github/get-issue.js.map +1 -0
- package/dist/actions/github/get-pull-request.cjs +160 -0
- package/dist/actions/github/get-pull-request.cjs.map +1 -0
- package/dist/actions/github/get-pull-request.d.cts +1 -0
- package/dist/actions/github/get-pull-request.d.ts +1 -0
- package/dist/actions/github/get-pull-request.js +158 -0
- package/dist/actions/github/get-pull-request.js.map +1 -0
- package/dist/actions/github/get-repo.cjs +144 -0
- package/dist/actions/github/get-repo.cjs.map +1 -0
- package/dist/actions/github/get-repo.d.cts +1 -0
- package/dist/actions/github/get-repo.d.ts +1 -0
- package/dist/actions/github/get-repo.js +142 -0
- package/dist/actions/github/get-repo.js.map +1 -0
- package/dist/actions/github/index.cjs +48 -0
- package/dist/actions/github/index.cjs.map +1 -0
- package/dist/actions/github/index.d.cts +7 -0
- package/dist/actions/github/index.d.cts.map +1 -0
- package/dist/actions/github/index.d.ts +7 -0
- package/dist/actions/github/index.d.ts.map +1 -0
- package/dist/actions/github/index.js +48 -0
- package/dist/actions/github/index.js.map +1 -0
- package/dist/actions/github/list-branches.cjs +149 -0
- package/dist/actions/github/list-branches.cjs.map +1 -0
- package/dist/actions/github/list-branches.d.cts +1 -0
- package/dist/actions/github/list-branches.d.ts +1 -0
- package/dist/actions/github/list-branches.js +147 -0
- package/dist/actions/github/list-branches.js.map +1 -0
- package/dist/actions/github/list-commits.cjs +200 -0
- package/dist/actions/github/list-commits.cjs.map +1 -0
- package/dist/actions/github/list-commits.d.cts +1 -0
- package/dist/actions/github/list-commits.d.ts +1 -0
- package/dist/actions/github/list-commits.js +198 -0
- package/dist/actions/github/list-commits.js.map +1 -0
- package/dist/actions/github/list-issue-comments.cjs +153 -0
- package/dist/actions/github/list-issue-comments.cjs.map +1 -0
- package/dist/actions/github/list-issue-comments.d.cts +1 -0
- package/dist/actions/github/list-issue-comments.d.ts +1 -0
- package/dist/actions/github/list-issue-comments.js +151 -0
- package/dist/actions/github/list-issue-comments.js.map +1 -0
- package/dist/actions/github/list-issues.cjs +244 -0
- package/dist/actions/github/list-issues.cjs.map +1 -0
- package/dist/actions/github/list-issues.d.cts +1 -0
- package/dist/actions/github/list-issues.d.ts +1 -0
- package/dist/actions/github/list-issues.js +242 -0
- package/dist/actions/github/list-issues.js.map +1 -0
- package/dist/actions/github/list-pull-requests.cjs +252 -0
- package/dist/actions/github/list-pull-requests.cjs.map +1 -0
- package/dist/actions/github/list-pull-requests.d.cts +1 -0
- package/dist/actions/github/list-pull-requests.d.ts +1 -0
- package/dist/actions/github/list-pull-requests.js +250 -0
- package/dist/actions/github/list-pull-requests.js.map +1 -0
- package/dist/actions/github/list-releases.cjs +152 -0
- package/dist/actions/github/list-releases.cjs.map +1 -0
- package/dist/actions/github/list-releases.d.cts +1 -0
- package/dist/actions/github/list-releases.d.ts +1 -0
- package/dist/actions/github/list-releases.js +150 -0
- package/dist/actions/github/list-releases.js.map +1 -0
- package/dist/actions/github/list-repos.cjs +227 -0
- package/dist/actions/github/list-repos.cjs.map +1 -0
- package/dist/actions/github/list-repos.d.cts +1 -0
- package/dist/actions/github/list-repos.d.ts +1 -0
- package/dist/actions/github/list-repos.js +225 -0
- package/dist/actions/github/list-repos.js.map +1 -0
- package/dist/actions/github/merge-pull-request.cjs +204 -0
- package/dist/actions/github/merge-pull-request.cjs.map +1 -0
- package/dist/actions/github/merge-pull-request.d.cts +1 -0
- package/dist/actions/github/merge-pull-request.d.ts +1 -0
- package/dist/actions/github/merge-pull-request.js +202 -0
- package/dist/actions/github/merge-pull-request.js.map +1 -0
- package/dist/actions/github/search-issues.cjs +200 -0
- package/dist/actions/github/search-issues.cjs.map +1 -0
- package/dist/actions/github/search-issues.d.cts +1 -0
- package/dist/actions/github/search-issues.d.ts +1 -0
- package/dist/actions/github/search-issues.js +198 -0
- package/dist/actions/github/search-issues.js.map +1 -0
- package/dist/actions/github/update-issue.cjs +243 -0
- package/dist/actions/github/update-issue.cjs.map +1 -0
- package/dist/actions/github/update-issue.d.cts +1 -0
- package/dist/actions/github/update-issue.d.ts +1 -0
- package/dist/actions/github/update-issue.js +241 -0
- package/dist/actions/github/update-issue.js.map +1 -0
- package/dist/actions/gmail/create-draft.cjs +228 -0
- package/dist/actions/gmail/create-draft.cjs.map +1 -0
- package/dist/actions/gmail/create-draft.d.cts +1 -0
- package/dist/actions/gmail/create-draft.d.ts +1 -0
- package/dist/actions/gmail/create-draft.js +226 -0
- package/dist/actions/gmail/create-draft.js.map +1 -0
- package/dist/actions/gmail/get-message.cjs +205 -0
- package/dist/actions/gmail/get-message.cjs.map +1 -0
- package/dist/actions/gmail/get-message.d.cts +1 -0
- package/dist/actions/gmail/get-message.d.ts +1 -0
- package/dist/actions/gmail/get-message.js +203 -0
- package/dist/actions/gmail/get-message.js.map +1 -0
- package/dist/actions/gmail/index.cjs +18 -0
- package/dist/actions/gmail/index.cjs.map +1 -0
- package/dist/actions/gmail/index.d.cts +7 -0
- package/dist/actions/gmail/index.d.cts.map +1 -0
- package/dist/actions/gmail/index.d.ts +7 -0
- package/dist/actions/gmail/index.d.ts.map +1 -0
- package/dist/actions/gmail/index.js +18 -0
- package/dist/actions/gmail/index.js.map +1 -0
- package/dist/actions/gmail/list-messages.cjs +195 -0
- package/dist/actions/gmail/list-messages.cjs.map +1 -0
- package/dist/actions/gmail/list-messages.d.cts +1 -0
- package/dist/actions/gmail/list-messages.d.ts +1 -0
- package/dist/actions/gmail/list-messages.js +193 -0
- package/dist/actions/gmail/list-messages.js.map +1 -0
- package/dist/actions/gmail/modify-labels.cjs +163 -0
- package/dist/actions/gmail/modify-labels.cjs.map +1 -0
- package/dist/actions/gmail/modify-labels.d.cts +1 -0
- package/dist/actions/gmail/modify-labels.d.ts +1 -0
- package/dist/actions/gmail/modify-labels.js +161 -0
- package/dist/actions/gmail/modify-labels.js.map +1 -0
- package/dist/actions/gmail/send-message.cjs +233 -0
- package/dist/actions/gmail/send-message.cjs.map +1 -0
- package/dist/actions/gmail/send-message.d.cts +1 -0
- package/dist/actions/gmail/send-message.d.ts +1 -0
- package/dist/actions/gmail/send-message.js +231 -0
- package/dist/actions/gmail/send-message.js.map +1 -0
- package/dist/actions/google-calendar/create-event.cjs +274 -0
- package/dist/actions/google-calendar/create-event.cjs.map +1 -0
- package/dist/actions/google-calendar/create-event.d.cts +1 -0
- package/dist/actions/google-calendar/create-event.d.ts +1 -0
- package/dist/actions/google-calendar/create-event.js +272 -0
- package/dist/actions/google-calendar/create-event.js.map +1 -0
- package/dist/actions/google-calendar/delete-event.cjs +145 -0
- package/dist/actions/google-calendar/delete-event.cjs.map +1 -0
- package/dist/actions/google-calendar/delete-event.d.cts +1 -0
- package/dist/actions/google-calendar/delete-event.d.ts +1 -0
- package/dist/actions/google-calendar/delete-event.js +143 -0
- package/dist/actions/google-calendar/delete-event.js.map +1 -0
- package/dist/actions/google-calendar/get-event.cjs +128 -0
- package/dist/actions/google-calendar/get-event.cjs.map +1 -0
- package/dist/actions/google-calendar/get-event.d.cts +1 -0
- package/dist/actions/google-calendar/get-event.d.ts +1 -0
- package/dist/actions/google-calendar/get-event.js +126 -0
- package/dist/actions/google-calendar/get-event.js.map +1 -0
- package/dist/actions/google-calendar/index.cjs +20 -0
- package/dist/actions/google-calendar/index.cjs.map +1 -0
- package/dist/actions/google-calendar/index.d.cts +7 -0
- package/dist/actions/google-calendar/index.d.cts.map +1 -0
- package/dist/actions/google-calendar/index.d.ts +7 -0
- package/dist/actions/google-calendar/index.d.ts.map +1 -0
- package/dist/actions/google-calendar/index.js +20 -0
- package/dist/actions/google-calendar/index.js.map +1 -0
- package/dist/actions/google-calendar/list-events.cjs +193 -0
- package/dist/actions/google-calendar/list-events.cjs.map +1 -0
- package/dist/actions/google-calendar/list-events.d.cts +1 -0
- package/dist/actions/google-calendar/list-events.d.ts +1 -0
- package/dist/actions/google-calendar/list-events.js +191 -0
- package/dist/actions/google-calendar/list-events.js.map +1 -0
- package/dist/actions/google-calendar/query-freebusy.cjs +160 -0
- package/dist/actions/google-calendar/query-freebusy.cjs.map +1 -0
- package/dist/actions/google-calendar/query-freebusy.d.cts +1 -0
- package/dist/actions/google-calendar/query-freebusy.d.ts +1 -0
- package/dist/actions/google-calendar/query-freebusy.js +158 -0
- package/dist/actions/google-calendar/query-freebusy.js.map +1 -0
- package/dist/actions/google-calendar/update-event.cjs +221 -0
- package/dist/actions/google-calendar/update-event.cjs.map +1 -0
- package/dist/actions/google-calendar/update-event.d.cts +1 -0
- package/dist/actions/google-calendar/update-event.d.ts +1 -0
- package/dist/actions/google-calendar/update-event.js +219 -0
- package/dist/actions/google-calendar/update-event.js.map +1 -0
- package/dist/actions/google-docs/append-text.cjs +138 -0
- package/dist/actions/google-docs/append-text.cjs.map +1 -0
- package/dist/actions/google-docs/append-text.d.cts +1 -0
- package/dist/actions/google-docs/append-text.d.ts +1 -0
- package/dist/actions/google-docs/append-text.js +136 -0
- package/dist/actions/google-docs/append-text.js.map +1 -0
- package/dist/actions/google-docs/create-document.cjs +138 -0
- package/dist/actions/google-docs/create-document.cjs.map +1 -0
- package/dist/actions/google-docs/create-document.d.cts +1 -0
- package/dist/actions/google-docs/create-document.d.ts +1 -0
- package/dist/actions/google-docs/create-document.js +136 -0
- package/dist/actions/google-docs/create-document.js.map +1 -0
- package/dist/actions/google-docs/get-document.cjs +118 -0
- package/dist/actions/google-docs/get-document.cjs.map +1 -0
- package/dist/actions/google-docs/get-document.d.cts +1 -0
- package/dist/actions/google-docs/get-document.d.ts +1 -0
- package/dist/actions/google-docs/get-document.js +116 -0
- package/dist/actions/google-docs/get-document.js.map +1 -0
- package/dist/actions/google-docs/index.cjs +18 -0
- package/dist/actions/google-docs/index.cjs.map +1 -0
- package/dist/actions/google-docs/index.d.cts +7 -0
- package/dist/actions/google-docs/index.d.cts.map +1 -0
- package/dist/actions/google-docs/index.d.ts +7 -0
- package/dist/actions/google-docs/index.d.ts.map +1 -0
- package/dist/actions/google-docs/index.js +18 -0
- package/dist/actions/google-docs/index.js.map +1 -0
- package/dist/actions/google-docs/insert-text.cjs +136 -0
- package/dist/actions/google-docs/insert-text.cjs.map +1 -0
- package/dist/actions/google-docs/insert-text.d.cts +1 -0
- package/dist/actions/google-docs/insert-text.d.ts +1 -0
- package/dist/actions/google-docs/insert-text.js +134 -0
- package/dist/actions/google-docs/insert-text.js.map +1 -0
- package/dist/actions/google-docs/replace-text.cjs +152 -0
- package/dist/actions/google-docs/replace-text.cjs.map +1 -0
- package/dist/actions/google-docs/replace-text.d.cts +1 -0
- package/dist/actions/google-docs/replace-text.d.ts +1 -0
- package/dist/actions/google-docs/replace-text.js +150 -0
- package/dist/actions/google-docs/replace-text.js.map +1 -0
- package/dist/actions/google-drive/create-file.cjs +155 -0
- package/dist/actions/google-drive/create-file.cjs.map +1 -0
- package/dist/actions/google-drive/create-file.d.cts +1 -0
- package/dist/actions/google-drive/create-file.d.ts +1 -0
- package/dist/actions/google-drive/create-file.js +153 -0
- package/dist/actions/google-drive/create-file.js.map +1 -0
- package/dist/actions/google-drive/create-folder.cjs +130 -0
- package/dist/actions/google-drive/create-folder.cjs.map +1 -0
- package/dist/actions/google-drive/create-folder.d.cts +1 -0
- package/dist/actions/google-drive/create-folder.d.ts +1 -0
- package/dist/actions/google-drive/create-folder.js +128 -0
- package/dist/actions/google-drive/create-folder.js.map +1 -0
- package/dist/actions/google-drive/delete-file.cjs +98 -0
- package/dist/actions/google-drive/delete-file.cjs.map +1 -0
- package/dist/actions/google-drive/delete-file.d.cts +1 -0
- package/dist/actions/google-drive/delete-file.d.ts +1 -0
- package/dist/actions/google-drive/delete-file.js +96 -0
- package/dist/actions/google-drive/delete-file.js.map +1 -0
- package/dist/actions/google-drive/get-file.cjs +103 -0
- package/dist/actions/google-drive/get-file.cjs.map +1 -0
- package/dist/actions/google-drive/get-file.d.cts +1 -0
- package/dist/actions/google-drive/get-file.d.ts +1 -0
- package/dist/actions/google-drive/get-file.js +101 -0
- package/dist/actions/google-drive/get-file.js.map +1 -0
- package/dist/actions/google-drive/index.cjs +22 -0
- package/dist/actions/google-drive/index.cjs.map +1 -0
- package/dist/actions/google-drive/index.d.cts +7 -0
- package/dist/actions/google-drive/index.d.cts.map +1 -0
- package/dist/actions/google-drive/index.d.ts +7 -0
- package/dist/actions/google-drive/index.d.ts.map +1 -0
- package/dist/actions/google-drive/index.js +22 -0
- package/dist/actions/google-drive/index.js.map +1 -0
- package/dist/actions/google-drive/list-files.cjs +156 -0
- package/dist/actions/google-drive/list-files.cjs.map +1 -0
- package/dist/actions/google-drive/list-files.d.cts +1 -0
- package/dist/actions/google-drive/list-files.d.ts +1 -0
- package/dist/actions/google-drive/list-files.js +154 -0
- package/dist/actions/google-drive/list-files.js.map +1 -0
- package/dist/actions/google-drive/search-files.cjs +138 -0
- package/dist/actions/google-drive/search-files.cjs.map +1 -0
- package/dist/actions/google-drive/search-files.d.cts +1 -0
- package/dist/actions/google-drive/search-files.d.ts +1 -0
- package/dist/actions/google-drive/search-files.js +136 -0
- package/dist/actions/google-drive/search-files.js.map +1 -0
- package/dist/actions/google-drive/share-file.cjs +226 -0
- package/dist/actions/google-drive/share-file.cjs.map +1 -0
- package/dist/actions/google-drive/share-file.d.cts +1 -0
- package/dist/actions/google-drive/share-file.d.ts +1 -0
- package/dist/actions/google-drive/share-file.js +224 -0
- package/dist/actions/google-drive/share-file.js.map +1 -0
- package/dist/actions/google-sheets/append-values.cjs +175 -0
- package/dist/actions/google-sheets/append-values.cjs.map +1 -0
- package/dist/actions/google-sheets/append-values.d.cts +1 -0
- package/dist/actions/google-sheets/append-values.d.ts +1 -0
- package/dist/actions/google-sheets/append-values.js +173 -0
- package/dist/actions/google-sheets/append-values.js.map +1 -0
- package/dist/actions/google-sheets/clear-values.cjs +118 -0
- package/dist/actions/google-sheets/clear-values.cjs.map +1 -0
- package/dist/actions/google-sheets/clear-values.d.cts +1 -0
- package/dist/actions/google-sheets/clear-values.d.ts +1 -0
- package/dist/actions/google-sheets/clear-values.js +116 -0
- package/dist/actions/google-sheets/clear-values.js.map +1 -0
- package/dist/actions/google-sheets/create-spreadsheet.cjs +128 -0
- package/dist/actions/google-sheets/create-spreadsheet.cjs.map +1 -0
- package/dist/actions/google-sheets/create-spreadsheet.d.cts +1 -0
- package/dist/actions/google-sheets/create-spreadsheet.d.ts +1 -0
- package/dist/actions/google-sheets/create-spreadsheet.js +126 -0
- package/dist/actions/google-sheets/create-spreadsheet.js.map +1 -0
- package/dist/actions/google-sheets/get-values.cjs +168 -0
- package/dist/actions/google-sheets/get-values.cjs.map +1 -0
- package/dist/actions/google-sheets/get-values.d.cts +1 -0
- package/dist/actions/google-sheets/get-values.d.ts +1 -0
- package/dist/actions/google-sheets/get-values.js +166 -0
- package/dist/actions/google-sheets/get-values.js.map +1 -0
- package/dist/actions/google-sheets/index.cjs +18 -0
- package/dist/actions/google-sheets/index.cjs.map +1 -0
- package/dist/actions/google-sheets/index.d.cts +7 -0
- package/dist/actions/google-sheets/index.d.cts.map +1 -0
- package/dist/actions/google-sheets/index.d.ts +7 -0
- package/dist/actions/google-sheets/index.d.ts.map +1 -0
- package/dist/actions/google-sheets/index.js +18 -0
- package/dist/actions/google-sheets/index.js.map +1 -0
- package/dist/actions/google-sheets/update-values.cjs +158 -0
- package/dist/actions/google-sheets/update-values.cjs.map +1 -0
- package/dist/actions/google-sheets/update-values.d.cts +1 -0
- package/dist/actions/google-sheets/update-values.d.ts +1 -0
- package/dist/actions/google-sheets/update-values.js +156 -0
- package/dist/actions/google-sheets/update-values.js.map +1 -0
- package/dist/actions/http/index.cjs +7 -0
- package/dist/actions/http/index.cjs.map +1 -0
- package/dist/actions/http/index.d.cts +7 -0
- package/dist/actions/http/index.d.cts.map +1 -0
- package/dist/actions/http/index.d.ts +7 -0
- package/dist/actions/http/index.d.ts.map +1 -0
- package/dist/actions/http/index.js +8 -0
- package/dist/actions/http/index.js.map +1 -0
- package/dist/actions/http/request.cjs +223 -0
- package/dist/actions/http/request.cjs.map +1 -0
- package/dist/actions/http/request.d.cts +1 -0
- package/dist/actions/http/request.d.ts +1 -0
- package/dist/actions/http/request.js +222 -0
- package/dist/actions/http/request.js.map +1 -0
- package/dist/actions/index.cjs +46 -0
- package/dist/actions/index.cjs.map +1 -0
- package/dist/actions/index.d.cts +27 -0
- package/dist/actions/index.d.cts.map +1 -0
- package/dist/actions/index.d.ts +27 -0
- package/dist/actions/index.d.ts.map +1 -0
- package/dist/actions/index.js +45 -0
- package/dist/actions/index.js.map +1 -0
- package/dist/actions/linear/create-issue.cjs +296 -0
- package/dist/actions/linear/create-issue.cjs.map +1 -0
- package/dist/actions/linear/create-issue.d.cts +1 -0
- package/dist/actions/linear/create-issue.d.ts +1 -0
- package/dist/actions/linear/create-issue.js +294 -0
- package/dist/actions/linear/create-issue.js.map +1 -0
- package/dist/actions/linear/index.cjs +16 -0
- package/dist/actions/linear/index.cjs.map +1 -0
- package/dist/actions/linear/index.d.cts +7 -0
- package/dist/actions/linear/index.d.cts.map +1 -0
- package/dist/actions/linear/index.d.ts +7 -0
- package/dist/actions/linear/index.d.ts.map +1 -0
- package/dist/actions/linear/index.js +16 -0
- package/dist/actions/linear/index.js.map +1 -0
- package/dist/actions/linear/list-issues.cjs +239 -0
- package/dist/actions/linear/list-issues.cjs.map +1 -0
- package/dist/actions/linear/list-issues.d.cts +1 -0
- package/dist/actions/linear/list-issues.d.ts +1 -0
- package/dist/actions/linear/list-issues.js +237 -0
- package/dist/actions/linear/list-issues.js.map +1 -0
- package/dist/actions/linear/list-teams.cjs +183 -0
- package/dist/actions/linear/list-teams.cjs.map +1 -0
- package/dist/actions/linear/list-teams.d.cts +1 -0
- package/dist/actions/linear/list-teams.d.ts +1 -0
- package/dist/actions/linear/list-teams.js +181 -0
- package/dist/actions/linear/list-teams.js.map +1 -0
- package/dist/actions/linear/update-issue.cjs +282 -0
- package/dist/actions/linear/update-issue.cjs.map +1 -0
- package/dist/actions/linear/update-issue.d.cts +1 -0
- package/dist/actions/linear/update-issue.d.ts +1 -0
- package/dist/actions/linear/update-issue.js +280 -0
- package/dist/actions/linear/update-issue.js.map +1 -0
- package/dist/actions/microsoft/get-calendar-event.cjs +139 -0
- package/dist/actions/microsoft/get-calendar-event.cjs.map +1 -0
- package/dist/actions/microsoft/get-calendar-event.d.cts +1 -0
- package/dist/actions/microsoft/get-calendar-event.d.ts +1 -0
- package/dist/actions/microsoft/get-calendar-event.js +137 -0
- package/dist/actions/microsoft/get-calendar-event.js.map +1 -0
- package/dist/actions/microsoft/get-meeting-transcript.cjs +221 -0
- package/dist/actions/microsoft/get-meeting-transcript.cjs.map +1 -0
- package/dist/actions/microsoft/get-meeting-transcript.d.cts +1 -0
- package/dist/actions/microsoft/get-meeting-transcript.d.ts +1 -0
- package/dist/actions/microsoft/get-meeting-transcript.js +219 -0
- package/dist/actions/microsoft/get-meeting-transcript.js.map +1 -0
- package/dist/actions/microsoft/get-message.cjs +173 -0
- package/dist/actions/microsoft/get-message.cjs.map +1 -0
- package/dist/actions/microsoft/get-message.d.cts +1 -0
- package/dist/actions/microsoft/get-message.d.ts +1 -0
- package/dist/actions/microsoft/get-message.js +171 -0
- package/dist/actions/microsoft/get-message.js.map +1 -0
- package/dist/actions/microsoft/index.cjs +22 -0
- package/dist/actions/microsoft/index.cjs.map +1 -0
- package/dist/actions/microsoft/index.d.cts +1 -0
- package/dist/actions/microsoft/index.d.ts +1 -0
- package/dist/actions/microsoft/index.js +22 -0
- package/dist/actions/microsoft/index.js.map +1 -0
- package/dist/actions/microsoft/list-calendar-events.cjs +202 -0
- package/dist/actions/microsoft/list-calendar-events.cjs.map +1 -0
- package/dist/actions/microsoft/list-calendar-events.d.cts +1 -0
- package/dist/actions/microsoft/list-calendar-events.d.ts +1 -0
- package/dist/actions/microsoft/list-calendar-events.js +200 -0
- package/dist/actions/microsoft/list-calendar-events.js.map +1 -0
- package/dist/actions/microsoft/list-calendars.cjs +99 -0
- package/dist/actions/microsoft/list-calendars.cjs.map +1 -0
- package/dist/actions/microsoft/list-calendars.d.cts +1 -0
- package/dist/actions/microsoft/list-calendars.d.ts +1 -0
- package/dist/actions/microsoft/list-calendars.js +97 -0
- package/dist/actions/microsoft/list-calendars.js.map +1 -0
- package/dist/actions/microsoft/list-messages.cjs +223 -0
- package/dist/actions/microsoft/list-messages.cjs.map +1 -0
- package/dist/actions/microsoft/list-messages.d.cts +1 -0
- package/dist/actions/microsoft/list-messages.d.ts +1 -0
- package/dist/actions/microsoft/list-messages.js +221 -0
- package/dist/actions/microsoft/list-messages.js.map +1 -0
- package/dist/actions/microsoft/list-online-meetings.cjs +132 -0
- package/dist/actions/microsoft/list-online-meetings.cjs.map +1 -0
- package/dist/actions/microsoft/list-online-meetings.d.cts +1 -0
- package/dist/actions/microsoft/list-online-meetings.d.ts +1 -0
- package/dist/actions/microsoft/list-online-meetings.js +130 -0
- package/dist/actions/microsoft/list-online-meetings.js.map +1 -0
- package/dist/actions/postgres/describe-table.cjs +175 -0
- package/dist/actions/postgres/describe-table.cjs.map +1 -0
- package/dist/actions/postgres/describe-table.d.cts +1 -0
- package/dist/actions/postgres/describe-table.d.ts +1 -0
- package/dist/actions/postgres/describe-table.js +165 -0
- package/dist/actions/postgres/describe-table.js.map +1 -0
- package/dist/actions/postgres/execute-query.cjs +120 -0
- package/dist/actions/postgres/execute-query.cjs.map +1 -0
- package/dist/actions/postgres/execute-query.d.cts +1 -0
- package/dist/actions/postgres/execute-query.d.ts +1 -0
- package/dist/actions/postgres/execute-query.js +110 -0
- package/dist/actions/postgres/execute-query.js.map +1 -0
- package/dist/actions/postgres/index.cjs +16 -0
- package/dist/actions/postgres/index.cjs.map +1 -0
- package/dist/actions/postgres/index.d.cts +7 -0
- package/dist/actions/postgres/index.d.cts.map +1 -0
- package/dist/actions/postgres/index.d.ts +7 -0
- package/dist/actions/postgres/index.d.ts.map +1 -0
- package/dist/actions/postgres/index.js +16 -0
- package/dist/actions/postgres/index.js.map +1 -0
- package/dist/actions/postgres/insert-rows.cjs +168 -0
- package/dist/actions/postgres/insert-rows.cjs.map +1 -0
- package/dist/actions/postgres/insert-rows.d.cts +1 -0
- package/dist/actions/postgres/insert-rows.d.ts +1 -0
- package/dist/actions/postgres/insert-rows.js +158 -0
- package/dist/actions/postgres/insert-rows.js.map +1 -0
- package/dist/actions/postgres/list-tables.cjs +133 -0
- package/dist/actions/postgres/list-tables.cjs.map +1 -0
- package/dist/actions/postgres/list-tables.d.cts +1 -0
- package/dist/actions/postgres/list-tables.d.ts +1 -0
- package/dist/actions/postgres/list-tables.js +123 -0
- package/dist/actions/postgres/list-tables.js.map +1 -0
- package/dist/actions/providers.cjs +128 -0
- package/dist/actions/providers.cjs.map +1 -0
- package/dist/actions/providers.d.cts +22 -0
- package/dist/actions/providers.d.cts.map +1 -0
- package/dist/actions/providers.d.ts +22 -0
- package/dist/actions/providers.d.ts.map +1 -0
- package/dist/actions/providers.js +116 -0
- package/dist/actions/providers.js.map +1 -0
- package/dist/actions/slack/index.cjs +9 -0
- package/dist/actions/slack/index.cjs.map +1 -0
- package/dist/actions/slack/index.d.cts +7 -0
- package/dist/actions/slack/index.d.cts.map +1 -0
- package/dist/actions/slack/index.d.ts +7 -0
- package/dist/actions/slack/index.d.ts.map +1 -0
- package/dist/actions/slack/index.js +9 -0
- package/dist/actions/slack/index.js.map +1 -0
- package/dist/actions/slack/list-channels.cjs +157 -0
- package/dist/actions/slack/list-channels.cjs.map +1 -0
- package/dist/actions/slack/list-channels.d.cts +1 -0
- package/dist/actions/slack/list-channels.d.ts +1 -0
- package/dist/actions/slack/list-channels.js +155 -0
- package/dist/actions/slack/list-channels.js.map +1 -0
- package/dist/actions/slack/send-message.cjs +157 -0
- package/dist/actions/slack/send-message.cjs.map +1 -0
- package/dist/actions/slack/send-message.d.cts +1 -0
- package/dist/actions/slack/send-message.d.ts +1 -0
- package/dist/actions/slack/send-message.js +155 -0
- package/dist/actions/slack/send-message.js.map +1 -0
- package/dist/actions/triggers/cron.cjs +95 -0
- package/dist/actions/triggers/cron.cjs.map +1 -0
- package/dist/actions/triggers/cron.d.cts +1 -0
- package/dist/actions/triggers/cron.d.ts +1 -0
- package/dist/actions/triggers/cron.js +83 -0
- package/dist/actions/triggers/cron.js.map +1 -0
- package/dist/actions/triggers/index.cjs +9 -0
- package/dist/actions/triggers/index.cjs.map +1 -0
- package/dist/actions/triggers/index.d.cts +1 -0
- package/dist/actions/triggers/index.d.ts +1 -0
- package/dist/actions/triggers/index.js +9 -0
- package/dist/actions/triggers/index.js.map +1 -0
- package/dist/actions/triggers/manual.cjs +105 -0
- package/dist/actions/triggers/manual.cjs.map +1 -0
- package/dist/actions/triggers/manual.d.cts +1 -0
- package/dist/actions/triggers/manual.d.ts +1 -0
- package/dist/actions/triggers/manual.js +103 -0
- package/dist/actions/triggers/manual.js.map +1 -0
- package/dist/actions/types.d.cts +373 -0
- package/dist/actions/types.d.cts.map +1 -0
- package/dist/actions/types.d.ts +373 -0
- package/dist/actions/types.d.ts.map +1 -0
- package/dist/database/adapter-factory.cjs +188 -0
- package/dist/database/adapter-factory.cjs.map +1 -0
- package/dist/database/adapter-factory.js +187 -0
- package/dist/database/adapter-factory.js.map +1 -0
- package/dist/database/adapter.cjs +33 -0
- package/dist/database/adapter.cjs.map +1 -0
- package/dist/database/adapter.d.cts +76 -0
- package/dist/database/adapter.d.cts.map +1 -0
- package/dist/database/adapter.d.ts +76 -0
- package/dist/database/adapter.d.ts.map +1 -0
- package/dist/database/adapter.js +33 -0
- package/dist/database/adapter.js.map +1 -0
- package/dist/database/adapters/connection-bridge.cjs +119 -0
- package/dist/database/adapters/connection-bridge.cjs.map +1 -0
- package/dist/database/adapters/connection-bridge.js +118 -0
- package/dist/database/adapters/connection-bridge.js.map +1 -0
- package/dist/database/adapters/kysely-adapter.cjs +138 -0
- package/dist/database/adapters/kysely-adapter.cjs.map +1 -0
- package/dist/database/adapters/kysely-adapter.js +137 -0
- package/dist/database/adapters/kysely-adapter.js.map +1 -0
- package/dist/database/connection.cjs +277 -0
- package/dist/database/connection.cjs.map +1 -0
- package/dist/database/connection.d.cts +115 -0
- package/dist/database/connection.d.cts.map +1 -0
- package/dist/database/connection.d.ts +115 -0
- package/dist/database/connection.d.ts.map +1 -0
- package/dist/database/connection.js +271 -0
- package/dist/database/connection.js.map +1 -0
- package/dist/database/core-schema.cjs +644 -0
- package/dist/database/core-schema.cjs.map +1 -0
- package/dist/database/core-schema.d.cts +22 -0
- package/dist/database/core-schema.d.cts.map +1 -0
- package/dist/database/core-schema.d.ts +22 -0
- package/dist/database/core-schema.d.ts.map +1 -0
- package/dist/database/core-schema.js +642 -0
- package/dist/database/core-schema.js.map +1 -0
- package/dist/database/index.cjs +4 -0
- package/dist/database/index.d.cts +10 -0
- package/dist/database/index.d.cts.map +1 -0
- package/dist/database/index.d.ts +10 -0
- package/dist/database/index.d.ts.map +1 -0
- package/dist/database/index.js +5 -0
- package/dist/database/prisma-schema-generator.cjs +219 -0
- package/dist/database/prisma-schema-generator.cjs.map +1 -0
- package/dist/database/prisma-schema-generator.d.cts +19 -0
- package/dist/database/prisma-schema-generator.d.cts.map +1 -0
- package/dist/database/prisma-schema-generator.d.ts +19 -0
- package/dist/database/prisma-schema-generator.d.ts.map +1 -0
- package/dist/database/prisma-schema-generator.js +218 -0
- package/dist/database/prisma-schema-generator.js.map +1 -0
- package/dist/database/schema-generator.cjs +576 -0
- package/dist/database/schema-generator.cjs.map +1 -0
- package/dist/database/schema-generator.d.cts +18 -0
- package/dist/database/schema-generator.d.cts.map +1 -0
- package/dist/database/schema-generator.d.ts +18 -0
- package/dist/database/schema-generator.d.ts.map +1 -0
- package/dist/database/schema-generator.js +571 -0
- package/dist/database/schema-generator.js.map +1 -0
- package/dist/database/schema-merger.cjs +153 -0
- package/dist/database/schema-merger.cjs.map +1 -0
- package/dist/database/schema-merger.d.cts +53 -0
- package/dist/database/schema-merger.d.cts.map +1 -0
- package/dist/database/schema-merger.d.ts +53 -0
- package/dist/database/schema-merger.d.ts.map +1 -0
- package/dist/database/schema-merger.js +152 -0
- package/dist/database/schema-merger.js.map +1 -0
- package/dist/database/schema-metadata.cjs +98 -0
- package/dist/database/schema-metadata.cjs.map +1 -0
- package/dist/database/schema-metadata.js +98 -0
- package/dist/database/schema-metadata.js.map +1 -0
- package/dist/database/schema-mysql.cjs +288 -0
- package/dist/database/schema-mysql.cjs.map +1 -0
- package/dist/database/schema-mysql.d.cts +2117 -0
- package/dist/database/schema-mysql.d.cts.map +1 -0
- package/dist/database/schema-mysql.d.ts +2117 -0
- package/dist/database/schema-mysql.d.ts.map +1 -0
- package/dist/database/schema-mysql.js +263 -0
- package/dist/database/schema-mysql.js.map +1 -0
- package/dist/database/schema-postgres.cjs +312 -0
- package/dist/database/schema-postgres.cjs.map +1 -0
- package/dist/database/schema-postgres.d.cts +2127 -0
- package/dist/database/schema-postgres.d.cts.map +1 -0
- package/dist/database/schema-postgres.d.ts +2127 -0
- package/dist/database/schema-postgres.d.ts.map +1 -0
- package/dist/database/schema-postgres.js +280 -0
- package/dist/database/schema-postgres.js.map +1 -0
- package/dist/database/schema-sqlite.cjs +247 -0
- package/dist/database/schema-sqlite.cjs.map +1 -0
- package/dist/database/schema-sqlite.d.cts +2294 -0
- package/dist/database/schema-sqlite.d.cts.map +1 -0
- package/dist/database/schema-sqlite.d.ts +2294 -0
- package/dist/database/schema-sqlite.d.ts.map +1 -0
- package/dist/database/schema-sqlite.js +222 -0
- package/dist/database/schema-sqlite.js.map +1 -0
- package/dist/database/schema-verification.cjs +123 -0
- package/dist/database/schema-verification.cjs.map +1 -0
- package/dist/database/schema-verification.d.cts +40 -0
- package/dist/database/schema-verification.d.cts.map +1 -0
- package/dist/database/schema-verification.d.ts +40 -0
- package/dist/database/schema-verification.d.ts.map +1 -0
- package/dist/database/schema-verification.js +123 -0
- package/dist/database/schema-verification.js.map +1 -0
- package/dist/database/schema.cjs +3 -0
- package/dist/database/schema.d.cts +3 -0
- package/dist/database/schema.d.ts +3 -0
- package/dist/database/schema.js +4 -0
- package/dist/index.cjs +199 -0
- package/dist/index.d.cts +70 -0
- package/dist/index.d.ts +70 -0
- package/dist/index.js +56 -0
- package/dist/invect-core.cjs +1688 -0
- package/dist/invect-core.cjs.map +1 -0
- package/dist/invect-core.d.cts +846 -0
- package/dist/invect-core.d.cts.map +1 -0
- package/dist/invect-core.d.ts +846 -0
- package/dist/invect-core.d.ts.map +1 -0
- package/dist/invect-core.js +1688 -0
- package/dist/invect-core.js.map +1 -0
- package/dist/nodes/agent-executor.cjs +881 -0
- package/dist/nodes/agent-executor.cjs.map +1 -0
- package/dist/nodes/agent-executor.d.cts +243 -0
- package/dist/nodes/agent-executor.d.cts.map +1 -0
- package/dist/nodes/agent-executor.d.ts +243 -0
- package/dist/nodes/agent-executor.d.ts.map +1 -0
- package/dist/nodes/agent-executor.js +877 -0
- package/dist/nodes/agent-executor.js.map +1 -0
- package/dist/nodes/base-node.cjs +174 -0
- package/dist/nodes/base-node.cjs.map +1 -0
- package/dist/nodes/base-node.d.cts +125 -0
- package/dist/nodes/base-node.d.cts.map +1 -0
- package/dist/nodes/base-node.d.ts +125 -0
- package/dist/nodes/base-node.d.ts.map +1 -0
- package/dist/nodes/base-node.js +170 -0
- package/dist/nodes/base-node.js.map +1 -0
- package/dist/nodes/executor-registry.cjs +46 -0
- package/dist/nodes/executor-registry.cjs.map +1 -0
- package/dist/nodes/executor-registry.d.cts +18 -0
- package/dist/nodes/executor-registry.d.cts.map +1 -0
- package/dist/nodes/executor-registry.d.ts +18 -0
- package/dist/nodes/executor-registry.d.ts.map +1 -0
- package/dist/nodes/executor-registry.js +46 -0
- package/dist/nodes/executor-registry.js.map +1 -0
- package/dist/nodes/index.cjs +2 -0
- package/dist/nodes/index.d.cts +3 -0
- package/dist/nodes/index.d.ts +3 -0
- package/dist/nodes/index.js +3 -0
- package/dist/services/agent-tool-executions/agent-tool-execution.service.cjs +110 -0
- package/dist/services/agent-tool-executions/agent-tool-execution.service.cjs.map +1 -0
- package/dist/services/agent-tool-executions/agent-tool-execution.service.d.cts +42 -0
- package/dist/services/agent-tool-executions/agent-tool-execution.service.d.cts.map +1 -0
- package/dist/services/agent-tool-executions/agent-tool-execution.service.d.ts +42 -0
- package/dist/services/agent-tool-executions/agent-tool-execution.service.d.ts.map +1 -0
- package/dist/services/agent-tool-executions/agent-tool-execution.service.js +110 -0
- package/dist/services/agent-tool-executions/agent-tool-execution.service.js.map +1 -0
- package/dist/services/agent-tool-executions/agent-tool-executions.model.cjs +152 -0
- package/dist/services/agent-tool-executions/agent-tool-executions.model.cjs.map +1 -0
- package/dist/services/agent-tool-executions/agent-tool-executions.model.d.cts +71 -0
- package/dist/services/agent-tool-executions/agent-tool-executions.model.d.cts.map +1 -0
- package/dist/services/agent-tool-executions/agent-tool-executions.model.d.ts +71 -0
- package/dist/services/agent-tool-executions/agent-tool-executions.model.d.ts.map +1 -0
- package/dist/services/agent-tool-executions/agent-tool-executions.model.js +152 -0
- package/dist/services/agent-tool-executions/agent-tool-executions.model.js.map +1 -0
- package/dist/services/agent-tools/agent-tool-registry.cjs +101 -0
- package/dist/services/agent-tools/agent-tool-registry.cjs.map +1 -0
- package/dist/services/agent-tools/agent-tool-registry.d.cts +51 -0
- package/dist/services/agent-tools/agent-tool-registry.d.cts.map +1 -0
- package/dist/services/agent-tools/agent-tool-registry.d.ts +51 -0
- package/dist/services/agent-tools/agent-tool-registry.d.ts.map +1 -0
- package/dist/services/agent-tools/agent-tool-registry.js +98 -0
- package/dist/services/agent-tools/agent-tool-registry.js.map +1 -0
- package/dist/services/agent-tools/builtin/index.cjs +17 -0
- package/dist/services/agent-tools/builtin/index.cjs.map +1 -0
- package/dist/services/agent-tools/builtin/index.js +17 -0
- package/dist/services/agent-tools/builtin/index.js.map +1 -0
- package/dist/services/agent-tools/builtin/json-logic-tool.cjs +73 -0
- package/dist/services/agent-tools/builtin/json-logic-tool.cjs.map +1 -0
- package/dist/services/agent-tools/builtin/json-logic-tool.js +70 -0
- package/dist/services/agent-tools/builtin/json-logic-tool.js.map +1 -0
- package/dist/services/agent-tools/builtin/math-tool.cjs +117 -0
- package/dist/services/agent-tools/builtin/math-tool.cjs.map +1 -0
- package/dist/services/agent-tools/builtin/math-tool.js +116 -0
- package/dist/services/agent-tools/builtin/math-tool.js.map +1 -0
- package/dist/services/agent-tools/index.cjs +2 -0
- package/dist/services/agent-tools/index.js +3 -0
- package/dist/services/ai/ai-types.cjs +37 -0
- package/dist/services/ai/ai-types.cjs.map +1 -0
- package/dist/services/ai/ai-types.d.cts +105 -0
- package/dist/services/ai/ai-types.d.cts.map +1 -0
- package/dist/services/ai/ai-types.d.ts +105 -0
- package/dist/services/ai/ai-types.d.ts.map +1 -0
- package/dist/services/ai/ai-types.js +35 -0
- package/dist/services/ai/ai-types.js.map +1 -0
- package/dist/services/ai/anthropic-adapter.cjs +411 -0
- package/dist/services/ai/anthropic-adapter.cjs.map +1 -0
- package/dist/services/ai/anthropic-adapter.d.cts +1 -0
- package/dist/services/ai/anthropic-adapter.d.ts +1 -0
- package/dist/services/ai/anthropic-adapter.js +409 -0
- package/dist/services/ai/anthropic-adapter.js.map +1 -0
- package/dist/services/ai/base-client.cjs +345 -0
- package/dist/services/ai/base-client.cjs.map +1 -0
- package/dist/services/ai/base-client.d.cts +138 -0
- package/dist/services/ai/base-client.d.cts.map +1 -0
- package/dist/services/ai/base-client.d.ts +138 -0
- package/dist/services/ai/base-client.d.ts.map +1 -0
- package/dist/services/ai/base-client.js +345 -0
- package/dist/services/ai/base-client.js.map +1 -0
- package/dist/services/ai/openai-adapter.cjs +460 -0
- package/dist/services/ai/openai-adapter.cjs.map +1 -0
- package/dist/services/ai/openai-adapter.d.cts +1 -0
- package/dist/services/ai/openai-adapter.d.ts +1 -0
- package/dist/services/ai/openai-adapter.js +458 -0
- package/dist/services/ai/openai-adapter.js.map +1 -0
- package/dist/services/ai/openrouter-adapter.cjs +124 -0
- package/dist/services/ai/openrouter-adapter.cjs.map +1 -0
- package/dist/services/ai/openrouter-adapter.d.cts +1 -0
- package/dist/services/ai/openrouter-adapter.d.ts +1 -0
- package/dist/services/ai/openrouter-adapter.js +122 -0
- package/dist/services/ai/openrouter-adapter.js.map +1 -0
- package/dist/services/ai/provider-adapter.cjs +72 -0
- package/dist/services/ai/provider-adapter.cjs.map +1 -0
- package/dist/services/ai/provider-adapter.d.cts +81 -0
- package/dist/services/ai/provider-adapter.d.cts.map +1 -0
- package/dist/services/ai/provider-adapter.d.ts +81 -0
- package/dist/services/ai/provider-adapter.d.ts.map +1 -0
- package/dist/services/ai/provider-adapter.js +72 -0
- package/dist/services/ai/provider-adapter.js.map +1 -0
- package/dist/services/auth/authorization.service.cjs +259 -0
- package/dist/services/auth/authorization.service.cjs.map +1 -0
- package/dist/services/auth/authorization.service.d.cts +102 -0
- package/dist/services/auth/authorization.service.d.cts.map +1 -0
- package/dist/services/auth/authorization.service.d.ts +102 -0
- package/dist/services/auth/authorization.service.d.ts.map +1 -0
- package/dist/services/auth/authorization.service.js +257 -0
- package/dist/services/auth/authorization.service.js.map +1 -0
- package/dist/services/auth/flow-access.service.cjs +259 -0
- package/dist/services/auth/flow-access.service.cjs.map +1 -0
- package/dist/services/auth/flow-access.service.d.cts +89 -0
- package/dist/services/auth/flow-access.service.d.cts.map +1 -0
- package/dist/services/auth/flow-access.service.d.ts +89 -0
- package/dist/services/auth/flow-access.service.d.ts.map +1 -0
- package/dist/services/auth/flow-access.service.js +259 -0
- package/dist/services/auth/flow-access.service.js.map +1 -0
- package/dist/services/auth/index.d.ts +2 -0
- package/dist/services/batch-jobs/batch-jobs.model.cjs +213 -0
- package/dist/services/batch-jobs/batch-jobs.model.cjs.map +1 -0
- package/dist/services/batch-jobs/batch-jobs.model.d.cts +79 -0
- package/dist/services/batch-jobs/batch-jobs.model.d.cts.map +1 -0
- package/dist/services/batch-jobs/batch-jobs.model.d.ts +79 -0
- package/dist/services/batch-jobs/batch-jobs.model.d.ts.map +1 -0
- package/dist/services/batch-jobs/batch-jobs.model.js +213 -0
- package/dist/services/batch-jobs/batch-jobs.model.js.map +1 -0
- package/dist/services/batch-jobs/batch-jobs.service.cjs +178 -0
- package/dist/services/batch-jobs/batch-jobs.service.cjs.map +1 -0
- package/dist/services/batch-jobs/batch-jobs.service.d.cts +83 -0
- package/dist/services/batch-jobs/batch-jobs.service.d.cts.map +1 -0
- package/dist/services/batch-jobs/batch-jobs.service.d.ts +83 -0
- package/dist/services/batch-jobs/batch-jobs.service.d.ts.map +1 -0
- package/dist/services/batch-jobs/batch-jobs.service.js +178 -0
- package/dist/services/batch-jobs/batch-jobs.service.js.map +1 -0
- package/dist/services/chat/chat-messages.model.cjs +143 -0
- package/dist/services/chat/chat-messages.model.cjs.map +1 -0
- package/dist/services/chat/chat-messages.model.d.cts +43 -0
- package/dist/services/chat/chat-messages.model.d.cts.map +1 -0
- package/dist/services/chat/chat-messages.model.d.ts +43 -0
- package/dist/services/chat/chat-messages.model.d.ts.map +1 -0
- package/dist/services/chat/chat-messages.model.js +142 -0
- package/dist/services/chat/chat-messages.model.js.map +1 -0
- package/dist/services/chat/chat-stream-session.cjs +181 -0
- package/dist/services/chat/chat-stream-session.cjs.map +1 -0
- package/dist/services/chat/chat-stream-session.d.cts +1 -0
- package/dist/services/chat/chat-stream-session.d.ts +1 -0
- package/dist/services/chat/chat-stream-session.js +181 -0
- package/dist/services/chat/chat-stream-session.js.map +1 -0
- package/dist/services/chat/chat-stream.service.cjs +205 -0
- package/dist/services/chat/chat-stream.service.cjs.map +1 -0
- package/dist/services/chat/chat-stream.service.d.cts +84 -0
- package/dist/services/chat/chat-stream.service.d.cts.map +1 -0
- package/dist/services/chat/chat-stream.service.d.ts +84 -0
- package/dist/services/chat/chat-stream.service.d.ts.map +1 -0
- package/dist/services/chat/chat-stream.service.js +205 -0
- package/dist/services/chat/chat-stream.service.js.map +1 -0
- package/dist/services/chat/chat-toolkit.cjs +125 -0
- package/dist/services/chat/chat-toolkit.cjs.map +1 -0
- package/dist/services/chat/chat-toolkit.d.cts +58 -0
- package/dist/services/chat/chat-toolkit.d.cts.map +1 -0
- package/dist/services/chat/chat-toolkit.d.ts +58 -0
- package/dist/services/chat/chat-toolkit.d.ts.map +1 -0
- package/dist/services/chat/chat-toolkit.js +124 -0
- package/dist/services/chat/chat-toolkit.js.map +1 -0
- package/dist/services/chat/chat-types.cjs +24 -0
- package/dist/services/chat/chat-types.cjs.map +1 -0
- package/dist/services/chat/chat-types.d.cts +134 -0
- package/dist/services/chat/chat-types.d.cts.map +1 -0
- package/dist/services/chat/chat-types.d.ts +134 -0
- package/dist/services/chat/chat-types.d.ts.map +1 -0
- package/dist/services/chat/chat-types.js +23 -0
- package/dist/services/chat/chat-types.js.map +1 -0
- package/dist/services/chat/index.cjs +5 -0
- package/dist/services/chat/index.d.cts +3 -0
- package/dist/services/chat/index.d.ts +3 -0
- package/dist/services/chat/index.js +6 -0
- package/dist/services/chat/system-prompt.cjs +223 -0
- package/dist/services/chat/system-prompt.cjs.map +1 -0
- package/dist/services/chat/system-prompt.d.cts +1 -0
- package/dist/services/chat/system-prompt.d.ts +1 -0
- package/dist/services/chat/system-prompt.js +223 -0
- package/dist/services/chat/system-prompt.js.map +1 -0
- package/dist/services/chat/tools/agent-tools.cjs +472 -0
- package/dist/services/chat/tools/agent-tools.cjs.map +1 -0
- package/dist/services/chat/tools/agent-tools.js +471 -0
- package/dist/services/chat/tools/agent-tools.js.map +1 -0
- package/dist/services/chat/tools/context-tools.cjs +252 -0
- package/dist/services/chat/tools/context-tools.cjs.map +1 -0
- package/dist/services/chat/tools/context-tools.js +251 -0
- package/dist/services/chat/tools/context-tools.js.map +1 -0
- package/dist/services/chat/tools/flow-tools.cjs +244 -0
- package/dist/services/chat/tools/flow-tools.cjs.map +1 -0
- package/dist/services/chat/tools/flow-tools.js +243 -0
- package/dist/services/chat/tools/flow-tools.js.map +1 -0
- package/dist/services/chat/tools/index.cjs +22 -0
- package/dist/services/chat/tools/index.cjs.map +1 -0
- package/dist/services/chat/tools/index.js +22 -0
- package/dist/services/chat/tools/index.js.map +1 -0
- package/dist/services/chat/tools/node-tools.cjs +323 -0
- package/dist/services/chat/tools/node-tools.cjs.map +1 -0
- package/dist/services/chat/tools/node-tools.js +322 -0
- package/dist/services/chat/tools/node-tools.js.map +1 -0
- package/dist/services/chat/tools/plan-tools.cjs +94 -0
- package/dist/services/chat/tools/plan-tools.cjs.map +1 -0
- package/dist/services/chat/tools/plan-tools.js +93 -0
- package/dist/services/chat/tools/plan-tools.js.map +1 -0
- package/dist/services/chat/tools/run-tools.cjs +121 -0
- package/dist/services/chat/tools/run-tools.cjs.map +1 -0
- package/dist/services/chat/tools/run-tools.js +120 -0
- package/dist/services/chat/tools/run-tools.js.map +1 -0
- package/dist/services/credentials/credentials.model.cjs +313 -0
- package/dist/services/credentials/credentials.model.cjs.map +1 -0
- package/dist/services/credentials/credentials.model.d.cts +27 -0
- package/dist/services/credentials/credentials.model.d.cts.map +1 -0
- package/dist/services/credentials/credentials.model.d.ts +27 -0
- package/dist/services/credentials/credentials.model.d.ts.map +1 -0
- package/dist/services/credentials/credentials.model.js +312 -0
- package/dist/services/credentials/credentials.model.js.map +1 -0
- package/dist/services/credentials/credentials.service.cjs +358 -0
- package/dist/services/credentials/credentials.service.cjs.map +1 -0
- package/dist/services/credentials/credentials.service.d.cts +156 -0
- package/dist/services/credentials/credentials.service.d.cts.map +1 -0
- package/dist/services/credentials/credentials.service.d.ts +156 -0
- package/dist/services/credentials/credentials.service.d.ts.map +1 -0
- package/dist/services/credentials/credentials.service.js +357 -0
- package/dist/services/credentials/credentials.service.js.map +1 -0
- package/dist/services/credentials/encryption.service.cjs +121 -0
- package/dist/services/credentials/encryption.service.cjs.map +1 -0
- package/dist/services/credentials/encryption.service.d.cts +70 -0
- package/dist/services/credentials/encryption.service.d.cts.map +1 -0
- package/dist/services/credentials/encryption.service.d.ts +70 -0
- package/dist/services/credentials/encryption.service.d.ts.map +1 -0
- package/dist/services/credentials/encryption.service.js +119 -0
- package/dist/services/credentials/encryption.service.js.map +1 -0
- package/dist/services/credentials/index.d.cts +4 -0
- package/dist/services/credentials/index.d.ts +4 -0
- package/dist/services/credentials/oauth2-providers.cjs +668 -0
- package/dist/services/credentials/oauth2-providers.cjs.map +1 -0
- package/dist/services/credentials/oauth2-providers.d.cts +39 -0
- package/dist/services/credentials/oauth2-providers.d.cts.map +1 -0
- package/dist/services/credentials/oauth2-providers.d.ts +39 -0
- package/dist/services/credentials/oauth2-providers.d.ts.map +1 -0
- package/dist/services/credentials/oauth2-providers.js +667 -0
- package/dist/services/credentials/oauth2-providers.js.map +1 -0
- package/dist/services/credentials/oauth2.service.cjs +252 -0
- package/dist/services/credentials/oauth2.service.cjs.map +1 -0
- package/dist/services/credentials/oauth2.service.d.cts +132 -0
- package/dist/services/credentials/oauth2.service.d.cts.map +1 -0
- package/dist/services/credentials/oauth2.service.d.ts +132 -0
- package/dist/services/credentials/oauth2.service.d.ts.map +1 -0
- package/dist/services/credentials/oauth2.service.js +251 -0
- package/dist/services/credentials/oauth2.service.js.map +1 -0
- package/dist/services/database/database.service.cjs +469 -0
- package/dist/services/database/database.service.cjs.map +1 -0
- package/dist/services/database/database.service.d.cts +162 -0
- package/dist/services/database/database.service.d.cts.map +1 -0
- package/dist/services/database/database.service.d.ts +162 -0
- package/dist/services/database/database.service.d.ts.map +1 -0
- package/dist/services/database/database.service.js +469 -0
- package/dist/services/database/database.service.js.map +1 -0
- package/dist/services/execution-event-bus.cjs +80 -0
- package/dist/services/execution-event-bus.cjs.map +1 -0
- package/dist/services/execution-event-bus.d.cts +57 -0
- package/dist/services/execution-event-bus.d.cts.map +1 -0
- package/dist/services/execution-event-bus.d.ts +57 -0
- package/dist/services/execution-event-bus.d.ts.map +1 -0
- package/dist/services/execution-event-bus.js +77 -0
- package/dist/services/execution-event-bus.js.map +1 -0
- package/dist/services/flow-orchestration/flow-run-coordinator.cjs +499 -0
- package/dist/services/flow-orchestration/flow-run-coordinator.cjs.map +1 -0
- package/dist/services/flow-orchestration/flow-run-coordinator.js +499 -0
- package/dist/services/flow-orchestration/flow-run-coordinator.js.map +1 -0
- package/dist/services/flow-orchestration/node-execution-coordinator.cjs +657 -0
- package/dist/services/flow-orchestration/node-execution-coordinator.cjs.map +1 -0
- package/dist/services/flow-orchestration/node-execution-coordinator.js +657 -0
- package/dist/services/flow-orchestration/node-execution-coordinator.js.map +1 -0
- package/dist/services/flow-orchestration.service.cjs +493 -0
- package/dist/services/flow-orchestration.service.cjs.map +1 -0
- package/dist/services/flow-orchestration.service.d.cts +149 -0
- package/dist/services/flow-orchestration.service.d.cts.map +1 -0
- package/dist/services/flow-orchestration.service.d.ts +149 -0
- package/dist/services/flow-orchestration.service.d.ts.map +1 -0
- package/dist/services/flow-orchestration.service.js +493 -0
- package/dist/services/flow-orchestration.service.js.map +1 -0
- package/dist/services/flow-runs/flow-runs.model.cjs +403 -0
- package/dist/services/flow-runs/flow-runs.model.cjs.map +1 -0
- package/dist/services/flow-runs/flow-runs.model.d.cts +113 -0
- package/dist/services/flow-runs/flow-runs.model.d.cts.map +1 -0
- package/dist/services/flow-runs/flow-runs.model.d.ts +113 -0
- package/dist/services/flow-runs/flow-runs.model.d.ts.map +1 -0
- package/dist/services/flow-runs/flow-runs.model.js +403 -0
- package/dist/services/flow-runs/flow-runs.model.js.map +1 -0
- package/dist/services/flow-runs/flow-runs.service.cjs +273 -0
- package/dist/services/flow-runs/flow-runs.service.cjs.map +1 -0
- package/dist/services/flow-runs/flow-runs.service.d.cts +129 -0
- package/dist/services/flow-runs/flow-runs.service.d.cts.map +1 -0
- package/dist/services/flow-runs/flow-runs.service.d.ts +129 -0
- package/dist/services/flow-runs/flow-runs.service.d.ts.map +1 -0
- package/dist/services/flow-runs/flow-runs.service.js +273 -0
- package/dist/services/flow-runs/flow-runs.service.js.map +1 -0
- package/dist/services/flow-validator.cjs +149 -0
- package/dist/services/flow-validator.cjs.map +1 -0
- package/dist/services/flow-validator.js +149 -0
- package/dist/services/flow-validator.js.map +1 -0
- package/dist/services/flow-versions/flow-versions.model.cjs +231 -0
- package/dist/services/flow-versions/flow-versions.model.cjs.map +1 -0
- package/dist/services/flow-versions/flow-versions.model.d.cts +55 -0
- package/dist/services/flow-versions/flow-versions.model.d.cts.map +1 -0
- package/dist/services/flow-versions/flow-versions.model.d.ts +55 -0
- package/dist/services/flow-versions/flow-versions.model.d.ts.map +1 -0
- package/dist/services/flow-versions/flow-versions.model.js +231 -0
- package/dist/services/flow-versions/flow-versions.model.js.map +1 -0
- package/dist/services/flow-versions/flow-versions.service.cjs +72 -0
- package/dist/services/flow-versions/flow-versions.service.cjs.map +1 -0
- package/dist/services/flow-versions/flow-versions.service.d.cts +63 -0
- package/dist/services/flow-versions/flow-versions.service.d.cts.map +1 -0
- package/dist/services/flow-versions/flow-versions.service.d.ts +63 -0
- package/dist/services/flow-versions/flow-versions.service.d.ts.map +1 -0
- package/dist/services/flow-versions/flow-versions.service.js +72 -0
- package/dist/services/flow-versions/flow-versions.service.js.map +1 -0
- package/dist/services/flow-versions/schemas-fresh.cjs +90 -0
- package/dist/services/flow-versions/schemas-fresh.cjs.map +1 -0
- package/dist/services/flow-versions/schemas-fresh.d.cts +201 -0
- package/dist/services/flow-versions/schemas-fresh.d.cts.map +1 -0
- package/dist/services/flow-versions/schemas-fresh.d.ts +201 -0
- package/dist/services/flow-versions/schemas-fresh.d.ts.map +1 -0
- package/dist/services/flow-versions/schemas-fresh.js +85 -0
- package/dist/services/flow-versions/schemas-fresh.js.map +1 -0
- package/dist/services/flows/flows.model.cjs +273 -0
- package/dist/services/flows/flows.model.cjs.map +1 -0
- package/dist/services/flows/flows.model.d.cts +105 -0
- package/dist/services/flows/flows.model.d.cts.map +1 -0
- package/dist/services/flows/flows.model.d.ts +105 -0
- package/dist/services/flows/flows.model.d.ts.map +1 -0
- package/dist/services/flows/flows.model.js +273 -0
- package/dist/services/flows/flows.model.js.map +1 -0
- package/dist/services/flows/flows.service.cjs +134 -0
- package/dist/services/flows/flows.service.cjs.map +1 -0
- package/dist/services/flows/flows.service.d.cts +105 -0
- package/dist/services/flows/flows.service.d.cts.map +1 -0
- package/dist/services/flows/flows.service.d.ts +105 -0
- package/dist/services/flows/flows.service.d.ts.map +1 -0
- package/dist/services/flows/flows.service.js +134 -0
- package/dist/services/flows/flows.service.js.map +1 -0
- package/dist/services/graph.service.cjs +375 -0
- package/dist/services/graph.service.cjs.map +1 -0
- package/dist/services/graph.service.d.cts +90 -0
- package/dist/services/graph.service.d.cts.map +1 -0
- package/dist/services/graph.service.d.ts +90 -0
- package/dist/services/graph.service.d.ts.map +1 -0
- package/dist/services/graph.service.js +375 -0
- package/dist/services/graph.service.js.map +1 -0
- package/dist/services/node-data.service.cjs +232 -0
- package/dist/services/node-data.service.cjs.map +1 -0
- package/dist/services/node-data.service.d.cts +119 -0
- package/dist/services/node-data.service.d.cts.map +1 -0
- package/dist/services/node-data.service.d.ts +119 -0
- package/dist/services/node-data.service.d.ts.map +1 -0
- package/dist/services/node-data.service.js +230 -0
- package/dist/services/node-data.service.js.map +1 -0
- package/dist/services/node-executions/node-execution.service.cjs +236 -0
- package/dist/services/node-executions/node-execution.service.cjs.map +1 -0
- package/dist/services/node-executions/node-execution.service.d.cts +126 -0
- package/dist/services/node-executions/node-execution.service.d.cts.map +1 -0
- package/dist/services/node-executions/node-execution.service.d.ts +126 -0
- package/dist/services/node-executions/node-execution.service.d.ts.map +1 -0
- package/dist/services/node-executions/node-execution.service.js +236 -0
- package/dist/services/node-executions/node-execution.service.js.map +1 -0
- package/dist/services/node-executions/node-executions.model.cjs +300 -0
- package/dist/services/node-executions/node-executions.model.cjs.map +1 -0
- package/dist/services/node-executions/node-executions.model.d.cts +102 -0
- package/dist/services/node-executions/node-executions.model.d.cts.map +1 -0
- package/dist/services/node-executions/node-executions.model.d.ts +102 -0
- package/dist/services/node-executions/node-executions.model.d.ts.map +1 -0
- package/dist/services/node-executions/node-executions.model.js +300 -0
- package/dist/services/node-executions/node-executions.model.js.map +1 -0
- package/dist/services/plugin-manager.cjs +205 -0
- package/dist/services/plugin-manager.cjs.map +1 -0
- package/dist/services/plugin-manager.js +205 -0
- package/dist/services/plugin-manager.js.map +1 -0
- package/dist/services/react-flow-renderer.service.cjs +236 -0
- package/dist/services/react-flow-renderer.service.cjs.map +1 -0
- package/dist/services/react-flow-renderer.service.d.cts +149 -0
- package/dist/services/react-flow-renderer.service.d.cts.map +1 -0
- package/dist/services/react-flow-renderer.service.d.ts +149 -0
- package/dist/services/react-flow-renderer.service.d.ts.map +1 -0
- package/dist/services/react-flow-renderer.service.js +235 -0
- package/dist/services/react-flow-renderer.service.js.map +1 -0
- package/dist/services/service-factory.cjs +301 -0
- package/dist/services/service-factory.cjs.map +1 -0
- package/dist/services/service-factory.d.cts +172 -0
- package/dist/services/service-factory.d.cts.map +1 -0
- package/dist/services/service-factory.d.ts +172 -0
- package/dist/services/service-factory.d.ts.map +1 -0
- package/dist/services/service-factory.js +301 -0
- package/dist/services/service-factory.js.map +1 -0
- package/dist/services/templating/index.cjs +2 -0
- package/dist/services/templating/index.d.ts +2 -0
- package/dist/services/templating/index.js +3 -0
- package/dist/services/templating/js-expression.service.cjs +148 -0
- package/dist/services/templating/js-expression.service.cjs.map +1 -0
- package/dist/services/templating/js-expression.service.d.cts +61 -0
- package/dist/services/templating/js-expression.service.d.cts.map +1 -0
- package/dist/services/templating/js-expression.service.d.ts +60 -0
- package/dist/services/templating/js-expression.service.d.ts.map +1 -0
- package/dist/services/templating/js-expression.service.js +143 -0
- package/dist/services/templating/js-expression.service.js.map +1 -0
- package/dist/services/templating/template.service.cjs +182 -0
- package/dist/services/templating/template.service.cjs.map +1 -0
- package/dist/services/templating/template.service.d.cts +62 -0
- package/dist/services/templating/template.service.d.cts.map +1 -0
- package/dist/services/templating/template.service.d.ts +62 -0
- package/dist/services/templating/template.service.d.ts.map +1 -0
- package/dist/services/templating/template.service.js +180 -0
- package/dist/services/templating/template.service.js.map +1 -0
- package/dist/services/triggers/cron-scheduler.service.cjs +141 -0
- package/dist/services/triggers/cron-scheduler.service.cjs.map +1 -0
- package/dist/services/triggers/cron-scheduler.service.d.cts +36 -0
- package/dist/services/triggers/cron-scheduler.service.d.cts.map +1 -0
- package/dist/services/triggers/cron-scheduler.service.d.ts +36 -0
- package/dist/services/triggers/cron-scheduler.service.d.ts.map +1 -0
- package/dist/services/triggers/cron-scheduler.service.js +140 -0
- package/dist/services/triggers/cron-scheduler.service.js.map +1 -0
- package/dist/services/triggers/flow-triggers.model.cjs +241 -0
- package/dist/services/triggers/flow-triggers.model.cjs.map +1 -0
- package/dist/services/triggers/flow-triggers.model.d.cts +53 -0
- package/dist/services/triggers/flow-triggers.model.d.cts.map +1 -0
- package/dist/services/triggers/flow-triggers.model.d.ts +53 -0
- package/dist/services/triggers/flow-triggers.model.d.ts.map +1 -0
- package/dist/services/triggers/flow-triggers.model.js +241 -0
- package/dist/services/triggers/flow-triggers.model.js.map +1 -0
- package/dist/services/triggers/flow-triggers.service.cjs +218 -0
- package/dist/services/triggers/flow-triggers.service.cjs.map +1 -0
- package/dist/services/triggers/flow-triggers.service.d.cts +77 -0
- package/dist/services/triggers/flow-triggers.service.d.cts.map +1 -0
- package/dist/services/triggers/flow-triggers.service.d.ts +77 -0
- package/dist/services/triggers/flow-triggers.service.d.ts.map +1 -0
- package/dist/services/triggers/flow-triggers.service.js +217 -0
- package/dist/services/triggers/flow-triggers.service.js.map +1 -0
- package/dist/services/triggers/index.cjs +3 -0
- package/dist/services/triggers/index.d.cts +4 -0
- package/dist/services/triggers/index.d.ts +4 -0
- package/dist/services/triggers/index.js +4 -0
- package/dist/services/triggers/trigger.types.d.cts +63 -0
- package/dist/services/triggers/trigger.types.d.cts.map +1 -0
- package/dist/services/triggers/trigger.types.d.ts +63 -0
- package/dist/services/triggers/trigger.types.d.ts.map +1 -0
- package/dist/types/agent-tool.types.cjs +20 -0
- package/dist/types/agent-tool.types.cjs.map +1 -0
- package/dist/types/agent-tool.types.d.cts +211 -0
- package/dist/types/agent-tool.types.d.cts.map +1 -0
- package/dist/types/agent-tool.types.d.ts +211 -0
- package/dist/types/agent-tool.types.d.ts.map +1 -0
- package/dist/types/agent-tool.types.js +18 -0
- package/dist/types/agent-tool.types.js.map +1 -0
- package/dist/types/auth.types.cjs +76 -0
- package/dist/types/auth.types.cjs.map +1 -0
- package/dist/types/auth.types.d.cts +235 -0
- package/dist/types/auth.types.d.cts.map +1 -0
- package/dist/types/auth.types.d.ts +235 -0
- package/dist/types/auth.types.d.ts.map +1 -0
- package/dist/types/auth.types.js +75 -0
- package/dist/types/auth.types.js.map +1 -0
- package/dist/types/base.cjs +25 -0
- package/dist/types/base.cjs.map +1 -0
- package/dist/types/base.d.cts +21 -0
- package/dist/types/base.d.cts.map +1 -0
- package/dist/types/base.d.ts +21 -0
- package/dist/types/base.d.ts.map +1 -0
- package/dist/types/base.js +24 -0
- package/dist/types/base.js.map +1 -0
- package/dist/types/common/errors.types.cjs +46 -0
- package/dist/types/common/errors.types.cjs.map +1 -0
- package/dist/types/common/errors.types.js +44 -0
- package/dist/types/common/errors.types.js.map +1 -0
- package/dist/types/graph-node-types.cjs +46 -0
- package/dist/types/graph-node-types.cjs.map +1 -0
- package/dist/types/graph-node-types.d.cts +32 -0
- package/dist/types/graph-node-types.d.cts.map +1 -0
- package/dist/types/graph-node-types.d.ts +32 -0
- package/dist/types/graph-node-types.d.ts.map +1 -0
- package/dist/types/graph-node-types.js +45 -0
- package/dist/types/graph-node-types.js.map +1 -0
- package/dist/types/node-config-update.types.d.cts +33 -0
- package/dist/types/node-config-update.types.d.cts.map +1 -0
- package/dist/types/node-config-update.types.d.ts +33 -0
- package/dist/types/node-config-update.types.d.ts.map +1 -0
- package/dist/types/node-definition.types.d.cts +88 -0
- package/dist/types/node-definition.types.d.cts.map +1 -0
- package/dist/types/node-definition.types.d.ts +88 -0
- package/dist/types/node-definition.types.d.ts.map +1 -0
- package/dist/types/node-execution.types.d.cts +39 -0
- package/dist/types/node-execution.types.d.cts.map +1 -0
- package/dist/types/node-execution.types.d.ts +39 -0
- package/dist/types/node-execution.types.d.ts.map +1 -0
- package/dist/types/node-io-types.cjs +19 -0
- package/dist/types/node-io-types.cjs.map +1 -0
- package/dist/types/node-io-types.d.cts +65 -0
- package/dist/types/node-io-types.d.cts.map +1 -0
- package/dist/types/node-io-types.d.ts +65 -0
- package/dist/types/node-io-types.d.ts.map +1 -0
- package/dist/types/node-io-types.js +18 -0
- package/dist/types/node-io-types.js.map +1 -0
- package/dist/types/node-output-schemas.cjs +51 -0
- package/dist/types/node-output-schemas.cjs.map +1 -0
- package/dist/types/node-output-schemas.js +50 -0
- package/dist/types/node-output-schemas.js.map +1 -0
- package/dist/types/plugin.types.d.cts +654 -0
- package/dist/types/plugin.types.d.cts.map +1 -0
- package/dist/types/plugin.types.d.ts +654 -0
- package/dist/types/plugin.types.d.ts.map +1 -0
- package/dist/types/schemas/flow/create-flow-version.schema.cjs +1 -0
- package/dist/types/schemas/flow/create-flow-version.schema.d.ts +1 -0
- package/dist/types/schemas/flow/create-flow-version.schema.js +2 -0
- package/dist/types/schemas/flow/create-flow.schema.cjs +9 -0
- package/dist/types/schemas/flow/create-flow.schema.cjs.map +1 -0
- package/dist/types/schemas/flow/create-flow.schema.d.cts +14 -0
- package/dist/types/schemas/flow/create-flow.schema.d.cts.map +1 -0
- package/dist/types/schemas/flow/create-flow.schema.d.ts +14 -0
- package/dist/types/schemas/flow/create-flow.schema.d.ts.map +1 -0
- package/dist/types/schemas/flow/create-flow.schema.js +10 -0
- package/dist/types/schemas/flow/create-flow.schema.js.map +1 -0
- package/dist/types/schemas/flow/delete-flow.schema.cjs +11 -0
- package/dist/types/schemas/flow/delete-flow.schema.cjs.map +1 -0
- package/dist/types/schemas/flow/delete-flow.schema.d.ts +1 -0
- package/dist/types/schemas/flow/delete-flow.schema.js +11 -0
- package/dist/types/schemas/flow/delete-flow.schema.js.map +1 -0
- package/dist/types/schemas/flow/flow-executions.schema.cjs +36 -0
- package/dist/types/schemas/flow/flow-executions.schema.cjs.map +1 -0
- package/dist/types/schemas/flow/flow-executions.schema.d.ts +1 -0
- package/dist/types/schemas/flow/flow-executions.schema.js +35 -0
- package/dist/types/schemas/flow/flow-executions.schema.js.map +1 -0
- package/dist/types/schemas/flow/get-flow-by-id-response.schema.cjs +7 -0
- package/dist/types/schemas/flow/get-flow-by-id-response.schema.cjs.map +1 -0
- package/dist/types/schemas/flow/get-flow-by-id-response.schema.d.ts +1 -0
- package/dist/types/schemas/flow/get-flow-by-id-response.schema.js +7 -0
- package/dist/types/schemas/flow/get-flow-by-id-response.schema.js.map +1 -0
- package/dist/types/schemas/flow/get-flow-versions-response.schema.cjs +1 -0
- package/dist/types/schemas/flow/get-flow-versions-response.schema.d.ts +1 -0
- package/dist/types/schemas/flow/get-flow-versions-response.schema.js +2 -0
- package/dist/types/schemas/flow/get-flows-response.schema.cjs +6 -0
- package/dist/types/schemas/flow/get-flows-response.schema.cjs.map +1 -0
- package/dist/types/schemas/flow/get-flows-response.schema.d.ts +1 -0
- package/dist/types/schemas/flow/get-flows-response.schema.js +7 -0
- package/dist/types/schemas/flow/get-flows-response.schema.js.map +1 -0
- package/dist/types/schemas/flow/index.cjs +9 -0
- package/dist/types/schemas/flow/index.d.ts +1 -0
- package/dist/types/schemas/flow/index.js +10 -0
- package/dist/types/schemas/flow/update-flow.schema.cjs +1 -0
- package/dist/types/schemas/flow/update-flow.schema.d.ts +1 -0
- package/dist/types/schemas/flow/update-flow.schema.js +2 -0
- package/dist/types/schemas/flow/validate-flow.schema.cjs +19 -0
- package/dist/types/schemas/flow/validate-flow.schema.cjs.map +1 -0
- package/dist/types/schemas/flow/validate-flow.schema.d.ts +1 -0
- package/dist/types/schemas/flow/validate-flow.schema.js +19 -0
- package/dist/types/schemas/flow/validate-flow.schema.js.map +1 -0
- package/dist/types/schemas/index.cjs +3 -0
- package/dist/types/schemas/index.d.ts +2 -0
- package/dist/types/schemas/index.js +4 -0
- package/dist/types/schemas/pagination-sort-filter.cjs +56 -0
- package/dist/types/schemas/pagination-sort-filter.cjs.map +1 -0
- package/dist/types/schemas/pagination-sort-filter.d.cts +38 -0
- package/dist/types/schemas/pagination-sort-filter.d.cts.map +1 -0
- package/dist/types/schemas/pagination-sort-filter.d.ts +38 -0
- package/dist/types/schemas/pagination-sort-filter.d.ts.map +1 -0
- package/dist/types/schemas/pagination-sort-filter.js +50 -0
- package/dist/types/schemas/pagination-sort-filter.js.map +1 -0
- package/dist/types/schemas-fresh/invect-config.cjs +181 -0
- package/dist/types/schemas-fresh/invect-config.cjs.map +1 -0
- package/dist/types/schemas-fresh/invect-config.d.cts +207 -0
- package/dist/types/schemas-fresh/invect-config.d.cts.map +1 -0
- package/dist/types/schemas-fresh/invect-config.d.ts +207 -0
- package/dist/types/schemas-fresh/invect-config.d.ts.map +1 -0
- package/dist/types/schemas-fresh/invect-config.js +174 -0
- package/dist/types/schemas-fresh/invect-config.js.map +1 -0
- package/dist/types/validation/common.schemas.cjs +41 -0
- package/dist/types/validation/common.schemas.cjs.map +1 -0
- package/dist/types/validation/common.schemas.js +39 -0
- package/dist/types/validation/common.schemas.js.map +1 -0
- package/dist/types/validation/flow.schemas.cjs +49 -0
- package/dist/types/validation/flow.schemas.cjs.map +1 -0
- package/dist/types/validation/flow.schemas.js +46 -0
- package/dist/types/validation/flow.schemas.js.map +1 -0
- package/dist/types/validation.cjs +49 -0
- package/dist/types/validation.cjs.map +1 -0
- package/dist/types/validation.d.cts +49 -0
- package/dist/types/validation.d.cts.map +1 -0
- package/dist/types/validation.d.ts +49 -0
- package/dist/types/validation.d.ts.map +1 -0
- package/dist/types/validation.js +48 -0
- package/dist/types/validation.js.map +1 -0
- package/dist/types-export.cjs +11 -0
- package/dist/types-export.d.cts +25 -0
- package/dist/types-export.d.ts +25 -0
- package/dist/types-export.js +5 -0
- package/dist/types-fresh.cjs +9 -0
- package/dist/types-fresh.cjs.map +1 -0
- package/dist/types-fresh.d.cts +129 -0
- package/dist/types-fresh.d.cts.map +1 -0
- package/dist/types-fresh.d.ts +129 -0
- package/dist/types-fresh.d.ts.map +1 -0
- package/dist/types-fresh.js +8 -0
- package/dist/types-fresh.js.map +1 -0
- package/dist/utils/id-generator.cjs +34 -0
- package/dist/utils/id-generator.cjs.map +1 -0
- package/dist/utils/id-generator.js +34 -0
- package/dist/utils/id-generator.js.map +1 -0
- package/dist/utils/logger.cjs +285 -0
- package/dist/utils/logger.cjs.map +1 -0
- package/dist/utils/logger.d.cts +161 -0
- package/dist/utils/logger.d.cts.map +1 -0
- package/dist/utils/logger.d.ts +160 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +282 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/node-slug.cjs +13 -0
- package/dist/utils/node-slug.cjs.map +1 -0
- package/dist/utils/node-slug.d.cts +8 -0
- package/dist/utils/node-slug.d.cts.map +1 -0
- package/dist/utils/node-slug.d.ts +8 -0
- package/dist/utils/node-slug.d.ts.map +1 -0
- package/dist/utils/node-slug.js +13 -0
- package/dist/utils/node-slug.js.map +1 -0
- package/dist/utils/provider-detection.cjs +72 -0
- package/dist/utils/provider-detection.cjs.map +1 -0
- package/dist/utils/provider-detection.js +72 -0
- package/dist/utils/provider-detection.js.map +1 -0
- package/dist/utils/url-safe-id.cjs +52 -0
- package/dist/utils/url-safe-id.cjs.map +1 -0
- package/dist/utils/url-safe-id.js +52 -0
- package/dist/utils/url-safe-id.js.map +1 -0
- package/package.json +121 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region src/types/base.ts
|
|
2
|
+
let NodeExecutionStatus = /* @__PURE__ */ function(NodeExecutionStatus) {
|
|
3
|
+
NodeExecutionStatus["PENDING"] = "PENDING";
|
|
4
|
+
NodeExecutionStatus["RUNNING"] = "RUNNING";
|
|
5
|
+
NodeExecutionStatus["SUCCESS"] = "SUCCESS";
|
|
6
|
+
NodeExecutionStatus["FAILED"] = "FAILED";
|
|
7
|
+
NodeExecutionStatus["SKIPPED"] = "SKIPPED";
|
|
8
|
+
NodeExecutionStatus["BATCH_SUBMITTED"] = "BATCH_SUBMITTED";
|
|
9
|
+
return NodeExecutionStatus;
|
|
10
|
+
}({});
|
|
11
|
+
let FlowRunStatus = /* @__PURE__ */ function(FlowRunStatus) {
|
|
12
|
+
FlowRunStatus["PENDING"] = "PENDING";
|
|
13
|
+
FlowRunStatus["RUNNING"] = "RUNNING";
|
|
14
|
+
FlowRunStatus["SUCCESS"] = "SUCCESS";
|
|
15
|
+
FlowRunStatus["FAILED"] = "FAILED";
|
|
16
|
+
FlowRunStatus["PAUSED"] = "PAUSED";
|
|
17
|
+
FlowRunStatus["CANCELLED"] = "CANCELLED";
|
|
18
|
+
FlowRunStatus["PAUSED_FOR_BATCH"] = "PAUSED_FOR_BATCH";
|
|
19
|
+
return FlowRunStatus;
|
|
20
|
+
}({});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { FlowRunStatus, NodeExecutionStatus };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","names":[],"sources":["../../src/types/base.ts"],"sourcesContent":["// Node execution status\nexport enum NodeExecutionStatus {\n PENDING = 'PENDING',\n RUNNING = 'RUNNING',\n SUCCESS = 'SUCCESS',\n FAILED = 'FAILED',\n SKIPPED = 'SKIPPED',\n BATCH_SUBMITTED = 'BATCH_SUBMITTED',\n}\n\n// Execution status\nexport enum FlowRunStatus {\n PENDING = 'PENDING',\n RUNNING = 'RUNNING',\n SUCCESS = 'SUCCESS',\n FAILED = 'FAILED',\n PAUSED = 'PAUSED',\n CANCELLED = 'CANCELLED',\n PAUSED_FOR_BATCH = 'PAUSED_FOR_BATCH',\n}\n"],"mappings":";AACA,IAAY,sBAAL,yBAAA,qBAAA;AACL,qBAAA,aAAA;AACA,qBAAA,aAAA;AACA,qBAAA,aAAA;AACA,qBAAA,YAAA;AACA,qBAAA,aAAA;AACA,qBAAA,qBAAA;;KACD;AAGD,IAAY,gBAAL,yBAAA,eAAA;AACL,eAAA,aAAA;AACA,eAAA,aAAA;AACA,eAAA,aAAA;AACA,eAAA,YAAA;AACA,eAAA,YAAA;AACA,eAAA,eAAA;AACA,eAAA,sBAAA;;KACD"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
//#region src/types/common/errors.types.ts
|
|
2
|
+
/**
|
|
3
|
+
* Common error types for Invect
|
|
4
|
+
*/
|
|
5
|
+
var InvectError = class extends Error {
|
|
6
|
+
constructor(message, context) {
|
|
7
|
+
super(message);
|
|
8
|
+
this.context = context;
|
|
9
|
+
this.name = this.constructor.name;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Flow not found error
|
|
14
|
+
*/
|
|
15
|
+
var FlowNotFoundError = class extends InvectError {
|
|
16
|
+
code = "FLOW_NOT_FOUND";
|
|
17
|
+
statusCode = 404;
|
|
18
|
+
};
|
|
19
|
+
var DatabaseError = class extends InvectError {
|
|
20
|
+
code = "DATABASE_ERROR";
|
|
21
|
+
statusCode = 500;
|
|
22
|
+
constructor(message, details) {
|
|
23
|
+
super(message);
|
|
24
|
+
this.details = details;
|
|
25
|
+
this.name = "DatabaseError";
|
|
26
|
+
if (details) this.details = details;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Validation error
|
|
31
|
+
*/
|
|
32
|
+
var ValidationError = class extends InvectError {
|
|
33
|
+
code = "VALIDATION_ERROR";
|
|
34
|
+
statusCode = 400;
|
|
35
|
+
constructor(message, field, value, context) {
|
|
36
|
+
super(message, context);
|
|
37
|
+
this.field = field;
|
|
38
|
+
this.value = value;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.DatabaseError = DatabaseError;
|
|
43
|
+
exports.FlowNotFoundError = FlowNotFoundError;
|
|
44
|
+
exports.ValidationError = ValidationError;
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=errors.types.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.types.cjs","names":[],"sources":["../../../src/types/common/errors.types.ts"],"sourcesContent":["/**\n * Common error types for Invect\n */\n\nexport abstract class InvectError extends Error {\n abstract readonly code: string;\n abstract readonly statusCode: number;\n\n constructor(\n message: string,\n public readonly context?: Record<string, unknown>,\n ) {\n super(message);\n this.name = this.constructor.name;\n }\n}\n\n/**\n * Flow not found error\n */\nexport class FlowNotFoundError extends InvectError {\n readonly code = 'FLOW_NOT_FOUND';\n readonly statusCode = 404;\n}\n\nexport class DatabaseError extends InvectError {\n code: string = 'DATABASE_ERROR';\n statusCode: number = 500;\n constructor(\n message: string,\n public details?: Record<string, unknown>,\n ) {\n super(message);\n this.name = 'DatabaseError';\n if (details) {\n this.details = details;\n }\n }\n}\n\n/**\n * Flow execution error\n */\nexport class FlowExecutionError extends InvectError {\n readonly code = 'FLOW_EXECUTION_ERROR';\n readonly statusCode = 500;\n}\n\n/**\n * Node execution error\n */\nexport class NodeExecutionError extends InvectError {\n readonly code = 'NODE_EXECUTION_ERROR';\n readonly statusCode = 500;\n\n constructor(\n message: string,\n public readonly nodeId: string,\n public readonly nodeType: string,\n context?: Record<string, unknown>,\n ) {\n super(message, context);\n }\n}\n\n/**\n * Validation error\n */\nexport class ValidationError extends InvectError {\n readonly code = 'VALIDATION_ERROR';\n readonly statusCode = 400;\n\n constructor(\n message: string,\n public readonly field?: string,\n public readonly value?: unknown,\n context?: Record<string, unknown>,\n ) {\n super(message, context);\n }\n}\n\n/**\n * Configuration error\n */\nexport class ConfigurationError extends InvectError {\n readonly code = 'CONFIGURATION_ERROR';\n readonly statusCode = 500;\n}\n\n/**\n * Timeout error\n */\nexport class TimeoutError extends InvectError {\n readonly code = 'TIMEOUT_ERROR';\n readonly statusCode = 408;\n}\n\n/**\n * Unauthorized error\n */\nexport class UnauthorizedError extends InvectError {\n readonly code = 'UNAUTHORIZED';\n readonly statusCode = 401;\n}\n\n/**\n * Forbidden error\n */\nexport class ForbiddenError extends InvectError {\n readonly code = 'FORBIDDEN';\n readonly statusCode = 403;\n}\n\n/**\n * Rate limit error\n */\nexport class RateLimitError extends InvectError {\n readonly code = 'RATE_LIMIT_EXCEEDED';\n readonly statusCode = 429;\n}\n"],"mappings":";;;;AAIA,IAAsB,cAAtB,cAA0C,MAAM;CAI9C,YACE,SACA,SACA;AACA,QAAM,QAAQ;AAFE,OAAA,UAAA;AAGhB,OAAK,OAAO,KAAK,YAAY;;;;;;AAOjC,IAAa,oBAAb,cAAuC,YAAY;CACjD,OAAgB;CAChB,aAAsB;;AAGxB,IAAa,gBAAb,cAAmC,YAAY;CAC7C,OAAe;CACf,aAAqB;CACrB,YACE,SACA,SACA;AACA,QAAM,QAAQ;AAFP,OAAA,UAAA;AAGP,OAAK,OAAO;AACZ,MAAI,QACF,MAAK,UAAU;;;;;;AAiCrB,IAAa,kBAAb,cAAqC,YAAY;CAC/C,OAAgB;CAChB,aAAsB;CAEtB,YACE,SACA,OACA,OACA,SACA;AACA,QAAM,SAAS,QAAQ;AAJP,OAAA,QAAA;AACA,OAAA,QAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//#region src/types/common/errors.types.ts
|
|
2
|
+
/**
|
|
3
|
+
* Common error types for Invect
|
|
4
|
+
*/
|
|
5
|
+
var InvectError = class extends Error {
|
|
6
|
+
constructor(message, context) {
|
|
7
|
+
super(message);
|
|
8
|
+
this.context = context;
|
|
9
|
+
this.name = this.constructor.name;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Flow not found error
|
|
14
|
+
*/
|
|
15
|
+
var FlowNotFoundError = class extends InvectError {
|
|
16
|
+
code = "FLOW_NOT_FOUND";
|
|
17
|
+
statusCode = 404;
|
|
18
|
+
};
|
|
19
|
+
var DatabaseError = class extends InvectError {
|
|
20
|
+
code = "DATABASE_ERROR";
|
|
21
|
+
statusCode = 500;
|
|
22
|
+
constructor(message, details) {
|
|
23
|
+
super(message);
|
|
24
|
+
this.details = details;
|
|
25
|
+
this.name = "DatabaseError";
|
|
26
|
+
if (details) this.details = details;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Validation error
|
|
31
|
+
*/
|
|
32
|
+
var ValidationError = class extends InvectError {
|
|
33
|
+
code = "VALIDATION_ERROR";
|
|
34
|
+
statusCode = 400;
|
|
35
|
+
constructor(message, field, value, context) {
|
|
36
|
+
super(message, context);
|
|
37
|
+
this.field = field;
|
|
38
|
+
this.value = value;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { DatabaseError, FlowNotFoundError, ValidationError };
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=errors.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.types.js","names":[],"sources":["../../../src/types/common/errors.types.ts"],"sourcesContent":["/**\n * Common error types for Invect\n */\n\nexport abstract class InvectError extends Error {\n abstract readonly code: string;\n abstract readonly statusCode: number;\n\n constructor(\n message: string,\n public readonly context?: Record<string, unknown>,\n ) {\n super(message);\n this.name = this.constructor.name;\n }\n}\n\n/**\n * Flow not found error\n */\nexport class FlowNotFoundError extends InvectError {\n readonly code = 'FLOW_NOT_FOUND';\n readonly statusCode = 404;\n}\n\nexport class DatabaseError extends InvectError {\n code: string = 'DATABASE_ERROR';\n statusCode: number = 500;\n constructor(\n message: string,\n public details?: Record<string, unknown>,\n ) {\n super(message);\n this.name = 'DatabaseError';\n if (details) {\n this.details = details;\n }\n }\n}\n\n/**\n * Flow execution error\n */\nexport class FlowExecutionError extends InvectError {\n readonly code = 'FLOW_EXECUTION_ERROR';\n readonly statusCode = 500;\n}\n\n/**\n * Node execution error\n */\nexport class NodeExecutionError extends InvectError {\n readonly code = 'NODE_EXECUTION_ERROR';\n readonly statusCode = 500;\n\n constructor(\n message: string,\n public readonly nodeId: string,\n public readonly nodeType: string,\n context?: Record<string, unknown>,\n ) {\n super(message, context);\n }\n}\n\n/**\n * Validation error\n */\nexport class ValidationError extends InvectError {\n readonly code = 'VALIDATION_ERROR';\n readonly statusCode = 400;\n\n constructor(\n message: string,\n public readonly field?: string,\n public readonly value?: unknown,\n context?: Record<string, unknown>,\n ) {\n super(message, context);\n }\n}\n\n/**\n * Configuration error\n */\nexport class ConfigurationError extends InvectError {\n readonly code = 'CONFIGURATION_ERROR';\n readonly statusCode = 500;\n}\n\n/**\n * Timeout error\n */\nexport class TimeoutError extends InvectError {\n readonly code = 'TIMEOUT_ERROR';\n readonly statusCode = 408;\n}\n\n/**\n * Unauthorized error\n */\nexport class UnauthorizedError extends InvectError {\n readonly code = 'UNAUTHORIZED';\n readonly statusCode = 401;\n}\n\n/**\n * Forbidden error\n */\nexport class ForbiddenError extends InvectError {\n readonly code = 'FORBIDDEN';\n readonly statusCode = 403;\n}\n\n/**\n * Rate limit error\n */\nexport class RateLimitError extends InvectError {\n readonly code = 'RATE_LIMIT_EXCEEDED';\n readonly statusCode = 429;\n}\n"],"mappings":";;;;AAIA,IAAsB,cAAtB,cAA0C,MAAM;CAI9C,YACE,SACA,SACA;AACA,QAAM,QAAQ;AAFE,OAAA,UAAA;AAGhB,OAAK,OAAO,KAAK,YAAY;;;;;;AAOjC,IAAa,oBAAb,cAAuC,YAAY;CACjD,OAAgB;CAChB,aAAsB;;AAGxB,IAAa,gBAAb,cAAmC,YAAY;CAC7C,OAAe;CACf,aAAqB;CACrB,YACE,SACA,SACA;AACA,QAAM,QAAQ;AAFP,OAAA,UAAA;AAGP,OAAK,OAAO;AACZ,MAAI,QACF,MAAK,UAAU;;;;;;AAiCrB,IAAa,kBAAb,cAAqC,YAAY;CAC/C,OAAgB;CAChB,aAAsB;CAEtB,YACE,SACA,OACA,OACA,SACA;AACA,QAAM,SAAS,QAAQ;AAJP,OAAA,QAAA;AACA,OAAA,QAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
//#region src/types/graph-node-types.ts
|
|
2
|
+
/**
|
|
3
|
+
* Graph Node Types
|
|
4
|
+
*
|
|
5
|
+
* This file contains ONLY the GraphNodeType enum and related constants.
|
|
6
|
+
* It has NO runtime dependencies (no Zod, no imports from service files).
|
|
7
|
+
*
|
|
8
|
+
* This separation is critical for frontend bundling - the frontend imports
|
|
9
|
+
* these values at runtime, and they must not pull in Node.js-specific code.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* All supported node types in the flow graph
|
|
13
|
+
*/
|
|
14
|
+
let GraphNodeType = /* @__PURE__ */ function(GraphNodeType) {
|
|
15
|
+
GraphNodeType["TEMPLATE_STRING"] = "TEMPLATE_STRING";
|
|
16
|
+
GraphNodeType["MODEL"] = "MODEL";
|
|
17
|
+
GraphNodeType["SQL_QUERY"] = "SQL_QUERY";
|
|
18
|
+
GraphNodeType["IF_ELSE"] = "IF_ELSE";
|
|
19
|
+
GraphNodeType["INPUT"] = "INPUT";
|
|
20
|
+
GraphNodeType["OUTPUT"] = "OUTPUT";
|
|
21
|
+
GraphNodeType["JQ"] = "JQ";
|
|
22
|
+
GraphNodeType["HTTP_REQUEST"] = "HTTP_REQUEST";
|
|
23
|
+
GraphNodeType["AGENT"] = "AGENT";
|
|
24
|
+
GraphNodeType["GMAIL"] = "GMAIL";
|
|
25
|
+
return GraphNodeType;
|
|
26
|
+
}({});
|
|
27
|
+
/**
|
|
28
|
+
* Human-readable display names for each node type
|
|
29
|
+
*/
|
|
30
|
+
const GRAPH_NODE_TYPE_NAMES = {
|
|
31
|
+
[GraphNodeType.TEMPLATE_STRING]: "Template String",
|
|
32
|
+
[GraphNodeType.MODEL]: "Language Model",
|
|
33
|
+
[GraphNodeType.SQL_QUERY]: "SQL Query",
|
|
34
|
+
[GraphNodeType.IF_ELSE]: "If-Else Condition",
|
|
35
|
+
[GraphNodeType.INPUT]: "Input",
|
|
36
|
+
[GraphNodeType.OUTPUT]: "Output",
|
|
37
|
+
[GraphNodeType.JQ]: "JQ Data Selector",
|
|
38
|
+
[GraphNodeType.HTTP_REQUEST]: "HTTP Request",
|
|
39
|
+
[GraphNodeType.AGENT]: "AI Agent",
|
|
40
|
+
[GraphNodeType.GMAIL]: "Gmail"
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
exports.GRAPH_NODE_TYPE_NAMES = GRAPH_NODE_TYPE_NAMES;
|
|
44
|
+
exports.GraphNodeType = GraphNodeType;
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=graph-node-types.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-node-types.cjs","names":[],"sources":["../../src/types/graph-node-types.ts"],"sourcesContent":["/**\n * Graph Node Types\n *\n * This file contains ONLY the GraphNodeType enum and related constants.\n * It has NO runtime dependencies (no Zod, no imports from service files).\n *\n * This separation is critical for frontend bundling - the frontend imports\n * these values at runtime, and they must not pull in Node.js-specific code.\n */\n\n/**\n * All supported node types in the flow graph\n */\nexport enum GraphNodeType {\n TEMPLATE_STRING = 'TEMPLATE_STRING',\n MODEL = 'MODEL',\n SQL_QUERY = 'SQL_QUERY',\n IF_ELSE = 'IF_ELSE',\n INPUT = 'INPUT',\n OUTPUT = 'OUTPUT',\n JQ = 'JQ',\n HTTP_REQUEST = 'HTTP_REQUEST',\n AGENT = 'AGENT',\n GMAIL = 'GMAIL',\n}\n\n/**\n * Human-readable display names for each node type\n */\nexport const GRAPH_NODE_TYPE_NAMES: Record<GraphNodeType, string> = {\n [GraphNodeType.TEMPLATE_STRING]: 'Template String',\n [GraphNodeType.MODEL]: 'Language Model',\n [GraphNodeType.SQL_QUERY]: 'SQL Query',\n [GraphNodeType.IF_ELSE]: 'If-Else Condition',\n [GraphNodeType.INPUT]: 'Input',\n [GraphNodeType.OUTPUT]: 'Output',\n [GraphNodeType.JQ]: 'JQ Data Selector',\n [GraphNodeType.HTTP_REQUEST]: 'HTTP Request',\n [GraphNodeType.AGENT]: 'AI Agent',\n [GraphNodeType.GMAIL]: 'Gmail',\n};\n"],"mappings":";;;;;;;;;;;;;AAaA,IAAY,gBAAL,yBAAA,eAAA;AACL,eAAA,qBAAA;AACA,eAAA,WAAA;AACA,eAAA,eAAA;AACA,eAAA,aAAA;AACA,eAAA,WAAA;AACA,eAAA,YAAA;AACA,eAAA,QAAA;AACA,eAAA,kBAAA;AACA,eAAA,WAAA;AACA,eAAA,WAAA;;KACD;;;;AAKD,MAAa,wBAAuD;EACjE,cAAc,kBAAkB;EAChC,cAAc,QAAQ;EACtB,cAAc,YAAY;EAC1B,cAAc,UAAU;EACxB,cAAc,QAAQ;EACtB,cAAc,SAAS;EACvB,cAAc,KAAK;EACnB,cAAc,eAAe;EAC7B,cAAc,QAAQ;EACtB,cAAc,QAAQ;CACxB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region src/types/graph-node-types.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Graph Node Types
|
|
4
|
+
*
|
|
5
|
+
* This file contains ONLY the GraphNodeType enum and related constants.
|
|
6
|
+
* It has NO runtime dependencies (no Zod, no imports from service files).
|
|
7
|
+
*
|
|
8
|
+
* This separation is critical for frontend bundling - the frontend imports
|
|
9
|
+
* these values at runtime, and they must not pull in Node.js-specific code.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* All supported node types in the flow graph
|
|
13
|
+
*/
|
|
14
|
+
declare enum GraphNodeType {
|
|
15
|
+
TEMPLATE_STRING = "TEMPLATE_STRING",
|
|
16
|
+
MODEL = "MODEL",
|
|
17
|
+
SQL_QUERY = "SQL_QUERY",
|
|
18
|
+
IF_ELSE = "IF_ELSE",
|
|
19
|
+
INPUT = "INPUT",
|
|
20
|
+
OUTPUT = "OUTPUT",
|
|
21
|
+
JQ = "JQ",
|
|
22
|
+
HTTP_REQUEST = "HTTP_REQUEST",
|
|
23
|
+
AGENT = "AGENT",
|
|
24
|
+
GMAIL = "GMAIL"
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Human-readable display names for each node type
|
|
28
|
+
*/
|
|
29
|
+
declare const GRAPH_NODE_TYPE_NAMES: Record<GraphNodeType, string>;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { GRAPH_NODE_TYPE_NAMES, GraphNodeType };
|
|
32
|
+
//# sourceMappingURL=graph-node-types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-node-types.d.cts","names":[],"sources":["../../src/types/graph-node-types.ts"],"mappings":";;AAaA;;;;;;;;;;;aAAY,aAAA;EACV,eAAA;EACA,KAAA;EACA,SAAA;EACA,OAAA;EACA,KAAA;EACA,MAAA;EACA,EAAA;EACA,YAAA;EACA,KAAA;EACA,KAAA;AAAA;;;;cAMW,qBAAA,EAAuB,MAAA,CAAO,aAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region src/types/graph-node-types.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Graph Node Types
|
|
4
|
+
*
|
|
5
|
+
* This file contains ONLY the GraphNodeType enum and related constants.
|
|
6
|
+
* It has NO runtime dependencies (no Zod, no imports from service files).
|
|
7
|
+
*
|
|
8
|
+
* This separation is critical for frontend bundling - the frontend imports
|
|
9
|
+
* these values at runtime, and they must not pull in Node.js-specific code.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* All supported node types in the flow graph
|
|
13
|
+
*/
|
|
14
|
+
declare enum GraphNodeType {
|
|
15
|
+
TEMPLATE_STRING = "TEMPLATE_STRING",
|
|
16
|
+
MODEL = "MODEL",
|
|
17
|
+
SQL_QUERY = "SQL_QUERY",
|
|
18
|
+
IF_ELSE = "IF_ELSE",
|
|
19
|
+
INPUT = "INPUT",
|
|
20
|
+
OUTPUT = "OUTPUT",
|
|
21
|
+
JQ = "JQ",
|
|
22
|
+
HTTP_REQUEST = "HTTP_REQUEST",
|
|
23
|
+
AGENT = "AGENT",
|
|
24
|
+
GMAIL = "GMAIL"
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Human-readable display names for each node type
|
|
28
|
+
*/
|
|
29
|
+
declare const GRAPH_NODE_TYPE_NAMES: Record<GraphNodeType, string>;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { GRAPH_NODE_TYPE_NAMES, GraphNodeType };
|
|
32
|
+
//# sourceMappingURL=graph-node-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-node-types.d.ts","names":[],"sources":["../../src/types/graph-node-types.ts"],"mappings":";;AAaA;;;;;;;;;;;aAAY,aAAA;EACV,eAAA;EACA,KAAA;EACA,SAAA;EACA,OAAA;EACA,KAAA;EACA,MAAA;EACA,EAAA;EACA,YAAA;EACA,KAAA;EACA,KAAA;AAAA;;;;cAMW,qBAAA,EAAuB,MAAA,CAAO,aAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//#region src/types/graph-node-types.ts
|
|
2
|
+
/**
|
|
3
|
+
* Graph Node Types
|
|
4
|
+
*
|
|
5
|
+
* This file contains ONLY the GraphNodeType enum and related constants.
|
|
6
|
+
* It has NO runtime dependencies (no Zod, no imports from service files).
|
|
7
|
+
*
|
|
8
|
+
* This separation is critical for frontend bundling - the frontend imports
|
|
9
|
+
* these values at runtime, and they must not pull in Node.js-specific code.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* All supported node types in the flow graph
|
|
13
|
+
*/
|
|
14
|
+
let GraphNodeType = /* @__PURE__ */ function(GraphNodeType) {
|
|
15
|
+
GraphNodeType["TEMPLATE_STRING"] = "TEMPLATE_STRING";
|
|
16
|
+
GraphNodeType["MODEL"] = "MODEL";
|
|
17
|
+
GraphNodeType["SQL_QUERY"] = "SQL_QUERY";
|
|
18
|
+
GraphNodeType["IF_ELSE"] = "IF_ELSE";
|
|
19
|
+
GraphNodeType["INPUT"] = "INPUT";
|
|
20
|
+
GraphNodeType["OUTPUT"] = "OUTPUT";
|
|
21
|
+
GraphNodeType["JQ"] = "JQ";
|
|
22
|
+
GraphNodeType["HTTP_REQUEST"] = "HTTP_REQUEST";
|
|
23
|
+
GraphNodeType["AGENT"] = "AGENT";
|
|
24
|
+
GraphNodeType["GMAIL"] = "GMAIL";
|
|
25
|
+
return GraphNodeType;
|
|
26
|
+
}({});
|
|
27
|
+
/**
|
|
28
|
+
* Human-readable display names for each node type
|
|
29
|
+
*/
|
|
30
|
+
const GRAPH_NODE_TYPE_NAMES = {
|
|
31
|
+
[GraphNodeType.TEMPLATE_STRING]: "Template String",
|
|
32
|
+
[GraphNodeType.MODEL]: "Language Model",
|
|
33
|
+
[GraphNodeType.SQL_QUERY]: "SQL Query",
|
|
34
|
+
[GraphNodeType.IF_ELSE]: "If-Else Condition",
|
|
35
|
+
[GraphNodeType.INPUT]: "Input",
|
|
36
|
+
[GraphNodeType.OUTPUT]: "Output",
|
|
37
|
+
[GraphNodeType.JQ]: "JQ Data Selector",
|
|
38
|
+
[GraphNodeType.HTTP_REQUEST]: "HTTP Request",
|
|
39
|
+
[GraphNodeType.AGENT]: "AI Agent",
|
|
40
|
+
[GraphNodeType.GMAIL]: "Gmail"
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
export { GRAPH_NODE_TYPE_NAMES, GraphNodeType };
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=graph-node-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-node-types.js","names":[],"sources":["../../src/types/graph-node-types.ts"],"sourcesContent":["/**\n * Graph Node Types\n *\n * This file contains ONLY the GraphNodeType enum and related constants.\n * It has NO runtime dependencies (no Zod, no imports from service files).\n *\n * This separation is critical for frontend bundling - the frontend imports\n * these values at runtime, and they must not pull in Node.js-specific code.\n */\n\n/**\n * All supported node types in the flow graph\n */\nexport enum GraphNodeType {\n TEMPLATE_STRING = 'TEMPLATE_STRING',\n MODEL = 'MODEL',\n SQL_QUERY = 'SQL_QUERY',\n IF_ELSE = 'IF_ELSE',\n INPUT = 'INPUT',\n OUTPUT = 'OUTPUT',\n JQ = 'JQ',\n HTTP_REQUEST = 'HTTP_REQUEST',\n AGENT = 'AGENT',\n GMAIL = 'GMAIL',\n}\n\n/**\n * Human-readable display names for each node type\n */\nexport const GRAPH_NODE_TYPE_NAMES: Record<GraphNodeType, string> = {\n [GraphNodeType.TEMPLATE_STRING]: 'Template String',\n [GraphNodeType.MODEL]: 'Language Model',\n [GraphNodeType.SQL_QUERY]: 'SQL Query',\n [GraphNodeType.IF_ELSE]: 'If-Else Condition',\n [GraphNodeType.INPUT]: 'Input',\n [GraphNodeType.OUTPUT]: 'Output',\n [GraphNodeType.JQ]: 'JQ Data Selector',\n [GraphNodeType.HTTP_REQUEST]: 'HTTP Request',\n [GraphNodeType.AGENT]: 'AI Agent',\n [GraphNodeType.GMAIL]: 'Gmail',\n};\n"],"mappings":";;;;;;;;;;;;;AAaA,IAAY,gBAAL,yBAAA,eAAA;AACL,eAAA,qBAAA;AACA,eAAA,WAAA;AACA,eAAA,eAAA;AACA,eAAA,aAAA;AACA,eAAA,WAAA;AACA,eAAA,YAAA;AACA,eAAA,QAAA;AACA,eAAA,kBAAA;AACA,eAAA,WAAA;AACA,eAAA,WAAA;;KACD;;;;AAKD,MAAa,wBAAuD;EACjE,cAAc,kBAAkB;EAChC,cAAc,QAAQ;EACtB,cAAc,YAAY;EAC1B,cAAc,UAAU;EACxB,cAAc,QAAQ;EACtB,cAAc,SAAS;EACvB,cAAc,KAAK;EACnB,cAAc,eAAe;EAC7B,cAAc,QAAQ;EACtB,cAAc,QAAQ;CACxB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Logger } from "./schemas-fresh/invect-config.cjs";
|
|
2
|
+
import { GraphNodeType } from "./graph-node-types.cjs";
|
|
3
|
+
import { NodeDefinition } from "./node-definition.types.cjs";
|
|
4
|
+
import { CredentialsService } from "../services/credentials/credentials.service.cjs";
|
|
5
|
+
import { BaseAIClient } from "../services/ai/base-client.cjs";
|
|
6
|
+
|
|
7
|
+
//#region src/types/node-config-update.types.d.ts
|
|
8
|
+
interface NodeConfigUpdateEvent {
|
|
9
|
+
nodeId: string;
|
|
10
|
+
nodeType: GraphNodeType;
|
|
11
|
+
flowId?: string;
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
change?: {
|
|
14
|
+
field: string;
|
|
15
|
+
value: unknown;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
interface NodeConfigUpdateResponse {
|
|
19
|
+
definition: NodeDefinition;
|
|
20
|
+
params?: Record<string, unknown>;
|
|
21
|
+
warnings?: string[];
|
|
22
|
+
errors?: string[];
|
|
23
|
+
}
|
|
24
|
+
interface NodeConfigUpdateContext {
|
|
25
|
+
logger: Logger;
|
|
26
|
+
services: {
|
|
27
|
+
credentials: CredentialsService;
|
|
28
|
+
baseAIClient: BaseAIClient;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { NodeConfigUpdateContext, NodeConfigUpdateEvent, NodeConfigUpdateResponse };
|
|
33
|
+
//# sourceMappingURL=node-config-update.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-config-update.types.d.cts","names":[],"sources":["../../src/types/node-config-update.types.ts"],"mappings":";;;;;;;UAMiB,qBAAA;EACf,MAAA;EACA,QAAA,EAAU,aAAA;EACV,MAAA;EACA,MAAA,EAAQ,MAAA;EACR,MAAA;IACE,KAAA;IACA,KAAA;EAAA;AAAA;AAAA,UAIa,wBAAA;EACf,UAAA,EAAY,cAAA;EACZ,MAAA,GAAS,MAAA;EACT,QAAA;EACA,MAAA;AAAA;AAAA,UAGe,uBAAA;EACf,MAAA,EAAQ,MAAA;EACR,QAAA;IACE,WAAA,EAAa,kBAAA;IACb,YAAA,EAAc,YAAA;EAAA;AAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Logger } from "./schemas-fresh/invect-config.js";
|
|
2
|
+
import { GraphNodeType } from "./graph-node-types.js";
|
|
3
|
+
import { NodeDefinition } from "./node-definition.types.js";
|
|
4
|
+
import { CredentialsService } from "../services/credentials/credentials.service.js";
|
|
5
|
+
import { BaseAIClient } from "../services/ai/base-client.js";
|
|
6
|
+
|
|
7
|
+
//#region src/types/node-config-update.types.d.ts
|
|
8
|
+
interface NodeConfigUpdateEvent {
|
|
9
|
+
nodeId: string;
|
|
10
|
+
nodeType: GraphNodeType;
|
|
11
|
+
flowId?: string;
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
change?: {
|
|
14
|
+
field: string;
|
|
15
|
+
value: unknown;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
interface NodeConfigUpdateResponse {
|
|
19
|
+
definition: NodeDefinition;
|
|
20
|
+
params?: Record<string, unknown>;
|
|
21
|
+
warnings?: string[];
|
|
22
|
+
errors?: string[];
|
|
23
|
+
}
|
|
24
|
+
interface NodeConfigUpdateContext {
|
|
25
|
+
logger: Logger;
|
|
26
|
+
services: {
|
|
27
|
+
credentials: CredentialsService;
|
|
28
|
+
baseAIClient: BaseAIClient;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { NodeConfigUpdateContext, NodeConfigUpdateEvent, NodeConfigUpdateResponse };
|
|
33
|
+
//# sourceMappingURL=node-config-update.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-config-update.types.d.ts","names":[],"sources":["../../src/types/node-config-update.types.ts"],"mappings":";;;;;;;UAMiB,qBAAA;EACf,MAAA;EACA,QAAA,EAAU,aAAA;EACV,MAAA;EACA,MAAA,EAAQ,MAAA;EACR,MAAA;IACE,KAAA;IACA,KAAA;EAAA;AAAA;AAAA,UAIa,wBAAA;EACf,UAAA,EAAY,cAAA;EACZ,MAAA,GAAS,MAAA;EACT,QAAA;EACA,MAAA;AAAA;AAAA,UAGe,uBAAA;EACf,MAAA,EAAQ,MAAA;EACR,QAAA;IACE,WAAA,EAAa,kBAAA;IACb,YAAA,EAAc,YAAA;EAAA;AAAA"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
//#region src/types/node-definition.types.d.ts
|
|
2
|
+
type NodeCategory = 'Common' | 'AI' | 'Data' | 'Logic' | 'IO' | 'Integrations' | 'Custom' | 'Triggers';
|
|
3
|
+
interface NodeHandleDefinition {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
type: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
description?: string;
|
|
9
|
+
}
|
|
10
|
+
interface NodeParamField {
|
|
11
|
+
name: string;
|
|
12
|
+
label: string;
|
|
13
|
+
type: 'text' | 'textarea' | 'select' | 'number' | 'boolean' | 'json' | 'code' | 'credential';
|
|
14
|
+
description?: string;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
defaultValue?: unknown;
|
|
17
|
+
options?: {
|
|
18
|
+
label: string;
|
|
19
|
+
value: string | number;
|
|
20
|
+
}[];
|
|
21
|
+
required?: boolean;
|
|
22
|
+
hidden?: boolean;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
extended?: boolean;
|
|
25
|
+
credentialTypes?: ('oauth2' | 'api_key' | 'basic_auth' | 'database' | 'llm')[];
|
|
26
|
+
oauth2Providers?: string[];
|
|
27
|
+
/** When present, this field's options should be loaded from the server. */
|
|
28
|
+
loadOptions?: {
|
|
29
|
+
/** Sibling field names that trigger a reload when they change. */dependsOn: string[];
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
interface NodeDefinition {
|
|
33
|
+
/**
|
|
34
|
+
* Node type identifier. Can be a GraphNodeType enum value (e.g. "MODEL")
|
|
35
|
+
* or a provider action ID (e.g. "gmail.list_messages").
|
|
36
|
+
*/
|
|
37
|
+
type: string;
|
|
38
|
+
label: string;
|
|
39
|
+
description: string;
|
|
40
|
+
category: NodeCategory;
|
|
41
|
+
icon?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Provider info for grouping in the node palette.
|
|
44
|
+
* Actions populate this from their ProviderDef; legacy nodes may leave it undefined.
|
|
45
|
+
*/
|
|
46
|
+
provider?: {
|
|
47
|
+
id: string;
|
|
48
|
+
name: string;
|
|
49
|
+
icon?: string; /** Raw SVG markup for custom provider branding. Takes precedence over `icon`. */
|
|
50
|
+
svgIcon?: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Single unified input handle definition. Undefined when the node does not accept inbound edges (e.g. Flow Input node).
|
|
54
|
+
*/
|
|
55
|
+
input?: NodeHandleDefinition;
|
|
56
|
+
/**
|
|
57
|
+
* Fixed output handles.
|
|
58
|
+
*/
|
|
59
|
+
outputs: NodeHandleDefinition[];
|
|
60
|
+
/**
|
|
61
|
+
* Configuration fields for the node (displayed in the sidebar/form).
|
|
62
|
+
* These define the UI for editing params.
|
|
63
|
+
*
|
|
64
|
+
* Note: Runtime validation is done via paramsSchema on the executor class.
|
|
65
|
+
*/
|
|
66
|
+
paramFields: NodeParamField[];
|
|
67
|
+
/**
|
|
68
|
+
* Default values for parameters.
|
|
69
|
+
*/
|
|
70
|
+
defaultParams?: Record<string, unknown>;
|
|
71
|
+
/**
|
|
72
|
+
* Extra keywords / synonyms for search and discovery.
|
|
73
|
+
* Sourced from `ActionDefinition.tags` for action-based nodes.
|
|
74
|
+
*/
|
|
75
|
+
searchTerms?: string[];
|
|
76
|
+
/**
|
|
77
|
+
* Maximum number of instances of this node type allowed per flow.
|
|
78
|
+
* Undefined = unlimited.
|
|
79
|
+
*/
|
|
80
|
+
maxInstances?: number;
|
|
81
|
+
/**
|
|
82
|
+
* When true, hide this node from the palette (deprecated but still executable).
|
|
83
|
+
*/
|
|
84
|
+
hidden?: boolean;
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
export { NodeCategory, NodeDefinition, NodeHandleDefinition, NodeParamField };
|
|
88
|
+
//# sourceMappingURL=node-definition.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-definition.types.d.cts","names":[],"sources":["../../src/types/node-definition.types.ts"],"mappings":";KAAY,YAAA;AAAA,UAUK,oBAAA;EACf,EAAA;EACA,KAAA;EACA,IAAA;EACA,QAAA;EACA,WAAA;AAAA;AAAA,UAGe,cAAA;EACf,IAAA;EACA,KAAA;EACA,IAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EACA,OAAA;IAAY,KAAA;IAAe,KAAA;EAAA;EAC3B,QAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EAGA,eAAA;EACA,eAAA;EAVA;EAcA,WAAA;IAZA,kEAcE,SAAA;EAAA;AAAA;AAAA,UAIa,cAAA;EAff;;;;EAoBA,IAAA;EACA,KAAA;EACA,WAAA;EACA,QAAA,EAAU,YAAA;EACV,IAAA;EAT6B;;;;EAe7B,QAAA;IACE,EAAA;IACA,IAAA;IACA,IAAA,WA0BoB;IAxBpB,OAAA;EAAA;EAbF;;;EAmBA,KAAA,GAAQ,oBAAA;EAXR;;;EAgBA,OAAA,EAAS,oBAAA;EAXP;;;;;;EAmBF,WAAA,EAAa,cAAA;EAKb;;;EAAA,aAAA,GAAgB,MAAA;EAiBhB;;;;EAXA,WAAA;;;;;EAMA,YAAA;;;;EAKA,MAAA;AAAA"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
//#region src/types/node-definition.types.d.ts
|
|
2
|
+
type NodeCategory = 'Common' | 'AI' | 'Data' | 'Logic' | 'IO' | 'Integrations' | 'Custom' | 'Triggers';
|
|
3
|
+
interface NodeHandleDefinition {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
type: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
description?: string;
|
|
9
|
+
}
|
|
10
|
+
interface NodeParamField {
|
|
11
|
+
name: string;
|
|
12
|
+
label: string;
|
|
13
|
+
type: 'text' | 'textarea' | 'select' | 'number' | 'boolean' | 'json' | 'code' | 'credential';
|
|
14
|
+
description?: string;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
defaultValue?: unknown;
|
|
17
|
+
options?: {
|
|
18
|
+
label: string;
|
|
19
|
+
value: string | number;
|
|
20
|
+
}[];
|
|
21
|
+
required?: boolean;
|
|
22
|
+
hidden?: boolean;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
extended?: boolean;
|
|
25
|
+
credentialTypes?: ('oauth2' | 'api_key' | 'basic_auth' | 'database' | 'llm')[];
|
|
26
|
+
oauth2Providers?: string[];
|
|
27
|
+
/** When present, this field's options should be loaded from the server. */
|
|
28
|
+
loadOptions?: {
|
|
29
|
+
/** Sibling field names that trigger a reload when they change. */dependsOn: string[];
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
interface NodeDefinition {
|
|
33
|
+
/**
|
|
34
|
+
* Node type identifier. Can be a GraphNodeType enum value (e.g. "MODEL")
|
|
35
|
+
* or a provider action ID (e.g. "gmail.list_messages").
|
|
36
|
+
*/
|
|
37
|
+
type: string;
|
|
38
|
+
label: string;
|
|
39
|
+
description: string;
|
|
40
|
+
category: NodeCategory;
|
|
41
|
+
icon?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Provider info for grouping in the node palette.
|
|
44
|
+
* Actions populate this from their ProviderDef; legacy nodes may leave it undefined.
|
|
45
|
+
*/
|
|
46
|
+
provider?: {
|
|
47
|
+
id: string;
|
|
48
|
+
name: string;
|
|
49
|
+
icon?: string; /** Raw SVG markup for custom provider branding. Takes precedence over `icon`. */
|
|
50
|
+
svgIcon?: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Single unified input handle definition. Undefined when the node does not accept inbound edges (e.g. Flow Input node).
|
|
54
|
+
*/
|
|
55
|
+
input?: NodeHandleDefinition;
|
|
56
|
+
/**
|
|
57
|
+
* Fixed output handles.
|
|
58
|
+
*/
|
|
59
|
+
outputs: NodeHandleDefinition[];
|
|
60
|
+
/**
|
|
61
|
+
* Configuration fields for the node (displayed in the sidebar/form).
|
|
62
|
+
* These define the UI for editing params.
|
|
63
|
+
*
|
|
64
|
+
* Note: Runtime validation is done via paramsSchema on the executor class.
|
|
65
|
+
*/
|
|
66
|
+
paramFields: NodeParamField[];
|
|
67
|
+
/**
|
|
68
|
+
* Default values for parameters.
|
|
69
|
+
*/
|
|
70
|
+
defaultParams?: Record<string, unknown>;
|
|
71
|
+
/**
|
|
72
|
+
* Extra keywords / synonyms for search and discovery.
|
|
73
|
+
* Sourced from `ActionDefinition.tags` for action-based nodes.
|
|
74
|
+
*/
|
|
75
|
+
searchTerms?: string[];
|
|
76
|
+
/**
|
|
77
|
+
* Maximum number of instances of this node type allowed per flow.
|
|
78
|
+
* Undefined = unlimited.
|
|
79
|
+
*/
|
|
80
|
+
maxInstances?: number;
|
|
81
|
+
/**
|
|
82
|
+
* When true, hide this node from the palette (deprecated but still executable).
|
|
83
|
+
*/
|
|
84
|
+
hidden?: boolean;
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
export { NodeCategory, NodeDefinition, NodeHandleDefinition, NodeParamField };
|
|
88
|
+
//# sourceMappingURL=node-definition.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-definition.types.d.ts","names":[],"sources":["../../src/types/node-definition.types.ts"],"mappings":";KAAY,YAAA;AAAA,UAUK,oBAAA;EACf,EAAA;EACA,KAAA;EACA,IAAA;EACA,QAAA;EACA,WAAA;AAAA;AAAA,UAGe,cAAA;EACf,IAAA;EACA,KAAA;EACA,IAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EACA,OAAA;IAAY,KAAA;IAAe,KAAA;EAAA;EAC3B,QAAA;EACA,MAAA;EACA,QAAA;EACA,QAAA;EAGA,eAAA;EACA,eAAA;EAVA;EAcA,WAAA;IAZA,kEAcE,SAAA;EAAA;AAAA;AAAA,UAIa,cAAA;EAff;;;;EAoBA,IAAA;EACA,KAAA;EACA,WAAA;EACA,QAAA,EAAU,YAAA;EACV,IAAA;EAT6B;;;;EAe7B,QAAA;IACE,EAAA;IACA,IAAA;IACA,IAAA,WA0BoB;IAxBpB,OAAA;EAAA;EAbF;;;EAmBA,KAAA,GAAQ,oBAAA;EAXR;;;EAgBA,OAAA,EAAS,oBAAA;EAXP;;;;;;EAmBF,WAAA,EAAa,cAAA;EAKb;;;EAAA,aAAA,GAAgB,MAAA;EAiBhB;;;;EAXA,WAAA;;;;;EAMA,YAAA;;;;EAKA,MAAA;AAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NodeExecutionStatus } from "./base.cjs";
|
|
2
|
+
import { NodeOutput } from "./node-io-types.cjs";
|
|
3
|
+
|
|
4
|
+
//#region src/types/node-execution.types.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Result of a failed node execution
|
|
7
|
+
*/
|
|
8
|
+
interface NodeExecutionFailedResult {
|
|
9
|
+
state: NodeExecutionStatus.FAILED;
|
|
10
|
+
errors: string[];
|
|
11
|
+
metadata?: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Result of a pending node execution (batch processing)
|
|
15
|
+
*/
|
|
16
|
+
interface NodeExecutionPendingResult {
|
|
17
|
+
state: NodeExecutionStatus.PENDING;
|
|
18
|
+
type: 'batch_submitted';
|
|
19
|
+
batchJobId: string;
|
|
20
|
+
nodeId: string;
|
|
21
|
+
executionId: string;
|
|
22
|
+
metadata?: Record<string, unknown>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Result of a successful node execution
|
|
26
|
+
*/
|
|
27
|
+
interface NodeExecutionSuccessResult {
|
|
28
|
+
type: 'output';
|
|
29
|
+
output: NodeOutput;
|
|
30
|
+
state: NodeExecutionStatus.SUCCESS;
|
|
31
|
+
metadata?: Record<string, unknown>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Result of node execution — success, failure, or pending batch submission.
|
|
35
|
+
*/
|
|
36
|
+
type NodeExecutionResult = NodeExecutionFailedResult | NodeExecutionPendingResult | NodeExecutionSuccessResult;
|
|
37
|
+
//#endregion
|
|
38
|
+
export { NodeExecutionFailedResult, NodeExecutionPendingResult, NodeExecutionResult, NodeExecutionSuccessResult };
|
|
39
|
+
//# sourceMappingURL=node-execution.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-execution.types.d.cts","names":[],"sources":["../../src/types/node-execution.types.ts"],"mappings":";;;;;;;UAYiB,yBAAA;EACf,KAAA,EAAO,mBAAA,CAAoB,MAAA;EAC3B,MAAA;EACA,QAAA,GAAW,MAAA;AAAA;;AAMb;;UAAiB,0BAAA;EACf,KAAA,EAAO,mBAAA,CAAoB,OAAA;EAC3B,IAAA;EACA,UAAA;EACA,MAAA;EACA,WAAA;EACA,QAAA,GAAW,MAAA;AAAA;;;;UAMI,0BAAA;EACf,IAAA;EACA,MAAA,EAAQ,UAAA;EACR,KAAA,EAAO,mBAAA,CAAoB,OAAA;EAC3B,QAAA,GAAW,MAAA;AAAA;;;;KAMD,mBAAA,GACR,yBAAA,GACA,0BAAA,GACA,0BAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NodeExecutionStatus } from "./base.js";
|
|
2
|
+
import { NodeOutput } from "./node-io-types.js";
|
|
3
|
+
|
|
4
|
+
//#region src/types/node-execution.types.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Result of a failed node execution
|
|
7
|
+
*/
|
|
8
|
+
interface NodeExecutionFailedResult {
|
|
9
|
+
state: NodeExecutionStatus.FAILED;
|
|
10
|
+
errors: string[];
|
|
11
|
+
metadata?: Record<string, unknown>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Result of a pending node execution (batch processing)
|
|
15
|
+
*/
|
|
16
|
+
interface NodeExecutionPendingResult {
|
|
17
|
+
state: NodeExecutionStatus.PENDING;
|
|
18
|
+
type: 'batch_submitted';
|
|
19
|
+
batchJobId: string;
|
|
20
|
+
nodeId: string;
|
|
21
|
+
executionId: string;
|
|
22
|
+
metadata?: Record<string, unknown>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Result of a successful node execution
|
|
26
|
+
*/
|
|
27
|
+
interface NodeExecutionSuccessResult {
|
|
28
|
+
type: 'output';
|
|
29
|
+
output: NodeOutput;
|
|
30
|
+
state: NodeExecutionStatus.SUCCESS;
|
|
31
|
+
metadata?: Record<string, unknown>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Result of node execution — success, failure, or pending batch submission.
|
|
35
|
+
*/
|
|
36
|
+
type NodeExecutionResult = NodeExecutionFailedResult | NodeExecutionPendingResult | NodeExecutionSuccessResult;
|
|
37
|
+
//#endregion
|
|
38
|
+
export { NodeExecutionFailedResult, NodeExecutionPendingResult, NodeExecutionResult, NodeExecutionSuccessResult };
|
|
39
|
+
//# sourceMappingURL=node-execution.types.d.ts.map
|