Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

build(web): swap Deepgram SDK for assemblyai package

Richie McIlroyd2ffea47c8cf
diff --git a/apps/web/package.json b/apps/web/package.json
index 2e406136b..1c0cdd24c 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -31,7 +31,6 @@
"@cap/web-api-contract-effect": "workspace:*",
"@cap/web-backend": "workspace:*",
"@cap/web-domain": "workspace:*",
- "@deepgram/sdk": "^3.3.4",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/utilities": "^3.2.2",
"@effect/cluster": "^0.50.4",
@@ -84,6 +83,7 @@
"@vercel/otel": "^2.0.1",
"@virtual-grid/react": "^2.0.3",
"@workos-inc/node": "^7.34.0",
+ "assemblyai": "^4.36.4",
"aws-sdk": "^2.1530.0",
"canvas-confetti": "^1.9.3",
"class-variance-authority": "^0.7.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c6c2d3e66..eb7a49cb6 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -86,7 +86,7 @@ importers:
version: 19.2.3(@types/[email protected])
'@vitejs/plugin-react':
specifier: 4.4.1
autoprefixer:
specifier: ^10.4.16
version: 10.5.2([email protected])
@@ -101,10 +101,10 @@ importers:
version: 5.9.3
vite:
specifier: 6.3.5
vitest:
specifier: ^3.2.0
apps/desktop:
dependencies:
@@ -300,7 +300,7 @@ importers:
version: 4.3.2
'@tailwindcss/typography':
specifier: ^0.5.9
+ version: 0.5.20([email protected])
'@tauri-apps/cli':
specifier: '>=2.1.0'
version: 2.11.4
@@ -653,9 +653,6 @@ importers:
'@cap/web-domain':
specifier: workspace:*
version: link:../../packages/web-domain
- '@deepgram/sdk':
- specifier: ^3.3.4
- version: 3.13.0
'@dnd-kit/core':
specifier: ^6.3.1
@@ -812,6 +809,9 @@ importers:
'@workos-inc/node':
specifier: ^7.34.0
+ assemblyai:
+ specifier: ^4.36.4
+ version: 4.36.4
aws-sdk:
specifier: ^2.1530.0
version: 2.1693.0
@@ -1049,10 +1049,10 @@ importers:
version: 7.0.3
eslint:
specifier: ^9.30.1
- version: 9.39.4([email protected])
+ version: 9.39.4([email protected])
eslint-config-next:
specifier: 16.2.1
postcss:
specifier: ^8.4.23
version: 8.5.16
@@ -1064,7 +1064,7 @@ importers:
version: 5.9.3
vitest:
specifier: ^3.2.0
apps/web-cluster:
dependencies:
@@ -2633,14 +2633,6 @@ packages:
resolution: {integrity: sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==}
engines: {node: '>=18'}
- '@deepgram/[email protected]':
- resolution: {integrity: sha512-8B1C/oTxTxyHlSFubAhNRgCbQ2SQ5wwvtlByn8sDYZvdDtdn/VE2yEPZ4BvUnrKWmsbTQY6/ooLV+9Ka2qmDSQ==}
- engines: {node: '>=18.0.0'}
-
- '@deepgram/[email protected]':
- resolution: {integrity: sha512-VFN4gbyIDl5Bj0ApERq4QJHzO2AK4YOoL5Lfoy//q9531+UIzaKCNie4NkBM2Kn/UndHH7tIR335SH14e2r+Ag==}
- engines: {node: '>=18.0.0'}
-
resolution: {integrity: sha512-4nMhecpGlPi0cSzT67L+Tm+GOJqvuk8gqHBziqcUQOarnuIax1z96/gJHCSIz2Z0zhxE6Rzwb3IZXPtFh51j+w==}
@@ -7156,10 +7148,10 @@ packages:
react-dom:
optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-+RmxSxN2QKL9Ycv6GwexvuFGJYTwFn62C8bHZl4E6RWIM8BtcX6i48f11G+PRU427fiVt8/q3TeMxnrHvD0yPQ==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-bIJiS9aEW9AhUJX1vPlqCb5cqJQPqX+SCi0fZvu6wxGnTKjAQ2zYHGGe1eFozVEidprT6nfU6GrGnzOB1brAcg==}
peerDependencies:
- storybook: ^10.6.0-alpha.2
+ storybook: ^10.6.0-alpha.3
vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
'@storybook/[email protected]':
@@ -7170,12 +7162,12 @@ packages:
prettier:
optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-6KCewtpgBiDSRp0nZRMKlZXTbXf+bNouujk4owQmkeiTTFiVfb2dgzoxtPgsPCMrWaGDslcT+bM8D27CEmxKwA==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-wJdPboI9AblSGI3790YfvkhGJL0y6ZDAAnPYCwPLXe0IDPtcVR9jMA0F8p/oGJrgkSfROIP5IhVjlq3WjER9gA==}
peerDependencies:
esbuild: '*'
rollup: '*'
- storybook: ^10.6.0-alpha.2
+ storybook: ^10.6.0-alpha.3
vite: '*'
webpack: '*'
peerDependenciesMeta:
@@ -9000,6 +8992,10 @@ packages:
resolution: {integrity: sha512-S2s3aOytiKdFRdulw2qPE51MzjzVOisppcVv7jVFR+Kw0kxwvFrDcYA0h7Ndqbmj0HkMIXYWaoj7fli8kgx1eg==}
engines: {node: '>=12.0.0'}
+ resolution: {integrity: sha512-8d1JTxZ7lMxx1GNAttsHeVHv1tXn0pw6hr2cSQ2Len5PKx7Fxn9/1rX5jhusYVxxVXw3qah+IROKRYH6uCDlpA==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}
engines: {node: '>=12'}
@@ -9939,9 +9935,6 @@ packages:
resolution: {integrity: sha512-uULa1sSIHgXKGCqJ/pA0zsnzbHlVnuq7g8O2fkHokWFNwEGIhh5lAJlxZa1POG5En5ba7AU4KcBAvGQWMMf8rg==}
deprecated: This package has moved to simply be 'dax' instead of 'dax-sh'
- resolution: {integrity: sha512-98IT+HOahAisibz/yjKbzuOBwYcjJ7BCLPzARyHiyEBmRz4fatF+KPJszEHXsGYjUG234aH/cOjW1wwTbKUZlA==}
-
resolution: {integrity: sha512-RiXXi4WaNzPTHEOu8UPQKMooIbqOEyqA1t7Z6MsdxSCeb8iUC9ko3LcmsLmeUt2SM5bctfArZKkRQggKZz7JNw==}
peerDependencies:
@@ -18078,23 +18071,6 @@ snapshots:
'@csstools/[email protected]': {}
- '@deepgram/[email protected]':
- dependencies:
- dayjs: 1.11.21
-
- '@deepgram/[email protected]':
- dependencies:
- '@deepgram/captions': 1.2.0
- '@types/node': 18.19.130
- cross-fetch: 3.2.0
- deepmerge: 4.3.1
- events: 3.3.0
- ws: 8.21.0
- transitivePeerDependencies:
- - bufferutil
- - encoding
- - utf-8-validate
-
'@deno/[email protected]': {}
@@ -18721,9 +18697,9 @@ snapshots:
eslint: 8.57.1
eslint-visitor-keys: 3.4.3
dependencies:
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
eslint-visitor-keys: 3.4.3
'@eslint-community/[email protected]': {}
@@ -22875,9 +22851,9 @@ snapshots:
react: 19.2.4
react-dom: 19.2.4([email protected])
dependencies:
storybook: 8.6.18([email protected])
ts-dedent: 2.3.0
@@ -22907,7 +22883,7 @@ snapshots:
- supports-color
- utf-8-validate
dependencies:
storybook: 8.6.18([email protected])
unplugin: 2.3.11
@@ -23926,15 +23902,15 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@eslint-community/regexpp': 4.12.2
- '@typescript-eslint/parser': 8.62.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.62.1([email protected]([email protected]))([email protected])
'@typescript-eslint/scope-manager': 8.62.1
- '@typescript-eslint/type-utils': 8.62.1([email protected]([email protected]))([email protected])
- '@typescript-eslint/utils': 8.62.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/type-utils': 8.62.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.62.1([email protected]([email protected]))([email protected])
'@typescript-eslint/visitor-keys': 8.62.1
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
ignore: 7.0.6
natural-compare: 1.4.0
ts-api-utils: 2.5.0([email protected])
@@ -23954,14 +23930,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@typescript-eslint/scope-manager': 8.62.1
'@typescript-eslint/types': 8.62.1
'@typescript-eslint/typescript-estree': 8.62.1([email protected])
'@typescript-eslint/visitor-keys': 8.62.1
debug: 4.4.3([email protected])
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -24001,13 +23977,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@typescript-eslint/types': 8.62.1
'@typescript-eslint/typescript-estree': 8.62.1([email protected])
- '@typescript-eslint/utils': 8.62.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.62.1([email protected]([email protected]))([email protected])
debug: 4.4.3([email protected])
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
ts-api-utils: 2.5.0([email protected])
typescript: 5.9.3
transitivePeerDependencies:
@@ -24061,13 +24037,13 @@ snapshots:
- supports-color
- typescript
dependencies:
- '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
'@typescript-eslint/scope-manager': 8.62.1
'@typescript-eslint/types': 8.62.1
'@typescript-eslint/typescript-estree': 8.62.1([email protected])
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -24312,14 +24288,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@babel/core': 7.29.7
'@babel/plugin-transform-react-jsx-self': 7.29.7(@babel/[email protected])
'@babel/plugin-transform-react-jsx-source': 7.29.7(@babel/[email protected])
'@types/babel__core': 7.20.5
react-refresh: 0.17.0
transitivePeerDependencies:
- supports-color
@@ -24338,7 +24314,7 @@ snapshots:
std-env: 3.10.0
test-exclude: 7.0.2
tinyrainbow: 2.0.0
transitivePeerDependencies:
- supports-color
@@ -24372,21 +24348,13 @@ snapshots:
optionalDependencies:
- dependencies:
- '@vitest/spy': 3.2.6
- estree-walker: 3.0.3
- magic-string: 0.30.21
- optionalDependencies:
-
dependencies:
'@vitest/spy': 3.2.6
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
dependencies:
@@ -24452,7 +24420,7 @@ snapshots:
sirv: 3.0.2
tinyglobby: 0.2.17
tinyrainbow: 2.0.0
'@vitest/[email protected]':
dependencies:
@@ -25084,6 +25052,13 @@ snapshots:
pvutils: 1.1.5
tslib: 2.8.1
+ dependencies:
+ ws: 8.21.0
+ transitivePeerDependencies:
+ - bufferutil
+ - utf-8-validate
+
@@ -26116,8 +26091,6 @@ snapshots:
'@deno/shim-deno': 0.19.2
undici-types: 5.28.4
-
optionalDependencies:
drizzle-orm: 0.44.6(@cloudflare/[email protected])(@opentelemetry/[email protected])(@planetscale/[email protected])([email protected])([email protected](@types/[email protected]))
@@ -26798,18 +26771,18 @@ snapshots:
- eslint-plugin-import-x
- supports-color
dependencies:
'@next/eslint-plugin-next': 16.2.1
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
eslint-import-resolver-node: 0.3.10
- eslint-plugin-jsx-a11y: 6.10.2([email protected]([email protected]))
- eslint-plugin-react: 7.37.5([email protected]([email protected]))
- eslint-plugin-react-hooks: 7.1.1([email protected]([email protected]))
+ eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected]))
+ eslint-plugin-jsx-a11y: 6.10.2([email protected]([email protected]))
+ eslint-plugin-react: 7.37.5([email protected]([email protected]))
+ eslint-plugin-react-hooks: 7.1.1([email protected]([email protected]))
globals: 16.4.0
optionalDependencies:
typescript: 5.9.3
transitivePeerDependencies:
@@ -26835,33 +26808,33 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@nolyfill/is-core-module': 1.0.39
debug: 4.4.3([email protected])
- eslint: 9.39.4([email protected])
+ eslint: 8.57.1
get-tsconfig: 4.14.0
is-bun-module: 2.0.0
stable-hash: 0.0.5
tinyglobby: 0.2.17
unrs-resolver: 1.12.2
optionalDependencies:
transitivePeerDependencies:
- supports-color
dependencies:
'@nolyfill/is-core-module': 1.0.39
debug: 4.4.3([email protected])
- eslint: 8.57.1
+ eslint: 9.39.4([email protected])
get-tsconfig: 4.14.0
is-bun-module: 2.0.0
stable-hash: 0.0.5
tinyglobby: 0.2.17
unrs-resolver: 1.12.2
optionalDependencies:
transitivePeerDependencies:
- supports-color
@@ -26876,14 +26849,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
- '@typescript-eslint/parser': 8.62.1([email protected]([email protected]))([email protected])
- eslint: 9.39.4([email protected])
+ '@typescript-eslint/parser': 8.62.1([email protected]([email protected]))([email protected])
+ eslint: 9.39.4([email protected])
eslint-import-resolver-node: 0.3.10
+ eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected]))
transitivePeerDependencies:
- supports-color
@@ -26916,7 +26889,7 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.9
@@ -26925,9 +26898,9 @@ snapshots:
array.prototype.flatmap: 1.3.3
debug: 3.2.7
doctrine: 2.1.0
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
eslint-import-resolver-node: 0.3.10
hasown: 2.0.4
is-core-module: 2.16.2
is-glob: 4.0.3
@@ -26939,7 +26912,7 @@ snapshots:
string.prototype.trimend: 1.0.10
tsconfig-paths: 3.15.0
optionalDependencies:
- '@typescript-eslint/parser': 8.62.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.62.1([email protected]([email protected]))([email protected])
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
@@ -26964,7 +26937,7 @@ snapshots:
safe-regex-test: 1.1.0
string.prototype.includes: 2.0.1
dependencies:
aria-query: 5.3.2
array-includes: 3.1.9
@@ -26974,7 +26947,7 @@ snapshots:
axobject-query: 4.1.0
damerau-levenshtein: 1.0.8
emoji-regex: 9.2.2
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
hasown: 2.0.4
jsx-ast-utils: 3.3.5
language-tags: 1.0.9
@@ -26995,11 +26968,11 @@ snapshots:
dependencies:
eslint: 8.57.1
dependencies:
'@babel/core': 7.29.7
'@babel/parser': 7.29.7
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
hermes-parser: 0.25.1
zod: 3.25.76
zod-validation-error: 4.0.2([email protected])
@@ -27028,7 +27001,7 @@ snapshots:
string.prototype.matchall: 4.0.12
string.prototype.repeat: 1.0.0
dependencies:
array-includes: 3.1.9
array.prototype.findlast: 1.2.5
@@ -27036,7 +27009,7 @@ snapshots:
array.prototype.tosorted: 1.1.4
doctrine: 2.1.0
es-iterator-helpers: 1.3.3
- eslint: 9.39.4([email protected])
+ eslint: 9.39.4([email protected])
estraverse: 5.3.0
hasown: 2.0.4
jsx-ast-utils: 3.3.5
@@ -27185,9 +27158,9 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.9.1([email protected]([email protected]))
'@eslint-community/regexpp': 4.12.2
'@eslint/config-array': 0.21.2
'@eslint/config-helpers': 0.4.2
@@ -27222,7 +27195,7 @@ snapshots:
natural-compare: 1.4.0
optionator: 0.9.4
optionalDependencies:
- jiti: 2.7.0
+ jiti: 1.21.7
transitivePeerDependencies:
- supports-color
@@ -32815,7 +32788,7 @@ snapshots:
dependencies:
'@storybook/types': 9.0.0-alpha.1([email protected]([email protected]))
magic-string: 0.30.21
solid-js: 1.9.13
@@ -33501,13 +33474,13 @@ snapshots:
dependencies:
- '@typescript-eslint/parser': 8.62.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.62.1([email protected]([email protected]))([email protected])
'@typescript-eslint/typescript-estree': 8.62.1([email protected])
- '@typescript-eslint/utils': 8.62.1([email protected]([email protected]))([email protected])
- eslint: 9.39.4([email protected])
+ '@typescript-eslint/utils': 8.62.1([email protected]([email protected]))([email protected])
+ eslint: 9.39.4([email protected])
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
@@ -34144,34 +34117,13 @@ snapshots:
- supports-color
- terser
- dependencies:
- cac: 6.7.14
- debug: 4.4.3([email protected])
- es-module-lexer: 1.7.0
- pathe: 2.0.3
- transitivePeerDependencies:
- - '@types/node'
- - jiti
- - less
- - lightningcss
- - sass
- - sass-embedded
- - stylus
- - sugarss
- - supports-color
- - terser
- - tsx
- - yaml
-
dependencies:
cac: 6.7.14
debug: 4.4.3([email protected])
es-module-lexer: 1.7.0
pathe: 2.0.3
transitivePeerDependencies:
- '@types/node'
- jiti
@@ -34270,7 +34222,7 @@ snapshots:
lightningcss: 1.32.0
terser: 5.48.0
dependencies:
esbuild: 0.25.12
fdir: 6.5.0([email protected])
@@ -34281,12 +34233,12 @@ snapshots:
optionalDependencies:
'@types/node': 20.19.43
fsevents: 2.3.3
- jiti: 2.7.0
+ jiti: 1.21.7
lightningcss: 1.32.0
terser: 5.48.0
yaml: 2.9.0
dependencies:
esbuild: 0.25.12
fdir: 6.5.0([email protected])
@@ -34295,9 +34247,9 @@ snapshots:
rollup: 4.62.2
tinyglobby: 0.2.17
optionalDependencies:
- '@types/node': 22.20.0
+ '@types/node': 20.19.43
fsevents: 2.3.3
- jiti: 1.21.7
+ jiti: 2.7.0
lightningcss: 1.32.0
terser: 5.48.0
yaml: 2.9.0
@@ -34374,11 +34326,11 @@ snapshots:
- supports-color
- terser
dependencies:
'@types/chai': 5.2.3
'@vitest/expect': 3.2.6
'@vitest/pretty-format': 3.2.6
'@vitest/runner': 3.2.6
'@vitest/snapshot': 3.2.6
@@ -34396,8 +34348,8 @@ snapshots:
tinyglobby: 0.2.17
tinypool: 1.1.1
tinyrainbow: 2.0.0
why-is-node-running: 2.3.0
optionalDependencies:
'@types/debug': 4.1.13
@@ -34418,50 +34370,6 @@ snapshots:
- tsx
- yaml
- dependencies:
- '@types/chai': 5.2.3
- '@vitest/expect': 3.2.6
- '@vitest/pretty-format': 3.2.6
- '@vitest/runner': 3.2.6
- '@vitest/snapshot': 3.2.6
- '@vitest/spy': 3.2.6
- '@vitest/utils': 3.2.6
- chai: 5.3.3
- debug: 4.4.3([email protected])
- expect-type: 1.4.0
- magic-string: 0.30.21
- pathe: 2.0.3
- picomatch: 4.0.4
- std-env: 3.10.0
- tinybench: 2.9.0
- tinyexec: 0.3.2
- tinyglobby: 0.2.17
- tinypool: 1.1.1
- tinyrainbow: 2.0.0
- why-is-node-running: 2.3.0
- optionalDependencies:
- '@types/debug': 4.1.13
- '@types/node': 22.20.0
- '@vitest/ui': 3.2.6([email protected])
- jsdom: 26.1.0
- transitivePeerDependencies:
- - jiti
- - less
- - lightningcss
- - msw
- - sass
- - sass-embedded
- - stylus
- - sugarss
- - supports-color
- - terser
- - tsx
- - yaml
-
dependencies:
'@types/chai': 5.2.3