feat(api-keys): add workspace level api keys to share with other workspace members, add encryption for api keys (#1323)

* update infra and remove railway

* feat(api-keys): add workspace-level api keys

* encrypt api keys

* Revert "update infra and remove railway"

This reverts commit b23258a5a1.

* reran migrations

* tested workspace keys

* consolidated code

* more consolidation

* cleanup

* consolidate, remove unused code

* add dummy key for ci

* continue with regular path for self-hosted folks that don't have key set

* fix tests

* fix test

* remove tests

* removed ci additions
This commit is contained in:
Waleed
2025-09-12 11:46:47 -07:00
committed by GitHub
parent 3798c56e8c
commit 065fc5b87b
38 changed files with 8693 additions and 499 deletions

View File

@@ -7,7 +7,7 @@
* converting between workflow state (blocks, edges, loops) and serialized format
* used by the executor.
*/
import { describe, expect, vi } from 'vitest'
import { describe, expect, it, vi } from 'vitest'
import { getProviderFromModel } from '@/providers/utils'
import {
createAgentWithToolsWorkflowState,

View File

@@ -7,7 +7,7 @@
* 1. Early validation (serialization) - user-only required fields
* 2. Late validation (tool execution) - user-or-llm required fields
*/
import { describe, expect, vi } from 'vitest'
import { describe, expect, it, vi } from 'vitest'
import { Serializer } from '@/serializer/index'
import { validateRequiredParametersAfterMerge } from '@/tools/utils'