Skip to content

Self-improving AI Employees for everyone

fix: harden CI and resolve security advisories

trohitgae9907c39786
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
index 8e6a0369..defe92fe 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -10,18 +10,18 @@ inputs:
runs:
using: composite
steps:
- - uses: pnpm/action-setup@v4
- - uses: actions/setup-node@v4
+ - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0
+ - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: ${{ inputs.node-version }}
- # ``cache:`` intentionally omitted -- setup-node's post-job cache
- # save fails with ``Path Validation Error`` in jobs that didn't
- # actually run pnpm (e.g. CLI / Backend test lanes), marking
- # the whole job red even though every test passed.
- - uses: actions/setup-python@v5
+ package-manager-cache: false
+ # Explicitly disabled: release jobs carry publish credentials, and
+ # several lanes never run pnpm, which also makes post-job cache saves
+ # fail with Path Validation Error.
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.12'
- - uses: astral-sh/[email protected]
+ - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: false
- name: Install supervisor CLI
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000..eb8f69bc
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,43 @@
+version: 2
+updates:
+ - package-ecosystem: npm
+ directory: /
+ schedule:
+ interval: weekly
+ cooldown:
+ default-days: 7
+ groups:
+ production-dependencies:
+ dependency-type: production
+ development-dependencies:
+ dependency-type: development
+
+ - package-ecosystem: npm
+ directory: /server
+ schedule:
+ interval: weekly
+ cooldown:
+ default-days: 7
+
+ - package-ecosystem: pip
+ directory: /
+ schedule:
+ interval: weekly
+ cooldown:
+ default-days: 7
+
+ # The server intentionally does not commit uv.lock; Dependabot therefore
+ # maintains its PEP 621 pyproject constraints through the pip ecosystem.
+ - package-ecosystem: pip
+ directory: /server
+ schedule:
+ interval: weekly
+ cooldown:
+ default-days: 7
+
+ - package-ecosystem: github-actions
+ directory: /
+ schedule:
+ interval: weekly
+ cooldown:
+ default-days: 7
diff --git a/.github/workflows/predeploy.yml b/.github/workflows/predeploy.yml
index 48dc26ab..452d87ad 100644
--- a/.github/workflows/predeploy.yml
+++ b/.github/workflows/predeploy.yml
@@ -14,7 +14,9 @@ jobs:
name: Build + lint
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
+ with:
+ persist-credentials: false
- uses: ./.github/actions/setup
- run: pnpm install --frozen-lockfile
- run: pnpm run build
@@ -29,7 +31,9 @@ jobs:
name: Backend tests
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
+ with:
+ persist-credentials: false
- uses: ./.github/actions/setup
- name: pytest
working-directory: server
@@ -41,7 +45,9 @@ jobs:
name: CLI tests
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
+ with:
+ persist-credentials: false
- uses: ./.github/actions/setup
- name: pytest
run: |
@@ -56,7 +62,9 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
+ with:
+ persist-credentials: false
- uses: ./.github/actions/setup
- run: pnpm run build
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4b209f41..c61e5321 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -10,8 +10,6 @@ on:
permissions:
contents: read
- id-token: write
- packages: write
jobs:
predeploy:
@@ -21,12 +19,18 @@ jobs:
name: Publish to npm
needs: predeploy
runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ id-token: write
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
+ with:
+ persist-credentials: false
- uses: ./.github/actions/setup
- - uses: actions/setup-node@v4
+ - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: '22'
+ package-manager-cache: false
registry-url: 'https://registry.npmjs.org'
- run: pnpm install --frozen-lockfile
- run: pnpm run build
@@ -44,12 +48,18 @@ jobs:
name: Publish to GitHub Packages
needs: predeploy
runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ packages: write
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
+ with:
+ persist-credentials: false
- uses: ./.github/actions/setup
- - uses: actions/setup-node@v4
+ - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: '22'
+ package-manager-cache: false
registry-url: 'https://npm.pkg.github.com'
- run: pnpm install --frozen-lockfile
- run: pnpm run build
@@ -62,6 +72,8 @@ jobs:
pkg.publishConfig = { registry: 'https://npm.pkg.github.com' };
require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));
"
- - run: npm publish
+ # GitHub Packages uses the repository-scoped GITHUB_TOKEN; npm's OIDC
+ # trusted-publisher flow applies to npmjs.org, not npm.pkg.github.com.
+ - run: npm publish # zizmor: ignore[use-trusted-publishing]
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.gitignore b/.gitignore
index fd1c9920..354968af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -119,6 +119,7 @@ server/.python-version
# pnpm
# =============================================================================
pnpm-store/
+.pnpm-store/
.pnpm-debug.log
# =============================================================================
diff --git a/client/package.json b/client/package.json
index 835ed131..d8d4e703 100644
--- a/client/package.json
+++ b/client/package.json
@@ -68,7 +68,7 @@
"tailwindcss": "^4.3.0",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
- "vite": "^7.3.3",
+ "vite": "^7.3.6",
"zod": "^4.4.3",
"zustand": "^5.0.13"
},
diff --git a/docs-internal/ci_cd.md b/docs-internal/ci_cd.md
index 57ec30bb..bc3520bd 100644
--- a/docs-internal/ci_cd.md
+++ b/docs-internal/ci_cd.md
@@ -2,7 +2,7 @@
Internal reference for OpenCompany's GitHub Actions setup. Workflow inventory, release flow, and the composite setup action.
-The repo currently ships **exactly 4 workflows** plus one composite action. A number of hardening / security workflows described in earlier revisions of this doc (CodeQL, zizmor, rollback, reusable PyPI publish, cross-platform test-install) are **not yet implemented** — see [Planned (not yet implemented)](#planned-not-yet-implemented) at the end.
+The repo currently ships **three workflows** plus one composite action. A number of hardening / security workflows described in earlier revisions of this doc (CodeQL, zizmor, rollback, reusable PyPI publish, cross-platform test-install) are **not yet implemented** — see [Planned (not yet implemented)](#planned-not-yet-implemented) at the end.
---
@@ -67,10 +67,10 @@ The repo currently ships **exactly 4 workflows** plus one composite action. A nu
| Tool | Version source | Action |
|------|---------------|--------|
-| pnpm | `pnpm/action-setup@v4` default | `pnpm/action-setup@v4` |
-| Node.js | `node-version` input, default `22` | `actions/setup-node@v4` |
-| Python | hard-coded `3.12` (matches `.python-version`) | `actions/setup-python@v5` |
-| uv | `astral-sh/[email protected]`, cache disabled | `astral-sh/[email protected]` |
+| pnpm | `pnpm/action-setup` v4.3.0 default | Immutable commit SHA |
+| Node.js | `node-version` input, default `22` | `actions/setup-node` v6.5.0, immutable commit SHA; package cache disabled |
+| Python | hard-coded `3.12` (matches `.python-version`) | `actions/setup-python` v5.6.0, immutable commit SHA |
+| uv | `astral-sh/setup-uv` v8.1.0, cache disabled | Immutable commit SHA |
`setup-node`'s `cache:` is intentionally omitted — its post-job cache save fails with a `Path Validation Error` in lanes that didn't run pnpm (CLI / backend test jobs), which would mark the whole job red even when every test passed.
@@ -102,7 +102,7 @@ Reusable `workflow_call` workflow with four independent jobs (no plan/change-det
| Push of `v*.*.*` tag | predeploy gate, then publish to npm + GitHub Packages |
| `workflow_dispatch` | Same job graph (manual run; there is no dry-run switch) |
-`permissions:` — `contents: read`, `id-token: write`, `packages: write`.
+The workflow default is `contents: read`. Publishing permissions are scoped to the job that needs them: npm receives `id-token: write` for provenance, while GitHub Packages receives `packages: write`. Checkout credentials are not persisted in either publishing job.
### Job graph
@@ -121,7 +121,7 @@ publish-npm publish-github-packages
npmjs, public + provenance npm.pkg.github.com
```
-- Both publish jobs `needs: predeploy`, run on `ubuntu-latest`, and share the same prefix: `actions/checkout` → composite setup → `actions/setup-node@v4` (with the target `registry-url`) → `pnpm install --frozen-lockfile` → `pnpm run build` → `python -m cli version sync`.
+- Both publish jobs `needs: predeploy`, run on `ubuntu-latest`, and share the same prefix: immutable `actions/checkout` with `persist-credentials: false` → composite setup → immutable `actions/setup-node` (with the target `registry-url`) → `pnpm install --frozen-lockfile` → `pnpm run build` → `python -m cli version sync`.
- `publish-npm` — validates the token with `npm whoami`, then publishes the canonical public npmjs package `@zeenie-ai/opencompany` via `npm publish --access public --provenance` with `NODE_AUTH_TOKEN=secrets.NPM_TOKEN`. The `--provenance` flag emits an npm provenance attestation (backed by the workflow's `id-token: write`).
- `publish-github-packages` — rewrites `package.json` `name` to `@zeenie-ai/opencompany` and sets `publishConfig.registry = https://npm.pkg.github.com`, then `npm publish` with `NODE_AUTH_TOKEN=secrets.GITHUB_TOKEN`.
@@ -152,6 +152,7 @@ folder — both the folder and the workflow are gone.
| `.github/workflows/predeploy.yml` | Reusable validation (build/lint + backend tests + CLI tests + OS matrix build/start) |
| `.github/workflows/release.yml` | Tag / manual release: predeploy gate → publish npm + GitHub Packages |
| `.github/actions/setup/action.yml` | Composite: pnpm + Node + Python + uv + editable CLI install |
+| `.github/dependabot.yml` | Weekly npm, Python, and GitHub Actions update coverage |
| `.python-version` | Toolchain pin (`3.12`) — single source of truth |
---
@@ -167,6 +168,4 @@ The following existed in earlier drafts of this doc but are **not present in the
- **`rollback.yml`** — manual `npm deprecate` + optional revert PR.
- **`codeql.yml`** — Python + JS/TS SAST (`security-extended`).
- **`check-zizmor.yml`** — workflow-security linter (SARIF to the Security tab).
-- **`.github/dependabot.yml`** — weekly grouped npm + pip + github-actions updates.
- **`.pre-commit-config.yaml`** — ruff / prettier / eslint / actionlint hooks (note: the project rule is to verify with pytest + tsgo/eslint, not ruff).
-- **Commit-SHA pinning of action `uses:`** — the shipped workflows currently pin to major-version tags (`@v4`, `@v5`, `@v8.1.0`), not commit SHAs.
diff --git a/docs-internal/litellm_router_migration_rfc.md b/docs-internal/litellm_router_migration_rfc.md
index 77750027..96689742 100644
--- a/docs-internal/litellm_router_migration_rfc.md
+++ b/docs-internal/litellm_router_migration_rfc.md
@@ -504,7 +504,7 @@ Replace `create_model` (`ai.py:1206-1353`) and LangChain message shapes in
### 7.2 What explicitly stays
-The deepagents-based Deep Agent node remains LangChain — `deepagents==0.5.2` pulls
+The deepagents-based Deep Agent node remains LangChain — `deepagents==0.6.9` pulls
`langchain-core` itself, so those pins survive Stage B; *our* loop simply stops using
them. Removable after Stage B: `langchain-openai`, `langchain-anthropic`,
`langchain-google-genai`, `langchain-groq`, `langchain-cerebras` pins (and with them the
diff --git a/package.json b/package.json
index 1f3036ef..6ade66a1 100644
--- a/package.json
+++ b/package.json
@@ -117,11 +117,18 @@
}
},
"overrides": {
+ "@babel/core@<7.29.6": "^7.29.7",
+ "body-parser@>=2.0.0 <2.3.0": "^2.3.0",
+ "brace-expansion@<1.1.16": "^1.1.16",
+ "brace-expansion@>=5.0.0 <5.0.7": "^5.0.7",
+ "dompurify@>=3.0.0 <3.4.11": "^3.4.12",
"esbuild@<0.28.1": "^0.28.1",
+ "form-data@>=4.0.0 <4.0.6": "^4.0.6",
"hono@<4.12.21": "^4.12.21",
"js-cookie@<3.0.7": "^3.0.7",
"js-yaml@>=4.0.0 <4.2.0": "^4.2.0",
"qs@<6.15.2": "^6.15.2",
+ "vite@>=7.0.0 <7.3.5": "^7.3.6",
"ws@<8.20.1": "^8.20.1"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 763cdd77..407023f2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -5,11 +5,18 @@ settings:
excludeLinksFromLockfile: false
overrides:
+ '@babel/core@<7.29.6': ^7.29.7
+ body-parser@>=2.0.0 <2.3.0: ^2.3.0
+ brace-expansion@<1.1.16: ^1.1.16
+ brace-expansion@>=5.0.0 <5.0.7: ^5.0.7
+ dompurify@>=3.0.0 <3.4.11: ^3.4.12
esbuild@<0.28.1: ^0.28.1
+ form-data@>=4.0.0 <4.0.6: ^4.0.6
hono@<4.12.21: ^4.12.21
js-cookie@<3.0.7: ^3.0.7
js-yaml@>=4.0.0 <4.2.0: ^4.2.0
qs@<6.15.2: ^6.15.2
+ vite@>=7.0.0 <7.3.5: ^7.3.6
ws@<8.20.1: ^8.20.1
importers:
@@ -51,7 +58,7 @@ importers:
'@lobehub/icons':
specifier: ^2.48.0
'@lukemorales/query-key-factory':
specifier: ^1.3.4
version: 1.3.4(@tanstack/[email protected])(@tanstack/[email protected]([email protected]))
@@ -96,7 +103,7 @@ importers:
'@vitejs/plugin-react':
specifier: ^5.2.0
autoprefixer:
specifier: ^10.5.0
version: 10.5.0([email protected])
@@ -194,8 +201,8 @@ importers:
specifier: ^5.9.3
version: 5.9.3
vite:
- specifier: ^7.3.3
+ specifier: ^7.3.6
zod:
specifier: ^4.4.3
version: 4.4.3
@@ -205,7 +212,7 @@ importers:
devDependencies:
'@tailwindcss/vite':
specifier: ^4.3.0
'@tanstack/react-query-devtools':
specifier: ^5.100.10
@@ -241,7 +248,7 @@ importers:
vitest:
specifier: ^4.1.8
server/nodejs:
dependencies:
@@ -322,14 +329,22 @@ packages:
resolution: {integrity: sha512-LIVqM46zQWZhj17qA8wb4nW/ixr2y1Nw+r1etiAWgRM6U1IqP+LNhL1yg440jYZR72jCWcWbLWzIosH+uP1fqg==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==}
engines: {node: '>=6.9.0'}
resolution: {integrity: sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==}
engines: {node: '>=6.9.0'}
@@ -338,21 +353,29 @@ packages:
resolution: {integrity: sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-RpLYy2sb51oNLjuu1iD3bwBqCBWUzjO0ocp+iaCP/lJtb2CPLcnC2Fftw+4sAzaMELGeWTgExSKADbdo0GFVzA==}
engines: {node: '>=6.9.0'}
peerDependencies:
- '@babel/core': ^7.0.0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-47UwBLPpQi1NoWzLuHNjRoHlYXMwIJoBf7MFou6viC/sIHWYygpvr0B6IAyh5sBdA2nr2LPIRww8lfaUVQINBA==}
peerDependencies:
- '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==}
engines: {node: '>=6.9.0'}
@@ -361,11 +384,21 @@ packages:
resolution: {integrity: sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==}
engines: {node: '>=6.9.0'}
peerDependencies:
- '@babel/core': ^7.0.0
+ '@babel/core': ^7.29.7
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==}
@@ -379,7 +412,7 @@ packages:
resolution: {integrity: sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg==}
engines: {node: '>=6.9.0'}
peerDependencies:
- '@babel/core': ^7.0.0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==}
@@ -405,8 +438,12 @@ packages:
resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw==}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==}
+ engines: {node: '>=6.9.0'}
+
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==}
engines: {node: '>=6.9.0'}
@@ -423,49 +460,49 @@ packages:
resolution: {integrity: sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==}
engines: {node: '>=6.9.0'}
peerDependencies:
- '@babel/core': ^7.0.0-0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==}
engines: {node: '>=6.9.0'}
peerDependencies:
- '@babel/core': ^7.0.0-0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-jppVbf8IV9iWWwWTQIxJMAJCWBuuKx71475wHwYytrRGQ2CWiDvYlADQno3tcYpS/T2UUWFQp3nVtYfK/YBQrA==}
engines: {node: '>=6.9.0'}
peerDependencies:
- '@babel/core': ^7.0.0-0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==}
engines: {node: '>=6.9.0'}
peerDependencies:
- '@babel/core': ^7.0.0-0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==}
engines: {node: '>=6.9.0'}
peerDependencies:
- '@babel/core': ^7.0.0-0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-jlaRT5dJtMaMCV6fAuLbsQMSwz/QkvaHOHOSXRitGGwSpR1blCY4KUKoyP2tYO8vJcqYe8cEj96cqSztv3uF9w==}
engines: {node: '>=6.9.0'}
peerDependencies:
- '@babel/core': ^7.0.0-0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-0YWL2RFxOqEm9Efk5PvreamxPME8OyY0wM5wh5lHjF+VtVhdneCWGzZeSqzOfiobVqQaNCd2z0tQvnI9DaPWPw==}
engines: {node: '>=6.9.0'}
peerDependencies:
- '@babel/core': ^7.0.0-0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-+bQy5WOI2V6LJZpPVxY+yp66XdZ2yifu0Mc1aP5CQKgjn4QM5IN2i5fAZ4xKop47pr8rpVhiAeu+nDQa12C8+g==}
engines: {node: '>=6.9.0'}
peerDependencies:
- '@babel/core': ^7.0.0-0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==}
@@ -475,10 +512,18 @@ packages:
resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==}
engines: {node: '>=6.9.0'}
@@ -2172,7 +2217,7 @@ packages:
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-t6J3OrB5Fc0ExuhohouH0fWUGMYL6PTLhW+E7zIk/pdbnJARZDCwjBznFnkh5ynRnIRSI4YjtTH0t6USjJISrw==}
peerDependencies:
- vite: ^5.2.0 || ^6 || ^7 || ^8
+ vite: ^7.3.6
'@tanstack/[email protected]':
resolution: {integrity: sha512-8UR0yJR+GiQ40m3lPhUr0xbfAupe6GSQiksSBSa9SM2NjezFyxXCIA69/lz8cSoNKZLrw1/PktIyQBJcVeMi3w==}
@@ -2607,7 +2652,7 @@ packages:
resolution: {integrity: sha512-YmKkfhOAi3wsB1PhJq5Scj3GXMn3WvtQ/JC0xoopuHoXSdmtdStOpFrYaT1kie2YgFBcIe64ROzMYRjCrYOdYw==}
engines: {node: ^20.19.0 || >=22.12.0}
peerDependencies:
- vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
+ vite: ^7.3.6
'@vitest/[email protected]':
resolution: {integrity: sha512-lt3kovsyHwYe00wq4D1ti0Z974fWj4NLp6siqiyEufUpyFwK9Yhi7rBhac9JL5aA0zoMrJqc4vYPZRUnI7l7nw==}
@@ -2625,7 +2670,7 @@ packages:
resolution: {integrity: sha512-LEiN/xe4OSIbKe9HQIp5OC24agGD9J5CnmMgsLohVVoOPWL9a2sBoR6VBx43jQZb7Kr1l4RCuyCJzcAa0+dojw==}
peerDependencies:
msw: ^2.4.9
- vite: ^6.0.0 || ^7.0.0 || ^8.0.0
+ vite: ^7.3.6
peerDependenciesMeta:
msw:
optional: true
@@ -2771,17 +2816,17 @@ packages:
resolution: {integrity: sha512-aTyf30K/rqAsNwN76zYrdtx8obu0E4KoUME29B1xj+B3WxgvWkp943vYQ+z8Mv3lw9xHXMHpvSPOBxzAkIa94w==}
peerDependencies:
- '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==}
peerDependencies:
- '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-M762rNHfSF1EV3SLtnCJXFoQbbIIz0OyRwnCmV0KPC7qosSfCO0QLTSuJX3ayAebubhE6oYBAYPrBA5ljowaZg==}
peerDependencies:
- '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0
+ '@babel/core': ^7.29.7
resolution: {integrity: sha512-mjRn69WuTz4adL0bXGx8Rsyk1086zFJeKmes6aK0xPuK3aaXmDJdLHqwKKMrpm6KAI1MCoUK72d2VeqQbu8YIA==}
@@ -2807,15 +2852,15 @@ packages:
resolution: {integrity: sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==}
- resolution: {integrity: sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==}
+ resolution: {integrity: sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==}
+ resolution: {integrity: sha512-IDw48K2/2kRkg9LdJxurvq3lV3aBgq0REY89duEqFRthjlPdXHKMj7EnQOXVckxzgisinf3nHfrcE2FufFLXMw==}
- resolution: {integrity: sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==}
+ resolution: {integrity: sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==}
engines: {node: 18 || 20 || >=22}
@@ -2981,6 +3026,10 @@ packages:
resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==}
@@ -3306,8 +3355,8 @@ packages:
resolution: {integrity: sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==}
- resolution: {integrity: sha512-lHeS9SA/IKeIFFyYciHBr2n0v1VMPlSj843HdLOwjb2OxNwdq9Xykxqhk+FE42MzAdHvInbAolSE4mhahPpjXA==}
+ resolution: {integrity: sha512-zQvGet8Z2sWbQhCmfFz/T5QWH2oBmjnqK3qvOjaqaNLrLEF912WamU+ohnTp0TCep/MFVHpdJuCZEdFOdTnEFg==}
resolution: {integrity: sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==}
@@ -3626,8 +3675,8 @@ packages:
resolution: {integrity: sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==}
+ resolution: {integrity: sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==}
engines: {node: '>= 6'}
@@ -3769,6 +3818,10 @@ packages:
resolution: {integrity: sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==}
+ engines: {node: '>= 0.4'}
+
resolution: {integrity: sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==}
@@ -5890,6 +5943,10 @@ packages:
resolution: {integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==}
+ engines: {node: '>= 18'}
+
resolution: {integrity: sha512-pJw051uomb3ZeCzGTpRb8RbEqB5Y4WWet8gl/GcTlU35BSx0PVdZ86/bqkQCyKKuraVQEK7r6kBHQXF+fBhkoQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -6024,8 +6081,8 @@ packages:
resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==}
- resolution: {integrity: sha512-/4XH147Ui7OGTjg3HbdWe5arnZQSbfuRzdr9Ec7TQi5I7R+ir0Rlc9GIvD4v0XZurELqA035KVXJXpR61xhiTA==}
+ resolution: {integrity: sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==}
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
peerDependencies:
@@ -6080,7 +6137,7 @@ packages:
'@vitest/ui': 4.1.8
happy-dom: '*'
jsdom: '*'
- vite: ^6.0.0 || ^7.0.0 || ^8.0.0
+ vite: ^7.3.6
peerDependenciesMeta:
'@edge-runtime/vm':
optional: true
@@ -6373,17 +6430,19 @@ snapshots:
'@babel/[email protected]': {}
- '@babel/[email protected]':
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
dependencies:
- '@babel/code-frame': 7.29.0
- '@babel/generator': 7.29.1
- '@babel/helper-compilation-targets': 7.28.6
- '@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
- '@babel/helpers': 7.29.2
- '@babel/parser': 7.29.3
- '@babel/template': 7.28.6
- '@babel/traverse': 7.29.0
- '@babel/types': 7.29.0
+ '@babel/code-frame': 7.29.7
+ '@babel/generator': 7.29.7
+ '@babel/helper-compilation-targets': 7.29.7
+ '@babel/helper-module-transforms': 7.29.7(@babel/[email protected])
+ '@babel/helpers': 7.29.7
+ '@babel/parser': 7.29.7
+ '@babel/template': 7.29.7
+ '@babel/traverse': 7.29.7
+ '@babel/types': 7.29.7
'@jridgewell/remapping': 2.3.5
convert-source-map: 2.0.0
debug: 4.4.3
@@ -6395,8 +6454,16 @@ snapshots:
dependencies:
- '@babel/parser': 7.29.3
- '@babel/types': 7.29.0
+ '@babel/parser': 7.29.7
+ '@babel/types': 7.29.7
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.31
+ jsesc: 3.1.0
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/parser': 7.29.7
+ '@babel/types': 7.29.7
'@jridgewell/gen-mapping': 0.3.13
'@jridgewell/trace-mapping': 0.3.31
jsesc: 3.1.0
@@ -6413,22 +6480,30 @@ snapshots:
lru-cache: 5.1.1
semver: 6.3.1
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/compat-data': 7.29.7
+ '@babel/helper-validator-option': 7.29.7
+ browserslist: 4.28.2
+ lru-cache: 5.1.1
+ semver: 6.3.1
+
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/helper-annotate-as-pure': 7.27.3
'@babel/helper-member-expression-to-functions': 7.28.5
'@babel/helper-optimise-call-expression': 7.27.1
- '@babel/helper-replace-supers': 7.28.6(@babel/[email protected])
+ '@babel/helper-replace-supers': 7.28.6(@babel/[email protected])
'@babel/helper-skip-transparent-expression-wrappers': 7.27.1
'@babel/traverse': 7.29.0
semver: 6.3.1
transitivePeerDependencies:
- supports-color
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/helper-compilation-targets': 7.28.6
'@babel/helper-plugin-utils': 7.28.6
debug: 4.4.3
@@ -6439,6 +6514,8 @@ snapshots:
'@babel/[email protected]': {}
+ '@babel/[email protected]': {}
+
dependencies:
'@babel/traverse': 7.29.0
@@ -6449,28 +6526,44 @@ snapshots:
dependencies:
'@babel/traverse': 7.29.0
- '@babel/types': 7.29.0
+ '@babel/types': 7.29.7
transitivePeerDependencies:
- supports-color
+ '@babel/[email protected]':
dependencies:
- '@babel/core': 7.29.0
+ '@babel/traverse': 7.29.7
+ '@babel/types': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
+ dependencies:
+ '@babel/core': 7.29.7
'@babel/helper-module-imports': 7.28.6
'@babel/helper-validator-identifier': 7.28.5
'@babel/traverse': 7.29.0
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@babel/core': 7.29.7
+ '@babel/helper-module-imports': 7.29.7
+ '@babel/helper-validator-identifier': 7.29.7
+ '@babel/traverse': 7.29.7
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@babel/types': 7.29.7
'@babel/[email protected]': {}
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/helper-member-expression-to-functions': 7.28.5
'@babel/helper-optimise-call-expression': 7.27.1
'@babel/traverse': 7.29.0
@@ -6494,10 +6587,12 @@ snapshots:
'@babel/[email protected]': {}
- '@babel/[email protected]':
+ '@babel/[email protected]': {}
+
+ '@babel/[email protected]':
dependencies:
- '@babel/template': 7.28.6
- '@babel/types': 7.29.0
+ '@babel/template': 7.29.7
+ '@babel/types': 7.29.7
dependencies:
@@ -6507,65 +6602,65 @@ snapshots:
dependencies:
'@babel/types': 7.29.7
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/helper-plugin-utils': 7.28.6
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/helper-plugin-utils': 7.28.6
dependencies:
- '@babel/core': 7.29.0
- '@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
+ '@babel/core': 7.29.7
+ '@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
'@babel/helper-plugin-utils': 7.28.6
transitivePeerDependencies:
- supports-color
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/helper-plugin-utils': 7.28.6
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/helper-plugin-utils': 7.28.6
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/helper-module-imports': 7.28.6
'@babel/helper-plugin-utils': 7.28.6
- babel-plugin-polyfill-corejs2: 0.4.17(@babel/[email protected])
- babel-plugin-polyfill-corejs3: 0.13.0(@babel/[email protected])
- babel-plugin-polyfill-regenerator: 0.6.8(@babel/[email protected])
+ babel-plugin-polyfill-corejs2: 0.4.17(@babel/[email protected])
+ babel-plugin-polyfill-corejs3: 0.13.0(@babel/[email protected])
+ babel-plugin-polyfill-regenerator: 0.6.8(@babel/[email protected])
semver: 6.3.1
transitivePeerDependencies:
- supports-color
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/helper-annotate-as-pure': 7.27.3
- '@babel/helper-create-class-features-plugin': 7.29.3(@babel/[email protected])
+ '@babel/helper-create-class-features-plugin': 7.29.3(@babel/[email protected])
'@babel/helper-plugin-utils': 7.28.6
'@babel/helper-skip-transparent-expression-wrappers': 7.27.1
- '@babel/plugin-syntax-typescript': 7.28.6(@babel/[email protected])
+ '@babel/plugin-syntax-typescript': 7.28.6(@babel/[email protected])
transitivePeerDependencies:
- supports-color
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/helper-plugin-utils': 7.28.6
'@babel/helper-validator-option': 7.27.1
- '@babel/plugin-syntax-jsx': 7.28.6(@babel/[email protected])
- '@babel/plugin-transform-modules-commonjs': 7.28.6(@babel/[email protected])
- '@babel/plugin-transform-typescript': 7.28.6(@babel/[email protected])
+ '@babel/plugin-syntax-jsx': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-modules-commonjs': 7.28.6(@babel/[email protected])
+ '@babel/plugin-transform-typescript': 7.28.6(@babel/[email protected])
transitivePeerDependencies:
- supports-color
@@ -6573,9 +6668,15 @@ snapshots:
dependencies:
- '@babel/code-frame': 7.29.0
- '@babel/parser': 7.29.3
- '@babel/types': 7.29.0
+ '@babel/code-frame': 7.29.7
+ '@babel/parser': 7.29.7
+ '@babel/types': 7.29.7
+
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.29.7
+ '@babel/parser': 7.29.7
+ '@babel/types': 7.29.7
dependencies:
@@ -6589,6 +6690,18 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.29.7
+ '@babel/generator': 7.29.7
+ '@babel/helper-globals': 7.29.7
+ '@babel/parser': 7.29.7
+ '@babel/template': 7.29.7
+ '@babel/types': 7.29.7
+ debug: 4.4.3
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@babel/helper-string-parser': 7.27.1
@@ -7013,10 +7126,10 @@ snapshots:
'@lobehub/[email protected]': {}
dependencies:
'@lobehub/emojilib': 1.0.0
emoji-regex: 10.6.0
@@ -7038,9 +7151,9 @@ snapshots:
- supports-color
- vue
dependencies:
lucide-react: 0.469.0([email protected])
@@ -7060,7 +7173,7 @@ snapshots:
- supports-color
- vue
dependencies:
'@ant-design/cssinjs': 1.24.0([email protected]([email protected]))([email protected])
@@ -7071,8 +7184,8 @@ snapshots:
'@emoji-mart/react': 1.1.1([email protected])([email protected])
'@floating-ui/react': 0.27.19([email protected]([email protected]))([email protected])
'@mdx-js/mdx': 3.1.1
'@mdx-js/react': 3.1.1(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.2.4(@types/[email protected])([email protected])
@@ -7105,7 +7218,7 @@ snapshots:
react: 19.2.6
react-dom: 19.2.6([email protected])
react-error-boundary: 6.1.1([email protected])
@@ -8428,12 +8541,12 @@ snapshots:
postcss-selector-parser: 6.0.10
tailwindcss: 4.3.0
dependencies:
'@tailwindcss/node': 4.3.0
'@tailwindcss/oxide': 4.3.0
tailwindcss: 4.3.0
'@tanstack/[email protected]': {}
@@ -8922,15 +9035,15 @@ snapshots:
'@use-gesture/core': 10.3.1
react: 19.2.6
dependencies:
- '@babel/core': 7.29.0
- '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/[email protected])
- '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/[email protected])
+ '@babel/core': 7.29.7
+ '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/[email protected])
+ '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/[email protected])
'@rolldown/pluginutils': 1.0.0-rc.3
'@types/babel__core': 7.20.5
react-refresh: 0.18.0
transitivePeerDependencies:
- supports-color
@@ -8946,7 +9059,7 @@ snapshots:
obug: 2.1.2
std-env: 4.1.0
tinyrainbow: 3.1.0
'@vitest/[email protected]':
dependencies:
@@ -8957,14 +9070,14 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.1.0
dependencies:
'@vitest/spy': 4.1.8
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -9170,27 +9283,27 @@ snapshots:
cosmiconfig: 7.1.0
resolve: 1.22.12
dependencies:
'@babel/compat-data': 7.29.3
- '@babel/core': 7.29.0
- '@babel/helper-define-polyfill-provider': 0.6.8(@babel/[email protected])
+ '@babel/core': 7.29.7
+ '@babel/helper-define-polyfill-provider': 0.6.8(@babel/[email protected])
semver: 6.3.1
transitivePeerDependencies:
- supports-color
dependencies:
- '@babel/core': 7.29.0
- '@babel/helper-define-polyfill-provider': 0.6.8(@babel/[email protected])
+ '@babel/core': 7.29.7
+ '@babel/helper-define-polyfill-provider': 0.6.8(@babel/[email protected])
core-js-compat: 3.49.0
transitivePeerDependencies:
- supports-color
dependencies:
- '@babel/core': 7.29.0
- '@babel/helper-define-polyfill-provider': 0.6.8(@babel/[email protected])
+ '@babel/core': 7.29.7
+ '@babel/helper-define-polyfill-provider': 0.6.8(@babel/[email protected])
transitivePeerDependencies:
- supports-color
@@ -9212,26 +9325,26 @@ snapshots:
dependencies:
require-from-string: 2.0.2
dependencies:
bytes: 3.1.2
- content-type: 1.0.5
+ content-type: 2.0.0
debug: 4.4.3
http-errors: 2.0.1
iconv-lite: 0.7.2
on-finished: 2.4.1
qs: 6.15.2
raw-body: 3.0.2
- type-is: 2.0.1
+ type-is: 2.1.0
transitivePeerDependencies:
- supports-color
dependencies:
balanced-match: 1.0.2
concat-map: 0.0.1
dependencies:
balanced-match: 4.0.4
@@ -9373,6 +9486,8 @@ snapshots:
+
@@ -9694,7 +9809,7 @@ snapshots:
optionalDependencies:
'@types/trusted-types': 2.0.7
@@ -9755,7 +9870,7 @@ snapshots:
es-errors: 1.3.0
get-intrinsic: 1.3.0
has-tostringtag: 1.0.2
- hasown: 2.0.3
+ hasown: 2.0.4
@@ -9812,7 +9927,7 @@ snapshots:
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/parser': 7.29.3
eslint: 9.39.4([email protected])
hermes-parser: 0.25.1
@@ -9977,7 +10092,7 @@ snapshots:
dependencies:
accepts: 2.0.0
- body-parser: 2.2.2
+ body-parser: 2.3.0
content-disposition: 1.1.0
content-type: 1.0.5
cookie: 0.7.2
@@ -10106,12 +10221,12 @@ snapshots:
dependencies:
asynckit: 0.4.0
combined-stream: 1.0.8
es-set-tostringtag: 2.1.0
- hasown: 2.0.3
+ hasown: 2.0.4
mime-types: 2.1.35
@@ -10163,7 +10278,7 @@ snapshots:
get-proto: 1.0.1
gopd: 1.2.0
has-symbols: 1.1.0
- hasown: 2.0.3
+ hasown: 2.0.4
math-intrinsics: 1.1.0
@@ -10226,6 +10341,10 @@ snapshots:
dependencies:
function-bind: 1.1.2
+ dependencies:
+ function-bind: 1.1.2
+
dependencies:
'@types/hast': 3.0.4
@@ -10585,7 +10704,7 @@ snapshots:
cssstyle: 4.6.0
data-urls: 5.0.0
decimal.js: 10.6.0
- form-data: 4.0.5
+ form-data: 4.0.6
html-encoding-sniffer: 4.0.0
http-proxy-agent: 7.0.2
https-proxy-agent: 7.0.6
@@ -11028,7 +11147,7 @@ snapshots:
d3-sankey: 0.12.3
dagre-d3-es: 7.0.14
dayjs: 1.11.20
- dompurify: 3.4.2
+ dompurify: 3.4.12
es-toolkit: 1.46.1
katex: 0.16.45
khroma: 2.1.0
@@ -11362,11 +11481,11 @@ snapshots:
dependencies:
- brace-expansion: 5.0.6
+ brace-expansion: 5.0.7
dependencies:
- brace-expansion: 1.1.14
+ brace-expansion: 1.1.16
@@ -12083,9 +12202,9 @@ snapshots:
react: 19.2.6
react-dom: 19.2.6([email protected])
dependencies:
- '@babel/plugin-transform-runtime': 7.29.0(@babel/[email protected])
+ '@babel/plugin-transform-runtime': 7.29.0(@babel/[email protected])
'@babel/runtime': 7.29.2
prop-types: 15.8.1
react: 19.2.6
@@ -12567,10 +12686,10 @@ snapshots:
dependencies:
- '@babel/core': 7.29.0
+ '@babel/core': 7.29.7
'@babel/parser': 7.29.3
- '@babel/plugin-transform-typescript': 7.28.6(@babel/[email protected])
- '@babel/preset-typescript': 7.28.5(@babel/[email protected])
+ '@babel/plugin-transform-typescript': 7.28.6(@babel/[email protected])
+ '@babel/preset-typescript': 7.28.5(@babel/[email protected])
'@dotenvx/dotenvx': 1.65.0
'@modelcontextprotocol/sdk': 1.29.0([email protected])
'@types/validate-npm-package-name': 4.0.2
@@ -12934,6 +13053,12 @@ snapshots:
media-typer: 1.1.0
mime-types: 3.0.2
+ dependencies:
+ content-type: 2.0.0
+ media-typer: 1.1.0
+ mime-types: 3.0.2
+
dependencies:
@@ -13068,14 +13193,14 @@ snapshots:
'@types/unist': 3.0.3
vfile-message: 4.0.3
dependencies:
esbuild: 0.28.1
fdir: 6.5.0([email protected])
picomatch: 4.0.4
postcss: 8.5.14
rollup: 4.60.3
- tinyglobby: 0.2.16
+ tinyglobby: 0.2.17
optionalDependencies:
'@types/node': 24.12.3
fsevents: 2.3.3
@@ -13083,10 +13208,10 @@ snapshots:
lightningcss: 1.32.0
tsx: 4.21.0
dependencies:
'@vitest/expect': 4.1.8
'@vitest/pretty-format': 4.1.8
'@vitest/runner': 4.1.8
'@vitest/snapshot': 4.1.8
@@ -13103,7 +13228,7 @@ snapshots:
tinyexec: 1.2.4
tinyglobby: 0.2.17
tinyrainbow: 3.1.0
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 24.12.3
diff --git a/server/package-lock.json b/server/package-lock.json
index 482d0b72..101776d1 100644
--- a/server/package-lock.json
+++ b/server/package-lock.json
@@ -274,20 +274,20 @@
}
},
"node_modules/body-parser": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.2.tgz",
- "integrity": "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==",
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz",
+ "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==",
"license": "MIT",
"dependencies": {
"bytes": "^3.1.2",
- "content-type": "^1.0.5",
+ "content-type": "^2.0.0",
"debug": "^4.4.3",
- "http-errors": "^2.0.0",
- "iconv-lite": "^0.7.0",
+ "http-errors": "^2.0.1",
+ "iconv-lite": "^0.7.2",
"on-finished": "^2.4.1",
- "qs": "^6.14.1",
- "raw-body": "^3.0.1",
- "type-is": "^2.0.1"
+ "qs": "^6.15.2",
+ "raw-body": "^3.0.2",
+ "type-is": "^2.1.0"
},
"engines": {
"node": ">=18"
@@ -297,6 +297,19 @@
"url": "https://opencollective.com/express"
}
},
+ "node_modules/body-parser/node_modules/content-type": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz",
+ "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
"node_modules/buffer": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
@@ -1522,17 +1535,34 @@
}
},
"node_modules/type-is": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz",
- "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz",
+ "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==",
"license": "MIT",
"dependencies": {
- "content-type": "^1.0.5",
+ "content-type": "^2.0.0",
"media-typer": "^1.1.0",
"mime-types": "^3.0.0"
},
"engines": {
- "node": ">= 0.6"
+ "node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/type-is/node_modules/content-type": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz",
+ "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
}
},
"node_modules/unpipe": {
diff --git a/server/package.json b/server/package.json
index 0ca453bf..ca3d78eb 100644
--- a/server/package.json
+++ b/server/package.json
@@ -16,6 +16,7 @@
"three": "^0.184.0"
},
"overrides": {
+ "body-parser": "^2.3.0",
"qs": "^6.15.2"
}
}
diff --git a/server/pyproject.toml b/server/pyproject.toml
index a92cde74..2adc21a1 100644
--- a/server/pyproject.toml
+++ b/server/pyproject.toml
@@ -51,32 +51,29 @@ dependencies = [
"cryptography>=44.0.0",
# AI - All providers (directly imported in ai.py)
- # Originally pinned to lockstep with main to neutralise a tool_calls
- # empty-payload regression. Lifted to 1.3.x in response to security
- # advisories GHSA-jcc3-qxqm-r62h (unsafe deserialization in
- # langchain-core <=1.3.2), the langchain-openai DNS-rebinding SSRF
- # advisory (<1.1.14), and the langchain-text-splitters SSRF advisory
- # (<1.1.2). Full backend suite (1018/1018) re-validated after the bump.
- "langchain-core==1.3.3",
+ # Keep this stack in lockstep. These floors cover unsafe deserialization
+ # in old langchain-core, the OpenAI/text-splitter SSRF advisories, and
+ # GHSA-gr75-jv2w-4656 (file-search path traversal/sandbox escape).
+ "langchain==1.3.9",
+ "langchain-core==1.4.7",
"langchain-openai==1.1.14",
- "langchain-anthropic==1.4.0",
- "anthropic==0.94.0",
+ "langchain-anthropic==1.4.6",
+ "anthropic==0.96.0",
# langchain-google-genai 4.2.4+ widens its google-genai pin to <3.0.0,
# unblocking google-genai 2.x — required for the Interactions API
# (client.interactions with environment= + client.agents) used by the
- # vertex_managed_agent / vertex_agent_admin plugins. 4.2.5 is the last
- # version compatible with the langchain-core==1.3.3 pin above (4.2.6+
- # requires langchain-core>=1.4.7).
+ # vertex_managed_agent / vertex_agent_admin plugins. 4.2.5 remains
+ # compatible with the langchain-core==1.4.7 security floor.
"langchain-google-genai==4.2.5",
"google-genai==2.11.0",
"langchain-groq==1.1.2",
"langchain-cerebras==0.8.2",
# textChunker plugin (recursive / markdown / token strategies). Bumped
- # to 1.1.2+ alongside langchain-core 1.3.3 to clear the
+ # to 1.1.2+ alongside the langchain-core security floor to clear the
# HTMLHeaderTextSplitter SSRF advisory; the 1.1 line requires
# langchain-core>=1.3, which we now satisfy.
"langchain-text-splitters==1.1.2",
- "deepagents==0.5.2",
+ "deepagents==0.6.9",
# Pydantic 2.13 changed validator ordering; pin to main's 2.12 line
# to keep AIMessage construction/tool-schema generation identical.
diff --git a/server/services/deployment/manager.py b/server/services/deployment/manager.py
index bb486d86..7b3e53e7 100644
--- a/server/services/deployment/manager.py
+++ b/server/services/deployment/manager.py
@@ -785,7 +785,13 @@ class DeploymentManager:
event_workflow_id_key = SearchAttributeKey.for_keyword("EventWorkflowId")
event_trigger_kind_key = SearchAttributeKey.for_keyword("EventTriggerKind")
- control_lookup = container.database().get_latest_workflow_control(workflow_id)
+ # Resolve control state through this manager's injected database.
+ # Reading the process-global container here made listener routing
+ # depend on whichever database happened to be installed globally,
+ # rather than the database that owns this deployment. Besides making
+ # parallel/test managers bleed into one another, that could register a
+ # listener under a controller from a different application database.
+ control_lookup = self.database.get_latest_workflow_control(workflow_id)
control = await control_lookup if inspect.isawaitable(control_lookup) else None
if control is not None and control.controller_workflow_id and control.status in {
"starting", "running", "pausing", "paused", "resuming",
diff --git a/server/tests/nodes/test_agent_builder.py b/server/tests/nodes/test_agent_builder.py
index 196673c7..fc034e8b 100644
--- a/server/tests/nodes/test_agent_builder.py
+++ b/server/tests/nodes/test_agent_builder.py
@@ -499,6 +499,7 @@ class TestCreateWorkflow:
)
mock_db = MagicMock()
+ mock_db.allocate_workflow_id = AsyncMock(return_value="1")
mock_db.save_workflow = AsyncMock(return_value=True)
# Wave 14: agent_builder calls next_available_slug, which
# reads ``list_workflow_slugs`` for the dedup counter scan.
@@ -509,10 +510,8 @@ class TestCreateWorkflow:
with patch("core.container.container", mock_container):
result = await node.create_workflow(ctx, params)
- assert result.workflow_id is not None
- # Wave 14: workflow ids are bare 32-hex UUIDs (no prefix).
- assert len(result.workflow_id) == 32
- assert all(c in "0123456789abcdef" for c in result.workflow_id)
+ assert result.workflow_id == "1"
+ mock_db.allocate_workflow_id.assert_awaited_once_with()
# Slug is the human-readable identifier surfaced in the summary.
assert "My_New_Workflow_1" in result.summary
mock_db.save_workflow.assert_awaited_once()
@@ -527,6 +526,7 @@ class TestCreateWorkflow:
)
mock_db = MagicMock()
+ mock_db.allocate_workflow_id = AsyncMock(return_value="1")
mock_db.save_workflow = AsyncMock(return_value=False)
mock_db.list_workflow_slugs = AsyncMock(return_value=[])
mock_container = MagicMock()
diff --git a/server/tests/services/test_workflow_rename.py b/server/tests/services/test_workflow_rename.py
index 1f2e6609..27f00397 100644
--- a/server/tests/services/test_workflow_rename.py
+++ b/server/tests/services/test_workflow_rename.py
@@ -2,7 +2,7 @@
``handle_save_workflow`` IS the rename path: when the display name
changes, the handler must (1) allocate a fresh slug, (2) atomically
-update DB name + slug while keeping the UUID id stable, (3) rename
+update DB name + slug while keeping the system identity stable, (3) rename
the on-disk workspace dir if it exists, (4) broadcast a CloudEvents
``workflow.renamed`` envelope so other clients refresh.
"""
@@ -27,6 +27,12 @@ import pytest
class _FakeDatabase:
def __init__(self) -> None:
self._rows: Dict[str, SimpleNamespace] = {}
+ self._next_workflow_id = 1
+
+ async def allocate_workflow_id(self) -> str:
+ workflow_id = str(self._next_workflow_id)
+ self._next_workflow_id += 1
+ return workflow_id
async def get_workflow(self, workflow_id: str):
return self._rows.get(workflow_id)
@@ -126,16 +132,16 @@ async def test_save_new_workflow_allocates_slug(patched_handler_deps) -> None:
from services.workflow_storage.handlers import handle_save_workflow
result = await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "AI Assistant", "data": {"nodes": []}},
+ {"workflow_id": "new", "name": "AI Assistant", "data": {"nodes": []}},
websocket=None,
)
assert result["success"] is True
- assert result["workflow_id"] == "uuid-1"
+ assert result["workflow_id"] == "1"
assert result["name"] == "AI Assistant"
assert result["slug"] == "AI_Assistant_1"
- row = await patched_handler_deps.db.get_workflow("uuid-1")
+ row = await patched_handler_deps.db.get_workflow("1")
assert row.slug == "AI_Assistant_1"
assert row.name == "AI Assistant"
@@ -146,12 +152,12 @@ async def test_save_existing_workflow_same_name_keeps_slug(patched_handler_deps)
from services.workflow_storage.handlers import handle_save_workflow
await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "AI Assistant", "data": {"nodes": []}},
+ {"workflow_id": "new", "name": "AI Assistant", "data": {"nodes": []}},
websocket=None,
)
# Second save with same name — slug stays as _1.
result = await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "AI Assistant", "data": {"nodes": [], "marker": "a"}},
+ {"workflow_id": "1", "name": "AI Assistant", "data": {"nodes": [], "marker": "a"}},
websocket=None,
)
@@ -162,28 +168,28 @@ async def test_save_existing_workflow_same_name_keeps_slug(patched_handler_deps)
@pytest.mark.asyncio
async def test_rename_via_save_recomputes_slug(patched_handler_deps) -> None:
- """The whole user story: create, rename, observe new slug + UUID stable."""
+ """The whole user story: create, rename, observe a stable system ID."""
from services.workflow_storage.handlers import handle_save_workflow
create = await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "AI Assistant", "data": {"nodes": []}},
+ {"workflow_id": "new", "name": "AI Assistant", "data": {"nodes": []}},
websocket=None,
)
assert create["slug"] == "AI_Assistant_1"
rename = await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "Cool Bot", "data": {"nodes": []}},
+ {"workflow_id": "1", "name": "Cool Bot", "data": {"nodes": []}},
websocket=None,
)
- # UUID unchanged; slug + name updated.
- assert rename["workflow_id"] == "uuid-1"
+ # System identity unchanged; slug + name updated.
+ assert rename["workflow_id"] == "1"
assert rename["name"] == "Cool Bot"
assert rename["slug"] == "Cool_Bot_1"
# DB reflects the same.
- row = await patched_handler_deps.db.get_workflow("uuid-1")
- assert row.id == "uuid-1"
+ row = await patched_handler_deps.db.get_workflow("1")
+ assert row.id == "1"
assert row.name == "Cool Bot"
assert row.slug == "Cool_Bot_1"
@@ -194,7 +200,7 @@ async def test_rename_moves_workspace_directory(patched_handler_deps) -> None:
from services.workflow_storage.handlers import handle_save_workflow
await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "AI Assistant", "data": {"nodes": []}},
+ {"workflow_id": "new", "name": "AI Assistant", "data": {"nodes": []}},
websocket=None,
)
# Simulate execution having created the workspace folder.
@@ -203,7 +209,7 @@ async def test_rename_moves_workspace_directory(patched_handler_deps) -> None:
(old_ws / "marker.txt").write_text("preserved")
await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "Cool Bot", "data": {"nodes": []}},
+ {"workflow_id": "1", "name": "Cool Bot", "data": {"nodes": []}},
websocket=None,
)
@@ -219,7 +225,7 @@ async def test_rename_without_workspace_dir_is_harmless(patched_handler_deps) ->
from services.workflow_storage.handlers import handle_save_workflow
await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "AI Assistant", "data": {}},
+ {"workflow_id": "new", "name": "AI Assistant", "data": {}},
websocket=None,
)
@@ -228,7 +234,7 @@ async def test_rename_without_workspace_dir_is_harmless(patched_handler_deps) ->
# Rename should still succeed.
result = await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "Cool Bot", "data": {}},
+ {"workflow_id": "1", "name": "Cool Bot", "data": {}},
websocket=None,
)
@@ -241,13 +247,13 @@ async def test_rename_broadcasts_workflow_lifecycle(patched_handler_deps) -> Non
from services.workflow_storage.handlers import handle_save_workflow
await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "AI Assistant", "data": {}},
+ {"workflow_id": "new", "name": "AI Assistant", "data": {}},
websocket=None,
)
patched_handler_deps.broadcaster.broadcast_workflow_lifecycle.reset_mock()
await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "Cool Bot", "data": {}},
+ {"workflow_id": "1", "name": "Cool Bot", "data": {}},
websocket=None,
)
@@ -256,7 +262,7 @@ async def test_rename_broadcasts_workflow_lifecycle(patched_handler_deps) -> Non
args, kwargs = bcast.call_args
assert args == ("renamed",)
assert kwargs == {
- "workflow_id": "uuid-1",
+ "workflow_id": "1",
"name": "Cool Bot",
"slug": "Cool_Bot_1",
"old_slug": "AI_Assistant_1",
@@ -269,13 +275,13 @@ async def test_three_same_name_workflows_get_sequential_slugs(patched_handler_de
from services.workflow_storage.handlers import handle_save_workflow
r1 = await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "AI Assistant", "data": {}}, websocket=None,
+ {"workflow_id": "new", "name": "AI Assistant", "data": {}}, websocket=None,
)
r2 = await handle_save_workflow(
- {"workflow_id": "uuid-2", "name": "AI Assistant", "data": {}}, websocket=None,
+ {"workflow_id": "new", "name": "AI Assistant", "data": {}}, websocket=None,
)
r3 = await handle_save_workflow(
- {"workflow_id": "uuid-3", "name": "AI Assistant", "data": {}}, websocket=None,
+ {"workflow_id": "new", "name": "AI Assistant", "data": {}}, websocket=None,
)
assert (r1["slug"], r2["slug"], r3["slug"]) == (
@@ -294,10 +300,10 @@ async def test_save_returns_slug_for_frontend_sync(patched_handler_deps) -> None
from services.workflow_storage.handlers import handle_save_workflow
result = await handle_save_workflow(
- {"workflow_id": "uuid-1", "name": "AI Assistant", "data": {}},
+ {"workflow_id": "new", "name": "AI Assistant", "data": {}},
websocket=None,
)
assert set(result.keys()) >= {"success", "workflow_id", "name", "slug"}
- assert result["workflow_id"] == "uuid-1"
+ assert result["workflow_id"] == "1"
assert result["slug"] == "AI_Assistant_1"
diff --git a/server/tests/temporal/test_temporal_identity.py b/server/tests/temporal/test_temporal_identity.py
index cf2a319f..1b8a133e 100644
--- a/server/tests/temporal/test_temporal_identity.py
+++ b/server/tests/temporal/test_temporal_identity.py
@@ -230,6 +230,8 @@ class TestAgentCallIdentity:
return {"success": True, "todos": []}
if name == "agent.store_output.v1":
return {"stored": True}
+ if name == "agent.skill.clear.v1":
+ return {"cleared": True}
raise AssertionError(f"Unexpected activity {name}")
monkeypatch.setattr(patched_workflow, "execute_activity", fake_execute_activity)
@@ -278,6 +280,8 @@ class TestAgentCallIdentity:
return {"success": True, "todos": []}
if name == "agent.store_output.v1":
return {"stored": True}
+ if name == "agent.skill.clear.v1":
+ return {"cleared": True}
raise AssertionError(f"Unexpected activity {name}")
monkeypatch.setattr(patched_workflow, "execute_activity", fake_execute_activity)
@@ -354,6 +358,8 @@ class TestAgentCallIdentity:
return {"tools": [_tool("todo-2", label="Conflicting")]}
if name == "agent.store_output.v1":
return {"stored": True}
+ if name == "agent.skill.clear.v1":
+ return {"cleared": True}
raise AssertionError(f"Unexpected activity {name}")
monkeypatch.setattr(patched_workflow, "execute_activity", fake_execute_activity)
diff --git a/server/tests/test_deployment_canary_listener.py b/server/tests/test_deployment_canary_listener.py
index 88874168..d2573aac 100644
--- a/server/tests/test_deployment_canary_listener.py
+++ b/server/tests/test_deployment_canary_listener.py
@@ -76,6 +76,10 @@ def _build_manager_with_state(workflow_id: str, nodes, edges, session_id="sess")
database = MagicMock()
database.get_node_parameters = AsyncMock(return_value={})
+ # Listener routing must never consult a developer's persisted workflow
+ # controls. Each test starts in the legacy/no-controller state unless it
+ # explicitly installs a control on this manager-owned database.
+ database.get_latest_workflow_control = AsyncMock(return_value=None)
broadcaster = MagicMock()
broadcaster.update_node_status = AsyncMock()
@@ -251,6 +255,14 @@ class TestStartCanaryListener:
from core import container as container_mod
monkeypatch.setattr(container_mod.container, "temporal_client", lambda: wrapper)
+ monkeypatch.setattr(
+ container_mod.container,
+ "database",
+ lambda: pytest.fail(
+ "listener control lookup must use DeploymentManager.database, "
+ "not process-global persisted state"
+ ),
+ )
node = _node("wh-1", "webhookTrigger")
listener_id = await mgr._start_canary_listener(node, "wf-abc", params={"path": "hook"})
@@ -281,13 +293,11 @@ class TestStartCanaryListener:
status="running", controller_workflow_id="workflow-control-wf-controlled-g1",
controller_run_id="controller-run-1",
)
- database = MagicMock()
- database.get_latest_workflow_control = AsyncMock(return_value=control)
+ mgr.database.get_latest_workflow_control = AsyncMock(return_value=control)
from core import container as container_mod
monkeypatch.setattr(container_mod.container, "temporal_client", lambda: wrapper)
- monkeypatch.setattr(container_mod.container, "database", lambda: database)
listener_id = await mgr._start_canary_listener(
_node("wh-1", "webhookTrigger"), "wf-controlled", params={},
diff --git a/server/tests/test_workflow_validator.py b/server/tests/test_workflow_validator.py
index be9054ba..cc332c87 100644
--- a/server/tests/test_workflow_validator.py
+++ b/server/tests/test_workflow_validator.py
@@ -422,6 +422,15 @@ def _fake_database(existing_names: list[str] | None = None):
saved_params: dict[str, dict] = {}
db = MagicMock()
+ next_workflow_id = 1
+
+ async def allocate_workflow_id():
+ nonlocal next_workflow_id
+ workflow_id = str(next_workflow_id)
+ next_workflow_id += 1
+ return workflow_id
+
+ db.allocate_workflow_id = AsyncMock(side_effect=allocate_workflow_id)
db.get_all_workflows = AsyncMock(return_value=[_FakeWorkflow(n) for n in (existing_names or [])])
# Wave 14: workflow_import.import_workflow allocates a slug via
# ``next_available_slug`` before save, which scans existing slugs.
@@ -475,9 +484,7 @@ class TestImportWorkflowOrchestrator:
)
assert result["success"] is True
assert result["preview"] is False
- # Wave 14: workflow ids are bare 32-hex UUIDs (no prefix).
- assert len(result["workflow_id"]) == 32
- assert all(c in "0123456789abcdef" for c in result["workflow_id"])
+ assert result["workflow_id"] == "1"
assert result["name"] == "My Workflow"
assert len(db._saved_workflows) == 1
@@ -638,9 +645,7 @@ class TestImportWorkflowOrchestrator:
assert len(calls) == 1, "import_workflow save path must call broadcast_workflow_lifecycle " "exactly once on success."
stage, kwargs = calls[0]
assert stage == "imported"
- # Wave 14: workflow ids are bare 32-hex UUIDs (no prefix).
- assert len(kwargs["workflow_id"]) == 32
- assert all(c in "0123456789abcdef" for c in kwargs["workflow_id"])
+ assert kwargs["workflow_id"] == "1"
assert kwargs["name"] == "Broadcast Test"