From f32133eed552a1c33153b793a24de88d7cabbe34 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 07:34:25 -0700 Subject: [PATCH 01/38] Small cleanup --- apps/chat/components/prompt-form.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/chat/components/prompt-form.tsx b/apps/chat/components/prompt-form.tsx index 9a424f803..1d8aa8dbb 100644 --- a/apps/chat/components/prompt-form.tsx +++ b/apps/chat/components/prompt-form.tsx @@ -272,8 +272,6 @@ export function PromptForm({ className={cn("flex justify-start relative rounded bg-background mx-2 p-2 overflow-hidden")} onClick={async () => { if (!screenSource) { - // list the available mics - const devices = await navigator.mediaDevices.enumerateDevices(); // console.log('got devices', devices); // const videoInputDevices = devices.filter((device) => device.kind === 'videoinput'); const mediaStream = await navigator.mediaDevices.getDisplayMedia({ From 80eb0a5d91b76a0aa1aba25b506d01a48ef3a887 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:27:18 -0700 Subject: [PATCH 02/38] Break out reat agents client to builder and runtime --- apps/chat/app/new/editor.tsx | 3 +- .../packages/react-agents-client/builder.ts | 253 ++++++++++++++++++ .../packages/react-agents-client/runtime.ts | 126 +++++++++ 3 files changed, 381 insertions(+), 1 deletion(-) create mode 100644 packages/usdk/packages/upstreet-agent/packages/react-agents-client/builder.ts create mode 100644 packages/usdk/packages/upstreet-agent/packages/react-agents-client/runtime.ts diff --git a/apps/chat/app/new/editor.tsx b/apps/chat/app/new/editor.tsx index 72d752d7b..aed2ebcc7 100644 --- a/apps/chat/app/new/editor.tsx +++ b/apps/chat/app/new/editor.tsx @@ -45,7 +45,8 @@ import { env } from '@/lib/env' import { makeAgentSourceCode } from 'react-agents/util/agent-source-code-formatter.mjs'; import { currencies, intervals } from 'react-agents/constants.mjs'; import type { FetchableWorker } from 'react-agents-client/types'; -import { buildAgentSrc, ReactAgentsWorker } from 'react-agents-client'; +import { buildAgentSrc } from 'react-agents-client/builder'; +import { ReactAgentsWorker } from 'react-agents-client/runtime'; import { IconButton } from 'ucom'; // diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents-client/builder.ts b/packages/usdk/packages/upstreet-agent/packages/react-agents-client/builder.ts new file mode 100644 index 000000000..d297293e1 --- /dev/null +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents-client/builder.ts @@ -0,0 +1,253 @@ +import path from 'path'; +import * as esbuild from 'esbuild-wasm'; +import { FetchOpts } from './types'; +import { + SUPABASE_URL, + SUPABASE_PUBLIC_API_KEY, +} from './secrets.mjs'; + +const ensureEsbuild = (() => { + let esBuildPromise: Promise | null = null; + return () => { + if (!esBuildPromise) { + esBuildPromise = (async () => { + try { + const u = new URL('esbuild-wasm/esbuild.wasm', import.meta.url); + await esbuild.initialize({ + worker: true, + wasmURL: u.href, + }); + } catch (err) { + console.warn('failed to initialize esbuild', err); + } + })(); + } + return esBuildPromise; + }; +})(); +const defaultFiles = [ + { + path: '/example.ts', + content: `\ + export const example = 'This is an example module'; + `, + }, +]; + +// + +export const buildAgentSrc = async (sourceCode: string, { + files = defaultFiles, +} = {}) => { + await ensureEsbuild(); + + const fileMap = new Map(files.map(file => [file.path, file.content])); + const filesNamespace = 'files'; + const globalImportMap = new Map(Array.from(Object.entries({ + 'react': 'React', + 'zod': 'zod', + 'react-agents': 'ReactAgents', + }))); + const globalNamespace = 'globals'; + + const result = await esbuild.build({ + stdin: { + contents: sourceCode, + resolveDir: '/', // Optional: helps with resolving imports + sourcefile: 'app.tsx', // Optional: helps with error messages + loader: 'tsx', // Set the appropriate loader based on the source type + }, + bundle: true, + outdir: 'dist', + format: 'esm', + plugins: [ + { + name: 'globals-plugin', + setup(build) { + build.onResolve({ filter: /.*/ }, (args) => { + const p = args.path; + const globalName = globalImportMap.get(p); + // console.log('got resolve', {args, p, globalName}); + if (globalName) { + return { path: p, namespace: globalNamespace }; + } + return null; // Continue with the default resolution + }); + build.onLoad({ filter: /.*/, namespace: globalNamespace }, (args) => { + const p = args.path; + const globalName = globalImportMap.get(p); + // console.log('got load', {args, p, globalName}); + if (globalName) { + return { + // globalImports is initialized by the worker wrapper + contents: `module.exports = globalImports[${JSON.stringify(globalName)}];`, + loader: 'js', + }; + } + return null; // Continue with the default loading + }); + }, + }, + { + name: 'files-plugin', + setup(build) { + build.onResolve({ filter: /.*/ }, (args) => { + const p = path.resolve(args.resolveDir, args.path); + // console.log('got resolve', {args, p}); + if (fileMap.has(p)) { + return { path: p, namespace: filesNamespace }; + } + return null; // Continue with the default resolution + }); + build.onLoad({ filter: /.*/, namespace: filesNamespace }, (args) => { + // console.log('got load', args); + const p = args.path; + const contents = fileMap.get(p); + if (contents) { + return { contents, loader: 'tsx' }; + } + return null; // Continue with the default loading + }); + }, + }, + ], + }); + const { + errors = [], + outputFiles = [], + } = result; + if (errors.length === 0) { + const outputFile = outputFiles[0]; + // console.log('got output file', outputFile); + const { contents } = outputFile; + const textDecoder = new TextDecoder(); + const text = textDecoder.decode(contents); + // console.log('got contents'); + // console.log(text); + return text; + } else { + console.warn('build errors: ', errors); + throw new Error('Failed to build: ' + JSON.stringify(errors)); + } +}; + +// + +export class ReactAgentsWorker { + worker: Worker; + constructor({ + agentJson, + agentSrc, + apiKey, + mnemonic, + }: { + agentJson: any, + agentSrc: string, + apiKey: string, + mnemonic: string, + }) { + if ( + !agentJson || + !agentSrc || + !apiKey || + !mnemonic + ) { + throw new Error('missing required options'); + } + + console.log('got agent src', agentSrc); + + this.worker = new Worker(new URL('./worker.ts', import.meta.url)); + + const env = { + AGENT_JSON: JSON.stringify(agentJson), + AGENT_TOKEN: apiKey, + WALLET_MNEMONIC: mnemonic, + SUPABASE_URL, + SUPABASE_PUBLIC_API_KEY, + WORKER_ENV: 'development', // 'production', + }; + console.log('starting worker with env:', env); + this.worker.postMessage({ + method: 'initDurableObject', + args: { + env, + agentSrc, + }, + }); + this.worker.addEventListener('error', e => { + console.warn('got error', e); + }); + } + // addEventListener(...args: Parameters) { + // return this.worker.addEventListener(...args); + // } + // removeEventListener(...args: Parameters) { + // return this.worker.removeEventListener(...args); + // } + async fetch(url: string, opts: FetchOpts) { + const requestId = crypto.randomUUID(); + const { + method, headers, body, + } = opts; + this.worker.postMessage({ + method: 'request', + args: { + id: requestId, + url, + method, + headers, + body, + }, + }, []); + const res = await new Promise((accept, reject) => { + const onmessage = (e: MessageEvent) => { + // console.log('got worker message data', e.data); + try { + const { method } = e.data; + switch (method) { + case 'response': { + const { args } = e.data; + const { + id: responseId, + } = args; + if (responseId === requestId) { + cleanup(); + + const { + error, status, headers, body, + } = args; + if (!error) { + const res = new Response(body, { + status, + headers, + }); + accept(res); + } else { + reject(new Error(error)); + } + } + break; + } + default: { + console.warn('unhandled worker message method', e.data); + break; + } + } + } catch (err) { + console.error('failed to handle worker message', err); + reject(err); + } + }; + this.worker.addEventListener('message', onmessage); + + const cleanup = () => { + this.worker.removeEventListener('message', onmessage); + }; + }); + return res; + } + terminate() { + this.worker.terminate(); + } +} \ No newline at end of file diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents-client/runtime.ts b/packages/usdk/packages/upstreet-agent/packages/react-agents-client/runtime.ts new file mode 100644 index 000000000..a7fc88fcc --- /dev/null +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents-client/runtime.ts @@ -0,0 +1,126 @@ +import { FetchOpts } from './types'; +import { + SUPABASE_URL, + SUPABASE_PUBLIC_API_KEY, +} from './secrets.mjs'; + +// + +export class ReactAgentsWorker { + worker: Worker; + constructor({ + agentJson, + agentSrc, + apiKey, + mnemonic, + }: { + agentJson: any, + agentSrc: string, + apiKey: string, + mnemonic: string, + }) { + if ( + !agentJson || + !agentSrc || + !apiKey || + !mnemonic + ) { + throw new Error('missing required options'); + } + + console.log('got agent src', agentSrc); + + this.worker = new Worker(new URL('./worker.ts', import.meta.url)); + + const env = { + AGENT_JSON: JSON.stringify(agentJson), + AGENT_TOKEN: apiKey, + WALLET_MNEMONIC: mnemonic, + SUPABASE_URL, + SUPABASE_PUBLIC_API_KEY, + WORKER_ENV: 'development', // 'production', + }; + console.log('starting worker with env:', env); + this.worker.postMessage({ + method: 'initDurableObject', + args: { + env, + agentSrc, + }, + }); + this.worker.addEventListener('error', e => { + console.warn('got error', e); + }); + } + // addEventListener(...args: Parameters) { + // return this.worker.addEventListener(...args); + // } + // removeEventListener(...args: Parameters) { + // return this.worker.removeEventListener(...args); + // } + async fetch(url: string, opts: FetchOpts) { + const requestId = crypto.randomUUID(); + const { + method, headers, body, + } = opts; + this.worker.postMessage({ + method: 'request', + args: { + id: requestId, + url, + method, + headers, + body, + }, + }, []); + const res = await new Promise((accept, reject) => { + const onmessage = (e: MessageEvent) => { + // console.log('got worker message data', e.data); + try { + const { method } = e.data; + switch (method) { + case 'response': { + const { args } = e.data; + const { + id: responseId, + } = args; + if (responseId === requestId) { + cleanup(); + + const { + error, status, headers, body, + } = args; + if (!error) { + const res = new Response(body, { + status, + headers, + }); + accept(res); + } else { + reject(new Error(error)); + } + } + break; + } + default: { + console.warn('unhandled worker message method', e.data); + break; + } + } + } catch (err) { + console.error('failed to handle worker message', err); + reject(err); + } + }; + this.worker.addEventListener('message', onmessage); + + const cleanup = () => { + this.worker.removeEventListener('message', onmessage); + }; + }); + return res; + } + terminate() { + this.worker.terminate(); + } +} \ No newline at end of file From 03ece835c1baa2591ee6f7b9c04606f9dc423e18 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:27:41 -0700 Subject: [PATCH 03/38] More react agents client work --- .../react-agents-client.ts | 259 +----------------- 1 file changed, 11 insertions(+), 248 deletions(-) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents-client/react-agents-client.ts b/packages/usdk/packages/upstreet-agent/packages/react-agents-client/react-agents-client.ts index d297293e1..9326d7644 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents-client/react-agents-client.ts +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents-client/react-agents-client.ts @@ -1,253 +1,16 @@ -import path from 'path'; -import * as esbuild from 'esbuild-wasm'; -import { FetchOpts } from './types'; -import { - SUPABASE_URL, - SUPABASE_PUBLIC_API_KEY, -} from './secrets.mjs'; - -const ensureEsbuild = (() => { - let esBuildPromise: Promise | null = null; - return () => { - if (!esBuildPromise) { - esBuildPromise = (async () => { - try { - const u = new URL('esbuild-wasm/esbuild.wasm', import.meta.url); - await esbuild.initialize({ - worker: true, - wasmURL: u.href, - }); - } catch (err) { - console.warn('failed to initialize esbuild', err); - } - })(); - } - return esBuildPromise; - }; -})(); -const defaultFiles = [ - { - path: '/example.ts', - content: `\ - export const example = 'This is an example module'; - `, - }, -]; - -// - -export const buildAgentSrc = async (sourceCode: string, { - files = defaultFiles, -} = {}) => { - await ensureEsbuild(); - - const fileMap = new Map(files.map(file => [file.path, file.content])); - const filesNamespace = 'files'; - const globalImportMap = new Map(Array.from(Object.entries({ - 'react': 'React', - 'zod': 'zod', - 'react-agents': 'ReactAgents', - }))); - const globalNamespace = 'globals'; - - const result = await esbuild.build({ - stdin: { - contents: sourceCode, - resolveDir: '/', // Optional: helps with resolving imports - sourcefile: 'app.tsx', // Optional: helps with error messages - loader: 'tsx', // Set the appropriate loader based on the source type - }, - bundle: true, - outdir: 'dist', - format: 'esm', - plugins: [ - { - name: 'globals-plugin', - setup(build) { - build.onResolve({ filter: /.*/ }, (args) => { - const p = args.path; - const globalName = globalImportMap.get(p); - // console.log('got resolve', {args, p, globalName}); - if (globalName) { - return { path: p, namespace: globalNamespace }; - } - return null; // Continue with the default resolution - }); - build.onLoad({ filter: /.*/, namespace: globalNamespace }, (args) => { - const p = args.path; - const globalName = globalImportMap.get(p); - // console.log('got load', {args, p, globalName}); - if (globalName) { - return { - // globalImports is initialized by the worker wrapper - contents: `module.exports = globalImports[${JSON.stringify(globalName)}];`, - loader: 'js', - }; - } - return null; // Continue with the default loading - }); - }, - }, - { - name: 'files-plugin', - setup(build) { - build.onResolve({ filter: /.*/ }, (args) => { - const p = path.resolve(args.resolveDir, args.path); - // console.log('got resolve', {args, p}); - if (fileMap.has(p)) { - return { path: p, namespace: filesNamespace }; - } - return null; // Continue with the default resolution - }); - build.onLoad({ filter: /.*/, namespace: filesNamespace }, (args) => { - // console.log('got load', args); - const p = args.path; - const contents = fileMap.get(p); - if (contents) { - return { contents, loader: 'tsx' }; - } - return null; // Continue with the default loading - }); - }, - }, - ], - }); - const { - errors = [], - outputFiles = [], - } = result; - if (errors.length === 0) { - const outputFile = outputFiles[0]; - // console.log('got output file', outputFile); - const { contents } = outputFile; - const textDecoder = new TextDecoder(); - const text = textDecoder.decode(contents); - // console.log('got contents'); - // console.log(text); - return text; - } else { - console.warn('build errors: ', errors); - throw new Error('Failed to build: ' + JSON.stringify(errors)); - } -}; +// import path from 'path'; +// import * as esbuild from 'esbuild-wasm'; +// import { FetchOpts } from './types'; +// import { +// SUPABASE_URL, +// SUPABASE_PUBLIC_API_KEY, +// } from './secrets.mjs'; // -export class ReactAgentsWorker { - worker: Worker; - constructor({ - agentJson, - agentSrc, - apiKey, - mnemonic, - }: { - agentJson: any, - agentSrc: string, - apiKey: string, - mnemonic: string, - }) { - if ( - !agentJson || - !agentSrc || - !apiKey || - !mnemonic - ) { - throw new Error('missing required options'); - } - - console.log('got agent src', agentSrc); - - this.worker = new Worker(new URL('./worker.ts', import.meta.url)); - - const env = { - AGENT_JSON: JSON.stringify(agentJson), - AGENT_TOKEN: apiKey, - WALLET_MNEMONIC: mnemonic, - SUPABASE_URL, - SUPABASE_PUBLIC_API_KEY, - WORKER_ENV: 'development', // 'production', - }; - console.log('starting worker with env:', env); - this.worker.postMessage({ - method: 'initDurableObject', - args: { - env, - agentSrc, - }, - }); - this.worker.addEventListener('error', e => { - console.warn('got error', e); - }); - } - // addEventListener(...args: Parameters) { - // return this.worker.addEventListener(...args); - // } - // removeEventListener(...args: Parameters) { - // return this.worker.removeEventListener(...args); - // } - async fetch(url: string, opts: FetchOpts) { - const requestId = crypto.randomUUID(); - const { - method, headers, body, - } = opts; - this.worker.postMessage({ - method: 'request', - args: { - id: requestId, - url, - method, - headers, - body, - }, - }, []); - const res = await new Promise((accept, reject) => { - const onmessage = (e: MessageEvent) => { - // console.log('got worker message data', e.data); - try { - const { method } = e.data; - switch (method) { - case 'response': { - const { args } = e.data; - const { - id: responseId, - } = args; - if (responseId === requestId) { - cleanup(); - - const { - error, status, headers, body, - } = args; - if (!error) { - const res = new Response(body, { - status, - headers, - }); - accept(res); - } else { - reject(new Error(error)); - } - } - break; - } - default: { - console.warn('unhandled worker message method', e.data); - break; - } - } - } catch (err) { - console.error('failed to handle worker message', err); - reject(err); - } - }; - this.worker.addEventListener('message', onmessage); - - const cleanup = () => { - this.worker.removeEventListener('message', onmessage); - }; - }); - return res; - } - terminate() { - this.worker.terminate(); +export class ReactAgentsClient { + ref: string; + constructor(ref: string) { + this.ref = ref; } } \ No newline at end of file From 73f31824eb5e2785c3bcb9ff5e63ac0356f99b84 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:35:53 -0700 Subject: [PATCH 04/38] Move multiplayer install to codecs --- packages/usdk/package.json | 2 +- packages/usdk/packages/upstreet-agent/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/usdk/package.json b/packages/usdk/package.json index b7a585bef..d460b6051 100644 --- a/packages/usdk/package.json +++ b/packages/usdk/package.json @@ -37,6 +37,7 @@ "ansi-escapes": "^7.0.0", "chalk": "^5.3.0", "cli-table3": "^0.6.4", + "codecs": "file:./packages/upstreet-agent/packages/react-agents/lib/codecs", "commander": "^12.0.0", "cookie": "^0.6.0", "dedent": "^1.5.3", @@ -49,7 +50,6 @@ "jimp": "^0.22.12", "jszip": "^3.10.1", "memoize-one": "^6.0.0", - "multiplayer": "file:./packages/upstreet-agent/packages/react-agents/lib/multiplayer", "mime": "^4.0.1", "mkdirp": "^3.0.1", "open": "^10.1.0", diff --git a/packages/usdk/packages/upstreet-agent/package.json b/packages/usdk/packages/upstreet-agent/package.json index a3c4d0fb7..fcbe439ec 100644 --- a/packages/usdk/packages/upstreet-agent/package.json +++ b/packages/usdk/packages/upstreet-agent/package.json @@ -7,6 +7,7 @@ "@tsndr/cloudflare-worker-jwt": "2.5.3", "@types/react": "^18.3.3", "browser-util-inspect": "^0.2.0", + "codecs": "file:./packages/react-agents/lib/codecs", "dedent": "^1.5.3", "ethers": "^6.12.0", "format-util": "^1.0.5", @@ -15,7 +16,6 @@ "jimp": "^0.22.12", "memoize-one": "^6.0.0", "minimatch": "^9.0.4", - "multiplayer": "file:./packages/react-agents/lib/multiplayer", "openai": "^4.56.0", "react": "^19.0.0-rc-df5f2736-20240712", "react-agents": "file:./packages/react-agents", From b834fb110dbd13e39df41529b063ae5cc1eda88f Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:40:31 -0700 Subject: [PATCH 05/38] Fix audio-worker references --- .../multiplayer/public/audio-worker/ws-mp3-decoder-worker.mjs | 4 ++-- .../lib/multiplayer/public/audio-worker/ws-opus-codec.mjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-decoder-worker.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-decoder-worker.mjs index 4d907ae6a..55b289de4 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-decoder-worker.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-decoder-worker.mjs @@ -1,5 +1,5 @@ -import MPEGDecoder from '../audio-worker/mpg123-decoder/src/MPEGDecoder.fetch.js'; -import { makeMp3Decoder } from '../audio-worker/ws-mp3-decoder.mjs'; +import MPEGDecoder from './mpg123-decoder/src/MPEGDecoder.fetch.js'; +import { makeMp3Decoder } from './ws-mp3-decoder.mjs'; const WsMp3Decoder = makeMp3Decoder(MPEGDecoder); const codec = new WsMp3Decoder(); diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-opus-codec.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-opus-codec.mjs index 0f42edd01..b152df0e7 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-opus-codec.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-opus-codec.mjs @@ -1,4 +1,4 @@ -import {channelCount, /*sampleRate, */ bitrate, frameSize, voiceOptimization} from '../audio-worker/ws-constants.mjs'; +import {channelCount, /*sampleRate, */ bitrate, frameSize, voiceOptimization} from './ws-constants.mjs'; import { QueueManager } from '../../../../util/queue-manager.mjs'; import { floatTo16Bit, int16ToFloat32 } from './convert.mjs'; From ed6025c4a70b660fac621e89ce76a5f234b90790 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:41:50 -0700 Subject: [PATCH 06/38] Move ws-codec-runtime files to audio-worker --- .../public/{audio => audio-worker}/ws-codec-runtime-edge.mjs | 0 .../public/{audio => audio-worker}/ws-codec-runtime-fs.mjs | 0 .../public/{audio => audio-worker}/ws-codec-runtime-worker.mjs | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/{audio => audio-worker}/ws-codec-runtime-edge.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/{audio => audio-worker}/ws-codec-runtime-fs.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/{audio => audio-worker}/ws-codec-runtime-worker.mjs (100%) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec-runtime-edge.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec-runtime-edge.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec-runtime-fs.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-fs.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec-runtime-fs.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-fs.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec-runtime-worker.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec-runtime-worker.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs From 27fe792891576d1269823a77c330e00f0dad6ee5 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:43:05 -0700 Subject: [PATCH 07/38] More audio-worker paths fixing --- .../public/audio-worker/ws-codec-runtime-edge.mjs | 10 +++++----- .../public/audio-worker/ws-codec-runtime-fs.mjs | 10 +++++----- .../public/audio-worker/ws-codec-runtime-worker.mjs | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs index 81fd45a81..983320e58 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs @@ -1,9 +1,9 @@ -import libopus from '../audio-worker/libopusjs/libopus.wasm.js'; -import { makeOpusCodec } from '../audio-worker/ws-opus-codec.mjs'; +import libopus from './libopusjs/libopus.wasm.js'; +import { makeOpusCodec } from './ws-opus-codec.mjs'; export const WsOpusCodec = makeOpusCodec(libopus); -export { WsMp3Encoder } from '../audio-worker/ws-mp3-encoder.mjs'; +export { WsMp3Encoder } from './ws-mp3-encoder.mjs'; -import MPEGDecoder from '../audio-worker/mpg123-decoder/src/MPEGDecoder.js'; -import { makeMp3Decoder } from '../audio-worker/ws-mp3-decoder.mjs'; +import MPEGDecoder from './mpg123-decoder/src/MPEGDecoder.js'; +import { makeMp3Decoder } from './ws-mp3-decoder.mjs'; export const WsMp3Decoder = makeMp3Decoder(MPEGDecoder); \ No newline at end of file diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-fs.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-fs.mjs index 1fe53626d..a8d130a4d 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-fs.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-fs.mjs @@ -1,9 +1,9 @@ -import libopus from '../audio-worker/libopusjs/libopus.wasm.fs.js'; -import { makeOpusCodec } from '../audio-worker/ws-opus-codec.mjs'; +import libopus from './libopusjs/libopus.wasm.fs.js'; +import { makeOpusCodec } from './ws-opus-codec.mjs'; export const WsOpusCodec = makeOpusCodec(libopus); -export { WsMp3Encoder } from '../audio-worker/ws-mp3-encoder.mjs'; +export { WsMp3Encoder } from './ws-mp3-encoder.mjs'; -import MPEGDecoder from '../audio-worker/mpg123-decoder/src/MPEGDecoder.fs.js'; -import { makeMp3Decoder } from '../audio-worker/ws-mp3-decoder.mjs'; +import MPEGDecoder from './mpg123-decoder/src/MPEGDecoder.fs.js'; +import { makeMp3Decoder } from './ws-mp3-decoder.mjs'; export const WsMp3Decoder = makeMp3Decoder(MPEGDecoder); \ No newline at end of file diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs index b42dc73a6..929465afb 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs @@ -1,6 +1,6 @@ export class WsOpusCodec { constructor() { - this.worker = new Worker(new URL(`../audio-worker/ws-opus-codec-worker.js`, import.meta.url), { + this.worker = new Worker(new URL(`./ws-opus-codec-worker.js`, import.meta.url), { type: 'module', }); } @@ -19,7 +19,7 @@ export class WsOpusCodec { } export class WsMp3Encoder { constructor() { - this.worker = new Worker(new URL(`../audio-worker/ws-mp3-encoder-worker.mjs`, import.meta.url), { + this.worker = new Worker(new URL(`./ws-mp3-encoder-worker.mjs`, import.meta.url), { type: 'module', }); } @@ -39,7 +39,7 @@ export class WsMp3Encoder { export class WsMp3Decoder { constructor() { - this.worker = new Worker(new URL(`../audio-worker/ws-mp3-decoder-worker.mjs`, import.meta.url), { + this.worker = new Worker(new URL(`./ws-mp3-decoder-worker.mjs`, import.meta.url), { type: 'module', }); } From 89a72c30e7c8885723bfbf064c0068b1a2e1f9cc Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:44:01 -0700 Subject: [PATCH 08/38] Revert "Move multiplayer install to codecs" This reverts commit 73f31824eb5e2785c3bcb9ff5e63ac0356f99b84. --- packages/usdk/package.json | 2 +- packages/usdk/packages/upstreet-agent/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/usdk/package.json b/packages/usdk/package.json index d460b6051..b7a585bef 100644 --- a/packages/usdk/package.json +++ b/packages/usdk/package.json @@ -37,7 +37,6 @@ "ansi-escapes": "^7.0.0", "chalk": "^5.3.0", "cli-table3": "^0.6.4", - "codecs": "file:./packages/upstreet-agent/packages/react-agents/lib/codecs", "commander": "^12.0.0", "cookie": "^0.6.0", "dedent": "^1.5.3", @@ -50,6 +49,7 @@ "jimp": "^0.22.12", "jszip": "^3.10.1", "memoize-one": "^6.0.0", + "multiplayer": "file:./packages/upstreet-agent/packages/react-agents/lib/multiplayer", "mime": "^4.0.1", "mkdirp": "^3.0.1", "open": "^10.1.0", diff --git a/packages/usdk/packages/upstreet-agent/package.json b/packages/usdk/packages/upstreet-agent/package.json index fcbe439ec..a3c4d0fb7 100644 --- a/packages/usdk/packages/upstreet-agent/package.json +++ b/packages/usdk/packages/upstreet-agent/package.json @@ -7,7 +7,6 @@ "@tsndr/cloudflare-worker-jwt": "2.5.3", "@types/react": "^18.3.3", "browser-util-inspect": "^0.2.0", - "codecs": "file:./packages/react-agents/lib/codecs", "dedent": "^1.5.3", "ethers": "^6.12.0", "format-util": "^1.0.5", @@ -16,6 +15,7 @@ "jimp": "^0.22.12", "memoize-one": "^6.0.0", "minimatch": "^9.0.4", + "multiplayer": "file:./packages/react-agents/lib/multiplayer", "openai": "^4.56.0", "react": "^19.0.0-rc-df5f2736-20240712", "react-agents": "file:./packages/react-agents", From d881033d86108356876fd92490c3dec16e6f95b8 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:47:25 -0700 Subject: [PATCH 09/38] Fix codec runtime refs --- apps/chat/components/account/voices.tsx | 3 +-- apps/chat/components/ui/multiplayer-actions.tsx | 2 +- packages/usdk/cli.js | 6 +++--- packages/usdk/packages/upstreet-agent/durable-object.tsx | 2 +- .../upstreet-agent/packages/react-agents-client/worker.ts | 2 +- .../packages/react-agents/util/audio-chunker.mjs | 6 ------ 6 files changed, 7 insertions(+), 14 deletions(-) diff --git a/apps/chat/components/account/voices.tsx b/apps/chat/components/account/voices.tsx index 433e829da..4276941a8 100644 --- a/apps/chat/components/account/voices.tsx +++ b/apps/chat/components/account/voices.tsx @@ -12,9 +12,8 @@ import { AutoVoiceEndpoint, VoiceEndpointVoicer } from 'react-agents/lib/voice-o import { AudioDecodeStream } from '@upstreet/multiplayer/public/audio/audio-decode.mjs'; import { AudioContextOutputStream } from '@/lib/audio/audio-context-output'; import { aiProxyHost } from '../../utils/const/endpoints'; -import * as codecs from '@upstreet/multiplayer/public/audio/ws-codec-runtime-worker.mjs'; +import * as codecs from '@upstreet/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs'; -// const voicesEndpointProxyUrl = `https://${aiProxyHost}/api/ai/voices`; const voicesEndpointApiUrl = `https://${aiProxyHost}/api/ai-voice/voices`; export interface AgentsProps { diff --git a/apps/chat/components/ui/multiplayer-actions.tsx b/apps/chat/components/ui/multiplayer-actions.tsx index f1b0c3e29..9b2bb802e 100644 --- a/apps/chat/components/ui/multiplayer-actions.tsx +++ b/apps/chat/components/ui/multiplayer-actions.tsx @@ -17,7 +17,7 @@ import type { PlayableVideoStream, } from 'react-agents/types'; import { useLoading } from '@/lib/client/hooks/use-loading'; -import * as codecs from '@upstreet/multiplayer/public/audio/ws-codec-runtime-worker.mjs'; +import * as codecs from '@upstreet/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs'; // diff --git a/packages/usdk/cli.js b/packages/usdk/cli.js index 6c14e7fb7..7d5cfa54d 100644 --- a/packages/usdk/cli.js +++ b/packages/usdk/cli.js @@ -70,9 +70,9 @@ import { NetworkRealms } from './packages/upstreet-agent/packages/react-agents/l import { AutoVoiceEndpoint, VoiceEndpointVoicer } from './packages/upstreet-agent/packages/react-agents/lib/voice-output/voice-endpoint-voicer.mjs'; import { AudioDecodeStream } from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-decode.mjs'; -// import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec-runtime-worker.mjs'; -// import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec-runtime-edge.mjs'; -import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec-runtime-fs.mjs'; +// import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs'; +// import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs'; +import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-fs.mjs'; import { webbrowserActionsToText } from './packages/upstreet-agent/packages/react-agents/util/browser-action-utils.mjs'; diff --git a/packages/usdk/packages/upstreet-agent/durable-object.tsx b/packages/usdk/packages/upstreet-agent/durable-object.tsx index ceffe332d..e42ad857c 100644 --- a/packages/usdk/packages/upstreet-agent/durable-object.tsx +++ b/packages/usdk/packages/upstreet-agent/durable-object.tsx @@ -1,7 +1,7 @@ import { DurableObjectImpl } from './durable-object-impl.tsx'; import userRender from '../../agent.tsx'; // note: this will be overwritten by the build process -import * as codecs from 'react-agents/lib/multiplayer/public/audio/ws-codec-runtime-edge.mjs'; +import * as codecs from 'react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs'; Error.stackTraceLimit = 300; diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents-client/worker.ts b/packages/usdk/packages/upstreet-agent/packages/react-agents-client/worker.ts index 08b55df8b..7102f7484 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents-client/worker.ts +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents-client/worker.ts @@ -1,5 +1,5 @@ import './util/worker-globals.mjs'; -import * as codecs from 'react-agents/lib/multiplayer/public/audio/ws-codec-runtime-worker.mjs'; +import * as codecs from 'react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs'; import { DurableObjectImpl } from 'upstreet-agent/durable-object-impl.tsx'; // diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-chunker.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-chunker.mjs index ce3a8ba41..9df25c406 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-chunker.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-chunker.mjs @@ -1,9 +1,3 @@ -// import { -// floatTo16Bit, -// int16ToFloat32, -// } from '../lib/multiplayer/public/audio-worker/convert.mjs'; -// import waveheader from 'waveheader'; - export class AudioChunker { constructor({ sampleRate, chunkSize = 1536 }) { this.sampleRate = sampleRate; From efc0215a367b917bdaa5995c57ab646acdba15b0 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:48:23 -0700 Subject: [PATCH 10/38] Move ws-codec-util --- .../multiplayer/public/{audio => audio-worker}/ws-codec-util.mjs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/{audio => audio-worker}/ws-codec-util.mjs (100%) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec-util.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-util.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec-util.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-util.mjs From 8c6235e75ff8cb7ab78d06c72baf0f84e140afde Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:51:21 -0700 Subject: [PATCH 11/38] Codecs error checking --- .../multiplayer/public/audio/audio-client.mjs | 3 --- .../lib/multiplayer/public/audio/ws-codec.mjs | 17 ++++++----------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-client.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-client.mjs index bd09cae27..545fff213 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-client.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-client.mjs @@ -1,6 +1,3 @@ -// import {UPDATE_METHODS} from '../update-types.js'; -// import {zbencode} from '../../../zjs/encoding.mjs'; -// import {ensureAudioContext, getAudioContext} from './wsrtc/ws-audio-context.js'; import {OpusAudioEncoder, OpusAudioDecoder, Mp3AudioEncoder, Mp3AudioDecoder} from './ws-codec.mjs'; import {WsMediaStreamAudioReader, FakeAudioData} from './ws-codec-util.mjs'; import {AudioOutput} from './audio-classes.mjs'; diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec.mjs index 0a412b5b3..93c4eff7a 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec.mjs @@ -4,13 +4,11 @@ import { export class OpusAudioEncoder { constructor({sampleRate, codecs, output, error}) { - // this.worker = new OpusCodecWorker(); - // this.worker = new Worker("../../../../util/audio-worker/ws-opus-codec-worker.js"); if (!codecs.WsOpusCodec) { + console.warn('no WsOpusCodec', codecs); throw new Error('no WsOpusCodec'); } this.worker = new codecs.WsOpusCodec(); - // console.log("worker", this.worker) this.worker.addEventListener('message', e => { output(e.data); }); @@ -32,9 +30,8 @@ export class OpusAudioEncoder { export class OpusAudioDecoder { constructor({sampleRate, format, codecs, output, error}) { - // this.worker = new OpusCodecWorker(); - // this.worker = new Worker("../../../../util/audio-worker/ws-opus-codec-worker.js"); if (!codecs.WsOpusCodec) { + console.warn('no WsOpusCodec', codecs); throw new Error('no WsOpusCodec'); } this.worker = new codecs.WsOpusCodec(); @@ -75,9 +72,6 @@ export class Mp3AudioEncoder { this.transferBuffers = transferBuffers; - // this.worker = new Worker(new URL('../audio-worker/ws-mp3-encoder-worker.mjs', import.meta.url), { - // type: 'module', - // }); if (!codecs.WsMp3Encoder) { console.warn('no WsMp3Encoder', codecs); throw new Error('no WsMp3Encoder'); @@ -121,9 +115,10 @@ export class Mp3AudioDecoder { this.transferBuffers = transferBuffers; - // this.worker = new Worker(new URL('../audio-worker/ws-mp3-decoder-worker.mjs', import.meta.url), { - // type: 'module', - // }); + if (!codecs.WsMp3Decoder) { + console.warn('no WsMp3Decoder', codecs); + throw new Error('no WsMp3Decoder'); + } this.worker = new codecs.WsMp3Decoder(); const fakeAudioData = new FakeAudioData(); From efee87c88cc74913ab2066ccedecf215d24b1efe Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:52:15 -0700 Subject: [PATCH 12/38] Move ws-codec.mjs --- .../lib/multiplayer/public/{audio => audio-worker}/ws-codec.mjs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/{audio => audio-worker}/ws-codec.mjs (100%) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/ws-codec.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec.mjs From 701672d1da6ba5f6383306bb1144fc6142df1605 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:53:54 -0700 Subject: [PATCH 13/38] Fix ws-codec paths --- .../lib/multiplayer/public/audio/audio-client.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-client.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-client.mjs index 545fff213..1be3ae367 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-client.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-client.mjs @@ -1,5 +1,5 @@ -import {OpusAudioEncoder, OpusAudioDecoder, Mp3AudioEncoder, Mp3AudioDecoder} from './ws-codec.mjs'; -import {WsMediaStreamAudioReader, FakeAudioData} from './ws-codec-util.mjs'; +import {OpusAudioEncoder, OpusAudioDecoder, Mp3AudioEncoder, Mp3AudioDecoder} from '../audio-worker/ws-codec.mjs'; +import {WsMediaStreamAudioReader, FakeAudioData} from '../audio-worker/ws-codec-util.mjs'; import {AudioOutput} from './audio-classes.mjs'; import {getEncodedAudioChunkBuffer, getAudioDataBuffer} from './audio-util.mjs'; import { makeId, makePromise } from '../util.mjs'; From 2ace313926b157a5bb93450375610d899e5ddaba Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:59:25 -0700 Subject: [PATCH 14/38] Move audio encode/decode to audio-worker --- .../multiplayer/public/{audio => audio-worker}/audio-decode.mjs | 0 .../multiplayer/public/{audio => audio-worker}/audio-encode.mjs | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/{audio => audio-worker}/audio-decode.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/{audio => audio-worker}/audio-encode.mjs (100%) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-decode.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-decode.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-decode.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-decode.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-encode.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-encode.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-encode.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-encode.mjs From dd5120fe2c128277d35d6989cc2433fca08fb883 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:59:38 -0700 Subject: [PATCH 15/38] Fix audio encode/decode paths --- apps/chat/components/account/voices.tsx | 2 +- apps/chat/components/ui/multiplayer-actions.tsx | 2 +- packages/usdk/cli.js | 2 +- .../packages/react-agents/util/audio-perception.mjs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/chat/components/account/voices.tsx b/apps/chat/components/account/voices.tsx index 4276941a8..7784c6ee5 100644 --- a/apps/chat/components/account/voices.tsx +++ b/apps/chat/components/account/voices.tsx @@ -9,7 +9,7 @@ import { makeAnonymousClient } from '@/utils/supabase/supabase-client'; import { getJWT } from '@/lib/jwt'; import { env } from '@/lib/env' import { AutoVoiceEndpoint, VoiceEndpointVoicer } from 'react-agents/lib/voice-output/voice-endpoint-voicer.mjs'; -import { AudioDecodeStream } from '@upstreet/multiplayer/public/audio/audio-decode.mjs'; +import { AudioDecodeStream } from '@upstreet/multiplayer/public/audio-worker/audio-decode.mjs'; import { AudioContextOutputStream } from '@/lib/audio/audio-context-output'; import { aiProxyHost } from '../../utils/const/endpoints'; import * as codecs from '@upstreet/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs'; diff --git a/apps/chat/components/ui/multiplayer-actions.tsx b/apps/chat/components/ui/multiplayer-actions.tsx index 9b2bb802e..950492e96 100644 --- a/apps/chat/components/ui/multiplayer-actions.tsx +++ b/apps/chat/components/ui/multiplayer-actions.tsx @@ -8,7 +8,7 @@ import { multiplayerEndpointUrl } from '@/utils/const/endpoints'; import { getAgentEndpointUrl, getAgentHost } from '@/lib/utils' import { r2EndpointUrl } from '@/utils/const/endpoints'; import { getJWT } from '@/lib/jwt'; -import { AudioDecodeStream } from '@upstreet/multiplayer/public/audio/audio-decode.mjs'; +import { AudioDecodeStream } from '@upstreet/multiplayer/public/audio-worker/audio-decode.mjs'; import { AudioContextOutputStream } from '@/lib/audio/audio-context-output'; import type { ActionMessage, diff --git a/packages/usdk/cli.js b/packages/usdk/cli.js index 7d5cfa54d..c9854bfc7 100644 --- a/packages/usdk/cli.js +++ b/packages/usdk/cli.js @@ -68,7 +68,7 @@ import { import { NetworkRealms } from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/network-realms.mjs'; // XXX should be a deduplicated import, in a separate npm module import { AutoVoiceEndpoint, VoiceEndpointVoicer } from './packages/upstreet-agent/packages/react-agents/lib/voice-output/voice-endpoint-voicer.mjs'; -import { AudioDecodeStream } from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-decode.mjs'; +import { AudioDecodeStream } from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-decode.mjs'; // import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs'; // import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs'; diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-perception.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-perception.mjs index 07f79a25d..810cb3f7c 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-perception.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-perception.mjs @@ -3,7 +3,7 @@ import { floatTo16Bit, // int16ToFloat32, } from '../lib/multiplayer/public/audio-worker/convert.mjs'; -import { AudioEncodeStream } from '../lib/multiplayer/public/audio/audio-encode.mjs'; +import { AudioEncodeStream } from '../lib/multiplayer/public/audio-worker/audio-encode.mjs'; import { QueueManager } from './queue-manager.mjs'; import { aiHost, From ccc7fcd04d46509e403ee6f30678de3a3062514f Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 12:01:25 -0700 Subject: [PATCH 16/38] Move audio-client --- .../multiplayer/public/{audio => audio-worker}/audio-client.mjs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/{audio => audio-worker}/audio-client.mjs (100%) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-client.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-client.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-client.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-client.mjs From e4b7c51d4ec761e86edfab4c4cfcc6bdb2134834 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 12:04:47 -0700 Subject: [PATCH 17/38] Remove dead audio-decode.mjs --- .../react-agents/devices/audio-decode.mjs | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-decode.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-decode.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-decode.mjs deleted file mode 100644 index d85f3ddf7..000000000 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-decode.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import { createMp3DecodeTransformStream } from '../lib/multiplayer/public/audio/audio-client.mjs'; - -export class AudioDecodeStream { - constructor({ - type, - sampleRate, - transferBuffers, - }) { - switch (type) { - case 'audio/mpeg': { - return createMp3DecodeTransformStream({ - sampleRate, - transferBuffers, - }); - } - default: { - throw new Error(`unhandled audio mime type: ${type}`); - } - } - } -} From 582e12765dbcf37dcc71128e03c1ad634114132e Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 12:07:40 -0700 Subject: [PATCH 18/38] Remove old multiplayer chat.html --- .../lib/multiplayer/src/chat.html | 1393 ----------------- 1 file changed, 1393 deletions(-) delete mode 100644 packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/src/chat.html diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/src/chat.html b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/src/chat.html deleted file mode 100644 index 0ab894f45..000000000 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/src/chat.html +++ /dev/null @@ -1,1393 +0,0 @@ - - - - - - - - - - - - - - - - -
- -

This chat runs entirely on the edge, powered by
- Cloudflare Workers Durable Objects

-
-
-

Enter a public room:

- -

OR

- -
-
-
-
-
-
-
-
-
- -
- - - - - - - - \ No newline at end of file From 36b8a5adcdf147e459300c7977820b73b6ffa48a Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 12:08:05 -0700 Subject: [PATCH 19/38] Update audio-client paths --- apps/chat/components/prompt-form.tsx | 2 +- .../react-agents/classes/app-context-value.ts | 2 -- .../react-agents/devices/audio-output.mjs | 1 - .../lib/discord/discord-client.js | 9 +------ .../lib/multiplayer/public/network-realms.mjs | 1 - .../react-agents/lib/telnyx/telnyx-client.ts | 25 ------------------- .../voice-output/voice-endpoint-voicer.mjs | 2 -- 7 files changed, 2 insertions(+), 40 deletions(-) diff --git a/apps/chat/components/prompt-form.tsx b/apps/chat/components/prompt-form.tsx index 1d8aa8dbb..856fb9789 100644 --- a/apps/chat/components/prompt-form.tsx +++ b/apps/chat/components/prompt-form.tsx @@ -18,7 +18,7 @@ import type { } from 'react-agents/types'; import { shuffle } from 'react-agents/util/util.mjs'; import { Icon } from 'ucom'; -import { createPcmF32MicrophoneSource } from '@upstreet/multiplayer/public/audio/audio-client.mjs'; +import { createPcmF32MicrophoneSource } from '@upstreet/multiplayer/public/audio-worker/audio-client.mjs'; import { createVideoSource } from '@upstreet/multiplayer/public/video/video-client.mjs'; import { ensureAudioContext } from '@/lib/audio/audio-context-output'; // import { consoleImageWidth } from 'react-agents/constants.mjs' diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/classes/app-context-value.ts b/packages/usdk/packages/upstreet-agent/packages/react-agents/classes/app-context-value.ts index 484722e33..c8aadb2f2 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/classes/app-context-value.ts +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/classes/app-context-value.ts @@ -16,8 +16,6 @@ import type { ChatsSpecification, } from '../types'; import { AutoVoiceEndpoint, VoiceEndpointVoicer } from '../lib/voice-output/voice-endpoint-voicer.mjs'; -// import { createOpusReadableStreamSource } from '../lib/multiplayer/public/audio/audio-client.mjs'; -// import { NetworkRealms } from "../lib/multiplayer/public/network-realms.mjs"; import { lembed, } from '../util/embedding.mjs'; diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-output.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-output.mjs index d851e5cdb..ec03c9a6d 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-output.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-output.mjs @@ -1,5 +1,4 @@ import Speaker from 'speaker'; -// import { createMp3DecodeTransformStream } from '../lib/multiplayer/public/audio/audio-client.mjs'; export class SpeakerOutputStream extends WritableStream { static defaultSampleRate = 44100; diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/discord/discord-client.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/discord/discord-client.js index 7d7230c90..5f04a36c2 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/discord/discord-client.js +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/discord/discord-client.js @@ -5,20 +5,13 @@ import { import { QueueManager, } from '../../util/queue-manager.mjs'; -// import { -// OpusDecoder, -// } from 'opus-decoder'; -// import { -// whisperTranscribe, -// } from '../clients/whisper-client.js'; import { transcribe, } from '../../util/audio-perception.mjs'; -// import audioBufferToWav from 'audiobuffer-to-wav'; import { createOpusDecodeTransformStream, createMp3ReadableStreamSource, -} from '../../lib/multiplayer/public/audio/audio-client.mjs'; +} from '../../lib/multiplayer/public/audio-worker/audio-client.mjs'; import { makePromise, makeId, diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/network-realms.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/network-realms.mjs index 60a82ccb7..bc9298c0c 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/network-realms.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/network-realms.mjs @@ -2,7 +2,6 @@ import {DataClient, NetworkedDataClient, DCMap, DCArray} from './data-client.mjs import {NetworkedCrdtClient} from './crdt-client.mjs'; import {NetworkedLockClient} from './lock-client.mjs'; import {NetworkedIrcClient} from './irc-client.mjs'; -// import {createOpusMicrophoneSource, createOpusReadableStreamSource} from './audio/audio-client.mjs'; import {NetworkedAudioClient} from './audio/networked-audio-client.mjs'; import {NetworkedVideoClient} from './video/networked-video-client.mjs'; import { diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/telnyx/telnyx-client.ts b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/telnyx/telnyx-client.ts index d7044b0fd..091ffc5da 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/telnyx/telnyx-client.ts +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/telnyx/telnyx-client.ts @@ -1,28 +1,3 @@ -// import { -// zbencode, -// zbdecode, -// } from '../../lib/zjs/encoding.mjs'; -// import { -// QueueManager, -// } from '../../util/queue-manager.mjs'; -// import { -// OpusDecoder, -// } from 'opus-decoder'; -// import { -// whisperTranscribe, -// } from '../clients/whisper-client.js'; -// import { -// transcribe, -// } from '../../util/audio-perception.mjs'; -// import audioBufferToWav from 'audiobuffer-to-wav'; -// import { -// createOpusDecodeTransformStream, -// createMp3ReadableStreamSource, -// } from '../../lib/multiplayer/public/audio/audio-client.mjs'; -// import { -// makePromise, -// makeId, -// } from '../../util/util.mjs'; import { telnyxEndpointUrl, } from '../../util/endpoints.mjs'; diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/voice-output/voice-endpoint-voicer.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/voice-output/voice-endpoint-voicer.mjs index 0ec7a0d6c..309ff5a22 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/voice-output/voice-endpoint-voicer.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/voice-output/voice-endpoint-voicer.mjs @@ -1,9 +1,7 @@ /* this module is responsible for mapping a remote TTS endpoint to the character. */ -// import { createMp3DecodeTransformStream } from '../multiplayer/public/audio/audio-client.mjs'; // import Rvc from '../rvc.js'; import {aiProxyHost} from '../../util/endpoints.mjs' -// import { abortableRead, makePromise } from '../../util.js'; import { makePromise } from '../multiplayer/public/util.mjs'; // From fbc4cac30809c8e058fe8d92d7b6ae7b59fdca18 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 12:08:53 -0700 Subject: [PATCH 20/38] Move audio-classes to audio-worker --- .../multiplayer/public/{audio => audio-worker}/audio-classes.mjs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/{audio => audio-worker}/audio-classes.mjs (100%) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-classes.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-classes.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-classes.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-classes.mjs From 53f12a96cd46321e5721b2bfc2681655db7df1d5 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 12:10:22 -0700 Subject: [PATCH 21/38] Move audio-util to audio-worker --- .../lib/multiplayer/public/{audio => audio-worker}/audio-util.mjs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/{audio => audio-worker}/audio-util.mjs (100%) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-util.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-util.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio/audio-util.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-util.mjs From 7ea14f54ec82e64c4c9d890157f288ee3e9f550b Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 12:13:39 -0700 Subject: [PATCH 22/38] Dead code cleanup --- apps/chat/components/prompt-form.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/chat/components/prompt-form.tsx b/apps/chat/components/prompt-form.tsx index 856fb9789..8b235dcb1 100644 --- a/apps/chat/components/prompt-form.tsx +++ b/apps/chat/components/prompt-form.tsx @@ -21,7 +21,6 @@ import { Icon } from 'ucom'; import { createPcmF32MicrophoneSource } from '@upstreet/multiplayer/public/audio-worker/audio-client.mjs'; import { createVideoSource } from '@upstreet/multiplayer/public/video/video-client.mjs'; import { ensureAudioContext } from '@/lib/audio/audio-context-output'; -// import { consoleImageWidth } from 'react-agents/constants.mjs' export function PromptForm({ input, From d0705d33fca682e3b6df2526bb6a4c2c09c94fc6 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 12:34:26 -0700 Subject: [PATCH 23/38] Dead imports cleanup --- apps/chat/lib/audio/audio-context-output.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/chat/lib/audio/audio-context-output.ts b/apps/chat/lib/audio/audio-context-output.ts index 34ba35b3d..59ae17e9b 100644 --- a/apps/chat/lib/audio/audio-context-output.ts +++ b/apps/chat/lib/audio/audio-context-output.ts @@ -1,6 +1,3 @@ -// import { createMp3DecodeTransformStream } from '../lib/multiplayer/public/audio/audio-client.mjs'; -// import { QueueManager } from '../../utils/queue-manager.mjs'; - type LoadableAudioContext = AudioContext & { waitForLoad: () => Promise; }; From 9f7eed960af5df2d68b32090ada7cf93b7d4fa4a Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 13:08:39 -0700 Subject: [PATCH 24/38] Move multiplayer/public/audio-worker to codecs --- .../audio-worker => codecs}/audio-classes.mjs | 0 .../public/audio-worker => codecs}/audio-client.mjs | 0 .../public/audio-worker => codecs}/audio-decode.mjs | 0 .../public/audio-worker => codecs}/audio-encode.mjs | 0 .../public/audio-worker => codecs}/audio-util.mjs | 0 .../public/audio-worker => codecs}/convert.mjs | 0 .../public/audio-worker => codecs}/format.mjs | 0 .../audio-worker => codecs}/lamejs/.gitignore | 0 .../public/audio-worker => codecs}/lamejs/LICENSE | 0 .../public/audio-worker => codecs}/lamejs/README.md | 0 .../audio-worker => codecs}/lamejs/bower.json | 0 .../lamejs/doc/1000px-Mp3filestructure.svg.png | Bin .../audio-worker => codecs}/lamejs/example.html | 0 .../audio-worker => codecs}/lamejs/lame.all.js | 0 .../audio-worker => codecs}/lamejs/lame.min.js | 0 .../audio-worker => codecs}/lamejs/lame.min.mjs | 0 .../audio-worker => codecs}/lamejs/makeall.sh | 0 .../public/audio-worker => codecs}/lamejs/minify.sh | 0 .../audio-worker => codecs}/lamejs/package.json | 0 .../public/audio-worker => codecs}/lamejs/pom.xml | 0 .../audio-worker => codecs}/lamejs/src/js/ATH.js | 0 .../lamejs/src/js/BitStream.js | 0 .../lamejs/src/js/CBRNewIterationLoop.js | 0 .../lamejs/src/js/CalcNoiseData.js | 0 .../lamejs/src/js/CalcNoiseResult.js | 0 .../lamejs/src/js/Encoder.js | 0 .../audio-worker => codecs}/lamejs/src/js/FFT.js | 0 .../lamejs/src/js/GainAnalysis.js | 0 .../audio-worker => codecs}/lamejs/src/js/GrInfo.js | 0 .../lamejs/src/js/ID3TagSpec.js | 0 .../lamejs/src/js/IIISideInfo.js | 0 .../lamejs/src/js/III_psy_ratio.js | 0 .../lamejs/src/js/III_psy_xmin.js | 0 .../audio-worker => codecs}/lamejs/src/js/L3Side.js | 0 .../audio-worker => codecs}/lamejs/src/js/Lame.js | 0 .../lamejs/src/js/LameGlobalFlags.js | 0 .../lamejs/src/js/LameInternalFlags.js | 0 .../lamejs/src/js/MPEGMode.js | 0 .../lamejs/src/js/MeanBits.js | 0 .../lamejs/src/js/NewMDCT.js | 0 .../audio-worker => codecs}/lamejs/src/js/NsPsy.js | 0 .../lamejs/src/js/Presets.js | 0 .../lamejs/src/js/PsyModel.js | 0 .../lamejs/src/js/Quantize.js | 0 .../lamejs/src/js/QuantizePVT.js | 0 .../lamejs/src/js/ReplayGain.js | 0 .../lamejs/src/js/Reservoir.js | 0 .../lamejs/src/js/ScaleFac.js | 0 .../audio-worker => codecs}/lamejs/src/js/Tables.js | 0 .../lamejs/src/js/Takehiro.js | 0 .../audio-worker => codecs}/lamejs/src/js/Tests.js | 0 .../lamejs/src/js/VBRQuantize.js | 0 .../lamejs/src/js/VBRSeekInfo.js | 0 .../audio-worker => codecs}/lamejs/src/js/VBRTag.js | 0 .../lamejs/src/js/Version.js | 0 .../audio-worker => codecs}/lamejs/src/js/common.js | 0 .../audio-worker => codecs}/lamejs/src/js/index.js | 0 .../lamejs/src/main/assembly/bundle.xml | 0 .../lamejs/src/main/java/COPYING | 0 .../lamejs/src/main/java/LICENSE | 0 .../lamejs/src/main/java/README | 0 .../lamejs/src/main/java/USAGE | 0 .../lamejs/src/main/java/lowlevel/LameDecoder.java | 0 .../lamejs/src/main/java/lowlevel/LameEncoder.java | 0 .../lamejs/src/main/java/mp3/ABRIterationLoop.java | 0 .../lamejs/src/main/java/mp3/ABRPresets.java | 0 .../lamejs/src/main/java/mp3/ATH.java | 0 .../lamejs/src/main/java/mp3/BRHist.java | 0 .../lamejs/src/main/java/mp3/BitStream.java | 0 .../src/main/java/mp3/CBRNewIterationLoop.java | 0 .../lamejs/src/main/java/mp3/CalcNoiseData.java | 0 .../lamejs/src/main/java/mp3/CalcNoiseResult.java | 0 .../lamejs/src/main/java/mp3/Enc.java | 0 .../lamejs/src/main/java/mp3/Encoder.java | 0 .../lamejs/src/main/java/mp3/FFT.java | 0 .../lamejs/src/main/java/mp3/FrameDataNode.java | 0 .../lamejs/src/main/java/mp3/GainAnalysis.java | 0 .../lamejs/src/main/java/mp3/GenreListHandler.java | 0 .../lamejs/src/main/java/mp3/GetAudio.java | 0 .../lamejs/src/main/java/mp3/GrInfo.java | 0 .../lamejs/src/main/java/mp3/HuffCodeTab.java | 0 .../lamejs/src/main/java/mp3/ID3Tag.java | 0 .../lamejs/src/main/java/mp3/ID3TagSpec.java | 0 .../lamejs/src/main/java/mp3/IIISideInfo.java | 0 .../lamejs/src/main/java/mp3/III_psy_ratio.java | 0 .../lamejs/src/main/java/mp3/III_psy_xmin.java | 0 .../lamejs/src/main/java/mp3/IIterationLoop.java | 0 .../lamejs/src/main/java/mp3/Inf.java | 0 .../lamejs/src/main/java/mp3/L3Side.java | 0 .../lamejs/src/main/java/mp3/Lame.java | 0 .../lamejs/src/main/java/mp3/LameGlobalFlags.java | 0 .../lamejs/src/main/java/mp3/LameInternalFlags.java | 0 .../lamejs/src/main/java/mp3/LameTest.java | 0 .../src/main/java/mp3/LongBlockConstrain.java | 0 .../lamejs/src/main/java/mp3/MP3Data.java | 0 .../lamejs/src/main/java/mp3/MPEGMode.java | 0 .../lamejs/src/main/java/mp3/Main.java | 0 .../lamejs/src/main/java/mp3/MeanBits.java | 0 .../lamejs/src/main/java/mp3/NewMDCT.java | 0 .../lamejs/src/main/java/mp3/NsPsy.java | 0 .../lamejs/src/main/java/mp3/PSY.java | 0 .../lamejs/src/main/java/mp3/Parse.java | 0 .../lamejs/src/main/java/mp3/PlottingData.java | 0 .../lamejs/src/main/java/mp3/Presets.java | 0 .../lamejs/src/main/java/mp3/PsyModel.java | 0 .../lamejs/src/main/java/mp3/Quantize.java | 0 .../lamejs/src/main/java/mp3/QuantizePVT.java | 0 .../lamejs/src/main/java/mp3/ReplayGain.java | 0 .../lamejs/src/main/java/mp3/Reservoir.java | 0 .../lamejs/src/main/java/mp3/ScaleFac.java | 0 .../lamejs/src/main/java/mp3/ShortBlock.java | 0 .../src/main/java/mp3/ShortBlockConstrain.java | 0 .../lamejs/src/main/java/mp3/Tables.java | 0 .../lamejs/src/main/java/mp3/Takehiro.java | 0 .../lamejs/src/main/java/mp3/Util.java | 0 .../src/main/java/mp3/VBRNewIterationLoop.java | 0 .../src/main/java/mp3/VBROldIterationLoop.java | 0 .../lamejs/src/main/java/mp3/VBRPresets.java | 0 .../lamejs/src/main/java/mp3/VBRQuantize.java | 0 .../lamejs/src/main/java/mp3/VBRSeekInfo.java | 0 .../lamejs/src/main/java/mp3/VBRTag.java | 0 .../lamejs/src/main/java/mp3/VBRTagData.java | 0 .../lamejs/src/main/java/mp3/VbrMode.java | 0 .../lamejs/src/main/java/mp3/Version.java | 0 .../lamejs/src/main/java/mpg/Common.java | 0 .../lamejs/src/main/java/mpg/DCT64.java | 0 .../lamejs/src/main/java/mpg/Decode.java | 0 .../lamejs/src/main/java/mpg/Frame.java | 0 .../lamejs/src/main/java/mpg/Huffman.java | 0 .../lamejs/src/main/java/mpg/Interface.java | 0 .../lamejs/src/main/java/mpg/L2Tables.java | 0 .../lamejs/src/main/java/mpg/Layer1.java | 0 .../lamejs/src/main/java/mpg/Layer2.java | 0 .../lamejs/src/main/java/mpg/Layer3.java | 0 .../lamejs/src/main/java/mpg/MPG123.java | 0 .../lamejs/src/main/java/mpg/MPGLib.java | 0 .../lamejs/src/main/java/mpg/TabInit.java | 0 .../lamejs/src/main/java/ui/InputTableModel.java | 0 .../lamejs/src/main/java/ui/LameUI.java | 0 .../lamejs/src/main/java/ui/Picture.java | 0 .../lamejs/src/main/resources/LameUI.xml | 0 .../lamejs/src/main/resources/picture.png | Bin .../lamejs/src/main/resources/run.bat | 0 .../lamejs/src/main/resources/run.sh | 0 .../lamejs/testdata/Left.wav | Bin .../lamejs/testdata/Left44100.wav | Bin .../lamejs/testdata/Right.wav | Bin .../lamejs/testdata/Right44100.wav | Bin .../lamejs/testdata/Stereo44100.wav | Bin .../lamejs/worker-example/index.html | 0 .../lamejs/worker-example/index.js | 0 .../lamejs/worker-example/mic.html | 0 .../lamejs/worker-example/mic.js | 0 .../lamejs/worker-example/worker-realtime.js | 0 .../lamejs/worker-example/worker.js | 0 .../audio-worker => codecs}/libopusjs/libopus.wasm | Bin .../libopusjs/libopus.wasm.fetch.js | 0 .../libopusjs/libopus.wasm.fs.js | 0 .../libopusjs/libopus.wasm.js | 0 .../audio-worker => codecs}/libopusjs/package.json | 0 .../mpg123-decoder/README.md | 0 .../audio-worker => codecs}/mpg123-decoder/index.js | 0 .../mpg123-decoder/package-lock.json | 0 .../mpg123-decoder/package.json | 0 .../packages/wasm-audio-decoders-common/index.js | 0 .../wasm-audio-decoders-common/package.json | 0 .../src/WASMAudioDecoderCommon.js | 0 .../src/WASMAudioDecoderWorker.js | 0 .../wasm-audio-decoders-common/src/puff/README | 0 .../src/puff/build_puff.js | 0 .../wasm-audio-decoders-common/src/puff/puff.c | 0 .../wasm-audio-decoders-common/src/puff/puff.h | 0 .../wasm-audio-decoders-common/src/utilities.js | 0 .../packages/wasm-audio-decoders-common/types.d.ts | 0 .../mpg123-decoder/rollup.json | 0 .../mpg123-decoder/src/EmscriptenWasm.js | Bin .../mpg123-decoder/src/MPEGDecoder.fetch.js | 0 .../mpg123-decoder/src/MPEGDecoder.fs.js | 0 .../mpg123-decoder/src/MPEGDecoder.js | 0 .../mpg123-decoder/src/MPEGDecoderWebWorker.js | 0 .../mpg123-decoder/src/emscripten-post.js | 0 .../mpg123-decoder/src/emscripten-pre.js | 0 .../mpg123-decoder/src/emscripten-wasm.wasm | Bin .../mpg123-decoder/src/mpeg_frame_decoder.c | 0 .../mpg123-decoder/src/mpeg_frame_decoder.h | 0 .../src/wasm-audio-decoder-common.wasm | Bin .../mpg123-decoder/terser.json | 0 .../mpg123-decoder/types.d.ts | 0 .../audio-worker => codecs}/queue-manager.mjs | 0 .../public/audio-worker => codecs}/resample.mjs | 0 .../ws-codec-runtime-edge.mjs | 0 .../audio-worker => codecs}/ws-codec-runtime-fs.mjs | 0 .../ws-codec-runtime-worker.mjs | 0 .../audio-worker => codecs}/ws-codec-util.mjs | 0 .../public/audio-worker => codecs}/ws-codec.mjs | 0 .../audio-worker => codecs}/ws-constants-server.mjs | 0 .../public/audio-worker => codecs}/ws-constants.mjs | 0 .../ws-mp3-decoder-worker.mjs | 0 .../audio-worker => codecs}/ws-mp3-decoder.mjs | 0 .../ws-mp3-encoder-worker.mjs | 0 .../audio-worker => codecs}/ws-mp3-encoder.mjs | 0 .../audio-worker => codecs}/ws-opus-codec-worker.js | 0 .../audio-worker => codecs}/ws-opus-codec.mjs | 0 .../audio-worker => codecs}/ws-util-server.mjs | 0 204 files changed, 0 insertions(+), 0 deletions(-) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/audio-classes.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/audio-client.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/audio-decode.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/audio-encode.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/audio-util.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/convert.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/format.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/.gitignore (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/LICENSE (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/README.md (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/bower.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/doc/1000px-Mp3filestructure.svg.png (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/example.html (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/lame.all.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/lame.min.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/lame.min.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/makeall.sh (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/minify.sh (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/package.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/pom.xml (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/ATH.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/BitStream.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/CBRNewIterationLoop.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/CalcNoiseData.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/CalcNoiseResult.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/Encoder.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/FFT.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/GainAnalysis.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/GrInfo.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/ID3TagSpec.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/IIISideInfo.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/III_psy_ratio.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/III_psy_xmin.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/L3Side.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/Lame.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/LameGlobalFlags.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/LameInternalFlags.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/MPEGMode.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/MeanBits.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/NewMDCT.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/NsPsy.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/Presets.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/PsyModel.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/Quantize.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/QuantizePVT.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/ReplayGain.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/Reservoir.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/ScaleFac.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/Tables.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/Takehiro.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/Tests.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/VBRQuantize.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/VBRSeekInfo.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/VBRTag.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/Version.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/common.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/js/index.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/assembly/bundle.xml (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/COPYING (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/LICENSE (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/README (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/USAGE (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/lowlevel/LameDecoder.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/lowlevel/LameEncoder.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/ABRIterationLoop.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/ABRPresets.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/ATH.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/BRHist.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/BitStream.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/CBRNewIterationLoop.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/CalcNoiseData.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/CalcNoiseResult.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Enc.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Encoder.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/FFT.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/FrameDataNode.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/GainAnalysis.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/GenreListHandler.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/GetAudio.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/GrInfo.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/HuffCodeTab.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/ID3Tag.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/ID3TagSpec.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/IIISideInfo.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/III_psy_ratio.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/III_psy_xmin.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/IIterationLoop.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Inf.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/L3Side.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Lame.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/LameGlobalFlags.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/LameInternalFlags.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/LameTest.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/LongBlockConstrain.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/MP3Data.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/MPEGMode.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Main.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/MeanBits.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/NewMDCT.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/NsPsy.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/PSY.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Parse.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/PlottingData.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Presets.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/PsyModel.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Quantize.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/QuantizePVT.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/ReplayGain.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Reservoir.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/ScaleFac.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/ShortBlock.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/ShortBlockConstrain.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Tables.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Takehiro.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Util.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/VBRNewIterationLoop.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/VBROldIterationLoop.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/VBRPresets.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/VBRQuantize.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/VBRSeekInfo.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/VBRTag.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/VBRTagData.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/VbrMode.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mp3/Version.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/Common.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/DCT64.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/Decode.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/Frame.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/Huffman.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/Interface.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/L2Tables.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/Layer1.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/Layer2.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/Layer3.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/MPG123.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/MPGLib.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/mpg/TabInit.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/ui/InputTableModel.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/ui/LameUI.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/java/ui/Picture.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/resources/LameUI.xml (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/resources/picture.png (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/resources/run.bat (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/src/main/resources/run.sh (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/testdata/Left.wav (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/testdata/Left44100.wav (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/testdata/Right.wav (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/testdata/Right44100.wav (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/testdata/Stereo44100.wav (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/worker-example/index.html (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/worker-example/index.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/worker-example/mic.html (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/worker-example/mic.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/worker-example/worker-realtime.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/lamejs/worker-example/worker.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/libopusjs/libopus.wasm (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/libopusjs/libopus.wasm.fetch.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/libopusjs/libopus.wasm.fs.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/libopusjs/libopus.wasm.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/libopusjs/package.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/README.md (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/index.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/package-lock.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/package.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/packages/wasm-audio-decoders-common/index.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/packages/wasm-audio-decoders-common/package.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderCommon.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderWorker.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/README (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/build_puff.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.c (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.h (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/packages/wasm-audio-decoders-common/src/utilities.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/packages/wasm-audio-decoders-common/types.d.ts (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/rollup.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/src/EmscriptenWasm.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/src/MPEGDecoder.fetch.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/src/MPEGDecoder.fs.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/src/MPEGDecoder.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/src/MPEGDecoderWebWorker.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/src/emscripten-post.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/src/emscripten-pre.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/src/emscripten-wasm.wasm (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/src/mpeg_frame_decoder.c (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/src/mpeg_frame_decoder.h (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/src/wasm-audio-decoder-common.wasm (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/terser.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/mpg123-decoder/types.d.ts (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/queue-manager.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/resample.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-codec-runtime-edge.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-codec-runtime-fs.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-codec-runtime-worker.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-codec-util.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-codec.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-constants-server.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-constants.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-mp3-decoder-worker.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-mp3-decoder.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-mp3-encoder-worker.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-mp3-encoder.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-opus-codec-worker.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-opus-codec.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/{multiplayer/public/audio-worker => codecs}/ws-util-server.mjs (100%) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-classes.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-classes.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-classes.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-classes.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-client.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-client.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-client.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-client.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-decode.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-decode.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-decode.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-decode.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-encode.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-encode.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-encode.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-encode.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-util.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-util.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-util.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-util.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/convert.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/convert.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/convert.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/convert.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/format.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/format.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/format.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/format.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/.gitignore b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/.gitignore similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/.gitignore rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/.gitignore diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/LICENSE b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/LICENSE similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/LICENSE rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/LICENSE diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/README.md b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/README.md similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/README.md rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/README.md diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/bower.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/bower.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/bower.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/bower.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/doc/1000px-Mp3filestructure.svg.png b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/doc/1000px-Mp3filestructure.svg.png similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/doc/1000px-Mp3filestructure.svg.png rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/doc/1000px-Mp3filestructure.svg.png diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/example.html b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/example.html similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/example.html rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/example.html diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/lame.all.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.all.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/lame.all.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.all.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/lame.min.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.min.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/lame.min.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.min.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/lame.min.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.min.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/lame.min.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.min.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/makeall.sh b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/makeall.sh similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/makeall.sh rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/makeall.sh diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/minify.sh b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/minify.sh similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/minify.sh rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/minify.sh diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/package.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/package.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/package.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/package.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/pom.xml b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/pom.xml similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/pom.xml rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/pom.xml diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/ATH.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ATH.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/ATH.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ATH.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/BitStream.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/BitStream.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/BitStream.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/BitStream.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/CBRNewIterationLoop.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CBRNewIterationLoop.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/CBRNewIterationLoop.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CBRNewIterationLoop.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/CalcNoiseData.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CalcNoiseData.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/CalcNoiseData.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CalcNoiseData.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/CalcNoiseResult.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CalcNoiseResult.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/CalcNoiseResult.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CalcNoiseResult.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Encoder.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Encoder.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Encoder.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Encoder.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/FFT.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/FFT.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/FFT.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/FFT.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/GainAnalysis.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/GainAnalysis.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/GainAnalysis.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/GainAnalysis.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/GrInfo.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/GrInfo.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/GrInfo.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/GrInfo.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/ID3TagSpec.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ID3TagSpec.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/ID3TagSpec.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ID3TagSpec.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/IIISideInfo.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/IIISideInfo.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/IIISideInfo.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/IIISideInfo.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/III_psy_ratio.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/III_psy_ratio.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/III_psy_ratio.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/III_psy_ratio.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/III_psy_xmin.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/III_psy_xmin.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/III_psy_xmin.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/III_psy_xmin.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/L3Side.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/L3Side.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/L3Side.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/L3Side.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Lame.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Lame.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Lame.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Lame.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/LameGlobalFlags.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/LameGlobalFlags.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/LameGlobalFlags.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/LameGlobalFlags.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/LameInternalFlags.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/LameInternalFlags.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/LameInternalFlags.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/LameInternalFlags.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/MPEGMode.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/MPEGMode.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/MPEGMode.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/MPEGMode.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/MeanBits.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/MeanBits.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/MeanBits.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/MeanBits.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/NewMDCT.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/NewMDCT.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/NewMDCT.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/NewMDCT.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/NsPsy.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/NsPsy.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/NsPsy.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/NsPsy.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Presets.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Presets.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Presets.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Presets.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/PsyModel.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/PsyModel.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/PsyModel.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/PsyModel.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Quantize.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Quantize.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Quantize.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Quantize.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/QuantizePVT.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/QuantizePVT.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/QuantizePVT.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/QuantizePVT.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/ReplayGain.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ReplayGain.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/ReplayGain.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ReplayGain.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Reservoir.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Reservoir.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Reservoir.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Reservoir.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/ScaleFac.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ScaleFac.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/ScaleFac.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ScaleFac.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Tables.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Tables.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Tables.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Tables.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Takehiro.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Takehiro.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Takehiro.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Takehiro.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Tests.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Tests.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Tests.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Tests.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/VBRQuantize.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRQuantize.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/VBRQuantize.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRQuantize.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/VBRSeekInfo.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRSeekInfo.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/VBRSeekInfo.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRSeekInfo.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/VBRTag.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRTag.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/VBRTag.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRTag.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Version.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Version.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/Version.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Version.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/common.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/common.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/common.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/common.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/index.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/index.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/js/index.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/index.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/assembly/bundle.xml b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/assembly/bundle.xml similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/assembly/bundle.xml rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/assembly/bundle.xml diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/COPYING b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/COPYING similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/COPYING rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/COPYING diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/LICENSE b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/LICENSE similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/LICENSE rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/LICENSE diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/README b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/README similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/README rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/README diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/USAGE b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/USAGE similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/USAGE rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/USAGE diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/lowlevel/LameDecoder.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/lowlevel/LameDecoder.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/lowlevel/LameDecoder.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/lowlevel/LameDecoder.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/lowlevel/LameEncoder.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/lowlevel/LameEncoder.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/lowlevel/LameEncoder.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/lowlevel/LameEncoder.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ABRIterationLoop.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ABRIterationLoop.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ABRIterationLoop.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ABRIterationLoop.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ABRPresets.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ABRPresets.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ABRPresets.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ABRPresets.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ATH.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ATH.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ATH.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ATH.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/BRHist.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/BRHist.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/BRHist.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/BRHist.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/BitStream.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/BitStream.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/BitStream.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/BitStream.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/CBRNewIterationLoop.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CBRNewIterationLoop.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/CBRNewIterationLoop.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CBRNewIterationLoop.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/CalcNoiseData.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CalcNoiseData.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/CalcNoiseData.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CalcNoiseData.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/CalcNoiseResult.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CalcNoiseResult.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/CalcNoiseResult.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CalcNoiseResult.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Enc.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Enc.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Enc.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Enc.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Encoder.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Encoder.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Encoder.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Encoder.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/FFT.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/FFT.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/FFT.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/FFT.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/FrameDataNode.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/FrameDataNode.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/FrameDataNode.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/FrameDataNode.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/GainAnalysis.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GainAnalysis.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/GainAnalysis.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GainAnalysis.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/GenreListHandler.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GenreListHandler.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/GenreListHandler.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GenreListHandler.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/GetAudio.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GetAudio.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/GetAudio.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GetAudio.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/GrInfo.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GrInfo.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/GrInfo.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GrInfo.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/HuffCodeTab.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/HuffCodeTab.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/HuffCodeTab.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/HuffCodeTab.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ID3Tag.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ID3Tag.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ID3Tag.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ID3Tag.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ID3TagSpec.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ID3TagSpec.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ID3TagSpec.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ID3TagSpec.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/IIISideInfo.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/IIISideInfo.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/IIISideInfo.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/IIISideInfo.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/III_psy_ratio.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/III_psy_ratio.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/III_psy_ratio.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/III_psy_ratio.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/III_psy_xmin.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/III_psy_xmin.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/III_psy_xmin.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/III_psy_xmin.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/IIterationLoop.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/IIterationLoop.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/IIterationLoop.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/IIterationLoop.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Inf.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Inf.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Inf.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Inf.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/L3Side.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/L3Side.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/L3Side.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/L3Side.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Lame.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Lame.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Lame.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Lame.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/LameGlobalFlags.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameGlobalFlags.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/LameGlobalFlags.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameGlobalFlags.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/LameInternalFlags.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameInternalFlags.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/LameInternalFlags.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameInternalFlags.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/LameTest.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameTest.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/LameTest.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameTest.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/LongBlockConstrain.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LongBlockConstrain.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/LongBlockConstrain.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LongBlockConstrain.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/MP3Data.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MP3Data.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/MP3Data.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MP3Data.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/MPEGMode.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MPEGMode.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/MPEGMode.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MPEGMode.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Main.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Main.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Main.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Main.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/MeanBits.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MeanBits.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/MeanBits.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MeanBits.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/NewMDCT.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/NewMDCT.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/NewMDCT.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/NewMDCT.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/NsPsy.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/NsPsy.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/NsPsy.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/NsPsy.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/PSY.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PSY.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/PSY.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PSY.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Parse.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Parse.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Parse.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Parse.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/PlottingData.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PlottingData.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/PlottingData.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PlottingData.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Presets.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Presets.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Presets.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Presets.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/PsyModel.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PsyModel.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/PsyModel.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PsyModel.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Quantize.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Quantize.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Quantize.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Quantize.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/QuantizePVT.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/QuantizePVT.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/QuantizePVT.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/QuantizePVT.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ReplayGain.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ReplayGain.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ReplayGain.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ReplayGain.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Reservoir.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Reservoir.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Reservoir.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Reservoir.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ScaleFac.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ScaleFac.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ScaleFac.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ScaleFac.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ShortBlock.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ShortBlock.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ShortBlock.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ShortBlock.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ShortBlockConstrain.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ShortBlockConstrain.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/ShortBlockConstrain.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ShortBlockConstrain.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Tables.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Tables.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Tables.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Tables.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Takehiro.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Takehiro.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Takehiro.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Takehiro.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Util.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Util.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Util.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Util.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRNewIterationLoop.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRNewIterationLoop.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRNewIterationLoop.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRNewIterationLoop.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBROldIterationLoop.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBROldIterationLoop.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBROldIterationLoop.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBROldIterationLoop.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRPresets.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRPresets.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRPresets.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRPresets.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRQuantize.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRQuantize.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRQuantize.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRQuantize.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRSeekInfo.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRSeekInfo.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRSeekInfo.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRSeekInfo.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRTag.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRTag.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRTag.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRTag.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRTagData.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRTagData.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VBRTagData.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRTagData.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VbrMode.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VbrMode.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/VbrMode.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VbrMode.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Version.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Version.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mp3/Version.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Version.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Common.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Common.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Common.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Common.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/DCT64.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/DCT64.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/DCT64.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/DCT64.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Decode.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Decode.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Decode.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Decode.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Frame.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Frame.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Frame.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Frame.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Huffman.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Huffman.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Huffman.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Huffman.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Interface.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Interface.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Interface.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Interface.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/L2Tables.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/L2Tables.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/L2Tables.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/L2Tables.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Layer1.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer1.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Layer1.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer1.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Layer2.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer2.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Layer2.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer2.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Layer3.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer3.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/Layer3.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer3.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/MPG123.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/MPG123.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/MPG123.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/MPG123.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/MPGLib.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/MPGLib.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/MPGLib.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/MPGLib.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/TabInit.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/TabInit.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/mpg/TabInit.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/TabInit.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/ui/InputTableModel.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/InputTableModel.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/ui/InputTableModel.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/InputTableModel.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/ui/LameUI.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/LameUI.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/ui/LameUI.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/LameUI.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/ui/Picture.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/Picture.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/java/ui/Picture.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/Picture.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/resources/LameUI.xml b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/LameUI.xml similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/resources/LameUI.xml rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/LameUI.xml diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/resources/picture.png b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/picture.png similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/resources/picture.png rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/picture.png diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/resources/run.bat b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/run.bat similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/resources/run.bat rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/run.bat diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/resources/run.sh b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/run.sh similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/src/main/resources/run.sh rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/run.sh diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/testdata/Left.wav b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Left.wav similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/testdata/Left.wav rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Left.wav diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/testdata/Left44100.wav b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Left44100.wav similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/testdata/Left44100.wav rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Left44100.wav diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/testdata/Right.wav b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Right.wav similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/testdata/Right.wav rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Right.wav diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/testdata/Right44100.wav b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Right44100.wav similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/testdata/Right44100.wav rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Right44100.wav diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/testdata/Stereo44100.wav b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Stereo44100.wav similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/testdata/Stereo44100.wav rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Stereo44100.wav diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/index.html b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/index.html similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/index.html rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/index.html diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/index.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/index.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/index.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/index.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/mic.html b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/mic.html similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/mic.html rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/mic.html diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/mic.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/mic.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/mic.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/mic.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/worker-realtime.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/worker-realtime.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/worker-realtime.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/worker-realtime.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/worker.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/worker.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs/worker-example/worker.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/worker.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs/libopus.wasm b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs/libopus.wasm rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs/libopus.wasm.fetch.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.fetch.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs/libopus.wasm.fetch.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.fetch.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs/libopus.wasm.fs.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.fs.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs/libopus.wasm.fs.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.fs.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs/libopus.wasm.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs/libopus.wasm.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs/package.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/package.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs/package.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/package.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/README.md b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/README.md similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/README.md rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/README.md diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/index.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/index.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/index.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/index.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/package-lock.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/package-lock.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/package-lock.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/package-lock.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/package.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/package.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/package.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/package.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/index.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/index.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/index.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/index.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/package.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/package.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/package.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/package.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderCommon.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderCommon.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderCommon.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderCommon.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderWorker.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderWorker.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderWorker.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderWorker.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/README b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/README similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/README rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/README diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/build_puff.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/build_puff.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/build_puff.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/build_puff.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.c b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.c similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.c rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.c diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.h b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.h similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.h rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.h diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/utilities.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/utilities.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/src/utilities.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/utilities.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/types.d.ts b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/types.d.ts similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common/types.d.ts rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/types.d.ts diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/rollup.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/rollup.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/rollup.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/rollup.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/EmscriptenWasm.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/EmscriptenWasm.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/EmscriptenWasm.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/EmscriptenWasm.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/MPEGDecoder.fetch.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.fetch.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/MPEGDecoder.fetch.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.fetch.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/MPEGDecoder.fs.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.fs.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/MPEGDecoder.fs.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.fs.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/MPEGDecoder.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/MPEGDecoder.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/MPEGDecoderWebWorker.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoderWebWorker.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/MPEGDecoderWebWorker.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoderWebWorker.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/emscripten-post.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-post.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/emscripten-post.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-post.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/emscripten-pre.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-pre.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/emscripten-pre.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-pre.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/emscripten-wasm.wasm b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-wasm.wasm similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/emscripten-wasm.wasm rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-wasm.wasm diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/mpeg_frame_decoder.c b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/mpeg_frame_decoder.c similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/mpeg_frame_decoder.c rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/mpeg_frame_decoder.c diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/mpeg_frame_decoder.h b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/mpeg_frame_decoder.h similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/mpeg_frame_decoder.h rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/mpeg_frame_decoder.h diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/wasm-audio-decoder-common.wasm b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/wasm-audio-decoder-common.wasm similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/src/wasm-audio-decoder-common.wasm rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/wasm-audio-decoder-common.wasm diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/terser.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/terser.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/terser.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/terser.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/types.d.ts b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/types.d.ts similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/types.d.ts rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/types.d.ts diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/queue-manager.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/queue-manager.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/queue-manager.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/queue-manager.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/resample.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/resample.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/resample.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/resample.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-edge.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-edge.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-fs.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-fs.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-fs.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-fs.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-worker.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-worker.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-util.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-util.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-util.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-util.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-constants-server.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-constants-server.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-constants-server.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-constants-server.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-constants.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-constants.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-constants.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-constants.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-decoder-worker.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-decoder-worker.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-decoder-worker.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-decoder-worker.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-decoder.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-decoder.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-decoder.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-decoder.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-encoder-worker.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-encoder-worker.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-encoder-worker.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-encoder-worker.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-encoder.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-encoder.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-mp3-encoder.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-encoder.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-opus-codec-worker.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec-worker.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-opus-codec-worker.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec-worker.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-opus-codec.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-opus-codec.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-util-server.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-util-server.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-util-server.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-util-server.mjs From ecc35b48a56399ec886138da04b2ebaa5e82164d Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 11:35:53 -0700 Subject: [PATCH 25/38] Move multiplayer install to codecs --- packages/usdk/package.json | 2 +- packages/usdk/packages/upstreet-agent/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/usdk/package.json b/packages/usdk/package.json index b7a585bef..d460b6051 100644 --- a/packages/usdk/package.json +++ b/packages/usdk/package.json @@ -37,6 +37,7 @@ "ansi-escapes": "^7.0.0", "chalk": "^5.3.0", "cli-table3": "^0.6.4", + "codecs": "file:./packages/upstreet-agent/packages/react-agents/lib/codecs", "commander": "^12.0.0", "cookie": "^0.6.0", "dedent": "^1.5.3", @@ -49,7 +50,6 @@ "jimp": "^0.22.12", "jszip": "^3.10.1", "memoize-one": "^6.0.0", - "multiplayer": "file:./packages/upstreet-agent/packages/react-agents/lib/multiplayer", "mime": "^4.0.1", "mkdirp": "^3.0.1", "open": "^10.1.0", diff --git a/packages/usdk/packages/upstreet-agent/package.json b/packages/usdk/packages/upstreet-agent/package.json index a3c4d0fb7..fcbe439ec 100644 --- a/packages/usdk/packages/upstreet-agent/package.json +++ b/packages/usdk/packages/upstreet-agent/package.json @@ -7,6 +7,7 @@ "@tsndr/cloudflare-worker-jwt": "2.5.3", "@types/react": "^18.3.3", "browser-util-inspect": "^0.2.0", + "codecs": "file:./packages/react-agents/lib/codecs", "dedent": "^1.5.3", "ethers": "^6.12.0", "format-util": "^1.0.5", @@ -15,7 +16,6 @@ "jimp": "^0.22.12", "memoize-one": "^6.0.0", "minimatch": "^9.0.4", - "multiplayer": "file:./packages/react-agents/lib/multiplayer", "openai": "^4.56.0", "react": "^19.0.0-rc-df5f2736-20240712", "react-agents": "file:./packages/react-agents", From 12572b7fba5075bc79d91c9d60e8d546b878b09f Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 13:29:49 -0700 Subject: [PATCH 26/38] Add package.json to codecs lib --- .../packages/react-agents/lib/codecs/package.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/package.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/package.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/package.json new file mode 100644 index 000000000..87af0bfbf --- /dev/null +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/package.json @@ -0,0 +1,9 @@ +{ + "name": "codecs", + "type": "module", + "dependencies": { + "lamejs": "file:./packages/lamejs", + "mpg123-decoder": "file:./packages/mpg123-decoder", + "libopusjs": "file:./packages/libopusjs" + } +} From 5830cc6bcb7e6713af43302be066fb1782859d88 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 13:33:42 -0700 Subject: [PATCH 27/38] Clean up multiplayer package.json --- .../packages/react-agents/lib/multiplayer/package.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/package.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/package.json index a88d751f5..f8e96afe6 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/package.json +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/package.json @@ -20,9 +20,6 @@ }, "dependencies": { "@cloudflare/kv-asset-handler": "^0.3.4", - "lamejs": "file:./public/audio-worker/lamejs", - "mpg123-decoder": "file:./public/audio-worker/mpg123-decoder", - "libopusjs": "file:./public/audio-worker/libopusjs", "yjs": "^13.6.18" } } From 003092507b9671c750f67fb21e4dd816bbf07ee8 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 13:39:01 -0700 Subject: [PATCH 28/38] Update root package-lock.json --- package-lock.json | 82 ++++++++++++++++++++--------------------------- 1 file changed, 34 insertions(+), 48 deletions(-) diff --git a/package-lock.json b/package-lock.json index fd8d2ee8d..237dab87e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5756,12 +5756,6 @@ "node": ">=12" } }, - "node_modules/@eshaz/web-worker": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@eshaz/web-worker/-/web-worker-1.2.2.tgz", - "integrity": "sha512-WxXiHFmD9u/owrzempiDlBB1ZYqiLnm9s6aPc8AlFQalq2tKmqdmMr9GXOupDgzXtqnBipj8Un0gkIm7Sjf8mw==", - "license": "Apache-2.0" - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -17296,10 +17290,6 @@ "vite": "^4.2.0 || ^5.0.0" } }, - "node_modules/@wasm-audio-decoders/common": { - "resolved": "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common", - "link": true - }, "node_modules/@webassemblyjs/ast": { "version": "1.12.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz", @@ -20055,6 +20045,10 @@ "integrity": "sha512-67ueh2IRGst/51p0n6FvPrnRjAGHY5F8xdjkgrYE7DDzpJe6qA07RYQ9VcoUeo5ATOjSOiWpSL3SWBRRbempMw==", "license": "MIT" }, + "node_modules/codecs": { + "resolved": "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs", + "link": true + }, "node_modules/collapse-white-space": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-2.1.0.tgz", @@ -30412,10 +30406,6 @@ "integrity": "sha512-MK3FOody4TXbFf8Yqv7EBbySw7aPvEcPX++Ipt6Sox+/YMFvR5xaTyhfNSk1AEmMy+RYIw81ctN4IMxCB8OAlg==", "license": "MIT" }, - "node_modules/lamejs": { - "resolved": "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs", - "link": true - }, "node_modules/language-subtag-registry": { "version": "0.3.23", "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz", @@ -30542,10 +30532,6 @@ "url": "https://github.com/sponsors/dmonad" } }, - "node_modules/libopusjs": { - "resolved": "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs", - "link": true - }, "node_modules/lie": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", @@ -37642,10 +37628,6 @@ "node": "*" } }, - "node_modules/mpg123-decoder": { - "resolved": "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder", - "link": true - }, "node_modules/mri": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", @@ -37683,10 +37665,6 @@ "multicast-dns": "cli.js" } }, - "node_modules/multiplayer": { - "resolved": "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer", - "link": true - }, "node_modules/mustache": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", @@ -45258,16 +45236,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/simple-yenc": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/simple-yenc/-/simple-yenc-1.0.4.tgz", - "integrity": "sha512-5gvxpSd79e9a3V4QDYUqnqxeD4HGlhCakVpb6gMnDD7lexJggSBJRBO5h52y/iJrdXRilX9UCuDaIJhSWm5OWw==", - "license": "MIT", - "funding": { - "type": "individual", - "url": "https://github.com/sponsors/eshaz" - } - }, "node_modules/sirv": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.4.tgz", @@ -48340,12 +48308,6 @@ } } }, - "node_modules/use-strict": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/use-strict/-/use-strict-1.0.1.tgz", - "integrity": "sha512-IeiWvvEXfW5ltKVMkxq6FvNf2LojMKvB2OCeja6+ct24S1XOmQw2dGr2JyndwACWAGJva9B7yPHwAmeA9QCqAQ==", - "license": "ISC" - }, "node_modules/use-sync-external-store": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz", @@ -51212,6 +51174,7 @@ "ansi-escapes": "^7.0.0", "chalk": "^5.3.0", "cli-table3": "^0.6.4", + "codecs": "file:./packages/upstreet-agent/packages/react-agents/lib/codecs", "commander": "^12.0.0", "cookie": "^0.6.0", "dedent": "^1.5.3", @@ -51226,7 +51189,6 @@ "memoize-one": "^6.0.0", "mime": "^4.0.1", "mkdirp": "^3.0.1", - "multiplayer": "file:./packages/upstreet-agent/packages/react-agents/lib/multiplayer", "open": "^10.1.0", "openai": "^4.56.0", "picocolors": "^1.0.1", @@ -51342,6 +51304,7 @@ "@tsndr/cloudflare-worker-jwt": "2.5.3", "@types/react": "^18.3.3", "browser-util-inspect": "^0.2.0", + "codecs": "file:./packages/react-agents/lib/codecs", "dedent": "^1.5.3", "ethers": "^6.12.0", "format-util": "^1.0.5", @@ -51350,7 +51313,6 @@ "jimp": "^0.22.12", "memoize-one": "^6.0.0", "minimatch": "^9.0.4", - "multiplayer": "file:./packages/react-agents/lib/multiplayer", "openai": "^4.56.0", "react": "^19.0.0-rc-df5f2736-20240712", "react-agents": "file:./packages/react-agents", @@ -51380,27 +51342,50 @@ "upstreet-agent": "file:../.." } }, + "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs": { + "dependencies": { + "lamejs": "file:./packages/lamejs", + "libopusjs": "file:./packages/libopusjs", + "mpg123-decoder": "file:./packages/mpg123-decoder" + } + }, + "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/node_modules/lamejs": { + "resolved": "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs", + "link": true + }, + "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/node_modules/libopusjs": { + "resolved": "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs", + "link": true + }, + "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/node_modules/mpg123-decoder": { + "resolved": "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder", + "link": true + }, + "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs": {}, + "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs": {}, + "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder": {}, "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer": { "version": "0.6.0", "license": "MIT", "dependencies": { "@cloudflare/kv-asset-handler": "^0.3.4", - "lamejs": "file:./public/audio-worker/lamejs", - "libopusjs": "file:./public/audio-worker/libopusjs", - "mpg123-decoder": "file:./public/audio-worker/mpg123-decoder", "yjs": "^13.6.18" } }, "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/lamejs": { "version": "1.2.1", + "extraneous": true, "license": "LGPL-3.0", "dependencies": { "use-strict": "1.0.1" } }, - "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs": {}, + "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/libopusjs": { + "extraneous": true + }, "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder": { "version": "1.0.0", + "extraneous": true, "license": "MIT", "dependencies": { "@wasm-audio-decoders/common": "file:./packages/wasm-audio-decoders-common" @@ -51413,6 +51398,7 @@ "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/mpg123-decoder/packages/wasm-audio-decoders-common": { "name": "@wasm-audio-decoders/common", "version": "9.0.5", + "extraneous": true, "license": "MIT", "dependencies": { "@eshaz/web-worker": "1.2.2", From a699f33a11fed5158cb03f0aadf010d9846458b6 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 13:39:14 -0700 Subject: [PATCH 29/38] Small cli cleanup --- packages/usdk/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/usdk/cli.js b/packages/usdk/cli.js index c9854bfc7..5a0eda87b 100644 --- a/packages/usdk/cli.js +++ b/packages/usdk/cli.js @@ -6,7 +6,7 @@ import stream from 'stream'; import repl from 'repl'; import { program } from 'commander'; -import WebSocket, { WebSocketServer } from 'ws'; +import WebSocket from 'ws'; import EventSource from 'eventsource'; import toml from '@iarna/toml'; import open from 'open'; From b8fb0c9698b4198165c84603467ac74dc29f7349 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 13:46:16 -0700 Subject: [PATCH 30/38] Add codecs dep to chat app --- apps/chat/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/chat/package.json b/apps/chat/package.json index 56ab56a54..2a5a165d7 100644 --- a/apps/chat/package.json +++ b/apps/chat/package.json @@ -60,6 +60,7 @@ "class-variance-authority": "0.7.0", "classnames": "2.5.1", "clsx": "2.1.0", + "codecs": "file:../../packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs", "cookie": "^0.6.0", "d3-scale": "4.0.2", "date-fns": "3.3.1", From 1a8dcb2ecb0db5fe52bf31a6508f8b204b96a3c2 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 13:46:34 -0700 Subject: [PATCH 31/38] Update root package-lock.json --- package-lock.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package-lock.json b/package-lock.json index 237dab87e..8c6899005 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,6 +52,7 @@ "class-variance-authority": "0.7.0", "classnames": "2.5.1", "clsx": "2.1.0", + "codecs": "file:../../packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs", "cookie": "^0.6.0", "d3-scale": "4.0.2", "date-fns": "3.3.1", From fc3666a53c3ab0f3ddbd22605bb3887f1e4f2406 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 13:47:14 -0700 Subject: [PATCH 32/38] Update codecs refs --- apps/chat/components/account/voices.tsx | 4 +- apps/chat/components/prompt-form.tsx | 2 +- .../components/ui/multiplayer-actions.tsx | 4 +- packages/usdk/cli.js | 6 +-- .../upstreet-agent/durable-object.tsx | 2 +- .../packages/react-agents-client/worker.ts | 2 +- .../devices/audio-transcriber.mjs | 2 +- .../react-agents/lib/codecs/audio-client.mjs | 42 ++++++++++++------- .../react-agents/lib/codecs/ws-codec-util.mjs | 2 +- .../lib/discord/discord-client.js | 2 +- .../react-agents/util/audio-perception.mjs | 4 +- 11 files changed, 40 insertions(+), 32 deletions(-) diff --git a/apps/chat/components/account/voices.tsx b/apps/chat/components/account/voices.tsx index 7784c6ee5..3029c0c8d 100644 --- a/apps/chat/components/account/voices.tsx +++ b/apps/chat/components/account/voices.tsx @@ -9,10 +9,10 @@ import { makeAnonymousClient } from '@/utils/supabase/supabase-client'; import { getJWT } from '@/lib/jwt'; import { env } from '@/lib/env' import { AutoVoiceEndpoint, VoiceEndpointVoicer } from 'react-agents/lib/voice-output/voice-endpoint-voicer.mjs'; -import { AudioDecodeStream } from '@upstreet/multiplayer/public/audio-worker/audio-decode.mjs'; import { AudioContextOutputStream } from '@/lib/audio/audio-context-output'; import { aiProxyHost } from '../../utils/const/endpoints'; -import * as codecs from '@upstreet/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs'; +import { AudioDecodeStream } from 'codecs/audio-decode.mjs'; +import * as codecs from 'codecs/ws-codec-runtime-worker.mjs'; const voicesEndpointApiUrl = `https://${aiProxyHost}/api/ai-voice/voices`; diff --git a/apps/chat/components/prompt-form.tsx b/apps/chat/components/prompt-form.tsx index 8b235dcb1..c1e9ccb28 100644 --- a/apps/chat/components/prompt-form.tsx +++ b/apps/chat/components/prompt-form.tsx @@ -18,7 +18,7 @@ import type { } from 'react-agents/types'; import { shuffle } from 'react-agents/util/util.mjs'; import { Icon } from 'ucom'; -import { createPcmF32MicrophoneSource } from '@upstreet/multiplayer/public/audio-worker/audio-client.mjs'; +import { createPcmF32MicrophoneSource } from 'codecs/audio-client.mjs'; import { createVideoSource } from '@upstreet/multiplayer/public/video/video-client.mjs'; import { ensureAudioContext } from '@/lib/audio/audio-context-output'; diff --git a/apps/chat/components/ui/multiplayer-actions.tsx b/apps/chat/components/ui/multiplayer-actions.tsx index 950492e96..3f41db457 100644 --- a/apps/chat/components/ui/multiplayer-actions.tsx +++ b/apps/chat/components/ui/multiplayer-actions.tsx @@ -8,7 +8,6 @@ import { multiplayerEndpointUrl } from '@/utils/const/endpoints'; import { getAgentEndpointUrl, getAgentHost } from '@/lib/utils' import { r2EndpointUrl } from '@/utils/const/endpoints'; import { getJWT } from '@/lib/jwt'; -import { AudioDecodeStream } from '@upstreet/multiplayer/public/audio-worker/audio-decode.mjs'; import { AudioContextOutputStream } from '@/lib/audio/audio-context-output'; import type { ActionMessage, @@ -17,7 +16,8 @@ import type { PlayableVideoStream, } from 'react-agents/types'; import { useLoading } from '@/lib/client/hooks/use-loading'; -import * as codecs from '@upstreet/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs'; +import { AudioDecodeStream } from 'codecs/audio-decode.mjs'; +import * as codecs from 'codecs/ws-codec-runtime-worker.mjs'; // diff --git a/packages/usdk/cli.js b/packages/usdk/cli.js index 5a0eda87b..1682f1c71 100644 --- a/packages/usdk/cli.js +++ b/packages/usdk/cli.js @@ -68,11 +68,9 @@ import { import { NetworkRealms } from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/network-realms.mjs'; // XXX should be a deduplicated import, in a separate npm module import { AutoVoiceEndpoint, VoiceEndpointVoicer } from './packages/upstreet-agent/packages/react-agents/lib/voice-output/voice-endpoint-voicer.mjs'; -import { AudioDecodeStream } from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/audio-decode.mjs'; +import { AudioDecodeStream } from 'codecs/audio-decode.mjs'; -// import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs'; -// import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs'; -import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-fs.mjs'; +import * as codecs from 'codecs/ws-codec-runtime-fs.mjs'; import { webbrowserActionsToText } from './packages/upstreet-agent/packages/react-agents/util/browser-action-utils.mjs'; diff --git a/packages/usdk/packages/upstreet-agent/durable-object.tsx b/packages/usdk/packages/upstreet-agent/durable-object.tsx index e42ad857c..13d625f37 100644 --- a/packages/usdk/packages/upstreet-agent/durable-object.tsx +++ b/packages/usdk/packages/upstreet-agent/durable-object.tsx @@ -1,7 +1,7 @@ import { DurableObjectImpl } from './durable-object-impl.tsx'; import userRender from '../../agent.tsx'; // note: this will be overwritten by the build process -import * as codecs from 'react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-edge.mjs'; +import * as codecs from 'codecs/ws-codec-runtime-edge.mjs'; Error.stackTraceLimit = 300; diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents-client/worker.ts b/packages/usdk/packages/upstreet-agent/packages/react-agents-client/worker.ts index 7102f7484..93ff4d866 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents-client/worker.ts +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents-client/worker.ts @@ -1,5 +1,5 @@ import './util/worker-globals.mjs'; -import * as codecs from 'react-agents/lib/multiplayer/public/audio-worker/ws-codec-runtime-worker.mjs'; +import * as codecs from 'codecs/ws-codec-runtime-worker.mjs'; import { DurableObjectImpl } from 'upstreet-agent/durable-object-impl.tsx'; // diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-transcriber.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-transcriber.mjs index 11c75ae94..e9537deb3 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-transcriber.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-transcriber.mjs @@ -1,7 +1,7 @@ import { transcribeRealtime, } from '../util/audio-perception.mjs'; -import { resample } from '../lib/multiplayer/public/audio-worker/resample.mjs'; +import { resample } from 'codecs/resample.mjs'; import { AudioChunker, // WavAudioChunker, diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-client.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-client.mjs index 1be3ae367..8847fa9c4 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-client.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/audio-client.mjs @@ -1,8 +1,7 @@ -import {OpusAudioEncoder, OpusAudioDecoder, Mp3AudioEncoder, Mp3AudioDecoder} from '../audio-worker/ws-codec.mjs'; -import {WsMediaStreamAudioReader, FakeAudioData} from '../audio-worker/ws-codec-util.mjs'; +import {OpusAudioEncoder, OpusAudioDecoder, Mp3AudioEncoder, Mp3AudioDecoder} from './ws-codec.mjs'; +import {WsMediaStreamAudioReader, FakeAudioData} from './ws-codec-util.mjs'; import {AudioOutput} from './audio-classes.mjs'; import {getEncodedAudioChunkBuffer, getAudioDataBuffer} from './audio-util.mjs'; -import { makeId, makePromise } from '../util.mjs'; // opus stream -> decoded output audio node export function createOpusAudioOutputStream({ @@ -122,7 +121,7 @@ export function createOpusMicrophoneSource({ } readAndEncode(); - const id = makeId(10); + const id = crypto.randomUUID(); return { id, @@ -169,7 +168,7 @@ export function createPcmF32MicrophoneSource({ }; _readLoop(); - const id = makeId(10); + const id = crypto.randomUUID(); return { id, @@ -243,7 +242,7 @@ export function createOpusReadableStreamSource({ })(); // return result - const id = makeId(10); + const id = crypto.randomUUID(); return { id, @@ -315,7 +314,7 @@ export function createMp3ReadableStreamSource({ })(); // return result - const id = makeId(10); + const id = crypto.randomUUID(); return { id, @@ -369,7 +368,7 @@ export function createMp3MicrophoneSource({ } readAndEncode(); - const id = makeId(10); + const id = crypto.randomUUID(); return { id, @@ -406,7 +405,11 @@ export function createMp3DecodeTransformStream({ } let controller; - const donePromise = makePromise(); + const { + promise: donePromise, + resolve: doneResolve, + reject: doneReject, + } = Promise.withResolvers(); const transformStream = new TransformStream({ start: c => { controller = c; @@ -427,7 +430,7 @@ export function createMp3DecodeTransformStream({ controller.enqueue(encodedChunk.data); } else { // controller.enqueue(null); - donePromise.resolve(); + doneResolve(); } }; function onDecoderError(err) { @@ -464,7 +467,11 @@ export function createOpusDecodeTransformStream({ } let controller; - const donePromise = makePromise(); + const { + promise: donePromise, + resolve: doneResolve, + reject: doneReject, + } = Promise.withResolvers(); const transformStream = new TransformStream({ start: c => { controller = c; @@ -485,7 +492,7 @@ export function createOpusDecodeTransformStream({ controller.enqueue(encodedChunk.data); } else { // controller.enqueue(null); - donePromise.resolve(); + doneResolve(); } }; function onDecoderError(err) { @@ -518,8 +525,7 @@ export function createPcmF32TransformStream({ throw new Error('not implemented'); - let controller; - // const donePromise = makePromise(); + // let controller; const transformStream = new TransformStream({ start: c => { controller = c; @@ -557,7 +563,11 @@ export function createMp3EncodeTransformStream({ } let controller; - const donePromise = makePromise(); + const { + promise: donePromise, + resolve: doneResolve, + reject: doneReject, + } = Promise.withResolvers(); const transformStream = new TransformStream({ start: c => { controller = c; @@ -583,7 +593,7 @@ export function createMp3EncodeTransformStream({ controller.enqueue(data); } else { // output.end(); - donePromise.resolve(); + doneResolve(); } }; function onEncoderError(err) { diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-util.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-util.mjs index 4a8075f5c..33a2988af 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-util.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-util.mjs @@ -1,4 +1,4 @@ -import { resample } from '../audio-worker/resample.mjs'; +import { resample } from './resample.mjs'; export class FakeAudioData { constructor() { diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/discord/discord-client.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/discord/discord-client.js index 5f04a36c2..eadb23d81 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/discord/discord-client.js +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/discord/discord-client.js @@ -11,7 +11,7 @@ import { import { createOpusDecodeTransformStream, createMp3ReadableStreamSource, -} from '../../lib/multiplayer/public/audio-worker/audio-client.mjs'; +} from 'codecs/audio-client.mjs'; import { makePromise, makeId, diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-perception.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-perception.mjs index 810cb3f7c..c33c488d3 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-perception.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/util/audio-perception.mjs @@ -2,8 +2,8 @@ import { mulaw } from '../lib/alawmulaw/dist/alawmulaw.mjs'; import { floatTo16Bit, // int16ToFloat32, -} from '../lib/multiplayer/public/audio-worker/convert.mjs'; -import { AudioEncodeStream } from '../lib/multiplayer/public/audio-worker/audio-encode.mjs'; +} from 'codecs/convert.mjs'; +import { AudioEncodeStream } from 'codecs/audio-encode.mjs'; import { QueueManager } from './queue-manager.mjs'; import { aiHost, From abd25eb76de786bb3c96e078177c5c8d746c2f91 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 13:51:38 -0700 Subject: [PATCH 33/38] Update queue-manager imports --- .../react-agents/lib/codecs/ws-opus-codec.mjs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec.mjs index b152df0e7..2ed45c1ec 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec.mjs @@ -1,6 +1,6 @@ -import {channelCount, /*sampleRate, */ bitrate, frameSize, voiceOptimization} from './ws-constants.mjs'; -import { QueueManager } from '../../../../util/queue-manager.mjs'; -import { floatTo16Bit, int16ToFloat32 } from './convert.mjs'; +import {channelCount, bitrate, frameSize, voiceOptimization} from './ws-constants.mjs'; +import { QueueManager } from './queue-manager.mjs'; +import { floatTo16Bit } from './convert.mjs'; export const makeOpusCodec = (libopus) => class WsOpusCodec extends EventTarget { @@ -103,7 +103,4 @@ class WsOpusCodec extends EventTarget { data: null, })); } -} -// import libopus from './libopusjs/libopus.wasm.js'; -// import {channelCount, /*sampleRate, */ bitrate, frameSize, voiceOptimization} from './ws-constants.js'; -// import { QueueManager } from '../queue-manager.mjs'; \ No newline at end of file +} \ No newline at end of file From a8281a0150404103087feac3b55742878cf6fc2b Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 13:54:01 -0700 Subject: [PATCH 34/38] Move codecs packages into place --- .../lib/codecs/{ => packages}/lamejs/.gitignore | 0 .../lib/codecs/{ => packages}/lamejs/LICENSE | 0 .../lib/codecs/{ => packages}/lamejs/README.md | 0 .../lib/codecs/{ => packages}/lamejs/bower.json | 0 .../lamejs/doc/1000px-Mp3filestructure.svg.png | Bin .../lib/codecs/{ => packages}/lamejs/example.html | 0 .../lib/codecs/{ => packages}/lamejs/lame.all.js | 0 .../lib/codecs/{ => packages}/lamejs/lame.min.js | 0 .../lib/codecs/{ => packages}/lamejs/lame.min.mjs | 0 .../lib/codecs/{ => packages}/lamejs/makeall.sh | 0 .../lib/codecs/{ => packages}/lamejs/minify.sh | 0 .../lib/codecs/{ => packages}/lamejs/package.json | 0 .../lib/codecs/{ => packages}/lamejs/pom.xml | 0 .../lib/codecs/{ => packages}/lamejs/src/js/ATH.js | 0 .../{ => packages}/lamejs/src/js/BitStream.js | 0 .../lamejs/src/js/CBRNewIterationLoop.js | 0 .../{ => packages}/lamejs/src/js/CalcNoiseData.js | 0 .../{ => packages}/lamejs/src/js/CalcNoiseResult.js | 0 .../codecs/{ => packages}/lamejs/src/js/Encoder.js | 0 .../lib/codecs/{ => packages}/lamejs/src/js/FFT.js | 0 .../{ => packages}/lamejs/src/js/GainAnalysis.js | 0 .../codecs/{ => packages}/lamejs/src/js/GrInfo.js | 0 .../{ => packages}/lamejs/src/js/ID3TagSpec.js | 0 .../{ => packages}/lamejs/src/js/IIISideInfo.js | 0 .../{ => packages}/lamejs/src/js/III_psy_ratio.js | 0 .../{ => packages}/lamejs/src/js/III_psy_xmin.js | 0 .../codecs/{ => packages}/lamejs/src/js/L3Side.js | 0 .../lib/codecs/{ => packages}/lamejs/src/js/Lame.js | 0 .../{ => packages}/lamejs/src/js/LameGlobalFlags.js | 0 .../lamejs/src/js/LameInternalFlags.js | 0 .../codecs/{ => packages}/lamejs/src/js/MPEGMode.js | 0 .../codecs/{ => packages}/lamejs/src/js/MeanBits.js | 0 .../codecs/{ => packages}/lamejs/src/js/NewMDCT.js | 0 .../codecs/{ => packages}/lamejs/src/js/NsPsy.js | 0 .../codecs/{ => packages}/lamejs/src/js/Presets.js | 0 .../codecs/{ => packages}/lamejs/src/js/PsyModel.js | 0 .../codecs/{ => packages}/lamejs/src/js/Quantize.js | 0 .../{ => packages}/lamejs/src/js/QuantizePVT.js | 0 .../{ => packages}/lamejs/src/js/ReplayGain.js | 0 .../{ => packages}/lamejs/src/js/Reservoir.js | 0 .../codecs/{ => packages}/lamejs/src/js/ScaleFac.js | 0 .../codecs/{ => packages}/lamejs/src/js/Tables.js | 0 .../codecs/{ => packages}/lamejs/src/js/Takehiro.js | 0 .../codecs/{ => packages}/lamejs/src/js/Tests.js | 0 .../{ => packages}/lamejs/src/js/VBRQuantize.js | 0 .../{ => packages}/lamejs/src/js/VBRSeekInfo.js | 0 .../codecs/{ => packages}/lamejs/src/js/VBRTag.js | 0 .../codecs/{ => packages}/lamejs/src/js/Version.js | 0 .../codecs/{ => packages}/lamejs/src/js/common.js | 0 .../codecs/{ => packages}/lamejs/src/js/index.js | 0 .../lamejs/src/main/assembly/bundle.xml | 0 .../{ => packages}/lamejs/src/main/java/COPYING | 0 .../{ => packages}/lamejs/src/main/java/LICENSE | 0 .../{ => packages}/lamejs/src/main/java/README | 0 .../{ => packages}/lamejs/src/main/java/USAGE | 0 .../lamejs/src/main/java/lowlevel/LameDecoder.java | 0 .../lamejs/src/main/java/lowlevel/LameEncoder.java | 0 .../lamejs/src/main/java/mp3/ABRIterationLoop.java | 0 .../lamejs/src/main/java/mp3/ABRPresets.java | 0 .../lamejs/src/main/java/mp3/ATH.java | 0 .../lamejs/src/main/java/mp3/BRHist.java | 0 .../lamejs/src/main/java/mp3/BitStream.java | 0 .../src/main/java/mp3/CBRNewIterationLoop.java | 0 .../lamejs/src/main/java/mp3/CalcNoiseData.java | 0 .../lamejs/src/main/java/mp3/CalcNoiseResult.java | 0 .../lamejs/src/main/java/mp3/Enc.java | 0 .../lamejs/src/main/java/mp3/Encoder.java | 0 .../lamejs/src/main/java/mp3/FFT.java | 0 .../lamejs/src/main/java/mp3/FrameDataNode.java | 0 .../lamejs/src/main/java/mp3/GainAnalysis.java | 0 .../lamejs/src/main/java/mp3/GenreListHandler.java | 0 .../lamejs/src/main/java/mp3/GetAudio.java | 0 .../lamejs/src/main/java/mp3/GrInfo.java | 0 .../lamejs/src/main/java/mp3/HuffCodeTab.java | 0 .../lamejs/src/main/java/mp3/ID3Tag.java | 0 .../lamejs/src/main/java/mp3/ID3TagSpec.java | 0 .../lamejs/src/main/java/mp3/IIISideInfo.java | 0 .../lamejs/src/main/java/mp3/III_psy_ratio.java | 0 .../lamejs/src/main/java/mp3/III_psy_xmin.java | 0 .../lamejs/src/main/java/mp3/IIterationLoop.java | 0 .../lamejs/src/main/java/mp3/Inf.java | 0 .../lamejs/src/main/java/mp3/L3Side.java | 0 .../lamejs/src/main/java/mp3/Lame.java | 0 .../lamejs/src/main/java/mp3/LameGlobalFlags.java | 0 .../lamejs/src/main/java/mp3/LameInternalFlags.java | 0 .../lamejs/src/main/java/mp3/LameTest.java | 0 .../src/main/java/mp3/LongBlockConstrain.java | 0 .../lamejs/src/main/java/mp3/MP3Data.java | 0 .../lamejs/src/main/java/mp3/MPEGMode.java | 0 .../lamejs/src/main/java/mp3/Main.java | 0 .../lamejs/src/main/java/mp3/MeanBits.java | 0 .../lamejs/src/main/java/mp3/NewMDCT.java | 0 .../lamejs/src/main/java/mp3/NsPsy.java | 0 .../lamejs/src/main/java/mp3/PSY.java | 0 .../lamejs/src/main/java/mp3/Parse.java | 0 .../lamejs/src/main/java/mp3/PlottingData.java | 0 .../lamejs/src/main/java/mp3/Presets.java | 0 .../lamejs/src/main/java/mp3/PsyModel.java | 0 .../lamejs/src/main/java/mp3/Quantize.java | 0 .../lamejs/src/main/java/mp3/QuantizePVT.java | 0 .../lamejs/src/main/java/mp3/ReplayGain.java | 0 .../lamejs/src/main/java/mp3/Reservoir.java | 0 .../lamejs/src/main/java/mp3/ScaleFac.java | 0 .../lamejs/src/main/java/mp3/ShortBlock.java | 0 .../src/main/java/mp3/ShortBlockConstrain.java | 0 .../lamejs/src/main/java/mp3/Tables.java | 0 .../lamejs/src/main/java/mp3/Takehiro.java | 0 .../lamejs/src/main/java/mp3/Util.java | 0 .../src/main/java/mp3/VBRNewIterationLoop.java | 0 .../src/main/java/mp3/VBROldIterationLoop.java | 0 .../lamejs/src/main/java/mp3/VBRPresets.java | 0 .../lamejs/src/main/java/mp3/VBRQuantize.java | 0 .../lamejs/src/main/java/mp3/VBRSeekInfo.java | 0 .../lamejs/src/main/java/mp3/VBRTag.java | 0 .../lamejs/src/main/java/mp3/VBRTagData.java | 0 .../lamejs/src/main/java/mp3/VbrMode.java | 0 .../lamejs/src/main/java/mp3/Version.java | 0 .../lamejs/src/main/java/mpg/Common.java | 0 .../lamejs/src/main/java/mpg/DCT64.java | 0 .../lamejs/src/main/java/mpg/Decode.java | 0 .../lamejs/src/main/java/mpg/Frame.java | 0 .../lamejs/src/main/java/mpg/Huffman.java | 0 .../lamejs/src/main/java/mpg/Interface.java | 0 .../lamejs/src/main/java/mpg/L2Tables.java | 0 .../lamejs/src/main/java/mpg/Layer1.java | 0 .../lamejs/src/main/java/mpg/Layer2.java | 0 .../lamejs/src/main/java/mpg/Layer3.java | 0 .../lamejs/src/main/java/mpg/MPG123.java | 0 .../lamejs/src/main/java/mpg/MPGLib.java | 0 .../lamejs/src/main/java/mpg/TabInit.java | 0 .../lamejs/src/main/java/ui/InputTableModel.java | 0 .../lamejs/src/main/java/ui/LameUI.java | 0 .../lamejs/src/main/java/ui/Picture.java | 0 .../lamejs/src/main/resources/LameUI.xml | 0 .../lamejs/src/main/resources/picture.png | Bin .../lamejs/src/main/resources/run.bat | 0 .../{ => packages}/lamejs/src/main/resources/run.sh | 0 .../codecs/{ => packages}/lamejs/testdata/Left.wav | Bin .../{ => packages}/lamejs/testdata/Left44100.wav | Bin .../codecs/{ => packages}/lamejs/testdata/Right.wav | Bin .../{ => packages}/lamejs/testdata/Right44100.wav | Bin .../{ => packages}/lamejs/testdata/Stereo44100.wav | Bin .../{ => packages}/lamejs/worker-example/index.html | 0 .../{ => packages}/lamejs/worker-example/index.js | 0 .../{ => packages}/lamejs/worker-example/mic.html | 0 .../{ => packages}/lamejs/worker-example/mic.js | 0 .../lamejs/worker-example/worker-realtime.js | 0 .../{ => packages}/lamejs/worker-example/worker.js | 0 .../codecs/{ => packages}/libopusjs/libopus.wasm | Bin .../{ => packages}/libopusjs/libopus.wasm.fetch.js | 0 .../{ => packages}/libopusjs/libopus.wasm.fs.js | 0 .../codecs/{ => packages}/libopusjs/libopus.wasm.js | 0 .../codecs/{ => packages}/libopusjs/package.json | 0 .../codecs/{ => packages}/mpg123-decoder/README.md | 0 .../codecs/{ => packages}/mpg123-decoder/index.js | 0 .../{ => packages}/mpg123-decoder/package-lock.json | 0 .../{ => packages}/mpg123-decoder/package.json | 0 .../packages/wasm-audio-decoders-common/index.js | 0 .../wasm-audio-decoders-common/package.json | 0 .../src/WASMAudioDecoderCommon.js | 0 .../src/WASMAudioDecoderWorker.js | 0 .../wasm-audio-decoders-common/src/puff/README | 0 .../src/puff/build_puff.js | 0 .../wasm-audio-decoders-common/src/puff/puff.c | 0 .../wasm-audio-decoders-common/src/puff/puff.h | 0 .../wasm-audio-decoders-common/src/utilities.js | 0 .../packages/wasm-audio-decoders-common/types.d.ts | 0 .../{ => packages}/mpg123-decoder/rollup.json | 0 .../mpg123-decoder/src/EmscriptenWasm.js | Bin .../mpg123-decoder/src/MPEGDecoder.fetch.js | 0 .../mpg123-decoder/src/MPEGDecoder.fs.js | 0 .../mpg123-decoder/src/MPEGDecoder.js | 0 .../mpg123-decoder/src/MPEGDecoderWebWorker.js | 0 .../mpg123-decoder/src/emscripten-post.js | 0 .../mpg123-decoder/src/emscripten-pre.js | 0 .../mpg123-decoder/src/emscripten-wasm.wasm | Bin .../mpg123-decoder/src/mpeg_frame_decoder.c | 0 .../mpg123-decoder/src/mpeg_frame_decoder.h | 0 .../src/wasm-audio-decoder-common.wasm | Bin .../{ => packages}/mpg123-decoder/terser.json | 0 .../codecs/{ => packages}/mpg123-decoder/types.d.ts | 0 181 files changed, 0 insertions(+), 0 deletions(-) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/.gitignore (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/LICENSE (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/README.md (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/bower.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/doc/1000px-Mp3filestructure.svg.png (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/example.html (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/lame.all.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/lame.min.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/lame.min.mjs (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/makeall.sh (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/minify.sh (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/package.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/pom.xml (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/ATH.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/BitStream.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/CBRNewIterationLoop.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/CalcNoiseData.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/CalcNoiseResult.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/Encoder.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/FFT.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/GainAnalysis.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/GrInfo.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/ID3TagSpec.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/IIISideInfo.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/III_psy_ratio.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/III_psy_xmin.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/L3Side.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/Lame.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/LameGlobalFlags.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/LameInternalFlags.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/MPEGMode.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/MeanBits.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/NewMDCT.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/NsPsy.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/Presets.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/PsyModel.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/Quantize.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/QuantizePVT.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/ReplayGain.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/Reservoir.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/ScaleFac.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/Tables.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/Takehiro.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/Tests.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/VBRQuantize.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/VBRSeekInfo.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/VBRTag.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/Version.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/common.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/js/index.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/assembly/bundle.xml (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/COPYING (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/LICENSE (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/README (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/USAGE (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/lowlevel/LameDecoder.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/lowlevel/LameEncoder.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/ABRIterationLoop.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/ABRPresets.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/ATH.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/BRHist.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/BitStream.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/CBRNewIterationLoop.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/CalcNoiseData.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/CalcNoiseResult.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Enc.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Encoder.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/FFT.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/FrameDataNode.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/GainAnalysis.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/GenreListHandler.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/GetAudio.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/GrInfo.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/HuffCodeTab.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/ID3Tag.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/ID3TagSpec.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/IIISideInfo.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/III_psy_ratio.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/III_psy_xmin.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/IIterationLoop.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Inf.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/L3Side.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Lame.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/LameGlobalFlags.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/LameInternalFlags.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/LameTest.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/LongBlockConstrain.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/MP3Data.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/MPEGMode.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Main.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/MeanBits.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/NewMDCT.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/NsPsy.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/PSY.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Parse.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/PlottingData.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Presets.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/PsyModel.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Quantize.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/QuantizePVT.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/ReplayGain.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Reservoir.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/ScaleFac.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/ShortBlock.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/ShortBlockConstrain.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Tables.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Takehiro.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Util.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/VBRNewIterationLoop.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/VBROldIterationLoop.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/VBRPresets.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/VBRQuantize.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/VBRSeekInfo.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/VBRTag.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/VBRTagData.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/VbrMode.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mp3/Version.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/Common.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/DCT64.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/Decode.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/Frame.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/Huffman.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/Interface.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/L2Tables.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/Layer1.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/Layer2.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/Layer3.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/MPG123.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/MPGLib.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/mpg/TabInit.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/ui/InputTableModel.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/ui/LameUI.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/java/ui/Picture.java (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/resources/LameUI.xml (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/resources/picture.png (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/resources/run.bat (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/src/main/resources/run.sh (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/testdata/Left.wav (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/testdata/Left44100.wav (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/testdata/Right.wav (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/testdata/Right44100.wav (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/testdata/Stereo44100.wav (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/worker-example/index.html (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/worker-example/index.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/worker-example/mic.html (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/worker-example/mic.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/worker-example/worker-realtime.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/lamejs/worker-example/worker.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/libopusjs/libopus.wasm (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/libopusjs/libopus.wasm.fetch.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/libopusjs/libopus.wasm.fs.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/libopusjs/libopus.wasm.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/libopusjs/package.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/README.md (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/index.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/package-lock.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/package.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/packages/wasm-audio-decoders-common/index.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/packages/wasm-audio-decoders-common/package.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderCommon.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderWorker.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/README (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/build_puff.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.c (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.h (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/packages/wasm-audio-decoders-common/src/utilities.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/packages/wasm-audio-decoders-common/types.d.ts (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/rollup.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/src/EmscriptenWasm.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/src/MPEGDecoder.fetch.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/src/MPEGDecoder.fs.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/src/MPEGDecoder.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/src/MPEGDecoderWebWorker.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/src/emscripten-post.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/src/emscripten-pre.js (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/src/emscripten-wasm.wasm (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/src/mpeg_frame_decoder.c (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/src/mpeg_frame_decoder.h (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/src/wasm-audio-decoder-common.wasm (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/terser.json (100%) rename packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/{ => packages}/mpg123-decoder/types.d.ts (100%) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/.gitignore b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/.gitignore similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/.gitignore rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/.gitignore diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/LICENSE b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/LICENSE similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/LICENSE rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/LICENSE diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/README.md b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/README.md similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/README.md rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/README.md diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/bower.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/bower.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/bower.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/bower.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/doc/1000px-Mp3filestructure.svg.png b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/doc/1000px-Mp3filestructure.svg.png similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/doc/1000px-Mp3filestructure.svg.png rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/doc/1000px-Mp3filestructure.svg.png diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/example.html b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/example.html similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/example.html rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/example.html diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.all.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/lame.all.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.all.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/lame.all.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.min.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/lame.min.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.min.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/lame.min.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.min.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/lame.min.mjs similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/lame.min.mjs rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/lame.min.mjs diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/makeall.sh b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/makeall.sh similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/makeall.sh rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/makeall.sh diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/minify.sh b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/minify.sh similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/minify.sh rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/minify.sh diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/package.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/package.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/package.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/package.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/pom.xml b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/pom.xml similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/pom.xml rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/pom.xml diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ATH.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/ATH.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ATH.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/ATH.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/BitStream.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/BitStream.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/BitStream.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/BitStream.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CBRNewIterationLoop.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/CBRNewIterationLoop.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CBRNewIterationLoop.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/CBRNewIterationLoop.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CalcNoiseData.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/CalcNoiseData.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CalcNoiseData.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/CalcNoiseData.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CalcNoiseResult.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/CalcNoiseResult.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/CalcNoiseResult.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/CalcNoiseResult.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Encoder.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Encoder.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Encoder.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Encoder.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/FFT.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/FFT.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/FFT.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/FFT.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/GainAnalysis.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/GainAnalysis.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/GainAnalysis.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/GainAnalysis.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/GrInfo.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/GrInfo.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/GrInfo.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/GrInfo.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ID3TagSpec.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/ID3TagSpec.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ID3TagSpec.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/ID3TagSpec.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/IIISideInfo.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/IIISideInfo.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/IIISideInfo.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/IIISideInfo.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/III_psy_ratio.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/III_psy_ratio.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/III_psy_ratio.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/III_psy_ratio.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/III_psy_xmin.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/III_psy_xmin.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/III_psy_xmin.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/III_psy_xmin.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/L3Side.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/L3Side.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/L3Side.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/L3Side.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Lame.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Lame.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Lame.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Lame.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/LameGlobalFlags.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/LameGlobalFlags.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/LameGlobalFlags.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/LameGlobalFlags.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/LameInternalFlags.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/LameInternalFlags.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/LameInternalFlags.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/LameInternalFlags.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/MPEGMode.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/MPEGMode.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/MPEGMode.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/MPEGMode.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/MeanBits.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/MeanBits.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/MeanBits.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/MeanBits.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/NewMDCT.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/NewMDCT.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/NewMDCT.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/NewMDCT.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/NsPsy.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/NsPsy.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/NsPsy.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/NsPsy.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Presets.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Presets.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Presets.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Presets.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/PsyModel.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/PsyModel.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/PsyModel.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/PsyModel.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Quantize.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Quantize.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Quantize.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Quantize.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/QuantizePVT.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/QuantizePVT.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/QuantizePVT.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/QuantizePVT.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ReplayGain.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/ReplayGain.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ReplayGain.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/ReplayGain.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Reservoir.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Reservoir.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Reservoir.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Reservoir.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ScaleFac.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/ScaleFac.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/ScaleFac.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/ScaleFac.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Tables.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Tables.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Tables.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Tables.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Takehiro.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Takehiro.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Takehiro.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Takehiro.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Tests.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Tests.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Tests.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Tests.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRQuantize.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/VBRQuantize.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRQuantize.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/VBRQuantize.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRSeekInfo.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/VBRSeekInfo.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRSeekInfo.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/VBRSeekInfo.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRTag.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/VBRTag.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/VBRTag.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/VBRTag.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Version.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Version.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/Version.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/Version.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/common.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/common.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/common.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/common.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/index.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/index.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/js/index.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/js/index.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/assembly/bundle.xml b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/assembly/bundle.xml similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/assembly/bundle.xml rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/assembly/bundle.xml diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/COPYING b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/COPYING similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/COPYING rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/COPYING diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/LICENSE b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/LICENSE similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/LICENSE rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/LICENSE diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/README b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/README similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/README rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/README diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/USAGE b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/USAGE similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/USAGE rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/USAGE diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/lowlevel/LameDecoder.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/lowlevel/LameDecoder.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/lowlevel/LameDecoder.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/lowlevel/LameDecoder.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/lowlevel/LameEncoder.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/lowlevel/LameEncoder.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/lowlevel/LameEncoder.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/lowlevel/LameEncoder.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ABRIterationLoop.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ABRIterationLoop.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ABRIterationLoop.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ABRIterationLoop.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ABRPresets.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ABRPresets.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ABRPresets.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ABRPresets.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ATH.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ATH.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ATH.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ATH.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/BRHist.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/BRHist.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/BRHist.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/BRHist.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/BitStream.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/BitStream.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/BitStream.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/BitStream.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CBRNewIterationLoop.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/CBRNewIterationLoop.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CBRNewIterationLoop.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/CBRNewIterationLoop.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CalcNoiseData.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/CalcNoiseData.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CalcNoiseData.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/CalcNoiseData.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CalcNoiseResult.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/CalcNoiseResult.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/CalcNoiseResult.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/CalcNoiseResult.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Enc.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Enc.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Enc.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Enc.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Encoder.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Encoder.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Encoder.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Encoder.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/FFT.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/FFT.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/FFT.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/FFT.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/FrameDataNode.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/FrameDataNode.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/FrameDataNode.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/FrameDataNode.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GainAnalysis.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/GainAnalysis.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GainAnalysis.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/GainAnalysis.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GenreListHandler.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/GenreListHandler.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GenreListHandler.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/GenreListHandler.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GetAudio.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/GetAudio.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GetAudio.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/GetAudio.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GrInfo.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/GrInfo.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/GrInfo.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/GrInfo.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/HuffCodeTab.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/HuffCodeTab.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/HuffCodeTab.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/HuffCodeTab.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ID3Tag.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ID3Tag.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ID3Tag.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ID3Tag.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ID3TagSpec.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ID3TagSpec.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ID3TagSpec.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ID3TagSpec.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/IIISideInfo.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/IIISideInfo.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/IIISideInfo.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/IIISideInfo.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/III_psy_ratio.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/III_psy_ratio.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/III_psy_ratio.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/III_psy_ratio.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/III_psy_xmin.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/III_psy_xmin.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/III_psy_xmin.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/III_psy_xmin.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/IIterationLoop.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/IIterationLoop.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/IIterationLoop.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/IIterationLoop.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Inf.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Inf.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Inf.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Inf.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/L3Side.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/L3Side.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/L3Side.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/L3Side.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Lame.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Lame.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Lame.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Lame.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameGlobalFlags.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/LameGlobalFlags.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameGlobalFlags.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/LameGlobalFlags.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameInternalFlags.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/LameInternalFlags.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameInternalFlags.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/LameInternalFlags.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameTest.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/LameTest.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LameTest.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/LameTest.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LongBlockConstrain.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/LongBlockConstrain.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/LongBlockConstrain.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/LongBlockConstrain.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MP3Data.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/MP3Data.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MP3Data.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/MP3Data.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MPEGMode.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/MPEGMode.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MPEGMode.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/MPEGMode.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Main.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Main.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Main.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Main.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MeanBits.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/MeanBits.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/MeanBits.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/MeanBits.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/NewMDCT.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/NewMDCT.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/NewMDCT.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/NewMDCT.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/NsPsy.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/NsPsy.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/NsPsy.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/NsPsy.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PSY.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/PSY.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PSY.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/PSY.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Parse.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Parse.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Parse.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Parse.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PlottingData.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/PlottingData.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PlottingData.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/PlottingData.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Presets.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Presets.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Presets.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Presets.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PsyModel.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/PsyModel.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/PsyModel.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/PsyModel.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Quantize.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Quantize.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Quantize.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Quantize.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/QuantizePVT.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/QuantizePVT.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/QuantizePVT.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/QuantizePVT.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ReplayGain.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ReplayGain.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ReplayGain.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ReplayGain.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Reservoir.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Reservoir.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Reservoir.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Reservoir.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ScaleFac.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ScaleFac.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ScaleFac.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ScaleFac.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ShortBlock.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ShortBlock.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ShortBlock.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ShortBlock.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ShortBlockConstrain.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ShortBlockConstrain.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/ShortBlockConstrain.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/ShortBlockConstrain.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Tables.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Tables.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Tables.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Tables.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Takehiro.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Takehiro.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Takehiro.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Takehiro.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Util.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Util.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Util.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Util.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRNewIterationLoop.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRNewIterationLoop.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRNewIterationLoop.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRNewIterationLoop.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBROldIterationLoop.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBROldIterationLoop.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBROldIterationLoop.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBROldIterationLoop.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRPresets.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRPresets.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRPresets.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRPresets.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRQuantize.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRQuantize.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRQuantize.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRQuantize.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRSeekInfo.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRSeekInfo.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRSeekInfo.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRSeekInfo.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRTag.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRTag.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRTag.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRTag.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRTagData.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRTagData.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VBRTagData.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VBRTagData.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VbrMode.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VbrMode.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/VbrMode.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/VbrMode.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Version.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Version.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mp3/Version.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mp3/Version.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Common.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Common.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Common.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Common.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/DCT64.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/DCT64.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/DCT64.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/DCT64.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Decode.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Decode.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Decode.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Decode.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Frame.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Frame.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Frame.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Frame.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Huffman.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Huffman.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Huffman.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Huffman.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Interface.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Interface.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Interface.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Interface.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/L2Tables.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/L2Tables.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/L2Tables.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/L2Tables.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer1.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Layer1.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer1.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Layer1.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer2.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Layer2.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer2.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Layer2.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer3.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Layer3.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/Layer3.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/Layer3.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/MPG123.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/MPG123.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/MPG123.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/MPG123.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/MPGLib.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/MPGLib.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/MPGLib.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/MPGLib.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/TabInit.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/TabInit.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/mpg/TabInit.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/mpg/TabInit.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/InputTableModel.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/ui/InputTableModel.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/InputTableModel.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/ui/InputTableModel.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/LameUI.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/ui/LameUI.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/LameUI.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/ui/LameUI.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/Picture.java b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/ui/Picture.java similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/java/ui/Picture.java rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/java/ui/Picture.java diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/LameUI.xml b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/resources/LameUI.xml similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/LameUI.xml rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/resources/LameUI.xml diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/picture.png b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/resources/picture.png similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/picture.png rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/resources/picture.png diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/run.bat b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/resources/run.bat similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/run.bat rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/resources/run.bat diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/run.sh b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/resources/run.sh similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/src/main/resources/run.sh rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/src/main/resources/run.sh diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Left.wav b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/testdata/Left.wav similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Left.wav rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/testdata/Left.wav diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Left44100.wav b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/testdata/Left44100.wav similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Left44100.wav rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/testdata/Left44100.wav diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Right.wav b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/testdata/Right.wav similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Right.wav rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/testdata/Right.wav diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Right44100.wav b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/testdata/Right44100.wav similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Right44100.wav rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/testdata/Right44100.wav diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Stereo44100.wav b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/testdata/Stereo44100.wav similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/testdata/Stereo44100.wav rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/testdata/Stereo44100.wav diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/index.html b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/index.html similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/index.html rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/index.html diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/index.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/index.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/index.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/index.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/mic.html b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/mic.html similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/mic.html rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/mic.html diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/mic.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/mic.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/mic.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/mic.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/worker-realtime.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/worker-realtime.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/worker-realtime.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/worker-realtime.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/worker.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/worker.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/lamejs/worker-example/worker.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs/worker-example/worker.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs/libopus.wasm similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs/libopus.wasm diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.fetch.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs/libopus.wasm.fetch.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.fetch.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs/libopus.wasm.fetch.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.fs.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs/libopus.wasm.fs.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.fs.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs/libopus.wasm.fs.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs/libopus.wasm.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/libopus.wasm.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs/libopus.wasm.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/package.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs/package.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/libopusjs/package.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs/package.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/README.md b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/README.md similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/README.md rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/README.md diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/index.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/index.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/index.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/index.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/package-lock.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/package-lock.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/package-lock.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/package-lock.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/package.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/package.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/package.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/package.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/index.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/index.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/index.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/index.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/package.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/package.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/package.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/package.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderCommon.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderCommon.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderCommon.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderCommon.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderWorker.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderWorker.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderWorker.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/WASMAudioDecoderWorker.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/README b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/README similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/README rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/README diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/build_puff.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/build_puff.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/build_puff.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/build_puff.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.c b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.c similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.c rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.c diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.h b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.h similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.h rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/puff/puff.h diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/utilities.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/utilities.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/src/utilities.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/src/utilities.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/types.d.ts b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/types.d.ts similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/packages/wasm-audio-decoders-common/types.d.ts rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common/types.d.ts diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/rollup.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/rollup.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/rollup.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/rollup.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/EmscriptenWasm.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/EmscriptenWasm.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/EmscriptenWasm.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/EmscriptenWasm.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.fetch.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/MPEGDecoder.fetch.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.fetch.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/MPEGDecoder.fetch.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.fs.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/MPEGDecoder.fs.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.fs.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/MPEGDecoder.fs.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/MPEGDecoder.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoder.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/MPEGDecoder.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoderWebWorker.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/MPEGDecoderWebWorker.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/MPEGDecoderWebWorker.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/MPEGDecoderWebWorker.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-post.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/emscripten-post.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-post.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/emscripten-post.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-pre.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/emscripten-pre.js similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-pre.js rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/emscripten-pre.js diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-wasm.wasm b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/emscripten-wasm.wasm similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/emscripten-wasm.wasm rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/emscripten-wasm.wasm diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/mpeg_frame_decoder.c b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/mpeg_frame_decoder.c similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/mpeg_frame_decoder.c rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/mpeg_frame_decoder.c diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/mpeg_frame_decoder.h b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/mpeg_frame_decoder.h similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/mpeg_frame_decoder.h rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/mpeg_frame_decoder.h diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/wasm-audio-decoder-common.wasm b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/wasm-audio-decoder-common.wasm similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/src/wasm-audio-decoder-common.wasm rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/src/wasm-audio-decoder-common.wasm diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/terser.json b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/terser.json similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/terser.json rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/terser.json diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/types.d.ts b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/types.d.ts similarity index 100% rename from packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/mpg123-decoder/types.d.ts rename to packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/types.d.ts From 33a35e3fd7148ea95d37170fe88be1b884c6d69c Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 13:54:18 -0700 Subject: [PATCH 35/38] Update package-lock.json --- package-lock.json | 55 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8c6899005..f3c5c65c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5757,6 +5757,12 @@ "node": ">=12" } }, + "node_modules/@eshaz/web-worker": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@eshaz/web-worker/-/web-worker-1.2.2.tgz", + "integrity": "sha512-WxXiHFmD9u/owrzempiDlBB1ZYqiLnm9s6aPc8AlFQalq2tKmqdmMr9GXOupDgzXtqnBipj8Un0gkIm7Sjf8mw==", + "license": "Apache-2.0" + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -17291,6 +17297,10 @@ "vite": "^4.2.0 || ^5.0.0" } }, + "node_modules/@wasm-audio-decoders/common": { + "resolved": "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common", + "link": true + }, "node_modules/@webassemblyjs/ast": { "version": "1.12.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.12.1.tgz", @@ -45237,6 +45247,16 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/simple-yenc": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/simple-yenc/-/simple-yenc-1.0.4.tgz", + "integrity": "sha512-5gvxpSd79e9a3V4QDYUqnqxeD4HGlhCakVpb6gMnDD7lexJggSBJRBO5h52y/iJrdXRilX9UCuDaIJhSWm5OWw==", + "license": "MIT", + "funding": { + "type": "individual", + "url": "https://github.com/sponsors/eshaz" + } + }, "node_modules/sirv": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.4.tgz", @@ -48309,6 +48329,12 @@ } } }, + "node_modules/use-strict": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/use-strict/-/use-strict-1.0.1.tgz", + "integrity": "sha512-IeiWvvEXfW5ltKVMkxq6FvNf2LojMKvB2OCeja6+ct24S1XOmQw2dGr2JyndwACWAGJva9B7yPHwAmeA9QCqAQ==", + "license": "ISC" + }, "node_modules/use-sync-external-store": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz", @@ -51362,9 +51388,34 @@ "resolved": "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder", "link": true }, - "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs": {}, + "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/lamejs": { + "version": "1.2.1", + "license": "LGPL-3.0", + "dependencies": { + "use-strict": "1.0.1" + } + }, "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/libopusjs": {}, - "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder": {}, + "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@wasm-audio-decoders/common": "file:./packages/wasm-audio-decoders-common" + }, + "funding": { + "type": "individual", + "url": "https://github.com/sponsors/eshaz" + } + }, + "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/packages/mpg123-decoder/packages/wasm-audio-decoders-common": { + "name": "@wasm-audio-decoders/common", + "version": "9.0.5", + "license": "MIT", + "dependencies": { + "@eshaz/web-worker": "1.2.2", + "simple-yenc": "^1.0.4" + } + }, "packages/usdk/packages/upstreet-agent/packages/react-agents/lib/multiplayer": { "version": "0.6.0", "license": "MIT", From 8bf6fe7d0d7c5a4bb123b83c762ef4de10ec5808 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 14:01:05 -0700 Subject: [PATCH 36/38] Update packages paths --- .../react-agents/lib/codecs/ws-codec-runtime-edge.mjs | 4 ++-- .../packages/react-agents/lib/codecs/ws-codec-runtime-fs.mjs | 4 ++-- .../react-agents/lib/codecs/ws-mp3-decoder-worker.mjs | 2 +- .../packages/react-agents/lib/codecs/ws-mp3-encoder.mjs | 3 +-- .../packages/react-agents/lib/codecs/ws-opus-codec-worker.js | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-edge.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-edge.mjs index 983320e58..368a8013b 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-edge.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-edge.mjs @@ -1,9 +1,9 @@ -import libopus from './libopusjs/libopus.wasm.js'; +import libopus from './packages/libopusjs/libopus.wasm.js'; import { makeOpusCodec } from './ws-opus-codec.mjs'; export const WsOpusCodec = makeOpusCodec(libopus); export { WsMp3Encoder } from './ws-mp3-encoder.mjs'; -import MPEGDecoder from './mpg123-decoder/src/MPEGDecoder.js'; +import MPEGDecoder from './packages/mpg123-decoder/src/MPEGDecoder.js'; import { makeMp3Decoder } from './ws-mp3-decoder.mjs'; export const WsMp3Decoder = makeMp3Decoder(MPEGDecoder); \ No newline at end of file diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-fs.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-fs.mjs index a8d130a4d..bd0cd26d3 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-fs.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-fs.mjs @@ -1,9 +1,9 @@ -import libopus from './libopusjs/libopus.wasm.fs.js'; +import libopus from './packages/libopusjs/libopus.wasm.fs.js'; import { makeOpusCodec } from './ws-opus-codec.mjs'; export const WsOpusCodec = makeOpusCodec(libopus); export { WsMp3Encoder } from './ws-mp3-encoder.mjs'; -import MPEGDecoder from './mpg123-decoder/src/MPEGDecoder.fs.js'; +import MPEGDecoder from './packages/mpg123-decoder/src/MPEGDecoder.fs.js'; import { makeMp3Decoder } from './ws-mp3-decoder.mjs'; export const WsMp3Decoder = makeMp3Decoder(MPEGDecoder); \ No newline at end of file diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-decoder-worker.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-decoder-worker.mjs index 55b289de4..18492f649 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-decoder-worker.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-decoder-worker.mjs @@ -1,4 +1,4 @@ -import MPEGDecoder from './mpg123-decoder/src/MPEGDecoder.fetch.js'; +import MPEGDecoder from './packages/mpg123-decoder/src/MPEGDecoder.fetch.js'; import { makeMp3Decoder } from './ws-mp3-decoder.mjs'; const WsMp3Decoder = makeMp3Decoder(MPEGDecoder); diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-encoder.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-encoder.mjs index 09012a1f3..70808866d 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-encoder.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-mp3-encoder.mjs @@ -1,5 +1,4 @@ -import lamejs from './lamejs/lame.all.js'; -// import lamejs from './lamejs/lame.min.mjs'; +import lamejs from './packages/lamejs/lame.all.js'; import {channelCount, /*frameSize, voiceOptimization*/} from './ws-constants.mjs'; import { floatTo16Bit, int16ToFloat32 } from './convert.mjs'; diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec-worker.js b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec-worker.js index df98c3360..5ca8af2f9 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec-worker.js +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/lib/codecs/ws-opus-codec-worker.js @@ -1,4 +1,4 @@ -import libopus from './libopusjs/libopus.wasm.fetch.js'; +import libopus from './packages/libopusjs/libopus.wasm.fetch.js'; import { makeOpusCodec, } from './ws-opus-codec.mjs'; From 76252a6210de4c942353b8f173638aa90d85baf7 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 14:08:44 -0700 Subject: [PATCH 37/38] Bugfix cli imports --- packages/usdk/cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/usdk/cli.js b/packages/usdk/cli.js index 1682f1c71..5b727c4d3 100644 --- a/packages/usdk/cli.js +++ b/packages/usdk/cli.js @@ -68,9 +68,9 @@ import { import { NetworkRealms } from './packages/upstreet-agent/packages/react-agents/lib/multiplayer/public/network-realms.mjs'; // XXX should be a deduplicated import, in a separate npm module import { AutoVoiceEndpoint, VoiceEndpointVoicer } from './packages/upstreet-agent/packages/react-agents/lib/voice-output/voice-endpoint-voicer.mjs'; -import { AudioDecodeStream } from 'codecs/audio-decode.mjs'; +import { AudioDecodeStream } from './packages/upstreet-agent/packages/react-agents/lib/codecs/audio-decode.mjs'; -import * as codecs from 'codecs/ws-codec-runtime-fs.mjs'; +import * as codecs from './packages/upstreet-agent/packages/react-agents/lib/codecs/ws-codec-runtime-fs.mjs'; import { webbrowserActionsToText } from './packages/upstreet-agent/packages/react-agents/util/browser-action-utils.mjs'; From 985bcea992f6e6bcb8381b66c3cce7ffda2bc3b4 Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 16 Oct 2024 14:08:55 -0700 Subject: [PATCH 38/38] Dead code cleanup --- .../react-agents/devices/audio-output.mjs | 49 ------------------- 1 file changed, 49 deletions(-) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-output.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-output.mjs index ec03c9a6d..7cf1fd7cc 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-output.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents/devices/audio-output.mjs @@ -4,13 +4,9 @@ export class SpeakerOutputStream extends WritableStream { static defaultSampleRate = 44100; constructor({ - // metadata, sampleRate = SpeakerOutputStream.defaultSampleRate, } = {}) { super({ - // start: c => { - // controller = c; - // }, write: (chunk, controller) => { // console.log('speaker write', chunk); let uint8Array; @@ -29,58 +25,13 @@ export class SpeakerOutputStream extends WritableStream { }, }); - // this.metadata = metadata; this.sampleRate = sampleRate; - // // let controller; - // // const donePromise = makePromise(); - // const inputStream = new TransformStream({ - // // start: c => { - // // controller = c; - // // }, - // transform: (chunk, controller) => { - // // console.log('decode data 1', chunk); - // // audioDecoder.decode(chunk); - // controller.enqueue(chunk); - // }, - // // flush: async controller => { - // // audioDecoder.decode(null); - // // await donePromise; - // // }, - // }); - // this.inputStream = inputStream; - // create the speaker this.speaker = new Speaker({ channels: 1, // 2 channels bitDepth: 16, // 16-bit samples sampleRate, }); - // // pump the decoder stream to the speaker - // (async () => { - // for await (const chunk of this.decoderStream.readable) { - // this.speaker.write(chunk); - // } - // this.speaker.end(); - // })(); } - /* #createDecoderStream() { - const { type, sampleRate } = this; - switch (type) { - case 'audio/mpeg': { - return createMp3DecodeTransformStream({ - sampleRate, - }); - } - default: { - throw new Error(`unhandled audio mime type: ${type}`); - } - } - } */ - // write(data) { - // this.inputStream.writable.write(data); - // } - // end() { - // this.inputStream.writable.end(); - // } } \ No newline at end of file